@charset "utf-8";
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic|Open+Sans+Condensed:700");
@import url('https://fonts.googleapis.com/css?family=Crimson+Text');
@font-face {
	font-family: 'Crimson Text', sans-serif;
  	font-weight: 400;
}
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-family: 'Crimson Text', sans-serif;
	font-weight: 800;
	color: #000;	
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
pre {
	font-family: 'Open Sans Condensed', sans-serif;
	color: #333;
	font-size: 16px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
	 
}
h1 {
	font-size: 36px;
	color: #20226D;
	}
h2 {
	font-size: 24px;
	color: #20226D;
	}
h3 {
	font-size: 22px;
	}
.t	{
	font-family: 'Open Sans Condensed', sans-serif;
	line-height: 1.6;
	}
.at {
	color: #EEE;
	line-height: 1.6;
}
.aots {
	color: #EEE;
	font-size: 24px;
	font-weight: bold;
}
.lukko {
	font-size: 16px;
	color: #FFF;
}

.copyt {
	color: #CCC;
}
a img { 
	border: none;
}
a:link {
	color:#333;
	text-decoration: underline;
	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:visited {
	color: #333;
	text-decoration: none;
	font-size: 18px;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	font-size: 18px;
	opacity: 0.7;
    filter: alpha(opacity=70);
}
a.navi:link {
	color:#FFF;
	text-decoration: none;
	font-size: 22px;
	-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: 22px;
}
a.navi:hover, a.navi:active, a.navi:focus {
	color: #000;
	text-decoration: none;
	font-size: 22px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
a.bottom:link {
	color:#EEE;
	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;
}
a.bottom:visited {
	color: #EEE;
	text-decoration: none;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	color:#999;
	text-decoration: none;
	opacity: 0.3;
	filter: alpha(opacity=30);
}
a.bottom2:link {
	color:#666;
	text-decoration: none;
}
a.bottom2:visited {
	color: #999;
	text-decoration: none;
}
a.bottom2:active, a.bottom2:hover, a.bottom2:focus {
	color: #444;
	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: #2b6816;
	text-decoration: none;
	opacity: 0.9;
	filter: alpha(opacity=90);
	line-height: 24px;
}
.ylapalkki {
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	background-color: #50517f;
	}
.container {
	width: 90%;
	max-width: 1180px;
	min-width: 280px;
	margin: 0 auto;
}
.vali { clear: both; }
ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
}
li {
    float: left;
}
li a, .dropbtn {
	display: inline-block;
	color: white;
	text-align: center;
	text-decoration: none;
	padding-top: 30px;
	padding-right: 20px;
	padding-bottom: 30px;
	padding-left: 20px;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #44406e;
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
	background-image: url(../i/navi_bg.png);
    /*background-color: #333; */ /* 2. tason linkkien taustaväri */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
	background-color: #44406e
} /* 2. tason linkkien taustaväri hover */
.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;
}
.paakuva {
	width: 100%;
	text-align: right;
	padding-bottom: 110px;
	padding-top: 110px;
	color: #FFF;
}
.logo {
	float: left;
	margin-right: 30px;
	margin-top: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}
.paakuvatekstidiv {
	text-align: center;
	width: 60%;
	margin-left: 30%;
	padding-right: 5%;
	padding-left: 5%;
	background-image: url(../i/paakuvateksti_bg.png);
}
.paakuvateksti {
	text-align: center;
	color: #EEE;
	font-size: 64px;
	font-weight: normal;
	text-shadow: -1px -1px #666,2px 2px #333;
}
.content {
	padding: 5%;
	width: 50%;
	float: left;
	background-color: #FFF;
	min-height: 500px;
	background-image: url(../i/main_bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
	margin-bottom: 25px;
}
.kakkostaso {
	visibility: hidden;
	height: 0px;
}
.uutispalsta {
	border: 1px solid #EEE;
	margin-top: 5px;
	margin-bottom: 5px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}
#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;
}
.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: 33%;
	padding-right: 2%;
	padding-left: 2%;
	background-color: #FFF;
	margin-left: 3%;
	padding-top: 50px;
	padding-bottom: 50px;
	background-image: url(../i/main_bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
	margin-bottom: 25px;
}
.tuoteikkuna {
	font-size: 16px;
	float: left;
	width: 50%;
	text-align: center;
}

