@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;700;900&display=swap');

/* Layout e Reset */
body {
    padding-top: 20px;
}

.header, .marketing, .footer {
    padding-right: 15px;
    padding-left: 15px;
}

.header {
    padding-bottom: 20px;
}

.header h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
}

.footer {
    padding-top: 19px;
    color: #777;
    margin-top: 5px;
    padding-bottom: 20px;
}

.footer-col {
    margin-bottom: 30px;
}

/* Container */
@media (min-width: 768px) {
    .container {
        max-width: 730px;
    }
    .header, .marketing, .footer {
        padding-right: 0;
        padding-left: 0;
    }
    .header {
        margin-bottom: 30px;
    }
    .jumbotron {
        border-bottom: none;
    }
}

.container-narrow > hr {
    margin: 30px 0;
}

/* Jumbotron */
.jumbotron {
    text-align: center;
    background: #FFF;
    padding-top: 15px !important;
}

.jumbotron h1 {
    font-size: 50px;
}

.jumbotron .btn {
    padding: 14px 24px;
    font-size: 21px;
}

/* Marketing e Testi */
.marketing {
    margin: 40px 0;
}

.marketing p + h4 {
    margin-top: 28px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
}

.ciclo-unico-titolo {
    font-style: normal;
    font-weight: normal;
    font-size: 19px;
    text-align: left;
    margin-bottom: 5px;
}

.event-title {
    font-weight: bold;
    font-size: 21px;
    line-height: 1.1;
    text-align: left;
}

.n-modules {
    font-size: 18px;
/*    line-height: 29px;*/
    text-align: left;
}

.event-title-light {
    font-weight: 300;
    font-size: 20px;
    line-height: 29px;
    text-align: center;
    text-transform: uppercase;
    color: var(--brand-text-main) !important;
}

.event-subtitle {
    font-style: normal;
    font-weight: normal;
    font-size: 21px;
    line-height: 25px;
    text-align: left;
}
.event-text{
    line-height: 1.1;
}

/* Lista eventi ciclo unico */
.event-list-item {
    padding: 10px 0;
    line-height: 1.1;
}
.event-list-item, .event-list-total {
    border-bottom: 2px solid var(--brand-bg-alt);
}
.event-list-total {
    text-align: right;
    padding:15px;
    line-height: 1.1;
}
.event-list-item:first-child {
    border-top: 2px solid var(--brand-bg-alt);
}

.event-list-info {
    font-size: 14px;
    font-weight: normal;
    color: var(--brand-text-main);
    line-height: 1.4;
}

.event-list-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--event-title);
    line-height: 1.1;
}

.event-list-speaker {
    font-size: 14px;
    font-weight: normal;
    color: var(--brand-text-main);
    line-height: 1.4;
}

.event-list-speaker-name {
    color: var(--event-speaker);
}

.event-list-durata, .event-list-durata-total {
    font-size: 16px;
    color: var(--brand-text-title);
    display: flex;
    /*align-items: center;*/
    justify-content: flex-end;
    height: 100%;
    /*min-height: 70px;*/
}

.event-list-durata-total {
    font-weight: bold;
    color: var(--event-title);
    padding-right: 15px;
    padding-left: 15px;
}
.sofia-wrapper {
    margin-top: 10px;
}

