@media only screen and (min-width: 1381px ) {
	.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 1280px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1340px; }
}
@media only screen and (min-width: 1201px) and (max-width: 1380px ) {
	.container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 1170px; }
	.container {  padding: 0 30px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1230px; }
}

/* Ipad orizzontale */
@media only screen and (max-width: 1200px ) {
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1000px; }
	.parallax { background-position: center !important; background-attachment: scroll !important; }
	h3 { font-size: 22px; line-height: 26px; }
	
	iframe#gmap { height: 465px; }
}

/* Ipad verticale */
@media only screen and (max-width: 979px ) { 
	body, li { font-size: 12px; line-height: 16px; }
	.container { padding: 0 20px; }
	.boxedWrapper,
	.boxedBottomBar.credits { width: 784px; }
	.content-wrap .row-fluid, .shadow { margin-bottom: 25px; }
	.wide-background .row-fluid, .wide-shadow { margin-bottom: 0; }
	p { margin: 0 0 8px; }
	h1, h2, h3, h4, h5, h6 { margin: 8px 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; }
	
	iframe#gmap { height: 357px; }
	
	.sidebar #searchform input[type="text"] { height: 36px; padding: 0 3px; font-size: 12px; }
	.sidebar #searchform button.searchsubmit { top: 3px; right: 3px; }
}

/* 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; }
	h3 { font-size: 16px; line-height: 20px; }
	
	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,
	.single-post .page-title h1 { text-align: center; font-size: 24px; line-height: 26px; }
	
	.single-archive-post img { margin-bottom: 10px; }

	.sidebar,
	prefooter { display: none; }
	
	iframe#gmap { height: 270px; }
	
	#back-top { display: none !important; }
}

/* Mobile verticale */
@media only screen and (max-width: 480px ) {
	
	iframe#gmap { height: 180px; }
	
	form.visual-form-builder li.vfb-left-half, form.visual-form-builder li.vfb-right-half,
	form.visual-form-builder li.vfb-left-third, form.visual-form-builder li.vfb-middle-third, 
	form.visual-form-builder li.vfb-right-third { width: 100% !important; margin: 0 !important; }
	
	form.visual-form-builder li.vfb-two-column div span,
	form.visual-form-builder li.vfb-three-column div span { width: 100% !important; }
	
	img.alignleft,
	img.alignright,
	.onehalf-width,
	.onethird-width,
	.twothird-width { width: 100%; margin: 0 auto 10px; float: none; }
	
	.mobileBanner { display: block; }
}

/* CUSTOM */
@media only screen and (max-width: 1600px ) {
	body .serviceBox.style6 h3 { font-size: 30px; line-height: 32px; }
	body .serviceBox.style6 h4 { margin: 0; font-size: 14px; line-height: 18px; }	
	
	body .serviceBox.style2 h3 { font-size: 22px; line-height: 24px; }
	body .serviceBox.style2 h4 { font-size: 14px; line-height: 18px; }
	
	.parallax.section-azienda h1 { font-size: 34px; line-height: 38px; }
	p#pN3 { display: none; }
	
	prefooter .span4:nth-child(2) img { width: 42%; }
}

@media only screen and (max-width: 1380px ) {
	
	body .page-prodotti .serviceBox.style6 h4 { font-size: 13px; line-height: 15px; }
	
	.serviceBox.style7 .textContainer p { font-size: 12px; line-height: 18px; }
}

@media only screen and (max-width: 1200px ) {
	.wide-background.quote p { font-size: 14px; line-height: 18px; }
	
	body .serviceBox.style6 h3 { font-size: 22px; line-height: 22px; margin-top: -25px; }
	body .serviceBox.style6 h4 { font-size: 16px; line-height: 20px; }
	
	.quote.quote-settori h1 { font-size: 34px; line-height: 38px; }
	
	.row-fluid.section-settori .span2 {
		width: 31.914893617021278%;
		margin-left: 2.127659574468085%;
		margin-bottom: 25px;
	}
	.row-fluid.section-settori .span2:first-child,
	.row-fluid.section-settori .span2:nth-child(4) { margin: 0; }
	body .serviceBox.style2 img { width: 40%; }
	body .serviceBox.style2 h4 { font-size: 16px; line-height: 20px; }
	
	.parallax.section-azienda h1 { font-size: 28px; line-height: 30px; margin-top: 0; }
	
	#pN1, #pN7 { display: none; }
	
	.quote.quote-servizi p { font-size: 16px; line-height: 20px; }
	
	prefooter .span4:nth-child(2) img { display: none; }
	body .recentPost .recentPost-single.style-blog .imageContainer { width: 22%; }
	body .recentPost .recentPost-single.style-blog .textContainer { width: 75%; }
	body .recentPost .recentPost-single.style-blog .textContainer h3 { font-size: 14px; line-height: 18px; margin-top: 0px; }		
	prefooter .span4:nth-child(3) { font-size: 12px; }
	
	.custom-clearfix-settori,
	.custom-clearfix-prodotti,
	.custom-clearfix-realizzazioni,
	.custom-clearfix-referenze { clear: both; }
	
	body .page-prodotti .serviceBox.style6 h3 { font-size: 24px; line-height: 26px; margin-top: -30px; }	
	body .page-prodotti .serviceBox.style6 h4 { font-size: 15px; line-height: 17px; }
	
	body .serviceBox.style7 .textContainer h3 { font-size: 18px; line-height: 20px; }
	body .serviceBox.style7 .textContainer p { font-size: 12px; line-height: 16px; }
	
	.blog-container article.single-post .post-date { margin-bottom: 5px; }
	.blog-container article.single-post h3 { margin: 0 auto 5px; }
	
	body .screenshotBox img[width="140"] { width: 100px; }
	
	body .references h2 { margin-bottom: 20px; }
	body .references .images { gap: 20px; }
	body .references img { border-width: 5px; }
}

