body {
    font-family: Gotham;
    font-weight: 300;
    color: #384751;
    background-color: #F4F6F9
}

/* Text Styles --STARTS-- */
body {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.13px;
    line-height: 18px;
}

h1 {
    font-size: 36px;
    font-weight: 100;
    line-height: 40px;
}

h2 {
    font-size: 28px;
    font-weight: 100;
    line-height: 30px;
}

h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.17px;
    line-height: 24px;
}

label {
    font-size: 12px;
    font-weight: 300;
    line-height: 14px;
}

label.large {
    font-size: 13px;
    font-weight: bold;
    line-height: 14px;
}

.menuLevel1 {
    font-size: 15px;
    font-weight: 300;
    line-height: 17px;
}

.menuLevel2 {
    font-size: 15px;
    font-weight: 300;
    line-height: 18px;
}

@media only screen and (max-width: 575px) {

    h1 {
        font-size: 28px;
        line-height: 30px;
    }

    h2 {
        font-size: 24px;
        line-height: 26px;
    }

    h3 {
        font-size: 18px;
        line-height: 22px;
    }

}

/* Text Styles --ENDS-- */
/* Input Styles --STARTS-- */

.input-group {
    position: relative;
    height: 46px;
    margin: 25px 0 0px 0;
    width: 100%;
}

.input-group label {
    color: #6A7881;
    position: absolute;
    pointer-events: none;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.13px;
    line-height: 18px;
}

.input-group  input {
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.13px;
    line-height: 18px;
    padding: 6px 0px 10px 0px;
    display: block;
    border: none;
    border-bottom: 1px solid #D8DFE7;
    background-color: transparent;
}

input:invalid {
    box-shadow: none;
}

.input-group  input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.input-group  input:focus {
    outline: none;
    padding: 6px 0px 12px 0px;
    border-bottom: 0px solid #ABB7C0;
}

.input-group input:focus ~ label,
.input-group input[type=email]:valid ~ label,
.input-group input[type=email]:invalid ~ label,
.input-group input[type=text]:valid ~ label,
.input-group input[type=text]:invalid ~ label,
.input-group input[type=password]:focus ~ label,
.input-group input[type=password]:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #6A7881;
}

.input-group input[type=password]:-webkit-autofill ~ label {
    top: -20px;
    font-size: 14px;
    color: #6A7881;
}

.input-group input:focus ~ .input-bar:after,
.input-group input:focus ~ .input-bar:before
{
    width: 50%;
}

.input-bar {
    position: relative;
    display: block;
    width: 100%;
}

.input-bar:before {
    content: '';
    height: 1px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #00A390;
    transition: 0.2s ease all;
    left: 50%;
}

.input-bar:after {
    content: '';
    height: 1px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #00A390;
    transition: 0.2s ease all;
    right: 50%;
}

/* Input Styles --ENDS-- */

/* Button Styles --STARTS-- */
.ni-btn {
    font-family: Gotham;
    line-height: 56px;
    text-decoration: none;
    position: inherit;
    width: 373px;
    height: 56px;
    outline: none;
    cursor: pointer;
    margin: 0;
    display: inline-block;
    border: none;
    font-size: 20px;
    letter-spacing: 0.17px;
    text-align: center;
    border-radius: 2px;
    font-weight: 100;
    background: #FF5859 none;
    color: #FFFFFF;
}

.ni-btn:disabled, .ni-btn.ni-btn-primary:disabled, .ni-btn.ni-btn-secondary:disabled {
    background-color: #6A7881;
    color: #FFFFFF;
    opacity: 0.7;
    cursor: not-allowed;
    border: none;
}

.ni-btn.ni-btn-primary {
    background-color: #FF5859;
    color: #FFFFFF;
}

.ni-btn.ni-btn-primary:hover, a.ni-btn:hover {
    background-color: #E25253;
    color: #FFFFFF;
}

.ni-btn.ni-btn-primary.loading {
    background-color: #E25253;
    color: #FFFFFF;
    cursor: not-allowed;
}

.ni-btn.ni-btn-secondary {
    color: #FF5859;
    background-color: #FFFFFF;
    border: 2px solid #FF5859;
}

.ni-btn.ni-btn-secondary:hover {
    color: #E25253;
    border: 3px solid #E25253;
}

.ni-btn.ni-btn-secondary.loading {
    color: #E25253;
    border: 3px solid #E25253;
    cursor: not-allowed;
}

@media only screen and (max-width: 767px) {
    .ni-btn {
        height: 45px;
        width: 275px;
    }
}

/* Button Styles --ENDS-- */

.login-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F4F6F9;
    height: 100vh;
}

.card-wrapper {
    background: url("../img/background.svg") no-repeat center;
    background-size: 675px;
    align-content: center;
    justify-content: center;
    display: flex;
    width: 100vw;
}

.card {
    background-color: white;
    padding: 20px 40px 40px 40px;
    width: 375px;
    box-shadow: 0 2px 15px 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card > div {
    width: 100%;
}

#kc-header-wrapper {
    display: flex;
    justify-content: center;
}

.login-header {
    width: 100%;
    display: flex;
}

.login-title {
    width: 100%;
    color: #384751;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.17px;
    line-height: 24px;
}

.login-logo {
    height: 50px;
    padding: 0 0 40px 0;
}

.login-logo-wrapper {
    width: 393px;
}

.login-options {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.form-btn-group {
    padding: 20px 0 0 0;
}

.alert {
    display: block;
    min-height: 20px;
    margin: 10px 0 40px 0;
}

.alert-error {
    padding: 10px;
    font-size: 15px;
    letter-spacing: 0.13px;
    font-weight: 100;
    border-radius: 1px;
    background-color: rgba(212, 0, 0, 0.06);
    color: rgba(212, 0, 0, 1);
}

a {
    text-decoration: none;
    color: #384751;
    position: relative;
    -webkit-transition: opacity 0.2s ease-in-out 0s;
    -moz-transition: opacity 0.2s ease-in-out 0s;
    transition: opacity 0.2s ease-in-out 0s;
}

a:hover {
    opacity: 1;
    color: #FF5859;
}

a:before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 2px;
    z-index: 10;
    background-color: #FF5859;
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}

a:hover:before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    transform: scaleX(1);
}

@media all and (max-width: 767px) {

    .card-wrapper {
        background-size: 550px;
    }

    .card {
        width: 280px;
        padding: 10px 30px 30px 30px;
    }

    .login-logo-wrapper {
        width: 305px;
    }

    input[type=submit], .ni-btn {
        height: 45px;
        line-height: 45px;

    }

}

.kc-feedback-text {
    white-space: pre-wrap;
}

form {
    margin-top: 40px;
}

