* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: kanit;
}

    *:focus {
        outline: none;
    }

form input {
    font-size: 18px;
    font-weight: 600;
    font-family: Maven Pro;
}

.title {
    font-size: 20px;
    font-weight: 300;
    font-family: kanit;
    color: var(--Black)
}

.nav-item a {
    font-size: 14px;
    font-weight: 500;
    color: var(--NavText);
    text-decoration: none;
}

.mobile-topbar {
    height: 80px;
    max-height: 100%;
    border-bottom: 1px solid var(--Primary);
}

main {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    justify-content: center;
    background-image: url("../Assets/top-right-bg.svg"), url("../Assets/bottom-left-bg.svg");
    background-repeat: no-repeat, no-repeat;
    background-position: right 0 top 0, left 0 bottom 0px;
    background-size: 48% auto, 20% auto;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Radio-buttons*/
.radio-item {
    display: inline-block;
    position: relative;
    padding: 0 6px;
}

    .radio-item input[type='radio'] {
        display: none;
    }

    .radio-item label:before {
        content: " ";
        display: inline-block;
        position: relative;
        top: 5px;
        margin: 0 5px 0 0;
        width: 16px;
        height: 16px;
        border-radius: 11px;
        border: 1px solid var(--Primary);
        background-color: transparent;
    }

    .radio-item input[type=radio]:checked + label:after {
        border-radius: 11px;
        width: 12px;
        height: 12px;
        position: absolute;
        top: 9px;
        left: 8px;
        content: " ";
        display: block;
        background: var(--Primary);
    }
/* Landing Page*/
.home-page p {
    padding: 0 0 36px;
}

.home-page .investor-btn {
    padding: 9px 80px;
    border: 1px solid var(--Primary);
    color: var(--Primary);
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    font-family: Maven Pro;
    margin: 0 20px;
}

.home-page .seperator {
    color: var(--Primary);
}

.home-page .investor-container {
    padding-top: 106px;
}
/* NewInvestor */
.hide-initial {
    display: none;
}

.investor-information-form .form-control {
    border: 1px solid var(--Primary);
    padding: 8px 12px;
    border-radius: 0px;
    max-height: 42px;
}

    .investor-information-form .form-control::placeholder {
        font-weight: 400;
    }

    .investor-information-form .form-control:focus {
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgb(124 179 51 / 25%);
    }

    .investor-information-form .form-control[name="CharityId"] {
        display: inline;
        max-width: 232px;
        width: 100%;
        height: 24px;
    }

.number-valid .number-check {
    max-width: 232px;
    width: 100%;
    height: 24px;
}

.investor-info h2 {
    font-size: 18px;
    font-weight: 600;
    font-family: Maven Pro;
}

.investor-info input, .number-valid input, .investor-information-form .form-control {
    border: 1px solid var(--Primary);
    padding: 8px 12px;
}

input[type=radio] {
    accent-color: var(--Primary);
}

#exampleModalCenter .modal-content {
    max-width: 326px;
}

#cancel-popup h5, .popup-text {
    font-size: 18px;
}

.outer-line {
    border: 1px solid var(--Primary);
    border-radius: 10px;
    padding: 30px 28px;
    border-radius: 10px;
    background-color: var(--Background);
}

.bottom-nav {
    bottom: 30px;
}

    .bottom-nav .cancel-btn {
        background-color: var(--Background);
        padding: 9px 36px;
        border: 1px solid var(--Secondary);
        border-radius: 0;
    }

    .bottom-nav .next-btn {
        text-decoration: none;
        color: var(--Green);
        font-size: 18px;
        font-weight: bold;
        font-family: Maven Pro;
        font-size: 18px;
        border: 1px solid var(--Primary);
        padding: 9px 36px;
        background-color: var(--Background);
    }

    .bottom-nav .next-btn, .reset-btn, .reset-btn:hover {
        text-decoration: none;
        color: var(--Primary);
        font-size: 18px;
        font-weight: bold;
        font-family: Maven Pro;
        font-size: 18px;
        border: 1px solid var(--Primary);
        padding: 9px 36px;
        background-color: var(--Background);
    }

.back-btn, .back-btn:hover {
    color: var(--Secondary);
    font-family: Maven Pro;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
}
/* Custom selection for security questions */
.custom-select {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 50px;
    font-size: 16px;
}

    .custom-select select {
        width: 100%;
        height: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        background-color: #eee;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

.toggle-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.custom-select select:focus + .toggle-icon,
.custom-select select:active + .toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

@media only screen and (min-width: 992px) {
    .top-bar {
        max-height: 80px;
        border-bottom: 1px solid var(--Primary);
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
        justify-content: flex-end;
    }
}

@media only screen and (max-width: 992px) {
    .top-bar .mobile-topbar {
        width: 100% !important;
        box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        float: left !important;
        text-align: center;
        margin: 0;
    }
}