﻿body {
    font-family: Roboto, "Segoe UI", sans-serif;
    font-weight: 300;
    color: #141514;
}
a {
    font-weight: 500;   
    line-height: 1.5rem;
    letter-spacing: 0.75px;
    text-decoration-line: underline;
    color: #378FD9;
}
.navbar > .container,
main {
    justify-content: center;
    text-align: center;
}
.account-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.header {
    margin-bottom: 1.5rem
}

.navbar-brand {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 3rem;
    color: #101010;
}
.navbar-brand img{
    vertical-align: top;
}
.account-card {
    max-width: 400px;
    min-width:400px;
    margin: 0 auto 32px auto;
    padding: 3rem;
    background: #fff;
    border: 1px solid rgba(160, 163, 189, 0.3);
    border-radius: .5em;
    box-shadow: 0px 4px 12px rgba(24, 24, 24, 0.08);
}
    .account-card h3 {
        font-size: 1.75em;
        font-weight: 400;
        margin-bottom: 2.5rem;
        text-align: center;
    }
.form-group {
    text-align: start;
    margin-top: 1.75rem;
}

    .form-group label,
    .form-group .text-danger {
        text-align: left;
        font-weight: 600;
        font-size: .75rem
    }
.account-card .form-group input {
    padding: .5rem 2.25rem;
    border-color: rgba(20, 21, 20, 0.5);
    color: #141514;
    font-size: .875rem;
    border-radius: .375rem;
    position:relative;
    height: 2.5rem;
}
    .account-card .form-group input::placeholder {
        color: rgba(20, 21, 20, 0.5);
    }
.i-email,
.i-pass,
.i-user {
    position: relative;
}
    .i-email::before,
    .i-pass::before,
    .i-user::before {
        font-size: 1rem;
        top: .5rem;
        font-family: 'icomoon' !important;
        position: absolute;
        color: #6E726E;
        left: .65rem;
        z-index: 10;
    }
    .i-email::before {
        top: .25rem;
        content: "\e94e"; /*.pi-pd-login*/
        font-size: 1.25rem;
    }
    .i-pass::before {
        content: "\e94f"; /*.pi-pd-password*/
    }
    .i-user::before {
        top: .5rem;
        content: "\e90f"; /*.pi-user*/
    }

.footer {
    text-align: center;
}
.form-floating {
    margin-top:1.75rem
}
    .form-floating input.form-control {
        background-position: 1.25rem 50%;
    }
    .form-floating > .form-control:not(:placeholder-shown) {
        border: 1px solid #a0a3bd;
        border-radius: 1rem;
        padding: 2.5rem 4.5rem 1.25rem 4.5rem;
    }
    .form-floating > label {
        padding: 1rem 5rem;
        color: #6E7191;
        font-weight: 500;
        font-size: 1rem;
        line-height: 24px;
        letter-spacing: 0.75px;
    }

.form-label {
    margin-bottom: 0.5rem;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #EFF0F7;
    opacity: 1;
}
.form-control:focus {
    outline: 0;    
    box-shadow: 0 0 0 0.1rem rgb(0, 171, 91);
}
.cleaner,
.visible,
.fi-email,
.fi-pass {
    display: block;
    flex-direction: column;
    align-items: center;
    padding: 22px 24px;
    gap: 10px;
    position: absolute;
    width: 3.75rem;
    height: 3.5rem;
    top: -12px;
    opacity: .7;
    right: -10px;
}
.cleaner/*,
.visible */{
    right: 0px;
    display: none
}

.cleaner {
    background: url(../img/close1.svg) no-repeat center center;
}

    .cleaner:hover,
    .visible:hover {
        opacity: 1;
    }

.i-pass input:invalid + .visible {
    display: none;
}
.fi-email,
.fi-pass {
    display: block;
}
    .fi-email {
    background: url(../img/mail.svg) no-repeat;
}
.fi-pass {
    background: url(../img/key.svg) no-repeat;
}
.fi-email,
.fi-pass {
    left: 0rem;
    background-position: 1.25rem 50%;
}
/*.i-email::before {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    content: "\e94e";
    color: #6E726E;
}*/
i.i-login {
    font-family: 'icomoon' !important;
    width: 1.25rem;
    height: 1.25rem;
    content: "\e94e"; /*.pi-pd-login*/
    color: red;
    line-height: 26px;
    text-align: center;
    margin-right: -26px;
    position: relative;
    z-index: 1;
    float: left;
    display: inline-block;
}
i.i-email + input {
    padding-left: 26px;
}
/*.i-user {
    background: url(../img/profile.svg) no-repeat;
}
.i-pass {
    background: url(../img/key.svg) no-repeat;
}*/
.account-card .btn-primary {
    width: 100%;
    background: #00AB5B;
    border-radius: 0.375rem;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.75rem;
    letter-spacing: 0.75px;
    color: #F7F7FC;
}
.account-card .btn-primary:hover {
    background: #009b4b;
}

.alert {
    padding: .5rem 1rem;
    margin-bottom: .5rem;
}
.alert-success {
    background: #E3FDEE;
    border: 0px solid #00ab5b;
    border-radius: 2rem;
    color: #00966D;
}
.account-card .form-check-input:checked {
    background-color: #00ab5b;
    border-color: #00ab5b;
}

.auth-forgot {
    margin-top: 20px;
}
::-ms-reveal {
    display: none;
}

.form-text {
    font-size: .75rem;
    max-width: 40rem;
}
