@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; }
	
	.clearfix-1380 { clear: both; }
}

/* Ipad orizzontale */
@media only screen and (max-width: 1200px ) {
	.boxedWrapper,
	.boxedBottomBar.credits { width: 1000px; }
	.parallax { background-position: center !important; background-attachment: scroll !important; }
	
	form.visual-form-builder .vfb-legend h3, h3 { font-size: 22px; line-height: 26px; }
	
	iframe#gmap { height: 465px; }
		
	.clearfix-1200 { clear: both; }
}

/* 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; }
	form.visual-form-builder .vfb-legend h3, h3 { font-size: 18px; line-height: 22px; }
	
	.tparrows { display: none !important; }

	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; }
	
	/*
	.sidebar h3.sidebar-widgettitle { padding: 8px; font-size: 14px; line-height: 18px; }
	.sidebar li.widget div.sidebar-textwidget-box, .sidebar li.widget form { padding: 8px; }
	.sidebar #searchform button.searchsubmit { top: 11px; right: 11px; }
	*/
	
	.clearfix-979 { clear: both; }
}

/* 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; }
	
	form.visual-form-builder .vfb-legend h3, 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; }
	
	#back-top { display: none !important; }
	
	.clearfix-767 { clear: both; }
}

/* Mobile verticale */
@media only screen and (max-width: 480px ) {
	
	.tp-caption { display: none !important; }
	
	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; }
	
	.ul-sitemap li a { font-size: 14px; line-height: 20px; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	body .text-box-servizi { padding: 40px 30px; }
	
	.sidebar h3.sidebar-widgettitle { font-size: 16px; line-height: 18px; }
}

@media only screen and (max-width: 1200px ) {
	
	.tp-caption.rev-btn { margin-top: 15px !important; }
	
	.wide-background.section-quote .serviceBox { margin-top: 40px; }
	.wide-background.section-quote .serviceBox p { font-size: 13px; }
	
	body .text-box-servizi { padding: 20px; }
	.row-fluid.center-content-left .span4:nth-child(2) { margin-left: 34.04255319148936%; }
	.row-fluid.center-content-left .span4:nth-child(3) { margin-left: 2.127659574468085%; }
	
	#pN3, #pN7, #pN9 { display: none; }
	
	body .serviceBox.style2 .textContainer { padding: 20px; }
	body .serviceBox.style2 h3 { font-size: 18px; line-height: 20px; }
	
	body .serviceBox.style8 .imageContainer { width: 12%; }
	body .serviceBox.style8 .textContainer { width: 88%; padding-left: 10px; }
	body .serviceBox.style8 .textContainer h3 { margin: 0; }
	body .serviceBox.style8 .textContainer p { display: none; }
}

@media only screen and (max-width: 979px ) {
	header img#logo { margin-top: 5px; }
	header nav.menu.main-menu { margin-top: 20px; }
	header nav.menu.main-menu li#menu-item-21 { display: none; }
	header nav.menu.main-menu li { margin-left: 5px; }
	header nav.menu.main-menu li ul.children { top: 45px; }
	
	.tp-caption.rev-btn { margin-top: 20px !important; }
	
	.wide-background.section-quote .serviceBox { margin-top: 28px; }
	body .serviceBox.style9 .textContainer h3 { font-size: 16px; line-height: 18px; }
	body .wide-background.section-quote .serviceBox p { font-size: 10px; line-height: 14px; }
	.wide-background.section-quote .quote-button { padding: 30px 15px; font-size: 16px; }
	.wide-background.section-quote .quote-button span { font-size: 26px; line-height: 30px; }
	
	body .text-box-servizi h3 { font-size: 16px; line-height: 20px; }
	#pN2 { display: none; }
	
	body .serviceBox.style2 .textContainer { padding: 15px; }
	
	body .serviceBox.style8 { display: none; }
	
	.sidebar li.widget { padding: 10px; border-width: 2px; }
}

@media only screen and (max-width: 767px ) {
	.home header.fixed { position: relative; background: #fff; }
	header.fixed { background-color: rgba(255,255,255,.8); }
	header img#logo { margin-top: 0; }
	header .rightContainer { display: table; margin: 15px auto; }
	header nav.menu.main-menu { margin-top: 0; }
	header nav.menu.main-menu li { margin-left: 0; }
	header nav.menu.main-menu li a { padding: 8px 10px; text-align: center; }
	
	.page-title h1 { padding-right: 0; }
	.page-title h1:before { display: none; }
	
	.tp-caption { margin-top: -70px !important; }
	.tp-caption.rev-btn { margin-top: -50px !important; }
	
	.wide-background.section-quote .span4:nth-child(1),
	.wide-background.section-quote .span4:nth-child(2) { width: 49%; margin-left: 2%; float: left; }
	.wide-background.section-quote .span4:nth-child(1) { margin-left: 0; }
	
	.wide-background.section-quote .serviceBox { margin: 15px 0; }
	.wide-background.section-quote .quote-button { margin-bottom: 10px; text-align: center; }
	.wide-background.section-quote .quote-button:hover:before {
		-webkit-transform: scale(100);
		transform: scale(100);
	}
	body .text-box-servizi h3 { font-size: 24px; line-height: 26px; }
	#pN2, #pN3, #pN7, #pN9 { display: block; }
	.row-fluid.center-content-left .span4:nth-child(2),
	.row-fluid.center-content-left .span4:nth-child(3) { margin-left: 0; }
	body .serviceBox.style1 { margin-top: 25px; }
	body .serviceBox.style1 h3 { font-size: 24px; line-height: 26px; }
	
	body .serviceBox.style2 { margin-top: 15px; border-width: 2px; }
	
	.section-benvenuto { padding-top: 35px; padding-bottom: 35px; }
	.section-benvenuto h3 { font-size: 24px; line-height: 26px; }
	body .serviceBox.style8,
	body .serviceBox.style8 .textContainer p { display: block; }
	.section-benvenuto .cycloneslider { max-width: 60% !important; margin: 0 auto; display: block; }
	
	.section-contatti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }
}

@media only screen and (max-width: 480px ) {
	
	.wide-background.section-quote .span4:nth-child(1),
	.wide-background.section-quote .span4:nth-child(2) { width: 100%; margin: 0 0 15px 0; float: none; }
	body .serviceBox.style9 .imageContainer { max-width: 100px; margin: 0 auto 10px; display: block; }
	body .serviceBox.style9 .textContainer { width: 100%; position: relative; }
	body .wide-background.section-quote .serviceBox h3,
	body .wide-background.section-quote .serviceBox p { text-align: center; }
	body .wide-background.section-quote .serviceBox p { font-size: 12px; line-height: 16px; }
	.wide-background.section-quote .quote-button { margin-top: 25px; }
	
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; margin: 0 auto; position: relative; top: auto; bottom: auto; left: auto; right: auto; }
	body .serviceBox.style7 .imageContainer img { max-width: 200px; margin: 0 auto 10px; display: block; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
}