*,
*:before,
*:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--background);
}

p, 
a, 
div {
    color: var(--text);
}

a[href^="tel"] {
    color: var(--text);
}

.bold {
    font-weight: 500;
    color: var(--primary) !important;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--dark-gray);
}

:root {
    --primary: #18a0c6;      
    --secondary: #02567b;     
    --accent: #05b6e7;        
    --light: #d3ecf3;        
    --gray: #C5D4E0;         
    --dark-gray: #A9B7C3;    
    --light-gray: #E9F2FA;   
    --text: #2E3A47;         
    --background: #F8FBFF;   
}


/* SCROLLBAR */

::-webkit-scrollbar {
    width: 16px;
    background: transparent; 
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--gray);
    border: 4px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
    border: 4px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
}



::-moz-selection {  
    background: #97d0ff;
}

::selection {
    background: #97d0ff;
}



a {
  text-decoration: none;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}


.container {
  max-width: 1140px;
  width: 85%;
  margin: 0 auto;
}

.spacer {
  height: 30px;
}

@media screen and (max-width: 550px) {
  .spacer {
    height: 20px;
  } 
}

.div-temp {
    background: var(--primary);
}

/* HEADER */

.background {
    position: absolute;
    background: var(--background);
    height: 66px;
    top: 34px;
    width: 100%;
    z-index: 5;
}

.background-topper {
    position: absolute;
    background: var(--secondary);
    height: 34px;
    top: 0px;
    width: 100%;
    z-index: 5;
}

header {
    background: var(--background);
    position: absolute;
    height: 100px;
    width: 100%;
}

header .topper {
    max-width: 1140px;
    width: 85%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: 34px;

    z-index: 10;

    display: flex;
    gap: 30px;
    align-items: center;
}

header .topper div {
    display: flex;
    gap: 6px;
    align-items: center;
}

header .topper div svg {
   height: 16px;
   width: 16px;
}

header .topper div h4 {
    font-size: 14px;
    color: #cacaca;
    font-weight: 500;
}

@media (max-width: 1000px) {

    header .topper a:nth-child(4) {
        display: none;
    }
}

@media (max-width: 700px) {

    header .topper a:nth-child(3) {
        display: none;
    }

    header .topper a:nth-child(4) {
        display: none;
    }
}

header .container {
    margin-top: 34px;
    height: 66px;
    background: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container .logo {
    color: var(--primary);
    font-size: 28px;
    z-index: 10;
    font-weight: 700;
}

header .container .logo .title {
    color: var(--primary);
    font-size: 22px;
    z-index: 10;
    line-height: 28px;
    font-weight: 700;
}

header .container .logo .subtitle {
    color: var(--dark-gray);
    font-size: 10px;
    line-height: 12px;
    z-index: 10;
}

header .container ul {
    position: relative;
}

header .container ul li {
    position: relative;
    list-style: none;
    float: left;
    transition: .2s;

    z-index: 10;
}

header .container ul li a {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

header .container ul li a svg {
    height: 15px;
    width: 15px;
    margin-left: 8px;
    transition: .2s;
    fill: var(--secondary);
}

header .container ul li:hover {
    background: #def0ff;
    transition: .2s;
}

header .container ul li:hover svg {
    transform: rotate(180deg);
    transition: .2s;
}

header .container ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: #fdfdfd;
    display: none;
}

header .container ul li:hover ul {
    display: block;
}

header .container ul li ul li {
    position: relative;
    width: 100%;
    border: 0.5px solid rgba(88, 88, 88, 0.1);
    background: var(--secondary);
}

header .container ul li ul li:hover {
    background: #003dad;
}

header .container ul li ul li a {
    color: var(--background);
}

@media (max-width: 800px) {

    header .topper {
        width: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        height: 34px;
        padding: 0 20px;
    }

    header .container {
        padding: 10px 20px;
        width: 100%;
        z-index: 10;
    }

    header .container nav {
        position: absolute;
        width: 100%;
        top: -500px;
        left: 0;
        background: var(--secondary);
        transition: .5s;
        z-index: 1;
    }

    header.active .container nav {
        top: 100px;
        transition: .5s;
    }

    header .container nav ul li {
        width: 100%;
    }

    header .container nav ul li a {
        color: var(--background);
    }

    header .container nav ul li a svg {
        fill: var(--background);
    }

    header .container ul li:hover {
        background: #0043be;
    }

    header .container nav ul li ul {
        position: relative;
        width: 100%;
        left: 0;
    }

    header .container nav ul li ul li {
        background: #00205c;
    }

    .menuToggle {
        position: relative;
        width: 35px;
        height: 40px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: transform .3s;

        z-index: 10;
    }

    .menuToggle::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--primary);
        transform: translateY(-9px);
        box-shadow: 0 9px var(--primary);
        transition: transform .3s;
    }

    .menuToggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--primary);
        transform: translateY(9px);
        transition: transform .3s;
    }

    header.active .container .menuToggle::before {
        transform: rotate(45deg);
        box-shadow: none;
        transition: transform .3s;
    }

    header.active .container .menuToggle::after {
        transform: rotate(315deg);
        transition: transform .3s;
    }
}


