/*
Theme Name: JKL kenttaurheilijat
Author: jku
Description: jkl wp theme.
Version: 1.0
*/
html,
body {
  height: 100%;
  margin: 0px;
  padding: 0px;
}
/*@headerfont:  'Marck Script', cursive;*/
.no-marg-no-pad [class*="col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/******** BASE STYLES ******************
********************************************/
body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
table {
  /*width:100% !important;*/

}
h1 {
  font-family: "Arial Rounded MT", Arial, Helvetica, sans-serif;
  font-size: 39px;
  color: #0d3777;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 900;
}
h2 {
  font-family: 'Arial', sans-serif;
  font-size: 30px;
  color: #0d3777;
  line-height: 1.2;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Arial', sans-serif;
  font-size: 26px;
  color: #0d3777;
  line-height: 1.2;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
}
h4 {
  font-family: 'Arial', sans-serif;
  font-size: 21px;
  color: #0d3777;
  line-height: 1.2;
  font-weight: 300;
  margin-top: 20px;
  margin-bottom: 20px;
}
h5 {
  font-size: 14px;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 20px;
}
h6 {
  font-size: 12px;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 20px;
}






p {
  font-size: 14px;
}
ul {
  padding-left: 15px;
}
a {
  color: #0d3777;
  font-weight: 600;
}
a:hover {
  color: #c11021;
}



h1, h2, h3, h4, h5, h6, p, a {
  	
	overflow-wrap: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	text-align: left;
	
	-webkit-transition: all 0.12s linear;
	-moz-transition: all 0.12s linear;
	-o-transition: all 0.12s linear;
	transition: all 0.12s linear;
	
}

#breadcrumbs a {
  font-weight: 300;
}
img {
  max-width: 100% !important;
  height: auto;
}
h1.otsikko {
  text-transform: uppercase;
  font-family: "Arial Rounded MT", Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding: 30px 0px;
}
h3.alaotsikko {
  font-weight: 100;
}
.dontshow {
  opacity: 0;
}
.showit {
  opacity: 1;
}
.post {
  webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s ;
  -ms-animation-duration: 1.5s;
  -o-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

.piilotus {
  max-height:156px;
  overflow:hidden;
  position:relative;
  margin-bottom:50px;
}
.piilotus .open {
position:absolute;
cursor:pointer;
top:80px;
width:100%;
background: #F3F3F3;
color: #0d3777;
padding: 10px 20px;
width: 100%;
background: #F3F3F3;
color: #0d3777;
left: 0px;
text-align:center;
top:118px;
}
.piilotus .open:hover {
  background:#0d3777; color:#fff;
}
.piilotus .close {position:static; left:auto; top:auto;  margin-top:30px; padding:5px; width:100%;}

.row {
  padding-top: 50px;
  padding-bottom: 50px;
}
.nopadding.row {
  padding-top: 0px;
  padding-bottom: 0px;
}
.lesspadding.row {
  padding-top: 15px;
  padding-bottom: 15px;
}
.doublepad.row {
  padding-top: 60px;
  padding-bottom: 60px;
}
.superpad.row {
  padding-top: 100px;
  padding-bottom: 100px;
}
.extrapad.row {
  padding-top: 150px;
  padding-bottom: 150px;
}
.uutisnosto,
.tapahtumanosto,
.urheilijanosto,
.henkilonosto {
  margin-bottom: 20px;
}
.wp-caption-text {
  font-size: .8em;
}
.alignleft,
img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left;
  max-width: 50%;
}
.alignright,
img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right;
  max-width: 50%;
}
.aligncenter,
img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
  max-width: 100%;
}
.artikkelikuva {
  width:100%;
  height:auto;
}
a.archive-nappi {
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 40px;
  margin-top: 40px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.3em;
  text-decoration: none;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}
