@charset "utf-8";
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: #233C90;
	}
h2 {
	font-size: 32px;
	}
h3 {
	font-size: 24px;
	color: #FFF;
	}
.t	{
	color: #000;
	line-height: 1.6;
	}
.at {
	color: #FFF;
	line-height: 1.6;
}
.aots {
	color: #FFF;
	font-size: 24px;
	font-weight: normal;
}


.copyt {
	color: #CCC;
}
a img { 
	border: none;
}
a:link {
	color:#233C90;
	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: #233C90;
	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:#EEEEEE;
	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: #EEEEEE;
	text-decoration: none;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	text-decoration: none;
	opacity: 0.3;
    filter: alpha(opacity=30);
}
.container {
	width: 80%;
	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;
}

ul {
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	background-color: #233C90;
}
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: #62A4D0;
}
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;
}
.paakuva {
	width: 100%;
	text-align: right;
	padding-bottom: 250px;
}
.content {
	margin-top: 20px;
	padding: 3%;
	width: 54%;
	float: left;
	background-color: #faf8f8;
	min-height: 500px;
	border: 1px solid #CCC;
}
.kuvake {
	float: left;
	display: table-cell;
	text-align: center;
	padding: 3px;
}
.kuvakeimg {
	width: 100%;
}


.right {
	float: left;
	width: 32%;
	background: #2e6f9c;
	margin-top: 20px;
	margin-left: 2%;
	padding: 2%;
}
.fb-page {
	border: 20px solid #FAF8F8;
}


.bottom1 {
	background-color: #333;
	background-image: url(../i/bottom_bg_0.jpg);
	width: 100%;
	min-height: 100px;
	background-position: right;
}
.bottom12 {
	width: 80%;
	max-width: 1260px;
	min-width: 320px;
	min-height: 100px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	display: table;
}
.bottom2 {
	text-align: right;
	width: 100%;
	clear: left;
	height: 20px;
	vertical-align: middle;
	padding: 10px 0px;
	background-image: url(../i/bottom_bg3.gif);
}
.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;
}
.textarea {
	color: #333333;
	width: 260px;
	border: 1px solid #CCC;
	background-color: #FFF;
	overflow: auto;
	margin: 1px;
}
.button {
	font-weight: bold;
	color: #FFFFFF;
	background-color: #2E6F9C;
	border: 1px solid #000000;
	padding-top: 5px;
	padding-right: 25px;
	padding-bottom: 5px;
	padding-left: 25px;
}
.textfield {
	color: #333333;
	width: 260px;
	border: 1px solid #CCC;
	margin: 1px;
	background-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-left: 20px;  
	margin-right: 0;   
	margin-left: 0;
	padding: 3%;
}
  h1, h2, h3, h4, h5, h6 {
	  font-size: 24px;
	  font-weight:bold;
}
} 
@media screen and (max-width: 640px) {
.container {
	width: 94%;
	min-width: 260px;
	margin: 0 auto;
	border-right-width: 4px;
	border-bottom-width: 4px;
	border-left-width: 4px;
}
  .content {
	width: 94%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 20px;
	min-height: 100px;
  }
  .right {
    width: 94%;
	margin-left: 20px;  
	margin-right: 0;   
	margin-left: 0;
	padding: 3%;
}
  h1, h2, h3, h4, h5, h6 {
	  font-size: 18px;
	  font-weight:bold;
}

.paakuva {
	padding-bottom: 0px;
}
} 
