﻿/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.my-component {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}

/*Data Grid*/
.cssi-data-grid-wrapper {
    white-space: nowrap;
}

    .cssi-data-grid-wrapper .table-responsive {
        border-left: 1px solid #373737;
        border-right: 1px solid #373737 ;
    }

.cssi-data-grid {
    border-left: none;
    border-right: none;
}

    .cssi-data-grid th:first-child, .cssi-data-grid td:first-child {
        border-left: none;
    }

    .cssi-data-grid th:last-child, .cssi-data-grid td:last-child {
        border-right: none;
    }

    .cssi-data-grid button {
        border: none;
        background: none;
        white-space: nowrap;
    }

.cssi-data-grid-wrapper button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cssi-data-grid .command-column {
    background: #262626; 
    position: sticky;
    right: 0;
    outline: 1px solid #373737; 
}

    .cssi-data-grid .command-column .d-flex:first-child {
        justify-content: end;
    }

.cssi-data-grid .min-width-column {
    width: 1px;
}

.cssi-data-grid .command-column-button {
    color:#FFFFFF
}

.cssi-data-grid-wrapper .command-column-button:hover {
    color: #2c7cac;
}

.cssi-data-grid .sortable-column:hover {
    cursor: pointer;
}

.cssi-data-grid .sortable-column i:not(.sorting) {
    color: #bbb;
}

.cssi-data-grid .sortable-column i.sorting {
    color: #3993CB;
}

.cssi-data-grid .column-filter-row:hover {
    background-color: #262626 !important;
}

.cssi-data-grid .cssi-data-grid-clickable-row {
    cursor: pointer;
}

.cssi-data-grid-wrapper .pagination-toolbar .btn-secondary:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cssi-data-grid-wrapper .cssi-multiselectdropdown {
    height: 31px;
}

.cssi-data-grid-wrapper .cssi-multiselectdropdown-control {
    font-size: 0.875rem !important;
    padding-bottom: 4px;
    padding-top: 4px;
    min-width: 124px;
}

.circle-wip {
    padding: 4px 6px;
    color: #e6cd28;
}

.circle-complete-transparent {
    padding: 3px;
    color: transparent;
}

.z-index-0 {
    z-index: 0 !important;
}

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

.cssi-data-grid .cell-icon-before-value {
    height: 1rem;
    margin-right: 5px;
    filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(180deg);
}

/*Form Stepper*/
.progressBar {
    z-index: 1;
}

    .progressBar li {
        list-style-type: none;
        float: left;
        position: relative;
        text-align: center;
        font-size:large;
    }

        .progressBar li.circle-0:before {
            content: "0"
        }

        .progressBar li.circle-1:before {
            content: "1"
        }

        .progressBar li.circle-2:before {
            content: "2"
        }

        .progressBar li.circle-3:before {
            content: "3"
        }

        .progressBar li.circle-4:before {
            content: "4"
        }

        .progressBar li.circle-5:before {
            content: "5"
        }

        .progressBar li.circle-6:before {
            content: "6"
        }

        .progressBar li.circle-7:before {
            content: "7"
        }

        .progressBar li.circle-8:before {
            content: "8"
        }

        .progressBar li.circle-9:before {
            content: "9"
        }

        .progressBar li.circle-exclamation:before {
            content: "!"
        }

        .progressBar li.circle-checkmark:before {
            content: '✔';
        }

        /* CSS class for a solid white circle around the step number */
        .progressBar li.active:before {
            border-color: #FFFFFF !important;
        }

        .progressBar li:before {
            line-height: 23px;
            border-radius: 50%;
            width: 26px;
            height: 26px;
            border: 1px solid #6288C5;
            display: block;
            text-align: center;
            margin: auto;
            background-color: #FFFFFF;
            color: white;
            font-weight: 600;
        }

        .progressBar li:after {
            width: 100%;
            height: 0.5px;
            content: '';
            position: absolute;
            top: 12px;
            left: 10%;
            z-index: -1;
        }

        .progressBar li:first-child:after {
            left: 50%;
            width: 70%;
        }

        .progressBar li:last-child:after {
            width: 40%;
        }

        .progressBar li.gray {
            color: #ffffff;
        }

            .progressBar li.gray:before {
                border-color: #6288C5; 
                background-color:#373737;
            }
            .progressBar li.gray:after {
                background-color: #6288C5; /* Gray connecting line for incomplete steps */
            }

    .progressBar .gray:after {
        background-color: #FFFFFF;
    }

    .progressBar li.active {
        color: #ffffff;
    }

        .progressBar li.active:before {
            border-color: #FFFFFF !important;
            background-color: #FFFFFF;
        }
        /* Ensure the connecting line regresses by removing the green color */
        .progressBar li.active:after {
            background-color: #FFFFFF;
        }

    .progressBar .active:after {
        background-color:#FFFFFF;
    }

    .progressBar li.success {
        color: #59BF98;
    }

        .progressBar li.success:before {
            border-color: #23A149;
            background-color: #23A149;
        }

    .progressBar .success:after {
        background-color: #59BF98; 
    }


    .progressBar li.error {
        color: #C91C1D;
    }

        .progressBar li.error:before {
            border-color: #C91C1D;
            background-color: #C91C1D;
        }

    .progressBar .error:after {
        background-color: #C91C1D;
    }

    .progressBar li.currentsuccess {
        color: #59BF98; 
    }

        .progressBar li.currentsuccess:before {
            border: 2px solid #23A149;
            background-color: #4C95C3;
        }

    .progressBar .currentsuccess:after {
        background-color: #59BF98; 
    }


    .progressBar li.currenterror {
        color: #C91C1D;
    }

        .progressBar li.currenterror:before {
            border: 2px solid #C91C1D;
            background-color: #4C95C3;
        }

    .progressBar .currenterror:after {
        background-color: #C91C1D;
    }


