/*
Theme Name: GDental
Version: 1.0
*/

/* #### GENERALI ####*/
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Montserrat", sans-serif;
}

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

.swiper-pagination-bullet {
    background-color: #fff;
    width: 17px;
    height: 17px;
    opacity: 1;
    box-shadow: 0px 3px 6px #00000029;
}

.swiper-pagination-bullet-active {
    border: 2px solid #fff;
    background-color: #7c7c7f;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px;
    color: var(--primary);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    position: absolute;
    content: "\f30b";
    /* Codice Unicode dell'icona (fa-chevron-right) */
    font-family: "Font Awesome 5 Free";
    /* o "Font Awesome 5 Free"*/
    font-weight: 900;
    /* necessario per le icone "solid"*/
    font-size: 1rem;
    color: #7c7c7f;
}

.swiper-button-prev:after {
    content: "\f30a";
    /* Codice Unicode dell'icona (fa-chevron-right)*/
}
.navbar-toggler{
    position: absolute;
    right: 1rem;
    top: 30%;
}
/* #### //GENERALI ####*/


/* #### HOME ####*/
#sezioneUnoHome {
    position: relative;
}

#slider-home {
    visibility: hidden;
}

#slider-home.swiper-ready {
    visibility: visible;
}

#slider-home .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
/* ---------- ELLISSE IN BASSO SINISTRA ---------- */
#slider-home .swiper-slide::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: clamp(900px, 70vw, 1500px);
    height: clamp(470px, 40vw, 780px);
    border-radius: 50%;
    left: -15vw;
    bottom: -24vw;
    background: rgba(255, 255, 255, 0.76);
    z-index: 1;
}

/* ---------- SFERA IN ALTO DESTRA ---------- */
#slider-home .swiper-slide::after {
    content: '';
    position: absolute;
    width: clamp(250px, 50vw, 900px);
    height: clamp(250px, 50vw, 900px);
    background: rgba(129,180,87,0.86);
    border-radius: 50%;
    top: -25vw;
    right: -16vw;
    z-index: 1;
    pointer-events: none;
    animation: floatSphere 18s ease-in-out infinite alternate;
    will-change: transform;
}
#slider-home .carousel-caption {
    left: 50px;
    padding: 0;
}
/* ---------- ANIMAZIONE SFERA ---------- */
@keyframes floatSphere {
    0%   { transform: translate(0,0); }
    50%  { transform: translate(-20px,15px); }
    100% { transform: translate(0,0); }
}

/* ---------- TITOLI ---------- */
#slider-home .carousel-caption .caption-title {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-size: 75px;
    line-height: 70px;
    color: #7c7c7f;
    text-align: left;
}

#slider-home .carousel-caption .caption-title strong {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 55px;
}

@media (max-width: 1024px) {
    #slider-home .swiper-slide::before {
        width: 700px;
        height: 360px;
        left: -100px;
        bottom: -180px;
    }

    #slider-home .swiper-slide::after {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    #slider-home .carousel-caption .caption-title {
        font-size: 50px;
        line-height: 50px;
    }

    #slider-home .carousel-caption .caption-title strong {
        font-size: 35px;
    }
}

@media (max-width: 576px) {
    #slider-home {
        height: 50vh;
    }

    #slider-home .carousel-caption {
        left: 1rem;
        bottom: 0;
    }
    #slider-home .swiper-slide::before {
        width: 400px;
        height: 200px;
        left: -50px;
        bottom: -100px;
    }
    #slider-home .swiper-slide::after {
        width: 150px;
        height: 150px;
        top: -70px;
        right: -50px;
    }
    #slider-home .carousel-caption .caption-title {
        font-size: 32px;
        line-height: 36px;
    }

    #slider-home .carousel-caption .caption-title strong {
        font-size: 22px;
    }
}
/*#slider-home .swiper-slide::before {
    pointer-events: none;
    background: rgba(255, 255, 255, 76%);
    content: '';
    position: absolute;
    width: clamp(900px, 70vw, 1500px);
    height: clamp(470px, 40vw, 780px);
    border-radius: 50%;
    left: -15vw;
    bottom: -24vw;
    z-index: 1;
    pointer-events: none;
}
@keyframes floatSphere {
    0% {
        transform: translate(0,0);
    }
    50% {
        transform: translate(-30px,20px);
    }
    100% {
        transform: translate(0,0);
    }
}
#slider-home .swiper-slide::after {
    content: '';
    position: absolute;
    width: clamp(250px, 50vw, 900px);
    height: clamp(250px, 50vw, 900px);
    background: rgba(129,180,87,0.86);
    border-radius: 50%;
    top: -25vw;
    right: -16vw;
    z-index: 1;
    pointer-events: none;
    /*animation: floatSphere 14s ease-in-out infinite;
    animation: floatSphere 18s ease-in-out infinite alternate;
    will-change: transform;
}
#slider-home .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
#slider-home .carousel-caption {
    left: 50px;
    text-align: left;
}
#slider-home .carousel-caption .caption-title {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-size: 75px;
    line-height: 70px;
    color: #7c7c7f;
    text-align: left;
    /*text-shadow: 0px 3px 6px #00000029;
}
#slider-home .carousel-caption .caption-title strong {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 55px;
}

@media (max-width: 768px) {
     #slider-home .swiper-slide::before {
        width: 500px;
        height: 260px;
        left: -50px;
        bottom: -100px;
    }
    #slider-home,#slider-home .swiper-slide {
        height: auto;
    }
    #slider-home .swiper-slide img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    #slider-home .carousel-caption {
        bottom: 0;
        padding: 0;
        left: 1rem;
    }
    #slider-home .carousel-caption .caption-title {
        font-size: 45px;
        line-height: 48px;
    }
    #slider-home .carousel-caption .caption-title strong {
        font-size: 25px;
    }
}

@media (max-width: 576px) {
    #slider-home .carousel-caption .caption-title {
        font-size: 2rem;
        line-height: 2.2rem;
    }
}*/

