body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.case-header {
    margin-top: 8rem;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-col-reverse {
    display: flex;
    flex-direction: column-reverse;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.gap-4 {
    gap:32px;
}

.label-case {
    display: flex;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.case-title {
    font-size: 72px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
}
.case-subtitle {
    font-size: 32px;
    font-weight: medium;
    margin-top: 0;
    margin-bottom: 32px;
}

.cover-container {
    height: fit-content;
}

.cover-container img {
    width: 100%;
    height: auto;
    border: none;
}

.rnd-12{
  border: 0;
  border-radius: 12px;
}

.img-full-container {
    margin: 40px 0 64px 0;
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;

}

#contenitore-img-sce {
    margin-top: 0;
}

.img-full-container img {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 16px;
}

#sce-full {
    min-width: 100%;
    border-radius: 0;
}

#img-sce-mob {
    width: 100vw;
    margin-bottom: 40px;
}

.hidden-desk {
    display: none;
}

.container-servizi {
    margin: 40px 0;
    background-color: white;
    padding: 40px 0;
}

.container-servizi h2 {
    text-align: center;
    margin: 16px auto;
}

.container-servizi .col-xs-12 {
    padding-left: 0;
    padding-right: 0;
}

.info-case-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px 40px;
    flex-wrap: wrap;
}

.info-case {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  
    align-items: center;
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    min-width: 100px;
    gap: 16px;
}

.info-case img {
    width: 100%;
    height: auto;
    /* max-width: 56px; */
    max-width: 36px;
    flex: none;
}

.info-case span {
    color: #041329;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-case p {
    color: black;
    font-weight: 600;
}

.section-title {
    font-size: 40px;
    font-weight:600;
    margin-bottom: 16px;
    margin-top: 0;
    line-height: 1.2;
}

.section-title-light {
    font-size: 40px;
    font-weight:600;
    margin-bottom: 16px;
    margin-top: 0;
    color: black !important;
}

.section-title-cta {
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 16px;
    margin-top: 0;
    color: white !important;
    max-width: 650px;
    text-align: center;
}

.section-desc {
    font-size: 18px;
    font-weight: 300;
    color: #c9c9c9;
    column-count: 2;
    padding-bottom: 32px;
}

.section-desc-one-col {
    font-size: 18px;
    font-weight: 300;
    color: #c9c9c9;
    column-count: 1;
    padding-bottom: 32px;
}

.testimonianza-desc {
    font-size: 18px;
    font-weight: 500;
    color: #575757 !important;
    column-count: 1;
    padding-bottom: 32px;
}

.img-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    justify-content: space-between;
}


.img-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border: none;
    border-radius: 12px;
    margin-bottom: 48px;
}

.section-label {
    color: #c9c9c9;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 16px;
}

.section-label-light {
    color: #575757;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 16px;
}

.numeri-case-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.numeri-case {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
    flex: 1;
    padding-left: 24px;
    border-left: 2px solid white;
}

.numeri-case span {
    font-size: 48px;
    font-weight: 700;
    color: #14cbb4;
}

.numeri-case p {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

.video-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 0;
    gap: 0;
    height: fit-content;
}

.video-case {
    width: 100%;
    height: auto;
    max-width: 25%;
    object-fit: cover;
}

.video-case-full-container {
    width: 100%;
    display: flex;
}

.video-case-full {
    width: 100%;
    margin: 0 auto;
    height: auto;
}



.box-bianco {
    width: 100%;
    background-color: white;
    padding: 64px 0;
}

.box-bianco .row {
    display: flex;
    flex-direction: row;
}

.container-testimonianza {
    border: none;
    border-radius: 16px;
}

.container-testimonianza img {
    object-fit: cover;
    width: 100%;
    height: auto;
    border: none;
    border-radius: 16px;
}

.container-testimonianza video {
    object-fit: cover;
    aspect-ratio: 4/3;
}

.box-cta {
    margin: 80px 0;
    width: 100%;
    padding: 120px 0;
    background-color: blue;
    border: none;
    border-radius: 16px;
    background-image: url("../../_img21/case-history/sfondo-cta.webp");
}

.sfondo-cta-case {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.box-cta .wrapper .row .col-xs-12 {
    display: flex;
    justify-content: center;
}

.box-cta h2 {
    margin-bottom: 40px;
}

.div-button-cta {
    display: flex;
    justify-content: center;
}

.div-contacts-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    margin-top: 64px;
}

