/* Custom CSS for Fiducial skin */

@media only screen and (min-width: 601px) {
    html,
    body {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        /* The html and body elements cannot have any padding or margin. */
        overflow-x: hidden !important;
        font-family: "Open Sans",Arial,sans-serif;
        letter-spacing: .025rem;
        font-size: 16px;
        font-weight: 400;
    }

    body {
        background: url("../images/bg.jpg") repeat top center;
        background-size: cover;
    }

    /* Wrapper for page content to push down footer */
    #wrap {
        height: calc(100vh);
        min-height: calc(100vh);
        /* Negative indent footer by its height */
        margin: 0;
        /* Pad bottom by footer height */
        padding: 0;
        background: none !important;
    }

    #header, #header .header {
        position: relative;
        display: flex;
        flex-flow: nowrap;
        width: 100vw;
        padding: 0;
        margin: 0;
        height: 52px;
        min-height: 52px;
        background-color: #fff;
    }

    #header .header .header-wrap {
        position: relative;
        display: flex;
        margin: auto 0;
        width: calc(50% - 12px);
        line-height: 22px;
        height: 22px;
        padding-left: 24px;
    }

    #header .header .header-wrap .logo {
        margin: 0 auto;
        position: absolute;
        top: 0;
        left: 20px;
    }

    #header .header .baseline {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        line-height: 12px;
        height: 12px;
        font-weight: 600;
    }

    #footer {
        display: none !important;
    }

    .login-greetings, .form-intro {
        font-size: 18px !important;
        text-align: center;
        color: #666 !important;
        margin: 0 auto;
    }

    p.text-center {
        position: relative;
        margin: 0 auto;
        text-align: center;
    }

    .action-reset-passwd {
        position: relative;
        display: flex;
        justify-content: flex-start;
        width: 100%;
        text-align: left;
        padding: 0;
        margin: 0;
    }

    .auth-info-message {
        margin-bottom: 30px !important;
    }

    .auth-code-info-footer {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 32px;
    }

    .auth-code-info-footer .title {
        font-weight: 700;
    }

    .auth-code-info-footer .plus-link {
        margin-top: 12px;
    }

    .btn {
        font-size: 14px;
        font-weight: 700;
    }

    .login-form-footer {
        position: relative;
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: 0 auto;
        max-width: 360px;
    }

    .action-reset-passwd .btn {
        text-decoration: underline;
        color: #8c8b8b;
        background-color: transparent;
        cursor: pointer;
        font-size: 12px;
        padding: 0 !important;
    }

    p.form-footer a {
        color: #8c8b8b !important;
    }

    .help-message-title {
        text-transform: uppercase;
        font-size: 12px;
        font-weight: bold;
        color: #3498db;
    }

    .help-message-text {
        text-align: center;
        color: #8c92a7;
        font-weight: 700 !important;
        font-size: 14px !important;
        line-height: 1.5;
    }

    .help-message-complement {
        text-align: center;
        color: #8c92a7;
        font-size: 14px;
        line-height: 1.5;
    }

    .no-whitespace {
        white-space: nowrap !important;
    }

    .centered-container {
        margin: 0 auto !important;
    }

    .text-center.picto .ico.ico-user {
        margin: 24px auto !important;
    }

    form.login {
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .max-width {
        width: 100%;
    }

    .row, .input-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .input-wrap {
        margin-bottom: 30px !important;
    }

    .ext2fspage {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 100%;
    }

    .ext2fspage > .form {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: auto;
    }

    .ext2fspage > .form > form {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media only screen and (max-width: 600px) {
    /**
     *
     *
     *
     * Mobile media
     */
    #header .header {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    #header > .header > .header-wrap {
        position: relative;
        display: flex;
        width: 100%;
        height: 52px;
        min-height: 52px;
        padding: 0;
        margin: auto 0;
    }
    #header > .header > .header-wrap > .logo {
        position: relative;
        display: flex;
        margin: auto;
        height: 22px;
        top: 0;
        left: 0;
    }

    #header > .header > .baseline {
        position: relative;
        display: flex;
        margin: 0;
        left: 0;
        top: 0;
        padding-top: 24px;
        width: 100%;
        text-align: center;
        font-weight: 600;
    }
    #header > .header > .baseline > p {
        width: 100%;
        text-align: center;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: 400;
    }

    #wrap {
        /* Negative indent footer by its height */
        /* Pad bottom by footer height */
        padding: 0;
    }

    #wrap > #logincontent {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 32px 0 0 0;
        margin: 0;
        width: 100%;
    }

    #wrap > #logincontent > .row {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #lform {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    #lform > .form {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 0;
    }
    #lform > .form > .row {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .form-intro {
        font-family: "Open Sans", Arial, sans-serif;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
    }

    .login-user-icon {
        display: none;
    }

    .input-wrap {
        width: 100%;
        padding: 0 20px;
    }

    .no-m-top {
        margin-top: 0 !important;
    }

    .no-m-bottom {
        margin-bottom: 0 !important;
    }

    .login-form-footer {
        display: none;
    }

    .grey-text {
        color: #8c8b8b;
    }

    .ext2fspage > .form {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 100%;
        margin: 0;
    }

    .ext2fspage > .form > .row {
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0 auto 0 auto;
    }

    .picto {
        position: relative;
        display: flex;
    }

    .picto > .ico {
        position: relative;
        display: flex;
        margin: auto !important;
    }

    #footer > .row {
        justify-content: center;
    }

    .submit-2f-container {
        width: 100%;
        padding: 0 20px;
    }
}

.resend-code-btn {
    padding-left: 0;
    text-decoration: underline;
    color: inherit;
    font-size: 12px; /* keep the same as the text */
}

.m-top-15 {
    margin-top: 15px;
}

.max-width-360 {
    max-width: 360px !important;
}

.width-360 {
    width: 360px !important;
}

.hide {
    display: none;
}

.font-14 {
    font-size: 14px !important;
}

.firstconnexion {
    padding: 0;
    position: relative;
    text-align: end;
    display: flex;
}

.forgotpwd {
    padding: 0;
    text-align: start;
    display: flex;
}

.login-footer-link {
    display: flex;
    justify-content: space-between;
}

.stay-connected-container {
    align-content: center;
    align-items: center;
}

.stay-connected-label {
    max-width: 310px;
    text-align: left;
}

.modal:not(.in):not(.show),
.modal-backdrop:not(.in):not(.show) {
    display: none !important;
    pointer-events: none !important;
}
