/* FONTS */

@import url('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
@import url('https://use.typekit.net/rif4mkh.css');
:root {
    --current-module-color: #348C30;
    --current-module-color-dark: #10590C;
}

.login {
    font-family: "barlow elotech", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.login-pf body {
    background: white;
}

.login-pf .kc-logo {
    display: none;
}

.login .form-group label {
    display: none;
}

.login .form-group label[for="termsAccepted"] {
    display: inline-block;
}

#kc-update-profile-form .form-group label {
    display: block;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    min-height: 16px;
}

.login-pf #kc-cancel {
    border: 0;
    color: var(--current-module-color);
    background: transparent;
    margin-top: 5px;
}

.login-pf #kc-cancel:hover {
    text-decoration: underline;
}

.login-pf #kc-container {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px 0;
}

.login-pf #kc-container-wrapper {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: auto;
    position: initial;
    border: 1px solid #D4D4D4;
    border-radius: 18px;
    max-width: 370px;
    min-height: 560px;
    height: auto;
    /* top: 0; */
    padding: 0 0 42px 0;
    background: url('../img/logo-elotech-rebranding.png') bottom center no-repeat #FFFFFF;
    background-size: 133px;
    background-position-y: calc(100% - 12px);
    box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.2);
}

.login-pf .status {
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
}

.login-pf .status.error #kc-container-wrapper {
    overflow: visible;
}

.login-pf .status.error #kc-form-login .form-control,
.login-pf .status.error #kc-reset-password-form .form-control,
.login-pf .status.error #kc-totp-login-form .form-control,
.login-pf .status.error #kc-form-login .control-label:before,
.login-pf .status.error #kc-reset-password-form .control-label:before,
.login-pf .status.error #kc-totp-login-form .control-label:before {
    border-color: #d22323;
}

.login-pf .messages {
    text-align: center;
    color: var(--current-module-color);
    min-height: 30px;
    font-weight: 600;
    width: 300px;
    max-width: 100%;
    float: none;
    display: block;
    clear: both;
    margin: 0 auto;
    padding-top: 10px;
}

.login-pf .status.error .messages {
    color: #d22323;
}

.login-pf #kc-error-message {
    text-align: center;
    color: var(--current-module-color);
    max-width: 300px;
    margin: 0 auto;
}

.login-pf .pficon-error-circle-o:before {
    color: rgba(255, 0, 0, 0.60);
    padding: 0 5px 0 0;
}

.login-pf #kc-info-wrapper {
    text-align: center;
    color: var(--color-administrativo);
    max-width: 300px;
    margin: 0 auto 15px auto !important;
    font-size: 12px;
    font-weight: 600;
    padding-top: 30px;
}

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

#kc-locale {
    display: none;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 20px;
    top: 30px;
    width: 200px;
    padding: 2px;
}

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

#kc-locale ul li a {
    display: block;
    padding: 1px 11px;
    color: #000 !important;
    border: 1px solid #fff;
    text-decoration: none;
    line-height: 20px;
}

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

#kc-locale-dropdown a {
    color: #fff;
}

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

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

a#kc-current-locale-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

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

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

.login-pf a:hover {
    color: var(--current-module-color-dark);
}

#kc-logo {
    width: 100%;
}

.btn-default-otp {
    height: 46px;
    width: 300px;
    max-width: 100%;
    border: none;
    border-radius: 4px;
    text-transform: capitalize;
    color: white;
    background: #ff0000;
    font-weight: 300;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    transition: .2s ease-in-out;
    margin-top: 10px;
}

.login-pf .btn-primary {
    height: 46px;
    width: 300px;
    max-width: 100%;
    border: none;
    border-radius: 4px;
    text-transform: capitalize;
    color: white;
    background: var(--current-module-color);
    font-weight: 300;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    transition: .2s ease-in-out;
}

.login-pf #kc-accept {
    border: none;
    border-radius: 4px;
    text-transform: capitalize;
    color: white;
    background: var(--current-module-color);
    font-weight: 300;
    transition: .2s ease-in-out;
    background: var(--current-module-color);
}

.login-pf #kc-decline {
    border: none;
    border-radius: 4px;
    text-transform: capitalize;
    font-weight: 300;
    transition: .2s ease-in-out;
}

.login-pf .btn-primary.outline {
    background: transparent;
    border: 1px solid var(--current-module-color);
    color: var(--current-module-color);
    font-weight: 500;
    margin-top: 14px;
}

.login-pf .btn-primary:hover,
.login-pf .btn-primary:focus {
    background: #010A0D;
    background: var(--current-module-color-dark);
    outline: none;
    border: none;
    color: white;
    font-weight: initial;
}

