/* 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_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;
	}

ul, ol { padding: 6px 0 6px 25px; }
	
/*   FONTIT   */
	
	h1, h2, h3, h4,
	span.title {
		font-family: 'Exo', Helvetica, Arial, sans-serif;
		font-weight: 600;
		font-style: normal;
		color: #1077bd;
		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.4em 0; } 

		#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,
	span.title{ font-size: 1.9em; padding: 0.4em 0 0.4em 0; }

.dj-megamenu span.title,
#dj-megamenu88mobile span.title{ font-size: 15px !important; }

.dj-submenu span.name,
#dj-megamenu88mobile span.name { color: #fff !important; }

.dj-mobile-open-btn.dj-fa-1 .dj-mobile-open-icon:before { font: normal normal normal 28px/1 "FontAwesome" !important; }
		
	h3 { font-size: 1.6em; 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; padding: 16px 0 8px 0; }
			
	p { padding: 0.5em 0; }
	
	a { color: #17b0ff; text-decoration: underline; }
	
	a:hover { color: #17b0ff; text-decoration: none; }
	
/*   MUUT   */
	
	.kuvaRight { float: right; margin: 7px !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: #1077bd;color: #fff;height: 40px !important; margin-left: -15px;left:15px !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: -15px;position: absolute;width: 0; height: 0; border-right: 0px solid transparent;border-left: 15px solid transparent;border-bottom: 40px solid #1077bd;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: -15px;width: 0; height: 0; border-left: 0px solid transparent;border-right: 15px solid transparent;border-top: 40px solid #1077bd;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: #045d99 !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-bottom: 40px solid #045d99; }

			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 #045d99; }

		/* ReadMore dark */

		a.readMore.dark { background: #3f4040; }								a.readMore.dark:hover { background: #202020 !important; }
		a.readMore.dark:before { border-bottom: 40px solid #3f4040;}			a.readMore.dark:hover:before { border-bottom: 40px solid #202020 !important;}
		a.readMore.dark:after { border-top: 40px solid #3f4040;}				a.readMore.dark:hover:after { border-top: 40px solid #202020 !important;}

	/* Etusivun hero-nappi */
	div#n2-ss-2 .n2-font-5b54f2c224b31b0778e6e5a76259d50a-link a { line-height: 40px !important; padding: 0 10px !important; }

	/* Virtuemart tarkastele tilaustasi */
	.vm-button-correct, .vm-button-correct:link, .vm-button-correct:visited {padding: 0 10px !important; letter-spacing: 0 !important; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; border: 0 !important }

/* ReadMore päättyy */

	.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: 45%; 
        height: 0;
        overflow: hidden;
    }
	
		.google-maps iframe {
			position: absolute;
			top: 0;
			left: 0;
			width: 100% !important;
			height: 100% !important;
		}

.isoteksti { text-align: center; font-size: 18px; color: #747474; line-height: 1.8em;  }


/* MOBILE MENU */

.dj-megamenu-select-custom88 .dj-mobile-open-btn, .dj-megamenu-offcanvas-custom88 .dj-mobile-open-btn, .dj-megamenu-accordion-custom88 .dj-mobile-open-btn { font-size: 24px !important; height: auto !important; padding: 8px 12px !important; text-decoration: none !important; cursor: pointer !important; }

.dj-mobile-open-btn-lbl { font-size: 18px !important; text-decoration: none !important; }

/*   TEMPLATE   */

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

#wrapperTop { width: 100%; position: relative; box-shadow: 0 0 4px rgba(0,0,0,0.5); }
		
	#logo { float: left; width: 441px; padding: 20px 0; }

		#logo img { width: 441px; height: auto; }
	
	#topRight { float: right; }

		#topRightTop {
			margin: 0 0 12px 0;
		}

			#puhelin {
				float: right;
				background: #1077bd;
				color: #fff;
				padding: 5px 18px;

				-ms-transform: skewX(-15deg); /* IE 9 */
				-webkit-transform: skewX(-15deg); /* Safari */
				transform: skewX(-15deg); /* Standard syntax */
			}

			#ostoskori { 
				float: right;
				background: #3f4040;
				color: #fff;
				padding: 5px 18px;

				-ms-transform: skewX(-15deg); /* IE 9 */
				-webkit-transform: skewX(-15deg); /* Safari */
				transform: skewX(-15deg); /* Standard syntax */
			}

					#ostoskori a, #puhelin a { color: #fff !important; text-decoration: none !important; }  #ostoskori a:hover, #puhelin a:hover { text-decoration: underline !important; }

				#puhelin .inner { 	
					background-image: url(../images/phone.png);
					background-position: 0 0;
					background-repeat: no-repeat;
					background-size: 14px 20px;
					padding: 0 0 0 20px;
					
					-ms-transform: skewX(15deg); /* IE 9 */
					-webkit-transform: skewX(15deg); /* Safari */
					transform: skewX(15deg); /* Standard syntax */
				}

				#ostoskori .inner{
					background-image: url(../images/shop-basket.png);
					background-position: 0 0;
					background-repeat: no-repeat;
					background-size: 23px 20px;
					padding: 0 0 0 30px;
					
					-ms-transform: skewX(15deg); /* IE 9 */
					-webkit-transform: skewX(15deg); /* Safari */
					transform: skewX(15deg); /* Standard syntax */
				}

		#menu {
			
		}

