/* Ipad orizzontale */
@media only screen and (max-width: 1200px ) {
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1000px; }
	h3 { font-size: 22px; line-height: 26px; }
	
	#h1200 { display: none; }
	
	iframe#gmap { height: 465px; }
	iframe#ytvideo { height: 395px; }
}

/* Ipad verticale */
@media only screen and (max-width: 979px ) { 
	body, li { font-size: 12px; line-height: 16px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 784px; }
	.container { padding: 0 20px; }
	.content-wrap .row-fluid { margin-bottom: 25px; }
	.wide-background .row-fluid { margin-bottom: 0; }
	p { margin: 0 0 5px; }
	h1, h2, h3, h4, h5, h6 { margin: 5px 0; }
	h3 { font-size: 18px; line-height: 22px; }

	footer p { text-align: center !important; }	
	footer table { margin: 0 auto !important; float: none !important; }
	footer img#footer { display: none !important; }
	
	#h979 { display: none; }
	
	iframe#gmap { height: 357px; }
	iframe#ytvideo { height: 305px; }
	
	.sidebar #searchform input[type="text"] { height: 36px; padding: 0 3px; font-size: 12px; }
	.sidebar #searchform button.searchsubmit { top: 13px; right: 13px; }
}

/* Mobile orizzontale */
@media only screen and (max-width: 767px ) {
	.container { padding: 0 10px; }
	.container.main { padding-top: 25px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 100%; margin: 0; border: 0; }
	
	header img#logo { max-width: 300px; min-width: 0; width: 100%; margin: 0 auto; display: block; }
	
	header nav.menu ul.std-menu { display: none !important; }
	header nav.menu ul.ul-mobile-menu { display: block !important; }
	
	.page-title { padding: 15px 0; }
	.page-title h1 { text-align: center; font-size: 24px; line-height: 26px; }
	
	.single-archive-post img { margin-bottom: 10px; }
	
	.sidebar,
	prefooter { display: none; }
	
	#h1200, #h979 { display: block; }
	#h767 { display: none; }
	
	iframe#gmap { height: 270px; }
	iframe#ytvideo { max-width: 100%; height: 320px; display: block; margin: 25px auto 0; }
}

/* Mobile verticale */
@media only screen and (max-width: 480px ) {
	
	#h480 { display: none; }
	
	iframe#gmap { height: 180px; }
	iframe#ytvideo { max-width: 100%; height: 200px; }
	
	.visual-form-builder li.vfb-left-half, .visual-form-builder li.vfb-right-half,
	.visual-form-builder li.vfb-left-third, .visual-form-builder li.vfb-middle-third, 
	.visual-form-builder li.vfb-right-third,
	input.vfb-medium, input.vfb-medium[type="text"] { width: 100% !important; margin: 0 !important; }
}

/* CUSTOM */
@media only screen and (max-width: 1200px ) {
	header img#logo { width: 280px; }
	
	.quote h2 { font-size: 22px; line-height: 26px; }
	
	.parallax01 h2,
	.contentCarousel .servizi .contentCarousel-single h3 { font-size: 34px; line-height: 36px; }
	
	.contentCarousel .prodotti .contentCarousel-single .imageContainer { padding: 5px 16px 50px 13px; }
	.contentCarousel .prodotti .contentCarousel-single h3 { font-size: 18px; line-height: 20px; bottom: 18px; }
	
	.parallax01 h2 { font-size: 34px; line-height: 36px; }
	p#pN2 { display: none; }
	.slider-mask { padding: 15px 25px 15px 60px; }
	.slider-mask:after { left: -80px; bottom: -101px; }
	
	.contentCarousel .servizi { margin-top: 25px; }
	.contentCarousel .servizi .contentCarousel-single h3 { margin-top: 0; }
	.contentCarousel .servizi .contentCarousel-single p#pN12 { display: none; }
	.contentCarousel .owl-theme.servizi .owl-controls { margin-top: 10px; }
	
	
	
	prefooter iframe { height: 133px; }
	
	.page-title { padding: 90px 0px 0px; }
	
}

@media only screen and (max-width: 979px ) {
	header img#logo { width: 260px; }
	
	header nav.menu.main-menu { margin-top: 22px; }
	header nav.menu.main-menu li a { padding: 7px 10px; }
	header nav.menu.main-menu li ul.children { top: 40px; }
	
	.quote h1 { font-size: 30px; line-height: 34px; margin-bottom: 5px; }
	.quote h2 { font-size: 16px; line-height: 18px; }
	
	.parallax01 h2,
	.contentCarousel .servizi .contentCarousel-single h3 { font-size: 26px; line-height: 28px; }
	.parallax01 p { font-size: 14px; line-height: 20px; }
	
	.slider-mask { padding: 14px 20px 10px 40px; }
	.slider-mask:after { left: -70px; bottom: -92px; }
	
	prefooter iframe { height: 101px; }
	
	.page-title { padding: 60px 0px 0px; }
	.page-title h1 { padding: 5px 10px; font-size: 24px; line-height: 28px; }
	.sidebar li.widget {
  		-moz-border-radius: 5px;
  		-webkit-border-radius: 5px;
  		border-radius: 5px;
	}
	.sidebar h2.widgettitle, .sidebar h3.srp-widget-title { font-size: 16px; line-height: 20px; padding: 5px 10px; }
	
}

@media only screen and (max-width: 767px ) {
	header img#logo { width: 240px; }
	
	header { padding: 10px 0; }
	header img#logo { bottom: 0; }
	header nav.menu.main-menu { margin-top: 10px; }
	header .rightContainer { margin: 10px auto 0; }
	header .headerSocial { justify-content: center; }
	
	.tp-thumbs { display: none !important; }
	
	.tp-caption { display: none !important; }
	
	.quote h1, .quote h1 a { font-size: 30px; line-height: 32px; margin: 0px 0px 5px; }
	.quote h2, .quote h2 a { font-size: 18px; line-height: 20px; }
	
	p#pN2 { display: block; }
	
	.slider-mask { margin: 15px 0 0; border: 2px solid #fff; padding: 0; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; overflow: hidden; }
	.slider-mask:after { display: none; }
	.slider-mask img { -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; }
	
	.contentCarousel .servizi { margin-top: 0; }
	.contentCarousel .servizi .contentCarousel-single img { margin-bottom: 10px; }
	.contentCarousel .servizi .contentCarousel-single p#pN12 { display: block; }
	
	.page-title { padding: 60px 0px 0px; }
	.page-title h1 { margin: 0 auto; }
}

@media only screen and (max-width: 480px ) {
	header img#logo { max-width: 200px; }
	
	.quote h1, .quote h1 a { font-size: 28px; line-height: 30px; }
	
	.contentCarousel .prodotti .contentCarousel-single h3 { font-size: 24px; line-height: 26px; bottom: 24px; }
	
	.parallax01 h2, .contentCarousel .servizi .contentCarousel-single h3 { font-size: 24px; line-height: 26px; }

	.page-title { padding: 40px 0px 0px; }
	
	img.alignleft { width: 100%; float: none; margin: 0 0 10px; }
}