:root {
    --font-size-common-fields: 16px;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
}

@media only screen and (max-width: 575.98px) {
    .HideOnMobile {
        display: none;
    }

    .ShowOnMobile {
        display: initial;
    }

    .container {
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .university-logo-container-mobile-page1 {
        width: auto;
        height: 30%;
        overflow: hidden;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .university-logo-container {
        text-align: center;
        height: 12%;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .university-logo {
        width: auto;
        height: 5rem;
    }

    .main-content {
        flex-grow: 1;
    }

    .text-container-with-back-link {
        margin-top: 10px !important;
    }

    .text-container {
        padding-left: 16px;
        padding-right: 16px;
        margin-top: 48px;
    }

    .description {
        font-size: var(--font-size-common-fields);
        text-align: left;
        padding-top: 24px;
        line-height: 1.5;
    }

    .label {
        font-size: var(--font-size-common-fields);
    }

    .copyright {
        font-size: 12px;
        margin-top: 10px;
    }

    .error {
        font-size: calc(9px + 1.2vw);
    }

    .login-link {
        font-size: var(--font-size-common-fields);
    }

    .register-link {
        font-size: calc(8px + 1vw) !important;
    }

    .toast {
        display: flex;
        top: auto !important;
        right: auto !important;
        position: unset !important;
    }
}

@media (min-width: 576px) {
    .HideOnMobile {
        display: initial;
    }

    .ShowOnMobile {
        display: none;
    }

    .container {
        left: 50%;
        width: 50%;
        padding: 0;
    }

    .main-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }

    .text-container {
        margin-top: 40px;
        margin-inline: 25%;
    }

    .text-register-access {
        font-weight: 500;
        text-align: center;
    }

    .description {
        font-size: var(--font-size-common-fields);
        text-align: center;
        padding-top: 24px;
        line-height: 20px;
    }

    .label {
        font-size: var(--font-size-common-fields);
    }

    .copyright {
        font-size: 12px;
        flex-shrink: 0;
    }

    .university-logo-container {
        width: auto;
        overflow: hidden;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .university-logo {
        width: auto;
        height: 8rem;
    }

    .error {
        font-size: calc(4px + 0.8vw);
    }

    .desktop-submit-btn {
        margin-top: 48px;
        width: 61%;
    }

    .confirm-fields-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}

.welcome-iframe-box {
    border: none;
    height: 100%;
    width: 50%;
    position: fixed;
}

.welcome-iframe {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
}

.container {
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.text-register-access {
    font-size: 24px;
    padding: 0;
    margin: 0;
}

.copyright {
    color: #495057;
    background-color: transparent;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.label {
    text-align: left;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
}

.error {
    text-align: left;
    background-color: transparent;
    font-style: inherit;
    font-family: inherit;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: var(--bs-danger);
}

.email-sent-container {
    display: none;
    padding-left: 15%;
    padding-right: 15%;
    text-align: center;
    margin-top: 48px;
}

.email-sent-img {
    width: 15%;
}

.validationError ul {
    color: var(--bs-danger);
    list-style-type: none;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    color: var(--bs-danger);
}

.login-link, .register-link {
    font-size: var(--font-size-common-fields) !important;
    line-height: calc(18px + 1vw) !important;
    color: #0D6EFD;
    cursor: pointer;
    text-align: center;
    background-color: transparent;
    border: 0;
    font-style: inherit;
    font-family: inherit;
    width: 100%;
    margin-bottom: 16px;
}

.login-link a {
    text-decoration: none;
}

/* For styling elements in <axi:LinksRow runat="server"></axi:LinksRow> at the bottom of the page */
.link {
    font-size: var(--font-size-common-fields);
}

.py-8px {
    padding-top: 8px;
    padding-bottom: 8px;
}

.confirm-update-btn {
    margin-bottom: 44px;
}

.login-link-btn {
    padding-top: 16px;
}