.div-contacts-cta img {
    width: 150%;
    height: auto;
    max-width: 56px;
}

.div-contacts-cta .open-form-btn, .div-contacts-cta ._js-open-form img, .div-contacts-cta .open-form-btn img {
    padding: 0;
    display: block;
    background-color: transparent;
    width: 150%;
    height: auto;
    max-width: 56px;
    margin-left: 0;
}

.div-button-cta .open-form-btn a, .div-button-cta ._js-open-form a {
    display: flex;
    padding: 24px 32px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 100px;
    background: #FFF;
    font-weight: 600;
    color: #041329;
}

.button-case-primary {
    display: flex;
    padding: 24px 32px;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 100px;
    background: #FFF;
    font-weight: 600;
    font-size: 20px;
    color: #041329;
    cursor: pointer;
}

.button-case-secondary {
    display: flex;
    padding: 24px 32px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #FFF;
    font-weight: 600;
    font-size: 20px;
    color: white;
}

.carosello-case-container {
    padding: 80px 0;
    background-color: #041329;
}

.carosello-case-container h2 {
    color: white;
    margin-bottom: 40px !important;
}


.card-container {
    display: flex;
    gap:16px;
    flex-wrap: nowrap;
    overflow-x: scroll;
}

.card-case {
    
    border: none;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    /* min-width: 80%; */

}

@media screen and (max-width: 768px) {
  .card-case {
      display: flex!important;
      flex-direction: column;
      aspect-ratio: 10/16;
      align-items: flex-start;
      justify-content: flex-end;
      padding: 1rem;
      border: 1px solid rgba(178, 206, 230, 0.319);
  }
}
@media screen and (min-width: 769px) {
    .card-case {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: start;
      padding: 33% 24px 24px 24px;
    }
}


.overlay {
    background: #000000;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cover-card-case {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -2;
}
@media screen and (max-width: 768px) {
  .cover-card-case {
      height: auto;
  }
}
@media screen and (min-width: 769px) {
    .cover-card-case {
      height: 100%;
      object-fit: cover;
    }
}



.div-case-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.case-card-label {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid #DFDFDF;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.div-case-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: white;
    z-index: 2;
}

.div-case-text h3 {
    margin-bottom: 0;
    font-weight: 600;
}

.div-case-text a {
    display: flex;
    padding: 8px;
    justify-content: start;
    align-items: center;
    gap: 7.326px;
    border-radius: 8px;
    background: #FFF;
    color: #0E3DCC;
    font-weight: 500;
}

.div-case-text span {
    translate: 0 4px;
    margin-right: 0;
}

/* lightbox */

.lb-outerContainer {
    background-color: rgba(0, 0, 0, 0.7);
}

.zoomable {
    cursor: pointer;
}



  /* the slides */
  .slick-slide {
      margin: 0 6px;
  }

  @media screen and (min-width: 740px) {
    .slick-slide {
        margin: 0 27px;
    }
  }

  /* the parent */
  .slick-list {
      margin: 0 -27px;
  }






.bg-blu {
    background-color: #041329;
}

.case-main-header {
    margin-top: 6rem;
    padding: 56px 0;
    position: relative;
    margin-bottom: 0;
}

.case-main-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-main-header p {
    text-align: center;
    font-size: 24px;
    margin-bottom: 0;
}

.label-container {
    width: 100%;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    z-index: 10;
    background-color: #041329;
}

.label-container .label-case {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 24px;
    cursor: pointer;
    margin: 4px 0;
}

.label-container .label-active {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    background-color: white;
    border: none;
    color: #041329;
    padding: 8px 24px;
    cursor: pointer;
}

.category-title {
    font-size: 24px;
    font-weight: 500;
}

.cta-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-subtitle-cta {
    font-size: 24px;
    font-weight: 400;
}

.hidden {
    font-size: 8px;
    color: #575757;
}

#mockup-video {
    min-width: 100%;
}

#pagine-sce {
    margin-top: 64px;
}

#subtitle-risvelia {
    margin-bottom: 0;
}

#servizi-risvelia {
    margin-top: 20px;
}

.schermate-inp {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border: none;
    border-radius: 16px;
}

.video-inp-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
}

