body {
    --color-primary-background: #1D5091;
    --color-primary-background-dark: #123C72;
    --color-primary-background-light: #39639A;
    --color-secondary-background: #8094DD;
    --color-secondary-background-dark: #5C73C7;
    --color-secondary-background-light: #ABB9EE;
    --color-text-dark: #424346;
    --color-text-light: #ffffff;
    --body-background: url("../img/main_bg.jpg") fixed center/cover no-repeat;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/SourceSansPro-Regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/SourceSansPro-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/SourceSansPro-Regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/SourceSansPro-Regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/SourceSansPro-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/SourceSansPro-Regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
  }

body {
    background: var(--body-background);
    font-family: "Source Sans Pro";
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    color: #292b2c;
    background-color: #fff;
    margin: 0;
}

header{
    padding: 0.6rem 0;
    background-color: var(--color-primary-background);
    margin: auto;
    min-height: 4rem;
}

.kc-align-link{
    text-align: right;
    margin: 1rem 1rem 0 0;
    font-size: 90%;
}

.kc-align-link>span>a{
    color: var(--color-secondary-background-dark);
}

h1#kc-page-title {
    margin: auto;
    text-align: center;
    color: white;
}

#kc-locale{
    z-index: 9999;
    float: right;
    margin: 1rem 6.5rem;
}

#kc-locale-wrapper{
    position: absolute;
}

#kc-locale ul {
    background-color: white;
    display: none;
    top: 20px;
    padding: 0;
    list-style-type: none;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
}

#kc-locale ul>li {
    border: 0.5px solid rgba(0,0,0,.15);
    padding: 0.5rem;
}

#kc-locale ul>li>a {
    color:black;
    text-decoration:none;
    font-size:110%;
    padding: 0.5rem;
}

#kc-current-locale-link{
    color: var(--color-primary-background);
    text-decoration: none;
    line-height: 0rem;
    padding: 1.7rem 1.7rem 0.5em;
}

.fa-globe{
    width: 2rem;
    height: 100%;
}
.dropdown-icon{
    display: inline-block;
    height: 0px;
    margin: 0 0 8px 3px;
    width: 0;
    border-top: 8px solid var(--color-primary-background);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.url-help{
    color: #000;
    background-color: #feb22a;
    width: 25px;
    height: 24px;
    display: inline-block;
    border-radius: 100%;
    font-size: 10px;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: inset -1px -1px 1px 0px rgb(0 0 0 / 25%);
    -moz-box-shadow: inset -1px -1px 1px 0px rgba(0,0,0,0.25);
    box-shadow: inset -1px -1px 1px 0px rgb(0 0 0 / 25%);
    font-size: 1.2em;
}

.currentColor{
    fill: var(--color-primary-background);
}

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

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

.login-pf a:hover {
    color: #0099d3;
}

#kc-logo {
    width: 100%;
}

.input-text{
    display: inline-flex;
    border-radius: 0.2rem;
    border: 2px solid var(--color-primary-background-dark)!important;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #464a4c;
    background-color: #fff;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    margin-bottom: 0.5rem;
}

#kc-form-options .checkbox {
    margin-top: 0.3rem;
    color: #72767b;
    font-style: italic;
    vertical-align: top;
}

input[type="checkbox"]:not(:checked) , 
input[type="checkbox"]:checked{
    height: 20px;
    width: 20px;
    border: 2px solid var(--color-primary-background)!important;
}

#input-error{
    font-style: italic;
    color: red;
}

input[type=submit]{
    background: var(--color-primary-background);
    color: var(--color-text-light);
    padding: 0.5rem;
    font-size:16pt;
    width: 100%;
    border-radius: 0.2rem;
    border: none;
    cursor: pointer;
    margin: 0.5rem 0;
}

input[type=submit]:hover{
    background: var(--color-primary-background-dark);
    color: var(--color-text-light);
    padding: 0.5rem;
    font-size:16pt;
    width: 100%;
    border-radius: 0.2rem;
    border: none;
    margin: 0.5rem 0;
}

button[type=submit]{
    background: var(--color-primary-background);
    color: var(--color-text-light);
    padding: 0.5rem;
    font-size:16pt;
    width: 100%;
    border-radius: 0.2rem;
    border: none;
    cursor: pointer;
    margin: 0.5rem 0;
}

button[type=submit]:hover{
    background: var(--color-primary-background-dark);
    color: var(--color-text-light);
    padding: 0.5rem;
    font-size:16pt;
    width: 100%;
    border-radius: 0.2rem;
    border: none;
    margin: 0.5rem 0;
}

div.logo-theme span {
    display: none;
}

