/* Global styles for the MkeBoss application */
@import url('https://fonts.googleapis.com/css2?family=Outfit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
    --bs-primary-rgb: 25, 25, 105;
    --bs-secondary-rgb: 255, 140, 18;
    --bs-alternative-rgb: 67, 87, 160;
    --wizard-input-bg: 219, 222, 237;
    --wizard-bg: 236, 237, 245;
}

.border-1.border-primary{
    border-color: rgb(var(--bs-primary-rgb)) !important;
}

.btn:disabled{
    z-index: -1;
}

    /* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.text-alternative{
    color: rgb(var(--bs-alternative-rgb));
}

body{
    font-family: 'Outfit', sans-serif;
    background: #F5F5F5;
}

.btn-wizard{
    background: rgb(var(--wizard-input-bg));
    color: rgb(var(--bs-primary-rgb));
    font-size: 1.2rem;
    line-height: 1.5rem;
    letter-spacing: 0.1em;
    /*padding: 1rem 2rem !important;*/
    border-radius: 0;
    width: 100%;
}

.btn-wizard:focus{
    box-shadow: 0 0 0 0.25rem rgba(var(--wizard-input-bg), 0.25);
}

.spinner {
    width: 40px;
    height: 40px;
    display: block;
    position: fixed;
    top: calc( 50% - ( 40px / 2) );
    right: calc( 50% - ( 40px / 2) );
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #333;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


.btn:focus.bg-secondary {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-secondary-rgb), 0.25);
}

.bg-alternative{
    background: rgb(var(--bs-alternative-rgb));
}

.btn:focus.bg-alternative {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-alternative-rgb), 0.25);
}

.form-group.wizard-input{
    margin-bottom: 0;
}

.form-group.wizard-input .form-control{
    background: rgb(var(--wizard-input-bg));
    border: none;
}
.form-group.wizard-input .flatpickr-wrapper{
    width: 100% !important;
}
.form-group.wizard-input .flatpickr-wrapper .input{
    padding: 0.8rem;
}
.form-group.wizard-input .form-label{
    color: rgb(var(--bs-alternative-rgb));
}
.form-group.wizard-input .form-control:focus{
    box-shadow: 0 0 0 0.25rem rgb(var(--wizard-input-bg), .25);
}

.header{
    background: rgb(var(--bs-primary-rgb));
    color: #fff;
    height: 538px;
    background-size: cover;
    position: relative;
}

.header::before{
    content: '';
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .25);
}
.website-title{
    font-style: normal;
    font-weight: 700;
    font-size: 5.2rem;
    line-height: 121px;
    text-align: center;
    letter-spacing: 0.1em;
    margin: -4rem 0 0;
}
.website-subtitle{
    margin: 0 0 3rem;
}

.website-title-info{
    font-size: 1.5rem;
    margin: 0;
}
.footer-menu li{
    list-style: none;
}

.items-list {
    list-style: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}
.items-list li {
    counter-increment: item;
    margin-bottom: 4.5rem;
    font-style: normal;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 25px;
    color: rgba(var(--bs-primary-rgb), 1);
    position: relative;
    margin-left: 40px;
}
.items-list li:before {
    position: absolute;
    left: -50px;
    top: 10px;
    content: counter(item);
    background: rgb(var(--bs-secondary-rgb));
    border-radius: 100%;
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    display: inline-block;
    padding: 3px;
}

.wizard-divider{
    border-top: 2px solid rgb(var(--bs-secondary-rgb)) !important;
}

.select-wizard .form-check{
    display: block;
}
.select-wizard .input-select{
    display: none;
}
.select-wizard .input-select+label{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: rgba(var(--wizard-input-bg), 1);
    width: 100%;
    color: rgb(var(--bs-primary-rgb));
    text-align: center;
    cursor: pointer;
    border-radius: 7px;
    justify-content: center;
    transition: background-color .3s ease;
}

.select-wizard .input-select:checked+label{
    background-color: rgba(var(--bs-secondary-rgb), 1);
}

