@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 ) {
	header .logo { margin-left: 47px; }

	p#pN2, p#pN4, p#pN7 { display: none; }

	.parallax.section-servizi:before,
	.wide-background.section-contatti:before { width: 1170px; margin-left: -585px; }

	body.page-id-10 .serviceBox.style6 .textContainer { padding: 15px; max-width: 55%; }

}

@media only screen and (max-width: 1200px ) {
	header .logo { margin-left: 22px; }

	.tp-caption { margin-top: 30px !important; position: relative; }

	.quote h1 { font-size: 30px; line-height: 34px; }
	.quote p br { display: none; }

	body .serviceBox.style6 .textContainer { padding: 15px; max-width: 51%; }
	body .serviceBox.style6 p { font-size: 13px; line-height: 18px; }

	p#pN6, p#pN8, p#pN10 { display: none; }

	.sidebar li.widget { padding: 8px; }

	.parallax.section-servizi:before,
	.wide-background.section-contatti:before { width: 940px; height: 30px; margin-left: -470px; }

	body.page-id-10 .serviceBox.style6 .textContainer p { display: none; }

	.blog-container article.single-post h3 { margin-top: 0; }
}

@media only screen and (max-width: 979px ) {
	.readmore { padding: 5px; }

	header .logo { padding: 2px; margin-left: 8px; }
	header img#logo { max-width: 145px; }
	header nav.menu.main-menu { height: 32px; }
	header nav.menu.main-menu li ul.children { top: 30px; }

	.tparrows { display: none !important; }
	.tp-caption { margin-top: 70px !important; }

	.quote h1 { font-size: 26px; line-height: 28px; }
	.quote h2 { font-size: 20px; line-height: 22px; }
	.quote p { font-size: 14px; line-height: 20px; }

	p#pN1, p#pN3 { display: none; }

	body .serviceBox.style6 .textContainer {
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		border-radius: 7px;
		max-width: none;
	}
	body .serviceBox.style6 h3 { font-size: 24px; line-height: 28PX; }
	body .serviceBox.style6 h4 { margin-bottom: 0; font-size: 14px; line-height: 16px; }

	.parallax.section-azienda h1 { font-size: 32px; line-height: 34px; }

	body .serviceBox.style7 .textContainer { padding-top: 5px; }

	.parallax.section-servizi:before,
	.wide-background.section-contatti:before { width: 724px; height: 30px; margin-left: -362px; }

	.sidebar h3.sidebar-widgettitle { margin: 0 0 5px 0; font-size: 14px; line-height: 18px; }
}

@media only screen and (max-width: 767px ) {
	header.fixed { padding: 10px 0 !important; position: relative !important; }

	header .logo { margin: 0 auto 15px; }
	header .rightContainer { display: none !important; }
	header nav.menu.main-menu { height: auto; }
	header nav.menu.main-menu li a { padding: 8px 10px; }

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

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

	body .serviceBox.style6 { margin-bottom: 15px; }
	body .serviceBox.style6 h4 { margin-bottom: 5px; }

	body .serviceBox.style6 .textContainer { max-width: 50%; }
	p#pN1, p#pN3, p#pN6, p#pN7, p#pN8, p#pN10 { display: block; }

	.row-fluid.center-content-left .span6:first-child { position: relative; top: auto; left: auto; bottom: auto; }
	.row-fluid.center-content-left .span6:last-child { position: relative; margin-left: 0; }

	body .serviceBox.style7 { margin-bottom: 15px; }
	body .serviceBox.style7 .textContainer { padding-top: 20px; }

	.parallax.section-servizi:before,
	.wide-background.section-contatti:before { width: 550px; height: 25px; margin-left: -275px; }

	.blog-container article.single-post h3 { margin-top: 10px; }
}

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

	.quote h1 { font-size: 24px; line-height: 28px; }
	.quote h2 { font-size: 18px; line-height: 22px; }
	.quote p { font-size: 10px; line-height: 16px; }

	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; margin: 0 auto; display: block; float: none; }
	body .serviceBox.style7 .imageContainer img { max-width: 60%; margin: 0 auto; display: block; }
	body .serviceBox.style7 .textContainer { padding-top: 10px; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
}
