@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 ) {
	.page-title:after { right: -400px; }

	body .serviceBox.style6:before { padding-bottom: 80%; }
}

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

	.topHeader .inline-element:nth-child(2) { margin-right: 0; padding-right: 0; }
	.topHeader .inline-element:nth-child(2):before { display: none; }
	.topHeader .inline-element:last-child { display: none; }

	header nav.menu.main-menu li a { padding: 10px 8px; }

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

	.padding15-50 { padding: 10px 20px !important; }
	body.home .serviceBox.style6:before { padding-bottom: 110%; }
	body .serviceBox.style6 .textContainer { padding: 15px 20px; }

	.section-settori.wide-background .row-fluid { margin-top: 25px !important; margin-bottom: 25px !important; }
	.section-settori.wide-background .row-fluid.quote { margin-top: 0 !important; margin-bottom: 0 !important; }
	body .serviceBox.style2 h3 { padding: 0 25px; font-size: 24px; line-height: 26px; }

	.section-azienda h1 { margin-top: 0; }
	.section-azienda h3 { display: none; }
	#pN3 { display: none; }

	prefooter .span4:first-child { font-size: 13px; line-height: 18px; }

	body .serviceBox.style6:before { padding-bottom: 90%; }
	body .serviceBox.style6.long-box:before { padding-bottom: 35%; }

}

@media only screen and (max-width: 979px ) {
	h4 { font-size: 15px; line-height: 18px; }

	.tp-caption { margin-top: 25px !important; }

	header nav.menu.main-menu { margin-top: 20px; }
	header nav.menu.main-menu li#menu-item-30 { display: none; }
	header nav.menu.main-menu li#menu-item-31 { margin-left: 0; }
	header nav.menu.main-menu li ul.children { top: 36px; }

	.tparrows { display: none !important; }
	.tp-caption.rev-btn { padding: 8px 20px !important; }

	.padding15-50 { padding: 15px !important; }
	body .section-servizi h3 { font-size: 16px; line-height: 18px; }
	body .serviceBox.style2 h3 { padding: 0 15px; font-size: 18px; line-height: 20px; }
	body.home .serviceBox.style6:before { padding-bottom: 120%; }

	.quote-container { padding: 0; }
	.quote h1 { font-size: 26px; line-height: 28px; }
	.quote h2 { font-size: 20px; line-height: 22px; }
	.quote p { font-size: 16px; line-height: 20px; }

	.parallax.section-azienda { padding-top: 80px; padding-bottom: 80px; }
	.section-azienda h1 { font-size: 28px; line-height: 30px; }

	prefooter h3,
	prefooter h4 { margin: 5px 0;}
	prefooter h3 { margin-top: 0; }

	i.fa.circle30 { width: 24px; height: 24px; font-size: 12px; line-height: 24px; }
	prefooter .span4:first-child { font-size: 10px; line-height: 16px; }
	prefooter .readmore { margin-top: 10px; }

	body .serviceBox.style6:before { padding-bottom: 100%; }

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

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

	.topHeader .span8 { display: none; }
	.topHeader .span4 .socialBar { float: none; margin: 0 auto; }

	.home header,
	header { position: relative; padding: 10px; top: 0; }
	header nav.menu.main-menu { margin-top: 10px; }

	.page-title:after { display: none; }

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

	.section-servizi.row-fluid.center-content .span3 {
		margin: 0;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		width: 100%;
		float: none;
	}
	body.home .serviceBox.style6 { margin-bottom: 0 !important; }
	body.home .serviceBox.style6:before { padding-bottom: 30%; }

	body .serviceBox.style2 h3 { padding: 0; }
	.quote h2 { font-size: 28px; line-height: 30px; }
	.quote p br { display: none; }

	.row-fluid.center-content-left .span6:first-child,
	.row-fluid.center-content-left .span6:last-child { position: relative; top: auto; left: auto; right: auto; bottom: auto; margin: 0; }
	#pN3 { display: block; }

	.section-azienda .cycloneslider { margin-top: 25px; }

	prefooter { display: block; }
	prefooter * { text-align: center; }
	prefooter p { text-align: center; }
	prefooter .row-fluid .span4 { width: 100%; margin: 0 0 15px !important; float: none; border-bottom: 1px solid #fff; padding-bottom: 15px; }
	prefooter .row-fluid .span4:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
	prefooter img { max-width: 250px; }
	prefooter .span4:first-child { font-size: 12px; line-height: 16px; }
	prefooter .readmore { margin: 0 auto; }

	body .serviceBox.style6 { margin-bottom: 25px !important; }
	body .serviceBox.style6:before { padding-bottom: 30%; }

}

@media only screen and (max-width: 480px ) {
	body.home .serviceBox.style6:before { padding-bottom: 50%; }
	.quote h2 { font-size: 20px; line-height: 24px; }
	.quote p { font-size: 12px; line-height: 16px; }

	body .serviceBox.style6:before { padding-bottom: 50%; }
	body .serviceBox.style6.long-box:before { padding-bottom: 60%; }
}