#kc-header {
    color: var(--color-text-dark);
    overflow: visible;
    white-space: nowrap;
    text-align: center;
    background: white;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 20px 10px;
    white-space: normal;
    height: 6rem;
}

#kc-header-logo {
    margin: auto;
    width: fit-content;
}

#kc-header-logo > img {
    height: inherit;
}

#kc-content {
    margin: 0 auto;
    min-width: 30rem;
    max-width: max-content;
    padding: 2rem;
    background-color: #fafafa;
    border-color: #e0e0e0;
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: auto;
    max-height: 65vh;
}

#kc-attempted-username {
    font-size: 2em;
    font-family: inherit;
    font-weight: bold;
    padding-right: 10px;
    color: white;
}

#kc-username {
    text-align: center;
    margin-bottom:-10px;
}

#kc-webauthn-settings-form {
    padding-top: 8px;
}

#kc-content-wrapper {
    margin-top: 20px;
}

#kc-form-wrapper {
    margin-top: 10px;
    width: 30rem;
}

#kc-info {
    margin: 20px -32px -30px;
}

#kc-info-wrapper {
    font-size: 13px;
    padding: 15px 35px;
    background-color: #F0F0F0;
    max-width: 30rem;
}

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



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

#kc-registration {
    margin-bottom: 0;
}

/* TOTP */

.subtitle {
    text-align: right;
    margin-top: 30px;
    color: #909090;
}

.required {
    color: #A30000; /* default - IE compatibility */
    color: var(--pf-global--danger-color--200);
}

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-links {
    margin-top: 20px;
}

.kc-social-provider-logo {
    font-size: 23px;
    width: 30px;
    height: 25px;
    float: left;
}

.kc-social-gray {
    color: #737679; /* default - IE compatibility */
    color: var(--pf-global--Color--200);
}

.kc-social-item {
    margin-bottom: 0.5rem; /* default - IE compatibility */
    margin-bottom: var(--pf-global--spacer--sm);
    font-size: 15px;
    text-align: center;
}

.kc-social-provider-name {
    position: relative;
    top: 3px;
}

.kc-social-icon-text {
    left: -15px;
}

.kc-social-grid {
    display:grid;
    grid-column-gap: 10px;
    grid-row-gap: 5px;
    grid-column-end: span 6;
    --pf-l-grid__item--GridColumnEnd: span 6;
}

.kc-social-grid .kc-social-icon-text {
    left: -10px;
}

.kc-login-tooltip {
    position: relative;
    display: inline-block;
}

.kc-social-section {
    text-align: center;
}

.kc-social-section hr{
    margin-bottom: 10px
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity:0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

@media (min-width: 1680px) {
    body {
        background-size: 100%;
    }
}

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

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

@media (max-width: 767px) {

    body{
        background-size: auto;
    }

    .login-pf body {
        background: white;
    }

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

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

    div.logo-theme {
    margin: 0 auto;
    width: 84px;
    height: 30px;
    background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: transparent;
    }

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

    #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: 20px;
}

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

/* Internet Explorer 11 compatibility workaround for select-authenticator screen */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .select-auth-box-parent {
        border-top: 1px solid #f0f0f0;
        padding-top: 1rem;
        padding-bottom: 1rem;
        cursor: pointer;
    }

    .select-auth-box-headline {
        font-size: 16px;
        color: #06c;
        font-weight: bold;
    }

    .select-auth-box-desc {
        font-size: 14px;
    }

    .pf-l-stack {
        flex-basis: 100%;
    }
}
/* End of IE11 workaround for select-authenticator screen */

.select-auth-box-arrow{
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.select-auth-box-icon{
    display: flex;
    flex: 0 0 2em;
    justify-content: center;
    margin-right: 1rem;
    margin-left: 3rem;
}

.select-auth-box-parent{
    border-top: 1px solid grey;
    padding-top: 1rem;
    padding-bottom: 1rem;
    cursor: pointer;
    padding: 1rem;
}

.select-auth-box-parent:first-child{
    border-top: none;
}

.select-auth-box-parent:hover{
    background-color: #e9e9e9;
}

.select-auth-container {
    padding-bottom: 0px !important;
}

.select-auth-box-headline {
    font-size: var(--pf-global--FontSize--md);
    color: var(--pf-global--primary-color--100);
    font-weight: bold;
}

.select-auth-box-desc {
    font-size: var(--pf-global--FontSize--sm);
}

.card-pf {
    margin: 0 auto;
    box-shadow: var(--pf-global--BoxShadow--lg);
    padding: 0 20px;
    max-width: 500px;
}

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

    .kc-social-grid {
        grid-column-end: 12;
        --pf-l-grid__item--GridColumnEnd: span 12;
    }

    .kc-social-grid .kc-social-icon-text {
        left: -15px;
    }
}

