.logo {
    width: 75px;
    background-image: url('../img/logo/CHIPBOND.svg');
}
.frame {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
}
.frame > .header {
    /*min-height: 30px;*/
    flex: 1 1 auto;
}

.frame > .content {
    width: 100%;
}

.frame > .content > .card-body {
    padding: 36px 40px
}

.frame > .footer {
    /*min-height: 65px;*/
    flex: 1 1 auto;
}

.lang {
    display: flex;
    margin: 10px auto;
    font-size: 0.9em;
}

.lang a {
    text-decoration: none;
    color: #1a73e8 !important;
}

.left, .right {
    flex: 1 1 auto;
}

.lang > .left {
    padding-right: 20px;
    text-align: right;
}

.lang > .right {
    padding-left: 20px;
    text-align: left;
}

.header .toast {
    display: block !important;
    /*opacity: 1 !important;*/
    transform: translateY(-100%);
    transition: transform .5s;
}

.header .toast.show {
    transform: translateY(0);
}

#toast .toast-header {
    color: #fe365a;
}

input#loading + .loading-block {
    display: none;
}

input#loading:invalid + .loading-block {
    display: block;
}

.loading-block {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.loading {
    height: 5px;
    width: 100%;
    overflow: hidden;
}

.loading:before {
    display: block;
    content: '';
    height: 100%;
    width: 25%;
    background-color: rgba(10, 83, 190, 0.8);
    animation: loader 2s linear infinite;
}

.toast-block {
    position: absolute;
    bottom: 20%;
    left: 0;
}
.form-control.is-valid, .was-validated .form-control:valid {
    border-color: #ced4da;
    background-image: none;
    /*padding: 0.375rem 0.75rem;*/
}

.form-control.is-valid:focus, .was-validated .form-control:valid:focus {
    border-color: #ced4da;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253, 0.25);
}

@keyframes loader {
    0% {
        margin-left: 0;
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-50%) scaleX(3);
    }
    100% {
        margin-left: 100%;
        transform: translateX(0%);
    }
}


@media (max-width: 576px) {
    .frame {
        max-width: 100%;
    }
    .frame > .header {
        flex: 0 1 auto;
    }
    .content {
        /*flex: 1 1 auto;*/
        border: none;
    }
    .frame > .content > .card-body {
        padding: 36px 20px 10px;
    }
    .frame > .footer {
        /*flex: 0 1 auto;*/
    }
    .header .toast {
        margin-left: 5px;
        margin-right: 5px;
    }
    .loading-block {
        position: fixed;
    }
}