html {
    height: 100vh;
    height: 100%;
    min-height: 100%;
}

body {
    font-family: 'Raleway',Helvetica,Arial,sans-serif;
    min-height: 100%;
    background: #151D44;
}

.login-logo {
    padding-bottom: 10px;
}

.grecaptcha-badge {
    visibility: hidden;
    display: none;
}

.recaptcha-branding {
    color: rgba(0, 0, 0, .6);
    font-size: small;
    padding-top: 35px;
    padding-left: 0px;
}

.d-flex {
    display: flex !important;
}

.danger.validation-summary-errors > ul {
    list-style-type: none;
}

.layout-content {
    background: #FFF !important;
}

.body-content {
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-content {
    padding-left: 2.5rem;
    padding-right: 2rem;
}

.content {
    min-height: 100%;
}

.intro {
    min-height: 100vh;
    height: 100vh;
    justify-content: center;
}

@media (max-width: 767px) {
    .intro {
        height: auto;
        min-height: 100vh;
    }
}

.intro-left {
    height: 100%;
}

.intro-left-content {
    padding: 20px 10px;
}

@media (min-width: 768px) {
    .intro-left-content {
        position: relative;
        top: 35%;
        transform: translateY(-35%);
        padding: 80px;
    }
}

@media (max-width: 767px) {
    .intro-left-content {
        position: relative;
        padding: 80px;
    }
}

@media (max-width: 991px) {
    .intro-left-content h1 {
        font-size: 30px;
    }
}

.login-panel .intro-left-content .row {
    padding-bottom: 10px;
}

.intro-right {
    height: 100%;
    min-height: 500px;
}

.header-or-footer {
    font-size: xx-small;
    font-weight: bold;
    color: #c5c5c5;
    margin-left: 9px;
}

    .header-or-footer .version-view {
        opacity: 0.8;
    }

.header {
    position: fixed;
    width: 100%;
    left: 0;
    margin-top: 5px;
}

.footer {
    width: 100%;
    left: 0;
    bottom: 0;
    position: fixed;
    margin-bottom: 5px;
}

.header-logo img {
    height: 50px;
    margin: 0.5em;
}

@media (max-width: 375px) {
    .header-logo img {
        height: 40px;
        margin: 0.5em;
    }
}

.product--version {
    color: #8c959d;
    font-size: 1rem;
    height: 60px;
    line-height: 60px;
    text-align: right;
}

    .product--version > span {
        line-height: normal;
        display: inline-block;
        vertical-align: middle;
    }

.login-panel {
    animation-name: fadeIn;
}

.login-panel {
    background-color: rgba(255,255,255,0.8);
    margin-top: 15px;
    margin-bottom: 40px;
    padding: 15px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    animation-duration: 0.7s;
    position: relative;
}

@media (max-width: 844px) {
    .login-panel {
        margin-top: 25px;
    }
}

.login-panel form {
    padding-bottom: 15px;
    padding-right: 10px;
    padding-left: 10px;
}

.login-panel .login-buttons {
    padding-top: 20px;
    padding-left: 0px;
}

    .login-panel .login-buttons .btn-primary {
        margin-right: 14px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .login-panel .login-buttons .btn {
        font-size: 14px;
        color: white;
    }

.external-providers {
    padding-top: 10px;
}

.login-header {
    padding: 0 0;
    font-family: 'Comfortaa', Arial, Helvetica, sans-serif;
}

.custom-login-form .form-group {
    margin-bottom: 15px
}

    .custom-login-form .form-group .login-field--label {
        font-size: 10px;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .custom-login-form .form-group input {
        font-size: 14px;
    }

.login-field--label {
    font-size: 1rem;
}

.text-danger {
    color: red;
}

.text-danger-font {
    color: #a94442 !important;
    font-size: 14px;
}

.slide-down {
    animation-name: slideDown;
    animation-duration: 0.7s;
    position: relative;
}

.visible-item {
    display: block;
}

.hidden-item {
    display: none;
}

.login-panel-no-animation {
    padding: 15px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    position: relative;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        top: -1000px;
    }

    100% {
        top: 0px;
    }
}

.footer-legal {
    font-size: xx-small;
    height: 60px;
    padding-top: 15px;
}

.footer-logo {
    text-align: right;
    height: 60px;
    line-height: 60px;
}

    .footer-logo img {
        height: 25px;
        margin: 17.5px 20px;
    }

.navbar-header {
    position: relative;
    top: -4px;
}

.navbar-brand > .icon-banner {
    position: relative;
    top: -2px;
    display: inline;
}

.icon {
    position: relative;
    top: -10px;
}

.logged-out iframe {
    display: none;
    width: 0;
    height: 0;
}

.page-consent .client-logo {
    float: left;
}

    .page-consent .client-logo img {
        width: 80px;
        height: 80px;
    }

.page-consent .consent-buttons {
    margin-top: 25px;
}

.page-consent .consent-form .consent-scopecheck {
    display: inline-block;
    margin-right: 5px;
}

.page-consent .consent-form .consent-description {
    margin-left: 25px;
}

    .page-consent .consent-form .consent-description label {
        font-weight: normal;
    }

.page-consent .consent-form .consent-remember {
    padding-left: 16px;
}

.grants .page-header {
    margin-bottom: 10px;
}

.grants .grant {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants .grant img {
        width: 100px;
        height: 100px;
    }

    .grants .grant .clientname {
        font-size: 140%;
        font-weight: bold;
    }

    .grants .grant .granttype {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .created {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .expires {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant li {
        list-style-type: none;
        display: inline;
    }

        .grants .grant li:after {
            content: ', ';
        }

        .grants .grant li:last-child:after {
            content: '';
        }

.add-space-top-20 {
    margin-top: 20px;
}

.add-space-bottom-10 {
    margin-bottom: 10px;
}

.customer-choice-panel {
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #FFF;
    min-height: 400px;
    margin: auto auto;
    padding-top: 2rem !important;
}

    .customer-choice-panel .pull-right {
        text-align: right;
    }

        .customer-choice-panel .pull-right .btn {
            background: whitesmoke;
            border-radius: 4px;
            font-size: 14px;
            padding: 6px 12px;
        }

        .customer-choice-panel .pull-right .btn-primary {
            background: #337ab7;
            border: 1px solid #337ab7;
        }

.customer .well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05) !important;
    width: 100%;
    font-size: 20px !important;
    color: #337ab7;
}

.customer-choice-panel #customerSort {
    width: 100%;
    padding: 10px;
    border-radius: 2px;
    border: none;
    font-size: 1.2em;
    -webkit-box-shadow: 0px 1px 3px rgb(75, 114, 138);
    -moz-box-shadow: 0px 1px 3px rgb(75, 114, 138);
    -ms-box-shadow: 0px 1px 3px rgb(75, 114, 138);
    -o-box-shadow: 0px 1px 3px rgb(75, 114, 138);
    box-shadow: 0px 1px 3px rgb(75, 114, 138);
}

/* Override Bootstrap .btn hover so text stays visible (avoid white-on-white) */
.customer-choice-panel .customer a:hover,
.customer-choice-panel .customer a:focus-visible {
    background-color: #3a6e90 !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* Choose customer — details view: full-width bordered button rows (Bootstrap 5) */
.customer-choice-panel .customer a.customer-detail-link {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #337ab7 !important;
    border: 1px solid #337ab7;
    font-size: 20px !important; /* match .customer .well (grid customer tiles) */
    background-color: #fff;
    white-space: normal;
}

.customer-choice-panel .customer a.customer-detail-link:hover,
.customer-choice-panel .customer a.customer-detail-link:focus-visible {
    color: #fff !important;
    background-color: #3a6e90 !important;
    border-color: #fff !important;
}

.customer-choice-panel .customer-choice-logout {
    margin: 12px 10px;
}

.common-menu-font-size {
    font-size: 1.8rem !important;
}

.padding-inherit {
    padding: inherit !important;
}