.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}
#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

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

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

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

.no-bottom-margin {
    margin-bottom: 0;
}

#kc-back {
    margin-top: 5px;
}

.valid-form-terms {
    border-top: 1px solid rgb(92, 92, 92);
    margin-top: 1rem;
    padding: 1rem;
}

.zone-valid-form-terms {
    width: 100%;
    text-align: center;
}

#kc-accept {
    width: 50%;
}

.alert-error {
    width: 30rem;
}

#kc-content::-webkit-scrollbar {
    width: 12px; /* width of the entire scrollbar */
}

#kc-content::-webkit-scrollbar-track {
    background: white; /* color of the tracking area */
    border-radius: 6px ;
}

#kc-content::-webkit-scrollbar-thumb {
    background-color: var(--color-primary-background);; /* color of the scroll thumb */
    border-radius: 6px; /* roundness of the scroll thumb */
    border: 0px solid white; /* creates padding around scroll thumb */
}

#input-error-password-confirm{
    font-style: italic;
    color: red;
}



.pf-c-alert.pf-m-inline {
    margin-bottom: 0.5rem; /* default - IE compatibility */
    border-width: 1px;
    display: -ms-flexbox;
    display: grid;
    -ms-grid-columns: max-content 1fr max-content;
    grid-template-columns: 2.3rem auto;
    grid-template-rows: 1fr auto;
    max-width: 29.8rem;
}

 /* Alert */
.pf-c-alert.pf-m-inline::before {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 3px;
    content: "";
    
}
.pf-m-inline {
    background-color: #e0e0e0;
    border-radius: 5px;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
}
.pf-c-alert__title {
    font-size: 14px; /* default - IE compatibility */
    padding: 0.5rem;
}
.pf-c-alert.pf-m-inline .pf-c-alert__icon {
    font-size: 16px;
    padding: 0.5rem;
}

.toaster-link{
    color: -webkit-link;
    cursor: pointer;
    text-decoration: none;
}
/* -------*/

.pf-m-success {
    border-radius: 5px;
    background-color: hsla(88, 50%, 63%, 50%);
    border: 1px solid hsl(88, 50%, 53%);
    color: (280, 6%, 21%);
}
.alert-bgd-success {
    background-color: hsl(88, 50%, 53%);
}
.fa-check-circle {
    background : url("../img/check-circle-solid.svg") no-repeat center;
    width: 1.2rem;
    height: 1.2rem;
}
/* -------*/

.pf-m-danger, .pf-m-error{
    border-radius: 5px;
    background-color: hsla(4, 90%, 58%, 50%);
    border: 1px solid hsl(4, 90%, 58%);
    color: hsl(280, 6%, 21%);
}
.alert-bgd-danger, .alert-bgd-error {
    background-color: hsl(4, 90%, 58%);
}
.fa-exclamation-circle {
    background : url("../img/exclamation-circle-solid.svg") no-repeat center;
    width: 1.2rem;
    height: 1.2rem;;
}
/* -------*/

.pf-m-warning {
    border-radius: 5px;
    background-color: hsla(36, 100%, 60%, 50%);
    border: 1px solid hsl(36, 100%, 60%);
    color: hsl(280, 6%, 21%);
}
.alert-bgd-warning {
    background-color: hsl(36, 100%, 60%);
}
.fa-exclamation-triangle {
    background : url("../img/exclamation-triangle-solid.svg") no-repeat center;
    width: 1.2rem;
    height: 1.2rem;
}
/* -------*/

.pf-m-info {
    border-radius: 5px;
    background-color: hsla(207, 90%, 54%, 50%);
    border: 1px solid hsl(207, 90%, 54%);
    color: hsl(280, 6%, 21%);
}
.alert-bgd-info {
    background-color: hsl(207, 90%, 54%);
}
.fa-info-circle{
    background : url("../img/info-circle-solid.svg") no-repeat center;
    width: 1.2rem;
    height: 1.2rem;
}

/* ---------*/
.block-auth{
    display:grid;
    display: grid;
    grid-template-areas:
        "logo title"
        "logo text";
    grid-template-columns: 8% 92%;
}
.title{
    grid-area:title;
    margin-left:0.5rem;
}

.text{
    grid-area:text;
    margin-left:0.5rem;
    max-width:30rem;
}

.fa-mobile{
    grid-area:logo;
    background : url("../img/mobile-screen-button-solid.svg") no-repeat left;
    margin-right:0.5rem;
}

.fa-envelope {
    grid-area:logo;
    background : url("../img/envelope-solid.svg") no-repeat left;
    margin-right:0.5rem;
}

.fa-mobile::before{
    content:none;
}

.fa-envelope::before {
    content:none;
}

.new_code {
    font-size: 1rem;
 }