.login-pf .btn-primary.a:hover {
    color: white !important;
}

.current-client {
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: underline;
    font-weight: 600;
    color: var(--current-module-color);
}

.form-control {
    height: 46px;
    width: 300px;
    max-width: 100%;
    border-radius: 4px;
    font-size: 14px;
}

#kc-form-login .form-group label[for="username"] {
    display: block;
    height: 46px;
    width: 46px;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding-top: 0;
    margin: 0;
}

#kc-form-login .form-group label[for="username"]:before {
    font-family: "Font Awesome 5 Free", "Open Sans", sans-serif;
    content: '\f007';
    color: var(--current-module-color);
    display: block;
    height: 46px;
    width: 46px;
    background: white;
    border: 1px solid #D4D4D4;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 46px;
}

#kc-form-login .form-group input[name="username"],
#kc-form-login input[name="password"] {
    padding-left: 66px;
}

.login .form-group input {
    box-shadow: none;
    border: 1px solid #D4D4D4;
}

#kc-form-login .form-group label[for="password"] {
    display: block;
    height: 46px;
    width: 46px;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding-top: 0;
    margin: 0;
}

#kc-form-login .form-group label[for="password"]:before {
    font-family: "Font Awesome 5 Free", "Open Sans", sans-serif;
    content: '\f023';
    color: var(--current-module-color);
    display: block;
    height: 46px;
    width: 46px;
    background: white;
    border: 1px solid #D4D4D4;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    text-align: center;
    vertical-align: middle;
    line-height: 46px;
}

.login .form-group input[name="password"] {
    box-shadow: none;
    border: 1px solid #D4D4D4;
}

.login .form-group input:focus {
    border-color: var(--current-module-color);
}

#kc-form-login .form-group input:focus+label:before {
    border-color: var(--current-module-color);
    transition: .75s all;
}

a {
    color: var(--current-module-color);
}

a:hover {
    color: var(--current-module-color-dark) !important;
}

a.btn-primary:hover {
    color: white !important;
}

.form-control:hover,
.form-control:focus {
    border-color: var(--current-module-color);
}


/* PLACEHOLDER */

.form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-style: normal;
    color: #616161;
}

.form-control::-moz-placeholder {
    /* Firefox 19+ */
    font-style: normal;
    color: #616161;
}

.form-control:-ms-input-placeholder {
    /* IE 10+ */
    font-style: normal;
    color: #616161;
}

.form-control:-moz-placeholder {
    /* Firefox 18- */
    font-style: normal;
    color: #616161;
}

#kc-logo-wrapper {
    display: none;
}

.form-horizontal .form-group {
    margin: 0 0 8px 0;
    position: relative;
}

#kc-form-options label {
    font-weight: 600;
    cursor: pointer;
    color: var(--current-module-color);
}

input[type="checkbox"] {
    vertical-align: sub;
}

#kc-form-options>div {
    padding: 0 5px;
}

#kc-form-options span {
    text-align: right;
}

#kc-reset-password-form #kc-form-options span {
    text-align: left;
}

div.kc-logo-text {
    background: url("../img/oxy-login.png") center center no-repeat;
    background-size: auto 50px;
    width: 300px;
    height: 50px;
    margin: 0 auto;
}

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

.kc-logo-area {
    display: flex;
    width: 300px;
    /* height: 66px; */
    margin: 0 auto;
    color: var(--current-module-color);
    font-weight: 400;
    font-size: 17px;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-family: "barlow elotech", sans-serif;
    font-style: italic;
    word-wrap: break-word;
    text-wrap: wrap;
    text-align: center;
}

.kc-logo-area:not(.oxy):before {
    content: '';
    min-width: 50px;
    min-height: 50px;
    /* margin-right: 10px; */
    background-size: 50px;
    background-position: left center;
    background-repeat: no-repeat;
}

.kc-logo-area.adm:before {
    background-image: url("../img/areas/oxy-administrativo.svg");
}

.kc-logo-area.rhu:before {
    background-image: url("../img/areas/oxy-rh.svg");
}

.kc-logo-area.ctb:before {
    background-image: url("../img/areas/oxy-contabil.svg");
}

.kc-logo-area.soc:before {
    background-image: url("../img/areas/oxy-social.svg");
}

.kc-logo-area.arr:before {
    background-image: url("../img/areas/oxy-arrecadacao.svg");
}

.kc-logo-area.edu:before {
    background-image: url("../img/areas/oxy-educacional.svg");
}

.kc-logo-area.oxy:before {
    content: unset;
}

#kc-form-login,
#kc-reset-password-form,
#kc-totp-login-form,
#kc-register-form,
#kc-form-wrapper {
    max-width: 100%;
    width: 300px;
    margin: 0 auto;
}