@media only screen and (max-width: 979px ) {
	header .rightContainer { margin-top: 18px; }
	header nav.menu { height: 36px; }
	header nav.menu li a { padding: 10px 15px; }
	header nav.menu .children { top: 34px; }
	
	.quote h1 { font-size: 32px; line-height: 34px; }
	.quote h2 { font-size: 22px; line-height: 26px; }
	.wide-background.quote p { font-size: 18px; line-height: 20px; }
	.quote p br { display: none; }
	
	body .serviceBox.style6:hover .imageContainer:before { 	
		-moz-box-shadow: inset 0 0 0 15px rgba(255,255,255,.4);
		-webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
		box-shadow: inset 0 0 0 15px rgba(255,255,255,.4);
	}
	body .serviceBox.style6 h3 { font-size: 18px; line-height: 20px; }
	body .serviceBox.style6 h4 { font-size: 12px; line-height: 16px; }
	
	.quote.quote-settori h1 { font-size: 26px; line-height: 30px; }
	.quote.quote-settori p { font-size: 16px; line-height: 20px; }
	body .serviceBox.style2 h4 { font-size: 13px; line-height: 18px; font-weight: 400; }
	
	.parallax.section-azienda { margin-top: 40px; }
	.parallax.section-azienda h1 { font-size: 22px; line-height: 24px; }
	.parallax.section-azienda #cycloneslider-benv-home-1 { margin: -85px 0 -35px; }
	
	.quote.quote-servizi p { font-size: 18px; line-height: 20px; }
	
	body .serviceBox.style9 .imageContainer { width: 70px; }
	body .serviceBox.style9 .textContainer { padding-left: 80px; }
	body .serviceBox.style9 h3 { font-size: 16px; line-height: 18px; }
	.blue-box-servizi { padding: 20px; }
	
	prefooter h3.prefooter-widgettitle { font-size: 16px; line-height: 20px; }
	body .recentPost .recentPost-single.style-blog .imageContainer { width: 20%; }
	body .recentPost .recentPost-single.style-blog .textContainer { width: 77%; }
	body .recentPost .recentPost-single.style-blog .textContainer h3 { font-size: 12px; line-height: 14px; }
	body .recentPost .recentPost-single .data { font-size: 10px; line-height: 10px; margin-bottom: 0; }
	prefooter .span4:nth-child(2) img { width: 38%; display: block; }
	#pN001 { display: none; }
	prefooter .span4:nth-child(3) img { width: 90%; }
	prefooter .span4:nth-child(3) i.fa { display: none; }
	
	.sidebar h3.sidebar-widgettitle { margin: 0 0 5px 0; font-size: 16px; line-height: 18px; padding: 8px; }
	
	body .screenshotBox { padding: 15px; }
	
	body .page-prodotti .serviceBox.style6 h3 { font-size: 18px; line-height: 20px; margin-top: -25px; }
	body .page-prodotti .serviceBox.style6 h4 { font-size: 13px; line-height: 16px; }
	
	body .row-fluid.page-servizi .span6 { width: 100%; margin: 0; float: none; }
	body .serviceBox.style7 { padding: 8px; margin-bottom: 5px; grid-template-columns: 60px auto; grid-gap: 10px; }
	body .row-fluid.page-servizi .text-container { display: none !important; }
	
	body .screenshotBox img[width="140"] { width: 90px; }
}