#wrapperEtusivu { width: 100%; background: url(../images/tausta-etusivu.jpg) 50% 0 no-repeat; background-size: 100% auto; }

	#wrapperEtusivuInner { max-width: 55%;margin:0 auto; padding: 80px 0 120px 0; }

		#mobi-kuva { display: none; }

#tuotteemme_slider { background: #f0f0f0; padding: 30px 0; }

#wrapperMain { width: 100%; padding: 15px 0 30px 0; background: #f0f0f0; }

	ul.breadcrumb { list-style-type: none; font-size: 12px; line-height: 14px; margin: 0 0 8px 0 !important; padding: 0 !important; }

		ul.breadcrumb li { float: left; padding: 2px 4px 2px 0; }

	.leftMuutSivut {
		width: 18%;
		padding: 1px 2% 0 0;
		margin-top: 8px;
		float: left;
		text-align: left;
	}

	.rightMuutSivut {
		width: 80%;
		padding: 0; 
		float: left;
		text-align: left;
	}

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

/*   FOOTER   */
		
#footer { background: #3f4040; color: #fff; padding: 2.4em 0 2.1em 0; width:100%; text-align: left; }

	#webgarden { width: 80px; height: auto; float: right; display: block; margin-left: 20px; }

#footer img { max-width: 80% !important; }

#footer h1, #footer h2, #footer h3, #footer h4 { color: #fff !important; }

#footer ul { list-style-type: none;}

.rwd-line {
    display: inline;
}

#dj-megamenu120mobile ul.dj-mobile-dark li.dj-mobileitem span.title {
  color: #ffffff!important;
}	
	
