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

.btn:hover {
    color: #FFF;
}

/* Space out content a bit */
body {
    padding-top: 20px;
    /* font-family: "Montserrat", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif !important; */
    /* padding-bottom: 20px; */

}

.background-color-RI {
    background-color: #DEEFF2;
}

.background-color-MO {
    background-color: #F6F6F6;
/*    background-color: #E5E5E5;*/
}

.background-color-FSM {
    background-color: black;
}
.font-color-RI {
    color: #003462;
}
.font-color-MO {
    color: #000;
}
.font-color-FSM {
    color: #DEEFF2;
}

.font-color2-RI {
    color: #E12550;
}
.font-color2-MO {
    color: #BE2929;
}
.font-color2-FSM {
    color: #DEEFF2;
}

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

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

/* mio checkbox personalizzato */

.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; /* Nasconde il checkbox nativo */
}

/* Stile del checkbox visivo */
.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

/* Nasconde il checkbox nativo */
.custom-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

/* Stile del checkbox visivo */
.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;
}



/* Spunta personalizzata */
.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;
}

.custom-checkbox-color-RI {
    border: 2px solid #003462; /* bordo */
    background-color: #DEEFF2;
}

/* Stile quando il checkbox è spuntato */
.custom-checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox-color-RI {
    background-color: #E12550; /* sfondo spunta */
    border-color: #E12550;
}

.custom-checkbox-color-MO {
    border: 2px solid #BE2929; /* bordo */
    background-color: #E5E5E5;
}

/* Stile quando il checkbox è spuntato */
.custom-checkbox-wrapper input[type="checkbox"]:checked + .custom-checkbox-color-MO {
    background-color: #BE2929; /* sfondo spunta */
    border-color: #BE2929;
}




/*.bordo-RI {
    border: 1px #DEEFF2 solid;
    border-radius: 20px;
    padding: 10px;
}

.bordo-MO {
    border: 1px #BE2929 solid;
    border-radius: 20px;
    padding: 10px;
}

.bordo-FSM {
    border: 1px #F6B046 solid;
    border-radius: 20px;
    padding: 10px;
}*/


/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
    padding-right: 15px;
    padding-left: 15px;
}

/* Custom page header */
.header {
    padding-bottom: 20px;
    /* border-bottom: 1px solid #e5e5e5; */
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
}

/* Custom page footer */
.footer {
    padding-top: 19px;
    color: #777;
    /* border-top: 1px solid #e5e5e5; */
}

/* Customize container */
@media (min-width: 768px) {
    .container {
        max-width: 730px;
    }
}

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

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    /* border-bottom: 1px solid #FFF; */
    background: #FFF;
    padding-top: 15px !important;
}

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

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

/* Supporting marketing content */
.marketing {
    margin: 40px 0;
}

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

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

img.logo {
    padding-top: 5px;
    padding-bottom: 15px;
}

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

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

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

p.privacy-RI {
    color: #003462;
}

.privacy-custom-RI {
    color: #003462;
}

p.privacy-FSM {
    color: #5B626D;
}

.privacy-custom-FSM {
    color: #5B626D;
}

p.privacy-MO {
    color: #000;
}

.privacy-custom-MO {
    color: #000;
}


p.privacy-check-RI {
    color: #E12550;
    font-size: 18px;
    line-height: 18px;
}

p.privacy-check-FSM {
    color: #F6B046;
    font-size: 18px;
}

p.privacy-check-MO {
    color: #BE2929;
    font-size: 18px;
}

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

.label-attestato-sofia {
    /*text-decoration: underline;*/
    /*font-weight: bold;*/
    cursor: pointer;
    font-size: 16px;
}

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

}

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

.modal-title-RI {
    color: #E12550;
}

.modal-title-MO {
    color: #BE2929;
}

.modal-title-FSM {
    color: #F6B046;
}

.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;
    /* border-top: 1px solid #e5e5e5; */
}


.modal-header-close-bkgr-RI {
    background-color: #E12550;
}

.modal-header-close-bkgr-MO {
    background-color: #BE2929;
}

.modal-header-close-bkgr-FSM {
    background-color: #F6B046;
}

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

.modal-content {
    margin: 0 auto;
}

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


/*.modal-title-RI {
  color:#003462;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}
.modal-title-MO {
  color:#000;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}
.modal-title-FSM {
  color: #5B626D;
  text-align: center;
  font-size: 38px;
  font-weight: bold;
}*/


p.p-nonsei-RI {
    font-size: 14px;
}

p.p-nonsei-RI b#nome_link {
    color: #E12550;
}

p.p-nonsei-RI a {
    color: #003462;
}


p.p-nonsei-MO {
    font-size: 14px;
    color: #000
}

p.p-nonsei-MO b#nome_link {
    color: #BE2929;
}

p.p-nonsei-MO a {
    color: #000;
}

p.p-nonsei-FSM {
    font-size: 14px;
    color: #000
}

p.p-nonsei-FSM b#nome_link {
    color: #F6B046;
}

p.p-nonsei-FSM a {
    color: #000;
}


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

.btn-RI {
    background-color: #E12550;
    color: #FFF;
}

.btn-FSM {
    background-color: #F6B046;
    color: #FFF;
}

.btn-MO {
    background-color: #BE2929;
    color: #FFF;
}


.btn-la-RI {
    background-color: #083561;
    color: #FFF;
    font-size: 26px;
}

.btn-la-FSM {
    background-color: #5b626d;
    color: #FFF;
}

.btn-la-MO {
    background-color: #000;
    color: #FFF;
}

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

.btn-str-RI {
    background-color: #E12550;
    color: #FFF;
    padding: 15px !important;
    font-size: 28px;
}

.btn-str-FSM {
    background-color: #F6B046;
    color: #FFF;
    padding: 15px !important;
    font-size: 28px;
}

.btn-str-MO {
    background-color: #BE2929;
    color: #FFF;
    padding: 15px !important;
    font-size: 28px;
}

.footer-RI {
    background-color: #003462;
    color: #FFF;
}

.footer-FSM {
    background-color: #003462;
    color: #FFF;
}

.footer-MO {
    background-color: #000000;
    color: #FFF;
}

.footer {
    margin-top: 5px;
    color: #FFF;
    padding-top: 15px;
    padding-bottom: 20px;

}

.footer a {
    color: #FFF;

}

a.te-MO, a.te-MO:hover, a.te-MO:visited {
    color: #000;
}

.alert-MO, .alert-RI, .alert-FSM {
    border-bottom: 0;
    color: #FFF;
}

.alert-MO {
    background-color: #BE2929 !important;
}

.alert-RI {
    background-color: #E12550 !important;
}

.alert-FSM {
    background-color: #55BECD !important;
}

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

.codice.plceholder {
    text-align: left;
}

.codice-RI {
    /*background-color: #DEEFF2;*/
    border-radius: 10px;
    color: #003462;
    color: #666;
    border-color: #96CCD4;
/*    border: none*/
}

.codice-MO {
    border-radius: 10px;
    border-color: #BE2929;
    color: #666;
}

.codice-FSM {
    border-radius: 10px;
}

img.logo {
    width: 80%;
}



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

.input-cf-wrapper input {
    width: 100%;
/*    padding-right: 40px;
    height: 35px;*/
    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;
}

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

@media (max-width: 540px) {
    .div-esito-verifica-sofia {
        flex-direction: column;
        align-items: flex-start; /* opzionale: allinea a sinistra */
    }

    .div-esito-verifica-sofia > div {
        width: 100%; /* opzionale per farli occupare tutta la riga */
    }
}

.esito-cf-sofia-frontend {
/*    width: 200px;*/
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 15px;
    text-align: center;
/*    min-width: 200px;*/
}
.esito-cf-sofia-frontend > i {
    margin-left:6px;
}
/* rizzoli */
.esito-cf-sofia-frontend-ok-RI {
    background-color: #E12550;
    color: white;
}
.esito-cf-sofia-frontend-ko-RI {
    background-color: #003462;
    color: white;
}
.esito-cf-sofia-frontend-waiting-RI {
    background-color: #deeff2;
    color: #003462;
}
/* mondadori */
.esito-cf-sofia-frontend-ok-MO {
    background-color: #be2929;
    color: white;
}
.esito-cf-sofia-frontend-ko-MO {
    background-color: #5a5b62;
    color: white;
}
.esito-cf-sofia-frontend-waiting-MO {
    background-color: #f6f6f6;
}
/* formazione su misura */
.esito-cf-sofia-frontend-ok-FSM {
    background-color: #03fc03;
}
.esito-cf-sofia-frontend-ok-FSM {
    background-color: #fc0303;
    color: white;
}
.esito-cf-sofia-frontend-ok-FSM {
    background-color: #f4c21a;
}



/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {

    /* Remove the padding we set earlier */
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }

    /* Space out the masthead */
    .header {
        margin-bottom: 30px;
    }

    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: none;
    }


}


@media screen and (max-width: 600px) {
    /* For desktop: */
    a.tutti-gli-eventi {
        font-size: 16px;
        line-height: 20px;
    }

    img.logo {
        width: 100%;
    }
}

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


.countdown-RI {
    background: #DEEFF2 !important;
    font-family: "Museo Sans 500", "Montserrat", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.countdown-MO {
    background: #E5E5E5;
    font-family: "Titillium Web", "Montserrat", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.countdown-FSM {

    font-family: "UniformCondensed", "Montserrat", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


hr.RI {
    border-top: 2px solid #DEEFF2;
}

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

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

.label_tipo_partecipazione {
    font-size: 15px;
    color: #003462;
}

.title-RI {
    color: #003462;
}

.title-MO {
    color: #000;
}

.title-FSM {
    color: #5B626D;
}

.title-RI-color {
    color: #E12550;
}

.title-MO-color {
    color: #BE2929;
}

.title-FSM-color {
    color: #F6B046;
}


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

.subtitle-RI {
    color: #003462;
}

.subtitle-MO {
    color: #000;
}

.subtitle-FSM {
    color: #5B626D;
}

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

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

}

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

.cd-RI {
    background: #DEEFF2 !important;
    width: 100%;
    padding: 15px;
    color: #003462;
}

.cd-MO {
    background: #EFEFEF !important;
    width: 100%;
    padding: 15px;
    color: #5B626D;
}

.cd-FSM {
    background: #EFEFEF !important;
    width: 100%;
    padding: 15px;
    color: #5B626D;
}

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

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

.p-RI, .p-MO, .p-FSM {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.05em;
}

.p-RI {
    color: #003462;
}

.p-RI a {
    color: #E12550;
}

.p-FSM {
    color: #5B626D
}

.p-FSM a {
    color: #F6B046;
}

.p-MO {

}


.p-MO a {
    color: #E12550;
}


@media only screen and (max-width: 400px) {
    .p-RI a, .p-MO a, .p-FSM a {
        font-size: 15px;
    }
}

p.p-note {
    font-style: italic;
    font-size: 15px
}