/*
Theme Name: D'ambrosio & cordasco
Author: Claudio D'Onofrio
Version: 1.0
*/

/* #### GENERALI ####*/
    *{
        font-family: "Abel", sans-serif;
    }

    @import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');

    .abel-regular {
    font-family: "Abel", sans-serif;
    font-weight: 400;
    font-style: normal;
    }
    .swiper {
        width: 100%;
        height: 100%;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .underlink{
        text-decoration: underline;
    }
/* #### //GENERALI ####*/

  
/* #### HOME ####*/
    #sezioneUnoHome .containerSezioneUnoHome{
        position: relative;
        padding-block: 30px;
    }
    #sezioneUnoHome .containerSezioneUnoHome::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        background-image: url(/media/elementiMontaggio/backgroundSezioneUnoHome.png);
        background-size: auto;
        background-position: center;
        background-repeat: no-repeat;
        width: 50%;
        height: 100%;
        transform: translateX(50%);
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaTitoliPagina h3{
        font-size: 36px;
        line-height: 36px;
        color: black;
        font-weight: 400;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaTitoliPagina h1{
        font-size: 80px;
        line-height: 85px;
        color: black;
        font-weight: 400;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaTitoliPagina h1 strong{
        color: #F8C83C;
        font-weight: 400;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaImg{
        position: relative;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaImg .containerImmagine.square {
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 100%;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaImg .containerImmagine.square img {
        display: block; /* Rimuove spazi extra sotto l'immagine */
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaImg .absoluteImg {
        position: absolute;
        height: 100%;
        width: 100%;
        top:0px;
        left: 0px;
        display: flex;
        align-items: center;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaImg .absoluteImg img{
        width: 100%;
        height: auto;
        object-fit: contain;
        transform: translate(-15%, 45%);
        -webkit-transform: translate(-15%, 45%);
        -moz-transform: translate(-15%, 45%);
        -ms-transform: translate(-15%, 45%);
        -o-transform: translate(-15%, 45%);
    }
    #sezioneUnoHome .containerSezioneUnoHomeDue p{
        font-size: 16px;
        line-height: 25px;
        color: black;
        font-weight: 400;
    }

    #sezioneDueHome .containerSezioneDueHome{
        background: linear-gradient(180deg,rgba(255, 255, 255, 1) 15%, rgba(241, 241, 241, 1) 15%, rgba(241, 241, 241, 1) 85%, rgba(255, 255, 255, 1) 85%);
        position: relative;
    }
    #sezioneDueHome .containerSezioneDueHome img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #sezioneDueHome .containerSezioneDueHome .colonnaImgDoppia img{
        max-height: 265px;
    }
    #sezioneDueHome .containerSezioneDueHome .colonnaTesto h3{
        font-size: 54px;
        line-height: 54px;
        color: #BDBDBD;
        font-weight: 400;
    }
    #sezioneDueHome .containerSezioneDueHome .colonnaTesto p{
        font-size: 16px;
        line-height: 25px;
        color: black;
        font-weight: 400;
        padding-block: 20px;
    }
    #sezioneDueHome .containerSezioneDueHome .colonnaTesto a{
        font-size: 14px;
        line-height: 14px;
        color: #333333;
        font-weight: 400;
        text-decoration: none;
        background-color: white;
        padding: 20px 15%;
        display: flex;
        gap: 20px;
        width: fit-content;
    }
    #sezioneDueHome .containerSezioneDueHome .colonnaTesto a i{
        font-size: 14px;
        line-height: 14px;
        color: #333333;
        text-decoration: none;
    }
    #sezioneDueHome .containerSezioneDueHome .denteAbsolute{
        position: absolute;
        top: -1%;
        right: 3%;
    }
    #sezioneDueHome .containerSezioneDueHome .whatsappAbsolute{
        position: absolute;
        top: 30%;
        right: -10%;
    }

    #sezioneTreHome{
        background-color: #F8DB9C;
    }
    #sezioneTreHome .rowBlock{
        min-height: 286px;
    }
    #sezioneTreHome .containerSezioneTreHome h2{
        font-size: 60px;
        line-height: 65px;
        color: black;
        font-weight: 400;
    }
    #sezioneTreHome .containerSezioneTreHome .containerImg{
        transform: translateY(-10%);
    }

    #sezioneQuattroHome .contenutoDoppiaSezioneHome{
        background-image: url(/media/elementiMontaggio/backgroundSectionFour.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;  
        padding: 5%;
    }
    #sezioneQuattroHome h3.sectionTitle{
        font-size: 40px;
        line-height: 40px;
        color: black;
        font-weight: 400;   
    }
    h3.titleSection {
        font-size: 40px;
        line-height: 40px;
    }
    #sezioneQuattroHome .containerServizi{
        padding: 5% 5% 2% 5%;
        -webkit-box-shadow: 4px 4px 18px 6px rgba(0, 0, 0, 0.3);
        box-shadow: 4px 4px 18px 6px rgb(0 0 0 / 30%);
    }
    #sezioneQuattroHome .containerServizi .swiper-wrapper{
        position: relative;
    }
    #sezioneQuattroHome .containerServizi .containerControllerSlider{
        position: absolute;
        bottom: 0;
        width: 50%;
        height: 100%;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    #sezioneQuattroHome .containerServizi .containerControllerSlider .swiper-pagination-fraction{
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        color: #E0E0E0;
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
        font-family: "Abel", sans-serif;
        gap: 20px;
        padding-left: 10px;
    }
    #sezioneQuattroHome .containerServizi .containerControllerSlider .swiper-pagination-fraction span{
        color: #E0E0E0;
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
        font-family: "Abel", sans-serif;
    }
    #sezioneQuattroHome .containerServizi .containerControllerSlider .swiper-pagination-fraction span.swiper-pagination-current{
        color: #000000;
    }
    #sezioneQuattroHome .containerServizi .containerSlide p.titleSlide{
        font-size: 30px;
        line-height: 35px;
        color: #000000;
    }
    #sezioneQuattroHome .containerServizi .containerImg{
        max-height: 340px;
        overflow: hidden;
        position: relative;
    }
    #sezioneQuattroHome .containerServizi .containerImg img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #sezioneQuattroHome .containerServizi .containerImg .containerLink{
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        width: 100%;
    }
    #sezioneQuattroHome .containerServizi .containerImg .containerLink a{
        font-size: 16px;
        line-height: 16px;
        color: #333333;
        font-weight: 400;
        text-decoration: none;
        background-color: white;
        padding: 3% 15% 3% 3%;
        display: flex;
        gap: 20px;
        width: fit-content;
    }
    #sezioneQuattroHome .containerServizi .containerImg .containerLink a i{
        font-size: 14px;
        line-height: 14px;
        color: #333333;
        text-decoration: none;
    }
    #sezioneQuattroHome .containerCasiClinici{
        background-color: #F1F1F1;
        padding: 6% 3% 4% 6%;
    }
    #sezioneQuattroHome .containerCasiClinici .titleSlide{
        font-size: 41px;
        line-height: 42px;
        color: #000000;
    }
    #sezioneQuattroHome .containerCasiClinici .swiperCasiCliniciHome .containerContenutoSlide{
        background-color: #FBFBFB;
    }
    #sezioneQuattroHome .containerCasiClinici .swiperCasiCliniciHome .containerContenutoSlide .readButton{
        font-size: 14px;
        line-height: 14px;
        color: #333333;
        font-weight: 400;
        text-decoration: none;
        background-color: white;
        padding: 20px 15%;
        display: flex;
        gap: 20px;
        width: fit-content;
    }
    #sezioneQuattroHome .containerCasiClinici .swiperCasiCliniciHome .swiper-slide{
        background-color: #F1F1F1;
    }
    #sezioneQuattroHome .containerCasiClinici .containerControllerSliderCasiCliniciHome .swiper-pagination-fraction{
        position: relative;
        top: 0;
        left: 0;
        display: flex;
        color: #E0E0E0;
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
        font-family: "Abel", sans-serif;
        gap: 20px;
        padding-left: 10px;
    }
    #sezioneQuattroHome .containerCasiClinici .containerControllerSliderCasiCliniciHome .swiper-pagination-fraction span{
        color: #E0E0E0;
        font-size: 20px;
        line-height: 22px;
        font-weight: 400;
        font-family: "Abel", sans-serif;
    }
    #sezioneQuattroHome .containerCasiClinici .containerControllerSliderCasiCliniciHome .swiper-pagination-fraction span.swiper-pagination-current{
        color: #000000;
    }

    #sezioneCinqueHome .containerSezioneCinqueHome title h3.titleSection{
        font-size: 55px;
        line-height: 58px;
        color: black;
        font-weight: 400;   
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .swiperServizi .containerImg{
        height: 150px;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .swiperServizi .containerImg::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(/media/elementiMontaggio/underService.png);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: auto;
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .swiperServizi .containerImg img{
        width: 70%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .swiperServizi p{
        font-size: 25px;
        line-height: 28px;
        color: black;
        font-weight: 400;   
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .veditutti a{
        font-size: 20px;
        line-height: 20px;
        color: black;
        font-weight: 400;   
        padding: 10px 30px;
        background-color: #F8C83C;
    }
/* #### //HOME ####*/

/* #### FOOTER ####*/
    footer{
        background-color: #2C2C2C;
    }
/* #### //FOOTER ####*/


/* #### LO STUDIO ####*/
    #sezioneUnoStudio .containerSezioneUnoStudio .pretititle p{
        font-size: 29px;
        line-height: 30px;
        color: ;
        font-weight: 400;   
    }
    #sezioneUnoStudio .containerSezioneUnoStudio .containerSection h1{
        font-size: 70px;
        line-height: 70px;
        color: #F8C83C;
        font-weight: 400;   
    }
    #sezioneUnoStudio .containerSezioneUnoStudio .containerSection p{
        font-size: 16px;
        line-height: 25px;
        color: black;
        font-weight: 400;   
    }
    #sezioneDueStudio .containerSezioneDueStudio .containerImgStudio{
        background-image: url("/media/elementiMontaggio/backgroundSezioneUnoHome.png");
        background-size: auto;
        background-position: 95%;
        background-repeat: no-repeat;
    }
    #sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio h3{
        font-size: 70px;
        line-height: inherit;
        color: #F8C83C;
        font-weight: 400; 
    }
    #sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio span{
        font-size: 51px;
        line-height: initial;
        color: #F8C83C;
        font-weight: 400; 
        writing-mode: vertical-rl;
        text-orientation: upright;
    }
    #sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio p{
        font-size: 16px;
        line-height: 25px;
        color: black;
        font-weight: 400; 
    }
/* #### //LO STUDIO ####*/


/* #### SERVIZI ####*/
    #sezioneServizi .containerSezioneServizi .containerServizioInList .containerImg{
        height: 150px;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    #sezioneServizi .containerSezioneServizi .containerServizioInList .containerImg::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(/media/elementiMontaggio/underService.png);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: auto;
    }
    #sezioneServizi .containerSezioneServizi .containerServizioInList .containerImg img{
        width: 50%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    #sezioneServizi .containerSezioneServizi .containerServizioInList p{
        font-size: 25px;
        line-height: 27px;
        color: black;
        font-weight: 400;   
    }
/* #### //SERVIZI ####*/

/* #### TEAM ####*/
    #sezioneTeam .containerSezioneTeam .containerTeamInList .containerImg {
        position: relative;
        width: 100%;
        padding-top: 100%; /* rende l'altezza uguale alla larghezza */
        border-radius: 50%;
        overflow: hidden;
    }
    #sezioneTeam .containerSezioneTeam .containerTeamInList .containerImg img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* copre tutto lo spazio mantenendo il focus visivo */
    }
    #sezioneTeam .containerSezioneTeam .containerTeamInList .contenutoTestuale  p,
    #sezioneTeam .containerSezioneTeam .containerTeamInList .contenutoTestuale  a{
        font-size: 20px;
        line-height: inherit;
        color: #333333;
        font-weight: 400; 
    }
    #sezioneTeam .containerSezioneTeam .containerTeamInList .contenutoTestuale  span {
        font-size: 18px;
    }
    #sezioneTeam .containerSezioneTeam .containerTeamInList .contenutoTestuale  p.nomeTeam {
        font-size: 25px;
        line-height: inherit;
        color: #F8C83C;
        font-weight: 400; 
    }
