@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; }
	h1 { font-size: 32px; line-height: 36px; }
	h2 { font-size: 28px; line-height: 32px; }
	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: 15px 0; }
	.page-title h1 { 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.aligncenter,
	img.alignleft,
	img.alignright,
	.half-width { width: 100%; margin: 0 auto 10px; float: none; }
}

/* CUSTOM */
@media only screen and (max-width: 1380px ) {
	.row-fluid.icone-rubriche { max-width: 75%; }
}

@media only screen and (max-width: 1200px ) {
	.section-benvenuto img.logo-maderural { margin: 5px 15px 10px 0px; width: 80px; }
	p#pN2, p#pN3 { display: none; }
	body .wmle_container .wmle_item { padding: 20px; }
	body .wmle_container .wmle_item .wmle_post_title { font-size: 20px; line-height: 22px; }

	body .recentPost .recentPost-single.style-blog .imageContainer { margin-right: 10px; }
	.recentPost .recentPost-single h3 { margin-top: 3px; }
	.recentPost .recentPost-single.style-blog .textContainer p { font-size: 12px; line-height: 16px; }

	.borderBoxContainer.autore img { width: 110px; }

	.blog-meta-data { top: 10px; right: 10px; }
	.blog-meta-category { bottom: 10px; left: 10px; }

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

	.section-page-rubriche h3 { font-size: 18px; line-height: 20px; }

	.row-fluid.icone-rubriche .serviceBox.style2 h3 { padding: 0; }
}

@media only screen and (max-width: 979px ) {
	h1 { font-size: 24px; line-height: 28px; }
	.rev_slider .tp-mask-wrap { overflow: visible !important; }
	.rev_slider .tp-caption.sld-date { color: rgb(155, 198, 88) !important; top: -20px !important; }
	.rev_slider .tp-caption.sld-title { top: -20px !important; }
	.rev_slider .tp-caption.sld-title span.green-bg { font-size: 34px !important; line-height: 36px !important; }
	.rev_slider .tp-caption.sld-desc { font-size: 16px !important; line-height: 18px !important; top: 32px !important }
	.rev_slider .tp-caption.sld-btn { padding: 10px 15px !important; font-size: 12px !important; line-height: 14px !important; top: -20px !important; }

	.quote h2 { font-size: 20px; line-height: 24px; margin: 0 0 85px; }
	.quote h2:after { bottom: -75px; margin-left: -350px; width: 700px; height: 73px; background-size: 100% auto; }
	.quote p { font-size: 16px; line-height: 20px; }

	body .cycloneslider-template-default .cycloneslider-caption-title { padding: 10px 5px 5px; font-size: 18px; line-height: 20px; }
	body .cycloneslider-template-default .cycloneslider-caption-description { padding: 5px 5px 10px; font-size: 12px; line-height: 14px; }

	body .wmle_container .wmle_item { padding: 15px; }
	body .wmle_container .wmle_item .wmle_post_title { font-size: 14px; line-height: 18px; }

	h4.decor,
	.sidebar h3.sidebar-widgettitle { font-size: 14px; line-height: 18px; }
	h4.decor span,
	.sidebar h3.sidebar-widgettitle span { padding: 0 7px; }

	body .recentPost .recentPost-single.style-blog .imageContainer { width: 80px; }
	body .recentPost .recentPost-single.style-blog .textContainer { padding-top: 5px; }
	body .recentPost .recentPost-single.style-blog .textContainer p { display: none !important; }

	.borderBoxContainer.autore img { width: 70px; margin: 5px 10px 5px 0; }
	.borderBoxContainer.collaborazioni img { width: 210px; margin: 10px 15px 5px 0; }

	.blog-meta-data { top: 8px; right: 8px; }
	.blog-meta-category { bottom: 8px; left: 8px; }

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

	div.jqcloud span.w10 { font-size: 275% }
	div.jqcloud span.w9 { font-size: 250% }
	div.jqcloud span.w8 { font-size: 225% }
	div.jqcloud span.w7 { font-size: 200% }
	div.jqcloud span.w6 { font-size: 175% }
	div.jqcloud span.w5 { font-size: 150% }
	div.jqcloud span.w4 { font-size: 125% }
	div.jqcloud span.w3 { font-size: 100% }
	div.jqcloud span.w2 { font-size: 75% }
	div.jqcloud span.w1 { font-size: 50% }

	.quote.quote-rubriche-prima h1 { font-size: 30px; line-height: 32px; }
	.quote.quote-rubriche-prima h2 { font-size: 18px; line-height: 20px; }
	.row-fluid.icone-rubriche { max-width: 80%; }
	.serviceBox.style2 h3 { font-size: 16px; line-height: 18px; }
	.quote.quote-rubriche-dopo p { font-size: 14px; line-height: 18px; }

	.section-page-rubriche h3 { font-size: 16px; line-height: 18px; }
}

