@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; }
	h4 { font-size: 18px; line-height: 22px; }
	
	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; }
	h4 { font-size: 16px; line-height: 20px; }

	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; }
	h4 { font-size: 14px; line-height: 18px; }
	
	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 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; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.section-dovesiamo h2 { margin-top: 0; }
}

@media only screen and (max-width: 1200px ) {

	body .quote.anni .quote-container { padding-top: 155px; background-size: auto 140px; }
	.quote p { font-size: 16px; line-height: 20px; }
	.quote p br { display: none; }
	
	.parallax h1 { margin: 0 0 5px; font-size: 36px; line-height: 40px; }
	.parallax h2 { margin: 5px 0 10px; font-size: 28px; line-height: 30px; }
	
	#pN4 { display: none; }
}

@media only screen and (max-width: 979px ) {
	
	header nav.menu.main-menu li { margin-left: 5px; }
	
	body .quote.anni .quote-container { padding-top: 115px; background-size: auto 100px; }
	.quote h1 { font-size: 42px; line-height: 44px; }
	
	body .serviceBoxContainer.style1 .serviceBox h2 { font-size: 30px; line-height: 32px; }
	
	.parallax h2 { font-size: 22px; line-height: 24px; }
	
	#pN2 { display: none; }
	
	.sidebar li.widget { padding: 8px; }
	.sidebar h3.sidebar-widgettitle { margin: 0 0 10px 0; font-size: 18px; line-height: 20px; }
	.sidebar .readmore { padding: 5px; }
}

@media only screen and (max-width: 767px ) {
	.topHeader.topheaderv4 .span8 p { margin: 0; text-align: center; }
	.topHeader.topheaderv4 .languagesBar { float: none; display: table; margin: 5px auto 0; }
	
	header img#logo { max-width: 200px; }
	header .adressInfo { display: none }
	.dl-menuwrapper { margin-top: 15px; }
	header nav.menu.main-menu li { margin: 0; }
	header nav.menu.main-menu li a { padding: 8px; }
	
	.serviceBoxContainer.style1 { margin-bottom: 15px; }
	
	.row-fluid.center-content-left .span6:first-child,
	.row-fluid.center-content-left .span6:last-child,
	.row-fluid.center-content-right .span6:first-child,
	.row-fluid.center-content-right .span6:last-child { position: relative; top: auto; left: auto; right: auto; bottom: auto;
	margin: 0; }
	
	body .quote.anni .quote-container { padding-top: 100px; background-size: auto 85px; }
	
	
	#pN2, #pN4 { display: block; }
	
	.section-dovesiamo h2 { margin-top: 10px; }
	
}

@media only screen and (max-width: 480px ) {
	.slider-container .up-mask,
	.slider-container .dw-mask,
	.parallax:before, 
	.parallax:after,
	.wide-background.section-dovesiamo:before { height: 15px; }
	
	.tparrows { display: none !important; }
	
	body .quote.anni .quote-container { padding-top: 85px; background-size: auto 70px; }
	.quote h1 { font-size: 24px; line-height: 26px; }
	.quote h2 { font-size: 20px; line-height: 22px; }
	.quote p { font-size: 12px; line-height: 16px; }
	
	body .serviceBoxContainer.style1 .serviceBox h2 { margin-bottom: 5px; }
	body .serviceBoxContainer.style1 .serviceBox h3 { margin: 5px 0; }
}