@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Acme|Roboto+Condensed&display=swap');
@font-face {
    font-family: 'Roboto Condensed', 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: 'Acme', sans-serif;
	font-weight: 500;
	color: #555;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
}
pre {
	color: #CCC;
	font-size: 16px;
}
p {
	margin-top: 0px;
	margin-bottom: 0px;
	 
}
h1 {
	font-size: 30px;
	}
h2 {
	font-size: 20px;
	}
h3 {
	font-size: 18px;
	}
.t	{
	line-height: 1.8;
	}
.at {
	color: #EEE;
	line-height: 1.6;
}
.aots {
	color: #EEE;
	font-size: 24px;
	font-weight: bold;
}
.copyt {
	color: #F9F9F9;
}
a img { 
	border: none;
}
a:link {
	color:#8dc63f;
	text-decoration: underline;
	font-size: 16px;
	-o-transition: all 0.8s linear;
	-moz-transition: all 0.8s linear;
	-khtml-transition: all 0.8s linear;
	-webkit-transition: all 0.8s linear;
	-ms-transition: all 0.8s linear;
	transition: all 0.8s linear;
}
a:visited {
	color: #8dc63f;
	text-decoration: underline;
	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: 20px;
	-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: 20px;
}
a.navi:hover, a.navi:active, a.navi:focus {
	color: #CCC;
	text-decoration: none;
	font-size: 20px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}
a.nosto:link {
    font-family: 'Acme', sans-serif;
	color:#FFF;
	text-decoration: none;
	font-size: 48px;
	-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.nosto:visited {
    font-family: 'Acme', sans-serif;
	color: #FFF;
	text-decoration: none;
	font-size: 48px;
}
a.nosto:hover, a.nosto:active, a.nosto:focus {
    font-family: 'Acme', sans-serif;
	color: #CCC;
	text-decoration: none;
	font-size: 48px;
	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;
}
a.bottom:visited {
	color: #FFF;
	text-decoration: none;
}
a.bottom:hover, a.bottom:active, a.bottom:focus {
	color:#CCC;
	text-decoration: none;
	opacity: 0.3;
	filter: alpha(opacity=30);
}
a.bottom2:link {
	font-size: 14px;
	color:#FFF;
	text-decoration: none;
}
a.bottom2:visited {
	font-size: 14px;
	color: #FFF;
	text-decoration: none;
}
a.bottom2:active, a.bottom2:hover, a.bottom2:focus {
	font-size: 14px;
	color: #CCC;
	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: #8dc63f;
	text-decoration: none;
	opacity: 0.9;
	filter: alpha(opacity=90);
	line-height: 24px;
}
a.tuotenavi:link {
	color:#DDD;
	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;
	line-height: 26px;
}
a.tuotenavi:visited {
	color: #DDD;
	text-decoration: none;
	font-size: 18px;
	line-height: 26px;
}
a.tuotenavi:hover, a.tuotenavi:active, a.tuotenavi:focus {
	color: #999;
	text-decoration: none;
	font-size: 18px;
	opacity: 0.7;
	filter: alpha(opacity=70);
	line-height: 26px;
}
.ylapalkki0 {
	background-color: #fff;
	height: 130px;
	margin: 0px;
	padding: 0px;
	}
.ylapalkki {
	background-color: #30b398;
	}
.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: 25px;
	padding-right: 25px;
	padding-bottom: 25px;
	padding-left: 25px;
}
li a:hover, .dropdown:hover .dropbtn {
	background-color: #258975;
}
li.dropdown {
    display: inline-block;
}
.dropdown-content {
	display: none;
	position: absolute;
	/*background-image: url(../i/navi2_bg.png);*/
    background-color: rgba(0,0,0,0.5);  /* 2. tason linkkien taustaväri */
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
	color: #FFF;
	padding: 10px 20px;
	text-decoration: none;
	display: block;
	text-align: left;
}
.dropdown-content a:hover {
	background-color: rgba(0,0,0,0.2);
} /* 2. tason linkkien taustaväri hover */
.dropdown:hover .dropdown-content {
    display: block;
}
.navibottom {
	min-width: 190px;
	max-width: 300px;
	padding: 10px;
	margin-bottom: 10px;
	vertical-align: top;
	text-align: left;
	display: table-cell;
	float: left;
	min-height: 120px;
}
.paakuva {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 100px;
	color: #FFF;
	text-align: center;
}
.paakuvaimg {
	max-width: 1030px;
	width: 100%;
}
.logo1 {
	text-align: right;
	width: 98%;
}
.logoimg {
	margin-top: 10px;
	margin-bottom: 10px;
}
.logoimg2 {
	margin-top: 10px;
	margin-bottom: 10px;
	border-style: none;
}
.logo {
	float: left;
	margin-right: 100px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
}
.tlaskuri {
    font-family: 'Acme', sans-serif;
	font-size: 72px;
	color: #FFF;
}
.tlaskuri2 {
	font-family: 'Acme', sans-serif;
	font-size: 36px;
	color: #222;
  	text-shadow: 0 0 3px #fff;
}
.nosto1 {
	background-color: #1e9fce;
	width: 26%;
	height: 100px;
	padding-left: 3%;
	padding-right: 3%;
	margin-right: 3%;
	float: left;
  	display: flex;
  	align-items: center;
	justify-content: center;
}
.nosto11 {
	text-align: center;
}

