﻿@font-face {
    font-family: 'Ubuntu Sans';
    src: local('Ubuntu Sans'), url('../fonts/UbuntuSans-VariableFont_wdth\,wght.ttf')
}

@font-face {
    font-family: 'Ubuntu Sans';
    font-style: italic;
    src: local('Ubuntu Sans'), url('../fonts/UbuntuSans-Italic-VariableFont_wdth\,wght.ttf')
}

html,
body {
    font-family: 'Ubuntu Sans', Muli, Helvetica Neue, sans-serif !important;
    color: #002F6C;
}

body {
    height: 100vh;
    overflow: hidden;
    background-color: #002F6C;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    body.hwm-bg {
        background-image: url(../hwm-background.webp);
    }

    body.mejoras-bg {
        background-image: url(../mejoras-background.webp);
    }

    body.fcs-bg {
        background-image: url(../fcs-background.webp);
    }

h1 {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #00A9E0;
    margin-top: 10px;
}

    a:hover,
    a:focus {
        color: #002F6C;
        text-decoration: underline;
    }

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
}

.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
    max-height: 100px;
}

.navbar-fixed-top,
.navbar-fixed-bottom {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    top: 0;
}

.navbar-nav {
    margin: 0px;
    width: 100%;
    max-height: 1rem;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: rgba(0, 0, 0, 0.1);
}

.navbar-inverse .navbar-nav > li > a {
    color: #002F6C;
}

.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    background-color: #FFF;
    top: 0 !important;
}

    .nav > li {
        position: relative;
    }

        .nav > li > a {
            position: relative;
            padding: 12px 16px;
        }

        .nav > li.disabled > a {
            color: #777;
        }

            .nav > li.disabled > a:hover,
            .nav > li.disabled > a:focus {
                color: #777;
                text-decoration: none;
                cursor: not-allowed;
                background-color: transparent;
            }

    .nav .open > a,
    .nav .open > a:hover,
    .nav .open > a:focus {
        background-color: #eee;
        border-color: #00A9E0;
    }

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .navbar-toggle:focus {
        outline: 0;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
    }

        .navbar-toggle .icon-bar + .icon-bar {
            margin-top: 4px;
        }

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-toggle {
    text-decoration: none;
    width: 50px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

.form-control {
    display: block;
    width: 100%;
    height: 52px;
    padding: 6px 12px;
    font-size: 16px;
    font-family: 'Ubuntu Sans', Mulish, sans-serif;
    line-height: 1.42857143;
    color: #555;
    background-color: #e8f0fe !important;
    background-image: none;
    border: none;
    border-radius: 8px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

    .form-control:focus {
        border-color: #00A9E0;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

    .form-control::-moz-placeholder {
        color: #999;
        opacity: 1;
    }

    .form-control:-ms-input-placeholder {
        color: #999;
    }

    .form-control::-webkit-input-placeholder {
        color: #999;
    }

    .form-control[disabled],
    .form-control[readonly],
    fieldset[disabled] .form-control {
        background-color: #eee;
        opacity: 1;
    }

    .form-control[disabled],
    fieldset[disabled] .form-control {
        cursor: not-allowed;
    }

textarea.form-control {
    height: auto;
}

.form-overflow {
    height: 50vh;
    overflow-y: auto;
    width: 40vw;
    padding-right: 10px;
    scrollbar-width: thin;
}

.form-group {
    display: flex;
    margin-bottom: 16px;
}

.row {
    margin-right: -12px;
    margin-left: -12px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled],
    html input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner,
    input::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

input {
    line-height: normal;
}

    input[type="checkbox"],
    input[type="radio"] {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        height: auto;
    }

    input[type="search"] {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        -webkit-appearance: textfield;
    }

        input[type="search"]::-webkit-search-cancel-button,
        input[type="search"]::-webkit-search-decoration {
            -webkit-appearance: none;
        }

@media (max-width: 800px) {
    .form-overflow {
        height: 50vh;
        overflow-y: auto;
        width: 90vw;
        padding-right: 10px;
        scrollbar-width: thin;
    }

    .navbar-fixed-top .navbar-collapse,
    .navbar-static-top .navbar-collapse,
    .navbar-fixed-bottom .navbar-collapse {
        padding-right: 0;
        padding-left: 0;
    }

    .navbar-nav {
        float: left;
        margin: 0;
    }

        .navbar-nav > li {
            float: left;
        }

            .navbar-nav > li > a {
                padding-top: 15px;
                padding-bottom: 15px;
            }
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #1d1547 !important;
    opacity: 1 !important; /* Firefox */
}

.body-content {
    width: 72vw;
    max-width: 752px;
    max-height: 88vh;
    padding: 40px 36px 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    background: white;
    border-radius: 48px;
    overflow-x: hidden;
    overflow-y: auto;
}

.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: none;
}

    .page-header > h1 {
        margin: 0;
    }

.icon {
    position: relative;
    height: 96px;
    max-height: 96px;
    width: 340px;
    max-width: 340px;
    object-fit: contain;
    object-position: center;
}

.hwm-application {
    font-size: 40px;
    font-weight: 500;
    color: #002F6C;
    margin: 0 0 16px;
}

    .hwm-application span:first-child {
        font-weight: 700;
    }

    .hwm-application span:nth-child(2) {
        color: #00A9E0;
    }

@media (max-width: 800px) {
    .body-content {
        padding: 16px;
        width: 88vw;
        max-height: 92vh;
    }

    .page-header {
        text-align: center;
        margin: 20px 0 12px;
    }

    .icon {
        height: 72px;
        max-height: 72px;
        width: 268px;
        max-width: 268px;
    }

    .hwm-application {
        font-size: 32px;
    }
}

.container-fluid {
    width: 100%;
    top: 0px;
    position: sticky;
}

.container {
    margin-right: auto;
    margin-left: auto;
}

.navbar > .flex-container {
    display: flex;
    flex-wrap: nowrap;
    background-color: #FFF;
    align-items: center;
    box-shadow: 0 2px 20px 2px #002F6C;
}

.navbar-header {
    display: flex;
    align-self: center;
    padding: 10px;
    margin: 10px;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
}

.navbar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    text-decoration: none !important;
}

.navbar-icon-banner {
    position: relative;
    height: 56px;
    max-height: 56px;
    max-width: 240px;
    object-fit: contain;
    object-position: left;
}

.navbar-brand {
    max-height: 2rem;
    padding: 15px 15px;
    font-size: 24px;
    font-weight: 700;
    line-height: 20px;
    color: #002F6C;
    text-decoration: none;
}

    .navbar-brand:hover,
    .navbar-brand:focus {
        text-decoration: none;
    }

.logged-out-page {
}

.logged-out-return {
    margin: 12px 0 20px;
    font-size: 18px;
}

.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: "";
        }

