/* General styles */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overscroll-behavior: none;
    background-color: #26587A !important;
}

h2,
label {
    color: white;
}

p {
    color: red;
}

i {
    color: white;
}

.valid {
    color: green;
}

.valid:before {
    position: relative;
    left: 0px;
    margin-right: 10px;
    content: "✔";
}

.invalid {
    color: red;
}

.invalid:before {
    position: relative;
    left: 0px;
    margin-right: 10px;
    content: "✖";
}

/* Background image */
.bg-image {
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: -40%;
}

/* Language button */
.btn-lang {
    background-color: #EDEDED !important;
    border-radius: 45px !important;
    height: 50px !important;
    width: 160px !important;
    font-family: 'GothamRounded-Medium';
    font-weight: 350;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.3px;
    margin-top: 30px;
}

.btn-lang:focus {
    outline: none;
    box-shadow: none !important;
}

/* Register logo */
.register-logo {
    height: 50px;
    margin-top: 30px;
    margin-left: 50px;
}

/* Card */
.card {
    height: auto;
    width: 400px;
    background: #FFFFFF !important;
    box-shadow: 0 2px 11px rgba(0, 0, 0, 0.1) !important;
    border-radius: 60px !important;
}

/* Card header */
.card-header {
    text-align: left;
    background: #F9F9F9 !important;
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 53px !important;
    border: none !important;
}

.card-header h3 {
    font-family: 'GothamRounded-Medium';
    font-style: normal;
    font-weight: 350;
    font-size: 20px;
    line-height: 24px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 20px;
    color: #000000;
}

/* Login input */
.login-input {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-radius: 36px !important;
    height: 53px;
    padding-left: 20px;
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.login-input input {
    border-radius: 36px !important;
    border: 0 !important;
    padding-left: 14px;
    width: 83%;
    align-items: center;
}

.login-input input:focus {
    outline: none;
}

.login-input input::placeholder {
    font-family: GothamRounded-Book;
    color: #BABABA;
}

.login-input textarea:focus {
    outline: none;
}

/* Login button */
.login_btn {
    color: white !important;
    background-color: #97C4B8 !important;
    border: 0 !important;
    border-radius: 45px !important;
    height: 65px;
    font-family: 'GothamRounded-Medium';
    font-weight: 350;
    font-size: 20px;
    line-height: 24px;
}

.login_btn:hover {
    color: black;
    background-color: white;
}

/* Footer */
.footer-register a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-msg {
    font-family: 'GothamRounded-Book';
    font-weight: 325;
    font-size: 15px;
    line-height: 20px;
    color: #212123;
}

.footer-link {
    color: #97C4B8;
    text-decoration-line: underline;
}

/* Form */
.form-forget-password {
    width: 100%;
    max-width: 350px;
    padding: 15px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-control {
    border-radius: 20px !important;
    padding-left: 20px !important;
}

/* Password hint */
.password_hint {
    right: 10px;
    top: 100px;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 20px !important;
    display: none;
    padding: 10px;
}

.password_hint h3 {
    font-size: 20px;
}

.password_hint p {
    text-align: left;
}

/* Password confirmation hint */
.psw_confirm_hint {
    right: 10px;
    top: 150px;
    color: white;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 20px !important;
    display: none;
    padding: 10px;
}

.psw_confirm_hint p {
    text-align: left;
}

/* Autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Center field */
.center_field {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Register info box */
#register_info_box {
    position: absolute;
    height: auto;
    top: 150px;
    left: 30px;
}

#RegisterCard {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#TopBar {
    top: 10px;
}

@media only screen and (max-width: 991px) {

    #register_info_box {
        display: none;
    }

    .login_btn,
    .links,
    .demo-button,
    .card-header h3,
    .login-input input {
        font-size: 16px;
    }

    .forget-password {
        font-size: 13px;
    }

    .login_btn {
        height: 50px;
    }

    .demo-button {
        font-size: 9px;
    }

    .footer-link,
    .footer-msg {
        font-size: 12px;
    }

    .card {
        width: 400px;
    }

    #TopBar {
        top: 0;
    }

    .bg-image {
        height: 100%;
        width: 150%;
        bottom: -45%;
    }

    body {
        display: block;
    }

    #RegisterCard {
        margin-top: 100px;
    }
}

@media only screen and (min-width: 1440px) {
    #RegisterCard {
        margin-top: 500px;
    }
}

@media only screen and (max-width: 1200px) {
    #register_info_box {
        display: none;
    }
}