﻿.body {
    font-family: 'Raleway';
    min-width: 900px;
    /*min-height: 800px;*/
}

html, body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

.error-text-container {
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 60vw;
    height: 50%;
}

.DesktopBackgroundImage {
    background-image: url('/Content/Images/background5.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /*    display: inline-block;
    overflow-x: auto;*/
    min-height: 400px
}
@media (min-width: 700px) and (max-width: 1000px) {
    .DesktopLogoContainer {
        margin-top: 10vh !important; /* Adjust the value as needed */
    }

    .DesktopRegiLoginGrid {
        margin-top: 10vh !important;
    }

    .DesktopPasswordInstructionsGrid {
        margin-bottom: 20px;
    }
} 

@media (max-width: 800px) {
    .DesktopBackgroundImage {
        width: 110%;
    }
}

.IndexDataContainRegistration {
    overflow-x: auto;
    width: 100%;
    overflow-y: auto;
    overflow-x: auto;
    justify-content: center;
    display: flex;
    align-items: center;
}
/*@media (min-width: 1000px) {
    .IndexDataContainRegistration {
        width: 100vw;*/ /* Use 100vw for larger screens */
/*}
}*/

.containDashboardOuter {
}

.DesktopBackgroundImageRegiLogin {
    background-image: url('/Content/Images/background5.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    /* display: inline-block;
        overflow-x:auto;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    min-height: 600px;
}

/*
@media (max-width: 600px) {
    .DesktopBackgroundImageRegiLogin {
        width: 170%;
    }
}*/
.DesktopButtonContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.desktopLogo {
    width: 25vw;
    max-width: 400px;
    min-width: 300px;
}

.DesktopLinkContainer {
    display: flex;
    justify-content: center;
    font-size: 0.7em
}

@media (max-width: 800px) and (max-height: 500px) {
    .DesktopLink {
        font-size: 1.3em !important; /* Adjust the font size as needed */
    }
}

.DesktopLogoContainer {
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.DesktopLoginHeader {
    font-size: 2em;
    color: #FFF;
    margin-top: 8vh;
}
/* Adjust font size for max-width 700px */
@media (max-width: 1100px) {
    .DesktopLoginHeader {
        font-size: 1.8em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height:900px) {
    .DesktopLoginHeader {
        font-size: 1.8em; /* Adjust the font size as needed */
    }
}

@media (max-width: 700px) {
    .DesktopLoginHeader {
        font-size: 1.5em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height: 800px) {
    .DesktopLoginHeader {
        font-size: 1.5em; /* Adjust the font size as needed */
    }
}

.DesktopLoginInputColumnEmail {
    grid-row: 2;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}

.DesktopLoginInputColumnPassword {
    grid-row: 3;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}


.DesktopLoginInputForgot {
    grid-row: 5;
    grid-column: 3;
    width: 100%;
    text-align: center;
    z-index: 1000;
}

.DesktopLoginFormHeader {
    grid-row: 1;
    grid-column: 3;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: start;
    font-size: 2.5em;
}

.DesktopLoginRegisterHeader {
    font-size: 3em;
    color: #FFF;
    margin-top: 80px;
}

.DesktopFormContainer {
    width: 37%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8vh;
    max-width: 300px;
    padding: 20px;
    min-width: 300px;
}

.DesktopInputBox, .DesktopButton, .DesktopInputBoxLogin, .DesktopInputBoxReg {
    width: 100%;
    padding: 8px;
    font-size: 1.1em;
    box-sizing: border-box;
    height: 3vh;
    max-height: 50px;
    min-height: 30px;
    max-width: 300px;
    border-radius: 5px;
    border-style: none;
    font-weight: 600;
    min-width: 200px;
}

.DesktopInputBoxLogin, .DesktopInputBoxReg {
    /*min-width: 150px;*/
}

    .DesktopInputBoxLogin:focus {
        outline: none;
        border: 1px solid yellow;
    }

    .DesktopInputBoxReg:focus {
        outline: none;
        border: 1px solid yellow;
    }

.DesktopIconContainer {
    grid-row: 5;
    grid-column: 4;
    /* display: grid; */
    /* grid-template-columns: 85% 15%; */
    display: flex;
    align-items: center;
    justify-content: center
}

.DesktopInputColumnName {
    grid-row: 2;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}

.DesktopInputColumnSurname {
    grid-row: 3;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}

.DesktopInputColumnEmail {
    grid-row: 4;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}

.DesktopInputColumnPassword {
    grid-row: 5;
    grid-column: 3;
    align-self: center;
    z-index: 500;
    justify-self: center;
    width: 100%;
}

.DesktopInputColumnConfirmPassword {
    grid-row: 6;
    grid-column: 3;
    align-self: center;
    justify-self: center;
    width: 100%;
}

.DesktopPasswordInstructionsGrid {
    grid-row: 7;
    grid-column: 3;
    justify-self: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    align-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content
}

.DesktopButtonGrid {
    grid-row: 8;
    grid-column: 3;
    justify-self: center;
    width: 100%;
}

.password-instructions {
    color: white;
    text-align: center;
    padding: min(0.3vw, 10px);
    font-size: 0.85em;
    min-width: 200px;
}

.password-instructions-reset {
    color: white;
    text-align: center;
    padding-bottom: min(0.7vw, 10px);
    font-size: 0.85em;
    min-width: 200px;
}

.DesktopButtonGridLogin {
    grid-row: 4;
    grid-column: 3;
    align-self: start;
    justify-self: center;
    width: 100%
}

.DesktopInputContainer {
    height: 5vh;
    min-height: 40px;
    max-height: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.DesktopLinkContainer {
    margin-top: 1vh;
}

.DesktopLink {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

a {
    font-size: inherit;
}

.DesktopRegiFormHeader {
    grid-row: 1;
    grid-column: 3;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: start;
    font-size: 2.5em;
}

.DesktopRegiLoginGrid {
    display: grid;
    width: 90vw;
    grid-template-columns: 48% 4% 48%;
    grid-template-rows: auto;
    grid-gap: 0;
    margin-top: 4.5vh;
    max-width: 1300px;
    /*min-width: 800px;*/
}

.password-strength-label {
    position: absolute;
    top: 80%;
    white-space: nowrap;
    color: red;
    margin-left: 10px;
    left: -20%;
}


.regiGrid {
    grid-column: 1;
    display: grid;
    width: 100%;
    grid-template-columns: 22% 7% minmax(200px, 42%) minmax(70px, 7%) 24%;
    grid-template-rows: clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(60px, 6vh, 60px) clamp(50px, 6vh, 60px) clamp(40px, 6vh, 100px);
    grid-gap: 0;
    /*min-width: 500px;*/
}

.loginGrid {
    /*    grid-column: 3;
    display: grid;
    width: 100%;
    grid-template-columns: 22% 7% 42% 7% 22%;
    grid-template-rows: clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(80px, 7vh, 120px) clamp(40px, 6vh, 60px) auto;
    grid-gap: 0;*/
    grid-column: 3;
    display: grid;
    width: 100%;
    grid-template-columns: 22% 7% 42% 7% 22%;
    grid-template-rows: clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 6vh, 60px) clamp(40px, 5vh, 60px);
    grid-gap: 0;
    /*min-width: 500px;*/
}

.DesktopRegisterLoginHeader {
    color: white;
    margin-top: 1.5vh;
    font-size: 2.5em;
    margin-left: 3vh;
    margin-right: 3vh;
    text-align: center
}

/* Adjust font size for max-width 700px */
@media (max-width: 1200px) {
    .DesktopRegisterLoginHeader {
        font-size: 2em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height: 900px) {
    .DesktopRegisterLoginHeader {
        font-size: 2em; /* Adjust the font size as needed */
    }
}

@media (max-width: 1000px) {
    .DesktopRegisterLoginHeader {
        font-size: 1.5em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height: 800px) {
    .DesktopRegisterLoginHeader {
        font-size: 1.5em; /* Adjust the font size as needed */
    }
}

.DesktopRegisterLoginSubHeader {
    color: white;
    font-size: 0.8em;
}
/* Adjust font size for max-width 700px */
@media (max-width: 1100px) {
    .DesktopRegisterLoginSubHeader {
        font-size: 0.6em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height: 900px) {
    .DesktopRegisterLoginSubHeader {
        font-size: 0.6em; /* Adjust the font size as needed */
    }
}

@media (max-width: 700px) {
    .DesktopRegisterLoginSubHeader {
        font-size: 0.5em; /* Adjust the font size as needed */
    }
}

/* Adjust font size for max-height 500px */
@media (max-height: 600px) {
    .DesktopRegisterLoginSubHeader {
        font-size: 0.5em; /* Adjust the font size as needed */
    }
}

.DesktopRegisterLoginSubHeaderLogin {
    color: white;
    font-size: 2em;
}

.DesktopAlert {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: start;
    justify-content: center;
    margin-bottom: 1vh;
    padding-top: 1.5vh;
}

.forgotPasswordGrid {
    grid-column: 3;
    grid-row: 6;
    color: white;
    display: flex;
    justify-content: center;
}

.forgotPasswordText {
    color: white;
    font-size: 2em;
}

.forgotPasswordTextLogin {
    color: white;
    font-size: 1em;
}

.formDesktop {
    width: 100%;
}

.formButton {
    background-color: #343a40;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    transition: .5s;
    cursor: pointer;
    width: 100%;
    height: 3.5vh;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    max-height: 40px;
    min-height: 28px;
    max-width: 300px;
    border-radius: 5px;
    border-style: none;
    min-width: 200px;
}

.regiInput {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}

.registerButton, .loginButton, .oktaButton, .backToLoginButton {
    font-size: 1em;
}

@media (max-width: 900px) and (max-height: 600px) {
    .registerButton, .loginButton, .oktaButton, .backToLoginButton {
        font-size: 0.9em; /* Adjust the font size as needed */
    }
}

.oktaButtonReg {
    font-size: 1em;
    margin-top: 1.2em;
}

.headerFlex {
    display: flex;
    flex-wrap: wrap;
}

.loginButton:hover {
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 15px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.2);
}

.registerButton:hover {
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 15px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.2);
}

.registerButton:hover {
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.2), 0 0 15px rgba(255, 255, 0, 0.2), 0 0 20px rgba(255, 255, 0, 0.2);
}

.btn-dark:hover {
    box-shadow: 0;
}

.line {
    background: linear-gradient(to bottom, rgba(128, 128, 128, 0) 0%, rgba(128, 128, 128, 1) 50%, rgba(128, 128, 128, 0) 100%);
    width: 1px;
    height: 100%;
}

.lineGrid {
    grid-column: 2;
    z-index: 10;
    grid-row: 1 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*@media (max-width: 768px) {
    .line {
        flex: 1 1 100%;
    }
}*/

.oktaButton {
}

    .oktaButton:hover {
        box-shadow: 0 0 10px rgba(26, 255, 255, 0.20), 0 0 15px rgba(26, 255, 255, 0.20), 0 0 20px rgba(26, 255, 255, 0.20);
    }

.backToLoginButton {
    margin-top: 1.5vh;
}

    .backToLoginButton:hover {
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(26, 255, 255, 0.20), 0 0 15px rgba(26, 255, 255, 0.20), 0 0 20px rgba(26, 255, 255, 0.20);
    }

.IconGrid {
    grid-column: 2;
}

.viewbag-message {
    color: yellow;
    background-color: none;
    font-size: 1.2em;
    text-align: center;
    padding: 1vh;
    padding-bottom: 0;
    border-radius: 5px;
}

.PrivacyNoticeGrid {
    grid-column: 3;
    grid-row: 9;
    color: white;
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.privacyText {
    color: white;
    font-size: 1em;
    text-align: center;
}

a {
    color: white !important;
    text-decoration: underline !important;
    font-size: inherit;
}

.error-text-container {
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 60vw;
    height: 50%;
    min-height: 400px;
    min-width: 600px;
}

.error-text {
    width: 60vw;
    margin: auto;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5em;
}

.tooltip-icon2 {
    font-size: 2em;
    color: white;
    width: 1vw;
    max-width: 60px;
    padding: 0.2vh 0.2vw 0.2vh 0.2vw;
    z-index: 500;
    min-width: 18px;
    /* margin-right: 0.5vw; */
    grid-column: 2;
}

.tooltip-content2 {
    display: none;
    position: relative;
    width: 50vw;
    background-color: black;
    padding: 0.5vh;
    border-radius: 5px;
    color: white;
    font-size: 1.2em;
    /* transform: translate(4.5vw, 0); */
    grid-column: 1;
    left: 20%;
    min-width: 200px
}

.tooltip-icon2:hover + .tooltip-content2 {
    display: inline-block;
    z-index: 1000;
}

h1, .h1 {
    font-size: 3rem;
}

input.error::-webkit-input-placeholder {
    color: red;
}

input.error::-moz-placeholder {
    color: red;
    opacity: 1; /* Firefox lowers the opacity of the placeholder by default */
}

input.error:-ms-input-placeholder {
    color: red;
}

.input.error::placeholder {
    color: red;
}

@media (max-width: 1000px) {
    .regiGrid, .loginGrid {
        display: grid;
    }

    .DesktopInputBoxReg, .DesktopInputBoxLogin, .formButton {
        width: 150px;
    }

    .DesktopRegiLoginGrid {
        min-width: 700px;
    }

    .DesktopLoginInputForgot {
        margin-top: 10px;
    }

    .DesktopInputColumnName,
    .DesktopInputColumnSurname,
    .DesktopInputColumnEmail,
    .DesktopInputColumnPassword,
    .DesktopInputColumnConfirmPassword,
    .DesktopButtonGrid,
    .DesktopIconContainer,
    .PrivacyNoticeGrid {
        width: 100%;
        margin-bottom: 10px;
    }

    .PrivacyNoticeGrid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .privacyText {
        width: 90%;
        margin: 0 auto;
    }
}

.validation {
    color: #FFFF00;
    font-weight: 505;
    width: auto;
    padding-left: 1vw;
    max-width: 100px;
    grid-column: 4 / 6;
    padding-top: 0.3vh;
}


.first-name-validation {
    grid-row: 2;
}


.surname-validation {
    grid-row: 3;
}

.email-validation{
    grid-row: 4;
}

.password-validation{
    grid-row: 7;
}

.confirm-password-validation{
    grid-row: 6;
}

.password-validation-reset {
    color: yellow;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4vh
}


.password-validation-login {
    color: yellow;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4vh
}

.email-validation-login {
    color: yellow;
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4vh
}

.validation-login-container {
    grid-row: 5;
    grid-column: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}