.login-page .page-header img,
.logout-page .page-header img {
    margin-bottom: 12px;
}

.login-page .page-header,
.logout-page .page-header {
    margin-bottom: 0;
}

.btn-default {
    color: black;
    background-color: #ccc;
    border-color: #ccc;
    display: block;
    height: 52px;
    width: 40%;
    margin: auto;
    font-size: 16px;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    border-radius: 8px;
    transition: all;
    transition-duration: 300ms;
}

.btn-outlined {
    color: #00A9E0;
    background-color: #FFF;
    border-color: #00A9E0;
    display: block;
    height: 52px;
    width: 40%;
    margin: auto;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid;
    border-radius: 8px;
    transition: all;
    transition-duration: 300ms;
}

    .btn-outlined:focus,
    .btn-outlined.focus,
    .btn-outlined:hover,
    .btn-outlined:active,
    .btn-outlined.active {
        background-color: #00A9E022;
    }

        .btn-outlined:active:hover,
        .btn-outlined.active:hover,
        .btn-outlined:active:focus,
        .btn-outlined.active:focus,
        .btn-outlined:active.focus,
        .btn-outlined.active.focus {
            background-color: #00A9E044;
        }

.btn-primary {
    color: #fff;
    background-color: #00A9E0;
    border-color: #00A9E0;
    display: block;
    height: 52px;
    width: 40%;
    margin: auto;
    font-size: 16px;
    font-weight: bold;
    border: none;
    margin-top: 20px;
    border-radius: 8px;
    transition: all;
    transition-duration: 300ms;
}

    .btn-primary:focus,
    .btn-primary.focus,
    .btn-primary:hover,
    .btn-primary:active,
    .btn-primary.active,
    .open > .dropdown-toggle.btn-primary {
        filter: brightness(92%);
    }

        .btn-primary:active:hover,
        .btn-primary.active:hover,
        .open > .dropdown-toggle.btn-primary:hover,
        .btn-primary:active:focus,
        .btn-primary.active:focus,
        .open > .dropdown-toggle.btn-primary:focus,
        .btn-primary:active.focus,
        .btn-primary.active.focus,
        .open > .dropdown-toggle.btn-primary.focus {
            filter: brightness(80%);
        }

    .btn-primary.disabled,
    .btn-primary[disabled],
    fieldset[disabled] .btn-primary,
    .btn-primary.disabled:hover,
    .btn-primary[disabled]:hover,
    fieldset[disabled] .btn-primary:hover,
    .btn-primary.disabled:focus,
    .btn-primary[disabled]:focus,
    fieldset[disabled] .btn-primary:focus,
    .btn-primary.disabled.focus,
    .btn-primary[disabled].focus,
    fieldset[disabled] .btn-primary.focus,
    .btn-primary.disabled:active,
    .btn-primary[disabled]:active,
    fieldset[disabled] .btn-primary:active,
    .btn-primary.disabled.active,
    .btn-primary[disabled].active,
    fieldset[disabled] .btn-primary.active {
        background-color: #00A9E0;
        border-color: #00A9E0;
    }

