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

/* 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: 260px; }

	.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 { 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 ) {
}

@media only screen and (max-width: 1200px ) {
	header img#logo { height: 80px; }
	header .socialBar { margin-top: 19px; }
	header nav.menu.main-menu { height: 90px; }
	header nav.menu.main-menu li#menu-item-37 { display: none !important; }
	header nav.menu.main-menu li { margin-left: 5px; }
	header nav.menu.main-menu li a { line-height: 80px; }
	header nav.menu.main-menu li:last-child a { margin-top: 19px; }
	header nav.menu.main-menu li ul.children { top: 90px; }

	p#pN2 { display: none; }

	body .contentCarousel .contentCarousel-single .textContainer { padding: 35px 15px 25px; }
	body .contentCarousel .contentCarousel-single .textContainer p { font-size: 12px; line-height: 18px; }

	body .serviceBox.style1 h3 { font-size: 18px; line-height: 20px; }

	.newQuote p br { display: none; }

	prefooter h3.prefooter-widgettitle { margin: 0 0 20px; font-size: 14px; line-height: 18px; }
	prefooter .span4:last-child p { font-size: 11px; line-height: 18px; }

	.section-page-contatti h3 { font-size: 20px; line-height: 22px; }

}

@media only screen and (max-width: 979px ) {
	header img#logo { height: 60px; }

	header .socialBar { margin-top: 14px; margin-left: 15px; }
	header .socialBar .social-icon { width: 31px; height: 31px; }
	header nav.menu.main-menu { height: 70px; }
	header nav.menu.main-menu li a { padding: 0 10px 0 0; line-height: 60px; }
	header nav.menu.main-menu li a { font-size: 12px; }
	header nav.menu.main-menu li:last-child a { padding: 5px 10px; margin-top: 14px; }
	header nav.menu.main-menu li ul.children { top: 70px; }
	header nav.menu.main-menu li ul.children li a { padding: 5px 15px; }

	.tparrows { display: none !important; }

	.section-benvenuto h3 { margin-top: 0; }
	body .responsive-tabs .responsive-tabs__heading { font-size: 14px; line-height: 26px; }
	body .responsive-tabs .responsive-tabs__panel { padding: 0 20px 0 0; }

	body .newQuote p { font-size: 16px; line-height: 22px; }

	.page-id-10 prefooter,
	.page-id-12 prefooter { display: none !important; }
	/*
	prefooter .row-fluid .span4 { float: left; width: 48.61878453038674%; }
	prefooter .row-fluid .span4:nth-child(1),
	prefooter .row-fluid .span4:nth-child(2) {
		margin-bottom: 40px;
	}
	prefooter .row-fluid .span4:nth-child(2),
	prefooter .row-fluid .span4:nth-child(4) { margin-left: 2.7624309392265194% !important; }
	prefooter .row-fluid .span4:nth-child(3) { margin-left: 0; }
	*/
	prefooter .row-fluid .span4:nth-child(1),
	prefooter .row-fluid .span4:nth-child(2) {
		margin-bottom: 40px;
	}
	prefooter h3.prefooter-widgettitle { font-size: 16px; line-height: 20px; }

	.page-title.bg-title { padding-top: 200px; padding-bottom: 20px; }

	.sidebar h3.sidebar-widgettitle { font-size: 16px; line-height: 20px; }

	.section-page-contatti h3 { font-size: 16px; line-height: 18px; }
	.section-page-contatti { font-size: 10px; line-height: 16px; }


}

@media only screen and (max-width: 767px ) {
	header { padding: 10px 0; }
	header img#logo { height: auto; width: 280px; }
	header .socialBar { float: none; margin: 0; display: table; position: absolute; top: 0; right: 0; }
	header nav.menu.main-menu { height: 70px; }
	header nav.menu.main-menu { height: auto; margin-top: 10px; float: none; }
	header nav.menu.main-menu li { margin: 0; }
	header nav.menu.main-menu li a,
	header nav.menu.main-menu li:last-child a { margin: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; padding: 8px 15px; line-height: normal; }

	p#pN2 { display: block; }

	.responsive-tabs-wrapper { margin-top: 25px; }

	.section-servizi.row-fluid .span3 { width: 48.93617021276595%; margin-left: 2.127659574468085%; float: left; }
	.section-servizi.row-fluid .span3:nth-child(2n+1) { clear: both; margin-left: 0; }

	.quote h1 { font-size: 34px; line-height: 38px; }

	prefooter { display: block; }

	body .newQuote p { font-size: 14px; line-height: 20px; }

	.page-title.bg-title { padding-top: 50px; padding-bottom: 15px; }

	/*
	.row-fluid.section-page-contatti .span4 {
		width: 31.491712707182323%;
		margin-left: 2.127659574468085%;
		float: left;
	}
	.row-fluid.section-page-contatti .span4:first-child { margin-left: 0; }
	*/
	
	.row-fluid.section-page-contatti .span4 {
		margin-bottom: 40px;
	}
	.row-fluid.section-page-contatti .span4:last-child { margin-bottom: 0; }

	.section-page-contatti { font-size: 12px; line-height: 16px; }
	
	prefooter h3.prefooter-widgettitle,
	prefooter .sidebar-std-box { text-align: center; }
}

@media only screen and (max-width: 480px ) {
	header .socialBar .social-icon { width: 24px; height: 24px; }

	.tp-caption { display: none !important; }

	.quote .quote-container { padding: 35px 0 0; }
	.quote h1 { font-size: 18px; line-height: 22px; }

	.section-servizi.row-fluid .span3 { width: 100%; margin-left: 0%; float: none; }
	body .serviceBox.style1 h3 { margin-top: 0; }

	body .newQuote h1 { font-size: 24px; line-height: 26px; }
	body .newQuote h2 { font-size: 14px; line-height: 18px; }
	body .newQuote p { font-size: 11px; line-height: 16px; }
	body .newQuote a.btn-newQuote { font-size: 14px; padding: 10px 20px; }

	/*
	prefooter .row-fluid .span4:nth-child(1),
	prefooter .row-fluid .span4:nth-child(2),
	prefooter .row-fluid .span4:nth-child(3),
	prefooter .row-fluid .span4:nth-child(4) {  width: 100%; float: none; padding-bottom: 15px; margin: 0 0 15px 0 !important; border-bottom: 1px solid #ccc; }
	prefooter .row-fluid .span4:last-child { border: 0; margin: 0 !important; padding: 0; }
	*/

	/*
	.row-fluid.section-page-contatti .span4 { width: 100%; margin: 0 0 15px; float: none; }
	*/

	body { padding-bottom: 60px; }
}
