/* --------------------
 Login
-------------------- */
.login {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    justify-content: center;
}

.login-container {
    align-items: center;
    display: flex;
    flex-flow: column nowrap;
    gap: 60px;
    justify-content: center;
    margin: 0;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .login-container {
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
        max-width: 1260px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.login__logo {
    font-size: 1.0rem;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 304px;
    text-align: center;
    width: 75%;
}

@media (min-width: 768px) {
    .login__logo {
        margin-left: 0;
        margin-right: 0;
        width: auto;
    }
}

.login__main {
    background-color: #ffffff;
    border: 1px solid #231815;
    padding: 25px;
    width: 350px;
}

.login__main__item {
    margin: 0 0 20px;
}

.login__main__item__label {
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 5px;
}

.login__main__item input[type="text"], .login__main__item input[type="password"] {
    -webkit-appearance: none;
            appearance: none;
    background: none;
    background-color: #e8f0fe;
    border: 1px solid #b5b1b0;
    border-radius: 3px;
    box-shadow: none;
    font-size: 1.6rem;
    margin: 0;
    padding: 5px 10px;
    width: 100%;
}

.login__main__rememberme {
    margin: 0 0 30px;
}

.login__main__rememberme label {
    align-items: center;
    background: none;
    border: none;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    flex-flow: row nowrap;
    font-size: 1.6rem;
    font-weight: 400;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.login__main__rememberme label input {
    cursor: pointer;
    opacity: 0 !important;
    padding: 0;
    position: absolute;
}

.login__main__rememberme label span {
    display: block;
    padding: 0 0 0 20px;
    position: relative;
}

.login__main__rememberme label span:before {
    background-color: #ffffff;
    border: 1px solid #b5b1b0;
    border-radius: 3px;
    bottom: 0;
    content: "";
    height: 14px;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 14px;
}

.login__main__rememberme label span:after {
    border-bottom: 2px solid #000000;
    border-left: 2px solid #000000;
    bottom: auto;
    content: "";
    display: block;
    height: 5px;
    left: 3px;
    margin: auto;
    opacity: 0;
    position: absolute;
    top: 9px;
    transform: rotate(-55deg);
    width: 8px;
}

.login__main__rememberme label input:checked ~ span:before {
    background-color: #e8f0fe;
}

.login__main__rememberme label input:checked ~ span:after {
    opacity: 1;
}

.login__main__rememberme label input:disabled ~ span:before {
    background: #ebebe4;
}

.login__main__action {
    margin: 0 0 20px;
}

.login__main__action__submit {
    -webkit-appearance: none;
            appearance: none;
    background: none;
    background-color: #e3342f;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    height: 36px;
    margin: 0 auto;
    max-width: 255px;
    padding: 0;
    text-align: center;
    transition: background-color .35s cubic-bezier(.645, .045, .355, 1) 0s;
    width: 100%;
}

.login__main__action__submit:focus {
    background-color: #c51f1a;
}

@media (hover: hover) and (pointer: fine) {
    .login__main__action__submit:hover {
        background-color: #c51f1a;
    }
}

.login__main__forgotpassword {
    text-align: center;
}

.login__main__forgotpassword a {
    color: #00b0cc;
    font-size: 1.4rem;
    text-decoration: underline;
}

.login__main__forgotpassword a:focus {
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .login__main__forgotpassword a:hover {
        text-decoration: none;
    }
}