a.archive-nappi:hover {
  background: #fff;
  color: #000837;
}
a.archive-nappi.tapahtuma {
  background: #0d3777;
  color: #fff;
}
a.archive-nappi.tapahtuma:hover {
  background: #000837;
}
.clear {
  clear: both;
}
.ei_taustaa,
.tausta_valkoinen,
.tausta_sininen,
.tausta_tummasininen,
.tausta_punainen,
.tausta_harmaa {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.tausta_valkoinen {
  background-color: #ffffff;
  /*color:@musta;*/

}
.tausta_valkoinen h1,
.tausta_valkoinen h2 {
  color: #0d3777;
}
.tausta_valkoinen h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.tausta_valkoinen h1.otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid #000837;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.ei_taustaa h1,
.ei_taustaa h2 {
  color: #0d3777;
}
.ei_taustaa h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.ei_taustaa .otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid #000837;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.tausta_sininen {
  background-color: #0d3777;
}
.tausta_sininen h1,
.tausta_sininen h2,
.tausta_sininen h3,
.tausta_sininen h4,
.tausta_sininen h5,
.tausta_sininen h6,
.tausta_sininen p,
.tausta_sininen a {
  color: #ffffff;
}
.tausta_sininen h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.tausta_sininen h1.otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid rgba(0, 8, 55, 0.25);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.tausta_tummasininen {
  background-color: #000837;
  color: #ffffff;
}
.tausta_tummasininen h1,
.tausta_tummasininen h2,
.tausta_tummasininen h3,
.tausta_tummasininen h4,
.tausta_tummasininen h5,
.tausta_tummasininen h6,
.tausta_tummasininen p,
.tausta_tummasininen a {
  color: #ffffff;
}
.tausta_tummasininen h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.tausta_tummasininen h1.otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid rgba(0, 8, 55, 0.5);
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.tausta_harmaa {
  background: #f3f3f3;
}
.tausta_harmaa h1,
.tausta_harmaa h2 {
  color: #0d3777;
}
.tausta_harmaa h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.tausta_harmaa h1.otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid #0d3777;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.tausta_punainen {
  background: #c11021;
  color: #ffffff;
}
.tausta_punainen h1,
.tausta_punainen h2,
.tausta_punainen h3,
.tausta_punainen h4,
.tausta_punainen h5,
.tausta_punainen h6,
.tausta_punainen p {
  color: #ffffff;
}
.tausta_punainen h1.otsikko {
  position: relative;
  margin-bottom: 30px;
}
.tausta_punainen h1.otsikko:after {
  content: ' ';
  position: absolute;
  bottom: 0px;
  display: block;
  left: 50%;
  width: 200px;
  border-bottom: 2px solid #ffffff;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.top-pad {
  padding-top: 100px;
}
.morewordspace p {
  word-spacing: 10px;
}
.clear {
  clear: both;
}
#kapea-videopalsta {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.raitapala {
  background: rgba(51, 99, 175, 0.5);
  height: 50px;
  z-index: -2;
  transform: skew(0deg, 2deg) translate(0, 89%);
  -moz-transform: skew(0deg, 2deg) translate(0, 89%);
  -webkit-transform: skew(0deg, 2deg) translate(0, 89%);
  -o-transform: skew(0deg, 2deg) translate(0, 89%);
  -ms-transform: skew(0deg, 2deg) translate(0, 89%);
}
.raitapala.bottom {
  transform: skew(0deg, 2deg) translate(0, -89%);
  -moz-transform: skew(0deg, 2deg) translate(0, -89%);
  -webkit-transform: skew(0deg, 2deg) translate(0, -89%);
  -o-transform: skew(0deg, 2deg) translate(0, -89%);
  -ms-transform: skew(0deg, 2deg) translate(0, -89%);
}
.sininen,
h1.sininen,
h2.sininen,
h3.sininen,
h4.sininen,
h5.sininen,
h6.sininen,
p.sininen,
a.sininen {
  color: #0d3777;
}
.tummansininen,
h1.tummansininen,
h2.tummansininen,
h3.tummansininen,
h4.tummansininen,
h5.tummansininen,
h6.tummansininen,
p.tummansininen,
a.tummansininen {
  color: #000837;
}
.punainen,
h1.punainen,
h2.punainen,
h3.punainen,
h4.punainen,
h5.punainen,
h6.punainen,
p.punainen,
a.punainen {
  color: #c11021;
}
/******** END BASE STYLES ******************
********************************************/
/*************    NAVBAR  *************************
***************************************************/
.navbar {
  margin-bottom: 0px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background: none;
  color: #ffffff;
  /*border-bottom:2px solid @oranssi;*/
  font-weight: 300;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  color: #ffffff;
  background: none;
}
.navbar-default {
  background: #000837;
  border: none;
  margin-bottom: 0px;
  margin-top: 50px;
  height: 60px;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}
.navbar-default .navbar-nav {
  /*.active .dropdown-menu {display:block;}*/

}
.navbar-default .navbar-nav li a {
  color: #ffffff;
  outline: none;
  padding: 5px 30px;
  margin-top: 15px;
  text-transform: uppercase;
  font-weight: 600;
  /*text-shadow: 0 1px 2px rgba(0,0,0,.6);*/

  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}
