body {
    min-height: 100vh;
    color: #21242d;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

input,
textarea,
select {
    outline: 0 !important;
    font-weight: 400;
}

/**
 * HACK: Remove yellow background color on autofilled inputs in Webkit browsers.
 */
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 {
    box-shadow: inset 0 0 0 1000px #fff;
}

a,
a:hover,
a:active {
    color: #0b8ebc;
}

.btn {
    border-radius: 2px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border: 0;
}

.btn-primary {
    background-color: #0b8ebc;
    border-color: #0b8ebc;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
    background-color: #28aed7;
    border-color: #28aed7;
}

.btn:focus,
.btn.focus,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus {
    box-shadow: none;
}

.btn-submit {
    margin-top: 2rem!important;
}

.vimcar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    background-color: #e5e5e5;
}

.vimcar-logo {
    display: block;
    margin: 4px 0 3px;
    height: 25px;
}

.container-centered {
    width: 100%;
    max-width: 460px;
    padding: 24px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
}

@media (min-width: 576px) {
    body {
        background: #e5e5e5;
        background-image: radial-gradient(#fefefe, #e5e5e5);
    }

    .vimcar-header {
        background-color: transparent;
        padding: 32px 0;
    }

    .vimcar-logo {
        height: 36px;
        margin: 6px 0;
    }

    .container-centered {
        padding: 40px 48px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    }
}

.text {
    color: #21242d;
    font-size: 16px;
    line-height: 20px;
}

.text-secondary {
    color: #798291;
}

.title {
    font-size: 20px;
    line-height: 24px;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

label {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 0;
    color: #798291;
}

.form-signin .form-element {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
    border-radius: 0;
    font-size: 16px;
    line-height: 20px;
    border-bottom: 2px solid #d7dade;
    margin-bottom: 6px;
    transition: border-color 95ms ease;
}

.form-signin .form-element:focus {
    border-bottom: 2px solid #0b8ebc;
    margin-bottom: 6px;
}

.form-signin .step-error .form-element {
    border-bottom-color: #f15866;
}

.form-group:focus-within .label {
    color: #0b8ebc;
}

.step-error .form-group .label {
    color: #f15866;
}

.step-error .password-visibility {
    bottom: 34px;
}

.form-signin input {
    border: none;
}

.alert {
    padding: 0;
    border-radius: 0;
    background: none !important;
    border: none !important;
    margin-bottom: 8px;
    font-weight: 400;
}

.alert-danger {
    color: #f15866;
}

.alert-info {
    color: #798291;
}

.small {
    font-size: 14px;
    line-height: 20px;
}

.btn-loader {
    position: relative;
}

.loader {
    color: #fff;
    visibility: hidden;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    position: absolute;
    line-height: 0;
}

.loader > span {
    display: inline-block;
    float: none;
    margin: 4px;
    border: 0 solid;
    border-radius: 100%;
    background-color: currentColor;
    width: 10px;
    height: 10px;
    -webkit-animation: loader-animation .7s linear -.15s infinite;
    animation: loader-animation .7s linear -.15s infinite
}

.loader > span:nth-child(2n-1) {
    -webkit-animation-delay: -.5s;
    animation-delay: -.5s
}

@-webkit-keyframes loader-animation {
    50% {
        -webkit-transform: scale(.75);
        transform: scale(.75);
        opacity: .2
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@keyframes loader-animation {
    50% {
        -webkit-transform: scale(.75);
        transform: scale(.75);
        opacity: .2
    }

    to {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

.col-13 {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

.password-check {
    line-height: 20px;
    letter-spacing: 0.5px;
}

.icon-info {
    width: 24px;
    height: 24px;
}

.form-signin .form-group {
    position: relative;
}

.password-visibility {
    display: inline-block;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    right: 5px;
    bottom: -15px;
}

.nowrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stepper-username .step-username {
    display: block;
}

.stepper-username .step-password {
    display: none;
}

.stepper-password .step-username {
    display: none;
}

.stepper-password .step-password {
    display: block;
}

.stepper-password a.step-password {
    display: inline;
    text-decoration: none;
}

.stepper-password a.step-password img {
    margin-bottom: 2px;
}

.stepper-password .step-password label.checkbox {
    color: #21242d;
    font-weight: 400;
    font-size: 14px;
    display: block;
}

.stepper-password .step-password label.checkbox input {
    color: #21242d;
    font-weight: 400;
    font-size: 16px;
    vertical-align: middle;
}

.stepper-password .step-password label.checkbox span {
    padding-left: 8px;
    vertical-align: middle;
}

.form-signin button.btn:disabled {
    cursor: not-allowed;
    pointer-events: none;

    background: #abb1bc;
    border-color: #abb1bc;
}

.error_template {
    display: none;
}

.signin-button {
    background-color: #1fb3e0;
    border-color: #1fb3e0;
}
.signin-button.loading .button-text {
    visibility: hidden;
}
.signin-button.loading .loader {
    visibility: visible;
}
