
/*
 * ==========================================================
 * VENDOME MAIL
 * Login skin
 * ==========================================================
 */

body.task-login {
    --vendome-dark: #282828;
    --vendome-black: #202020;
    --vendome-soft: #f6f4f4;
    --vendome-border: #dddddd;
    --vendome-muted: #777777;

    background: #ffffff !important;
    color: var(--vendome-black);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    color-scheme: light;
}


/* ----------------------------------------------------------
 * Eliminiamo l'impostazione visuale login standard Elastic
 * ---------------------------------------------------------- */

body.task-login #layout {
    background: #ffffff;
}

body.task-login #layout-content {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            #ffffff 102px,
            var(--vendome-soft) 102px,
            var(--vendome-soft) 100%
        );

    overflow: auto;
}

body.task-login #logo {
    display: none !important;
}


/* ----------------------------------------------------------
 * Barra superiore Vendome
 * ---------------------------------------------------------- */

.vendome-topbar {
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 20px;

    background: var(--vendome-dark);
    color: #ffffff;

    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.vendome-topbar-separator {
    opacity: .45;
}


/* ----------------------------------------------------------
 * Area centrale
 * ---------------------------------------------------------- */

.vendome-login-main {
    min-height: calc(100vh - 34px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 58px 20px 48px;
}


/* ----------------------------------------------------------
 * Pannello
 * ---------------------------------------------------------- */

.vendome-login-panel {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 48px 50px 30px;

    background: #ffffff;

    border: 1px solid #e3e3e3;

    box-shadow:
        0 18px 55px rgba(0, 0, 0, .055);
}


/* piccolo dettaglio grafico Vendome */

.vendome-login-panel::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 68px;
    height: 4px;

    background: var(--vendome-dark);
}


/* ----------------------------------------------------------
 * Brand
 * ---------------------------------------------------------- */

.vendome-brand {
    margin-bottom: 36px;
    text-align: center;
}

.vendome-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
}

.vendome-symbol {
    width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #202020;
    border-radius: 50%;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.vendome-name {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: #202020;

    font-size: 31px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 1.4px;
}

.vendome-luxury {
    margin-top: 5px;
    margin-left: 45px;

    color: #333333;

    font-size: 8px;
    font-weight: 500;

    letter-spacing: 4.1px;
}

.vendome-divider {
    width: 44px;
    height: 1px;

    margin: 29px auto 20px;

    background: #bdbdbd;
}

.vendome-mail-title {
    color: #414141;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 3px;
}


/* ----------------------------------------------------------
 * Form Roundcube
 * ---------------------------------------------------------- */

body.task-login #login-form {
    position: static !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    text-align: left;
}

body.task-login #login-form table,
body.task-login #login-form tbody {
    width: 100%;
}

body.task-login #login-form tr {
    display: block;
    margin-bottom: 17px;
}

body.task-login #login-form td {
    display: block;
    width: 100%;
    padding: 0;
}

body.task-login #login-form td.title {
    margin-bottom: 7px;

    color: #555555;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: .8px;
    text-transform: uppercase;
}

body.task-login #login-form input.form-control {
    height: 46px;

    width: 100%;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #d6d6d6;
    border-radius: 0;

    color: #222222;

    font-size: 14px;

    box-shadow: none !important;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

body.task-login #login-form input.form-control:focus {
    border-color: #555555;

    box-shadow:
        0 0 0 1px #555555 !important;

    outline: none;
}


/* ----------------------------------------------------------
 * Bottone
 * ---------------------------------------------------------- */

body.task-login #login-form .formbuttons {
    margin-top: 26px;
}

body.task-login #rcmloginsubmit {
    width: 100%;
    min-height: 47px;

    border: 1px solid var(--vendome-dark);
    border-radius: 0;

    background: var(--vendome-dark);
    color: #ffffff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2.3px;
    text-transform: uppercase;

    box-shadow: none;

    transition:
        background .15s ease,
        border-color .15s ease;
}

body.task-login #rcmloginsubmit:hover,
body.task-login #rcmloginsubmit:focus {
    background: #000000;
    border-color: #000000;
}


/* ----------------------------------------------------------
 * Errori login
 * ---------------------------------------------------------- */

body.task-login .alert {
    border-radius: 0;
}


/* ----------------------------------------------------------
 * Footer integratore
 * ---------------------------------------------------------- */

.vendome-integrator {
    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #8a8a8a;

    text-align: center;

    font-size: 10.5px;
    font-weight: 400;

    line-height: 1.6;
}

.vendome-integrator a {
    color: #454545;

    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid #bababa;
}

.vendome-integrator a:hover,
.vendome-integrator a:focus {
    color: #000000;
    border-bottom-color: #000000;
}


/* ----------------------------------------------------------
 * Mobile
 * ---------------------------------------------------------- */

@media screen and (max-width: 520px) {

    .vendome-topbar {
        height: 30px;

        font-size: 8px;
        letter-spacing: 1.4px;
    }

    .vendome-login-main {
        min-height: calc(100vh - 30px);

        padding: 25px 14px;
    }

    .vendome-login-panel {
        padding:
            37px
            25px
            25px;

        border-left: 0;
        border-right: 0;

        box-shadow: none;
    }

    .vendome-name {
        font-size: 27px;
    }

    .vendome-symbol {
        width: 31px;
        height: 31px;

        font-size: 19px;
    }

    .vendome-luxury {
        margin-left: 40px;
    }
}

