﻿:root {
    --primary: rgba(0, 29, 75, 1) !important;
}

#loader {
    z-index: 9999;
    position: absolute;
    top: .1em;
    height: .5em;
    width: 100%;
    background: transparent;
}

    #loader::before {
        content: '';
        position: absolute;
        top: .1em;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    #loader::after {
        content: '';
        position: absolute;
        top: .1em;
        left: 0;
        width: 10%; /* Start with a smaller width */
        height: 100%;
        background: #F8F9FA;
        animation: loading-bar 2s infinite cubic-bezier(0.4, 0.0, 0.2, 1); /* Use an easing function */
    }

@keyframes loading-bar {
    0% {
        left: -30%;
        width: 10%; /* Narrow at the start */
    }

    50% {
        width: 40%; /* Wider in the middle */
    }

    100% {
        left: 100%;
        width: 10%; /* Narrow again at the end */
    }
}


body {
    background-image: url("/Custom/TowerFundCapital/images/BackgroundTowerImage.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    overflow-x: hidden;
}

header {
    background-color: rgba(0, 29, 75, 0.75);
    position: fixed;
    top: 0;
    z-index: 9999;
}

main {
    display: flex !important;
    justify-content: center;
}

input[type=radio] {
    transform: scale(1.5) translate(-.25em, 0em) !important;
}

footer {
    background-color: rgba(0, 29, 75, 1);
    position: fixed;
    bottom: 0;
    z-index: 9999;
}

#ApplicationContainer,
.step-progress-container {
    flex-direction: row;
    display: flex;
    background-color: rgba(250, 250, 250, .75) !important;
    border: 1px solid rgba(250, 250, 250, .75) !important;
    border-radius: 1rem !important;
}

.times-new-roman {
    font-family: 'Times New Roman', Times, serif;
}

.center-all-items {
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-label{
    color: var(--primary);
    font-weight: bold;
}

.slide-in-affect {
    display: none;
}

.tfc-form-group {
    padding: 1em 3em !important;
}
@media only screen and (max-width: 1300px) {
    .tfc-form-group {
        padding: 1em 2em !important;
    }
}

.edit-email-icon:hover,
.cancel-email-icon:hover,
.submit-email-icon:hover {
    font-weight: bold !important;
}

.asset-separator {
    border-left: 1px solid var(--primary);
}
    .asset-separator:first-of-type {
        border-left: none !important;
    }

@media only screen and (max-width: 750px) {
    .asset-separator {
        padding-bottom: 1em;
        border-top: 1px solid var(--primary);
    }
        .asset-separator:first-of-type {
            border-top: none !important;
            padding-bottom: 0;
        }
}

.step-progress-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}
    .step-progress-container i.arrow-steps {
        font-size: 1.5em;
        transform: translateY(-.75em)
    }

.individual-step {
    display: flex;
    flex-direction: column;
    gap: .5em;
    text-align: center;
}

.circled-icon {
    display: grid;
    place-items: center;
    width: 2.25em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.75em;
}

.individual-step.active .circled-icon {
    color: var(--light);
    background: var(--primary);
}

.translate-up {
    transition: transform 0.5s ease; /* Adjust duration and easing as needed */
    transform: translateY(-5em); /* Move element upwards by 5em */
}


@media only screen and (max-width: 1400px) {
    #FinancialInfoSection .form-group button {
        font-size: .8em;
    }
}

.modal {
   top: 6em !important;
}

/* Bootstrap class override */
.form-group {
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-bottom: 0 !important;
}
.modal-backdrop {
    z-index: 1040 !important;
}

/* Ensure modal is on top of the backdrop */
.modal {
    z-index: 1050 !important;
}

.modal-dialog {
    z-index: 1060 !important;
}


.form-control {
    height: 4em !important;
    border-radius: .75rem !important;
}
#FinancialInfoSection .form-control {
    height: 3em !important;
}

.text-primary {
    color: var(--primary) !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.btn {
    border-radius: .5rem !important;
    height: 4em !important;
}

.btn-primary {
    color: #fff;
    background-color: #FE6A09;
    border-color: #FE6A09;
}
.btn-outline-primary {
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primary);
    font-weight: bold;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-primary:hover {
    color: #fff;
    background-color: #FE6A09;
    border-color: #FE6A09;
    filter: brightness(1);
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle,
.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

    .custom-header {
        height: 60px;
        background-color: #052460;
    }

    .logo-with-padding {
        margin-top: 15px; 
        padding-left: 20px; 
    }


@media screen and (min-width: 1900px) {
    .col-xxl-1 {
        flex: 0 0 8.333333% !important;
        max-width: 8.333333% !important;
    }

    .col-xxl-2 {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
    }

    .col-xxl-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .col-xxl-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }

    .col-xxl-5 {
        flex: 0 0 41.666667% !important;
        max-width: 41.666667% !important;
    }

    .col-xxl-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .col-xxl-7 {
        flex: 0 0 58.333333% !important;
        max-width: 58.333333% !important;
    }

    .col-xxl-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }

    .col-xxl-9 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }

    .col-xxl-10 {
        flex: 0 0 83.333333% !important;
        max-width: 83.333333% !important;
    }

    .col-xxl-11 {
        flex: 0 0 91.666667% !important;
        max-width: 91.666667% !important;
    }

    .col-xxl-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}