.select-wizard.full-height{
    height: 100%;
}
.select-wizard.full-height .input-select+label{
    height: 100%;
}
.select-wizard.full-height .form-check{
    height: 100%;
}

.selection-area-card{
    background-color: rgba(var(--wizard-input-bg), 1);
    border-radius: 7px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.selection-area-card{
    padding: 2rem;
    min-height: 90%;
    
}
.selection-area-card > span{
    color: rgb(var(--bs-primary-rgb));
    text-align: center;
    display: block;
    margin-bottom: 1rem;
}
.wizard-checkbox{
    background-color: transparent;
    border:  2px solid rgb(var(--bs-primary-rgb));
}
.wizard-checkbox:checked{
    background-color: rgb(var(--bs-primary-rgb));
    border:  2px solid rgb(var(--bs-primary-rgb));
    
}
.wizard-checkbox:focus{
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb),.25);
    border:  2px solid rgb(var(--bs-primary-rgb));
}
.wizard-checkbox + label{
    color: rgb(var(--bs-primary-rgb));
}

.form-check-input.input-select{
    display: none;
}

.form-check-input.input-select + label{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: rgba(var(--wizard-input-bg), 1);
    width: 100%;
    color: rgb(var(--bs-primary-rgb));
    text-align: center;
    cursor: pointer;
    border-radius: 7px;
    justify-content: center;
    transition: background-color .3s ease;
}

.form-check-input.input-select:checked + label{
    background-color: rgba(var(--bs-secondary-rgb), 1);
}

.input-select.input-select-light:checked + label{
    background-color: #F5E1C3;
}

.cdfi-selection-card{
    display: grid;
    /*grid-template-columns: 120px 2fr 1fr;*/
    padding: 1rem;
    gap: 2rem;
}

.best-match-container > div {
    font-size: 1.5rem; 
}

.cdfi-selection-card .more-info{
    display: inline-block;
    background-color: #B3B9DB;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 7px;
}


.input-select-full-height + label{
    height: 100%;
}

.company-location-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.company-location-grid .form-check{
    height: 100%;
}

.company-location-grid .form-check{
    margin: 0;
    padding: 0;
}

.backoffice{
    display: block;
    /*grid-template-columns: 280px 1fr;*/
}

.backoffice .backoffice-nav{
    background-color: rgb(var(--bs-primary-rgb)) ;
    min-height: 100svh;
    position: absolute;
    z-index: 100;
    width: 100vw;
    transform: translateX(-100%);
    transition: transform .2s ease-in-out;
}

.backoffice .backoffice-nav.show{
    transform: translateX(0%);
}

.backoffice .backoffice-nav .navbar-brand{
}

.backoffice .backoffice-nav .main-navbar-side{
    padding-inline: 1.5rem;
}

.backoffice .backoffice-nav .main-navbar-side .nav-item{
    font-size: 1.2rem;
    font-weight: 200;
    
}

.backoffice .backoffice-nav .main-navbar-side .nav-item.active{
    font-weight: 500;
}


.backoffice .backoffice-nav .main-navbar-side .nav-item.mkeboss-menu-item-special{
    background: rgb(var(--bs-secondary-rgb)) !important;
    padding: 0.1rem 1rem;
    border-radius: 100px;
    margin-top: 50%;
    font-weight: 500;
    text-align: center;
}

.backoffice .backoffice-nav .main-navbar-side .nav-item.mkeboss-menu-item-special a{
    color: rgb(var(--bs-primary-rgb)) !important;
}


.backoffice .btn-link,
.backoffice a{
    color: rgb(var(--bs-primary-rgb)) !important;
}

.backoffice span select{
    border: none;
}

.backoffice-table{
    /*border: 10px solid black;*/
    height: 1px;
}
.backoffice-table th {
    white-space: nowrap !important;
}
.backoffice-table thead th{
    padding: 1rem 0.6rem;
    font-weight: 500;
}