#kc-form-wrapper .instruction {
    text-align: center;
}

#kc-header {
    margin-top: 30px;
    color: #fff;
    overflow: visible;
    white-space: nowrap;
    margin-bottom: 10px;
}

#kc-header-wrapper {
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 15px;
}

#kc-content-wrapper {
    overflow-y: hidden;
    padding-bottom: 20px;
}

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

/* TOTP */

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

ol#kc-totp-settings li {
    margin-top: 1em;
}

#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;
}


/* 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 30px;
}

#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 .label {
    color: var(--current-module-color);
    font-size: 12px;
    width: 100%;
    text-align: center;
    display: block;
    position: relative;
    clear: both;
    margin-top: 30px;
}

#kc-social-providers .label:before {
    content: '';
    height: 1px;
    background-color: var(--current-module-color);
    display: block;
    position: absolute;
    width: 85px;
    max-width: 100%;
    top: 0;
    margin-top: 8.5px;
}

#kc-social-providers .label:after {
    content: '';
    height: 1px;
    background-color: var(--current-module-color);
    display: block;
    position: absolute;
    width: 85px;
    max-width: 100%;
    margin-top: 8.5px;
    right: 0.6em;
    top: 0;
}

#kc-social-providers ul {
    padding: 0;
    margin: 0;
    /* display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-around;
    align-items: center; */
}

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

.zocial {
    width: 96px;
    transition: all .3s;
}

.zocial,
a.zocial {
    border: .5px solid white;
}

.zocial:hover {
    color: white !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter,
.zocial.keycloak-oidc,
.zocial.certificate {
    background-image: none;
    border-radius: 5px;
    font-weight: normal;
    box-shadow: none;
    text-shadow: none;
}

.zocial.facebook,
.zocial.google,
.zocial.keycloak-oidc,
.zocial.certificate,
.zocial.microsoft,
.zocial.twitter {
    font-size: 16px;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: start;
    align-items: center;
    height: 50px;
    padding-left: 30px;
    padding-right: 30px;
    width: auto;
    border-radius: 50px;
    background: white !important;
    color: #3c3c3b !important;
    border: 1px solid #b3b3b3;
}


/* .zocial.certificate {
    background-color: #F06022;
} */

.zocial.certificate:before {
    background: url(../img/icp-brasil-.svg) no-repeat;
    height: 20px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com Certificado";
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 0px;
    padding-left: 40px;
    font-weight: 600;
    line-height: normal;
}


/* .zocial.twitter:before {
    background: url(../img/icp-brasil-.svg) no-repeat;
    height: 20px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com Certificado";
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 0px;
    padding-left: 40px;
    font-weight: 600;
    line-height: normal;
} */

.zocial.facebook:before {
    background: url(../img/facebook-icon.svg) no-repeat;
    height: 30px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com Facebook";
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 3px;
    padding-left: 25px;
    font-weight: 600;
}

.zocial.google:before {
    background: url(../img/google-icon.svg) no-repeat;
    height: 30px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com Google";
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 3px;
    padding-left: 25px;
    font-weight: 600;
}

.zocial.microsoft:before {
    background: url(../img/microsoft-icon.svg) no-repeat;
    background-size: auto 30px;
    width: 30px;
    height: 30px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com Microsoft";
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    font-size: 14px;
    padding-top: 3px;
    padding-left: 25px;
    font-weight: 600;
    margin-right: 55px;
}

.zocial.facebook .text {
    display: none;
}

.zocial.google .text {
    display: none;
}

.zocial.certificate .text {
    display: none;
}


/* .zocial.twitter .text {
    display: none;
} */

.zocial.microsoft .text {
    display: none;
}


/* .zocial.google {
    background-color: #dd4b39 !important;
} */

.zocial.facebook:hover,
.zocial.github:hover,
.zocial.google:hover,
.zocial.microsoft:hover,
.zocial.stackoverflow:hover,
.zocial.linkedin:hover,
.zocial.twitter:hover,
.zocial.certificate:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

#zocial-govbr::before {
    font-family: "Font Awesome 5 Brands", "Open Sans", sans-serif;
    background: url(../img/govbrColor.svg) no-repeat;
    height: 30px;
    box-shadow: none;
    border: none;
    content: "\00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 \00a0 Entrar com govbr";
    font-size: 14px;
    padding-left: 37px;
    font-weight: 600;
    width: 55px;
    background-size: auto 20px;
}

#zocial-govbr:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
}

#zocial-govbr {
    background-color: #e3e8f2;
    background-image: url("../img/govbr.svg");
    background-repeat: no-repeat;
    background-position: 60px;
    background-size: 34%;
    padding-top: 10px;
}