.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
  color: #fff;
  background: none;
}
.navbar-default .navbar-nav li a .caret {
  margin-left: 48%;
  display: block;
}
.navbar-default .navbar-nav .active a,
.navbar-default .navbar-nav .active a:hover {
  color: #fff;
  border: 0px;
  background: none;
}
.navbar-default .navbar-nav .active.menu-item-has-children a:hover,
.navbar-default .navbar-nav .menu-item-has-children a:hover {
  background: none;
  color: #fff;
}
.navbar-default .navbar-nav .active .dropdown-menu li a {
  border-top: 0px;
  color: #fff;
}
.navbar-default .navbar-nav .active .dropdown-menu li a:hover {
  color: #fff;
}
.navbar-default .navbar-nav .active .dropdown-menu li.active a {
  color: #fff;
}
.navbar-default .navbar-nav .active .dropdown-menu li.active a:hover {
  color: #fff;
}
.navbar-default .navbar-nav li .dropdown-menu {
  margin-top: 0px;
  background: #000837;
  left: 50%;
  right: auto;
  text-align: center;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
.navbar-default .navbar-nav li .dropdown-menu a {
  font-weight: normal;
  text-transform: none;
}
.navbar-default .navbar-nav li .dropdown-menu a:hover {
  color: #fff;
  background: #0d3777;
}
.navbar-default .navbar-nav .navbar-nav > .open > a,
.navbar-default .navbar-nav .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav .navbar-nav > .open > a:hover {
  color: #fff;
  background-color: #000837;
}
.navbar-default .navbar-nav .dropdown-menu {
  background: #000837;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-align: center;
  text-shadow: none;
  margin-top: 7px;
  padding-top: 20px;
  padding-left: 0px !important;
  min-width: 190px  !important;
}
.navbar-default .navbar-nav .dropdown-menu li {
  margin: 0px;
  padding: 0px;
}
.navbar-default .navbar-nav .dropdown-menu li a {
  margin: 0px;
  padding: 10px;
  color: #fff;
}
.navbar-default .navbar-brand img.logo {
  margin-top: -50px;
}
.navbar-default .navbar-collapse {
  border: none;
}
.navbar-default .navbar-collapse.collapse {
  /* border-bottom: 1px solid @orange;
  border-top: 1px solid @orange;*/

}
.navbar-default .navbar-toggle {
  margin-top: 8px;
  border: none;
  background: transparent !important;
}
.navbar-default .navbar-toggle:hover {
  background: transparent !important;
}
.navbar-default .navbar-toggle .icon-bar {
  width: 34px;
  margin-bottom: 3px;
  height: 3px;
  background: #fff;
  -webkit-transition: all 0.2s all;
  -moz-transition: all 0.2s all;
  -o-transition: all 0.2s all;
  transition: all 0.2s all;
}
.navbar-default .navbar-toggle.collapsed .icon-bar {
  background: #fff;
}
.navbar-default .navbar-toggle .top-bar {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transform-origin: 20% 20%;
  -moz-transform-origin: 20% 20%;
  -ms-transform-origin: 20% 20%;
  -o-transform-origin: 20% 20%;
  transform-origin: 20% 20%;
}
.navbar-default .navbar-toggle .middle-bar {
  opacity: 0;
}
.navbar-default .navbar-toggle .bottom-bar {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transform-origin: 20% 80%;
  -moz-transform-origin: 20% 80%;
  -ms-transform-origin: 20% 80%;
  -o-transform-origin: 20% 80%;
  transform-origin: 20% 20%;
}
.navbar-default .navbar-toggle.collapsed .top-bar {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.navbar-default .navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-default .navbar-toggle.collapsed .bottom-bar {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.navbar-default.scroll-100 {
  position: fixed;
  top: 0;
  margin-top: 0px;
  background: #000837;
  border-bottom: 0px;
}
.navbar-default.scroll-100 .navbar-brand {
  padding: 4px 15px;
}
.navbar-default.scroll-100 .navbar-brand img.logo {
  margin-top: 0px;
  height: 50px;
  width: auto;
}
.navbar-default.scroll-100 .navbar-nav li a {
  color: #fff;
  outline: none;
  padding: 5px 30px;
  text-shadow: none;
}
.navbar-default.scroll-100 .navbar-nav li a:hover {
  color: #fff;
}
.navbar-default.scroll-100 .navbar-nav .dropdown a:hover {
  color: #fff;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  background: #000837;
  color: #fff;
}
@media (min-width: 768px) {
  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }
}
/*************  END NAVBAR  ************************
***************************************************/
/************* CAROUSEL AND JUMBOTRON ************
***************************************************/
.carousel img {
  min-width: 100%;
}
.carocont {
  position: relative;
  width: 100%;
  height: 90%;
  padding: 0px;
  background-color: #ffffff;
}
.carocont .carousel {
  width: 100%;
  height: 100%;
  position: relative;
}
.carocont .carousel .carousel-inner {
  width: 100%;
  height: 100%;
}
.carocont .carousel .carousel-inner .item {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.carocont .carousel .carousel-inner .item .container {
  position: relative;
  height: 100%;
}
.carocont .carousel .carousel-inner .item .container .carousel-caption {
  top: 35%;
  left: auto;
  bottom: auto;
  /*left:50%;*/

  position: absolute;
  width: 40%;
  right: 0px;
  /*-webkit-transform :translate(-50%,-50%);
		        -moz-transform :translate(-50%,-50%);
		        -ms-transform :translate(-50%,-50%);
		        -o-transform:translate(-50%,-50%);
		        transform:translate(-50%,-50%);*/

  /*font-size:60px;*/

  font-weight: 300;
  text-align: left;
  text-shadow: none;
}
.carocont .carousel .carousel-inner .item .container .carousel-caption .otsikko {
  background: rgba(93, 112, 144, 0.8);
  padding: 5px 20px;
  color: #fff;
  display: inline-block;
  margin-bottom: 0px;
  margin-left: 30px;
  font-size: 1.2em;
}
.carocont .carousel .carousel-inner .item .container .carousel-caption .content {
  background: rgba(21, 35, 82, 0.7);
  padding: 40px 20px;
  color: #fff;
  font-size: 1.8em;
  line-height: 1.5;
}
.carocont .carousel .carousel-inner .item .container .carousel-caption .content p {
  margin-bottom: 20px;
}
.carocont .carousel .carousel-inner .item .container .carousel-caption .content a.nappi {
  background: #5d7090;
  display: inline-block;
  margin-top: 20px;
  padding: 5px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  clear: both;
  border-radius: 10px;
}
.carocont .carousel .carousel-control {
  opacity: .85;
  color: #ffffff;
}
.carocont.smaller {
  height: 50%;
}
.carousel-indicators {
  left: 50%;
  bottom: 0px;
  text-align: center;
  -webkit-transform: translate(0%, 0%);
  -moz-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
  -o-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
}
.carousel-indicators .active {
  background: #b6c6dd;
  margin: 3px 3px;
}
.carousel-indicators li {
  border: none;
  background: #8c94a9;
  width: 12px;
  height: 12px;
  margin: 3px 3px;
}
.tausta_valkoinen .carousel-control,
.ei_taustaa .carousel-control,
.tausta_harmaa .carousel-control {
  opacity: .85;
  color: #0d3777;
}
.tausta_valkoinen .carousel-indicators .active,
.ei_taustaa .carousel-indicators .active,
.tausta_harmaa .carousel-indicators .active {
  background: #0d3777;
}
.tausta_valkoinen .carousel-indicators li,
.ei_taustaa .carousel-indicators li,
.tausta_harmaa .carousel-indicators li {
  border: 1px solid #0d3777;
}
.jumbotron {
  width: 100%;
  height: 90%;
  padding: 0px 0px;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  margin-bottom: 0px;
  background-color: #0d3777;
}
.jumbotron .carousel-caption {
  top: 55%;
  left: 50%;
  right: auto;
  font-family: "Arial Rounded MT", Arial, Helvetica, sans-serif;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 300;
}
.jumbotron .carousel-caption.bigger {
  font-size: 55px;
}
.jumbotron.smaller {
  height: 65%;
}
.jumbotron.noimg {
  height: 65%;
}
.jumbotron.nobg {
  background: none !important;
}
.jumbotron.nobg div.container {
  position: absolute;
  top: 50%;
  text-align: center;
  left: 50%;
  z-index: 3;
  font-size: 80px;
  text-transform: uppercase;
  font-weight: 100;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.jumbotron.normi {
  background-image: url("img/viestimiehet2.jpg");
}
.jumbotron.tapahtuma {
  background-image: url("img/tapahtumat-jumbotron.jpg");
}
.jumbotron:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  box-shadow: inset 0px 0px 150px rgba(0, 0, 0, 0.7);
}
.no-js #loader {
  display: none;
}
.js #loader {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.videocontainer {
  width: 100%!important;
  /*z-index:-101!important;*/

  position: relative;
  /*height:100%;*/

  height: 90%;
}
.videocontainer a.nappula,
.videocontainer .nappula {
  display: inline-block;
  position: absolute;
  right: 25%;
  top: 50%;
  padding: 70px 0px 0px;
  background: url("img/play.png") no-repeat top center;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  z-index: 3 !important;
  text-decoration: none;
}
.videocontainer .down {
  color: #ffffff;
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 5;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.videocontainer .container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.videocontainer.smaller {
  height: 50%;
}
#bgvideo {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("img/videobg.jpg") 50% 50% no-repeat;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  overflow: hidden;
  z-index: -102 !important;
  max-width: 100%;
}
#bgvideo > video {
  position: absolute;
  background: url("img/videobg.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%!important;
  height: 100%!important;
  z-index: -101 !important;
}
/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) {
  #bgvideo > video {
    height: 300%;
    top: -100%;
  }
}
@media (max-aspect-ratio: 16/9) {
  #bgvideo > video {
    width: 300%;
    left: -100%;
  }
}
@supports (object-fit: cover) {
  #bgvideo > video {
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    object-fit: cover;
  }
}
/************* END CAROUSEL AND JUMBOTRON ************
***************************************************/
/************ TAPAHTUMAT **********************
**********************************************/
.logolista {
  padding:20px 0px;
}
.tapahtumanosto {
  position: relative;
  cursor: pointer;
  min-height: 310px;
}
.tapahtumanosto img {
  width: 100%;
  height: auto;
}
.tapahtumanosto a {
  color: #fff;
  text-decoration: none;
}
.tapahtumanosto .tapaht_cont {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  display: block;
  color: #FFF;
  background: rgba(30, 46, 89, 0.6);
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  -webkit-transform: translate(15px, 0);
  -moz-transform: translate(15px, 0);
  -o-transform: translate(15px, 0);
  -ms-transform: translate(15px, 0);
  transform: translate(15px, 0);
  word-break: normal;
  overflow: hidden;

}
.tapahtumanosto .tapaht_cont .tekstit {
  padding: 20px;
}
.tapahtumanosto .tapaht_cont .tekstit p {
  color: #fff;
}
.tapahtumanosto .tapaht_cont .tekstit .month {
  font-size: 1.1em;
  font-weight: 100;
}
.tapahtumanosto .tapaht_cont .tekstit .day {
  font-size: 2em;
  margin-left: 10px;
  font-weight: 600;
}
.tapahtumanosto .tapaht_cont .tekstit .otsikko {
  margin-top: 40px;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1.35em !important;
  font-family: "Arial Rounded MT", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
}
.tapahtumanosto .tapaht_cont .tekstit a.tapahtumalinkki {
  position: absolute;
  bottom: 20px;
  left: 50%;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 20px;
  margin-top: 100px;
  display: inline-block;
  text-align: center;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}
