/* global */

html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* font */

h1 {
    font-family: 'Roboto', sans-serif;
    color: #2f3943;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
}

h2 {
    font-family: 'Roboto', sans-serif;
    color: #2f3943;
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
}

h3 {
    font-family: 'Roboto', sans-serif;
    color: #2f3943;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
}

h4 {
    font-family: 'Roboto', sans-serif;
    color: #2f3943;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    color: #73879c;
}

a {
    color: #31b0d5;
}

a:hover, a:focus, a:active {
    color: #00acf2;
    text-decoration: none !important; 
}

/* login page */

.login-pf,
.login-pf.cx-login {
    background: none;
}

.login-pf body,
.login-pf.cx-login body {
    background-color: #ffffff;
    background: none;
    background-size: cover;
}

.login-pf-page,
.login-pf-page.cx-login-page {
    height: 100%;
    width: 100%;
    padding: 0px;
    background-color: #f2f3f6;
}

@media (max-height: 768px) {
    .login-pf-page.cx-login-page.social-provider {
        min-height: 700px;
    }

    .login-pf-page.cx-login-page {
        min-height: 500px;
    }
}


/* login page header */

#cx-logo {
    background-image: url('../img/logo/connex-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    width: 300px;
    height: 60px;
}


/* login body top */

.login-pf-header.cx-login-body-top .cx-login-title {
    font-size: 20px;
    color: #2f3943;
    margin: 0px 0px 25px;
}

.login-pf-header.cx-login-body-top .cx-login-subtitle {
    font-size: 16px;
    color: #2f3943;
    margin: 0px 45px 20px;
    text-align: center;
    line-height: 1.5;
}

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

/* alert */

.alert {
    margin: 0px 20px 20px;
    padding: 10px 5px;
    font-weight: 500;
    font-size: 14px;
    border-radius: 2px;
    border: 2px solid transparent;
}

.alert.alert-success {
    color: #2f3943;
    background-color: #fff;
    border-color: #00a59e;

}

.alert.alert-error {
    color: #2f3943;
    background-color: #fff;
    border-color: #d9534f;
}

.alert.alert-warning {
    color: #2f3943;
    background-color: #fff;
    border-color: #ffc026;
}

.alert.alert-info {
    color: #2f3943;
    background-color: #fff;
    border-color: #31b0d5;
}

/* internationalization */

.locale-item.locale-current {
    display: none;
}

#kc-locale .locale-item-list {
    display: block;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#kc-locale .locale-item-list li {
    position: relative;
    float: left;
    margin: 0px 8px;
}

#kc-locale .locale-item-list li:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    height: 2px;
    width: 100%;
    border-radius: 0px;
    background-color: #cfd8dc;
}

#kc-locale .locale-item-list li a {
    font-size: 12px;
    padding: 0px;
    color: #31b0d5;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 20px;
    -webkit-transition: color 150ms ease-in-out;
    transition: color 150ms ease-in-out;
}

#kc-locale .locale-item-list li a:hover {
    color: #00acf2;
}

#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 2px;
    line-height: 57px;
    color: #fff;
    letter-spacing: -0.2px;
}

/* 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: #0099d3;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}


#kc-header,
#kc-header.cx-login-header {
    position: relative;
    overflow: visible;
    white-space: nowrap;
    padding: 100px 0px 30px;
    margin: 0 auto;
    background-color: #f2f3f6;
}


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

#kc-content {
    width: 100%;
}

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    color: #2f3943;
}

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

/* 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 separator */

.separator-providers {
    position: relative;
    margin: 0px 0px 20px;
    text-align: center;
}

.separator-providers .separator-providers-label {
    background-color: #f2f3f6;
    padding: 0 15px;
    display: inline;
    position: relative;
    z-index: 1;
}


.separator-providers .separator-providers-line {
    height: 1px;
    width: 100%;
    background-color: #cfd8dc;
    position: absolute;
    top: 50%;
}

/* social (providers) */

#kc-social-providers.cx-login-accounts-section {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 25px;
    max-width: 325px;
    border-width: 0px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

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

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

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