.nosto2 {
	background-color: #30b398;
	width: 25%;
	height: 100px;
	padding-left: 3%;
	padding-right: 3%;
	margin-right: 3%;
	float: left;  	display: flex;
  	align-items: center;
	justify-content: center;
}
.nosto3 {
	background-color: #ffff66;
	width: 25%;
	height: 100px;
	padding-left: 3%;
	padding-right: 3%;
	float: left;
	color: #333;
  	display: flex;
  	align-items: center;
	justify-content: center;
}
.nosto4 {
	font-size: 18px;
	line-height: 18px;
	text-align: center;
}

.topcontactpalkki {
	height: 120px;
	float: right;
	display:flex;
	align-items:center;
	padding: 5px;
}
.topcontact {
	height: 100px;
	float: left;
	margin: auto;
	font-size: 18px;
	font-weight: bold;
	color: #555;
	display:flex;
	align-items:center;
	padding: 5px;
}
.pikkulogo {
	padding-top: 4px;
	padding-bottom: 10px;
	padding-right: 14px;
	float: left;
	}
.paakuvateksti {
	text-align: center;
	color: #FFF;
	font-size: 36px;
	font-weight: normal;
	text-shadow: -1px -1px #666,2px 2px #444;
}
.content {
	padding: 5%;
	width: 50%;
	float: left;
	background-color: rgba(255,255,255,0.95);
	min-height: 500px;
	background-repeat: repeat-x;
	margin-bottom: 20px;
	margin-top: 20px;
}
.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;
	background-color: #FBFBFB;
}
#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: #8dc63f;
	color: white;
}
#aikataulu {
    border-collapse: collapse;
    width: 100%;
}
#aikataulu td, #aikataulu th {
	border: 1px solid #ddd;
	padding: 8px;
	vertical-align: top;
}
#aikataulu tr:nth-child(even){
	background-color: #f0f0f0;
}
#aikataulu tr:hover {background-color: #ddd;}
#aikataulu th {
	padding-top: 6px;
	padding-left: 6px;
	padding-bottom: 6px;
	text-align: left;
	background-color: #30B398;
	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: 31%;
	padding-right: 3%;
	padding-left: 3%;
	background-color: rgba(255,255,255,0.95);
	margin-left: 3%;
	padding-top: 50px;
	padding-bottom: 50px;
	background-repeat: repeat-x;
	margin-bottom: 20px;
	margin-top: 20px;
}
.fbwidget {
	text-align: center;	
	}
.instawidget {
	text-align: center;	
	}
.tuoteikkuna {
	font-size: 14px;
	float: left;
	width: 50%;
	text-align: center;
}

.fb-div {
	width: 300px;
	float: left;
}
.bottom0 {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 20px;
	opacity: 0.9;
	background-color: #7f5be4;
}
.bottom1 {
	width: 100%;
	max-width: 1200px;
	min-height: 100px;
	margin: 0 auto;
}
.bottom12 {
	display:table-cell;
	width: 66%;
	max-width: 800px;
	min-width: 540px;
	min-height: 100px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-left: 3%;
	padding-top: 10px;
	vertical-align: top;
}
.bottom13 {
	display:table-cell;
	width: 34%;
	max-width: 400px;
	min-width: 260px;
	min-height: 100px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding-top: 10px;
	vertical-align: top;
}