.sofia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.sofia-options {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sofia-option-label {
    margin-bottom: 0;
}

.sofia-info-panel {
    display: none;
    padding: 10px;
    margin-top: 2px;
}

.sofia-list {
    margin: 5px 0;
}

.sofia-list li {
    margin-bottom: 2px;
    line-height: 1.0;
}

/* Radio SOFIA styled as checkbox */
.custom-checkbox-wrapper input[type="radio"] {
    display: none;
    font-weight: 900;
}

.custom-checkbox-wrapper input[type="radio"] + .custom-checkbox::after {
    opacity: 0;
}

.custom-checkbox-wrapper input[type="radio"]:checked + .custom-checkbox::after {
    opacity: 1;
}

.p_scelta_partecipazione {
    font-size: 17px;
    line-height: 20px;
    text-align: left;
    margin-top: 15px;
}

.disiscrizione {
    text-align: center;
    font-size: 28px;
    line-height: 36px;
}

.diretta.title-counter {
    text-transform: uppercase;
    font-weight: normal;
    font-size: 26px;
    line-height: 34px;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

h1.diretta, h2.diretta, h3.diretta, h4.diretta, h5.diretta, h6.diretta {
    margin: 0 0 0.25rem 0;
}

.diretta.ciclo-unico-titolo{
    text-align: left;
    font-size: 16px;
    letter-spacing: normal;
    margin-top: 1.33em;
}

.diretta.event-title{
    text-transform: none;
    font-weight: bold;
    font-size: 22px;
    text-align: left;
    line-height: 1.1;
    letter-spacing: normal;
}

.diretta.event-speaker{
    text-transform: none;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    line-height: 1.1;
    letter-spacing: normal;
}

.diretta.event-subtitle{
    text-align: left;
}

a.tutti-gli-eventi {
    font-size: 25px;
    line-height: 2px;
}

p.p-note {
    font-style: italic;
    font-size: 14px;
    line-height: 18px;
    color: var(--brand-text-main);
}

p.privacy {
    font-size: 12px;
    margin-top: 20px
}

/* Modali */
.modal-title-style {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
}

.modal-body-style {
    font-size: 22px;
    padding-left: 50px;
    padding-right: 50px;
}

.modal-header-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 25px;
    color: #fff;
    border-radius: 50%;
    padding: 6px 6px 6px 6px;
    line-height: 0.6;
    font-family: serif;
}

.my-modal-footer {
    padding: 15px;
    text-align: right;
}

.modal-dialog {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.modal-content {
    margin: 0 auto;
}

.modal-dialog-custom {
    width: 400px;
    margin: 30px auto;
}

/* Form e Input */
.iscrizione-richiesta-certificato-sofia {
    width: 100%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.codice {
    text-align: left;
    text-transform: uppercase;
    font-size: 18px;
}

.input-cf-wrapper {
    position: relative;
    width: 100%;
}

.input-cf-wrapper input {
    width: 100%;
    box-sizing: border-box;
}

.icon-cf-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.icon-cf-button:hover {
    color: #000;
}

/* Checkbox Custom Generico */
.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0px;
}

.custom-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
}

/* Loghi e Immagini */
img.logo {
    padding-top: 5px;
    padding-bottom: 15px;
    width: 80%;
}

@media screen and (max-width: 600px) {
    a.tutti-gli-eventi {
        font-size: 16px;
        line-height: 20px;
    }
    img.logo {
        width: 100%;
    }
}

/* Utilities Generiche */
.bg-main {
    background-color: #777;
    background-position: center center;
    background-size: cover;
}

.bg-main p.event {
    color: #FFF;
    font-size: 24px;
}

.btn:hover {
    color: #FFF;
}

.btn-iscrizione {
    color: #FFF;
    font-size: 28px;
    padding: 10px !important;
    font-weight: bold;
}

.btn-iscrizione:hover {
    color: #FFF;
}

.btn-streaming {
    font-weight: bold;
}

.div-label-attestato-sofia {
    margin-top: 3px;
    width: calc(100% - 30px);
    float: right;
    padding-left: 5px;
}

.label-attestato-sofia {
    cursor: pointer;
    font-size: 16px;
}

.div-esito-verifica-sofia {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

@media (max-width: 540px) {
    .div-esito-verifica-sofia {
        flex-direction: column;
        align-items: flex-start;
    }
    .div-esito-verifica-sofia > div {
        width: 100%;
    }
}

.esito-cf-sofia-frontend {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 15px;
    text-align: center;
}

.esito-cf-sofia-frontend > i {
    margin-left: 6px;
}

.countdown-container {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 34px;
    align-items: center;
    text-align: center;
    letter-spacing: 0.05em;
    padding-left: 3px;
    padding-right: 3px;
}

.countdown-container span {
    margin-right: 3px;
    margin-left: 3px;
}

.countdown-logo {
    width: 100%;
    text-align: center;
}

.countdown-logo img {
    width: 250px;
}

[class*="btn-str-"],
.btn-str-generic {
    padding: 15px !important;
    font-size: 28px;
}

/* Radio SOFIA styled as checkbox */
.custom-checkbox-wrapper input[type="radio"] {
    display: none;
}

.custom-checkbox-wrapper input[type="radio"] + .custom-checkbox::after {
    opacity: 0;
}

.custom-checkbox-wrapper input[type="radio"]:checked + .custom-checkbox::after {
    opacity: 1;
}