@font-face {
    font-family: 'ffx_european_thinlight';
    src: url('../fonts/ffx_european_thin_light-webfont.woff2') format('woff2'),
         url('../fonts/ffx_european_thin_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'calibri-light';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/calibril.woff') format('woff');
}

@font-face {
    font-family: 'calibrilight_italic';
    src: url('../fonts/calibri-light-italic-webfont.woff2') format('woff2'),
         url('../fonts/calibri-light-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.ffx {
    font-family: 'ffx_european_thinlight';
}

.calibri {
    font-family: 'calibrilight-italic';
}

.footer-company {
    font-weight: normal;
    font-size: 19px !important;
}

video#sbaIntroVideo {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width:996px) {
    video#sbaIntroVideo {
        /* position: absolute; */
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: auto;
        height: auto;
        right: auto;
    }
}

.sba-video-login {
    position:fixed;
    top:0;
    left: 0;
    width:100%;
    height:100%;
    background:#fff;
    z-index: 1;
}

.sba-splash-message {
    position: fixed;
    top:0;
    left: 0;
    right:0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    flex-direction: column;
}

.sba-splash-message .sba-splash-logo {
    display: block;
    width: 120px;
}

.sba-splash-message .sba-splash-logo img {
    object-fit: cover;
    width:100%;
    height: 100%;
}

.sba-splash-message-text .--welcome {
    display: block;
    text-align: center;
}

.sba-splash-message-text {
    font-size: 18px;
    text-align: center;
    margin: 2rem 0;
}

.btn.play-intro {
    background-color: rgb(0, 37, 97);
    color: #fff;
    border-color: rgb(0, 37, 97);
}


body.login {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

.login .language-switcher {
    margin-top: -3rem;
}

.login .language-switcher #language-switcher {
    background: transparent !important;
}

.login .language-switcher .button {
    background-color: #1660D4;
    color: #fff !important;
}

#loginFooter {
    padding-top: 2rem;
    padding-bottom: 2rem;
    h1 {
        font-size: 20px;
    }
    .sba-login-brand {
        display: flex;
        flex: 1;
        .logo-commercial {
            font-size: 16px;
        }
    }
    .sba-footer-info {
        padding-right: 2rem;
        font-size: 13px;
        &:last-child {
            padding-right: 0;
        }
        .address-numbers {
            font-size: 11.5px;
        }
    }
    .pre-login-footer {
        border-bottom: 1px solid #fff;
    }
}

.footer-disclaimer {
    font-size: 13px;
}

body.login div#login h1 a {
    background-image: none !important;
    width:auto;
    text-indent: 0;
}

@media screen and (min-width:740px) {
    .pre-login-footer {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}

@media screen and (max-width:739.8px) {
    .sba-login-brand {
        padding-bottom: 1rem;
    }
    .sba-footer-info {
        padding-bottom: 1rem;
    }
}


.sba-login-logo >img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


body.login {
    background-color: #fff !important;
}

#loginform, #lostpasswordform {
    background: #fff !important;
}

.login form .input, .login input[type=text] {
    background-color: #F3F5F7 !important;
    border-radius: 100px;
    border-color: #DFDFDF;
}

.login form #wp-submit {
    background-color: rgb(0, 37, 97);
}

#wp-auth-check-form {
    #loginFooter {
        display: none;
    }
}

#login label a {
    text-decoration: underline;
    color:#000;
    font-weight: 500;
 }

 #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999; /* Metti il layer sopra tutto */
  }