

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 820px) 
and (orientation: portrait) { 
    
        .single-product {
            display: grid
        ;
            grid-template-columns: 18rem auto;
            gap: 4rem;
            padding: 4rem 0;
            justify-items: start;
            border-bottom: 1px solid #ab3636;
        }
    
    .pad-3 {
    padding-top: 0;
}

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

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

    .single-prod {
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }

    .single-prod:hover {
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }

    .h3-a {
        font-size: 28px;
        line-height: 30px;
    }

    .prod-text h3 {
        font-size: 28px;
        line-height: 30px;
    }

    .line-title::before, .line-title::after {
        width: 18%;
    }

    .prod-container {
        grid-template-columns: 1fr;
    }

    .loghi-caminetti {
        margin-top: 1rem;
    }

    .prod-img {
        height: 15rem;
        width: 18rem;
    }

    .mat-img-1.tablet-none{
        display: none;
    }

    .mat-img-2.tablet-none{
        display: none;
    }

    .tab-mat-imgs{
        display: flex;
        justify-content: space-between;
    }

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

    .mat-img-2 {
        height: 20rem;
        height: 17rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 50%;
    }

    .mat-img-1 {
        height: 20rem;
        height: 17rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 40%;
    }

    .mat-columns {
        flex-direction: column;
    }

    .prod-cta span {
        transform: translateY(0);
    }

    .mat-img {
        height: 22rem;
    }

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

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

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

    .hero-title h1 {
        font-size: 75px;
        line-height: 80px;
    }

    .hero-title {
        height: 80vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .slides {
        height: 80vh;
    }

    .gabri-container {
        align-items: self-start;
    }

    .gabri-img {
        width: 20rem;
    }

    .gabri-text {
        padding: 1rem;
        max-width: 100%;
        padding-bottom: 0;
        padding-left: 0.5rem;
        padding-top: 0;
    }

    .gabri-content{
        flex-direction: column;
        align-items: self-start;
    }

    .icon {
        flex: 0 0 17%;
    }

    .icons_container {
        flex-wrap: wrap;
        gap: 1rem 4rem;
    }

    .window-map-simple {
        min-width: unset;
    }

    .item-content {
        flex: 0 0 55%;
    }

    .item-address {
        flex: 0 0 20%;
    }

    .map-filter {
        margin-top: 1rem;
    }

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

    .video > iframe {
        height: 40vh;
    }

    .popup-video {
        padding: 1rem !important;
        left: 0;
        width: 100%;
        bottom: 17rem;
        padding-top: 4rem !important;
        height: 53vh;
    }

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

    .post-img {
        flex: 0 0 30%;
    }

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

    .col-3-logout {
        margin-top: 2rem;
    }

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

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

    #map-b {
        height: 45vh;
    }

    .item-address {
        padding: 0;
    }

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

    .item-image {
        height: 15vh;
    }

    .col-flex-80 {
        display: flex;
        flex: inherit;
        width: 90%;
    }

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

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

    .item-h3 {
        font-size: 30px;
    }

    .item-svg {
        width: 4rem;
    }

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

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

    .title-storia {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 12px;
    }

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

    .item-type {
        font-size: 18px;
        line-height: 22px;
    }

    .item-title {
        font-size: 30px;
        line-height: 34px;
    }

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

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

    .col-login {
        width: 35%;
    }

    .b-gallery-card__heading_single {
        color: #000;
    }

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

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

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


    .progetti{
        margin-bottom: 3rem;
    }

    .hero {
        padding-bottom: 0;
    }

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

    .col-6 {
        width: 100%;
        margin-bottom: 0;
    }

    .storia {
        margin-top: 2rem;
    }

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

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

    .col-storia{
        width: 100%;
    }

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

    .mobile-controls{
        display: block;
    }

    .slide_text{
        height: 45%;
    }

    .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: 20px;
    }

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

    .slide_title {
        font-size: 80px;
        line-height: 85px;
        padding-bottom: 35px;
    }

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

    .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: 4.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__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: 0 0.5rem;
        padding-top:0 !important;
    }


    .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: 50%;
    }

    .plan-container {
        padding: 0 0.5rem;
        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;
    }

    .swiper-slider-home {
        padding: 2rem;
    }

    .swiper-slider-home.azienda-swiper{
        padding: 0.5rem;
    }

    .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{
        left: inherit!important;
        right: 0;
    }

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

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

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

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

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: 20vh;
    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 1rem;
}

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

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

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

.window-map {
    min-width: 20rem;
}

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


