@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 568px) 
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
    
    
.pad-3{
    padding-top:0;
}
    
/* 
    .infocert-link {
        margin-right: 0;
        margin-left: 0;
    } */

    .cta.red:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .h3-b {
        font-size: 28px;
        line-height: 32px;
    }

    .single-cert {
        padding: 3rem 0;
        /* FLEX-DIRECTION: column;
        gap: 2rem; */
    }

    .single-cert,
    .single-cert:last-child {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .h3-b {
        font-size: 32px;
    }

    .single-cert:last-child .cert-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-cta {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .cert-cta .cta {
        padding: 1rem 4.9rem;
    }

















    .logo-cam:hover{
        -webkit-box-shadow: inherit;
        box-shadow: inherit;
    }

    .products-container{
        display: flex;
        flex-direction: column;
        gap: 5rem;
        padding-bottom: 0;
    }

    .prodotti{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .loghi-caminetti {
        margin-top: 0;
    }

    .prod-img {
        height: 13rem;
        width: 100%;
    }

    .single-product {
        grid-template-columns:inherit;
        grid-template-rows: auto auto;
        gap: 2rem;
        padding: 0;
        padding-bottom: 4rem;
      }

    .mat-content {
        padding-bottom: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mat-img-2 {
        height: 15rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }

    .mat-img-1 {
        height: 15rem;
        margin-top: 3rem;
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }
    
    .mat-columns {
        flex-direction: column;
    }

    .hero {
        padding-top: 8rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .h1-a {
        font-size: 50px;
        line-height: 55px;
    }

    .single-prod:hover{
        -webkit-box-shadow: inherit;
        box-shadow: inherit;
    }

    .cta:hover{
        -webkit-box-shadow: inherit;
        box-shadow: inherit;
    }

    .prod-text{
        width: 100%;
    }

    .prod-icon{
        width: 100%;
    }

    .prod-cta {
        display: none;
    }

    .single-prod {
        padding: 1rem;
        gap: 2rem;
    }
    
    

    .prod-container {
        padding-top: 2rem;
        padding-bottom: 0;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .prod-title{
        display: none;
    }

    .prod-title-mobile{
        display: block;
    }

    .prodotti {
        padding: 2rem 1rem 6rem 1rem;
    }

    .cta {
        padding: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mat-cta {
        width: 100%;
    }

    .materiali {
        padding: 4rem 1rem;
    }

    .mat-img{
        height: 15rem;
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }

    .swiper-slide.swiper-mat {
        height: 15rem;
    }

    .mat-txt p {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-right: 0;
    }

    .h2-a {
        font-size: 50px;
        line-height: 50px;
    }

    .slides {
        height: 85vh;
    }

    .cta-slider{
        display: none;
    }

    .col-footer{
        width: 100%;
    }
    
    .hero-title h1 {
        font-size: 50px;
        line-height: 55px;
    }

    .swiper-slide {
        height: 31vh;
    }

    .icon-img{
        flex: 0 0 30%!important;
    }

    .icon-text{
        flex: 0 0 70%!important;
    }

    .icon-h4 {
        text-align: left;
    }

    .icons_container {
        justify-content: space-evenly;
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .icons_container div {
        flex: 0 0 100%;
        gap: 0;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .icon {
        padding: 20px 10px;
        border-bottom: 1px solid #15151550;
    }

    .icons_container div:last-child{
        border:0;
    }

    .gabri-img {
        width: 8rem;
        height: 9rem;
    }

    .gabri-button {
        width: 100%;
    }

    .gabri-text {
        max-width: 100%;
        padding: 0;
        padding-top: 10px;
    }

    .gabri-content {
        padding-left: 0;
        padding-top: 1rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .gabri-container {
        /* pointer-events: auto;
        cursor: pointer; */
        flex-direction: column;
        padding: 1.5rem;
        align-items: self-start;
    }

    .project-container {
        margin-bottom: 1rem;
    }

    #map-b {
        height: 50vh;
        border: 1px solid #000;
    }

    .form-login {
        margin-top: 0rem;
        margin-bottom: 5rem;
    }

    .post-type{
        font-size: 18px;
    }

    .post-title{
        font-size: 28px;
        line-height: 30px;
    }

    .post-button {
        margin-right: 1rem;
    }

    .post-titles {
        padding: 1rem;
    }

    .collapse-files-list > div {
        padding: 1rem;
    }

    .collapse-files-list {
        padding-bottom: 0;
    }

    .box-item {
        padding: 0.5rem;
        margin-bottom: 0;

    }

    .post-img{
        display: none;
    }

    .col-3-logout {
        display: none;
    }

    .logout-container {
        display: block;
    }

    .gm-ui-hover-effect{
        width: 38px!important;
        height: 20px!important;
    }

    .body-window-map-simple {
        padding: 20px;
    }

    .window-map-simple {
        min-width: 15rem;
    }

    .map-filter {
        margin-top: 0;
    }

    .btn-map-all{
        order: 1;
    }

    .btn-map-search{
        margin-right: 0;
        margin-left: 1rem;
        order: 2;
    }

    .col-flex-20 {
        flex: 0 0 100%;
    }

    .fl-4{
        margin-right: 0;
    }

    .col-flex-80 {
        flex: 0 0 100%;
        flex-wrap: wrap;
    }

    .search-map {
        flex-wrap: wrap;
    }

    .item-address h3{
        display: none;
    }

    .item-buttons.mob-no{
        display: none;
    }

    .item-buttons.mob-yes{
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .item-location{
        flex-direction: column;
        margin:0;
        margin-bottom: 30px;
        padding: 1.5rem;
    }

    .item-content {
        padding: 1rem 0 0 0;
    }

    .button-download{
        visibility: hidden;
        opacity: 0;
    }

    .box-item-text {
        margin-left: 1rem;
    }


    .azienda{
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .item-h3 {
        font-size: 26px;
        line-height: 40px;
    }

    .item-svg {
        width: 3rem;
    }

    .servizi-container > div {
        padding: 1rem;
    }

    .servizi-container {
        grid-template-columns: auto;
        padding: 2rem;
      }

    .video > iframe {
        height: 45vh!important;
    }
    
    .popup-video {
        padding: 1rem !important;
        left: 0;
        width: 100%;
        bottom: 8rem;
        padding-top: 4rem !important;
        height: 65vh;
    }

    
    .close-popup-video {
        right: 1rem!important;
        top: 1rem!important;
    }

    .footer{
        padding-top: 3rem;
    }

    .l-gallery-card-list__item{
        order:1!important;
    }

    .l-gallery-card-list__item.flex-center{
        order:2!important;
    }

    .freccia-dx {
        width: 2.8rem;
    }

    .storia-gallery .container, .sec-slide .col-12{
        padding:0;
    }

    .brand-banner { 
        margin-bottom: 0;
    }

    .storia-gallery {
        margin-bottom: 0rem;
    }

    .mob-mb-5{
        margin-bottom: 3rem;
    }

    .title-storia {
        font-size: 24px;
        line-height: 27px;
        margin-bottom: 15px;
    }

    .download-container {
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .download-link {
        pointer-events: auto;
        cursor: pointer;
    }

    .box-item-content > *:nth-child(2) {
        flex: 0 0 80%;
    }

    .box-item-content > *:first-child {
        flex: 0 0 20%;
    }

    .item-type {
        font-size: 14px;
        line-height: 16px;
    }

    .item-title {
        font-size: 18px;
        line-height: 20px;
    }

    .item-img svg {
        width: 3rem;
    }

    .item-img img {
        width: 3rem;
    }



    .item-button {
        opacity: 0;
        visibility: hidden;
    }

    .col-login{
        width: 100%;
    }

    .form-column {
        display: block;
        margin-bottom: 1rem;
    }

    .b-gallery-card__description {
        margin-bottom: 1rem;
        padding: 1rem 0;
        font-size: 18px;
        line-height: 22px;
    }

    .menu-open .header__menu{
        padding-left: 2rem;
        padding-right: 2rem;

    }

    .storia {
        margin-top: 2rem;
    }

    .flex-100{
        flex: 0 0 100%!important;
    }

    .storia-wrapper{
        padding: 1rem!important;
    }

    .storia-r {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .col-storia{
        width: 100%;
    }

    .freccia-sx-slider,
    .freccia-dx-slider{
        transform: translateX(0);
    }

    .mobile-controls{
        display: block;
    }

    .slide_text{
        height: 50%;
    }

    .mob-0{
        padding-top: 0!important;
    }

    .slide_subtitle {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .slide_title {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .home-slider__slide__cta {
        font-size: 16px;
    }

    .slide_subtitle {
        margin-bottom: 15px;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 2px;
    }

    .slide_title {
        font-size: 45px;
        line-height: 47px;
        padding-bottom: 5px;
    }

    .home-slider__nav{
        opacity: 0;
        visibility: hidden;
    }


    .home-slider__slide__cta span:first-child {
        transform: translateY(0);
    }


    .contact-main {
        padding: 2rem 0 5rem 0;
    }

    .h3-f {
        font-size: 30px;
        line-height: 33px;
    }

    form .request-appointment {
        margin-top: 0;
    }

    .contact-form {
        padding: 0 1rem;
    }

    .b-gallery-card:hover .b-gallery-card__img {
        transform: scale(1); 
    }
    
    .b-gallery-card:hover .b-gallery-card__img-wrapper{
        transform: scale(1); 
    }

    .freccia-dx-container{
        width: 3.5rem;
    }

    .arrow-dx-black{
        width: 3.5rem;
    }

    .freccia-dx,
    .freccia-sx{
        transform: translate(0);
    }

    .b-gallery-card{
        margin-bottom: 1rem;
    }

    .b-gallery-card__heading {
        width: 100%;
        line-height: 33px;
        color: #000;
        font-size: 30px;
        letter-spacing: -1px;
    }

    .b-gallery-card__heading_single {
    width: 100%;
    line-height: 33px;
    color: #000;
    font-size: 30px;
    letter-spacing: -1px;
    }
    
    .b-gallery-card__header {
        margin-top: 10px;
    }

    .b-gallery-card__img {
        height: 35vh;
    }

    .b-gallery-card__img.single-img {
        height: 35vh;
    }

    .l-gallery-card-list__item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .l-standard-container {
        padding: 40px 0.5rem;
    }

    .l-gallery-card-list{
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .breadcrumb-page{
        display: none;
    }

    .h1-d{
        font-size: 44px;
        line-height: 45px;
        letter-spacing: -2px;
        padding: 0 0.5rem 2rem 0.5rem;
    }

    .mob-dn{
        display: none;
    }

    .des-dn{
        display: block!important;
    }

    .mob-100{
        width: 100%;
    }

    .mt-cta{
        display: none;
    }

    .footer-menu{
        display: none;
    }

    .sub-menu{
        padding-left: 1rem;
    }

    .header__menu .sub-menu.aperto {
        height: 131px;
    }

    .header__menu li a {
        padding: 20px 0;
    }

    .navbar:not(.navbar--jungle) ul li a, .navbar:not(.navbar--jungle) ul li span {
        font-size: 20px;
        line-height: 25px;
    }

    .card-header{
        padding-left: 0;
        padding-right: 0;
    }

    .card-body {
        padding-left: 0;
        padding-right: 0;
    }

    .breadcrumb-landing{
        display: none;
    }

    .col-hero {
        border-bottom: 0px;
        padding-left: 1.5rem;
    }

    .side-menu{
        margin-right: 0;
    }

    .site-header__logo {
        margin-left: 0!important;
    }

    .left-top-menu-item{
        display: block;
    }

    .flex-menu{
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .responsive-phone{
        display: block;
    }

    .box-image-gallery.plan {
        width: 90%;
        height: 60vh;
    }

    .box-image-gallery {
        width: 90%;
        height: 35vh;
    }

    .controls{
        margin-bottom: 1.5rem;
    }
    
    .col-5 {
        width: 100%;
    }

    .plan-container {
        padding: 0;
        margin-top: 0.5rem;
    }

    .plan-container-b {
        padding: 0 0.5rem;
    }

    .cta-bottom {
        margin-bottom: 3rem;
    }

    .flex-footer{
        flex-direction: column;
    }

    .bottom-footer {
        margin-top: 0!important;
    }

    .link-footer {
        margin-bottom: 10px;
        line-height: 16px;
    }

    .col-2 {
        width: 32.666667%;
    }

    .footer-menu {
        margin-top: 0;
    }

    .edilgosma {
        font-size: 45px;
    }

    .footer-list {
        padding-left: 0;
    }

    .img-slide {
        padding-bottom: 0.5rem;
    }

    .body-feature .item .value{
        line-height: 20px;
    }

    .p-sec .container {
        margin-bottom: 1rem;
    }



    .img-slide {
        flex: 0 0 100%;
    }

    .templates{
        padding: 0;
    }

    .button--mimas svg {
        width: 18px;
        margin-top: 3px;
    }

    .button {
        padding: 1rem 1rem;
        font-size: 16px;
    }

    .list-features {
        margin-top: 1rem;
    }

    .cta-img {
        width: 7rem;
        height: 7rem;
    }

    .title-banner{
        margin-bottom: 1rem;
    }

    .desc-banner{
        display: none;
    }

    .cta-content {
        padding: 1rem;
    }

    .cta-container{
        padding-right: 1rem!important;
        padding-left: 1rem;
        margin-bottom: 1rem;
    }

    .r-mr-3{
        margin-right: 2rem;
    }

    .feature-tab {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .side-menu{
        margin-left: 0;
    }

    .breadcrumbs-landing {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .banner-d {
        font-size: 14px;
    }

    .container-hero {
        margin-top: 5rem;
    }

    .h1-e {
        font-size: 45px;
        line-height: 47px;
        padding: 0;
        letter-spacing: -2px;
    }

    .header__menu{
        padding-top: 5rem;
        width: 100%!important;
        transform: translateX(-100%);
    }

    .menu-open .header__menu {
        width: 100%!important;
        transform: translateX(0);
    }

    .mt-3{
        margin-top: 0!important;
    }
    
    .gallery-pattern{
        background: #000000d9;
    }
    
html{
overflow-x:hidden;
}

.bg-nav {
    padding: 1rem 1rem;
}

body {
    overflow-x: hidden;
}

.logo {
    width: 15rem;
}

.h1-c:before {
    width: 2rem;
    top: 1.75rem;
    height:3px;
}

.h1-c {
    font-size: 2rem;
    line-height: 2.5rem;
}

.h1-c div:first-child {
    text-indent: 4rem;
}

.before-circle {
    padding-left: 3.5rem;
    padding-top: 4rem;
}

.p-content {
    font-size: 16px;
}


.before-circle:before {
    width: 5rem;
    height: 5rem;
    top: 1rem;
    left: 0rem;
}


.slider-home {
    height: 25vh;
    background-position: center;
}


.sec-slide .container, .sec-slide .col-12{
    padding:0;
}



.grid-2 {
    grid-template-columns: 100%;
    gap: 0rem;
    padding: 0;
    margin-top: 0;
}

.text-grid {
    padding-top: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.text-grid p {
    font-size: 18px;
    padding-left: 12px;
    padding-right: 12px;
}

.desc-feature {
    font-size: 18px;
    padding-bottom: 1rem;
}

.body-feature .item .value span {
    /* font-size: 2rem; */
}



.det-features {
    padding-bottom: 0;
}

.body-feature {
    padding: 2rem 3rem;
}

.title-feature {
    font-size: 18px;
}

.head-feature {
    padding: 2rem 3rem;
}

.box-info-slide {
    width: 60%;
    padding: 3rem;
    left: 12px;
}

.window-map {
    padding: 1rem;
}

.gm-style .gm-style-iw-c {
    max-width: 20rem !important;
}

.desc-slide {
    font-size: 12px;
}

.title-slide {
    font-size: 14px;
}

.nav-slides {
    right: 3rem;
}

.request-appointment {
    font-size: 15px;
    text-align: left;
    display: grid;
    grid-template-columns: 70% auto;
    letter-spacing: 0;
    line-height: 18px;
    padding-bottom: 1rem;
    justify-content: space-between;
    align-items: end;
}

.request-appointment svg {
        width: auto;
    height: 3rem;
}


.img-banner {
    width: 15rem;
    height: 15rem;
}

.img-banner img {
    clip-path: ellipse(40% 40% at 50% 40%);
    transform: translateY(1.5rem) translateX(1px);
}

.content-banner {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0;
}

.text-banner {
    padding-left: 0;
}

.title-banner {
    font-size: 19px;
}

.desc-banner {

    font-size: 14px;
}


.top-head {
    display:none;
}

.bg-nav {
    position: fixed;
    width: 100%;
}


.sec-slide {
    padding-top: 0;
}

.list-features {
    gap: 1rem;
    padding-left: 12px;
    padding-right: 12px;
}
.number-feature {
    font-size: 2rem !important;
    line-height: 2rem;
    padding: 0 !important;
}

#map {
    height: 50vh;
}

.p-sec {
    padding: 0 2rem;
}

.box-img {
    margin-bottom: 2rem;
    height:250px;
}

.order-mobile-1{
    order:1;
}


.before-circle-v-2:before {
    width: 5rem;
    height: 5rem;
    top: -2rem;
    left: -2rem;
}

.p-sec .container {
    gap: 3rem;
}


.banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-content: center;
    align-items: center;
    background: #fff;
    padding: 2rem;
}
#contact{
    padding:0 2rem;
}

.p-sec-2 {
    padding-left: 2rem;
    padding-right: 2rem;
}

footer {
    padding-left: 1rem;
    padding-right: 1rem;
}

.copyright {
    font-size: 10px;
}

.title-footer {
    margin-bottom: 0;
    line-height: 16px;
}

.h3-c {
    font-size: 25px;
    line-height: 27px;
}

.input-c {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
}

.label-check {
    line-height: 16px;
    letter-spacing: 0px;
    font-size: 14px;
}


.popup {
    padding: 1rem;
    left: 0;
    width: 100%;

}

.body-popup {
    margin-top: 3rem;
    height: 85vh;
    overflow: scroll;
    margin: 3rem 0 0 0;
    padding-bottom: 5rem;
}

.close-popup {

    right: 1rem;
    top: 1rem;
}

.popup.show {
    transform: translateY(20%);
}


.body-window-map > p {
    font-size: 14px;
}

.img-window {
    height: 7rem;
}

.window-map h4 {
    font-size: 19px;
}

.body-window-map > a {
    font-size: 16px;
}




.h2-c{
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 1px;
}



.circle-img {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background-image: url(/assets/img/jpg/gabriele-fiorenzoni.jpg);
    background-position: top center;
    background-size: cover;
}


.banner-black {
    padding: 2rem;
}


.banner-black p{
    font-size:16px;
    letter-spacing:2px;
}

.banner-green p{
    text-align: left;
}  


}













@media only screen 
and (min-device-width: 390px) 
and (max-device-width: 667px) 
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) { 

    

    .slider-home {
        height: 20vh;
    }






}