
@media screen and (max-width: 1380px) {

    header#page-header .l-subheader-cell .w-html {
        margin: 0.5em 0;
    }
    header#page-header .l-subheader.at_middle {
        padding: 0px 20px;
    }

}
@media screen and (max-width: 1200px) {

    .home .l-section#slider .metaslider .caption img {
        width: 140px;
    }
    .home .l-section#slider .metaslider .caption a.btn_arrow {
        margin: 0;
    }
    .home .l-section#slider .metaslider .caption a.btn_slide {
        padding: 10px 0;
        min-width: 190px;
        margin-top: 15px;
        font-size: 14px;
        line-height: 20px;
    }
    .l-section#slider .metaslider .caption .contatti_slide {
        margin-top: -50px;
    }

}
@media screen and (max-width: 1024px) {

    header#page-header .l-subheader.at_middle ul li a {
        padding: 0.7em;
    }
    .home header#page-header .l-subheader.at_middle ul li a {
        color: black;
        text-align: center;
    }
	.home .l-section#slider .metaslider .caption img {
        width: 100px;
    }

}
@media screen and (max-width: 767px) {

    .home .l-section#slider .metaslider .caption img {
        display: none;
    }

}
@media screen and (max-width: 600px) {

    .l-section#slider .metaslider {
         padding-top: 40px;
    }
	.l-section#slider .wpb_row.metaslider {
         padding-top: 0px;
    }
	.l-section#slider .metaslider .caption p {
        margin: 0 auto;
    }
    .l-section#slider .metaslider .caption-wrap {
        position: relative;
        bottom: 0;
        color: black;
    }
    .l-section#slider .metaslider .caption a {
        color: black;
    }
    .l-section#slider .metaslider .caption a.btn_slide {
        border: 1px solid black;
        color: black;
    }
    .l-section#slider .metaslider .caption .contatti_slide {
        margin-top: 0;
        display: block;
        margin-bottom: 30px;
    }
    .l-section#slider .metaslider .caption .contatti_slide a {
        margin: 10px 0;
        display: block;
    }
	.l-section#slider .box_contatti_slide {
		margin: 0 auto 20px;
		text-align: center;
		justify-content: center;
	}

    #newsletter input[type="submit"].btn {
        min-width: 100px;
    }

    .page .l-section.full_height.width_full {
        min-height: 90vh;
        padding: 0 15px;
    }
    .page .l-section.full_height.width_full h1 {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: 1px;
        margin: 30px 0 20px;
    }
    .page .l-section.full_height.width_full p {
        font-size: 18px;
        line-height: 25px;
    }
    .page .l-section.full_height.width_full a.btn_arrow {
        margin-top: 0;
    }
    #gallery .w-grid .g-filters .g-filters-item {
        min-width: 150px;
    }

}
@media screen and (max-width: 480px) {

    header#page-header .l-subheader.at_middle {
        line-height: 70px;
        height: 70px;
    }
    header#page-header .l-subheader.at_middle .w-image.ush_image_1 {
        height: 70px!important;
    }
    header#page-header .l-subheader-cell.at_right nav {
        margin-left: 0;
    }

    #servizi .w-grid .w-grid-item {
        padding: 0 10px;
    }
    #servizi .w-grid h4 {
        margin: 10px 0;
        letter-spacing: 0px;
    }
    #servizi .w-grid p {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 30px;
    }
    #news .w-grid .w-grid-item {
        margin-bottom: 2rem;
    }
    #news .w-grid .w-grid-item-h:before {
        /* padding-bottom: 90%; */
    }
    #news .w-grid .w-grid-item-h img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    #news .w-grid .w-post-elm.post_image {
        position: relative!important;
    }
    #news .w-grid .w-vwrapper.usg_vwrapper_1 {
        position: relative!important;
        top: auto!important;
        bottom: 0!important;
        opacity: 1;
    }
    #news .w-grid  h4 {
        font-size: 16px!important;
        line-height: 22px!important;
    }
    #news .w-grid .w-post-elm.post_content {
        font-size: 14px;
        line-height: 20px;
    }

}