.fixed-stepper-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 950; /* Ensure it stays on top */
    margin-bottom: 50px; /* Adjust the value as needed to create the desired space */
}
    .buttonsbar-container {
        display: flex;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
        .buttonsbar-container::after {
            content: "";
            display: inline-block;
            width: 10px; /* Adjust the value as needed to create the desired gap */
        }

    /*Card*/
    .card {
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.05), 0 0 15px 0 rgba(0,0,0,0.025);
    }

    .card .card-header {
        background-color:#373737;
        color:#fff;
    }

.card-header h3 {
    font-weight: bold;
    color: rgb(5, 39, 103);
    font-size: 16px;
}

.card .card-header a {
    font-size: 0.7rem;
    color: #3993CB;
}

.card-body .nav {
    padding-left: 0.5rem;
}

.card-body li.nav-item a.nav-link {
    color: grey;
    font-weight: bold;
}

.card-body li.nav-item a.active-link {
    background-color: none;
    color: #3993CB;
    font-weight: bold;
    border-bottom: 3px solid #3993CB;
    border-radius: 0;
}

.card-body li.nav-item a.nav-link {
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .card-header {
        width: 50%
    }

    .card .card-header {
        width: 100%
    }

    .card-header h3 {
        font-size: 10px;
    }
}

@media (min-width: 768px) {
    .card-header {
        width: 70%;
    }

    .card .card-header {
        width: 100%;
    }

    .card-header h3 {
        font-size: 12px;
    }
}

/*Collapsible*/
.collapsible:hover {
    cursor: pointer;
}

.accordion-header {
    padding-top: 1rem;
    padding-right: 1.5rem !important;
    padding-bottom: 1rem;
    padding-left: 2rem;
    cursor: pointer;
    font-size: 1.25rem;
    margin-bottom: 0 !important;
    width: 100% !important;
    color: #FFF;
}

    .accordion-header .accordionIcon {
        float: right;
        font-size: 20px;
        width: 1.2em;
    }

    .accordion-header:not(.collapsed) .rotate-icon {
        transform: rotate(90deg);
    }

.accordion-expand-collapse a {
    cursor: pointer;
    color: #3993CB !important;
}

.accordion-header-content .form-group {
    margin-bottom: 0px !important;
}

    .accordion-header-content .form-group > label {
        display: none !important;
    }

/*Dynamic Search*/
.cssi-dynamicsearch {
    border: 1px solid #ced4da;
    border-radius: 5px;
    position: relative;
    width: 100%;
}

