/** HTML DOM Elements **/

form {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-right: 17px;
    /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box;
    /* So the width will be 100% + 17px */
}

/** Class specific **/

/* Splash */

#BG-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.email-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.bg-cover {
  position: relative;
  width: 100%;
  height: calc(100vh - 50px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mainNavbar,
.jumbotron-holder {
    z-index: 1;
}

.jumbotron {
    background: var(--offWhiteSplashBackgroundBanner);
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash-button {
    margin-top: 10px;
    width: 20%;
    min-width: 250px;
    max-width: 450px;
    background-color: var(--splashGreen);
    border-color: var(--splashGreen);
}

.splash-page-links {
    color: var(--bs-link-hover-color) !important;
}

.splash-page-links:hover {
    color: var(--blueLinkOnHover) !important;
}

#splash-mini-text {
    font-weight: 700;
    font-size: 120%;
    padding-top: 20px;
    color: var(--darkSplashLabelGreen);
    width: fit-content;
}

/** Modals **/

.modal-footer {
    justify-content: center !important;
}

/* Forgot Password */

.forgot-password-form-group {
    margin-bottom: 10px;
}

.forgot-password-email-label,
.login-register-label {
    font-weight: 700;
    font-size: 120%;
}

.forgot-password-email-label {
    color: var(--splashLabelGreen);
}

/* Login-Register */

/* Remove the scroll bar from login/register forms */
.login-register-form {
    overflow-y: hidden;
    padding-right: 0px;
}

.login-register-form-group {
    box-sizing: border-box;
}

.login-register-label {
    color: var(--darkSplashLabelGreen);
    padding-top: 20px;
}

.login-register-buttons {
    display: inline-block;
    vertical-align: top;
    background-color: var(--splashGreen);
    border-color: var(--splashGreen);
}

.first-in-register-login-form>label {
    padding-top: 0;
}

.register-login-modal-footer {
    margin-top: 20px;
}

/* Validate Email */

.validate-email-title {
    flex-grow: 1;
    color: var(--splashGreen);
    font-size: 36px;
}

.validate-email-text {
    font-family: Arial, sans-serif;
}

/* Alert Banner */

.alert-banner-splash-modal-hide {
    display: none;
}

.alert-banner-splash-modal-display {
    display: inherit;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

.alert-banner-splash-modal-show {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/** ID specific **/

#ModalForm {
    overflow: hidden;
}

#CloseErrorModalButton {
    width: 100%;
}

#SplashModalErrorContent {
    width: 100%;
}

/* Forgot Password */

#ForgotPasswordLink {
    font-size: 0.75rem;
    margin-bottom: 0;
}

#ForgotPasswordText {
    color: black;
}

/* Login-Register */

/* Validate Email */

#ValidateEmailIcon {
    width: 48px;
    height: 48px;
    background-color: var(--splashGreen);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Center horizontally */
}

#ValidateEmailText {
    color: var(--darkGrayTextColor);
    font-size: 18px;
    line-height: 1.6;
}

#EmailValidationFooter {
    flex-wrap: nowrap;
    justify-content: center;
}

/* Alert Banner */

#EmailAlertBanner {
    color: var(--darkGrayTextColor);
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}


/* Responsive splash page */
@media (max-width: 529.98px) {
    #splash-mini-text {
        width: 85%;
        text-align: center;
    }

    #splash-major-text {
        text-align: center;
    }
}

@media (max-width: 992px) {
    .bg-cover {
        overflow-y: hidden;
    }

    .bg-img {
        /* https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80 */
        background: url("splash.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        min-height: 380px;
    }
}
