@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; }
	
	.onehalf-width,
	.onethird-width,
	.twothird-width,
	.onefourth-width { width: 100% !important; margin: 0 auto 10px !important; float: none !important; }
}

/* 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: 25px 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; }

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

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

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.section-quote.wide h1 { font-size: 40px; }

	.section-storia h1,
	.section-artisti h1 { font-size: 34px; line-height: 38px; }
}

@media only screen and (max-width: 1200px ) {
	.section-quote.wide h1 { font-size: 30px; }

	body .serviceBox.style2 h3 { font-size: 24px; line-height: 28px; }

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

	.section-storia h3,
	.section-artisti h3 { margin-top: 0; }
	.section-storia h1,
	.section-artisti h1 { margin: 10px 0; font-size: 28px; line-height: 32px; }
	.section-storia .readmore,
	.section-artisti .readmore { margin-top: 10px; }

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

@media only screen and (max-width: 979px ) {
	.readmore { padding: 8px 10px; }

	header .container.decor:before {
		right: -1000px;
		width: 1300px;
		height: 20px;
	}
	header .container.decor:after{
		border: 10px solid transparent;
		border-top-width: 10px;
		border-top-color: #272262;
		border-right-width: 10px;
		border-right-color: #272262;
	}

	header .rightContainer { margin-top: 60px; }

	header .adressInfo .inline-element { padding-left: 45px; margin-right: 20px; }
	header .adressInfo .inline-element:last-child { margin-right: 20px; }

	header nav.menu { height: 56px; margin-bottom: -28px; }
	header nav.menu li#menu-item-40:before {
		left: -56px;
		border: 28px solid transparent;
    border-top-width: 28px;
    border-top-color: #272262;
    border-right-width: 28px;
    border-right-color: #272262;
	}

	.section-storia .decor { margin: 0; }
	.section-storia .middleContainer { padding: 0; }
	.section-storia h1,
	.section-artisti h1 { font-size: 20px; line-height: 24px; }
	.section-artisti h3 { display: none; }
	.section-artisti h1 { margin-top: 0; }

	.section-quote.wide h1 { font-size: 24px; line-height: 36px; }

	body .serviceBox.style2 h3 { font-size: 18px; line-height: 22px; }

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

	.mappa-container .main-container { width: 300px; padding: 0 20px; left: 15px; height: 300px; }
	.mappa-container .mgl_gmaps { height: 300px !important; }

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

@media only screen and (max-width: 767px ) {
	header .container.decor:before { width: 1150px; }
	header .container.decor:after{ right: 150px; }

	header img#logo { margin-top: 30px; }

	header .rightContainer { margin: 25px auto; display: table; }

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

	header nav.menu { height: auto; margin-bottom: 15px; }
	header nav.menu li a { text-align: center; padding: 8px 10px; text-transform: uppercase; font-weight: bold; }

	.section-storia .decor { margin: 0 auto; width: 75%; }
	.section-storia .middleContainer { margin-top: 25px; }
	.section-storia h1,
	.section-artisti h1 { font-size: 24px; line-height: 28px; }
	.section-artisti h3 { display: block; }
	.section-artisti h1 { margin-top: 10px; }

	.section-quote.wide h1 { text-align: center; margin-bottom: 20px; }
	.section-quote.wide .readmore { margin: 0 auto; display: table; }

	.section-lavorazioni .row-fluid { margin-bottom: 0 !important }
	.quote h1 { font-size: 32px; line-height: 36px; }
	body .serviceBox.style2 { margin: 25px 0; }

	.mappa-container .container { padding: 0; }
	.mappa-container .main-container { width: auto; padding: 30px; position: relative; left: 0; height: auto; }
	.mappa-container .main-container .readmore { margin-top: 0; }
	.mappa-container .mgl_gmaps { display: none !important; }
}

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