.cssi-dynamicsearch-controls {
    cursor: text;
    display: flex;
}

.cssi-dynamicsearch-input,
.cssi-dynamicsearch-selected {
    border: none;
    border-radius: 5px;
    flex: 1;
    max-width: 100%;
    padding: .5rem;
    background-color: #373737;
    color: #fff; 
}

.cssi-dynamicsearch-results {
    background: #393939;
    color:#FFF;
    border: 1px solid #ced4da;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    min-height: 2rem;
    max-height: 15rem;
    position: relative;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
}

.cssi-dynamicsearch-result,
.cssi-dynamicsearch-notfound {
    padding: 0.5rem;
}

    .cssi-dynamicsearch-result:hover {
        background-color: #59BF98;
        color: #121212;
        cursor: pointer;
    }

.cssi-dynamicsearch-input:focus {
    outline: none;
}

.cssi-dynamicsearch-clearbutton,
.cssi-dynamicsearch-dropdownbutton {
    box-sizing: border-box;
    color: #9B9B9B;
    background-color: #373737;
    float: right;
    padding: .5rem;
}

.cssi-dynamicsearch-dropdownbutton {
    border-left: 1px solid rgba(0, 0, 0, .125);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.cssi-dynamicsearch-clearbutton-disabled {
    color: #9B9B9B; 
    background-color:#373737;
    float: right;
    padding: .5rem;
}

    .cssi-dynamicsearch-clearbutton i,
    .cssi-dynamicsearch-clearbutton-disabled i,
    .cssi-dynamicsearch-dropdownbutton i {
        border-radius: 5px;
        padding-left: .25rem;
        padding-right: .25rem;
    }

.cssi-dynamicsearch-dropdownbutton i {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.cssi-dynamicsearch-clearbutton:hover,
.cssi-dynamicsearch-dropdownbutton:hover {
    background-color: #59BF98;
    color:#121212;
    cursor: pointer;
}

.hidden {
    display: none;
}

/*MultiSelect Dropdown*/
.cssi-multiselectdropdown {
    border: 1px solid #ced4da;
    border-radius: 5px;
    color: #FFFFFF;
    padding: 0;
    position: relative;
    font-size: 16px;
    width: 100%;
}

    .cssi-multiselectdropdown:hover {
        cursor: default;
    }

.cssi-multiselectdropdown-control,
.cssi-multiselectdropdown-control-disabled {
    max-width: 100%;
    padding-bottom: 0.375rem;
    padding-left: 0.75rem;
    padding-right: 0.25rem;
    padding-top: 0.375rem;
}

.cssi-multiselectdropdown-control-disabled {
    background-color: #dddddd;
}

.cssi-multiselectdropdown-control-placeholder {
    color: #999;
    display: inline-block;
}

.cssi-multiselectdropdown-control i {
    float: right;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.cssi-multiselectdropdown-results {
    background: #373737;
    border: 1px solid #ced4da;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    min-height: 2rem;
    max-height: 25rem;
    position: relative;
    overflow-y: auto;
    z-index: 10;
}

.cssi-multiselectdropdown-result,
.cssi-multiselectdropdown-result-showmore {
    display: block;
    padding: 0.25rem 0.5rem;
}

    .cssi-multiselectdropdown-result-showmore:hover {
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
    }

.cssi-multiselectdropdown-result-checkbox,
.cssi-multiselectdropdown-result-checkbox-selected {
    border-radius: 3px;
    font-size: 12px;
    margin-right: 0.5rem;
    padding-left: 0.15rem;
    padding-top: 0.15rem;
}

.cssi-multiselectdropdown-result-checkbox {
    border: 1px solid #ced4da;
}

.cssi-multiselectdropdown-result-checkbox-selected {
    background-color: #59BF98;
    border: 1px solid #59BF98; 
    color: #ffffff;
}

/*Toggle Button*/
.toggle {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.2rem;
    border-radius: 1rem;
    cursor: pointer;
    margin-bottom: 0;
    white-space: normal;
}

    .toggle input {
        display: none;
    }

    .toggle .slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 1rem;
        background-color: #ccc;
        transition: all 0.4s ease-in-out;
    }

        .toggle .slider::before {
            content: '';
            position: absolute;
            top: 0.2rem;
            left: 0.2rem;
            width: 0.7rem;
            height: 0.7rem;
            border-radius: 0.5rem;
            background-color: #fff;
            transition: all 0.4s ease-in-out;
        }

    .toggle input:checked + .slider {
        background-color: #3993CB;
    }

        .toggle input:checked + .slider::before {
            transform: translateX(1.8rem);
        }

    .toggle .labels {
        position: absolute;
        top: 0.07rem;
        left: 0;
        width: 100%;
        height: 100%;
        font-size: 0.8rem;
        font-family: sans-serif;
        transition: all 0.4s ease-in-out;
    }

        .toggle .labels::after {
            content: attr(data-off);
            position: absolute;
            right: 0.8rem;
            color: #4d4d4d;
            opacity: 1;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
            transition: all 0.4s ease-in-out;
        }

        .toggle .labels::before {
            content: attr(data-on);
            position: absolute;
            left: 0.4rem;
            color: #ffffff;
            opacity: 0;
            transition: all 0.4s ease-in-out;
        }

    .toggle input:checked ~ .labels::after {
        opacity: 0;
    }

    .toggle input:checked ~ .labels::before {
        opacity: 1;
    }

.application-icon {
    color: #2F66D5;
    font-size: 10.5px;
}

.rating-icon {
    color: forestgreen;
    font-size: 14.5px;
}

.iq-required-icon {
    color: #dc3545;
    font-size: 10px;
}

.fa-asterisk:before {
    content: "\f069";
}

.fa-dollar:before, .fa-usd:before {
    content: "\f155";
}

.iq-icon {
    margin-left: 5px;
}
/*Dropdown toggle*/

.dropdown-menu .dropdownitem:hover {
    background-color: #cfedff;
    color: #080808;
}

.dropdown-menu .dropdownitem {
    display: block;
    white-space: nowrap;
    min-height: 1.2em;
    padding: 4px 20px 4px;
    background-color: #fff;
    font-size: 0.95rem;
}

.dropdown-menu.cssi {
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 3px;
    border: 1px solid #ced4da;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/*Confirmation Modal*/
.modal-body-content {
    white-space: pre-wrap;
}

.modal-content {
    margin-top:60px;
}

.cssi-data-grid .cssi-data-grid-disable-row, .cssi-data-grid .cssi-data-grid-disable-row:hover {
    background-color: #dddddd;
    cursor: default;
    opacity: 0.75 !important;
}

    .cssi-data-grid .cssi-data-grid-disable-row .solid-background {
        opacity: 1 !important;
    }

.cssi-data-grid-disable-item {
    opacity: 0.5 !important;
}

.cssi-data-grid .cssi-data-grid-disable-row [type=button] {
    cursor: default;
}

.cursor-default {
    cursor: default;
}

.addressFormFieldsWithLegalDetails label {
    font-size: small;
    font-weight: bold;
}

/*Primary and Secondary Buttons*/
.content .btn {
    border-radius: 5px;
    font-size: 1em;
    margin: 2px;
}

.content .btn-primary {
    background-color: #3993CB;
    border-color: #3993CB;
}

.content .btn-secondary {
    background-color: #f8f9fb;
    border-color: #3993CB;
    color: #3993CB;
}

/*Primary and Secondary Buttons For Pagination*/
.content .btn-grid {
    border-radius: 5px;
    margin: 2px;
    border: none;
    font-size: 1.2em;
}

.content .btn-primary-grid {
    background-color: #3993CB;
    border-color: #3993CB;
}

.btn-primary-grid {
    color: #fff;
}

.content .btn-secondary-grid {
    background-color: inherit;
    color: #3993CB;
}

table.summary-item .summ-label {
    background-color: #262626; 
    color: #fff;
    font-weight: bold;
}

.summ-label {
    background-color: #262626; 
    color: black;
    font-weight: bold;
}
.button.btn.btn-primary.mb-3 {
    background-color: #F48459;
    border: 1px solid #F48459;
    color:#121212;
}