/**  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+1),
		.span_1_of_3:nth-child(2n+1),
		.span_1_of_4:nth-child(2n+1){ clear: left; padding: 0; }
		
		.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;}

}

@media screen and (max-width: 1700px) {	
	
	#logo { float: left; width: 370px; height:auto; margin: 0 auto; }

	#logo img { width: 370px; height: auto; }

}

@media screen and (max-width: 1120px) {	
		
	#logo { float: left; width: 300px; height:auto; margin: 0 auto; }

	#logo img { width: 300px; height: auto; }
	
	/* 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: 1441px) {	
		
	.container { width: 96%; }
	
	#wrapperEtusivu { background-position: 50% 50%; }
	
		#wrapperEtusivuInner { max-width: 55%;margin:0 auto; padding: 60px 0; }
			
}

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

.rwd-line {
    display: block;
}
	
	.isoteksti { text-align: center; font-size: 16px; color: #747474; line-height: 1.8em;  }

	
}
	
@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: 900px) {
	
	#footer .span_1_of_4 { width: 49%; padding: 0 2% 0 0; float: left; vertical-align: top; text-align: left; }
	#footer .span_1_of_4:nth-child(2n+1){ clear: left; padding: 0; }
			
	.fb-page { margin: 0 auto; }

}
@media only screen and (max-width: 767px) {
	
	.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,
	.leftMuutSivut { width: 100%; padding: 0;  }
	
		.leftMuutSivut { text-align: center !important; }
	
	#wrapperMain #right,
	.rightMuutSivut { width: 100%; padding: 0; }
	
		.leftMuutSivut { order: 2; margin-top: 0px; }
		
		.rightMuutSivut { order: 1; }
	
}

@media screen and (max-width: 700px) {
	
	#logo { float: left; margin: 0; }
	
	#topLeft { display: none !important; visibility: hidden !important; }
	
	.puhelin { display: inline-block;vertical-align: middle; margin-right: 7px; }

	.fb-oikea { line-height: 0; display: inline-block !important;vertical-align: middle;}
	
	#wrapperEtusivu { max-width: 100%;margin:0 auto; padding: 30px 0; background: none; }

		#wrapperEtusivuInner { padding: 20px 0; max-width: 90%; }

			#mobi-kuva { 
				display: block; background: url(../images/tausta-etusivu-mobi.jpg) 50% 50% no-repeat;
				background-size: 100% 100%;
				overflow:hidden;
				padding-bottom: 72%;
				position:relative;
				height:0;
			}
	
	h1,
	h2[itemprop="headline"],
	h2.big,
	.page-header h2,
	.fox-container h2 { font-size: 2.1em; padding: 16px 0 10px 0; } 

		#footer h2[itemprop="headline"] { color: #fff !important; font-size: 1.6em !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: 12px 0 6px 0; }
		
	h3 { font-size: 1.3em; padding: 12px 0 6px 0; }

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

@media screen and (max-width: 640px) {
		
	.container { width: 94%; }
	
	#logo { width: 100%; float: none; text-align: center; padding: 20px 0 10px 0; }
	
		#logo img { width: 80%; height: auto; }
	
	#topRight { width: 100%; float: none; text-align: center;}
			
		#topRightTop { text-align: center; }
	
			#puhelin, #ostoskori { float: none; display: inline-block; }
	
		#menu { text-align: center; margin-bottom: 10px; }
	
	.dj-megamenu-accordion-custom88.dj-align-right { text-align: center; }
	
	.dj-pos-absolute .dj-accordion-custom88 { top: 40px; margin: 0 0 10px 0 !important; }
	
	.dj-pos-absolute.dj-align-right .dj-accordion-custom88 {
	 	left: 50%;
		width: 300px;
		transform: translate(-50%, 0); }
			
	.webgarden { float: none; padding: 0 0 10px; }	
	
}

@media screen and (max-width: 580px) {
		
	#logo {  width: 100%; float: none; }
	
	#topRight { width: 100%; display: block; top: auto; right: auto; margin: 0 auto; }
	
	#etusivuthird-a {
		width: 100%;
		padding: 0;
		float: none;
		vertical-align: top;
		text-align: left;
	}

	#etusivuthird-b {
		width: 100%;
		padding: 0;
		float: none;
		vertical-align: top;
		text-align: left;
	}
	
}

@media screen and (max-width: 520px) {
	
		#logo img { width: 100%; height: auto; }

}

@media screen and (max-width: 480px) {
	
	#footer .span_1_of_4 { width: 100%; padding: 0; float: none; vertical-align: top; text-align: left; }
		
	.onlyBigscreen { display: none !important; }
	
	.onlyMobile { display: block; }
	
	.hide480 { display: none; }
	
	/* Yhteystiedot */
	
	.contact-category .row-striped li { list-style-type: none; float: left; width: 100%; margin-right: 0%; padding-bottom: 10px; clear: left !important; }
	
}