.img-vecchie-row {
    width: 100vw;
}
.img-vecchie-app {
    width: 100%;
}

.carosello-case-container-old {
    padding: 80px 0;
    background-color: #eeeeee;
    margin-top: -8px;
}

.carosello-case-container-old .section-title {
    color: #041329;
}





/* PAGINA PRINCIPALE */

#text {
    margin-top: 24px;
    margin-bottom: 16px;
}

.card-master-div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
}

.card-master {
    background-color: #eeeeee;
    padding: 20px;
    border: none;
    border-radius: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-master span {
    font-size: 28px;
    font-weight: 600;
    color: #041329;
    margin-bottom: 8px;
}

.card-master p {
    font-size: 15px;
    font-weight: 400;
    color: #041329;
    margin-bottom: 8px;
}

.card-master span.button {
    font-family: Poppins, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0E3DCC;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #eeeeee;
    margin-bottom: 0;
    margin-top: auto;
    cursor: pointer;
}

.card-master button:hover {
    background-color: #041329;
}

.cover-card-container {
    width: 100%;
    height: 40%;
    margin-bottom: 16px;
}

.cover-card {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.etichette-card {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.etichetta {
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    background-color: #eeeeee;
    border: 2px solid #8f8f8f ;
    border-radius: 6px;
    color: #8f8f8f !important;

}











@media screen and (max-width:740px) {


    .case-title {
        font-size: 32px;
        margin-top: 20px;
    }

    .case-subtitle {
        font-size: 20px;
    }

    .section-desc-one-col, .section-desc, .testimonianza-desc {
        line-height: 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
        line-height: 32px;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .section-title-light {
        font-size: 24px;
        line-height: 32px;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .section-label {
        font-size: 14px;
        border-bottom: 2px solid #14cbb4;
        padding-bottom: 2px;
    }

    .section-label-light {
        font-size: 14px;
        border-bottom: 2px solid #14cbb4;
        padding-bottom: 2px;
    }

    .info-case-container {
        gap: 24px 24px;
    }

    .img-carousel {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        gap: 0;
        overflow-x: scroll;
    }

    .img-container {
        min-width: 80%;
    }

    .hidden-desk {
        display: block;
        min-width: 100%;
        border-radius: 0 !important;
    }

    .hidden-mob {
        display: none;
    }

    #mockup-video-mob {
        margin-bottom: 40px;
    }

    #sce-full {
        display: none;
    }


    /* .info-case-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }  */

    .numeri-case-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        justify-content: center;
        gap: 0;
    }

    .numeri-case {
        justify-content: flex-start;
        align-items: left;
        margin: 0;
        padding: 16px 0 16px 16px;
    }

    .numeri-case span {
        font-size: 32px;
        font-weight: bold;
    }

    .numeri-case p {
        font-size: 16px;
    }

    .video-case {
        width: 100%;
        height: auto;
        max-width: 50%;
        flex: 1;
        object-fit: cover;
    }

    .video-container {
        flex-wrap: wrap;
    }

    .carosello-case {
        overflow-x: scroll;
    }

    .case-header {
        margin-top: 6rem;
    }

    .case-main-header {
        margin-top: 3rem;
    }

    .section-title-cta {
        font-size: 32px;
        font-weight: 600;
        margin-bottom: 16px !important;
        padding: 0;
    }

    .box-cta {
        padding: 40px;
        margin: 24px 0;
    }

    .section-subtitle-cta {
        font-size: 24px;
        font-weight: 400;
    }

    .div-contacts-cta {
        margin-top: 16px;
    }

    .case-main-title {
        font-size: 32px;
    }

    .case-main-desc {
        font-size: 18px !important;
    }

    .label-container .label-case {
        font-size: 14px !important;
        padding: 8px 16px;
    }
}

@media screen and (max-width:1024px) {
    .section-desc {
        column-count: 1;
    }
}

@media screen and (min-width:600px) {
    .card-master-div {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 1024px) {
    .card-master-div {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width:1200px) {
    /* .box-bianco .row {
        flex-direction: column;
    } */
}

@media screen and (min-width:1200px) {
    #card-inp a {
       min-height: 100%;
    }

    #card-inp a img {
        width: 100%;
        height: 100%;
    }
}




  .responsive-16by9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    /* height: 0; */
    overflow: hidden;
  }
  .responsive-16by9 > iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }