/*Impostazioni Generali delle pagine*/

@font-face {
    font-family: "FSJoey";
    src: url('../fonts/fs_joey_font_family/FSJoey.ttf') format('truetype');
}

* {
    font-family: "FSJoey";
    color: #FFFFFF;
    box-sizing: border-box;
    outline: none;
    line-height: normal !important;
}

html, body {
    height: 100%;
}


h1#hh {
    display: block !important;
    font-size: xx-large !important;
    margin-block-start: 0.67em !important;
    margin-block-end: 0.67em !important;
    margin-inline-start: 0px !important;
    margin-inline-end: 0px !important;
    font-weight: 700 !important;
}

a {
    font-weight: 700;
    text-underline-offset: 3px;
}


.errorMessage {
    background-color: #E96C5D;
    text-align: center !important;
    font-weight: 500;
    margin-top: 10px;
    font-size: 18px;
}

.container-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

body {
    margin: 0;
}

.page-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    /*min-width: 1000px;*/
}

.login-page {
    background-repeat: no-repeat;
    height: 100vh;
    clear: both;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row;
}

.container-login {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%,-50%);
    width: 50%;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-bottom-right-radius: 350px;
    background-image: linear-gradient(135deg, #005578, #009EB2);
}

.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    /*height: inherit;*/
    flex-direction: column;
}


.copyright {
    font-size: 14px;
    color: #005578;
    margin-bottom: 0px;
    position: absolute;
    top: 95%;
    left: 62%;
    /*transform: translate(0%, 50%)*/
}

    .copyright .copyright-link {
        text-decoration: underline !important;
        color: inherit;
    }

        .copyright .copyright-link:focus-visible {
            outline: 2px solid black !important;
            outline-offset: 0px;
            border-radius: 4px;
        }


/*impostazioni logo */

.logo {
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: inherit;
}

    .logo img {
        width: 80%;
        max-width: 400px;
        margin-bottom: 10px;
    }


/*impostazioni contenuto pagina*/


.login-wrapper:not(.rlbCheck) {
    width: inherit;
    padding: 70px 30px;
    display: flex;
    flex-direction: column;
    text-align: start;
    position: absolute;
}

.login-wrapper label, .login-wrapper input {
    width: 100%;
    display: block;
    margin-top: 10px;
}

.login-wrapper label {
    font-size: 12px;
}

    .login-wrapper label[for=password] {
        margin-top: 15px;
    }

.login-wrapper input {
    height: 50px;
    border-radius: 3px;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1px solid #000000;
}

.login-wrapper input {
    font-size: 16px;
    padding-left: 10px;
    border-radius: 50px 50px 50px 50px;
    color: #000000
}

    .login-wrapper input::placeholder {
        font-size: 16px;
    }

.login-wrapper .subtitle-login-forgot-password {
    display: block;
    font-size: 14px;
    margin-top: 15px;
    width: fit-content;
    margin-left: auto;
    text-align: end;
}


.login-wrapper .subtitle-login {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    width: fit-content;
    text-align: center;
}

.subtitle-login:focus-visible {
    outline: 2px solid black !important;
    border-radius: 4px;
}



/*impostazioni campi di testo*/



/**/

/*impostazioni testi*/


label {
    font-weight: normal !important;
}



.subtitle-login-forgot-password:focus-visible {
    outline: 2px solid black !important;
    border-radius: 4px;
}


.copyright {
    font-size: 14px;
    color: #005578;
    margin-bottom: 0px;
    position: absolute;
    top: 95%;
    left: 62%;
    /*transform: translate(0%, 50%)*/
}

    .copyright .copyright-link {
        text-decoration: underline !important;
        color: inherit;
    }

        .copyright .copyright-link:focus-visible {
            outline: 2px solid black !important;
            outline-offset: 0px;
            border-radius: 4px;
        }


.custom-textbox {
    border-radius: 50px !important;
    padding-right: 25px !important;
    margin-bottom: 10px;
    margin-left: -2px;
}


.container-tipo {
    display: flex;
    flex-direction: column;
    text-align: start;
    margin-top: 30px;
}


.register-hint {
    display: flex;
    align-items: center; /* centra verticalmente anche dentro */
    font-size: 1rem;
    font-weight: 400;
    margin-top: inherit;
}

.highlight-text {
    margin-right: 0.4rem;
    color: #333;
}

/**/

/*impostazioni pulsanti*/


.login-wrapper .button-login {
    text-align: right;
    margin-top: 10px;
}

    .login-wrapper .button-login button {
        font-size: 18px;
        text-transform: uppercase;
        margin-bottom: 0;
        font-weight: 500;
        border: 2px solid #00b0bd;
        background-color: #F5BE45;
        border-radius: 5px;
        padding: 10px 20px;
        color: white;
    }

        .login-wrapper .button-login button:focus-visible {
            outline: 2px solid black;
        }

    .login-wrapper .button-login input[type="submit"] {
        font-size: 18px;
        text-transform: uppercase;
        margin-bottom: 0;
        font-weight: 700;
        border: none;
        background-color: #F5BE45;
        border-radius: 10px;
        padding: 10px 20px;
        color: #005578 !important;
        width: auto !important;
        float: right;
        cursor: pointer;
    }

        .login-wrapper .button-login input[type="submit"]:focus-visible {
            outline: 2px solid black;
        }

    .login-wrapper .button-login button:hover {
        background-color: #0098a4;
        border: 2px solid #0098a4;
    }

    .login-wrapper .button-login input[type="submit"]:hover {
        background-color: #d3ab53;
        border: 2px none #0098a4;
    }

    .login-wrapper .button-login input[type="submit"]:focus-visible {
        outline: 2px solid black !important;
    }