.fb-div {
	width: 300px;
	float: left;
}
.bottom0 {
	width: 100%;
	background-color: #50517f;
	background-image: url(../i/bottom_top.gif);
	background-repeat: repeat-x;
	padding: 0px;
	height: 10px;
}

.bottom1 {
	background-color: #50517f;
	width: 100%;
	min-height: 100px;
	background-repeat: no-repeat;
	padding-top: 10px;
	background-image: url(../kuvat/logo_ala.gif);
	background-position: right;
	padding-bottom: 10px;
}
.bottom12 {
	width: 90%;
	max-width: 1130px;
	min-width: 320px;
	min-height: 100px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	display: table;
	padding-top: 25px;
	padding-right: 25px;
	padding-left: 25px;
}
.bottom22 {
	width: 100%;
	text-align: right;
	height: 40px;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-color: #191919;
}
.yhteystiedot-ala {
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	padding-top: 10px;
	padding-right: 100px;
	padding-bottom: 10px;
	padding-left: 10px;
}
.yhteystiedot-ala-taulu td {
	padding-right: 30px;
}

.footer {
	text-align: center;
	margin-top: 50px;
	margin-bottom: 25px;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	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: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 250px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.textarea {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 250px;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.button {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	background-color: #50517F;
	height: 25px;
	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: 10px;
	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: 1200px) {
.paakuvatekstidiv {
	text-align: center;
	width: 90%;
	margin-left: 0%;
	padding-right: 5%;
	padding-left: 5%;
	background-image: url(../i/paakuvateksti_bg.png);
}
.right {	
	width: 33%;
	padding-right: 2%;
	padding-left: 2%;
	margin-left: 3%;
}
}
@media screen and (max-width: 980px) {
li a, .dropbtn {
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
}
.logo {
	margin-right: 20px;
	width: 30%;
	height: 30%;
}
.logoimg {
	width: 100%;
	height: 100%;
}
.content {
    width: 90%;
	min-height: 200px;
  }
.right {
    width: 90%;
	margin-top: 20px;
	margin-right: 0;   
	margin-left: 0;
	padding-top: 50px;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
	  font-size: 26px;
}
.paakuvateksti {
	font-size: 48px;
	font-weight: normal;
}
@media screen and (max-width: 640px) {
.logo {
	margin-right: 10px;
	width: 50%;
	height: 50%;
}
li a, .dropbtn {
	padding-top: 8px;
	padding-right: 60px;
	padding-bottom: 8px;
	padding-left: 20px;
}
.container {
	width: 94%;
	min-width: 260px;
	margin: 0 auto;
}
.content {
	width: 90%;
	padding-top: 30px;
	margin-left: 0;
	margin-right: 0;
	margin-top: 20px;
	min-height: 100px;
}
.right {
    width: 90%;
	margin-left: 0px;  
	margin-right: 0;   
	margin-left: 0;
}
.tuoteikkuna {
	font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
	  font-size: 22px;
}
.paakuva {
	padding-top: 70px;
	padding-bottom: 30px;
}
.paakuvateksti {
	font-size: 26px;
	font-weight: normal;
	margin-right: 0px;
	text-shadow:none;
}
.textfield {
	width: 150px;
}
.textarea {
	width: 150px;
}
.navibottom {
	min-width: 260px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 10px; 
}
.dropdown-content {
	visibility: hidden;
}
.kakkostaso {
	visibility: visible;
	height: auto;
}
} 