/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 6px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #00A9E0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 0px;
    width: 9px;
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.table-flex {
    display: flex;
    justify-content: space-around;
}

    .table-flex > th {
        flex: 1;
    }

    .table-flex > td {
        flex: 1;
    }

.forgot-pasword-page .forgot-pasword-buttons {
    margin-top: 24px;
    text-align: center;
}

.centered {
    text-align: center;
}

.text-center {
    text-align: center;
}

.panel-body {
    padding: 15px;
}

.panel-default {
    border-color: #ddd;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}

    .list-inline > li {
        display: inline-block;
        padding-right: 5px;
        padding-left: 5px;
    }

.forgot-password-page h3 {
    text-align: center;
}

.password-expiry-buttons, .forgot-password-buttons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    gap: 8px;
}

    .forgot-password-buttons > a {
        text-align: center;
        line-height: 52px;
    }

.important-notice-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 84%;
    border: 1px solid #d1234d;
    border-radius: 12px;
    padding: 12px;
    margin: 8px;
}

.important-notice-header {
    margin: 0 0 16px;
    color: #d1234d;
    font-weight: 600;
}

.important-notice-text {
    text-align: center;
}

    .important-notice-text:not(:first-of-type) {
        margin-top: 8px;
    }

@media (max-width: 576px) {
    .important-notice-wrapper {
        width: 96% !important;
    }

    .important-notice-text {
        font-size: 12px !important;
    }
}

.login-forgot-password {
    width: 100%;
}

    .login-forgot-password > a {
        width: 100%;
        text-align: center;
        margin: 0;
    }

.visible-providers-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px 0 8px;
}

.visible-providers-header {
    margin: 0 0 8px;
}

.visible-providers-list {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.visible-providers-list-item {
    margin-bottom: 8px;
}

    .visible-providers-list-item button {
        height: 42px;
        width: 32%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

.visible-providers-list-item-img {
    position: relative;
    height: 24px;
    max-height: 24px;
    width: 24px;
    max-width: 24px;
    object-fit: contain;
    object-position: center;
}

.support-contact-wrapper {
    margin: 36px auto 0;
    width: 60%;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    padding: 10px;
}

.support-contact-header {
    text-align: center;
    margin-bottom: 10px;
}

.support-contact-details {
    font-size: 13px;
}

.support-contact-info {
    color: #979797;
    margin-left: 10px;
}


@media (max-width: 576px) {
    .support-contact-details {
        font-size: 11px !important;
    }

    .support-contact-panel {
        margin-top: 15px !important;
    }
}