.tapahtumanosto:hover .tapaht_cont {
  background: rgba(30, 46, 89, 0.3);
}
.tapahtumanosto:hover .tapaht_cont .tekstit a.tapahtumalinkki {
  background: #fff;
  color: #000837;
}
.menneet-tapahtumat {
  background: none;
  padding: 10px 5px;
  text-align: right;
}
.menneet-tapahtumat .date {
  margin-right: 20px;
  text-align: left;
  float: left;
}
.menneet-tapahtumat a {
  text-decoration: none;
  color: #0d3777;
  font-size: 1.2em;
  display:block;
}
.menneet-tapahtumat:hover {
  background: #0d3777;
}
.menneet-tapahtumat:hover a {
  color: #fff;
}
.menneet-tapahtumat:nth-child(even) {
  background: #f3f3f3;
}
.menneet-tapahtumat:nth-child(even):hover {
  background: #0d3777;
}
.menneet-tapahtumat:nth-child(even):hover a {
  color: #fff;
}
.viimeisimmat-tapahtumat {
  list-style: none;
  margin-left: 0px;
  padding-left: 0px !important;
}
.viimeisimmat-tapahtumat li {
  padding: 0px;
  margin-left: 0px;
  padding-left: 5px;
}
.viimeisimmat-tapahtumat li a {
  color: #0d3777;
  text-decoration: none;
  padding: 10px;
  display: inline-block;
}
.viimeisimmat-tapahtumat li a span.pvm {
  font-size: 0.8em;
  display: block;
}
.viimeisimmat-tapahtumat li:hover {
  background: #0d3777;
}
.viimeisimmat-tapahtumat li:hover a {
  color: #fff;
}
.viimeisimmat-tapahtumat li:nth-child(even) {
  background: #eff0ff;
}
.viimeisimmat-tapahtumat li:nth-child(even):hover {
  background: #0d3777;
}
.viimeisimmat-tapahtumat li:nth-child(even):hover a {
  color: #fff;
}
/**************** END TAPAHTUMAT ***************/
/******************URHEILIJANOSTOT **************
*************************************************/
.urheilijanosto a {
  color: #0d3777;
  padding: 5px;
  display: block;
  background-color: #f3f3f3;
  text-decoration: none;
  text-align: center;
  -webkit-transition: all .5s linear;
  -moz-transition: all .5s linear;
  -o-transition: all .5s linear;
  transition: all .5s linear;
  -webkit-transition: background-color 0.5s linear;
  -ms-transition: background-color 0.5s linear;
  transition: background-color 0.5s linear;
}
.urheilijanosto a img {
  width: 100% !important;
  height: auto;
}
.urheilijanosto a p {
  padding-top: 5px;
}
.urheilijanosto a p span.nimi {
  display: block;
}
.urheilijanosto a p span.laji {
  font-size: 0.8em;
  margin-left: 10px;
  font-style: italic;
}
.urheilijanosto a:hover {
  color: #fff;
  background-color: #000837;
}
.henkilonosto {
  text-align: center;
}
.henkilonosto div {
  padding: 5px;
  background: #f3f3f3;
}
.henkilonosto div img {
  width: 100% !important;
  height: auto;
}
.henkilonosto div p {
  padding-top: 5px;
}
.henkilonosto div p span.nimi {
  display: block;
  font-weight: bold;
  color: #0d3777;
}
.henkilonosto div p span.tehtava,
.henkilonosto div p span.puhelinnumero,
.henkilonosto div p span.sahkoposti {
  font-size: 0.85em;
  display: block;
}
.henkilonosto:nth-child(6n+2) {
  clear: both;
}
.popup .jkulogo {
  width: 50px;
  height: auto;
}
.popup h1.otsikko {
  margin-bottom: 0px;
  padding: 0px;
}
.popup h3.laji {
  margin: 0px;
  padding: 0px;
}
.popup .close {
  font-size: 30px;
  color: #0d3777;
  opacity: 1;
}
.popup button.nappi {
  background: #0d3777;
  color: #fff;
  border: none;
  border-radius: 0px;
  box-shadow: none;
  padding: 5px 15px;
}
/***************** URHEILIJAT *******************/
/****************** TILASTOT *****************/
.tilastopop .close {
  font-size: 30px;
  color: #0d3777;
  opacity: 1;
}
.tilastopop .modal-header {
  min-height: 30px;
  padding: 0px 15px;
  border-bottom: 1px solid #e5e5e5;
}
.tilastopop button.nappi {
  background: #0d3777;
  color: #fff;
  border: none;
  border-radius: 0px;
  box-shadow: none;
  padding: 5px 15px;
}
.tilastopop iframe {
  width: 100%;
  height: 600px;
  border: 0px;
  background:#ffffff;
}

