/* WebGarden 2018- */
* {	margin: 0; padding: 0; } img { border: 0; max-width:100%; } a:focus, input:focus, textarea:focus { outline: none; } :focus { -moz-outline-style:none; } strong { font-weight: 600; } i { font-style: italic; } td { vertical-align: top; } fieldset { border: 0; }

.span_1_of_5, .span_1_of_4, .span_2_of_4 {-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-ms-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
		
html { -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */ }

body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 15px; 
	color: #414141;
	line-height: 1.5em;
}
	
	body.siteBody {
		text-align: center;
	}
	
/*   FONTIT   */
	
	h1, h2, h3, h4 {
		font-family: 'Lato', Helvetica, Arial, sans-serif;
		font-weight: 900;
		font-style: normal;
		color: #ed891c;
		line-height: 1.2em;
	}

	h1,
	h2[itemprop="headline"],
	h2.big,
	.page-header h2,
	.fox-container h2 { font-size: 2.6em; padding: 0.4em 0 0.2em 0; color: #ed891c; } 

		#footer h2[itemprop="headline"] { color: #fff !important; font-size: 1.9em !important; }

		#wrapperMain .span_1_of_3 h1 { border-bottom: 4px solid #e2e2e2 !important; text-align: center !important; }

		#wrapperMain .page-header h2 { border-bottom: 4px solid #e2e2e2 !important; text-align: left !important; }
						
	h2 { font-size: 1.9em; padding: 0.4em 0 0.2em 0; }
		
	h3 { font-size: 1.6em; padding: 0.4em 0 0.2em 0; }

		.contact-category .row-striped h3 { font-size: 1.5em; padding: 0.4em 0 0.2em 0; }
		
	h4 { font-size: 1.3em; padding: 0.4em 0 0.2em 0;  }
			
	p { padding: 0.5em 0; }
	
	a { color: #17b0ff; text-decoration: underline; }
	
	a:hover { color: #17b0ff; text-decoration: none; }
	
/*   MUUT   */
	
	.kuvaRight { float: right; margin: 6px 0 6px 15px !important; }

	.max40pros { max-width: 40%; height: auto; }
	
	.centered { text-align: center; }
	
/* ReadMore */

	a.readMore,#toolbar-box button,#form-login-submit button,.control-group button,.btn-toolbar button, .n2-ow.readMore + div, .vm-button-correct {	
		position: relative;display: inline-block;background: #ed891c;color: #fff;height: 40px !important; margin-left: -12px;left:12px !important; padding: 0 10px 0 10px;box-sizing: border-box;font-family: 'Open Sans', Helvetica, Arial, sans-serif;
		font-weight: 600 !important;font-size: 16px !important;line-height: 40px;border-top: 0 !important;border-right: 0 !important;border-left: 0 !important;margin: 4px 0 !important;
		text-decoration: none;cursor: pointer;text-shadow: none !important;background-image: none !important;box-shadow: none !important;
		-webkit-transition: all 0.3s !important;-moz-transition: all 0.3s !important;-ms-transition: all 0.3s !important;-o-transition: all 0.3s !important;transition: all 0.3s !important;
	}

			a.readMore:before,#toolbar-box button:before,#form-login-submit button:before,.control-group button:before,.btn-toolbar button:before, .n2-ow.readMore + div:before, .vm-button-correct:before {
				left: -12px;position: absolute;width: 0; height: 0; border-right: 0px solid transparent;border-left: 12px solid transparent;border-top: 40px solid #ed891c;content: '';
				-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-ms-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;
			}

			a.readMore:after,#toolbar-box button:after,#form-login-submit button:after,.control-group button:after,.btn-toolbar button:after, .n2-ow.readMore + div:after, .vm-button-correct:after {
				position: absolute;right: -12px;width: 0; height: 0; border-left: 0px solid transparent;border-right: 12px solid transparent;border-top: 40px solid #ed891c;content: '';
				-webkit-transition: all 0.3s;-moz-transition: all 0.3s;-ms-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;
			}
	
		a.readMore:hover,#toolbar-box button:hover,#form-login-submit button:hover,.control-group button:hover,.btn-toolbar button:hover, .n2-ow.readMore:hover + div, .vm-button-correct:hover {
			background: #cd6e06 !important;color: #fff !important; border-top: 0 !important;border-right: 0 !important;border-left: 0 !important;
		}

			a.readMore:hover:before,#toolbar-box button:hover:before,#form-login-submit button:hover:before,.control-group button:hover:before,.btn-toolbar button:hover:before, .n2-ow.readMore:hover + div:before, .vm-button-correct:hover:before { border-top: 40px solid #cd6e06; }

			a.readMore:hover:after,#toolbar-box button:hover:after,#form-login-submit button:hover:after,.control-group button:hover:after,.btn-toolbar button:hover:after, .n2-ow.readMore:hover + div:after, .vm-button-correct:hover:after { border-top: 40px solid #cd6e06; }

	.onlyMobile,
	.onlyTabletAndMobile { display: none; }

