@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; }
	
	.ul-sitemap li a { font-size: 14px; line-height: 20px; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.quote h1 { font-size: 30px; line-height: 32px; }
	
	body .contentCarousel .contentCarousel-single h3,
	body .serviceBox.style2 h3 { font-size: 20px; line-height: 22px; }
	
	body .contentCarousel .contentCarousel-single .textContainer p,
	body .serviceBox.style2 .textContainer p { padding: 0 30px; }
	
	.parallax.section-benvenuto h1 { font-size: 54px; line-height: 56px; margin-top: 0; }
	
	.page-title .container:after { width: 270px; }
	.page-title h1 { padding-right: 290px; }

	.sidebar h3.sidebar-widgettitle { font-size: 18px; line-height: 22px; }
	
	.page-id-13 .serviceBox.style2 .textContainer p { padding: 0 20px; }
}

@media only screen and (max-width: 1200px ) {
	.quote h1 { font-size: 22px; line-height: 26px; }
	.quote p br { display: none; }
	.quote p { font-size: 14px; line-height: 20px; }

	body .contentCarousel .owl-theme .owl-controls .owl-buttons div { top: 150px; }
	
	body .contentCarousel .contentCarousel-single h3,
	body .serviceBox.style2 h3 { font-size: 16px; line-height: 20px; }
	
	body .contentCarousel .contentCarousel-single .textContainer p,
	body .serviceBox.style2 .textContainer p { padding: 0; }
	
	.row-fluid.center-content-left .span4 { margin-left: 34.04255319148936%; }
	.row-fluid.center-content-left .span4:last-child { margin-left: 2.127659574468085%; }
	p#pN3 { display: none; }
	
	body .contentCarousel .contentCarousel-single .imageContainer:before,
	body .serviceBox.style2 .imageContainer:before { margin-left: -65px; width: 130px; height: 74px; }

	.parallax.section-benvenuto h1 { font-size: 44px; line-height: 46px; }

	p#pN5, p#pN6 { display: none; }
	
	.page-title .container:after { width: 220px; }
	.page-title h1 { padding-right: 230px; }
	.sidebar h3.sidebar-widgettitle { font-size: 14px; line-height: 18px; }
	
	.blog-container article.single-post h3 { font-size: 16px; line-height: 20px; }

}

@media only screen and (max-width: 979px ) {
	header nav.menu.main-menu { margin-top: 25px; height: 36px; }
	header nav.menu.main-menu li { margin-left: 5px; }
	header nav.menu.main-menu li ul.children { top: 38px; }
	header nav.menu.main-menu li ul.children li a { width: 160px; }

	.wide-background.quote .quote-container { padding: 25px 210px 25px 0; }
	.quote h1 { font-size: 18px; line-height: 22px; }
	.quote h2 { font-size: 22px; line-height: 24px; }
	.quote p { font-size: 11px; line-height: 16px; }

	p#pN2 { display: none; }
	body .serviceBox.style2 .textContainer { padding: 15px 8px; }
	
	.parallax.section-benvenuto h1 { font-size: 38px; line-height: 40px; }

	.page-title .container:after { width: 166px; top: -45px; bottom: -45px; right: 20px; }
	.page-title h1 { padding-right: 180px; }
	.sidebar h3.sidebar-widgettitle { padding: 8px 8px 0 8px; margin-bottom: 8px; }
	.sidebar li.widget div, .sidebar li.widget form { padding: 8px; }
	
	.blog-container article.single-post h3 { font-size: 14px; line-height: 18px; }

	.page-id-13 .serviceBox.style2 .textContainer p { padding: 0; }
}

@media only screen and (max-width: 767px ) {
	header { padding: 10px 0; background-size: auto 100%; }
	header .rightContainer { display: table; margin: 25px auto; }
	header nav.menu.main-menu { margin-top: 0; height: auto; }
	header nav.menu.main-menu li { margin-left: 0; }
	header nav.menu.main-menu li a { padding: 8px 10px; }
	header nav.menu.main-menu li ul.children li a { width: auto; }

	.slider-container .dw-mask,
	.parallax.section-cosa-facciamo:before,
	.parallax.section-benvenuto:before { margin-left: -350px; width: 700px; height: 30px; }

	.wide-background.quote .quote-container { padding: 25px 0; text-align: center; }
	.wide-background.quote .quote-container:after { display: none; }
	.wide-background.quote h1, .wide-background.quote h2, .wide-background.quote p { text-align: center; }
	.quote h1 { font-size: 22px; line-height: 26px; }
	.quote h2 { font-size: 20px; line-height: 24px; }
	.quote p { font-size: 14px; line-height: 20px; }
	
	body .contentCarousel .contentCarousel-single .textContainer p, 
	body .serviceBox.style2 .textContainer p { padding: 0 30px; }
	
	.row-fluid.center-content-left .span4 { margin: 0; }
	.parallax.section-cosa-facciamo .middleContainer,
	body .serviceBox.style2 { position: relative; margin-bottom: 35px; }
	
	.row-fluid.center-content-left .span4:last-child { margin-left: 0; }
	
	p#pN2, p#pN3, p#pN5, p#pN6 { display: block; }
	
	.section-contatti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }

	.page-title .container:after { display: none; }
	.page-title h1 { padding-right: 0; }
}

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

	.slider-container .dw-mask,
	.parallax.section-cosa-facciamo:before,
	.parallax.section-benvenuto:before { margin-left: -200px; width: 400px; height: 30px; }
	
	body .contentCarousel .contentCarousel-single .textContainer p, 
	body .serviceBox.style2 .textContainer p { padding: 0 0px; }
	
	.quote h2 { font-size: 24px; line-height: 26px; }
	.quote p { font-size: 12px; line-height: 16px; }
	
	.parallax.section-cosa-facciamo .quote h1 { font-size: 24px; line-height: 26px; }
	.quote h2 { font-size: 20px; line-height: 24px; }
	.quote p { font-size: 11px; line-height: 15px; }
	
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; margin: 0 auto; position: relative; }
	body .serviceBox.style7 .imageContainer img { max-width: 40%; margin: 0 auto 10px; display: block; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }

	.blog-container article.single-post.post-style3 { width: 100%; margin: 0 0 20px; float: none; }
	.blog-container article.single-post h3 { font-size: 18px; line-height: 20px; }

}