@charset "utf-8";
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto Condensed'), local('RobotoCondensed-Regular'),
       url('../fonts/roboto-condensed-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-condensed-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-condensed-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-condensed-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-condensed-v16-latin-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
html {
	min-width: 320px;
	}
ul, ol, dl { 
	padding: 0;
	margin: 0;
}
header {
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #999;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	color: #333;	
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
	 
}
h1 {
	font-size: 42px;
	color: #d9261c;
	}
h2 {
	font-size: 24px;
	color: #333;
	}
h3 {
	font-size: 24px;
	color: #333;
	}
.t	{
	color: #000;
	line-height: 1.6;
	}
.at {
	color: #111;
	line-height: 1.6;
}
.aots {
	color: #036;
	font-size: 24px;
}


.copyt {
	color: #CCC;
}
a img { 
	border: none;
}
a:link {
	color:#06C;
	text-decoration: none;
	font-size: 16px;
	-o-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-khtml-transition: all 0.5s linear;
	-webkit-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
a:visited {
	color: #06C;
	text-decoration: none;
	font-size: 16px;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	font-size: 16px;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
a.navi:link {
	color:#243B98;
	text-decoration: none;
	font-size: 18px;
	-o-transition: all 0.7s linear;
	-moz-transition: all 0.7s linear;
	-khtml-transition: all 0.7s linear;
	-webkit-transition: all 0.7s linear;
	-ms-transition: all 0.7s linear;
	transition: all 0.7s linear;
}
a.navi:visited {
	color: #243B98;
	text-decoration: none;
	font-size: 18px;
}
a.navi:hover, a.navi:active, a.navi:focus {
	text-decoration: none;
	font-size: 18px;
	opacity: 1.0;
	filter: alpha(opacity=90);
	color: #FFF;
}
a.bottom:link {
	color:#FFF;
	text-decoration: none;
	-o-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-khtml-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	transition: all 0.3s linear;
	font-weight: bold;
}
a.bottom:visited {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	text-decoration: none;
	font-weight: bold;
	opacity: 0.3;
	filter: alpha(opacity=30);
}
a.bottom2:link {
	color:#999;
	text-decoration: none;
}
a.bottom2:visited {
	color: #999;
	text-decoration: none;
}
a.bottom2:hover, a.bottom2:active, a.bottom2:focus {
	color: #999;
	text-decoration: none;
}
.container {
	width: 90%;
	max-width: 1260px;
	min-width: 280px;
	margin: 0 auto;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.vali {
	clear: both;
}
.ylapalkki {
	background-color: #FFF; /* Yläpalkin taustaväri*/
	}
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	background-color: #FFF; /* Navipalkin taustaväri */
}
li {
    float: left;
}
li a, .dropbtn {
	display: inline-block;
	color: #243B98;
	text-align: center;
	padding: 30px;
	text-decoration: none;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #243B98; /* Navipalkin hover-väri */
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #FAF8F8; /* 2. tason palkin taustaväri*/
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a { /* 2. tason linkin väri */
	color: #ddd;
	padding: 12px 20px;
	text-decoration: none;
	display: block;
	text-align: left;
}
.dropdown-content a:hover {background-color: #023a75}  
.dropdown:hover .dropdown-content {
    display: block;
}
.navibottom {
	min-width: 100px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 100px;
}
.yhteystiedot-ala {
	width: 200px;
	margin-bottom: 10px;
	margin-right: 100px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 100px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 40px;
}
.paakuva {
	width: 100%;
	text-align: left;
	padding-bottom: 200px;
	padding-top: 60px;
	font-size: 72px;
	color: #FFF;
	margin-top: 40px;
	margin-bottom: 40px;
}
.logot {
	width: 100%;
}
.logo1 {
	float: left;
	padding-left: 50px;
}
.logo2 {
	float: right;
	padding-right: 50px;
}
.paakuvateksti {
	background-image: url(../i/paakuvateksti_bg.png);
	padding: 25px;
	text-align: center;
	color: #FFF;
	font-size: 48px;
	font-weight: normal;
}


.content {
	margin-top: 20px;
	padding: 5%;
	width: 50%;
	float: left;
	background-color: #faf8f8;
	min-height: 500px;
}
.kuvake {
	float: left;
	display: table-cell;
	text-align: center;
	padding: 3px;
}
.kuvakeimg {
	width: 100%;
    -moz-box-shadow: 3px 3px 5px #CCC;
    -webkit-box-shadow: 3px 3px 5px #CCC;
        box-shadow: 3px 3px 5px #CCC;
    border: solid 3px #FFF;
	border-radius: 6px;
}
#taulukko {
    border-collapse: collapse;
    width: 100%;
}
#taulukko td, #taulukko th {
    border: 1px solid #ddd;
    padding: 8px;
}
#taulukko tr:nth-child(even){background-color: #f3f3f3;}
#taulukko tr:hover {background-color: #ddd;}
#taulukko th {
    padding-top: 6px;
    padding-left: 6px;
    padding-bottom: 6px;
    text-align: left;
    background-color: #222;
    color: white;
}

.right {
	float: left;
	width: 25%;
	margin-top: 20px;
	padding-right: 5%;
	padding-left: 5%;
	background-color: #FFF;
	margin-left: 5%;
	padding-top: 50px;
	padding-bottom: 50px;
}
.fb-page {
	border: 20px solid #FAF8F8;
}


.bottom1 {
	background-color: #333;
	background-image: url(../i/bottom_bg.jpg);
	width: 100%;
	min-height: 200px;
}
.bottom12 {
	width: 90%;
	max-width: 1260px;
	min-width: 320px;
	min-height: 200px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	display: table;
	padding-top: 5px;
}
.bottom3 {
	text-align: right;
	width: 100%;
	clear: left;
	height: 22px;
	vertical-align: middle;
	padding: 10px 0px;
	background-image: url(../i/bottom_bg3.gif);
}
.yhteystiedot-ala {
	width: 200px;
	margin-bottom: 10px;
	margin-right: 100px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 100px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 40px;
}
.footer {
	padding: 10px 0;
	position: relative;
	clear: both;
}
.imgdivright {
	float: right;
	margin: 5px;
	max-width: 30%;
}
.imgleft {
	width: 100%;
	margin: 0px 20px 2px 0px;
    padding: 5px;
    border: solid 1px #E9E9E9;
	border-radius: 6px;
}
a:hover img.imgleft {
    border: solid 1px #CCC;
    -moz-box-shadow: 1px 1px 3px #CCC;
    -webkit-box-shadow: 1px 1px 3px #CCC;
        box-shadow: 1px 1px 3px #CCC;
}
.imgright {
	width: 100%;
	margin: 0px 0px 2px 0px;
    padding: 5px;
    border: solid 1px #E9E9E9;
	border-radius: 6px;
}
a:hover img.imgright {
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
        box-shadow: 1px 1px 5px #999;
}
.textfield {
	font-family: "Roboto Condensed";
	font-size: 16px;
	color: #333333;
	width: 220px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.textarea {
	font-family: "Roboto Condensed";
	font-size: 16px;
	color: #333333;
	width: 220px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.button {
	background-color: #023A75;
	height: 35px;
	width: 150px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	color: #FFF;
	}
@media screen {
  .thumbnail-gallery-left {
	display: table;
	border-collapse: collapse;
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 10px;
  }
  .thumbnail-gallery-left > div {
    display: table-row;
	margin-right: 10px;
  }
  .thumbnail-gallery-left .thumbnail {
	display: table-cell;
	padding-right: 20px;
	text-align: center;
  }
  .thumbnail-gallery-right {
	display: table;
	border-collapse: collapse;
	float: right;
	margin-right: 30px;
	margin-bottom: 5px;
	margin-top: 10px;
  }
  .thumbnail-gallery-right > div {
    display: table-row;
  }
  .thumbnail-gallery-right .thumbnail {
	display: table-cell;
	padding-left: 20px;
	text-align: center;
  }
}
@media screen and (max-width: 980px) {
  .content {
    width: 90%;
	margin-top: 20px;
	min-height: 200px;
  }
  .right {
    width: 90%;
	margin-right: 0;   
	margin-left: 0;
	padding: 5%;
}
  h1, h2, h3, h4, h5, h6 {
	  font-size: 24px;
	  font-weight:bold;
}
.paakuvateksti {
	padding: 15px;
	font-size: 24px;
	font-weight: normal;
	margin-right: 20px;
}
.logo1 {
	padding-left: 20px;
}
.logo2 {
	padding-right: 20px;
}
.logo1img {
	width: 75%;
	height: 75%;
}
.logo2img {
	width: 75%;
	height: 75%;
}
} 
@media screen and (max-width: 640px) {
.container {
	width: 94%;
	min-width: 260px;
	margin: 0 auto;
}
  .content {
	width: 90%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 20px;
	min-height: 100px;
  }
  .right {
    width: 90%;
	margin-left: 0px;  
	margin-right: 0;   
	margin-left: 0;
}
  h1, h2, h3, h4, h5, h6 {
	  font-size: 18px;
	  font-weight:bold;
}

.paakuva {
	padding-bottom: 20px;
	padding-top: 20px;
}
.paakuvateksti {
	padding: 15px;
	font-size: 18px;
	font-weight: normal;
	margin-right: 0px;
}
.logo1 {
	padding-left: 50px;
}
.logo2 {
	padding-left: 50px;
}
.logo1img {
	width: 50%;
	height: 50%;
}
.logo2img {
	width: 50%;
	height: 50%;
}
.fb-page {
	border: 3px solid #FAF8F8;
}
.textfield {
	width: 150px;
}
.textarea {
	width: 150px;
}
} 
