h3 {
    color: #222;
}

/* -------------- FRONT PAGES -------------- */

.gateway {
    position: relative;
    max-width: 800px;
    min-height: 410px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 35px rgba(0,0,0,0.4);
    overflow: auto;
}

    .gateway a {
        text-decoration: none;
    }

        .gateway a:hover {
            text-decoration: underline;
        }

.access {
    background: rgb(192,157,15);
    height: 100%;
}

    .access h1 {
        font-size: 1.4em;
        color: #3e7bd4;
        line-height: 1.5em;
        padding: 10px;
        margin-bottom: 0;
    }

    .access h2 {
        text-transform: uppercase;
        font-weight: 800;
        font-size: 1.2em;
        letter-spacing: 0.2px;
    }
/* -------------- JOIN Section -------------- */

.join {
    background: url(/img/site.jpg) no-repeat #5a564c;
    background-size: cover;
    background-position: right bottom;
    color: #fff;
}

    .join h2 {
        color: rgba(255,255,255,0.6);
    }

/* -------------- LOGIN Section -------------- */

.login {
    position: relative;
}

    .login h2 {
        color: rgba(0,0,0,0.9);
    }

.access input,
.access select {
    border: 0;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #d6d2c5;
    font-weight: bold;
    border-radius: 0;
    padding: 2px;
}

.access select {
    position: relative;
    color: #3e7bd4;
    background: url(/img/down-arrow.svg) no-repeat right 12px transparent;
    background-size: 10px 10px;
}

    .access input:focus,
    .access select:focus {
        border: 0;
        border-bottom: 2px solid #000 !important;
        background-color: transparent;
        outline: 0;
        box-shadow: none;
    }

    .access select option {
        background: #fff;
        font-weight: normal;
        color: #3e7bd4;
    }

        .access select option:selected,
        .access select option:checked {
            font-weight: bold;
        }

    .access select::after {
        position: absolute;
        content: '';
        width: 15px;
        height: 15px;
        right: 0;
        top: 0;
        background: url(/img/down-arrow.svg) no-repeat;
        background-size: cover;
    }

.access input::placeholder {
    color: #7e7558;
    font-weight: normal;
}

.access input:focus::placeholder {
    color: #c8c0a7;
}

.login input[type="email"] {
    background-image: url(/img/email.svg);
    background-repeat: no-repeat;
    background-size: 18px auto;
    background-position: 5px 24px;
    border-color: #cecac0;
    padding: 20px 5px 1px 35px;
}

.login input[type="password"] {
    background-image: url(/img/lock.svg);
    background-repeat: no-repeat;
    background-size: 24px auto;
    background-position: 2px 18px;
    border-color: #cecac0;
    padding: 20px 5px 1px 35px;
}

.access input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #cecac0;
    padding: 0;
    margin-right: 7px;
    margin-top: 1px;
    appearance: auto;
}

.access input:focus-within label {
    color: #000;
}

.btn-chp {
    background: #222 !important;
    color: #c2ac64;
    font-weight: bold;
    text-transform: uppercase;
    border: 0;
    border-radius: 50px;
    padding-inline: 20px;
    text-decoration: none !important;
}

    .btn-chp:hover {
        background: #3e7bd4;
        color: #fff;
    }

.login .form-check {
    display: flex;
    align-items: center;
}

.login-area {
    display: block;
    margin: 5rem auto;
}

@media(max-width:768px) {
    .login-area {
        margin: 0 auto !important;
    }
}

/* -------------- REGISTER Section -------------- */

.back {
    position: absolute;
    left: 20px;
    top: 15px;
    color: rgba(255,255,255,0.6);
    padding: 10px 10px 10px 40px;
    border-radius: 4px;
}

    .back:hover {
        background: #222;
        color: rgba(255,255,255,0.8);
        text-decoration: none !important;
    }

    .back::before {
        content: '';
        position: absolute;
        top: calc(50% - 9px);
        left: 10px;
        width: 22px;
        height: 20px;
        background: url(/img/left-arrow.svg) no-repeat;
        background-size: contain;
        opacity: 0.2;
    }

.forgot-password .back {
    color: #555;
    z-index: 1;
}

    .forgot-password .back:hover {
        background: #ddd;
    }

    .forgot-password .back::before {
        background: url(/img/left-arrow-grey.svg) no-repeat;
    }

.forgot-password .login-area {
    margin: 3rem auto !important;
}

.join ul li {
    list-style: none;
    text-align: left;
    padding-top: .4em;
    padding-bottom: .4em;
}

    .join ul li img {
        margin-right: 7px;
        margin-top: -4px;
        width: 30px;
        height: 30px;
    }

.form-check {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.map-radio-group {
    display: block !important;
    width: 100% !important;
}

input[name="CodeDigit"] {
    border: 2px solid #ced4da;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

input[name="CodeDigit"]:focus {
    border-color: #ced4da;
    border-bottom: none !important;
    box-shadow: 0 0 0 .2rem #222;
}

label em {
    text-transform: lowercase;
    font-weight: normal;
}

.form-check-input[type="radio"] {
    appearance: auto !important;
}

.dropdown {
    order: 2;
}

.dropdownMenuButton {
    order: 1;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    width: 100%; /* Make dropdown menu width same as button */
}

.btn-secondary {
    background-color: #fff;
    color: #000;
    border: 1px solid #ced4da;
}

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: #e9ecef;
        color: #000;
        border-color: #adaeaf;
    }

.dropdown-item {
    width: 100%;
    margin: 0;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
}

    .dropdown-item:hover {
        text-decoration: none !important;
        cursor: pointer;
    }
    .dropdown-item input {
        margin-right: 0.5rem;
    }