.bottom22 {
	width: 100%;
	text-align: right;
	height: 20px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	background-color: #222;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
}
.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 {
	background-color: #FFF;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 25px;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0;
	clear: both;
}
/* Sponssikuvat */
.spons9 {
 width: 240px;
 height: 160px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/side_of_naantali_a.gif') center top no-repeat;
}
.spons9:hover {
   background-image: url('../kuvat/side_of_naantali_b.gif');
}
.spons10 {
 width: 240px;
 height: 160px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/naantalin_energia_a.gif') center top no-repeat;
}
.spons10:hover {
   background-image: url('../kuvat/naantalin_energia_b.gif');
}
.spons11 {
 width: 240px;
 height: 160px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/naantalin_satama_a.gif') center top no-repeat;
}
.spons11:hover {
   background-image: url('../kuvat/naantalin_satama_b.gif');
}
/* pienemmät sponssit */
.spons2 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/jatke_logo_a.gif') center top no-repeat;
}
.spons2:hover {
   background-image: url('../kuvat/jatke_logo_b.gif');
}
.spons3 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/grolls_logo_a.gif') center top no-repeat;
}
.spons3:hover {
   background-image: url('../kuvat/grolls_logo_b.gif');
}
.spons4 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/leroy_logo_a.gif') center top no-repeat;
}
.spons4:hover {
   background-image: url('../kuvat/leroy_logo_b.gif');
}
.spons5 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/nlispa_logo_a.gif') center top no-repeat;
}
.spons5:hover {
   background-image: url('../kuvat/nlispa_logo_b.gif');
}
.spons6 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/resort_logo_a.gif') center top no-repeat;
}
.spons6:hover {
   background-image: url('../kuvat/resort_logo_b.gif');
}
.spons7 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/neste_a.gif') center top no-repeat;
}
.spons7:hover {
   background-image: url('../kuvat/neste_b.gif');
}
.spons8 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/lassila-tikanoja_a.gif') center top no-repeat;
}
.spons8:hover {
   background-image: url('../kuvat/lassila-tikanoja_b.gif');
}
.spons12 {
 width: 200px;
 height: 120px;
	margin-right: 15px;
	margin-left: 15px;
 display: inline-block;
 background:transparent url('../kuvat/terveystalo_a.gif') center top no-repeat;
}
.spons12:hover {
   background-image: url('../kuvat/terveystalo_b.gif');
}
/* Sponssilinkit päättyy */
.imgdivright {
	float: right;
	margin: 5px;
	max-width: 30%;
}
.imgleft {
	width: 100%;
	margin: 0px 20px 2px 0px;
	padding: 5px;
	border-radius: 6px;
    -moz-box-shadow: 1px 1px 5px #eee;
    -webkit-box-shadow: 1px 1px 5px #eee;
        box-shadow: 1px 1px 5px #eee;
}
a:hover img.imgleft {
	-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-radius: 6px;
    -moz-box-shadow: 1px 1px 5px #eee;
    -webkit-box-shadow: 1px 1px 5px #eee;
        box-shadow: 1px 1px 5px #eee;
}
a:hover img.imgright {
    -moz-box-shadow: 1px 1px 5px #999;
    -webkit-box-shadow: 1px 1px 5px #999;
        box-shadow: 1px 1px 5px #999;
}
.palautelomaketaulu {
	width: 100%;
	max-width: 500px;
	}
.textfield {
    font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	width: 96%;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.textarea {
    font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	width: 96%;
	border: 1px solid #CCC;
	margin: 2px;
	background-color: #FFF;
	padding: 2px;
}
.button {
    font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	background-color: #999;
	height: 35px;
	width: 120px;
	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;
	}
@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: 5px;
  }
  .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: 10px;
	margin-bottom: 5px;
	margin-top: 10px;
  }
  .thumbnail-gallery-right > div {
    display: table-row;
  }
  .thumbnail-gallery-right .thumbnail {
	display: table-cell;
	padding-left: 10px;
	text-align: center;
  }
}
@media screen and (max-width: 1200px) {
.right {	
	width: 33%;
	padding-right: 2%;
	padding-left: 2%;
	margin-left: 3%;
}
}
@media screen and (max-width: 980px) {
.ylapalkki0 {
	height: 110px;
	}
li a, .dropbtn {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
a.navi:link, a.navi:visited, a.navi:hover, a.navi:active, a.navi:focus {
	font-size: 18px;
}
.logo {
	margin-right: 10px;
	/*width: 20%;
	height: 20%;*/
}
a.nosto:link, a.nosto:visited, a.nosto:hover {
	font-size: 32px;
}
.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: 18px;
}
.paakuva {
	padding-bottom: 30px;
	padding-top: 0px;
	}
.paakuvateksti {
	font-size: 30px;
	font-weight: normal;
}
.textfield {
	width: 250px;
}
.textarea {
	width: 250px;
}
.bottom12 {
	width: 60%;
	max-width: 700px;
	min-width: 360px;
	padding-left: 1%;
}
.bottom13 {
	width: 40%;
	min-width: 360px;
}
@media screen and (max-width: 640px) {
.ylapalkki0 {
		height: 200px;
		}
li {
    float: none;
}
li a, .dropbtn {
	padding-top: 9px;
	padding-right: 80px;
	padding-bottom: 9px;
	padding-left: 20px;
}
.logoimg {
	width: 80%;
	height: 80%;
		}
.logoimg2 {
	margin-top: 5px;
	margin-bottom: 5px;
	width: 45px;
	height: 52px;
}
.logo {
	margin-right: 10px;
	/*width: 50%;
	height: 50%;*/
}
.tlaskuri {
	font-size: 36px;
	}
.tlaskuri2 {
	font-size: 18px;
	}
a.nosto:link, a.nosto:visited, a.nosto:hover {
	font-size: 18px;
}
.nosto4 {
	font-size: 14px;
}
.container {
	width: 94%;
	min-width: 260px;
}
.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: 11px;
}
h1, h2, h3, h4, h5, h6 {
	  font-size: 18px;
}
.paakuva {
	padding-top: 0px;
	padding-bottom: 0px;
}
.paakuvateksti {
	font-size: 24px;
	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;
}
.bottom12 {
	display: table-row;
	width: 100%;
	max-width: 300px;
	min-width: 200px;
	margin-left: 10px;
	padding-left: 10px;
}
.copyt {
	color: #F9F9F9;
	font-size: 12px;
}
a.bottom2 {
	font-size: 12px;
}
} 
