﻿
/* Comment */
@font-face {
    font-family: FiraSans;
    src: url(../fonts/FiraSansCondensed-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: FiraSans;
    src: url(../fonts/FiraSansCondensed-RegularItalic.ttf);
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: FiraSans;
    src: url(../fonts/FiraSansCondensed-Bold.ttf);
    font-weight: 700;
}

.auth_body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: FiraSans;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.group {
    position: relative;
    margin-bottom: 1em;
}

input,
textarea,
input:-webkit-autofill {
    background: none;
    color: #c6c6c6;
    font-size: 13.333px;
    padding: 12px 10px 8px 5px;
    display: block;
    width: 15em;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #c6c6c6;
    height: 3em;
}

    input:focus,
    textarea:focus {
        outline: none;
    }

        input:focus ~ label, input:valid ~ label,
        textarea:focus ~ label,
        textarea:valid ~ label,
        input:-webkit-autofill ~ label {
            top: -11px;
            font-size: 12px;
            color: #1ebf48;
        }


    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    textarea:-webkit-autofill,
    textarea:-webkit-autofill:hover,
    textarea:-webkit-autofill:focus,
    select:-webkit-autofill,
    select:-webkit-autofill:hover,
    select:-webkit-autofill:focus,
    input:-webkit-autofill {
        border: none;
        border-bottom: 1px solid #c6c6c6;
        -webkit-text-fill-color: black;
        -webkit-box-shadow: 0 0 0px 1000px #fff inset;
        transition: background-color 5000s ease-in-out 0s;
    }

    input:focus, input:valid {
        color: #000;
    }

        input:focus ~ .bar:before,
        textarea:focus ~ .bar:before {
            width: 100%;
        }

    input[type="password"] {
        letter-spacing: 0.3em;
    }

    input[type="submit"] {
        font-size: 18px;
    }

label {
    color: #c6c6c6;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}

.bar {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
}

    .bar:before {
        content: '';
        height: 2px;
        width: 0;
        bottom: 0px;
        position: absolute;
        background: #1ebf48;
        transition: 300ms ease all;
        left: 0%;
    }

.auth_window {
    box-shadow: 0 0 1.2em 0.2em rgba(0,0,0,0.1);
    border-radius: 0.6em;
    padding: 2em 2em 1em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: block;
    margin: auto;
}


.logo {
    width: 22em;
    margin-bottom: 2em;
}

.mob_logo {
    display: none;
}

form > div {
    padding: 0;
    margin: 0;
}

input[type="submit"] {
    border: none;
    margin: auto;
    background: #1ebf48;
    color: #fff;
    padding: 0em 0.5em;
    border-radius: 0.3em;
    cursor: pointer;
    transition: all .3s;
    display: inline-block;
    width: auto;
    min-width: 5em;
    height: 1.7em !important;
}

    input[type="submit"]:hover {
        background: #1ba03e;
        color: #fff;
    }

.form-group {
    padding: 0.6em;
}


.auth_window a {
    text-decoration: none;
    font-size: 0.9em;
    color: #59d278;
    display: inline-block;
    position: relative;
    transition: all .3s;
}

    .auth_window a:after {
        height: 1px;
        background: #0e3653;
        width: 100%;
        position: absolute;
        content: '';
        bottom: -1px;
        left: 0;
        transform: scaleX(0);
        transition: all .3s;
    }

    .auth_window a:hover {
        color: #0e3653;
    }

        .auth_window a:hover:after {
            transform: none;
        }

@media screen and (max-width: 992px) {
    .auth_window {
        box-shadow: none;
        padding: 0 2em;
        text-align: center;
        display: block;
    }

    .logo {
        display: none;
    }

    .mob_logo {
        display: block;
        width: 45%;
        margin: auto;
        margin-bottom: 2em;
    }

    .group {
        position: relative;
        margin-bottom: 1em;
        width: auto;
        display: inline-block;
    }
}

.valid_message ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}


.valid_message {
    color: red;
    font-size: 12px;
    margin-bottom: 1em;
}


.reg_upper {
    display: flex;
    align-items: flex-start;
}

.reg_row:nth-child(1) {
    margin-right: 1em;
}

input[type="date"] ~ label {
    top: -11px;
    font-size: 12px;
    color: #1ebf48;
}

input[type="date"]::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
}


.forgot_block {
    padding: 0 3em;
}

.forgot_label {
    padding: 0;
    margin-bottom: 0.8em;
}

input.forgot_email {
    margin-bottom: 1em;
    width: 100%;
}

input.btn_forgot {
    display: block;
    margin: auto;
}

input#Email {
}

.res_label {
    position: relative;
    margin-bottom: 0.7em;
    left: 0;
    top: 0;
    display: inline-block;
}

.res_inputblock {
    margin: 0;
}

    .res_inputblock:last-of-type {
        margin-bottom: 1em;
    }

.top_handler form {
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
}

.preloader {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    transition-delay: 0.5s;
}

    .preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

/* TERMINAL CHECK */

.auth_window form {
    width: 80%;
    display: block;
    margin: auto;
}

    .auth_window form input {
        width: 100%;
    }

.main_auth {
    width: 23%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

body.auth_body {
}

.auth_window .logo {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .main_auth {
        width: 100%;
    }
}