@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: 11px; right: 11px; }
}

/* 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 { 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: 1380px ) {
	header.headerv7.menu nav.menu li a { padding: 8px 55px; }
	header.headerv7.menu nav.menu li ul.children { left: 45px; }
	
	.quote p { font-size: 16px; line-height: 22px; }
	
	#pN2, #pN4, #pN7, #pN8 { display: none; }
}

@media only screen and (max-width: 1200px ) {
	header img#logo { max-width: 400px; }
	header.headerv7.menu nav.menu li a { padding: 8px 35px; }
	header.headerv7.menu nav.menu li ul.children { left: 25px; }
	
	.wide-background.quote .quote-container:after { top: -15px; width: 197px; height: 200px; }
	.quote h2 { font-size: 22px; line-height: 26px; }
	.wide-background.quote p { font-size: 13px; line-height: 18px; }
	.quote p br { display: none; }
	
	body .serviceBox.style8 .textContainer h3 { font-size: 26px; line-height: 28px; }
	body .serviceBox.style8 .textContainer p { font-size: 13px; line-height: 18px; }
	
	.parallax.section-azienda h3 { margin-top: 0; }
	
	body .serviceBox.style6 h3 { font-size: 16px; line-height: 16px; padding: 8px; bottom: 8px; left: 8px; }
}

@media only screen and (max-width: 979px ) {
	header img#logo { margin-top: 5px; }
	header.headerv7.menu { padding: 10px 0 0; margin-bottom: -56px; }
	header.headerv7.menu nav.menu { height: 32px; }
	header.headerv7.menu nav.menu li a { padding: 8px 25px; }
	header.headerv7.menu nav.menu li ul.children { left: 15px; top: 30px; width: 180px; }
	header.headerv7.menu nav.menu li ul.children li a { width: 160px; }
	
	.page-title { padding: 80px 0 10px; }
	
	.wide-background.quote .quote-container { padding: 25px 0; }
	.wide-background.quote .quote-container:after { display: none; }
	.wide-background.quote h1, .wide-background.quote h2, .wide-background.quote p { text-align: center; }
	
	.section-servizi { padding-top: 25px; padding-bottom: 25px; }
	
	body .serviceBox.style8 .imageContainer img {
    	border: 7px solid #f0f0f0;
		-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
		-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
		box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
		-moz-border-radius: 150px 50px 150px 150px;
		-webkit-border-radius: 150px 50px 150px 150px;
		border-radius: 150px 50px 150px 150px;
	}
	body .serviceBox.style8 .textContainer h3 { margin-bottom: 5px; font-size: 20px; line-height: 22px; }
	body .serviceBox.style8 .textContainer p { margin-bottom: 0; }
	body .serviceBox.style8 .textContainer .readmore { display: none; }
	
	.parallax { padding-top: 85px; padding-bottom: 85px; }
	.parallax:before,
	.parallax:after { height: 50px; background-size: auto 100%; }
	
	#pN6 { display: none; }
	#pN8 { display: block; }
	
	.parallax .cycloneslider,
	body .serviceBox.style6 {
    	border: 7px solid #f0f0f0;
		-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
		-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
		box-shadow: 2px 2px 5px 0px rgba(0,0,0,.4);
	}
	body .serviceBox.style6 h3 { font-size: 18px; line-height: 18px; padding: 5px; bottom: 5px; left: 5px; right: 50px; }
	
	.sidebar li.widget { margin-bottom: 25px; -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; }
	.sidebar h3.sidebar-widgettitle { font-size: 16px; line-height: 18px; padding: 8px; -webkit-border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
	.sidebar li.widget div, .sidebar li.widget form { padding: 8px; }
	.sidebar li.widget div.clearfix { padding: 0; }
	.sidebar .readmore { border: 1px solid #D3282A; padding: 5px; }
}

@media only screen and (max-width: 767px ) {
	header .span3 { display: none !important; }
	header img#logo { margin-top: 0; }
	header.headerv7.menu { padding: 0; margin-bottom: 20px; }
	header.headerv7.menu nav.menu { height: auto; }
	header.headerv7.menu nav.menu li a { padding: 5px 8px; }
	header.headerv7.menu nav.menu li ul.children,
	header.headerv7.menu nav.menu li ul.children li a { width: auto; }
	
	.page-title { padding: 15px 0; }
	
	.section-servizi-1,
	.section-servizi-2 { padding-top: 0; padding-bottom: 0; }
	.section-servizi-1 { padding-top: 30px; }
	body .serviceBox.style8 { margin-bottom: 30px; }
	body .serviceBox.style8 .textContainer p { margin-bottom: 8px; }
	body .serviceBox.style8 .textContainer .readmore { display: table; }
	
	#pN2, #pN4, #pN7, #pN6 { display: block; }
	
	.quote h2 { font-size: 20px; line-height: 24px; }
	.wide-background.quote p { font-size: 16px; line-height: 22px; }
	
	.section-servizi .span6:first-child .serviceBox.style8 { margin-bottom: 25px; }
		
	.row-fluid.center-content-left .span6:first-child,
	.row-fluid.center-content-left .span6:last-child { position: relative; top: auto; left: auto; bottom: auto; margin: 0; }
	
	body .serviceBox.style6 { margin-bottom: 25px; }
	body .serviceBox.style6 h3 { font-size: 22px; line-height: 22px; padding: 10px; bottom: 8px; left: 8px; right: auto; }

}

@media only screen and (max-width: 480px ) {
	.tparrows { display: none !important; }

	.wide-background.quote p  { font-size: 13px; line-height: 18px; }
	
	body .serviceBox.style8 .imageContainer { display: block; margin: 0 auto; }
	body .serviceBox.style8 .textContainer { width: 100%; margin: 0; position: relative; top: auto; right: auto; bottom: auto; }	
	body .serviceBox.style8 .textContainer h3 { margin: 10px 0 5px; font-size: 26px; line-height: 28px; }
	body .serviceBox.style8 .textContainer h3, 
	body .serviceBox.style8 .textContainer p { text-align: center; }
	body .serviceBox.style8 .textContainer p { margin: 0; }
	body .serviceBox.style8 .textContainer .readmore { margin: 10px auto 0; }
	
	.quote p { font-size: 12px; line-height: 17px; }
	
	body .serviceBox.style6 h3 { font-size: 18px; line-height: 18px; padding: 8px; bottom: 5px; left: 5px; }
}