﻿.unvalidated-badge::after {
    content: attr(data-badge-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    pointer-events: none; /* Se vuoi che il click passi attraverso */
    border-radius: 50%;
}


/*.revoked-overlay {
    z-index: 10;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

.expired-overlay {
    z-index: 10;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}*/

.badge-section-title {
    font-size: 28px;
}

.divider {
    margin-top: 0px;
    margin-bottom: 5px;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0;
}

    .divider hr {
        color: #d2d9e3;
        opacity: 1;
    }

.text-editor-wrap {
    display: block;
    margin: auto;
    max-width: 530px;
    border-radius: 10px;
    box-shadow: rgba(0,0,0,0.8) 0px 20px 70px;
    clear: both;
    overflow: hidden;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.title-bar {
    padding: 5px 0;
    font-family: "Lucida Grande", sans-serif;
    font-size: 0.75em;
    text-align: center;
    text-shadow: rgba(255,255,255,0.8) 0px 1px 0px;
    background-color: #f8f8f8;
    background-image: -webkit-linear-gradient(top, #e8e8e8, #bcbbbc);
    background-image: -moz-linear-gradient(top, #e8e8e8, #bcbbbc);
    background-image: linear-gradient(top, #e8e8e8, #bcbbbc);
    box-shadow: inset rgba(255,255,255,0.7) 0px 1px 1px;
    border-bottom: #6a6a6a 1px solid;
}

.text-body {
    /*height: 250px; */
    background-color: rgba(0,0,0,0.85);
    padding: 10px;
    color: #f0f0f0;
    text-shadow: #000 0px 1px 0px;
    font-family: "Consolas", "Courier New", "Courier";
    font-size: 1.75em;
    line-height: 1.40em;
    font-weight: 500;
    font-size: 12px;
    text-align: left;
    overflow: hidden;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.errore-valid {
    border-radius: 10px;
    margin: 4px;
}

/*#region CAROUSEL */

ul.slides {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

    ul.slides .slider-input {
        display: none;
    }


.slide-container {
    display: block;
}

.carousel .slide-image {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    transition: all .7s ease-in-out;
    position: relative;
}

.carousel .certificate .slide-image .row {
    margin: 3%;
}

.carousel .slide-image .certificate-image {
    max-width: 100%; /* Imposta la larghezza massima al 100% del contenitore */
    height: auto; /* Mantiene il rapporto altezza/larghezza originale */
    border: solid 1px var(--light-grey);
    margin-bottom: 10px;
}

.carousel .slide-image .certificate-download-button {
    font-size: 18px;
    font-weight: 600;
}

.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 30px;
    line-height: 600px;
    color: var(--medium-dark-grey);
    z-index: 100;
}

    .carousel-controls .slider-label {
        display: none;
        position: absolute;
        cursor: pointer;
    }

.slide-image:hover + .carousel-controls .slider-label {
    opacity: 0.5;
}

.carousel-controls .slider-label:hover {
    opacity: 1;
}

.carousel-controls .prev-slide {
    width: 25px;
    height: 25px;
    text-align: left;
    left: 0;
}

.carousel-controls .next-slide {
    width: 25px;
    height: 25px;
    text-align: right;
    right: 0;
}

.slider-input:checked + .slide-container .slide-image {
    display: block;
    transition: all 1s ease;
}

.slider-input:checked + .slide-container .carousel-controls .slider-label {
    display: block;
}

.slider-input:checked + .slide-container .nav .slider-label {
    display: block;
}

/*#endregion CAROUSEL */

.custom-share-button {
    background-color: #0a2463;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    border: none;
}

.addProfile {
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    background-color: #fff;
    color: #000;
    /*border: none;*/
}

.custom-share-button:hover {
    background-color: #2c4282;
}

.addProfile:hover {
    background-color: #f0f0f0;
    color: #2c4282;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .addProfile {
        width: 71% !important;
    }
}