/* #### //TEAM ####*/

/* #### CASI CLINICI ####*/
    #sezioneCasiClinici .containerSezioneCasiClinici .containerCasoClinicoInList{
        background-color: #FBFBFB;
    }
    #sezioneCasiClinici .containerSezioneCasiClinici .containerCasoClinicoInList .readButton{
        font-size: 14px;
        line-height: 14px;
        color: #333333;
        font-weight: 400;
        text-decoration: none;
        background-color: white;
        padding: 20px 15%;
        display: flex;
        gap: 20px;
        width: fit-content;
    }
/* #### //CASI CLINICI ####*/

/* #### TECNOLOGIE ####*/
    .sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerimg{
        height: 360px;
    }
    .sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerimg img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerLink{
        background-color: #333333;
    }
    .sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerLink a{
        color: #F8C83C;
    }
    .sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerLink i{
        margin-left: 20px;
        background-color: #F8C83C;
        color: #000000;
        padding: 5px;
    }
/* #### //TECNOLOGIE ####*/

.articolo-tit{
    font-size: 1.7rem;
    margin-top: 10px;
}

/* #### CONTATTI ####*/
    #sezioneTreHome.sezioneContatti h2{
        font-size: 45px;
        line-height: 45px;
        color: black;
        font-weight: 400;
    }     
    #sezioneTreHome.sezioneContatti p{
        font-size: 20px;
        line-height: 30px;
        color: black;
        font-weight: 400;
    }     
    #sezioneTreHome.sezioneContatti a{
        font-size: 15px;
        line-height: 15px;
        color: #333333;
        font-weight: 400;
        background-color: white;
        padding: 20px;
        margin-top: 20px;
    }     
    #blocco-contatti form input,
    #blocco-contatti form textarea{
        border: none !important;
        box-shadow: none;
        background-color: #F3F3F3;
        border-radius: 2px;
    }
    #blocco-contatti form .bottoneContatti{
        font-size: 16px;
        padding: 10px 30px;
        border: none !important;
        box-shadow: none;
        background-color: #333333;
        color: white;
        border-radius: 2px;
        margin-top: 10px;
    }
    #blocco-contatti form .bottoneContatti i{
        margin-left: 20px;
    }
