@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --bg-bar-color: var(--primary-color);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/*
.content {
    padding-top: 1.1rem;
}*/

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TD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3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.required::after {
    content: "*";
    color: red;
}

.ondisplay-none {
    display: none !important;
}

.ondisplay-block {
    display: block !important;
}

.ul-overflow-scroll {
    width: 100%;
    max-height: 200px;
    overflow-y: scroll;
}

    .ul-overflow-scroll li input[type=checkbox].form-check-input:checked + .form-check-label {
        font-weight: 400 !important;
    }

.digit {
    color: grey;
    font-size: 12px;
}

.overlapschemeb .autocomplete {
    width: 100% !important;
}


@media screen and (min-width: 992px) {
    .overlapschemeb .autocomplete {
        max-width: 75% !important;
    }
}

.table tbody tr td .utr > li > a.u {
    border-color: var(--u-tr-color) !important;
    background-color: var(--u-color-new) !important;
}

.table .u tbody td {
    background-color: var(--u-tr-color) !important;
}


.table tbody tr td .utr > li > a.r {
    border-color: var(--u-tr-color) !important;
    background-color: var(--r-color-new) !important;
}

.table .r tbody td {
    background-color: var(--r-tr-color) !important;
}

.table tbody tr td .utr > li > a.t {
    border-color: var(--t-tr-color) !important;
    background-color: var(--t-color-new) !important;
}

.table .t tbody td {
    background-color: var(--t-tr-color) !important;
}

.table .u thead th {
    background-color: var(--u-color-new) !important;
}

.table .r thead th {
    background-color: var(--r-color-new) !important;
}

.table .t thead th {
    background-color: var(--t-color-new) !important;
}
/*
.fund-explore {
    position: fixed;
    right: 0;
    top: 41%;
    -webkit-transform: rotate(-90deg) translate(50%);
    transform: rotate(-90deg) translate(50%);
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    display: none;
    gap: .5rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

@media screen and (min-width: 768px) {
    .fund-explore {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
}
*/
div:has(.adminchart) {
    width: 100% !important;
}

.adminchart{
    width :100% !important;
}

div > .admindoughnutchart {
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.admindoughnutchart {
    width: 100% !important;
}

.button-container {
    gap: 1rem; 
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fund-explore, .fund-search {
    display: none;
    gap: 0.5rem;
    transform: rotate(-90deg);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

@media screen and (min-width: 140px) {
    .button-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }

    .fund-explore, .fund-search {
        transform: rotate(-90deg);
        gap: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

.checkbox-container1::-webkit-scrollbar {
    width: 8px;
}



.checkbox-container1::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}



    .checkbox-container1::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
.checkbox-container1 {
 /*max-height: 200px;*/
max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
    border: 1px solid #ccc;
    margin-top: 5px;
}

    .checkbox-container1 input[type="checkbox"] {
       margin-right: 5px;
    }


.ui-multiselect-filter {
    float: none !important;
    display: block;
    margin-bottom: 10px;
    margin-right: 0 !important;
    position: relative;
}

    .ui-multiselect-filter:before {
        position: absolute;
        top: 21px;
        left: 8px;
        font-size: 12px;
        content: "\f002";
        font-family: 'FontAwesome';
    }

    .ui-multiselect-filter input {
        width: 100% !important;
        border-radius: 5px;
        border: 1px solid var(--menu-top-border) !important;
        height: 30px !important;
        padding: 0 10px 0 25px !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        font-weight: normal;
    }
.bg-equity {
    background: url('../assets/images/EquityBG.png') no-repeat;
    background-size: cover;
    background-position: 50% 10%;
}
.g-col-auto {
    grid-template-columns: repeat(auto-fit, minmax(min(var(--bs-grid-size), 100%), 1fr)) !important;
}
.g-col-px250 {
    --bs-grid-size: 250px;
}

.gap-2 {
    gap: .5rem !important;
}
.client-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-radius: 12px;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
    .client-info .info-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        color: #6c757d;
    }
        .client-info .info-item span {
            font-weight: bold;
            color: #333;
        }
    .client-info .divider {
        height: 15px;
        width: 1px;
        background: #ddd;
        margin: 0 12px;
    }
.g-col-px200 {
    --bs-grid-size: 200px;
}
.g-col-px150 {
    --bs-grid-size: 150px;
}
.bbSolid {
  border-bottom:solid 1px var(--bs-border-color) !important;
}

.table tbody tr td table tr:last-child td {
    border-bottom: 0 !important;
}
.td-box {
    height: 15px;
    width: 15px;
    background-color: #888ada;
    border-radius: 2px;
}
/*
.custom-checkbox {
 width: 24px;
 height: 24px;
 border: 2px solid #ccc;
 border-radius: 4px;
 display: inline-block;
 cursor: pointer;
 position: relative;
}



.checkbox-icon {
 width: 100%;
 height: 100%;
 background-color: white;
 position: absolute;
 top: 0;
 left: 0;
 border-radius: 4px;
}
 */

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}



.checkbox-icon {
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}



    .checkbox-icon.checked {
        background-color: #007bff; /* Change to any color when checked */
        border-color: #007bff;
    }



        .checkbox-icon.checked:after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 6px;
            height: 6px;
            background-color: white;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

/* Apply flexbox to the container */
.icon-container {
    display: flex; /* Enable flexbox */
    align-items: center; /* Center content vertically */
    justify-content: flex-start; /* Align content to the left (horizontally) */
    height: 100%; /* Ensure div takes up the full height of the <td> */
}

.bulkorder-status {
    display: flex; /* Enable flexbox */
    align-items: center; /* Center content vertically */
    justify-content: flex-start; /* Align content to the left (horizontally) */
    padding: 0.5rem;
    margin: 0.5rem;
}
/*.custom-checkbox {
 width: 24px;
 height: 24px;
 border: 2px solid #ccc;
 border-radius: 4px;
 display: inline-block;
 position: relative;
}



.checkbox-icon {
 width: 100%;
 height: 100%;
 background-color: white;
 position: absolute;
 top: 0;
 left: 0;
 border-radius: 4px;
}



    .checkbox-icon.checked {
     background-color: #007bff;*/ /* Checkbox color when checked */
/*border-color: #007bff;
    }



        .checkbox-icon.checked:after {
         content: "";
         position: absolute;
         top: 50%;
         left: 50%;
         width: 6px;
         height: 6px;
         background-color: white;
         border-radius: 50%;
         transform: translate(-50%, -50%);
        }*/



/*--------------------------------------------------CAS First ------------------------------------------------*/

* {
    box-sizing: border-box;
}

.casfirst-body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 20px;
    background: #f5f5f5;
}