.cx-login-providers-list li .cx-provider-link {
    color: #73879c;
    font-size: 16px;
    text-align: center;
    padding: 0px;
    background-color: #f2f3f6;
    border: 1px solid #cfd8dc;
    border-radius: 2px;
    -webkit-transition: background-color 150ms ease-in-out 0ms, color 150ms ease-in-out 0ms;
    transition: background-color 150ms ease-in-out 0ms, color 150ms ease-in-out 0ms;
}

/* google-provider */

.cx-login-providers-list li .cx-provider-link .cx-provider-icon.google {
    background-image: url('../img/icons/google.svg');
}

/* microsoft-provider hover*/

.cx-login-providers-list li .cx-provider-link .cx-provider-icon.azure,
.cx-login-providers-list li .cx-provider-link .cx-provider-icon.microsoft,
.cx-login-providers-list li .cx-provider-link .cx-provider-icon.oidc {
    background-image: url('../img/icons/azure.svg');
}

/* google-provider hover*/

.cx-login-providers-list li .cx-provider-link.google-provider:hover {
    background-color: #DB4437;
    color: #fff;
}

.cx-login-providers-list li .cx-provider-link.google-provider:hover .cx-provider-icon.google {
    background-image: url('../img/icons/google-hover.svg');
}

/* microsoft-provider hover*/

.cx-login-providers-list li .cx-provider-link.azure-provider:hover,
.cx-login-providers-list li .cx-provider-link.microsoft-provider:hover,
.cx-login-providers-list li .cx-provider-link.oidc-provider:hover {
    background-color: #008AD7;
    color: #fff;
}

.cx-login-providers-list li .cx-provider-link.azure-provider:hover .cx-provider-icon.azure,
.cx-login-providers-list li .cx-provider-link.microsoft-provider:hover .cx-provider-icon.microsoft,
.cx-login-providers-list li .cx-provider-link.oidc-provider:hover .cx-provider-icon.oidc {
    background-image: url('../img/icons/azure-hover.svg');
}


.cx-login-providers-list li .cx-provider-link .cx-provider-icon {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-right: 6px;
    height: 18px;
    width: 18px;
    vertical-align: middle;
    -webkit-transition: background-image 150ms ease-in-out;
    transition: background-image 150ms ease-in-out;
}


.cx-login-providers-list li .cx-provider-link .cx-provider-text {
    display: inline-block;
    white-space: normal;
    vertical-align: middle;
    min-height: 32px;
    line-height: 32px;
    margin-top: 2px;
    text-align: center;
}


.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;
    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,
    #kc-locale.cx-locale {
        position: absolute;
        top: 55px;
        right: 40px;
        border: none;
        text-align: center;
        box-shadow: none;
        background-color: transparent;
        z-index: 999;
    }
}

@media (max-width: 1024px) {
    #kc-header,
    #kc-header.cx-login-header {
        padding: 55px 0px 15px;
    }
}

@media (max-width: 767px) {

    .login-pf body {
        background: white;
    }

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

    #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,
    #kc-locale.cx-locale {
        position: absolute;
        top: 20px;
        right: 35px;
        border: none;
        text-align: center;
        box-shadow: none;
        background-color: transparent;
        z-index: 999;
    }

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

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

/* cx-login-body*/

.card-pf,
.card-pf.cx-login-body {
    position: relative;
    margin: 0px;
    padding: 0px 0px 25px;
    width: 100%;
    border-top: 0;
    box-shadow: 0 0 0;
    background-color: #f2f3f6;
}

.card-pf.cx-login-body .cx-login-body-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 30px 30px 15px;
    max-width: 385px;
    border-top: 0;
    box-shadow: 0 0 0;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.05);
}

/* form */

.cx-login-content .cx-login-content-wrapper input.btn {
    height: 36px;
    font-size: 16px;
}

.cx-login-content .cx-login-content-wrapper input.form-control {
    height: 36px;
    box-sizing: border-box;
    outline: none;
    border: 0px;
    border-bottom: 1px solid #cfd8dc;
}

.cx-login-content .cx-login-content-wrapper input.form-control:focus {
    border-bottom: 1px solid #73879c;
}

.cx-login-content .cx-login-content-wrapper #kc-form-options {
    margin: 0px 0px 10px;
}

/* login-footer */

#cx-login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    border: 0;
    width: 100%;
}

