@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; }
	
	img.alignleft,
	img.alignright,
	.half-width { width: 100%; margin: 0 auto 10px; float: none; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	body .serviceBox.style7 .textContainer { padding-top: 5px; }
	
	body .contentCarousel .contentCarousel-single h3 { font-size: 20px; line-height: 20px; }

	body.page-id-5 .serviceBox.style1 p,
	body.page-id-9 .serviceBox.style1 p { min-height: 80px; }
	
	body .wide-background.newQuote { min-height: 700px; }
}

@media only screen and (max-width: 1200px ) {
	header nav.menu.main-menu li { margin-left: 5px; }
	
	.quote h1 { font-size: 32px; line-height: 34px; }
	
	body .contentCarousel .contentCarousel-single h3 { font-size: 18px; line-height: 18px; }
	
	p#pN2, p#pN4 { display: none; }
	
	body .recentPost .recentPost-single h3 { font-size: 10px; line-height: 12px; }
	
	.quote.secondario p br { display: none; }
	
	body .serviceBox.style7 .textContainer h3 { margin-bottom: 5px; }
	p#pN6, p#pN9 { display: none; }
	
	.sidebar .readmore { padding: 8px; font-size: 13px; }

	body.page-id-5 .serviceBox.style1 p,
	body.page-id-9 .serviceBox.style1 p { min-height: 100px; }
	
	body .wide-background.newQuote { min-height: 600px; }
}

@media only screen and (max-width: 979px ) {
	h1 { font-size: 30px; line-height: 32px; }
	header nav.menu.main-menu { margin-top: 20px; height: 36px; }
	header nav.menu.main-menu li#menu-item-36 { display: none; }
	header nav.menu.main-menu li a { padding: 8px; }
	header nav.menu.main-menu li ul.children { top: 34px; }
	
	.rev_slider .tp-caption.rev-btn { margin-top: 10px !important; }
	.tparrows { display: none; }
	
	.quote h1 { font-size: 26px; line-height: 28px; }
	.quote h2 { font-size: 18px; line-height: 20px; }
	.quote p { font-size: 16px; line-height: 18px; }
	.quote.secondario p { font-size: 14px; line-height: 16px; }
	
	body .contentCarousel .contentCarousel-single .imageContainer:before,
	body .recentPost .recentPost-single .imageContainer::before,
	body .serviceBox.style1 .imageContainer:before { width: 26px; height: 51px; }
	
	body .serviceBox.style7 .textContainer { padding-top: 0; }
	body .serviceBox.style7 .textContainer h3 { font-size: 18px; line-height: 18px; margin-bottom: 0; }
	
	.responsive-tabs .responsive-tabs__panel { padding: 15px !important; }
	
	.sidebar li#std_box-3 { display: none !important; }
	.sidebar h3.sidebar-widgettitle { font-size: 13px; line-height: 16px; }
	
	.blog-container article.single-post h3 { font-size: 14px; line-height: 18px; }
	.blog-container article.single-post .post-date { margin-bottom: 5px; }

	.row-prodotti-1 { margin-bottom: 25px !important; }
	body .serviceBox.style1 h4 {
		font-size: 14px;
		line-height: 18px;
		padding: 8px;
		bottom: 5px;
	}

	body.page-id-5 .serviceBox.style1 p,
	body.page-id-9 .serviceBox.style1 p { min-height: 80px; }
	
	body .wide-background.newQuote { min-height: 500px; }
	body .wide-background.newQuote .quote-container { padding-top: 50px; padding-bottom: 50px; }
}
@media only screen and (max-width: 767px ) {
	.home header { padding: 10px 0; position: relative; }
	header .rightContainer { margin: 15px auto; display: table; }
	header nav.menu.main-menu { margin-top: 0; height: auto; }
	header nav.menu.main-menu li { margin: 0; }
	header nav.menu.main-menu li a { color: #000; text-align: center; }
	
	.rev_slider .tp-caption { margin-top: -50px !important; }	
	.rev_slider .tp-caption.rev-btn { margin-top: -40px !important; padding: 8px 15px !important; font-size: 10px !important; line-height: 10px !important }
	
	.quote h1 { font-size: 20px; line-height: 22px; }
	.quote h2 { font-size: 14px; line-height: 16px; }
	.quote p { font-size: 12px; line-height: 16px; }
	
	.row-fluid.section-prodotti01 { margin-bottom: 0; }
	body .contentCarousel .contentCarousel-single .imageContainer:before, 
	body .recentPost .recentPost-single .imageContainer:before,
	body .serviceBox.style1 .imageContainer:before { width: 52px; height: 102px; }
	
	body .contentCarousel .contentCarousel-single h3 { font-size: 16px; line-height: 16px; }
	
	.row-fluid.center-content-right .span6:last-child { position: relative; top: auto; right: auto; bottom: auto; }
	.section-tabs h1.mTop0 { margin-top: 10px !important }
	
	.responsive-tabs .responsive-tabs__panel { padding: 15px 15px 7px!important; }
		
	.recentPost .row-fluid { margin-bottom: 0; }
	body .recentPost-single { margin-bottom: 25px; }
	body .recentPost .recentPost-single h3 { font-size: 20px; line-height: 22px; }
	
	.section-contatti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }
	body .serviceBox.style7 .textContainer { padding-top: 15px; }
	body .serviceBox.style7 .textContainer h3 { margin-bottom: 10px; }
	
	p#pN2, p#pN4, p#pN6, p#pN9 { display: block; }
	
	.blog-container article.single-post .post-date { margin: 10px 0; }

	.row-prodotti-1,
	.row-prodotti-2 { margin-bottom: 0 !important; }
	body .serviceBox.style1 { margin-bottom: 25px; }
	body .serviceBox.style1 h4 {
		font-size: 18px;
		line-height: 22px;
		padding: 10px;
		bottom: 10px;
	}

	body.page-id-5 .serviceBox.style1 p,
	body.page-id-9 .serviceBox.style1 p { min-height: 0; }
	
	body .wide-background.newQuote { min-height: 400px; }
	body .wide-background.newQuote .quote-container { padding-top: 30px; padding-bottom: 30px; }
	body .wide-background.newQuote h1 { font-size: 26px; line-height: 28px; }
	
}

@media only screen and (max-width: 480px ) {
	header .rightContainer { display: none; }
	
	.rev_slider .tp-caption { display: none !important }
	
	.quote p { font-size: 10px; line-height: 16px; }
	.quote p br { display: none; }
		
	.quote.secondario p { font-size: 12px; line-height: 14px; }
	
	body .recentPost .recentPost-single h3 { font-size: 14px; line-height: 16px; }
	
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; margin: 0 auto; display: block; }
	body .serviceBox.style7 .imageContainer img { max-width: 250px; width: 80%; margin: 0 auto; display: block; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; display: block; }
	
	body .wide-background.newQuote { min-height: 300px; }
	body .wide-background.newQuote h1 { font-size: 22px; line-height: 24px; }
}