/* BUTTONS */

.buttons {
    height: fit-content;
    background-image: url("../img/homepage.jpg");
    background-size: cover;
    background-position: center;
}

.color {
    height: 100%;
    width: 100%;

    background-color: #3089dbdc;
}

.img-home {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.buttons .container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;

    padding: 100px 0;
}

.button-box div {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--background);
    break-inside: avoid;
    page-break-inside: avoid;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;

    transition: .3s;
}

.button-box div:hover {
    transform: scale(95%);
    transition: .3s;
    background-color: var(--secondary);

    box-shadow: 0px 0px 50px 5px #e4e4e44d;
}

.button-box .svg3 {
    width: 25%;
    margin-top: 22%;
    margin-bottom: 25px;
}

.button-box div h3 {
    color: var(--secondary);
    transition: .3s;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    width: 85%;
}

.button-box div:hover h3 {
    color: var(--background);
    transition: .3s;
}

@media (max-width: 1200px) {
    
    .buttons .container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 950px) {
    
    .buttons .container {
        grid-template-columns: repeat(3, 1fr);

        padding: 80px 0;
    } 
}

@media (max-width: 768px) {
    
    .buttons .container {
        grid-template-columns: repeat(2, 1fr);

        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    
    .button-box div h3 {
        color: var(--secondary);
        transition: .3s;
        font-weight: 600;
        font-size: 14px;
        line-height: 16px;
        text-align: center;
        width: 85%;
    }

    .buttons .container {
        padding: 40px 0;
    }

    .button-box .svg3 {
        width: 30%;
        margin-top: 15%;
        margin-bottom: 10px;
    }
}

/* BENVENUTI */

.svg1 {
    height: 28px;
    width: 28px;
}

.svg2 {
    height: 25px;
    width: 25px;
}

.svg3 {
    height: 55px;
    width: 55px;
}

.benvenuti {
    background-color: var(--light-gray);
}

.benvenuti .container {
    padding: 80px 0;
}

.benvenuti h1 {
    color: var(--primary);
    font-size: 38px;
    margin-bottom: 16px;
    line-height: 46px;
}

.line {
    width: 100px;
    height: 2px;
    background-color: var(--secondary);
    margin-bottom: 40px;
}

.benvenuti .content {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
}

.benvenuti .content .text {
    color: var(--dark-gray);
    font-size: 18px;
    width: 65%;
}

.benvenuti .content .text p {
    margin-bottom: 15px;
}

.benvenuti .content img {
    width: 30%;
}

@media (max-width: 1200px) {
    
    .benvenuti .content {
        flex-direction: column;
        align-items: center;
    }

    .benvenuti .content .text {
        color: var(--dark-gray);
        font-size: 18px;
        width: 100%;

        margin-bottom: 60px;
    }

    .benvenuti .content .svg3 {
        width: 40%;
    }

    .benvenuti .content img {
        width: 40%;
    }
}

@media (max-width: 800px) {

    .benvenuti .content .svg3 {
        width: 75%;
    }

    .benvenuti .content img {
        width: 60%;
    }
}

@media (max-width: 450px) {

    .benvenuti .content .svg3 {
        width: 90%;
    }

    .benvenuti .content img {
        width: 80%;
    }
}

/* APP */

.app {
    background: var(--primary);
}

.app .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 80px 0;
}

