@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 { text-align: center; font-size: 24px; line-height: 26px; }
	
	.single-archive-post img { margin-bottom: 10px; }
	
	.sidebar,
	prefooter { display: none; }
	
	iframe#gmap { height: 270px; }
}

/* 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,
	.half-width { width: 100%; margin: 0 auto 10px; float: none; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.parallax:before,
	.parallax:after,
	.slider-container .dw-mask,
	.wide-background.quote:after { margin-left: -700px; width: 1400px; }
	
	.quote p { font-size: 16px; line-height: 20px; }
	
	body .serviceBox.style1 h3 { font-size: 16px; line-height: 18px; margin-bottom: 5px; }
	
	p#pN4 { display: none; }
	
	body .serviceBox.style7 .textContainer { padding-top: 5px; }
}

@media only screen and (max-width: 1200px ) {
	.parallax:before,
	.parallax:after,
	.slider-container .dw-mask,
	.wide-background.quote:after { margin-left: -600px; width: 1200px; }
	
	header nav.menu.main-menu {  margin-top: 30px; }
	
	.quote h1 { font-size: 32px; line-height: 34px; }
	.quote p { font-size: 13px; line-height: 20px; }
	
	.section-azienda h1 { margin-top: 0; }
	
	p#pN6, p#pN8 { display: none; }
}

@media only screen and (max-width: 979px ) {
	.parallax:before,
	.parallax:after,
	.slider-container .dw-mask,
	.wide-background.quote:after { margin-left: -500px; width: 1000px; }
	
	header .rightContainer { margin-top: 10px; }
	header nav.menu.main-menu { height: 36px; }
	header nav.menu.main-menu li ul.children { top: 36px; }
	
	.quote p { font-size: 14px; line-height: 20px; }
	.quote p br { display: none; }
	
	.section-azienda .quote h1 { font-size: 24px; line-height: 28px; }
	.section-azienda .quote h2 { font-size: 20px; line-height: 24px; }
	.section-azienda .quote p { font-size: 13px; line-height: 20px; }
	
	p#pN3 { display: none; }
	
	.sidebar li.widget { padding: 8px; }
	.sidebar h3.sidebar-widgettitle { margin: 0 0 10px 0; font-size: 18px; line-height: 20px; }
	
	body .screenshotBox { padding: 15px 25px; }
	
	.section-servizi-page .serviceBox.style1 p { display: none; }
	body .section-servizi-page .serviceBox.style1 h3 { font-size: 15px; line-height: 18px; margin-bottom: 0; }
	
	.page-title:after { width: 600px; background-size: auto 100%; }
}

@media only screen and (max-width: 767px ) {
	.parallax:before,
	.parallax:after,
	.slider-container .dw-mask,
	.wide-background.quote:after { margin-left: -400px; width: 800px; }
	
	header { padding: 10px 0; }
	header img#logo { max-width: 250px; }
	header .rightContainer { display: none; }
	header nav.menu.main-menu { height: auto; margin-top: 15px; }
	.dl-menuwrapper li a { padding: 8px 10px; }
	
	.tparrows { display: none !important; }
	
	.quote h1 { font-size: 28px; line-height: 30px; }
	
	body .serviceBox.style1 { margin-bottom: 25px; }
	body .serviceBox.style1 h3,
	body .section-servizi-page .serviceBox.style1 h3 { font-size: 24px; line-height: 28px; margin-bottom: 8px; }
	
	.row-fluid.center-content-left .span3,
	.row-fluid.center-content-left .span9,
	.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; }
	
	.phoneContainer { margin: 0 auto; display: block; }
	.phoneContainer .content { display: block; }
	.phoneContainer img { margin: 0 auto; display: block; max-width: 300px; width: 60%; }
	
	.section-azienda .quote h1 { font-size: 20px; line-height: 22px; }
	.section-azienda .quote h2 { font-size: 16px; line-height: 18px; }
	.section-azienda .quote p { font-size: 12px; line-height: 18px; }
	
	p#pN3, p#pN4, p#pN6, p#pN8 { display: block; }
	
	.section-contatti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }
	
	.page-title:after { display: none; }
	
	.section-servizi-page .serviceBox.style1 p { display: block; }
	
	body .serviceBox.style1 .textContainer { padding-top: 10px; }
}

@media only screen and (max-width: 480px ) {
	.parallax:before, 
	.parallax:after, 
	.slider-container .dw-mask, 
	.wide-background.quote:after { margin-left: -250px; width: 500px; }
	
	.section-prontointervento h2 { font-size: 22px; line-height: 28px; }
	
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; float: none; }
	body .serviceBox.style7 .imageContainer img { width: 60%; max-width: 250px; margin: 0 auto; display: block; }
	body .serviceBox.style7 .textContainer { padding-top: 10px; margin: 0; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
}