@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; }
}

@media only screen and (max-width: 1380px ) {	.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; }
	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; }
	h3 { font-size: 18px; line-height: 22px; }
	h4 { font-size: 16px; line-height: 20px; }

	.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; }

	.vfbp-form label { font-size: 12px; }
}

/* 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 { 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; }

	.vfbp-form label { font-size: 12px; }

	#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; }

	img.alignleft,
	img.alignright,
	.onehalf-width,
	.onethird-width,
	.twothird-width,
	.onefourth-width { width: 100% !important; margin: 0 auto 10px !important; float: none !important; }

	.ul-sitemap li a { font-size: 14px; line-height: 20px; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	body .contentCarousel .single-item h3 { font-size: 18px; line-height: 20px; }

	body .section-chisiamo .newQuote { max-width: 80%; }

	body .serviceBox.style9 p { font-size: 13px; line-height: 20px; }

	.sidebar h3.sidebar-widgettitle { font-size: 16px; line-height: 18px; }
}

@media only screen and (max-width: 1200px ) {
	header .adressInfo .inline-element { margin-left: 30px; padding: 3px 0; padding-left: 38px; }
	header .adressInfo .inline-element:first-child { display: none; }

	body .section-caminetti.wide:before { height: 150px; }

	body .contentCarousel .single-item .textContainer { padding: 20px 10px; }
	body .contentCarousel .single-item h3 { font-size: 14px; line-height: 18px; }
	body .contentCarousel .single-item p { font-size: 12px; line-height: 16px; }

	body .section-chisiamo .newQuote { max-width: 100%; }

	body .serviceBox.style9 .imageContainer { width: 80px; }
	body .serviceBox.style9 h3 { font-size: 14px; line-height: 18px; }
	body .serviceBox.style9 p { font-size: 14px; line-height: 21px; }

	.b_font { font-size: 14px; line-height: 21px; }

	#pN3, #pN6 { display: none; }

	.sidebar h3.sidebar-widgettitle { font-size: 14px; line-height: 18px; }
}

@media only screen and (max-width: 979px ) {
	header img#logo { max-width: 260px; }

	header .adressInfo { margin-top: 25px; }
	header .adressInfo .inline-element { margin-left: 20px; }

	.newQuote h1 { font-size: 30px; line-height: 34px; }
	.newQuote h2 { font-size: 20px; line-height: 24px; }

	body .contentCarousel .single-item .imageContainer:after { height: 60px; }
	body .contentCarousel .single-item h3 { font-size: 12px; line-height: 16px; }

	body .newQuote p { font-size: 12px; line-height: 16px; }

	body .serviceBox.style9 h3 { font-size: 11px; line-height: 15px; }
	body .serviceBox.style9 p { font-size: 11px; line-height: 16px; }

	.b_font { font-size: 12px; line-height: 16px; }

	.sidebar h3.sidebar-widgettitle { font-size: 12px; line-height: 16px; }
	.sidebar #searchform button.searchsubmit { top: 11px; right: 11px; }

	.section-logo img { width: 280px; }
	
	body .gridContent .row-fluid:nth-child(1) { margin-bottom: 25px; }
	body .gridContent .gridContent-single .textContainer {
		padding: 20px;
	}
	
	body .gridContent .gridContent-single .textContainer h3 {
		font-size: 16px;
		line-height: 20px;
	}
}

@media only screen and (max-width: 767px ) {
	header .adressInfo { margin: 30px auto 0; display: table; }

	.headerv2.menu { border: 0; background: #bf1e2e; }
	.dl-menuwrapper li a { text-align: center; padding: 8px 10px; text-transform: uppercase; }
	header .rightTextContainer { display: table; float: none; margin: 20px auto 0; }

	body .section-quote.wide:before { top: -40px; margin-left: -30px; width: 60px; height: 89px; }

	body .newQuote h1 { font-size: 22px; line-height: 26px; }
	body .newQuote h2 { font-size: 16px; line-height: 20px; }
	body .newQuote p br { display: none; }

	.section-logo img { width: 280px; }
	.quote h1 { font-size: 26px; line-height: 30px; }

	.section-filosofia .cycloneslider { margin-top: 25px; }

	.section-recapiti .span6:first-child .serviceBox.style7 { margin-bottom: 25px; }

	#pN3, #pN6 { display: block; }
	
	body .gridContent .span6:nth-child(1) { margin-bottom: 25px; }
}

@media only screen and (max-width: 480px ) {
	header .adressInfo .inline-element:nth-child(2) { display: none; }
	header .adressInfo .inline-element { margin: 0; }

	.quote h1 { font-size: 22px; line-height: 24px; }

	body .newQuote h1 { font-size: 14px; line-height: 18px; margin-bottom: 10px; }
	body .newQuote h2 { font-size: 12px; line-height: 16px; margin-bottom: 10px; }
	body .newQuote a.btn-newQuote { padding: 8px 35px; }

	body .serviceBox.style7 .imageContainer { margin: 0 auto 10px; display: block; }
	body .serviceBox.style7 .textContainer { width: 100%; position: relative; top: auto; left: auto; bottom: auto; right: auto; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
}