.app .container .img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;

    gap: 40px;
}

.app .container .img-container .phone-img {
    width: 100%;
    order: 2;
}

.app .container .img-container .download {
    width: fit-content;
    flex-direction: column;
    gap: 10px;

    display: none;
}

.app .container .img-container .download a {
    display: inline-block;
    width: fit-content;
}

.app .container .img-container .download div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;

    padding: 8px 10px;
    border-radius: 8px;

    background-color: var(--background);

    transition: .3s;

    gap: 10px;
}

.app .container .img-container .download div img {
    width: 25px;
}

.app .container .img-container .download div h5 {
    width: max-content;
    font-size: 12px;
    color: var(--secondary);
    transition: .3s;
}

.app .container .img-container .download div:hover h5 {
    color: var(--background);
    transition: .3s;
}

.app .container .img-container .download div:hover {
    transform: scale(95%);
    transition: .3s;
    background-color: var(--secondary);

    box-shadow: 0px 0px 50px 5px #e4e4e44d;
}

.app .container .img-container .download .download-now {
    margin: 0 auto;
    width: 70px;
}

.app .container .content {
    width: 50%;
}

.app .container .content h2 {
    color: var(--background) !important;
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 40px;
    width: 70%;
}

.app .container .content p {
    color: #d7d7d7;
    font-size: 18px;
    margin-bottom: 5px;
}

.app .container .content p a {
    color: #d7d7d7;
    text-decoration: underline;
    text-decoration-color: var(--background);
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;

    font-weight: 600;
}

.app .container .content .app-btn {
    display: inline-block;
    width: fit-content;
}

.app .container .content .app-btn div {
    display: flex;
    align-items: center;
    gap: 10px;

    width: fit-content;
    padding: 8px 14px;
    border-radius: 8px;

    background-color: var(--background);

    transition: .3s;

    margin-top: 25px;
}

.app .container .content .app-btn div h4 {
    font-size: 16px;
    color: var(--secondary);
    transition: .3s;
}

.app .container .content .app-btn div img {
    height: 22px;
    width: 22px;
}

.app .container .content .app-btn div:hover h4 {
    font-size: 16px;
    color: var(--background);
    transition: .3s;
}

.app .container .content .app-btn div:hover {
    transform: scale(95%);
    transition: .3s;
    background-color: var(--secondary);

    box-shadow: 0px 0px 50px 5px #e4e4e44d;
}

@media (max-width: 1200px) {

    .app .container .content {
        width: 70%;
    }

    .app .container .img-container {
        width: 30%;
    }
}

@media (max-width: 1000px) {

    .app .container {
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 50px;
    
        padding: 80px 0;
    }

    .app .container .content {
        width: 100%;
    }

    .app .container .img-container {
        width: 100%;
        order: 2;
    }

    .app .container .img-container .phone-img {
        width: 36%;
        order: 2;
    }

    .app .container .img-container .download {
        display: flex;
    }
}


@media (max-width: 600px) {
    
    .app .container .img-container {
        align-items: end;
        gap: 20px;
    }

    .app .container .img-container .phone-img {
        width: 50%;
        order: 2;
    }
}

/* CONTATTI */

.contatti .container {
    margin: 0;
    max-width: 10000px;
    width: 100%;

    display: flex;
    justify-content: right;

    position: relative;
}

.contatti .container .text {
    width: 42.5%;
    max-width: 570px;

    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    font-size: 18px;
}

