@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: 11px; right: 11px; }
}

/* 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 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 ) {
	body .serviceBox.style2 h3 { font-size: 16px; line-height: 18px; }
	body .serviceBox.style2 h4 { font-size: 14px; line-height: 18px; }

	.quote.quote-servizi p br { display: none; }


	.slider-container .tp-caption span#reg { font-size: 30px; }
}

@media only screen and (max-width: 1200px ) {
	header nav.menu.main-menu { margin-top: 35px; }
	.slider-container .tp-caption span#reg { top: -20px; }

	.quote p { font-size: 16px; line-height: 20px; }

	body .serviceBox.style2 h3 { font-size: 13px; line-height: 18px;  margin-bottom: 5px; }
	body .serviceBox.style2 h4 { font-size: 12px; line-height: 18px; margin: 5px 0 0 auto; }

	.quote.quote-servizi p { font-size: 14px; line-height: 20px; }

	#pN3 { display: none; }

	body .recentPost .recentPost-single h3 { font-size: 16px; line-height: 20px; margin: 5px 0 8px; }
	body .recentPost .recentPost-single .data { margin-bottom: 8px; }
	body .recentPost .recentPost-single p { font-size: 12px; line-height: 18px; }
	body .recentPost .recentPost-single .readmore { display: none; }

	footer.align_left img#footer { height: 68px; }
}

@media only screen and (max-width: 979px ) {
	header nav.menu.main-menu { margin-top: 15px; height: 38px; }
	header nav.menu.main-menu li a { padding: 10px; }

	.slider-container .tp-caption span#reg { top: -15px; }
	.tparrows { display: none !important; }

	.quote p br { display: none; }

	body .serviceBox.style1 h3 { margin-bottom: 5px; }
	body .serviceBox.style1 h4 { margin: 5px 0; font-size: 16px; line-height: 20px; }

	body .section-servizi .span2 { margin-left: 2.7624309392265194%; width: 31.491712707182323%; }
	body .section-servizi .span2:first-child,
	body .section-servizi .span2:nth-child(4) { margin: 0; }

	body .serviceBox.style2 { margin-bottom: 25px; }
	body .serviceBox.style2 h3 { font-size: 18px; line-height: 20px; }
	body .serviceBox.style2 h4 { font-size: 16px; line-height: 20px; }

	#pN2 { display: none; }

	body .title-news a { top: 8px; }

	body .recentPost .recentPost-single .imageContainer .textContainer { padding: 10px 5px; }
	body .recentPost .recentPost-single h3 { font-size: 12px; line-height: 16px; margin-bottom: 5px; }
	body .recentPost .recentPost-single .data { font-size: 10px; line-height: 12px; margin-bottom: 5px; }
	body .recentPost .recentPost-single p { font-size: 11px; line-height: 16px; }

	.newQuote h1 { font-size: 32px; line-height: 34px; }

	.sidebar h3.sidebar-widgettitle { font-size: 16px; line-height: 20px; padding: 8px; }
	.sidebar li.widget div, .sidebar li.widget form { padding: 8px; }
	.sidebar li.widget div.clearfix { padding: 0; }

	body .screenshotBox { padding: 15px; margin-bottom: 25px; }
}

@media only screen and (max-width: 767px ) {
	.home header.fixed,
	header { position: relative; padding: 10px 0; }
	header .rightContainer { display: table; margin: 15px auto 0; }
	header nav.menu.main-menu { margin-top: 15px; height: auto; }
	header nav.menu.main-menu.dl-menuwrapper li a { padding: 10px; text-transform: uppercase; }
	header nav.menu.main-menu li a span { font-size: 14px; top: -5px; position: relative; }

	.tp-caption { display: none !important; }

	.section-prodotti.line1 { margin-bottom: 0 !important; }
	body .serviceBox.style1 { margin-bottom: 25px; }
	body .serviceBox.style1 h3 { font-size: 24px; line-height: 26px; }
	body .serviceBox.style1 h4 { font-size: 18px; line-height: 20px; }

	body .section-servizi .span2 { float: left; }

	body .serviceBox.style2 h3 { font-size: 16px; line-height: 20px; }

	.row-fluid.center-content-left .span6:first-child,
	.row-fluid.center-content-left .span6:last-child { position: relative; top: auto; left: auto; bottom: auto; margin: 0; }

	#pN2, #pN3 { display: block; }

	body .recentPost .row-fluid .span3 { width: 48.61878453038674%; margin-left: 2.7624309392265194%; float: left; }
	body .recentPost .row-fluid .span3:first-child,
	body .recentPost .row-fluid .span3:nth-child(3) { margin-left: 0; clear: both; }
	body .recentPost-single.style-std { margin-bottom: 15px; }
	body .recentPost .recentPost-single h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
	body .recentPost .recentPost-single .readmore { display: table; }

	.newQuote h1 { font-size: 26px; line-height: 28px; }
	.newQuote h2 { font-size: 16px; line-height: 20px; }

	.blog-container article.single-post img { margin-bottom: 10px; }
}

@media only screen and (max-width: 480px ) {
	.quote h1 { font-size: 22px; line-height: 26px; }
	.quote h2 { font-size: 18px; line-height: 22px; }
	.quote p { font-size: 12px; line-height: 16px; }

	body .section-servizi .span2 { width: 48.61878453038674%; margin-left: 2.7624309392265194%; float: left; }
	body .section-servizi .span2:first-child,
	body .section-servizi .span2:nth-child(3),
	body .section-servizi .span2:nth-child(5) { margin: 0; clear: both; }

	body .serviceBox.style2 h4 { font-size: 14px; line-height: 18px; }

	body .recentPost .recentPost-single h3 { font-size: 13px; line-height: 18px; margin: 0 0 5px; }
	body .recentPost .recentPost-single p { font-size: 10px; line-height: 15px; }
	body .recentPost .recentPost-single .readmore { display: none; }
}

@media only screen and (max-width: 320px ) {
	header .adressInfo { display: none; }
	.languagesBar .lang-flag { margin: 0 4px; }
	body .section-servizi .span2 { width: 100%; margin: 0; float: none; }

	body .title-news a { top: 6px; }

	body .recentPost .row-fluid .span3 { width: 100%; margin-left: 0; float: none; }
	body .recentPost-single.style-std { margin-bottom: 10px; }
	body .recentPost .row-fluid .span3:nth-child(3),
	body .recentPost .row-fluid .span3:nth-child(4) { display: none !important; }
}