/* login-footer: footer-links*/

#cx-login-footer #footer-links {
    padding: 8px 40px;
    text-align: right;
    background-color: #f2f3f6;
    border-top: 1px solid #cfd8dc;
}

#cx-login-footer #footer-links a {
    color: #73879c;
    font-size: 11px;
    padding-left: 8px;
    cursor: pointer;
    -webkit-transition: color 150ms ease-in-out;
    transition: color 150ms ease-in-out;
}

#cx-login-footer #footer-links a:hover {
    color: #00acf2;
    text-decoration: none !important; 
}

/* login-footer: client-message*/

#cx-login-footer  #client-message-wrapper{
    display: table;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#cx-login-footer #client-message-wrapper #client-message {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    padding: 15px 40px;
    background-color: #fff;
    border-top: 1px solid #cfd8dc;
}


#cx-login-footer #client-message-wrapper #client-message .client-message-content div {
    color:#73879c;
}

#cx-login-footer #client-message-wrapper #client-message .client-message-content .client-message-header {
    font-size: 15px;

}

#cx-login-footer #client-message-wrapper #client-message .client-message-content .client-message-body {
    font-size: 13px;
}

/*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,
    .card-pf, .card-pf.cx-login-body {
        margin: 0px;
        padding: 0px 10px 0px;
    }

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

    .card-pf.cx-login-body .cx-login-body-wrapper {
        padding: 15px 10px;
    }
}

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

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

@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-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

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


.element {
    text-indent: -9999px;
    line-height: 0;
}

.element::after {
    content: "FR";
    text-indent: 0;
    display: block;
    line-height: initial;
}

/* modal */
.modal-view * {
    box-sizing: border-box;
}

.modal-view {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(115, 135, 156, 0.80);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-container {
    position: relative;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: 60%;
    border-radius: 4px;
    background: #ffffff;
    opacity: 1;
    cursor: auto;
    will-change: transform, opacity;
}

.modal-container-in {
    max-height: 600px;
    padding: 3rem 3rem;
    overflow-y: scroll;
}

.modal-view-close {
    position: fixed;
    top: -40px;
    right: -30px;
    z-index: 1001;
    padding: 0;
    font-size: 3em;
    font-weight: 300;
    border: none;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
}

button.modal-view-close:hover,
button.modal-view-close:focus {
    color: #ffffff;
    outline: none;
}

.modal-container-header {
    padding: 5px 10px;
}

.foss-report-head {
    background-color: #f2f3f6;
    border-top: 1px solid #cfd8dc;
    color: #757575;
    font-size: 14px;
}

.foss-report-first-item{
    border-left: 1px solid #cfd8dc;
}

.foss-report-last-item{
    border-right: 1px solid #cfd8dc;
}

.modal-container-body {
    position: relative;
    padding: 15px;
}

.modal-body-content {
    display: grid;
    grid-template-columns: 3fr 1fr 4fr 2fr;
}

.modal-body-content > span {
    padding: 8px 10px;
    border-bottom: 1px solid #cfd8dc;
}

/* modal state */
.show-modal-view {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.show-modal-view .modal-container {
    animation: scale .3s cubic-bezier(.68, -.55, .265, 1.55) forwards;
}

/* modal animation */
@keyframes scale {
    0% {
        opacity: 0;
        transform: scale(.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* login-info-panel */

.login-info-panel .login-info-panel-in .login-info-panel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
    padding: 0px;
}

.login-info-panel .login-info-panel-in .login-info-panel-item.success {
    background-color: #00a59e;
}

.login-info-panel .login-info-panel-in .login-info-panel-item.alert {
    background-color: #ffc026;
}

.login-info-panel .login-info-panel-in .login-info-panel-item.danger {
    background-color: #d43f3a;
}

.login-info-panel .login-info-panel-in .login-info-panel-item.info {
    background-color: #31b0d5;
}

.login-info-panel .login-info-panel-in .login-info-panel-item .login-info-panel-item-in {
    width: 100%;
    padding: 6px;
    max-width: 1200px;
    text-align: center;
}

.login-info-panel .login-info-panel-in .login-info-panel-item .login-info-panel-item-in span {
    padding: 4px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
}