/*   TAULUKKO   */
	
	table {
		font-family: 'Open Sans', Helvetica, Arial, sans-serif;
		font-weight: normal;
		font-size: 15px; 
		border-collapse: separate;
		border-spacing: 0;
		border: 1px solid #9a9a9a;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		margin: 6px 0 4px 0;
	}
	
		tbody tr:nth-child(even)  td { background-color: #f5f5f5; }
		
		tbody tr:nth-child(odd)  td { background-color: #fff; }
	
		.main td,
		.main th { padding: 7px 30px 7px 12px; }
		
		th { border-bottom: 2px solid #9a9a9a; background-color: #f5f5f5; font-size: 16px; padding-top: 9px !important; }
	
/*   VIDEO-RESPONSIVE & GOOGLE MAPS  */
	
	.video-responsive {
		overflow:hidden;
		padding-bottom: 56.25%;
		position:relative;
		height:0;
	}
	
		.video-responsive iframe{
			left:0;
			top:0;
			height:100%;
			width:100%;
			position:absolute;
		}
		
    .google-maps {
        position: relative;
        padding-bottom: 50%; 
        height: 0;
        overflow: hidden;
    }
	
		.google-maps iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 100% !important;
			height: 100% !important;
		}
	
/*   TEMPLATE   */

.container { margin: 0 auto; width: 1380px; padding: 0; position: relative; }

#wrapperTop { width: 100%; height: auto; padding: 30px 0 20px 0; position: relative; text-align: center; }
		
	#logo { height:auto; margin: 0 auto; }

		#logo img { width: 370px; height: auto; }
	
	#topLeft { position: absolute; left: 0; top: 30px; font-size: 18px; }

		.olemmefacebookissa { display: inline-block; line-height: 36px; vertical-align: middle; }

		#topLeft a { font-weight: 600 !important; color: #3a589b !important; text-decoration: none !important; }

			#topLeft a:hover { text-decoration: underline !important; }
	
	#topRight { position: absolute; right: 0; top: 0; }

		#topRight ul { padding: 0 !important; }

		#topRight ul li { padding: 3px 0 2px 30px; list-style: none; text-align: left; font-family: 'Lato', Helvetica, Arial, sans-serif; font-weight: 900; font-style: normal; color: #7a7a7a; }
	
			#topRight ul li.puhelin { background: url(../images/ico-puhelin.png) 0 50% no-repeat; background-size: 25px 25px; }

			#topRight ul li.email { background: url(../images/ico-kyna.png) 0 100% no-repeat; background-size: 25px 25px; }

				#topRight ul li a {  font-size: 16px; color: #7a7a7a; }

		#topRight div.puhelin { background: url(../images/icon_phone.png) 0 0 no-repeat; background-size: 36px 36px; padding: 5px 0 5px 32px; height: 26px; font-size: 18px; }

		#topRight a { font-weight: 600 !important; color: #7a7a7a !important; text-decoration: none !important; }

			#topRight a:hover { text-decoration: underline !important; }

		.fb-oikea { display: none !important; }

#menu {
	width: 100%;
	height: 55px;
	position: relative;
	z-index: 9999;
	background: #f68c1a;
	text-align: center;
	background: -moz-linear-gradient(top, #f68c1a 0%, #e07400 100%);
	background: -webkit-linear-gradient(top, #f68c1a 0%,#e07400 100%);
	background: linear-gradient(to bottom, #f68c1a 0%,#e07400 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f68c1a', endColorstr='#e07400',GradientType=0 );
}

/* HERO */
#hero { position: relative; width: 100% !important; margin: 0 0 30px 0; }

.djslider-default img.dj-image { width: 100%; /* = korkeus * 3,645 */
			
			height: 100% !important; overflow: auto; max-width: none !important; position: relative; left: auto; top: auto; transform: none; }

	#hero { height: auto !important; }

		.load-button, .load-button-active { outline: none !important; }

			.djslider-loader-default,
			.djslider-default,
			.djslider-default ul.djslider-in,
			.djslider-default ul.djslider-in > li,
			.djslider-default img.dj-image { outline: none !important; }

	#hero-teksti { position: absolute; left: 50%; bottom: 0; transform: translate(-50%,0); margin-bottom: -20px; }

/* /HERO*/

.fb-padding { width: 100%; height: 57px; }

#wrapperEtusivu { width: 100%; margin: 20px 0; }

	#karttaOuter { width: 100%; text-align: center; padding: 0 10%; box-sizing: border-box; }

#wrapperMain { width: 100%; padding: 15px 0 0 0; text-align: left; }

	ol, ul { padding: 6px 0 6px 25px; list-style-position: outside; }

		ul.breadcrumb { margin: 0 0 20px 0 !important; padding: 0 !important; }

				ul.breadcrumb:after { clear: both; }

			ul.breadcrumb li { list-style: none; font-size: 12px; float: left; }

			ul.breadcrumb .divider { margin-right: 3px; }

	#wrapperMain #left { float: left; width: 65%; padding: 0 5% 0 0; text-align: left; }

	#wrapperMain #right { float: left; width: 30%; text-align: left; }

	#wrapperMain ul, #wrapperMain ol { padding: 6px 0 6px 25px; list-style-position: outside; }

/*   FOOTER   */
		
#footer { background: #343434; color: #fff; padding: 2.4em 0 2.1em 0; margin-top: 30px; width:100%; text-align: left; }

	#webgarden { width: 80px; height: auto; float: right; display: block; margin-left: 20px; }
	
	
/**  GRIDS                       **********************************************/
	
	.group:before,.group:after {content: "";display: table;} .group:after {clear: both;}.group {zoom: 1; /* For IE 6/7 (trigger hasLayout) */}

	.clear { clear: both; }

	@media screen and (min-width: 641px) {	
	
		.span_1_of_2 { width: 49%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }
		.span_1_of_2:nth-child(2n+0) { padding: 0; }
		.span_1_of_2:nth-child(2n+1) { clear: left; }

		.span_1_of_3 { width: 32%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }
		.span_1_of_3:nth-child(3n+0) { padding: 0; }
		.span_1_of_3:nth-child(3n+1) { clear: left; }
		
		.span_1_of_4 { width: 23.5%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }
		.span_1_of_4:nth-child(4n+0) { padding: 0; }
		.span_1_of_4:nth-child(4n+1) { clear: left; }

	}

	@media screen and (min-width: 541px) and (max-width: 640px) {	
	
		.span_1_of_2,
		.span_1_of_3,
		.span_1_of_4 { width: 49%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }

		.span_1_of_2:nth-child(2n+0),
		.span_1_of_3:nth-child(2n+0),
		.span_1_of_4:nth-child(2n+0){ padding: 0; }
		
		.span_1_of_2:nth-child(2n+1),
		.span_1_of_3:nth-child(2n+1),
		.span_1_of_4:nth-child(2n+1){ clear: left; }
		
		.span_1_of_2 img,
		.span_1_of_3 img,
		.span_1_of_4 img { text-align: center; }

	}

	@media screen and (max-width: 540px) {	
	
		.span_1_of_2,
		.span_1_of_3,
		.span_1_of_4 { width: 100%; padding: 0; float: none; vertical-align: top; text-align: left; }
		
		.span_1_of_2 img,
		.span_1_of_3 img,
		.span_1_of_4 img { text-align: center; }

	}

	.span_1_of_2 img, .span_1_of_3 img, .span_1_of_4 img { max-width: 100% !important; height: auto; }

	.span_1_of_4,
	.span_1_of_3,
	.span_1_of_2 { -webkit-transition: all 0.3s;-moz-transition: all 0.3s;-ms-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s; }


/**  MEDIA-QUERIES               **********************************************/

@media screen and (min-width: 1121px) {	
	
	/* Yhteystiedot */

	.contact-category .row-striped { padding: 0 !important; }
	
	.contact-category .row-striped li { list-style-type: none; float: left; width: 30%; margin-right: 5%; padding-bottom: 10px; }

	.contact-category .row-striped li:nth-child(3n+0) { margin-right: 0 !important; }

	.contact-category .row-striped li:nth-child(3n+1) { clear: left !important;}
		
	.span_1_of_5 { width: 18.4%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }
	.span_1_of_5:nth-child(5n+0) { padding: 0; }
	.span_1_of_5:nth-child(5n+1) { clear: left; }

}

@media screen and (max-width: 1120px) {
		
	.span_1_of_5 { width: 32%; padding: 5px 2% 5px 0; float: left; vertical-align: top; text-align: left; }
	.span_1_of_5:nth-child(3n+0) { padding-right: 0; }
	.span_1_of_5:nth-child(3n+1) { clear: left; }
	
	/* Yhteystiedot */

	.contact-category .row-striped { padding: 0 !important; }

	.contact-category .row-striped li { list-style-type: none; float: left; width: 47.5%; margin-right: 5%; padding-bottom: 10px; }
	
	.contact-category .row-striped li:nth-child(2n+0) { margin-right: 0 !important; }

	.contact-category .row-striped li:nth-child(2n+1) { clear: left !important;}

}

@media screen and (max-width: 1440px) {	
		
	.container { width: 96%; }
			
}
	
@media screen and (max-width: 994px) {
	
	h1,
	h2[itemprop="headline"],
	h2.big,
	.page-header h2,
	.fox-container h2 { font-size: 2.3em; padding: 0.4em 0 0.2em 0; } 

		#footer h2[itemprop="headline"] { color: #fff !important; font-size: 1.7em !important; }

		#wrapperMain .span_1_of_3 h1 { border-bottom: 4px solid #e2e2e2 !important; text-align: center !important; }

		#wrapperMain .page-header h2 { border-bottom: 4px solid #e2e2e2 !important; text-align: left !important; }
						
	h2 { font-size: 1.6em; padding: 0.4em 0 0.2em 0; }
		
	h3 { font-size: 1.4em; padding: 0.8em 0 0.5em 0;}

		.contact-category .row-striped h3 { font-size: 1.5em; padding: 0.4em 0 0.2em 0; }
		
	h4 { font-size: 1.2em; }

}

@media only screen and (max-width: 767px) {
	
	#logo { float: left; }
	
	.kuvaRight { float: none; clear: both; padding: 0.6em 0; display: block; margin-left: auto !important; margin-right: auto !important; max-width: 90%; height: auto; }
		
	.google-maps {
        padding-bottom: 75%; 
	}
	
	#wrapperMain #left { width: 100%; padding: 0;  }
	
	#wrapperMain #right { width: 100%; padding: 0; }
	
}

@media screen and (max-width: 700px) {

	#topRight ul { padding: 8px 0 0 0 !important; }
	
	.puhelin { display: inline-block; margin-right: 7px; }

	.fb-oikea { line-height: 0; display: inline-block !important;vertical-align: middle;}
	
		
	h1,
	h2[itemprop="headline"],
	h2.big,
	.page-header h2,
	.fox-container h2 { font-size: 2.2em; padding: 0.4em 0 0.2em 0; } 

		#footer h2[itemprop="headline"] { color: #fff !important; font-size: 1.7em !important; }

		#wrapperMain .span_1_of_3 h1 { border-bottom: 4px solid #e2e2e2 !important; text-align: center !important; }

		#wrapperMain .page-header h2 { border-bottom: 4px solid #e2e2e2 !important; text-align: left !important; }
						
	h2 { font-size: 1.5em; padding: 0.4em 0 0.2em 0; }
		
	h3 { font-size: 1.3em; padding: 0.8em 0 0.5em 0;}

		.contact-category .row-striped h3 { font-size: 1.5em; padding: 0.4em 0 0.2em 0; }
		
	h4 { font-size: 1.15em; }
	
}

@media screen and (max-width: 640px) {
	
	.fb-padding { width: 100%; height: 20px; }
	
	#karttaOuter { width: 100%; text-align: center; padding: 0 20%; box-sizing: border-box; }
	
	.span_1_of_5 { width: 49%; padding: 5px 2% 5px 0; float: left; vertical-align: top; text-align: left; }
	.span_1_of_5:nth-child(2n+0) { padding-right: 0; }
	.span_1_of_5:nth-child(3n+1) { clear: none; }
	.span_1_of_5:nth-child(2n+1) { clear: left; }
		
	.container { width: 94%; }
			
	.webgarden { float: none; padding: 0 0 10px; }	
	
}

@media screen and (max-width: 580px) {
		
	#logo {  width: 100%; float: none; }
	
	#topRight { position: relative; width: 100%; display: block; top: auto; right: auto; margin: 0 auto; }
	
	#topRight ul li { display: inline-block; }
	
}

@media screen and (max-width: 480px) {
	
	#logo img { max-width: 90%; height: auto; }
		
	.onlyBigscreen { display: none !important; }
	
	.onlyMobile { display: block !important; }
	
	/* Yhteystiedot */
	
	.contact-category .row-striped li { list-style-type: none; float: left; width: 100%; margin-right: 0%; padding-bottom: 10px; clear: left !important; }
	
}


@media screen and (max-width: 440px) {
	
	.fb-padding { width: 100%; height: 0px; }
	
	.span_1_of_5 { width: 100%; padding: 5px 0 5px 0; float: none; vertical-align: top; text-align: left; clear: left; }
	
}

/*   -----------    HERO   -----------    */


@media screen and (max-width: 994px) and (min-width: 768px)  {
	
	#hero,
	.djslider-loader-default,
	.slider-container { height: 395px !important; }
	
	.djslider-default ul.djslider-in,
	.djslider-default ul.djslider-in > li { height: 100% !important; position: relative; }
	
		.djslider-default img.dj-image {
			width: 1440px !important; /* = korkeus * 3,645 */
			
			height: 100% !important; overflow: hidden; max-width: none !important; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
		
	#hero-teksti { width: 600px; height: auto; }
	
}

@media screen and (max-width: 767px) and (min-width: 581px)  {	

	#hero,
	.djslider-loader-default,
	.slider-container { height: 290px !important; }
	
	.djslider-default ul.djslider-in,
	.djslider-default ul.djslider-in > li { height: 100% !important; position: relative; }
	
		.djslider-default img.dj-image { width: 1057px !important; /* = korkeus * 3,645 */
			
			height: 100% !important; overflow: hidden; max-width: none !important; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
	
	#hero-teksti { width: 500px; height: auto; }

}

@media screen and (max-width: 580px) and (min-width: 0px)  {	
	
	#hero,
	.djslider-loader-default,
	.slider-container { height: 260px !important; }
	
	.djslider-default ul.djslider-in,
	.djslider-default ul.djslider-in > li { height: 100% !important; position: relative; }
	
		.djslider-default img.dj-image { width: 874px !important; /* = korkeus * 3,645 */
			
			height: 100% !important; overflow: hidden; max-width: none !important; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
	
	#hero-teksti { width: 90%; height: auto; }

}