@media only screen and (max-width: 767px ) {
	header { padding: 15px 0 0; }
	header.menu { padding: 10px 0; }
	header .rightContainer { display: none; }
	header nav.menu { height: auto; }
	header nav.menu li a { padding: 5px; }
	
	.page-title { border-top: 2px solid #4881C2; }
	.page-title h1 { margin: 0 auto; background: none; color: #fff; text-shadow: 0px 0px 4px rgba(0,0,0,.4); font-size: 32px; line-height: 34px; }
	.page-title h1:before,
	.page-title h1:after { display: none; }
	
	.quote h1 { font-size: 30px; line-height: 32px; }
	.quote h2 { font-size: 18px; line-height: 20px; }
	.wide-background.quote p { font-size: 16px; line-height: 20px; }
	
	.row-fluid.perfect-third .span4 { width: 100%; }
	body .serviceBox.style6::before { padding-bottom: 40%; }
	body .serviceBox.style6 .imageContainer { background-size: 100% auto; }
	body .serviceBox.style6:hover .imageContainer { background-size: 120% auto; }
	body .serviceBox.style6 h3,
	body .page-prodotti .serviceBox.style6 h3 { font-size: 26px; line-height: 28px; margin-top: -35px; }
	
	.quote.quote-settori h1 { font-size: 22px; line-height: 26px; }
	.quote.quote-settori p { font-size: 14px; line-height: 18px; }
	
	.row-fluid.section-settori .span2,
	.row-fluid.section-settori .span2:nth-child(4) { float: left; width: 48.61878453038674%; margin-left: 2.7624309392265194%; margin-bottom: 25px; }
	.row-fluid.section-settori .span2:nth-child(2n+1) { margin-left: 0; }
	body .serviceBox.style2 h4 { font-size: 16px; line-height: 20px; }
	
	.quote.quote-servizi p { font-size: 16px; line-height: 20px; }
	
	.section-azienda .span4 { display: none !important; }
	.row-fluid.center-content-left .span8,
	.row-fluid.center-content-right .span6:last-child { position: relative; top: auto; left: auto; bottom: auto; }
	
	p#pN1, p#pN3, p#pN7 { display: block; }
	
	.blue-box-servizi { margin-top: 25px; }
	
	prefooter { padding: 15px 0; display: block; text-align: center; }
	prefooter .span4:nth-child(1),
	prefooter .span4:nth-child(2) { display: none !important; }
	prefooter .span4:nth-child(3) img { width: 50%; margin: 0 auto 10px !important; display: block; }
	prefooter .readmore { display: table; margin: 10px auto 0; }
	
	body .serviceBox.style7 .textContainer h3 { font-size: 16px; line-height: 20px; }
	body .serviceBox.style7 .textContainer p { font-size: 10px; line-height: 14px; }
	
	.blog-container article.single-post img { margin-bottom: 10px; }
	
	body .screenshotBox img[width="140"] { width: 70px; }
	
	

	body prefooter #std_box-7 {
		display: block;    
		margin-bottom: 35px !important;
    	max-width: 300px;
    	margin: 0 auto;
	}
	
	body prefooter #std_box-7 p {
		text-align: center;
	}
	
	
	body .references h2 { margin-bottom: 10px; }
	body .references .images { gap: 10px; grid-template-columns: repeat(5, 1fr); }
	body .references img { border-width: 3px; }
}

@media only screen and (max-width: 480px ) {
	.tparrows { display: none !important; }
	
	.wide-background.quote p { font-size: 13px; line-height: 18px; }
	
	body .serviceBox.style6 h3 { font-size: 24px; line-height: 28px; margin-top: -28px; }
	body .serviceBox.style6 h4 { margin-top: 5px; }
	
	.quote h1 { font-size: 24px; line-height: 26px; }
	.quote h2 { font-size: 18px; line-height: 20px; }
	.wide-background.quote p,
	.quote p,
	.quote.quote-settori p,
	.quote.quote-servizi p { font-size: 10px; line-height: 14px; }
	
	.parallax.section-azienda h1 { color: #fff; }
	
	.row-fluid.section-settori .span2 { float: none !important; width: 100% !important; margin: 0 !important; }
	.serviceBox.style2 { margin-bottom: 25px; }
	
	.quote.quote-servizi h1 { font-size: 26px; line-height: 28px; }
	.quote.quote-servizi h2 { font-size: 20px; line-height: 22px; }
	
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style9 .textContainer h3 { margin-bottom: 0; }
	body .serviceBox.style7 .textContainer p,
	body .serviceBox.style9 .textContainer p { display: none; }
	
	body .screenshotBox img[width="140"] { display: none; }
	
	body .references .images { grid-template-columns: repeat(4, 1fr); }
}