/**
Success: #C1DC7D
Error: #F44236
 */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

@media all and (min-height: 600px) {
    body,
    html {
        height: 100%;
    }
}

body {
    min-width: 320px;
    padding: 10px;
    background-image: linear-gradient(-200deg, rgba(157, 140, 174, 0.2) 9%, rgba(0,69,103,0.13) 100%);
    font-size: 0.75rem;
}

.form-group:after {
    content: '';
    display: block;
    clear: both;
}

#kc-header,
.login-pf-header,
#kc-locale {
    display: none;
}

.login-pf-page {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media all and (min-height: 600px) {
    .login-pf-page {
        height: 100%;
    }
}

.card-pf {
    width: 100%;
    max-width: 440px;
}

.card-pf .logo {
    display: block;
    margin-bottom: 20px;
    width: 50%;
}

#kc-form-wrapper {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 20px;
    box-shadow: -10px 28px 44px rgba(69, 69, 69, .12);
    border-radius: 5px;
}

#kc-form-wrapper:after {
    content: '';
    display: block;
    clear: both;
}

/*
#kc-form-wrapper img {
    width: calc(100% + 40px);
    margin: -20px -20px 20px -20px;
}
*/

#kc-form-wrapper .logo {
    width: auto;
    height: 42px;
}

#kc-form-wrapper h1 {
    margin: 0;
    margin-bottom: 10px;
    font-size: 0.875rem;
    font-weight: 100;
    text-transform: uppercase;
    color: #004567;
    opacity: 0.5;
}


/*
** Form Elements
*/

.control-label {
    display: block;
    padding: 0 0 0 20px;
    margin: 0 0 4px 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.625rem;
    color: #004567;
}

#kc-form-buttons {
    content: '';
    display: block;
    clear: both;
}

#kc-form input,
#kc-form button {
    width: 100%;
    height: 38px;
    padding: 0 20px;
    margin: 0 0 10px 0;
    line-height: 36px;
    font-size: 0.75rem;
    font-weight: 100;
    color: #004567;
    background: #F8FBFF;
    border: 1px solid #E0EDFD;
    border-radius: 19px;
    outline: 0;
    transition: all 0.1s ease-out;
    box-sizing: border-box;
}

#kc-form input[type="submit"],
#kc-form button {
    width: 100%;
    margin: 10px 0 20px 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: #96BE06;
    border-color: transparent;
    border-radius: 30px;
    float: right;
    cursor: pointer;
}

#kc-form input[type="submit"]:hover {
    background: #82a504;
}

#kc-form input:focus {
    border-color: #004567;
    box-shadow: 0 10px 11px rgba(0, 69, 103, 0.25);
}

#kc-form input:disabled {
     opacity: 0.6;
     cursor: not-allowed;
 }

input:-ms-input-placeholder {
    text-transform: uppercase;
    color: #A2BDE1;
}

input::-moz-placeholder {
    text-transform: uppercase;
    color: #A2BDE1;
    opacity: 1;
}

input::-webkit-input-placeholder {
    text-transform: uppercase;
    color: #A2BDE1;
}

input::placeholder {
    text-transform: uppercase;
    color: #A2BDE1;
}


/*
** Remember me
*/

.login-pf-settings {
    margin: 0 0 10px 0;
}

.checkbox {
    position: relative;
    display: block;
    padding-left: 32px;
    font-size: 13px;
    font-weight: 100;
    line-height: 20px;
    color: #9AA7C3;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    cursor: pointer;
}

.checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background-color: #F8FBFF;
    border: 1px solid #E0EDFD;
    border-radius: 2px;
}

.checkbox .checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid #96BE06;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
 }

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    border-color: #96BE06;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}


/*
** Forgot password

.forgot-password {
    margin-top: 8px;
}

.forgot-password a {
    font-size: 13px;
    font-weight: 100;
    color: #9AA7C3;
}
*/


/*
** Links
*/

#kc-form-links {
    text-align: center;
}

#kc-form-links .kc-form-link {
    display: inline-block;
    margin: 0 0 10px 0;
}

#kc-form-links .kc-form-link a {
    font-weight: 600;
    text-decoration: underline;
    text-transform: uppercase;
    color: #004567;
}

#kc-form-links .kc-form-link.link-register {
    margin-right: 10px;
}


/*
** Alert
*/

#kc-content-wrapper .flash,
#kc-content-wrapper .alert {
    position: relative;
    padding: 8px 10px 8px 40px;
    margin: 0 0 20px 0;
    font-size: 0.875rem;
    font-weight: 100;
    text-align: left;
    line-height: 22px;
    color: #004567;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    border: 1px solid #e7e7e7;
}

#kc-content-wrapper .flash.flash-error,
#kc-content-wrapper .alert.alert-error {
    background: #ffd0cd;
}

#kc-content-wrapper .flash.flash-error:before,
#kc-content-wrapper .alert.alert-error:before {
    content: '!';
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    text-align: center;
    color: #fff;
    background: #F44236;
    border-radius: 10px;
}

#kc-content-wrapper .flash.flash-success,
#kc-content-wrapper .alert.alert-success {
    background: #D7E1BC;
}

#kc-content-wrapper .flash.flash-success:before,
#kc-content-wrapper .alert.alert-success:before {
    content: '\2713';
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    text-align: center;
    color: #fff;
    background: #7EAC08;
    border-radius: 10px;
}

#kc-content-wrapper .flash.flash-warning:before,
#kc-content-wrapper .alert.alert-warning:before {
    content: '!';
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    text-align: center;
    color: #fff;
    background: #004567;
    border-radius: 10px;
}


/*
** Footer Menu
*/

.footer-menu {
    margin: 20px 0 10px 0;
    font-size: 0.75rem;
    color: #004567;
}

.footer-menu a {
    text-decoration: none;
    color: #004567;
}

/*
** Help / Form Info
*/

.form-info {
    position: relative;
    margin: 0 -20px -20px -20px;
    padding: 20px 20px 20px 60px;
    background: #f8fbff;
    border-top: 1px solid #f9f9f9;
}

.form-info .info-icon {
    position: absolute;
    top: 20px;
    left: 20px;
}

.form-info .info-title {
    font-size: 0.8175rem;
    font-weight: 600;
    line-height: 140%;
    text-transform: uppercase;
    color: #004567;
}

.form-info ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.form-info li {
    color: #004567;
    font-size: 0.75rem;
    line-height: 20px;
    letter-spacing: 1px;
}

.form-info li a {
    text-decoration: underline;
    color: #004567;
}

.form-info .info-list-label {
    text-transform: uppercase;
}

@media all and (min-width: 620px) {
    .forgot-password {
        float: right;
        margin-top: 0;
    }

    #kc-form-options {
        float: left;
    }
}