/* #### //CONTATTI ####*/


@media screen and (max-width: 1024px) {
    body, html{
        overflow-x: hidden;
    }
    #sezioneUnoHome .containerSezioneUnoHome::before{
        transform: translateX(100%);
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaTitoliPagina h3 {
        font-size: 36px;
        line-height: 36px;
        text-align: center;
    }
    #sezioneUnoHome .containerSezioneUnoHome .colonnaTitoliPagina h1 {
        font-size: 46px;
        line-height: 46px;
        text-align: center;
    }
    .whatsappAbsolute{
        display: none;
    }
    #sezioneDueHome .containerSezioneDueHome{
        background: linear-gradient(180deg, rgba(241, 241, 241, 1) 15%, rgba(241, 241, 241, 1) 15%, rgba(241, 241, 241, 1) 85%, rgba(255, 255, 255, 1) 85%);
    }
    #sezioneDueHome .containerSezioneDueHome .denteAbsolute{
        display: none;
    }
    #sezioneTreHome .containerSezioneTreHome .containerImg img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #sezioneTreHome .containerSezioneTreHome h2 {
        font-size: 60px;
        line-height: 61px;
        text-align: center;
    }
    #sezioneQuattroHome h3.sectionTitle {
        font-size: 40px;
        line-height: 40px;
    }
    #sezioneQuattroHome .containerServizi .containerSlide p.titleSlide {
        font-size: 32px;
        line-height: 35px;
    }
    #sezioneQuattroHome .containerServizi .containerControllerSlider{
        display: none;
    }
    #sezioneQuattroHome .containerCasiClinici .titleSlide {
        font-size: 32px;
        line-height: 35px;
    }
    .containerControllerSliderCasiCliniciHome{
        display: none;
    }
    #sezioneCinqueHome .containerSezioneCinqueHome .swiperServizi p {
        font-size: 22px;
        line-height: 24px;
    }
    #footer .titleFooter{
        margin-bottom: 15px;
        margin-top: 10px;
        font-size: 20px;
        font-weight: bold;
    }
    #sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio h3 {
        font-size: 60px;
        line-height: inherit;
        color: #F8C83C;
        font-weight: 400;
    }
    #sezioneUnoStudio .containerSezioneUnoStudio .containerSection h1 {
        font-size: 70px;
        line-height: 70px;
    }
    #sezioneTreHome.contattiPage .containerSezioneTreHome h2{
        font-size: 44px;
        line-height: 45px;
        text-align: center;
    }
}