.tilastopop .lataa {
    position: absolute;
    top: 200px;
    left: 50%;
    z-index: 1;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);

}


ul.tilastolista {
  list-style: none;
}
ul.tilastolista li {
  padding: 10px 0px;
}
/****************** TILASTOT *****************/
/******** NEWS / BLOG  ******************
********************************************/
.uutisnosto {
  cursor: pointer;
}
.uutisnosto a {
  color: #000;
  text-decoration: none;
  font-weight: normal;
}
.uutisnosto .kuva,
.uutisnosto .sisalto {
  background: #fff;
}
.uutisnosto .kuva {
  position: relative;
}
.uutisnosto .kuva .overlay {
  position: absolute;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  top: 0;
  left: 0;
  background: rgba(30, 46, 89, 0.6);
  width: 100%;
  height: 100%;
}
.uutisnosto .kuva img {
  width: 100%;
  height: auto;
}
.uutisnosto .sisalto {
  padding: 5px 10px;
}
.uutisnosto .sisalto .pvm {
  font-size: 0.8em;
}
.uutisnosto .sisalto .cat {
  font-size: 0.8em;
  color: #0d3777;
}
.uutisnosto .sisalto p {
  color: #000;
  font-size: 0.9em;
}
.uutisnosto .sisalto p.otsikko {
  color: #0d3777;
  font-size: 1.2em;
  line-height: 1.1;
}
.uutisnosto p {
  color: #000;
  font-size: 0.8em;
}
.uutisnosto:hover .kuva .overlay {
  background: rgba(30, 46, 89, 0);
}
div.uutisnosto:nth-child(4n+2) {
  clear: both;
}
.widget_recent_entries ul,
.widget_categories ul {
  list-style: none;
  padding-left: 0px !important;
}
.widget_recent_entries ul li,
.widget_categories ul li {
  color: #000000;
  padding: 10px 5px;
}
.widget_recent_entries ul li span.post-date,
.widget_categories ul li span.post-date {
  display: block;
  font-size: 0.8em;
}
.widget_recent_entries ul li a,
.widget_categories ul li a {
  color: #000000;
  font-weight: 300;
  font-size: 1em;
  text-decoration: none;
}
.widget_recent_entries ul li:hover,
.widget_categories ul li:hover {
  background: #0d3777;
}
.widget_recent_entries ul li:hover a,
.widget_categories ul li:hover a {
  color: #fff;
}
.widget_recent_entries ul li:hover,
.widget_categories ul li:hover {
  color: #fff;
}
.widget_recent_entries ul li:nth-child(even),
.widget_categories ul li:nth-child(even) {
  background: #eff0ff;
}
.widget_recent_entries ul li:nth-child(even):hover,
.widget_categories ul li:nth-child(even):hover {
  background: #0d3777;
}
.widget_recent_entries ul li:nth-child(even):hover a,
.widget_categories ul li:nth-child(even):hover a {
  color: #fff;
}
.tagcloud a {
  font-size: 14px !important;
  padding: 5px;
  margin: 0px 10px 0px 0px;
  font-weight: 300;
  display: inline-block;
}
.tagcloud a:hover {
  color: #fff;
  background: #0d3777;
  text-decoration: none;
}
a.page-numbers {
  padding: 5px;
  background: #f3f3f3;
  color: #000;
  text-decoration: none;
  margin: 3px 6px;
}
a.page-numbers:hover {
  background: rgba(0, 8, 55, 0.25);
}
.page-numbers.current {
  padding: 5px;
  background: #0d3777;
  color: #fff;
  margin: 5px;
}
a.page-numbers.prev,
a.page-numbers.next {
  color: #0d3777;
  background: none;
  position: fixed;
}
a.page-numbers.prev {
  top: 60%;
  left: 50px;
}
a.page-numbers.next {
  top: 60%;
  right: 50px;
}
.article-info {
  font-size: 0.8em;
  font-style: italic;
  text-align: center;
}
.article-info a,
.article-info span.date,
.article-info span.kategoria {
  font-size: 1em;
  font-style: normal;
  font-weight: bold;
}
/********  NEWS / BLOG  ******************
********************************************/
/********  Yhteistyokumppanit  ******************
********************************************/
.kumppani {
  margin: 20px 0px;
}
.kumppani img {
  margin-top: 0px;
  margin-bottom: 0px;
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 10+ */

  filter: gray;
  /* IE6-9 */

  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */

  -webkit-transition: all .6s ease;
  /* Fade to color for Chrome and Safari */

  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */

}
.kumppani img:hover {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
  -webkit-filter: grayscale(0%);
}
.kumppani:nth-child(6n+2) {
  clear: both;
}
.paakumppani img {
  margin-top: 40px;
  margin-bottom: 40px;
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 10+ */

  filter: gray;
  /* IE6-9 */

  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */

  -webkit-transition: all .6s ease;
  /* Fade to color for Chrome and Safari */

  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */

}
.paakumppani img:hover {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
  -webkit-filter: grayscale(0%);
}
/********  Yhteistyokumppanit  ******************
********************************************/
/************* FOOTER ***************************
***************************************************/
.footer {
  background: #000837;
  min-height: 300px;
  color: #ffffff;
  padding: 25px 0px 0px 0px;
  position: relative;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5 p {
  color: #ffffff;
  font-size: 1.2em;
}
.footer a {
  color: #0d3777;
}
.footer i {
  margin: 20px 10px 0px 0px;
  /*&.fa-facebook {
		margin-right:25px;
	}*/

}
.footer ul {
  list-style: none;
  padding-left: 0px;
  margin-left: 0px;
}
.footer ul li {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 10px;
}
.footer a {
  color: #ffffff;
  font-weight: 300;
}
.footer .footerlinkit a {
  color: #134fa5;

}
.footer .footerlinkit a:hover {
  color: #fff;
  text-decoration: none;
}
.footer .copy {
  text-transform: uppercase;
  color: #476AA8;
  margin: 20px 0px 5px 0px;
  bottom: 0px;
  text-align: center;
}
.footer .copy a {
  color: #476AA8;
}
.footer .copy a:hover {
  font-weight: bold;
}
.somet a {
  margin: 20px 10px;
}
/************* FOOTER ***************************
***************************************************/
/*responsive youtube embets
********************************/.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 60px;
  overflow: hidden;
}
.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.responsive-video-google {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 60px;
  overflow: hidden;
}
.responsive-video-google iframe,
.responsive-video-google object,
.responsive-video-google embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
iframe.issuu {
  width: 100%;
  height: 600px !important;
}
/*responsive youtube embets
********************************/
@media (max-width: 767px) {
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 16px;
  }
  h6 {
    font-size: 14px;
  }


  img.alignleft,
  img.alignright,
  img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both;
  float:none;
  }


  .row {
    margin-left: 0px;
    margin-right: 0px;
  }
  .popup {
    text-align: center;
  }
  .jumbotron {
    margin-top: 60px;
  }
  .jumbotron .carousel-caption,
  .jumbotron .carousel-caption.bigger {
    font-size: 30px;
  }
  .uutisnosto,
  .tapahtumanosto {
    margin-bottom: 20px;
  }
  .carocont .carousel .carousel-inner .item .container .carousel-caption {
    top: 25%;
    left: 5%;
    bottom: auto;
    position: absolute;
    width: 90%;
    right: 0;
    font-weight: 300;
    text-align: left;
    text-shadow: none;
  }
  .carocont .carousel .carousel-inner .item .container .carousel-caption .content {
    font-size: 1.2em;
  }
  .navbar-default,
  .navbar-default.scroll-100 {
    border-bottom: 1px solid #0d3777;
    position: fixed;
    top: 0;
    margin-top: 0px;
    background: #000837;
    border-bottom: 0px;
  }
  .navbar-default .navbar-brand,
  .navbar-default.scroll-100 .navbar-brand {
    padding: 4px 15px;
  }
  .navbar-default .navbar-brand img.logo,
  .navbar-default.scroll-100 .navbar-brand img.logo {
    margin-top: 0px;
    height: 50px;
    width: auto;
  }
  .navbar-default .drop-downmenu,
  .navbar-default.scroll-100 .drop-downmenu {
    padding-top: 0px;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > li > a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > li > a:focus,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #ffffff;
  }
  .navbar-default .navbar-collapse,
  .navbar-default.scroll-100 .navbar-collapse {
    border: none;
    background: #000837;
    max-height: none;
  }
  .navbar-default .navbar-nav,
  .navbar-default.scroll-100 .navbar-nav {
    margin-right: 5px;
    /*.active .dropdown-menu {display:block;}*/
  
  }
  .navbar-default .navbar-nav li,
  .navbar-default.scroll-100 .navbar-nav li {
    border-bottom: 1px solid #f3f3f366;
  }
  .navbar-default .navbar-nav li a,
  .navbar-default.scroll-100 .navbar-nav li a {
    color: #ffffff;
    outline: none;
    padding: 10px 5px;
    margin-top: 15px;
    text-align: left;
  }
  .navbar-default .navbar-nav li a:hover,
  .navbar-default.scroll-100 .navbar-nav li a:hover {
    color: #ffffff;
  }
  .navbar-default .navbar-nav li a:focus,
  .navbar-default.scroll-100 .navbar-nav li a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav li a .caret,
  .navbar-default.scroll-100 .navbar-nav li a .caret {
    float: right;
    display: inline-block;
    margin-left: 5px;
  }
  .navbar-default .navbar-nav li .dropdown-menu,
  .navbar-default.scroll-100 .navbar-nav li .dropdown-menu {
    margin-top: 10px;
    padding-top: 0px;
    position: static;
    width: 100%;
    left: auto;
    right: auto;
    text-align: left;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  .navbar-default .navbar-nav li .dropdown.open > .dropdown-menu,
  .navbar-default.scroll-100 .navbar-nav li .dropdown.open > .dropdown-menu {
    background: rgba(51, 99, 175, 0.5) !important;
  }
  .navbar-default .navbar-nav li.active a,
  .navbar-default.scroll-100 .navbar-nav li.active a,
  .navbar-default .navbar-nav li.active a:hover,
  .navbar-default.scroll-100 .navbar-nav li.active a:hover {
    color: #ffffff;
    border: none;
    background: #0d3777;
  }
  .navbar-default .navbar-nav .active.menu-item-has-children a:hover,
  .navbar-default.scroll-100 .navbar-nav .active.menu-item-has-children a:hover,
  .navbar-default .navbar-nav .menu-item-has-children a:hover,
  .navbar-default.scroll-100 .navbar-nav .menu-item-has-children a:hover {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .dropdown-menu li,
  .navbar-default.scroll-100 .navbar-nav .dropdown-menu li {
    border-bottom: none;
  }
  .navbar-default .navbar-nav .active .dropdown-menu li a,
  .navbar-default.scroll-100 .navbar-nav .active .dropdown-menu li a {
    border-top: 0px;
    color: #ffffff;
  }
  .navbar-default .navbar-nav .active .dropdown-menu li.active a,
  .navbar-default.scroll-100 .navbar-nav .active .dropdown-menu li.active a {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .active .dropdown-menu li.active a:hover,
  .navbar-default.scroll-100 .navbar-nav .active .dropdown-menu li.active a:hover {
    color: #ffffff;
  }
  .navbar-default .navbar-nav > .open > a,
  .navbar-default.scroll-100 .navbar-nav > .open > a,
  .navbar-default .navbar-nav > .open > a:focus,
  .navbar-default.scroll-100 .navbar-nav > .open > a:focus,
  .navbar-default .navbar-nav > .open > a:hover,
  .navbar-default.scroll-100 .navbar-nav > .open > a:hover {
    color: #ffffff;
    background-color: #000837;
    /*margin-top: 15px;*/
  
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > .active > a:focus,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default.scroll-100 .navbar-nav .open .dropdown-menu > .active > a:hover {
    color: #ffffff;
    background-color: #0d3777;
  }
  .navbar-default .navbar-nav > .open > a,
  .navbar-default.scroll-100 .navbar-nav > .open > a,
  .navbar-default .navbar-nav > .open > a:focus,
  .navbar-default.scroll-100 .navbar-nav > .open > a:focus,
  .navbar-default .navbar-nav > .open > a:hover,
  .navbar-default.scroll-100 .navbar-nav > .open > a:hover {
    color: #ffffff;
    background-color: #0d3777;
    margin-top: 0px;
    padding-top: 15px;
  }
  .footer {
    text-align: center;
  }

  .footer .footerlinkit a {
      color:#1567de;
  }
}
/* end 768*/
@media (max-width: 479px) {
  h1,
  h1.otsikko {
    font-size: 22px;
  }
  h2 {
    font-size: 19px;
  }
  h3 {
    font-size: 16px;
  }
  h4 {
    font-size: 14px;
  }
  h5 {
    font-size: 13px;
  }
  h6 {
    font-size: 12px;
  }
  p,
  body {
    font-size: 14px;
  }
  .row {
    text-align: center;
  }
  .tilastopop .modal-body {
    padding: 0px;
  }
  .tilastopop iframe {
    width: 100%;
    height: 345px;
    border: 0px;
    background: url("img/tilastoload.gif") #ffffff no-repeat center center;
  }
  iframe.issuu {
    height: 450px !important;
  }

  .tapahtumanosto .tapaht_cont {
  width: 92%;
  }

}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .col-xsl {
    width: 50%;
  }
  .tilastopop .modal-body {
    padding: 0px;
  }
  .tilastopop iframe {
    width: 100%;
    height: 245px;
    border: 0px;
    background: url("img/tilastoload.gif") #ffffff no-repeat center center;
  }
  iframe.issuu {
    height: 300px !important;
  }
  .carocont .carousel .carousel-inner .item .container .carousel-caption {
    top: 15%;
    left: 15%;
    bottom: auto;
    position: absolute;
    width: 70%;
    right: 0;
    font-weight: 300;
    text-align: left;
    text-shadow: none;
  }
  .carocont .carousel .carousel-inner .item .container .carousel-caption .content {
    font-size: 1.2em;
    padding: 20px 20px;
  }
  .henkilonosto:nth-child(2n+2) {
    clear: both;
  }
  .henkilonosto:nth-child(3n+2) {
    clear: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .carocont .carousel .carousel-inner .item .container .carousel-caption {
    top: 35%;
    left: 25%;
    bottom: auto;
    position: absolute;
    width: 50%;
    right: 0;
    font-weight: 300;
    text-align: left;
    text-shadow: none;
  }
  .navbar-default.scroll-100 .navbar-nav li a,
  .navbar-default .navbar-nav li a {
    padding: 5px 15px;
    font-size: 0.85em;
  }
  .henkilonosto:nth-child(4n+2) {
    clear: none;
  }
  .henkilonosto:nth-child(3n+2) {
    clear: both;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .henkilonosto:nth-child(6n+2) {
    clear: none;
  }
  .henkilonosto:nth-child(4n+2) {
    clear: both;
  }
}
@media (max-width: 1200px) {
  .navbar .container {
    width: 100%;
  }
  .navbar-default.scroll-100 .navbar-nav li a,
  .navbar-default .navbar-nav li a {
    padding: 5px 14px;
  }
}
@media (max-width: 1300px) {
  a.page-numbers.prev,
  a.page-numbers.next {
    color: #0d3777;
    background: none;
    position: static;
  }
  a.page-numbers.prev {
    top: auto;
    left: auto;
  }
  a.page-numbers.next {
    top: auto;
    right: auto;
  }
}
