@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: #069;
	}
h2 {
	font-size: 24px;
	color: #666;
	}
h3 {
	font-size: 24px;
	color: #333;
	}
.t	{
	color: #000;
	line-height: 1.6;
	}
.at {
	color: #111;
	line-height: 1.6;
	font-weight: bold;
	text-shadow: -1px -1px #dec5ba,1px 1px #dec5ba; 
}
.aots {
	color: #111;
	font-size: 24px;
	font-weight: bold;
	text-shadow: -1px -1px #dec5ba,1px 1px #dec5ba; 
}


.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:#FFF;
	text-decoration: none;
	font-size: 18px;
	-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.navi:visited {
	color: #FFF;
	text-decoration: none;
	font-size: 18px;
}
a.navi:hover, a.navi:active, a.navi:focus {
	text-decoration: none;
	font-size: 18px;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
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;
}
a.rightnavi1 {
	color: #333;
	text-decoration: none;
	font-size: 20px;
	line-height: 30px;
}
a.rightnavi1:visited {
	color: #333;
	text-decoration: none;
	font-size: 20px;
	line-height: 30px;
}
a.rightnavi1:hover, a.rightnavi1:active, a.rightnavi1:focus {
	text-decoration: none;
	font-size: 20px;
	opacity: 0.3;
	filter: alpha(opacity=30);
	line-height: 30px;
}
a.rightnavi {
	color: #333;
	text-decoration: none;
	line-height: 24px;
}
a.rightnavi:visited {
	color: #333;
	text-decoration: none;
	line-height: 24px;
}
a.rightnavi:hover, a.rightnavi:active, a.rightnavi:focus {
	color: #F90;
	text-decoration: none;
	opacity: 0.9;
	filter: alpha(opacity=90);
	line-height: 24px;
}
.ylapalkki {
	background-image: url(../i/navibg.jpg);
	height: 62px;
	}
.container {
	width: 90%;
	max-width: 1260px;
	min-width: 280px;
	margin: 0 auto;
}
.navipalkki {
	width: 70%; /* 90 */
	float: left;
}
.kielipalkki {
	width: 24%;
	float: left;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: right;
}
.lippu { border: 0; }
.vali { clear: both; }
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	background-color: #333;
	background-image: url(../i/navibg.jpg);
}
li {
    float: left;
}
li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 20px 30px;
    text-decoration: none;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #369;
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #eee;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: black;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {background-color: #ddd}
.dropdown:hover .dropdown-content {
    display: block;
}
.navibottom {
	min-width: 80px;
	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: 80px;
	padding-top: 0px;
	color: #FFF;
}
.avainlippu {
	float: left;
	padding: 25px;
}
.logo {
	padding-bottom: 25px;
	text-align: right;
}
.paakuvateksti {
	background-image: url(../i/paakuvateksti_bg.png);
	padding: 25px;
	text-align: center;
	color: #FFF;
	font-size: 56px;
	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;
}
.right {
	float: left;
	width: 25%;
	margin-top: 20px;
	padding-right: 5%;
	padding-left: 5%;
	background-color: #faf8f8;
	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.gif);
	width: 100%;
	min-height: 100px;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #333;
}
.bottom12 {
	width: 90%;
	max-width: 1260px;
	min-width: 320px;
	min-height: 100px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	display: table;
	padding-top: 25px;
}
.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 {
	color: #333333;
	width: 250px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.textarea {
	color: #333333;
	width: 250px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.button {
	background-color: #00639E;
	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) {
	.logoimg {
	width: 50%;
	height: 50%;
	}
  .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;
}
} 
@media screen and (max-width: 640px) {
.container {
	width: 94%;
	min-width: 260px;
	margin: 0 auto;
}
.navipalkki {
	width: 60%;
}
.kielipalkki {
	width: 38%;
}
.avainlippu {
	width: 0;
	height: 0;
	visibility: hidden;	
	}
.logo {
	padding-bottom: 25px;
	text-align: left;
}
  .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;
}
.paakuvateksti {
	padding: 15px;
	font-size: 18px;
	font-weight: normal;
	margin-right: 0px;
}
.fb-page {
	border: 3px solid #FAF8F8;
}
.textfield {
	width: 150px;
}
.textarea {
	width: 150px;
}
} 