.contatti .container .text h2 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 40px;
}

.contatti .container .text .orari .mb {
    width: 85%;
    margin-bottom: 15px;
}

.contatti .container .text .orari .guardia-medica {
    color: var(--text);
}

.contatti .container .text .orari .flex {
    display: flex;
}

.contatti .container .text .orari .flex .icon {
    width: 20px;
}

.contatti .container .text .orari .flex .elenco {
    width: 85%;
    color: var(--text);
}

.contatti .container .text .orari .underline-contatti {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;

    transition: .2s;
}

.contatti .container .text .orari .underline-contatti:hover {
    text-decoration: underline;
    text-decoration-color: #777777;
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;

    transition: .2s;
}

.contatti .container .text .orari p .elenco span {
    color: #000000b9;
}

.contatti .container .text .recapito {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 20px;
}

.contatti .container .text .recapito img {
    height: 28px;
}

@media (max-width: 600px) {

    .contatti .container .text .recapito {
        gap: 8px;
        font-size: 16px;
    }
}

.contatti .container .text table {
    width: 340px;
    color: var(--text);
    font-size: 18px;
}

.leaflet-control-attribution {
    font-size: 10px;
}

.leaflet-attribution-flag {
    display: none !important;
    width: 0.1px !important;
}

.leaflet-control-attribution a svg path {
    display: none !important;
}

.leaflet-popup-content {
    width: max-content !important;
}

.leaflet-control-zoom {
    display: none;
}

#map {
    height: 1000px;
    width: 50%;

    /* box-shadow: 5px 5px 33px -20px #3f3f3f52; */
}

@media (max-width: 1200px) {

    .contatti .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contatti .container .text {
        width: 85%;
        max-width: 1140px;
        margin: 0 auto;

        padding: 80px 0;
    
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .contatti .container .text .orari .mb {
        width: 100%;
        margin-bottom: 15px;
    }

    .contatti .container .text .orari .flex .elenco {
        width: 100%;
    }

    #map {
        height: 350px;
        width: 100%;
    }
}

/* LGBTQ */

.lgbtq {
    background: var(--light-gray);
}

.lgbtq .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;

    gap: 60px;
}

.lgbtq .container img {
    width: 18%;
    border-radius: 8px;
    filter: saturate(80%);

    box-shadow: 5px 5px 40px -10px #3f3f3f5d;
}

.lgbtq .container .text {
    width: 50%;
}

.lgbtq .container .text p {
    font-size: 18px;
    margin-bottom: 15px;
}

.lgbtq .container .text p:nth-child(2) {
    margin-bottom: 0px;
}

@media (max-width: 1250px) {

    .lgbtq .container {
        flex-direction: column;
        align-items: center;
        padding-top: 80px;

        gap: 50px;
    }

    .lgbtq .container .text {
        width: 80%;
        margin-bottom: 0;
    }

    .lgbtq .container img {
        width: 18%;
        margin: 0 5%;
        order: 1;
    }
}

@media (max-width: 900px) {

    .lgbtq .container {
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
    }

    .lgbtq .container .text {
        width: 100%;
        margin-bottom: 0;
    }

    .lgbtq .container img {
        width: 20%;
        margin: 0 5%;
        order: 1;
    }
}

@media (max-width: 900px) {

    .lgbtq .container .text {
        width: 100%;
        margin-bottom: 0x;
    }

    .lgbtq .container img {
        width: 30%;
        margin: 0 5%;
        order: 2;
    }
}

@media (max-width: 650px) {

    .lgbtq .container img {
        width: 40%;
        margin: 0 5%;
        order: 2;
    }
}

@media (max-width: 450px) {

    .lgbtq .container img {
        width: 50%;
        margin: 0 5%;
        order: 2;
    }
}

/* LANGUAGE */

.language-box {
    background: #e4e4e4;
    border-radius: 8px;
    overflow: hidden;

    position: fixed;
    bottom: 40px;
    right: 50px;

    z-index: 1000;

    box-shadow: 0px 0px 50px 5px #4d4d4d5e;

    height: 41px;
    width: 150px;

    transition: .3s;

    display: none;
}

