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

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

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

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

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

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

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	p#pN1, p#pN3 { display: none; }
	.serviceBox.style8 .textContainer h1 { line-height: 32px; font-size: 34px; }

	.page-id-14 .quote h2 { font-size: 40px; }
	.page-id-19 .quote h2 { font-size: 40px; }

	.wide-background.section-ristorante .serviceBoxContainer:before { right: -570px; }
	.wide-background.section-pizzeria .serviceBoxContainer:before { left: -570px; }
}

@media only screen and (max-width: 1200px ) {
	header nav.menu.main-menu li#menu-item-26 { display: none; }
	header nav.menu.main-menu li#menu-item-27 { margin-top: 0; }
	header nav.menu.main-menu li a { padding: 8px; font-size: 16px; }

	.single-post .page-title h1 { font-size: 42px; line-height: 32px; }

	.quote h1 { font-size: 52px; line-height: 42px; }
	.quote p { font-size: 16px; }

	body .serviceBox.style8 .textContainer h1 { margin-top: 30px; font-size: 28px; line-height: 24px; text-shadow: 2px 1px 0px #922221; }
	p#pN1, p#pN3 { display: block; }
	p#pN2, p#pN4 { display: none; }

	.section-benvenuto h1 { font-size: 32px; line-height: 26px; }
	p#pN7 { display: none; }

	p#pN8, p#pN10 { display: none; }

	body .recentPost .recentPost-single h3 { font-size: 18px; line-height: 20px; }

	.page-id-11 .quote h2 { font-size: 34px; line-height: 36px; }
	.page-id-14 .quote h2 { font-size: 32px; line-height: 36px; }
	.page-id-16 .quote h2 { font-size: 34px; line-height: 38px; }
	.page-id-19 .quote h2 { font-size: 34px; line-height: 36px; }

	.page-id-23 img { width: 50%; margin: 15px 15px 0 0; }

	.wide-background.section-ristorante .serviceBoxContainer:before { right: -610px; }
	.wide-background.section-pizzeria .serviceBoxContainer:before { left: -610px; }
}

@media only screen and (max-width: 979px ) {
	h2 { font-size: 28px; line-height: 22px; }

	.tparrows { top: 45% !important; }
	header .adressInfo .inline-element:last-child { display: none; }
	header nav.menu.main-menu { margin-top: 15px; }
	header nav.menu.main-menu li { margin-left: 5px; }
	header nav.menu.main-menu li a { font-weight: 400; padding: 6px 5px; font-size: 14px; }

	.page-title h1 { font-size: 42px; line-height: 32px; }

	.quote h1 { font-size: 42px; line-height: 32px; }
	.quote h2 { font-size: 34px; line-height: 26px; }
	.quote p br { display: none; }
	
	.quote .readmore { width: 290px; font-size: 16px; }

	body .serviceBox.style8 .textContainer h1 { margin-top: 15px; font-size: 22px; line-height: 22px; }

	.section-benvenuto h1 { margin-top: 0; font-size: 24px; line-height: 22px; }

	.wide-background.section-contatti { margin-bottom: 0; }

	.page-id-11 .quote h1 { font-size: 36px; line-height: 32px; }
	.page-id-11 .quote h2 { font-size: 26px; line-height: 24px; }
	.page-id-14 .quote h1 { font-size: 36px; line-height: 28px; }
	.page-id-14 .quote h2 { font-size: 24px; line-height: 26px; }
	.page-id-16 .quote h2 { font-size: 34px; line-height: 32px; }
	.page-id-19 .quote h2 { font-size: 26px; line-height: 26px; }

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

	.wide-background.section-ristorante .serviceBoxContainer:before { right: -660px; }
	.wide-background.section-pizzeria .serviceBoxContainer:before { left: -660px; }
}

@media only screen and (max-width: 767px ) {
	.tparrows { display: none !important; }

	header { padding: 10px 0; }
	header img#logo { float: left; max-width: 200px; }
	header .rightContainer { display: none !important; }

	header nav.menu.main-menu { max-width: 150px; margin-top: 0; position: absolute; right: 15px; top: 10px; }
	.dl-menuwrapper button { float: right; }
	header nav.menu.main-menu li { margin: 0; }
	header nav.menu.main-menu li#menu-item-26 { display: block; }
	header nav.menu.main-menu li a { font-size: 18px; line-height: 18px; text-align: right; }

	.wide-background.quote { margin-bottom: 35px !important; }
	.quote h1 { font-size: 32px; line-height: 32px; }
	.quote h2 { font-size: 28px; line-height: 26px; }
	.quote p { font-size: 14px; }
	.quote .readmore.desktop { display: none; }
	.quote .readmore.mobile { display: table; }

	.recentPost {margin: 0 -10px 0; }

	.wide-background.section-ristorante .serviceBoxContainer:before,
	.wide-background.section-pizzeria .serviceBoxContainer:before { display: none; }
	body .wide-background .serviceBox.style8 .imageContainer,
	body .wide-background .serviceBox.style8 .textContainer { float: none !important; width: 100%; margin: 0; }
	body .wide-background.section-ristorante .serviceBox.style8 .imageContainer,
	body .wide-background.section-pizzeria .serviceBox.style8 .imageContainer { -moz-transform: none; -webkit-transform: none; transform: none; margin-bottom: 15px; }
	.serviceBox.style8 { margin: 20px 0; }
	body .serviceBox.style8 .textContainer h1 { font-size: 30px; line-height: 30px; }

	body .serviceBox.style7 { margin: 8px 0; }
	body .serviceBox.style7 h3 { font-size: 24px; line-height: 24px; }

	p#pN2, p#pN4, p#pN7, p#pN8, p#pN10 { display: block; }

	.recentPost .recentPost-single img { width: 100%; }

	.page-title { padding: 15px 0 5px; }
	.wide-background.quote:after,
	.parallax.section-benvenuto:before,
	.parallax.section-benvenuto:after,
	.wide-background.section-contatti:before,
	.page-title:after,
	.wide-background.section-gallery:before,
	.wide-background.section-gallery:after { margin-left: -400px; width: 800px; height: 13px; background-size: 100% 100%; }
	.parallax.section-benvenuto:before,
	.wide-background.section-gallery:before { top: 0; }
	.parallax.section-benvenuto:after,
	.wide-background.section-gallery:after { bottom: 0; }
	.wide-background.section-contatti:before { top: -13px; }
	.wide-background.quote:after,
	.page-title:after { bottom: -13px; }

	.page-title h1 { font-size: 32px; line-height: 26px; }
	.single-post .page-title h1 { font-size: 28px; line-height: 28px; }

	.page-id-11 .quote h1 { font-size: 32px; line-height: 28px; }
	.page-id-11 .quote h2 { font-size: 20px; line-height: 22px; }
	.page-id-14 .quote h1 { font-size: 32px; line-height: 26px; }
	.page-id-14 .quote h2 { font-size: 20px; line-height: 20px; }
	.page-id-19 .quote h2 { font-size: 20px; line-height: 20px; }

	.blog-container article.single-post.post-style4 { width: 49%; margin: 0 1% 2%; float: left; }

	.blog-container article.single-post.post-style4:nth-child(4n+1) { clear: none; margin-left: 1%; }
	.blog-container article.single-post.post-style4:nth-child(4n) { margin-right: 1%; }

	.blog-container article.single-post.post-style4:nth-child(2n+1) { clear: both; margin-left: 0; }
	.blog-container article.single-post.post-style4:nth-child(2n) { margin-right: 0; }

	footer p { font-size: 12px; line-height: 18px; font-weight: 400; }
}

@media only screen and (max-width: 480px ) {
	.readmore { text-align: center; }

	.home header {  position: relative; background-color: #220000; }

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

	.quote h1 { font-size: 30px; line-height: 28px; }
	.quote p { font-size: 11px; line-height: 14px; }
	.quote .readmore { font-size: 13px; line-height: 13px; padding: 10px; font-weight: 400; width: 230px }

	body .serviceBox.style8 .textContainer h1 { font-size: 26px; line-height: 24px; }

	body .serviceBox.style7 { margin: 20px 0 0; }
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; float: none; margin: 0 auto; }
	body .serviceBox.style7 .imageContainer { margin: 0 auto; display: block; width: 60%; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }

	.std-width { width: 100%; float: none; margin: 0 0 20px; }

	.page-id-16 .quote h2 { font-size: 24px; line-height: 24px; }

	.page-id-23 img { width: 100%; margin: 0 auto 10px; }

	.blog-container article.single-post.post-style4 { width: 100%; margin: 0 0 15px; float: none; }
	.blog-container article.single-post.post-style4 img { width: 100%; }

	#back-top { display: none !important }
}
