@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; }
	
	iframe#gmap { height: 385px; }
}

/* Ipad orizzontale */
@media only screen and (max-width: 1200px ) {
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1000px; }
	.parallax,
	.wide-background.newQuote { background-position: center !important; background-attachment: scroll !important; }
	h3 { font-size: 22px; line-height: 26px; }
	
	iframe#gmap { height: 310px; }
}

/* 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: 22px; line-height: 24px; }

	footer p { text-align: center !important; }	
	footer table { margin: 0 auto !important; float: none !important; }
	footer img#footer { display: none !important; }
	
	iframe#gmap { height: 235px; }
	
	.sidebar #searchform input[type="text"] { height: 36px; padding: 0 3px; font-size: 12px; }
	.sidebar #searchform button.searchsubmit { top: 3px; right: 3px; }
	
	img.alignleft, 
	img.alignright, 
	.half-width { width: 100%; margin: 0 auto 10px; float: none; }
}

/* 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: 20px; line-height: 22px; }
	
	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; }
	
	img.alignleft,
	img.alignright { width: 100%; margin: 0 auto 10px; float: none; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.parallax.section-benvenuto h1 { margin-top: 0; }
	
	.serviceBox.style8 .textContainer h3 { font-size: 22px; line-height: 24px; }
	
	prefooter { font-size: 14px; line-height: 20px; }
	prefooter p strong { font-size: 16px; }
	.recentPost .recentPost-single.style-blog .textContainer h3 { font-size: 18px; line-height: 20px; }
}

@media only screen and (max-width: 1200px ) {
	body, li { font-size: 14px; line-height: 21px; }
	p strong { font-size: 16px; }
	header nav.menu.main-menu li a { padding: 10px 7px 30px; }
	
	/* prodotti */
	header nav.menu.main-menu li#menu-item-39 ul.children { right: -440px;  width: 680px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a { width: 150px; margin-top: 105px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li { width: 150px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a:before { top: -100px; width: 150px; height: 100px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a:after { top: -100px; width: 150px; height: 100px; }
	
	/* servizi */
	header nav.menu.main-menu li#menu-item-48 ul.children { right: -375px; width: 680px; }
	header nav.menu.main-menu li#menu-item-48 ul.children li { width: 320px; height: 70px; }
	header nav.menu.main-menu li#menu-item-48 ul.children li a { width: 210px; margin-left: 110px; font-size: 13px; }
	
	/* showroom */
	header nav.menu.main-menu li#menu-item-432 ul.children { right: -80px; width: 340px; }
	header nav.menu.main-menu li#menu-item-432 ul.children li { width: 320px; height: 100px; }
	header nav.menu.main-menu li#menu-item-432 ul.children li a { width: 165px; margin-left: 155px; height: 100px; font-size: 14px; }
	header nav.menu.main-menu li#menu-item-432 ul.children li a:before { left: -155px; width: 150px; height: 100px; }
	header nav.menu.main-menu li#menu-item-432 ul.children li a:after { left: -155px; width: 150px; height: 100px; }
	
	#pN3, #pN4, #pN6 { display: none; }
	
	.parallax.section-benvenuto h1 { font-size: 38px; line-height: 36px; }
	
	body .serviceBox.style8 .textContainer h3 { font-size: 18px; line-height: 20px; margin: 10px 0 5px; }
	body .serviceBox.style8 .textContainer p { font-size: 14px; line-height: 21px; }
	body .serviceBox.style8 .textContainer p strong { font-size: 16px; }
	
	body .recentPost .recentPost-single.style-blog .imageContainer { width: 30%; }
	body .recentPost .recentPost-single.style-blog .textContainer { width: 67%; }
	body .recentPost .recentPost-single.style-blog .textContainer h3 { font-size: 16px; line-height: 18px; margin: 0 0 5px; }
	
	body .serviceBox.style1 h3 { margin-bottom: 5px; }
}