.language-box a:nth-child(1) {
    position: absolute;
    bottom: 41px;
}

.language-box a:nth-child(2) {
    position: absolute;
    bottom: 0px;

    cursor: default;
}

.language {
    background: var(--background);
}

.language,
.language-inactive {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: left;

    padding: 8px;
}

.language h4,
.language-inactive h4 {
    font-size: 16px;
    font-weight: 500;
}

.language h4 {
    font-weight: 600;
}

.language img,
.language-inactive img {
    width: 30px;
    border-radius: 3px;
    margin-right: 8px;
}

.language svg {
    height: 15px;
    width: 15px;
    justify-self: right;
    margin-right: 6px;
    margin-left: auto;

    transform: rotate(180deg);
    transition: .3s;
}

.language-box:hover {
    height: 82px;
    transition: .3s;
}

.language-box:hover .language svg {
    transform: rotate(0deg);
    transition: .3s;
}

@media (max-width: 450px) {

    .language-box {
        bottom: 30px;
        right: 30px;
    }
}

.gt_float_switcher {
    border-radius: 8px !important;
    box-shadow: 0px 0px 50px 5px #4d4d4d5e !important;
}

/* FOOTER */

footer {
    padding: 60px 0;
    background: var(--secondary);
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

footer .recapiti,
footer .orari {
    width: fit-content;
}

footer .info {
    width: fit-content;
}

footer .footer-content .info .informazione {
    color: #cacaca;
    font-size: 14px;
    font-weight: 300;
}

footer .footer-content .info .informazione span {
    color: var(--background);
    font-size: 14px;
    font-weight: 500;
}


footer .footer-content .recapiti {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .footer-content .recapito {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .footer-content .recapito a {
    color: #cacaca;
    font-size: 14px;
    font-weight: 300;
}

footer .footer-content .recapiti svg {
    height: 20px;
    width: 20px;
}

footer .orari table {
    width: 250px;
}

footer .orari table tr td {
    color: var(--background);
    font-size: 14px;
    font-weight: 300;
}

footer .line-footer {
    margin: 0 auto;
    max-width: 1140px;
    width: 85%;
    height: 1px;
    background: #ffffff42;
    margin-top: 30px;
    margin-bottom: 20px;
}

footer .orari table tr td:nth-child(2) {
    color: #cacaca;
    font-size: 14px;
    font-weight: 300;
}

footer .container:nth-child(3) {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex-wrap: wrap;
}

footer .container:nth-child(3) a {
    color: var(--background);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
}


footer .container:nth-child(5) {
    margin-top: 30px;
    text-align: center;
    color: var(--background);
    font-size: 14px;
    font-weight: 400;
}

footer .container:nth-child(5) .divisore {
    color: var(--light-gray);
    font-weight: 200;
}

footer .container:nth-child(5) span {
    color: var(--background);
    font-weight: 300;
}

footer .container:nth-child(6) {
    color: var(--light-gray);
    font-weight: 200;
    font-size: 12px;

    text-align: center;

    margin-top: 5px;
}

footer .container:nth-child(6) a {
    color: var(--light-gray);
    font-weight: 300;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1100px) {

    footer .footer-content {
        display: flex;
        flex-wrap: wrap;
        column-gap: 80px;
        row-gap: 40px;
        justify-content: start;
    }

    footer .recapiti,
    footer .orari {
        width: fit-content;
    }

    footer .info {
        width: 300px;
    }

    footer .line-footer {
        margin-top: 50px;
    }
}

@media (max-width: 500px) {

    footer {
        padding: 60px 0;
        padding-bottom: 100px;
    }
}



/* PAGES */

/* Landing */

.page-landing {
    height: 220px;
    width: 100%;

    background-image: url("../img/homepage.jpg");
    background-size: cover;
    background-position: center;
}

.page-landing .container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.page-landing .container h2 {
    text-align: center;

    font-size: 32px;
    color: var(--background);

    text-shadow: 0px 0px 30px rgba(0,0,0,0.50);
}

/* Text */

.page-text {
    padding: 80px 0;
}

.page-text .container {
    max-width: 900px;
}

.page-text .container p {
    font-size: 18px;
    margin-bottom: 25px;
}

.page-text .container ul {
    font-size: 18px;
    margin-left: 20px;
    list-style-type: none;
    color: var(--text);
    margin-bottom: 25px;
}

.page-text .container ul li {
    line-height: 24px;
    margin-bottom: 10px;
}

.page-text .container ul li::before {
    content: "✚";
    display: inline-block;
    width: 20px; 
    margin-left: -20px;
    line-height: 1.5;
}

.page-text .container .sub-ul {
    margin-top: 10px;
}

.page-text .container .sub-ul li::before {
    content: "➔";
    display: inline-block;
    width: 20px; 
    margin-left: -20px;
    line-height: 1.5;
}

.link-pages {
    text-decoration: underline !important;
    text-decoration-color: var(--accent) !important;
    text-underline-offset: 1px !important;
    text-decoration-thickness: 2px !important;

    font-weight: 500 !important;

    transition: .2s;
}

.link-pages:hover {
    text-decoration: underline !important;
    text-decoration-color: #777777 !important;
    text-underline-offset: 1px !important;
    text-decoration-thickness: 2px !important;

    font-weight: 500 !important;

    transition: .2s;
}

.page-section-title {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 36px;
}

.text-and-img {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.text-and-img img {
    height: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;

    box-shadow: 5px 5px 40px -18px #3f3f3f83;
}

@media (max-width: 900px) {
    .text-and-img {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        margin-bottom: 35px;
    }

    .text-and-img img {
        height: 250px;
        order: 2;
    }
}

.ucp-img {
    display: flex;
    gap: 30px;
    justify-content: center;

    margin-bottom: 35px;
}

.ucp-img img {
    width: 300px;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .ucp-img {
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
    
        margin-bottom: 35px;
    }
    
    .ucp-img img {
        width: 45%;
        border-radius: 8px;
    }
}

@media (max-width: 600px) {
    .ucp-img {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    
        margin-bottom: 35px;
    }
    
    .ucp-img img {
        width: 80%;
        border-radius: 8px;
    }
}

@media (max-width: 400px) {
    .ucp-img {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    
        margin-bottom: 35px;
    }
    
    .ucp-img img {
        width: 100%;
        border-radius: 8px;

        box-shadow: 5px 5px 40px -18px #3f3f3f83;
    }
}

/* FAQ */

.faq {
    padding-bottom: 100px;
    display: none;
}

.faq .container {
    max-width: 900px;
}

.faq-title {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 40px;
}

.faq .faq-container {
    display: flex;
    gap: 8px;
}

.faq-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc h3 {
    min-height: 78px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--secondary);
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;

    border-radius: 8px;
    padding-right: 50px;

    display: flex;
    align-items: center;

    transition: .2s;
}

.acc h3:after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 25px;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
}

.acc.active h3 {
	background-color: var(--secondary);
    transition: .2s;
}

.acc.active h3:after {
	content: '-';
}

.faq-content {
    background-color: var(--background);
    display: none;
}

.content-inner {
    padding: 15px;
    padding-bottom: 25px;
}

.faq-content * {
    margin-top: 0;
    line-height: 1.5;
}

.acc {
    border-bottom: 1px solid #fff;
}

@media (max-width: 900px) {

    .faq .faq-container {
        max-width: 900px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .faq-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

/* Swiper */

.swiper {
    width: 80%;
    height: 580px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--background);
    display: flex !important;
    justify-content: center;
    align-items: center; 
    gap: 30px;
}

.swiper-slide img {
    height: 88%;
}

.swiper-slide p {
    font-size: 16px !important;
    text-align: left;
    width: 30%;
    margin: 0 !important;
}

.swiper-pagination {
    bottom: 0px !important;
    z-index: 100;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    width: 30px !important;
    height: 30px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--primary) !important;
    font-size: 30px !important;
}

@media (max-width: 900px) {
    
    .swiper {
        width: 100%;
        height: 580px;
    }
}

@media (max-width: 700px) {
    
    /* .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    } */
}

@media (max-width: 600px) {
    
    .swiper {
        width: 100%;
        height: 500px;
        margin: 50px 0;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: var(--background);
        display: flex !important;
        flex-direction: column;
        justify-content: start;
        align-items: center; 
        gap: 30px;
    }

    .swiper-slide img {
        height: 78%;
    }

    .swiper-slide p {
        font-size: 16px !important;
        text-align: center;
        width: 90%;
        margin: 0 !important;
    } 
}

/* Orari */

.orari-page h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 40px;
}

.orari-page .orari .guardia-medica {
    color: var(--text);
}

.orari-page .orari .flex {
    display: flex;
}

.orari-page .orari .flex .icon {
    width: 20px;
}

.orari-page .orari .flex .elenco {
    width: 85%;
    color: var(--text);
}

.orari-page .orari .underline-contatti {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;

    transition: .2s;
}

.orari-page .orari .underline-contatti:hover {
    text-decoration: underline;
    text-decoration-color: #777777;
    text-underline-offset: 1px;
    text-decoration-thickness: 2px;

    transition: .2s;
}

.orari-page .orari p .elenco span {
    color: #000000b9;
}

.orari-page .recapito {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 20px;
}

.orari-page .recapito img {
    height: 28px;
}

.orari-page .recapito a {
    font-size: 18px;
    color: var(--text);
}

@media (max-width: 550px) {
    
    .orari-page .recapito {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
    }

    .orari-page .recapito a {
        font-size: 16px;
        color: var(--text);
    }
}

.orari-page table {
    width: 340px;
    color: var(--text);
    font-size: 18px;
}

.orari-page #map {
    width: 100%;
    height: 400px;
    border-radius: 8px;

    margin-top: 80px;
    margin-bottom: 40px;
}