.rbVerticalList .rbCheckBox, .rbVerticalList .rbRadioButton, .rbVerticalList .rbToggleButton {
    display: block;
    padding: 5px 5px 5px 1px !important;
    margin-bottom: 20px;
}



.RadRadioButtonList .rbToggleRadio::before {
    color: #68A3BB;
}

.rbRadioButton:focus-visible {
    outline: 2px solid black !important;
    padding: 5px;
}

.RadRadioButtonList .rbToggleRadioChecked::before {
    color: #F5BE45;
}

.RadButton_Bootstrap.rbRadioButton .rbText {
    color: white !important;
}

.RadButton .rbText {
    color: inherit;
}


.button-login {
    display: flex;
    align-items: center;
}


.btn-accedi:focus-visible {
    outline: 2px solid black !important;
    border-radius: 4px;
}


.btn-back-portrait {
    margin-top: 20px;
    display: none;
}

.btn-back-landscape {
    color: white !important;
    display: flex;
    margin-bottom: 50px;
}

    .btn-back-landscape #IndietroLandscape:focus-visible {
        outline: 2px solid black !important;
        border-radius: 4px;
    }

.btn-back-portrait #IndietroPortrait:focus-visible {
    outline: 2px solid black !important;
    border-radius: 4px;
}


.btn-link {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    margin-top: -10px;
}

    .btn-link:focus-visible {
        outline: 2px solid black !important;
        border-radius: 4px;
    }

    .btn-link:hover {
        color: #F5BE45;
        text-decoration: underline;
    }


.btn-avanti {
    background-color: #F5BE45;
    color: #005578;
    border: none;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: 1;
    /*height: 50px;*/
}

    .btn-avanti:focus-visible {
        outline: 2px solid black !important;
    }

    .btn-avanti:hover {
        background-color: #d5af5c;
    }

.btn-accedi {
    background-color: #F5BE45;
    color: #005578;
    border: none;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    line-height: 1;
}



    .btn-accedi:hover {
        background-color: #d5af5c;
    }

.btn-avanti,
.btn-accedi {
    min-width: 13.22vw; /* o 130px, dipende da come vuoi */
    text-align: center;
}

/**/


.problemi-link > a:focus-visible {
    outline: 2px solid black !important;
    border-radius: 4px;
}


ul {
    margin-left: 0;
    list-style: none;
}


.password-icon {
    color: #68A3BB;
}


    .password-icon:focus-visible {
        outline: 2px solid black !important;
        border-radius: 4px;
    }


.row-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* CENTRA tutto verticalmente */
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}


.email:focus-visible {
    outline: 2px solid black !important;
}

.password:focus-visible {
    outline: 2px solid black !important;
}

.password-wrapper {
    position: relative;
    display: flex;
}


li {
    margin-bottom: 15px;
}

.manutenzione .login-wrapper {
    text-align: center;
}

/*    .manutenzione .login-wrapper * {
        font-family: "FSJoey", Arial, sans-serif !important;
        color: #005578 !important;
    }*/

.manutenzione .message-title {
    font-size: 34px;
    font-weight: 700;
    margin: 10px 0 10px 0;
    max-width: 850px;
    line-height: 35px;
}

.manutenzione .message-paragraph {
    font-size: 25px;
    margin: 0;
    max-width: 850px;
    font-weight: 500;
    line-height: 30px;
}



.rbCheckBox .rbText {
    color: white !important;
}







@media screen and (max-device-width: 650px), screen and (max-width: 650px) {

    .page-wrapper {
        min-width: auto;
    }

    .btn-back-portrait {
        display: flex;
    }

    .btn-back-landscape {
        display: none;
    }

    .password-wrapper {
        width: inherit;
    }

    .container-login {
        left: 50%;
        width: 100vw;
        height: 75vh;
        border-radius: 0px 190px 0px 0px;
        transform: translate(0%, 0%);
        position: inherit;
    }

    .container-logo {
        position: absolute;
        top: 0%;
    }

    .row-login {
        gap: 0;
        margin-top: 0;
    }

    .login-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100vh;
        width: 100vw;
    }

    .logo {
        align-items: start;
        padding-top: 10vh;
    }

        .logo img {
            width: 185%;
        }

    .copyright {
        color: inherit;
        left: 10%;
        font-size: x-small;
    }

    .login-wrapper:not(.rlbCheck) {
        width: 95%;
        padding: 70px 45px;
        height: 100%;
        align-items: center;
    }


    h1#hh {
        display: block !important;
        font-size: xx-large !important;
        margin-block-start: 0.67em !important;
        margin-block-end: 0.67em !important;
        margin-inline-start: 0px !important;
        margin-inline-end: 0px !important;
        font-weight: 700 !important;
        align-self: start;
    }

    ul#BulletedList1 {
        margin-left: 0;
        list-style: none;
        font-size: larger !important;
    }


    .btn-link {
        margin-top: 5px;
    }

    .login-wrapper .subtitle-login {
        display: block;
        font-size: 14px;
        margin-top: 15px;
        text-align: center;
    }



    .login-wrapper .subtitle-login-forgot-password {
        margin-left: auto;
        margin-top: 15px;
    }

    .btn-accedi {
        margin-bottom: 5px;
    }


    div#RadPageView1 {
        font-size: xx-large !important;
    }
}

.manutenzione .message-paragraph {
    font-size: 25px;
    margin: 0;
    max-width: 850px;
    font-weight: 500;
    line-height: 30px;
}

.rcRefreshImage:focus-visible {
    outline: 2px solid black;
}
