@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; }
	form.visual-form-builder .vfb-legend h3, 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; }
	form.visual-form-builder .vfb-legend h3, 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; }
	
	form.visual-form-builder .vfb-legend h3, h3 { font-size: 16px; line-height: 20px; }
	
	header img#logo { max-width: 200px; 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; }
}

/* 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,
	.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 .serviceBox.style1 h3 { font-size: 22px; line-height: 24px; }
	
	#pN3 { display: none; }
}

@media only screen and (max-width: 1200px ) {
	header nav.menu.main-menu { margin-top: 25px; }
	header nav.menu.main-menu li { margin-left: 5px; }
	header nav.menu.main-menu li a { padding: 10px; }
	
	body .serviceBox.style1 h3 { font-size: 16px; line-height: 20px; }
	body .serviceBox.style1 p { font-size: 13px; line-height: 20px; }
	
	.newQuote p br { display: none; }
	
	body .serviceBox.style8 .readmore { display: none; }
	
	#pN5, #pN6 { display: none; }
	
	.sidebar h3.sidebar-widgettitle { font-size: 18px; line-height: 20px; }
	
	.clearfix-1200 { clear: both; }
}

@media only screen and (max-width: 979px ) {
	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 ul.children { top: 34px; }
	
	.content-wrap { margin-top: 9px; padding: 0; }
	.content-wrap:after { top: -30px; margin-left: -25px; width: 50px; height: 59px; }
		
	.quote { margin-top: 9px; }
	.quote:before,
	.content-wrap:before { top: -9px; height: 3px; border-top-width: 3px; border-bottom-width: 3px; }
	.quote .quote-container { padding: 35px 0; }
	.quote h1 { font-size: 30px; line-height: 34px; }
	.quote p, .newQuote p { font-size: 14px; line-height: 20px; }
	.quote p br { display: none; }
	
	body .serviceBox.style1 .imageContainer::before { top: -2px; margin-left: -40px; width: 80px; height: 40px; }
	body .serviceBox.style1 h3 { font-size: 22px; line-height: 26px; }
	body .serviceBox.style1 p { font-size: 11px; line-height: 16px; }
	
	.section-design .round-img { max-width: 80%; }
	
	.section-benvenuti h2 { font-size: 26px; line-height: 30px; }
	
	#pN2 { display: none; }
	
	.sidebar h3.sidebar-widgettitle { font-size: 13px; line-height: 18px; padding: 8px; }
	.sidebar li.widget div.sidebar-textwidget-box, .sidebar li.widget form { padding: 8px; }
	.sidebar #searchform button.searchsubmit { top: 11px; right: 11px; }
	
	body .blog-container article.single-post h3 { font-size: 16px; line-height: 20px; }
}

@media only screen and (max-width: 767px ) {
	header { padding: 15px 0 15px; }
	header .container:before { width: 600px; bottom: -15px; right: -250px; background-position: bottom left; }
	header .rightContainer { justify-content: center; margin: 15px auto; }
	header .adressInfo .inline-element { text-align: center; }
	
	.dl-menuwrapper { z-index: 10000; }
	
	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; }
	
	.tparrows { display: none !important; }
	
	.page-title { padding: 15px 0 30px; }
	.page-title h4 { font-size: 16px; line-height: 20px; }
	
	.container.main { padding-top: 35px; }
	
	.quote p { font-size: 12px; line-height: 16px; }
	
	body .serviceBox.style1 { margin: 5px 0 30px; }
	body .serviceBox.style1 .imageContainer:before { top: -4px; margin-left: -60px; width: 120px; height: 60px; }
	body .serviceBox.style1 h3 { margin-top: 0; }
	body .serviceBox.style1 p { font-size: 12px; line-height: 16px; }
	
	.section-servizi .span6:first-child .serviceBox.style8 { margin-bottom: 50px; }
	body .serviceBox.style8 .readmore { display: table; }
	
	#pN2, #pN3, #pN5, #pN6 { display: block; }
	
	.section-contatti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }
	
	.section-page-servizi { padding-bottom: 40px; }
	
	body .blog-container article.single-post.post-style3:nth-child(3n+1) { clear: none; margin-left: 1%; }
	body .blog-container article.single-post.post-style3:nth-child(3n) { margin-right: 1%; }
	body .blog-container article.single-post.post-style3 { width: 49%; }
	body .blog-container article.single-post.post-style3:nth-child(2n+1) { clear: both; margin-left: 0; }
	body .blog-container article.single-post.post-style3:nth-child(2n) { margin-right: 0; }

}

@media only screen and (max-width: 480px ) {
	.tp-caption { display: none !important; }
	
	header .adressInfo .inline-element:last-child { display: none; }
	
	.section-design img { border-width: 5px; }
	
	body .serviceBox.style8 .imageContainer { width: 100%; margin: 0 auto; display: block; }
	body .serviceBox.style8 .textContainer { position: relative; width: 100%; padding: 25px 0 0; display: block;}
	body .serviceBox.style8 .textContainer h3,
	body .serviceBox.style8 .textContainer p { text-align: center; }
	body .serviceBox.style8 .textContainer .readmore { margin: 0 auto; }
	
	body .serviceBox.style7 .imageContainer { margin: 0 auto; display: block; }
	body .serviceBox.style7 .textContainer { position: relative; width: 100%; padding: 10px 0 0; display: block;}
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
	
	body .blog-container article.single-post.post-style3 { width: 100%; margin: 0 0 4%; float: none; }
}