#zocial-govbr span {
    display: none;
}

#kc-terms-form {
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: space-around;
    align-items: center;
}

#kc-terms-text {
    margin-bottom: 20px;
    text-align: justify;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

h1#kc-terms-title {
    margin-top: 10px;
    text-align: center;
}

#kc-registration-terms-text {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 5px;
}

#kc-registration {
    font-size: 12px;
    display: inline-block;
    text-align: left;
    margin-bottom: 10px;
}

#kc-forgot {
    font-size: 12px;
    display: inline-block;
    text-align: right;
    float: right;
    margin-bottom: 10px;
}


/* Copy of zocial windows classes to be used for microsoft's social provider button */


/* .zocial.microsoft {
    background-color: #0052a4; 
    color: #fff; 
    font-size: 16px;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: start;
    align-items: center;
    height: 50px;
    padding-left: 30px;
    padding-right: 30px;
    width: auto;
    border-radius: 50px;
    background: white !important;
    color: #3c3c3b !important;
    border: 1px solid #b3b3b3;
} */


/* .zocial.microsoft:before {
    background: url(../img/microsoft-icon.svg) no-repeat;
    background-size: auto 30px;
    width: 30px;
    height: 30px;
    margin-right: 55px;
    box-shadow: none;
    border: none;
} */

@media (min-width: 768px) {
    #kc-container-wrapper {
        /*position: absolute;*/
        width: 100%;
    }
    #kc-logo-wrapper {
        position: absolute;
        top: 50px;
        right: 50px;
    }
    .login-pf .container {
        padding-right: 80px;
    }
    #kc-locale {
        position: relative;
        width: 200px;
        left: -230px;
        text-align: right;
        z-index: 9999;
    }
    .login-pf .status #kc-locale {
        display: none;
    }
    /* .zocial.facebook,
    .zocial.google,
    .zocial.keycloak-oidc,
    .zocial.certificate,
    .zocial.microsoft,
    .zocial.twitter {
        font-size: 16px;
        display: flex;
        display: -ms-flexbox;
        display: -webkit-flex;
        justify-content: start;
        align-items: center;
        height: 50px;
        padding-left: 30px;
        padding-right: 30px;
        width: auto;
        border-radius: 50px;
        background: white !important;
        color: #3c3c3b !important;
        border: 1px solid #b3b3b3;
    } */
}

@media (max-width: 767px) {
    #kc-logo-wrapper {
        background-position: center;
        width: 100%;
        margin: 20px 0;
    }
    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: center;
        padding-top: 30px;
    }
    #kc-form {
        float: none;
    }
    #kc-info-wrapper {
        padding-top: 0px !important;
    }
    .status #kc-info-wrapper {
        padding-top: 0;
    }
    #kc-totp-login-form {
        margin-top: 30px;
    }
    .status #kc-totp-login-form {
        margin-top: 0;
    }
    #kc-form-login {
        margin-top: 30px;
    }
    .status #kc-form-login {
        margin-top: 0;
    }
    #kc-social-providers li {
        display: inline-block;
        margin-right: 5px;
    }
    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #kc-locale {
        position: absolute;
        width: 200px;
        top: 10px;
        right: 0;
        text-align: right;
        z-index: 9999;
    }
    .div.kc-logo-text {
        margin-top: 30px !important;
    }
    .login-pf #kc-container-wrapper {
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .login-pf .status.error .messages {
        color: #ffffff;
        text-shadow: 1px 0 0 0 white;
        background: #dd4b39;
        line-height: 14px;
        padding-bottom: 7px;
        margin-top: 12px;
        border-radius: 3px;
    }
    .login-pf #kc-content {
        position: relative;
        bottom: auto;
        /* padding-top: 30px; */
    }
    #kc-header {
        margin-top: 0;
    }
    #kc-form-wrapper .instruction {
        color: white;
    }
    .zocial.facebook,
    .zocial.google,
    .zocial.keycloak-oidc,
    .zocial.certificate,
    .zocial.microsoft,
    .zocial.twitter {
        font-size: 16px;
        display: flex;
        display: -ms-flexbox;
        display: -webkit-flex;
        justify-content: start;
        align-items: center;
        height: 50px;
        padding-left: 30px;
        padding-right: 30px;
        width: 300px;
        border-radius: 50px;
        background: white !important;
        color: #3c3c3b !important;
        border: 1px solid #b3b3b3;
    }
}

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

.password-toggle {
    position: absolute;
    left: 265px;
    top: 17px;
    width: 24px;
    height: 24px;
    opacity: 0.54;
    border: none;
    z-index: 100;
}