@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: normal;
    font-display: swap; /*  For faster initial rendering */
}

@font-face {
    font-family: "Montserrat-Italic";
    src: url("/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-stretch: 75% 125%;
    font-style: italic;
    font-display: swap; /*  For faster initial rendering */
}

body,
html {
    color: #fff;
    height: 100%;
    font-family: "Montserrat", sans-serif, sans-serif;
    margin: 0;
    padding: 0;
    background: #19226D;
    font-size: 1.2rem;
}

a {
    color: #fff;
}

form {
    height: 100%;
}

* {
    box-sizing: border-box;
}

.text--small {
    font-size: 14px;
}

.text--error {
    color: #F28521;
    font-weight: 500;
}

.top-bar {
    align-items: center;
    display: flex;
    height: 80px;
    left: 0;
    padding: 10px 30px;
    position: absolute;
    top: 0;
    width: 100%
}

.top-bar .logo {
    height: 50px;
    width: auto;
}

.top-bar .product-name {
    font-weight: 600;
    padding-left: 16px;

    /* Hide original text */
    font-size: 0;
    line-height: 0;
}

/* Add custom text using ::before pseudo-element */
.top-bar .product-name::before {
    content: "MetroHealth";
    font-size: 16px; /* Reset to desired size */
    line-height: normal;
    display: block;
    visibility: hidden;
}

.login-wrapper {
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    justify-content: center;
    align-items: center;
}

.login-wrapper.img1 {
    background-image: url('../images/login/login-background-image.png');
}

.login-wrapper.img2 {
    background-image: url('../images/login/login-background-image.png');
}

.login-wrapper.img3 {
    background-image: url('../images/login/login-background-image.png');
}

.modal {
    background: rgba(21,28,91,.75);
    border-radius: 15px;
    max-width: 75%;
    padding: 40px;
    width: 22em;
    -webkit-animation: modalGrow .15s .5s ease-out both;
    animation: modalGrow .15s .5s ease-out both;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
}

.modal ol {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 325px;
    width: auto;
}

.modal ol li {
    margin-bottom: 15px;
    text-align: center;
}

.modal a {
    color: #fff;
}

.modal ol li:last-child {
    margin-bottom: 0;
}

.modal ol li.login-header-container {
    text-align: left;
}

.modal ol li .login-header {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.modal ol label {
    display: block;
    margin-bottom: 4px;
}

.modal ol input {
    font-family: "Montserrat", sans-serif, sans-serif;
}

.modal ol input[type="text"],
.modal ol input[type="email"],
.modal ol input[type="password"] {
    background: hsl(0, 0%, 100%);
    border: 1px solid hsl(0, 0%, 62%);
    border-radius: 4px;
    color: hsl(241, 77%, 12%);
    outline: none;
    transition: all .2s ease-in-out;
}

.modal ol input[type="text"],
.modal ol input[type="email"],
.modal ol input[type="password"],
.modal ol input[type="submit"],
.modal ol .link {
    font-size: 16px;
    padding: 15px;
    width: 100%;
}

.modal ol input[type="submit"]:hover,
.modal ol input[type="submit"]:focus{
    background: #78206d;
}

.modal ol input[type="submit"],
.modal ol .link {
    background: #902683;
    border: 0 solid;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.modal ol .link {
    display: block;
    text-decoration: none;
}

.modal ol label {
    display: block;
    font-size: 14px;
    text-align: left;
}

.modal ol input[type="checkbox"] {
    margin-right: 4px;
}

.modal ol input:focus {
    border: 1px solid hsl(227, 100%, 50%);
}

.modal ol input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px hsl(0, 0%, 100%) inset;
}

.modal ol p {
    margin: 0;
}

.cookie-information {
    height: auto;
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    padding-top: 10px;
    text-align: left;
    transition: all .1s ease-in;
}

.cookie-information.is-visible {
    max-height: 100px;
    opacity: 1;
    transition: all .2s ease-in;
}

@-webkit-keyframes modalGrow {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes modalGrow {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}