/*--------------------------------------------------*/
                    /*BLOG*/
/*--------------------------------------------------*/ 
  .titolo-categoria{
    text-transform: uppercase;
  }
  #blog{
    padding-bottom: 25px;
  }
  #blog-dettaglio{
    padding-bottom: max(40px, min(10vw, 100px));
  }
  #blog-dettaglio #dettaglio{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #blog-dettaglio #dettaglio .container-image{
    flex: 0 0 100%;
    max-width: 744px;
  }
  #blog-dettaglio #dettaglio .container-image img{
    width:100%;
    height: auto;
    object-fit: cover;
  }
  #blog-dettaglio #dettaglio .content{
    flex: 0 0 100%;
    max-width: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #blog-dettaglio #dettaglio .content .articolo-tit{
    font-weight: bold;
    color: black !important;
    font-size: max(18px, min(4.5vw, 22px));
    line-height: max(23px, min(5.75vw, 27px));
    padding-top: max(26px, min(6.5vw, 54px));
  }
  #blog-dettaglio #dettaglio .content .articolo-desc{
    font-size: 14px;
    line-height: 19px;
  }
  #blog-dettaglio #dettaglio .content .post-share a{
    background-color: var(--primary);
    color: white !important;
    padding: 5px;
    border-radius: 5px;
  }
  .articolo-read-more{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #F8C83C;
  }
  
/*--------------------------------------------------*/ 
                  /*BLOG END*/
/*--------------------------------------------------*/ 

#containerFooter hr{
    color: white;
    border-top: 1px solid white;
    max-width: 150px;
    margin-inline: 0;
    margin-block: 13px;
}

#sezioneQuattroHome .swiperServiziHome .swiper-button-next,
#sezioneQuattroHome .swiperServiziHome .swiper-button-prev{
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    box-shadow: 0 0 12px 4px #0000004d;
}

#sezioneQuattroHome .swiperServiziHome .swiper-button-next:after,
#sezioneQuattroHome .swiperServiziHome .swiper-button-prev:after{
    font-size: 21px;
    font-weight: bold;
    color: #f8c83c;
}

.headerPrivacy{
    border-bottom: 0;
    padding-bottom: 0px;
}
.headerPrivacy h5{
    color: #f8c83b;
    font-weight: bold;
}
.modal-privacy button.btn-secondary{
    background-color: #F8DB9C;
    border: none;
    color: #000000;
}
.modal-privacy #collapseOpzioni{
    margin-block: 10px;
}
.modal-privacy .denteAbsolute{
    position: absolute;
    top: -25%;
    right: -10%;
}
.modal-privacy .denteAbsolute img{
    max-width: 100px;
}