@media only screen and (max-width: 767px ) {
	header { padding: 15px 0; }
	header .row-fluid .span4 { float: left; width: auto; }
	header .row-fluid .span8 { float: right; width: auto; }
	header img#logo { max-width: 100px; float: left; }
	header .rightContainer { display: none; }

	.dl-menuwrapper,
	.dl-menuwrapper button { float: right; }
	.dl-menuwrapper button { background: #000001; }
	.dl-menuwrapper button:hover, .dl-menuwrapper button.dl-active, .dl-menuwrapper ul { background: #23A638; }
	.dl-menuwrapper { width: 200px; }
	.dl-menuwrapper li a { padding: 10px; }

	#rev_slider_2_1 .tp-bullets { bottom: -18px; top: auto !important; }
	#rev_slider_2_1 .uranus .tp-bullet { width: 12px; height: 12px; }
	.rev_slider .tp-caption { display: none !important; }
	#rev_slider_2_1 .uranus.tparrows { width: 35px; height: 35px; }
	#rev_slider_2_1 .uranus.tparrows:before { width: 35px; height: 35px; line-height: 35px; font-size: 30px; }

	.quote h1 { font-size: 34px; line-height: 36px; }
	.quote h2 { font-size: 16px; line-height: 20px; margin: 0 0 60px; }
	.quote h2:after { bottom: -55px; margin-left: -240px; width: 480px; height: 50px; }
	.quote p { font-size: 12px; line-height: 16px; }

	p#pN2, p#pN3 { display: block; }

	.home .section-benvenuto .span6:nth-child(2) { display: none !important; }
	.home .blog-section .span4 { display: none !important; }
	.home .section-info .span8 { margin-top: 25px; }

	.borderBoxContainer.autore img { width: 130px; }

	.page-title h1 { padding-right: 100px; }

	.row-fluid.icone-rubriche { max-width: 450px; width: 100%; }
	.row-fluid.icone-rubriche .span3 { float: left; width: 48.93617021276595%; margin-left: 2.127659574468085%; }
	.row-fluid.icone-rubriche .span3:first-child,
	.row-fluid.icone-rubriche .span3:nth-child(3) { margin-left: 0; }
	.row-fluid.icone-rubriche .span3:nth-child(1) .serviceBox.style2,
	.row-fluid.icone-rubriche .span3:nth-child(2) .serviceBox.style2 { margin-bottom: 10px; }
	.row-fluid.icone-rubriche .serviceBox.style2 h3 { padding: 0 40px; }
	.quote.quote-rubriche-dopo p br { display: none; }
}

@media only screen and (max-width: 480px ) {
	h1 { font-size: 16px; line-height: 20px; }

	.quote h2 { margin: 0 0 55px; }
	.quote h2:after { bottom: -50px; margin-left: -200px; width: 400px; height: 42px; }
	.quote p { font-size: 14px; line-height: 18px; }
	.quote p br { display: none; }

	.section-benvenuto img.logo-maderural { float: left; }
	.section-benvenuto p#pN2 { clear: both; }

	body .wmle_container .wmle_item { padding: 12px; }
	body .wmle_container .wmle_item .wmle_post_title { padding-bottom: 0; border: 0; font-size: 13px; line-height: 17px; }
	.wmle_container .wmle_item .wmle_post_excerpt { display: none; }

	.borderBoxContainer.autore img { float: left; }
	.borderBoxContainer.collaborazioni img { width: 100%; float: left; margin: 0 0 15px; }
	.borderBoxContainer.collaborazioni p#pN6 { clear: both; }

	.page-id-9 img.profilo-logo { width: 100px; float: left; margin: 5px 10px 10px 0; }

	.blog-container article.single-post.post-style2 { width: 100%; margin: 0 0 20px; float: none; }
	.blog-container article.single-post.post-style2 { width: 100%; margin: 0 0 20px; border-bottom: 1px solid #ccc; padding-bottom: 20px; }

	.page-title { background: #000; }
	.page-title h1 { padding: 0; text-align: center; font-size: 18px; line-height: 20px; }

	.wide-background.section-rubriche { background-size: cover; }
	.row-fluid.icone-rubriche .span3 { width: 100%; margin-left: 0; }
	.row-fluid.icone-rubriche .serviceBox.style2 { margin-bottom: 15px; }

	.box-lavagna { padding: 40px; }
	.box-lavagna a { font-size: 18px; line-height: 20px; }
}
