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

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

/* 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 ) {
	.serviceBox.style1 h3 { font-size: 22px; line-height: 24px; }
	.serviceBox.style1 h4 { font-size: 16px; line-height: 20px; }

	.section-servizi h3 { font-size: 22px; line-height: 24px; }
	.section-servizi h4 { font-size: 16px; line-height: 20px; }
}

@media only screen and (max-width: 1200px ) {
	.quote p { font-size: 16px; line-height: 20px; }

	.serviceBox.style1 h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
	.serviceBox.style1 h4 { font-size: 13px; line-height: 16px; margin-top: 5px; }

	.section-servizi h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
	.section-servizi h4 { font-size: 13px; line-height: 16px; margin-top: 5px; }

	.section-falegnameria h1 { margin-top: 0; }

	p#pN01, p#pN3, p#pN5, p#pN7 { display: none; }

	.clearfix-1200 { clear: both; }
}

@media only screen and (max-width: 979px ) {
	header .rightContainer { margin-top: 20px; }
	header .adressInfo .inline-element:last-child { display: none; }
	header.menu { height: 36px; }
	header nav.menu.main-menu li { margin-left: 3px; }
	header nav.menu.main-menu li a { padding: 10px 6px; }
	header nav.menu.main-menu li#menu-item-31 a { padding: 10px 6px; font-size: 12px; }
	header nav.menu.main-menu li#menu-item-31 a:after { display: none; }
	header nav.menu.main-menu li ul.children { top: 36px; }

	.quote h1 { font-size: 28px; line-height: 30px; }
	.quote h2 { font-size: 22px; line-height: 24px; }
	.quote p br { display: none; }

	.serviceBox.style1 h3 { font-size: 14px; line-height: 18px; }
	.serviceBox.style1 h4 { display: none; }

	.section-servizi h3 { font-size: 14px; line-height: 18px; }

	.section-falegnameria h1 { font-size: 32px; line-height: 36px; }

	p#pN1 { display: none; }

	body .serviceBox.style7 .textContainer { padding-top: 5px; }

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

	.clearfix-979 { clear: both; }
}

@media only screen and (max-width: 767px ) {
	header .rightContainer { display: table; margin: 15px auto 0; }
	header.menu { height: auto; padding: 0 0 10px 0; }

	header nav.menu.main-menu li { margin: 0; }
	header nav.menu.main-menu li a,
	header nav.menu.main-menu li#menu-item-31 a { padding: 6px; font-size: 14px; }

	.tp-caption.rev-btn { font-size: 12px !important; padding: 8px 10px 6px !important; margin-top: 10px !important; }

	.quote h1 { font-size: 24px; line-height: 26px; }
	.quote h2 { font-size: 18px; line-height: 20px; }

	.serviceBox.style1 { margin-bottom: 25px; }
	.serviceBox.style1 h3 { font-size: 24px; line-height: 26px; }
	.serviceBox.style1 h4 {  display: block; font-size: 18px; line-height: 20px; }

	.section-servizi h3 { font-size: 24px; line-height: 26px; }
	.section-servizi h4 { font-size: 18px; line-height: 20px; }

	p#pN01, p#pN1, p#pN3, p#pN5, p#pN7 { display: block; }

	body .serviceBox.style7 { margin-bottom: 15px; }

		.clearfix-767 { clear: both; }
}

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

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

	body .serviceBox.style7 { margin-bottom: 25px; }
	body .serviceBox.style7 .imageContainer,
	body .serviceBox.style7 .textContainer { width: 100%; margin: 0; float: none; }
	body .serviceBox.style7 .imageContainer img { margin: 0 auto; display: block; max-width: 70%; width: 200px; }
	body .serviceBox.style7 .textContainer { padding-top: 10px; }
	body .serviceBox.style7 .textContainer h3,
	body .serviceBox.style7 .textContainer p { text-align: center; }
}