.backoffice-table tbody tr td{
    padding: 0.3rem 0.3rem;
}

.backoffice-table tbody tr td span{
    display: flex;
    padding: 1rem 0.6rem;
    background-color: white;
    border-radius: 7px;
    height: 100%;
    justify-content: center;
    flex-direction: column;
}

.backoffice-table tr td span .form-control{
    background-color: transparent;
    border: none;
}

.service-table th{
    font-weight: 500;
}
.service-table tr:nth-child(odd){
    background-color: #E7EAF4;
}
.service-table .form-check.form-switch .form-check-input{
    border: none;
    padding: 12px;
    width: 50px;
    background-color: #CDD0E3;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(156,156,189,1)'/%3e%3c/svg%3e") !important;
}
.service-table .form-check.form-switch .form-check-input:checked{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba(25,25,105,1)'/%3e%3c/svg%3e") !important;
    background-color: white;
}

.refer-client-modal .modal-header{
    border-bottom: none;
    padding: 2rem 4rem;
    color: rgb(var(--bs-primary-rgb));
}

.refer-client-modal  .modal-body{
    padding: 0rem 4rem;
    color: rgb(var(--bs-alternative-rgb));
}

.refer-client-modal  .modal-body select{
    background-color: rgb(var(--wizard-input-bg));
    color: rgb(var(--bs-alternative-rgb));
}
.refer-client-modal  .modal-body input{
    border: 1px solid rgb(var(--wizard-input-bg));
    color: rgb(var(--bs-alternative-rgb));
}
.refer-client-modal .modal-body textarea{
    color: rgb(var(--bs-alternative-rgb));
    border: 1px solid rgb(var(--wizard-input-bg));
    height: 140px;
}

.refer-client-modal .modal-body span{
    font-size: 0.9rem;
}

.refer-client-modal .modal-footer{
    border: none;
    padding-inline: 4rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.client-info-modal .modal-header{
    border-bottom: none;
    padding: 2rem 4rem;
    color: rgb(var(--bs-alternative-rgb));
}

.client-info-modal .modal-body{
    padding-inline: 4rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.client-info-modal .modal-title {
    font-size: 2rem;
}

.new-service-modal .modal-content{
    background-color: rgb(var(--wizard-bg))
}
.new-service-modal .modal-header{
    border-bottom: none;
    padding: 2rem 4rem;
    color: rgb(var(--bs-alternative-rgb));
}
.new-service-modal .modal-footer{
    border: none;
    padding-inline: 4rem;
    margin-top: 0;
    margin-bottom: 1rem;
}
.new-service-modal .btn{
    z-index: 1;
}


.loan-client-card{
    background-color: rgb(var(--bs-primary-rgb));
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    border-radius: 20px;
}
.loan-client-card span{
    margin-left: 1rem;
}

.education-client-card{
    background-color: rgba(67, 87,160, 0.1);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    margin-block: 0.6rem;
}

.options-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}
.options-grid .form-check-inline{
    padding: 0 !important; 
    margin: 0 !important;
}

.options-grid .form-check-inline label{
    padding-inline: 0!important;
    padding-block: 0.5rem!important;
}

.wizard-select label{
    color: rgb(var(--bs-alternative-rgb));
}
.wizard-select .form-select{
    background-color: rgba(var(--wizard-input-bg), 1);
    border-radius: 5px;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
}

.input-tooltip{
    position: relative;
}
.input-tooltip button{
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: -19px;
    left: 5px;
}

@media screen and (min-width: 768px){
    .backoffice{
        display: grid;
        grid-template-columns: 280px 1fr;
    }
    .backoffice .backoffice-nav{
        display: block;
        position: initial;
        width: initial;
        transform: initial;
    }
    .cdfi-selection-card{
        grid-template-columns: 120px 2fr 1fr;
        padding: 1rem;
        gap: 2rem;
    }
    .best-match-container > div {
        rotate: -90deg;
        font-size: 1.5rem;
        margin-left: -3rem
    }
    .company-location-grid{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
}