/*
    #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: var(--primary);
        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-family: "League Spartan", sans-serif;
    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-family: "League Spartan", sans-serif;
    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-family: "League Spartan", sans-serif;
    font-size: 40px;
    line-height: 40px;
    color: black;
    font-weight: 400;
}

h3.titleSection {
    font-family: "League Spartan", sans-serif;
    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: "Montserrat", 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: "Montserrat", 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: "Montserrat", 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: "Montserrat", 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: 125px;
    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: 0;
    left: -20px;
    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: var(--primary);
}

/* #### //HOME ####*/

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

/* #### //FOOTER ####*/


/* #### LO STUDIO ####*/
#sezioneUnoStudio .containerSezioneUnoStudio .pretititle p {
    font-size: 29px;
    line-height: 30px;
    font-weight: 400;
}

#sezioneUnoStudio .containerSezioneUnoStudio .containerSection h1 {
    font-size: 70px;
    line-height: 70px;
    color: var(--primary);
    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;
}
@media (max-width: 576px) {
    #sezioneDueStudio .containerSezioneDueStudio .containerImgStudio img {
        max-width: 100%;
        height: auto;
    }
}

#sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio h3 {
    font-size: 70px;
    line-height: inherit;
    color: var(--primary);
    font-weight: 400;
}

#sezioneDueStudio .containerSezioneDueStudio .containerTestoStudio span {
    font-size: 51px;
    line-height: initial;
    color: var(--primary);
    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: 125px;
    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: 0;
    left: -20px;
    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: var(--primary);
    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: var(--primary);
}

.sezioneTecnologie .containerSezioneTecnologie .containerCasoClinicoInList .containerLink i {
    margin-left: 20px;
    background-color: var(--primary);
    color: #000000;
    padding: 5px;
}

/* #### //TECNOLOGIE ####*/

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

/* #### CONTATTI ####*/
#sezioneTreHome.sezioneContatti h2 {
    font-family: "League Spartan", sans-serif;
    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 {
    display: inline-flex;
    font-size: 15px;
    line-height: 15px;
    color: #333333;
    font-weight: 400;
    background-color: white;
    padding: 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 ####*/

#blocco-posts table {
    width: 100%;
    border-collapse: collapse;
}

#blocco-posts table td {
    width: 25%;
    text-align: center;
    vertical-align: middle;
    padding: 15px;
}

#blocco-posts table img {
    max-width: 100%;
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* TABLET */
@media screen and (max-width: 991px) {
    #blocco-posts table,
    #blocco-posts table tbody,
    #blocco-posts table tr,
    #blocco-posts table td {
        display: block;
        width: 100% !important;
    }

    #blocco-posts table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #blocco-posts table td {
        width: 50% !important;
        box-sizing: border-box;
    }
}

/* SMARTPHONE */
@media screen and (max-width: 576px) {
    #blocco-posts table td {
        width: 100% !important;
        padding: 20px 10px;
    }

    /*#blocco-posts table img {
        width: 200px;
        max-width: 90%;
    }*/
}

@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: var(--primary);
        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 {
    position: relative;
    flex: 0 0 100%;
    max-width: 744px;
}
#blog-dettaglio.servizi #dettaglio .container-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 100%;
    height: 100%;
    background-image: url(/media/elementiMontaggio/underService.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: auto;
}

#blog-dettaglio:not(.servizi) #dettaglio .container-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
#blog-dettaglio.servizi #dettaglio .container-image img {
    display: block;
    margin: 0 auto;
}

#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, 40px));
    line-height: max(23px, min(5.75vw, 45px));
    padding-top: max(26px, min(6.5vw, 54px));
}

#blog-dettaglio #dettaglio .content .articolo-desc {
    font-size: 14px;
    line-height: 19px;
}

#blog-dettaglio #dettaglio .content .articolo-desc img{
    max-width: 100%;
    height: auto;
}

.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: var(--primary);
}

/*--------------------------------------------------*/
/*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: var(--primary);
}

.headerPrivacy {
    border-bottom: 0;
    padding-bottom: 0px;
}

.headerPrivacy h5 {
    color: var(--primary);
    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;
}