@media only screen and (max-width: 979px ) {	
	body, li, .sidebar li.widget { font-size: 12px; line-height: 16px; }
	p strong, .sidebar li.widget strong { font-size: 14px; }
	.imgDecor,
	.post-slider, .page-slider,
	.parallax.section-benvenuto .cycloneslider { border: 4px solid #fff; }
	
	header nav.menu.main-menu { height: 46px; }
	header nav.menu.main-menu li a { padding: 10px 5px 20px; }
	header nav.menu.main-menu li ul.children { top: 66px; padding: 5px; }
	header nav.menu.main-menu li:hover ul.children { top: 46px; }
	
	/* prodotti */
	header nav.menu.main-menu li#menu-item-39 ul.children { right: -335px; width: 500px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li { width: 115px; margin: 5px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a { width: 115px; margin-top: 81px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a:before { top: -81px; width: 115px; height: 76px; }
	header nav.menu.main-menu li#menu-item-39 ul.children li a:after { top: -81px; width: 115px; height: 76px; }
	
	/* servizi */
	header nav.menu.main-menu li#menu-item-48 ul.children { right: -285px; width: 500px; padding-bottom: 5px; }
	header nav.menu.main-menu li#menu-item-48 ul.children li { width: 240px; height: 70px; margin: 5px 5px 5px; }
	header nav.menu.main-menu li#menu-item-48 ul.children li a { width: 130px; font-size: 12px; line-height: 14px; }
	header nav.menu.main-menu li#menu-item-48 a span.sub { font-size: 9px; line-height: 11px; }
	
	/* showroom */
	header nav.menu.main-menu li#menu-item-432 ul.children { right: -65px; width: 350px; padding-bottom: 5px; }
	header nav.menu.main-menu li#menu-item-432 ul.children li { width: 340px; height: 100px; margin: 5px; }
	
	.rev-btn { top: 10px !important; font-size: 14px !important; line-height: 14px !important; font-weight: 400 !important; padding: 5px 15px !important; }
	
	.quote h1 { font-size: 32px; line-height: 34px; }
	.quote p { font-size: 16px; }
	
	body .serviceBox.style1 h3 { font-size: 18px; line-height: 20px; }
	
	.section-app h2 { font-size: 26px; line-height: 28px; }
	.section-app .app-button { width: 150px; }
	
	.parallax.section-benvenuto h1 { font-size: 28px; line-height: 30px; }
	
	body .serviceBox.style8 .textContainer h3 { margin: 0 0 5px; font-size: 16px; line-height: 18px; }
	body .serviceBox.style8 .textContainer p { font-size: 12px; line-height: 16px; }
	body .serviceBox.style8 .textContainer p strong { font-size: 14px; }
	
	prefooter { font-size: 12px; line-height: 16px; }
	prefooter h4.prefooter-widgettitle { font-size: 16px; line-height: 18px; }
	prefooter p strong { font-size: 14px; }
	body .recentPost .recentPost-single.style-blog .textContainer h3 { font-size: 14px; line-height: 16px; margin: 0 0 5px; }
	body .recentPost .recentPost-single .data { display: none; }
	
	.page-title { padding: 15px 0; }
	.page-title h1 { font-size: 36px; line-height: 36px; }
	
	.sidebar .app-button { width: 90px; }
}

@media only screen and (max-width: 767px ) {
	.home header { position: relative; }
	header .span4 { width: 200px !important; float: left !important; }
	header .span8 { width: 200px !important; float: right !important; }
	header img#logo { max-width: 200px; margin: 0 0 -20px; float: left; }
	header nav.menu.main-menu { height: auto; float: right; margin-top: 10px; }
	.dl-menuwrapper button { float: right; }
	header nav.menu.main-menu li a { padding: 5px; }
	header nav.menu.main-menu li ul.children { padding: 0; }
	
	.tp-caption { display: none !important; }
	.tparrows { display: none !important; }
	
	.quote-container { padding: 15px 0 25px; }
	.quote h1 { font-size: 24px; line-height: 26px; }
	.quote h2 { font-size: 18px; line-height: 20px; }
	.quote p { font-size: 12px; line-height: 16px; }
	
	body .serviceBox.style1 { margin: 15px 0; }
	body .serviceBox.style1 h3 { font-size: 26px; line-height: 28px; }
	
	.row-fluid.first-row-products { margin-bottom: 0; }
	
	.row-fluid.first-row-products .span3,
	.row-fluid.second-row-products .span3 { width: 48.93617021276595%; float: left; }
	.row-fluid.first-row-products .span3:nth-child(2n),
	.row-fluid.second-row-products .span3:nth-child(2n) { margin-left: 2.127659574468085%; }
	.row-fluid.first-row-products .span3:nth-child(2n+1),
	.row-fluid.second-row-products .span3:nth-child(2n+1) { clear: both }
	
	#pN3, #pN4, #pN6 { display: block; }
	
	.row-fluid.center-content-left .span6 { position: relative !important; width: 100%; margin: 0 !important; }
	.parallax.section-benvenuto .cycloneslider { margin-top: 15px; }
	
	body .serviceBox.style8 .textContainer { padding-top: 12px; width: 77%; }
	body .serviceBox.style8 .imageContainer { width: 20%; }
	
	.page-title { margin-top: 3px; }
	.page-title:before { top: -3px; height: 3px; border-top: 3px solid #173D86; }
	.page-title:after { bottom: -3px; height: 3px; border-bottom: 3px solid #173D86; }
	.page-title h1 { font-size: 24px; line-height: 24px; }
	
	.wide-background.newQuote h1 { font-size: 30px; line-height: 32px; }
	
	.blog-container article.single-post .post-date { margin-top: 10px; }
	
	iframe#gmap { margin-top: 15px; }
}

@media only screen and (max-width: 480px ) {
	header nav.menu.main-menu { position: absolute; top: 0; width: 200px; }
	
	.quote p br { display: none; }
	
	.row-fluid.first-row-products .span3,
	.row-fluid.second-row-products .span3 { width: 100%; float: none; margin: 0 !important; }
	body .serviceBox.style1 h3 { font-size: 20px; line-height: 20px; }
	
	body .serviceBox.style8 .imageContainer { width: 40%; }
	body .serviceBox.style8 .textContainer { width: 57%; padding-top: 0; }
	
	.page-title h1 { font-size: 18px; line-height: 20px; }
	
	.wide-background.newQuote h1 { font-size: 28px; line-height: 30px; }
}