.casfirst-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.casfirst-box {
    background: white;
    border-radius: 30px;
    padding: 20px;
    flex: 1 1 30%;
    min-width: 300px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    position: relative;
}

    .casfirst-box h2 {
        font-size: 14px;
        font-variant: small-caps;
        font-weight: 700;
        margin-bottom: 10px;
    }

.casfirst-label {
    font-size: 14px;
    font-weight: 400;
    font-variant: small-caps;
    margin: 12px 0 4px;
}

.casfirst-input {
    background: #D9D9D9;
    height: 50px;
    border: none;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

.casfirst-button {
    margin-top: 20px;
    background: #D9D9D9;
    border: none;
    height: 47px;
    width: 125px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 4px 4px #FFFEFE;
}

.casfirst-toggle-container {
    position: relative;
    width: 173px;
    height: 38.59px;
    background: #4426C9;
    border-radius: 100px;
    box-shadow: inset 0px 3px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 20px 0;
}

.casfirst-toggle-button {
    position: absolute;
    width: 86.24px;
    height: 38.59px;
    border-radius: 100px;
    background: linear-gradient(0deg, #EFF4F9, #EFF4F9);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.35);
    transition: left 0.3s ease;
    left: 0;
}

.casfirst-toggle-label {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: white;
    z-index: 1;
    text-shadow: 0px 0px 3px rgba(0,0,0,0.4);
}

    .casfirst-toggle-label.active {
        color: #150101;
    }

.casfirst-arrow {
    width: 52px;
    height: 0px;
    border: 4px solid #000000;
    transform: rotate(179.54deg);
    margin: 10px auto;
}

.casfirst-status-box {
    background: #fff;
    border: 1px solid #C4BBBB;
    border-radius: 33px;
    margin-top: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.casfirst-status-line {
    font-size: 14px;
    font-weight: 700;
    font-variant: small-caps;
    color: #6B1ED8;
    line-height: 1.4;
}

.casfirst-start-button {
    align-self: flex-end;
    background: #D9D9D9;
    height: 47px;
    width: 125px;
    font-weight: 700;
    margin-top: 10px;
    box-shadow: 0px 4px 4px #FFFEFE;
}

@media (max-width: 900px) {
    .casfirst-container {
        flex-direction: column;
    }
}
