.login-pf-page {
    min-height: calc(100vh - 45px);
    padding-top: 0 !important;;
}

.login-pf-page .form-control {
    height: 31px;
    border-radius: 3px;
    border: 1px solid #DEDEDE;
}

.login-pf-page .form-control:focus {
    border-color: #66afe9;
    box-shadow: none;
}

.login-pf-forgot-password a {
    font-weight: bold;
    color: #4a8846;
}

.login-pf-forgot-password a:hover {
    color: #4a8846;
}

.login-pf body {
    background-image: none;
    background-size: cover;
    background-color: #f3f5f8;
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

.login-pf .container {
    padding-top: 40px;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    white-space: normal;
}

#kc-content {
    width: 100%;
}

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
}

#kc-registration {
    margin-bottom: 15px;
}

#kc-login-form-title > h1 {
    font-size: 26px;
    text-align: center;
    padding-bottom: 30px;
}

#kc-login-form-title > h4 {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

/* TOTP */

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width: 150px;
    max-height: 150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.zocial,
a.zocial {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}

.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}

@media (min-width: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }
}

@media (max-width: 767px) {
    .login-pf body {
        background: white;
    }

    #kc-header {
        padding-left: 0;
        padding-right: 0;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
        font-size: 16px;
        font-weight: bold;
        padding: 0;
        color: #72767b;
        letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }

}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

#kc-form-buttons {
    margin-top: 15px;
}

#kc-form-buttons .btn {
    background: #6DB269;
    color: #FFFFFF;
    border: none;
    width: 149px;
    height: 34px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    border-radius: 2px;
}

#kc-form-buttons .btn:active:hover {
    background: #6DB269;
}

.login-pf-page .login-pf-brand {
    max-width: 360px;
    width: 40%;
}

.card-pf {
    background: #fff;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 500px;
    border-top: 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px 20px 30px 20px;
    }
}

@media (max-width: 767px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
    }

    .card-pf.login-pf-accounts {
        max-width: none;
    }
}

.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}

@media (min-width: 768px) {
    .login-pf-page .login-pf-social-section:first-of-type {
        padding-right: 39px;
        border-right: 1px solid #d1d1d1;
        margin-right: -1px;
    }

    .login-pf-page .login-pf-social-section:last-of-type {
        padding-left: 40px;
    }

    .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
        margin-bottom: 0;
    }
}

.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

.login-pf-page .btn-primary {
    margin-top: 0;
}

.header-component {
    width: 100%;
    display: inline-block;
}

.header-component .env {
    color: red!important;
    padding: 0px!important;
    margin: 0px!important;
    font-size: 24px!important;
    font-weight: bold;
}

#kc-header-wrapper .header-component:first-child {
    background-color: #6DB269;
    height: 25px;
    padding: 5px 0;
}

#kc-header-wrapper .header-component:first-child a {
    color: #BDBDBD;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    float: right;
    margin-right: 77px;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.4;
}

#kc-header-wrapper .header-component:first-child a:hover {
    color: #FFFFFF;
}

#kc-header-wrapper .header-component:nth-child(2) {
    padding: 8px 0;
}

#kc-header-wrapper .header-component:nth-child(2) .enjaz-logo {
    float: left;
    margin-left: 60px;
    height: 75px;
    padding-top: 17px;
}

#kc-header-wrapper .header-component:nth-child(2) {
    padding: 8px 0;
    min-width: 540px;
}

#kc-header-wrapper .header-component:nth-child(2) .customs-trade-portal {
    float: left;
    margin-left: 10px;
    width: 150px;
    height: 85px;
}

#kc-header-wrapper .header-component:nth-child(2) .customs-logo {
    float: right;
    margin-right: 60px;
    margin-top: 5px;
    width: 140px;
    height: 76px;
}

#kc-header-wrapper .header-component:nth-child(3) {
    background-color: #6DB269;
    height: 40px;
}

.login-body {
    height: 100%;
    min-height: 820px;
}

.login-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 30px;
    width: 100%;
    background-color: #424242;
    padding: 5px 0;
}

.login-footer a {
    float: right;
    color: #BDBDBD;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 77px;
    font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.login-footer a:hover {
    color: #FFFFFF;
}

.left-icons {
    min-width: 305px;
}

.header-row {
    margin: 0px!important;
    min-height: 90px;
}


.white-color{
    background-color: white;
}

.col-md-offset-right-1 {
    margin-right: 8.33333333%;
}

.col-md-offset-right-2 {
    margin-right: 16.66666667%;
}

.test-environment {
    background-color: #e86767;
    font-size: 11px;
    border-radius: 3px;
    color: #ffffff;
    display: inline;
    font-weight: normal;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-header {
    height: 36px !important;
    padding-top: 9px !important;
}