@media (max-width: 550px) {
    
    .orari-page #map {
        width: 100%;
        height: 300px;
        border-radius: 8px;
    
        margin-top: 80px;
        margin-bottom: 40px;
    }
}

/* App Page */

.doctorapp-logo {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.doctorapp-logo img {
    height: 120px;
    border-radius: 30px;
}

.page-text .container .doctorapp-logo p {
    margin-bottom: 0;
}

.download {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.download .download-img-desktop {
    width: 150px;
}

.download .download-img-mobile {
    display: none;
    width: 100px;
}

.download .download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.download a {
    display: inline-block;
    width: fit-content;
}

.download div.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;

    padding: 8px 10px;
    border-radius: 8px;

    background-color: var(--light);

    transition: .3s;

    gap: 20px;
}

.download div img {
    width: 25px;
}

.download div h5 {
    width: max-content;
    font-size: 18px;
    color: var(--secondary);
    transition: .3s;
}

.download div h5:hover {
    color: var(--light);
    transition: .3s;
}

.download div.download-button:hover {
    transform: scale(95%);
    transition: .3s;
    background-color: var(--secondary);

    box-shadow: 0px 0px 50px 5px #e4e4e44d;
}

.download a div:hover svg path,
.download a div:hover svg g {
    fill: var(--light);
}

@media (max-width: 600px) {

    .download {
        flex-direction: column;
        gap: 20px;
    }

    .download a div {
        justify-content: center;
    }

    .doctorapp-logo {
        flex-direction: column;
        gap: 15px;
    }

    .download .download-img-desktop {
        display: none;
    }

    .download .download-img-mobile {
        display: block;
        filter: brightness(15%)
    }
}

/* Domande Frequenti */

.domanda-frequente {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--secondary);
    font-size: 18px;
    padding-bottom: 15px;
    color: var(--primary);
}