.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0;
    left: 12px;
    padding: 0 3rem 1.5rem 3rem;
}

.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: center;
    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: 2rem;
    padding-right: 2rem;
}

.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: 2rem;
    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(40%);
}

.body-window-map{
    /* min-width: 20rem; */
}

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

.img-window {
    height: 10rem;
}

.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: 820px) 
and (max-device-width: 1020px) 
and (orientation: portrait) { 


    .hero-title {
        height: 75vh;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .slides {
        height: 75vh;
    }

    .popup-video {
        bottom: 20rem;
    }

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

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

    .side-menu {
        margin-right: 2rem;
    }

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

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

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

    .responsive-phone{
        display: block;
    }

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

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



}






@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
      
      
      
    .pad-3 {
        padding-top: 0;
    }
    .cta:hover{
        -webkit-box-shadow: inherit;
        box-shadow: inherit;
    }

    .single-prod {
        display: grid;
        grid-template-columns: 6rem auto;
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }
    


    .single-prod:hover {
        -webkit-box-shadow: 5px 5px 0px 0px #ab3636;
        box-shadow: 5px 5px 0px 0px #ab3636;
    }

    .h3-a {
        font-size: 28px;
        line-height: 30px;
    }

    .prod-text h3 {
        font-size: 28px;
        line-height: 30px;
    }

    .line-title::before, .line-title::after {
        width: 31%;
    }

    .loghi-caminetti {
        margin-top: 2rem;
    }

    .prod-img {
        height: 15rem;
    }

    .mat-img-1.tablet-none{
        display: none;
    }

    .mat-img-2.tablet-none{
        display: none;
    }

    .tab-mat-imgs{
        display: flex;
        justify-content: space-between;
    }

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

    .mat-img-2 {
        height: 20rem;
        height: 17rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 50%;
    }

    .mat-img-1 {
        height: 20rem;
        height: 17rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 40%;
    }

    .mat-columns {
        flex-direction: column;
    }

    .prod-cta span {
        transform: translateY(0);
    }

    .hero-title {
        height: 65vh;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .slides {
        height: 65vh;
    }

    .gabri-container {
        align-items: self-start;
    }


    .gabri-img {
        width: 20rem;
        height: 12rem;
    }

    .gabri-text {
        padding: 1rem;
        max-width: 100%;
        padding-bottom: 0;
        padding-left: 0.5rem;
        padding-top: 0;
    }

    .gabri-content{
        flex-direction: column;
        align-items: self-start;
    }

    .icons_container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .map-filter {
        margin-top: 1rem;
    }

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

    .box-item-content > *:last-child {
        flex: 0 0 25%;
    }

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

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

    .post-img {
        flex: 0 0 25%;
        height: 15vh;
    }

    .item-address {
        padding: 0;
    }

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

    .item-image {
        height: 15vh;
    }

    .col-flex-80 {
        display: flex;
        flex: inherit;
        width: 90%;
    }

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

    .storia-gallery {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .b-gallery-card__heading_single {
        color: #000;
    }

    .slide_title {
        font-size: 100px;
        line-height: 105px;
    }

    .slide_subtitle {
        margin-bottom: 35px;
        font-size: 16px;
    }


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

    .mobile-nav {
        gap: 20rem;
    }

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

    .mobile-controls {
        display: block;
    }

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


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

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

    .cta-container {
        padding-right: 3rem;
    }

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


    .menu-horizontal{
        display: none;
    }


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

    .site-header__logo {
        margin-left: 2rem;
    }

    .header__menu{
        left: inherit!important;
        right: 0;
    }

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

    .menu-open .header__menu {
        width: 55%!important;
        transform: translateX(0);
    }
    
    .desc-banner{
        display: none;
    }

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

    .cta-content {
        padding: 2rem;
    }
 
    .slider-home {
        height: 20vh;
    }
    
    .popup {
        bottom: 18rem;
        left: 4rem;
        width: calc(100% - 8rem);
    }


    .video > iframe {
        height: 40vh;
    }

    .popup-video {
        padding: 1rem !important;
        left: 0;
        width: 100%;
        bottom: 25rem;
        padding-top: 4rem !important;
        height: 50vh;
    }

    .controls {
        margin: auto 2rem;
    }

    .item-gallery > img {
        margin-top: 30%;
    }

    .responsive-phone {
        display: block;
    }

    #map {
        height: 50vh;
    }

    .side-menu {
        margin-right: 2rem;
    }

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

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

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

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

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

    .b-gallery-card__heading {
        width: 100%;
    }

    .responsive-phone{
        display: block;
    }












}

  