.group-fw {
    border-top: 1px solid #C7C7C7;
    padding-top: 10px;
    margin-top: 10px;
}

.group-fw .fw-semibold {
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
    color: #000000;
}

.group-fw .fw-message {
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
    color: #979797;
}

.opacity-0 {
    opacity: 0;

}

.progress-bar.btn-bar:hover {
    /* puntero del raton en manito */
    filter: brightness(0.9);
    transition: 0.3s;
    cursor: pointer;
}

.progress-bar.btn-bar.active {
    /* puntero del raton en manito */
    filter: brightness(0.9);
    transition: 0.3s;
    cursor: pointer;
}

.element-progress-info {
    min-width: 100%;
}

.progress-info-group {
    min-height: 70px;
}

.font-small {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0px;

}

.paragraph-fw {
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0px;
    color: #979797;
}

.paragraph-fw.font-d {
    font-size: 70%;
}

.flex-container {
    display: flex;
    overflow-x: auto;
}

.flex-item {
    flex: 0 0 100px;
    margin: 5px;
}

p.progress-title {
    margin: 8px 8px 0px 0px;
    height: 35px;
    max-height: 35px;
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
}

.icon-bg-danger {
    svg {
        color: #FF5858;

        path {
            stroke: #FF5858;
        }
    }
}

.icon-bg-warning {
    svg {
        color: #FFB200;

        path {
            stroke: #FFB200;
        }
    }
}

.icon-bg-success {
    svg {
        color: #399F28;

        path {
            stroke: #399F28;
        }
    }
}

.icon-bg-disabled {
    svg {
        color: #97979776;

        path {
            stroke: #97979776;
        }
    }
}

.icon-bg-info {
    svg {
        color: #4FA4B5;

        path {
            stroke: #4FA4B5;
        }
    }
}

.progress-bar.danger {
    background-color: #FF5858;
}

.progress-bar.warning {
    background-color: #FFB200;
}

.progress-bar.success {
    background-color: #399F28;
}

.progress-bar.disabled {
    background-color: #97979776;
}

.progress-bar.info {
    background-color: #4FA4B5;
}

.progress-label {
    color: #979797;
    margin: 8px 8px 0px 0px;
    font-family: DM Sans;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;

}

.icon-size-medium svg {
    width: 25px;
    height: 25px;
}

.icon-size-small svg {
    width: 15px;
    height: 15px;
}

.component-header-item {
    text-decoration: none;
    color: black;
    width: 100%;
    font-size: 16px;
    font-family: "DM Sans";
    font-weight: 500;
    min-height: 40px;
    padding: 6px 15px;
    border-radius: 7px;
    background-color: rgba(var(--bs-secondary-rgb), .25);
    transition: background-color .2s;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;

    &.active {
        background-color: var(--bs-secondary);
        color: white;
    }

    &:hover {
        background-color: rgba(var(--bs-secondary-rgb), .5);
    }


    & .icon * {
        width: 20px !important;
        height: 20px !important;
        fill: black !important;
    }

    &.active .icon * {
        fill: white !important;
    }
}

.breadcrumb-item {
    text-decoration: none;
    color: #C7C7C7;
    font-family: "DM Sans", sans-serif !important;
    font-size: 22px !important;
    font-style: normal;
    font-weight: 500;

    &.active {
        color: black !important;
    }

    &::before {
        color: #C7C7C7 !important;
    }

    @media (max-width: 768px) {
        font-size: 16px !important;
    }
}

:root,
[data-bs-theme=light] {
    --bs-primary: #14486C !important;
    --bs-secondary: #4FA4B5;
    --bs-success: #399F28;
    --bs-info: #0dcaf0;
    --bs-warning: #FFB200;
    --bs-danger: #FF5858;
    --bs-light: #f8f9fa;
    --bs-dark: #232324;
    --bs-primary-rgb: 20, 72, 108 !important;
    --bs-secondary-rgb: 79, 164, 181;
    --bs-success-rgb: 57, 159, 40;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 178, 0;
    --bs-danger-rgb: 255, 88, 88;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 20, 72, 108;
    --bs-secondary-bg-subtle: #d3e8ec;
    --bs-success-bg-subtle: #E2FBD7;
    --bs-btn-bg: #14486C !important;
    --bs-btn-border-color: #14486C !important;
    --dt-row-selected: #d0dae2 !important;
}

.font-dmsans {
    font-family: "DM Sans", sans-serif !important;
}

.font-inter {
    font-family: "Inter", sans-serif !important;
}

.bg-opacity-50 {
    position: relative;
}

.bg-opacity-50::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    opacity: 0;
    z-index: -1;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding: 0 50px;
    }
}

.custom-date-input {
    border: none !important;
    background-color: transparent !important;
    /*padding: 0.3rem 1rem;*/
    border-radius: 5px;
    appearance: none;
    min-width: 200px;
    text-align: center;

    &:focus {
        outline: none;
    }
}

.daterangepicker td.today {
    background-color: #dcedf0 !important;
    color: black !important;
}

.daterangepicker td:hover {
    background-color: #f1f1f1 !important;
    color: black !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: black !important;
    color: white !important;
}

.daterangepicker td.in-range {
    background-color: black !important;
    color: white !important;
}


.daterangepicker td.start-date {
    background-color: black !important;
    color: white !important;
    border-radius: 10px 0px 0px 10px !important;
}

.daterangepicker td.end-date {
    background-color: black !important;
    color: white !important;
    border-radius: 0px 10px 10px 0px !important;
}

.daterangepicker td.active.start-date.active.end-date.available, td.off.available.today {
    background-color: #dcedf0 !important;
    color: black !important;
    border-radius: 0 !important;
}

.search-control {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    border-radius: 16px !important;
    transition: background-color .2s !important;
    padding: 0 10px !important;
    background-color: white !important;


    > svg {
        margin-right: 5px !important;
        color: rgb(0, 0, 0, .25) !important;
    }

    > input {
        border: none !important;
        background-color: transparent !important;
        width: 100% !important;
        height: 100% !important;
        font-size: 1rem !important;
        color: black !important;

        &:focus {
            outline: none !important;
        }
    }

    &:focus-within {
        box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.05) !important;
    }
}


.clear-button {
    background-color: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #C7C7C7 !important;
    font-size: 1rem !important;
    transition: color .2s !important;

    &.btn {
        min-width: 0 !important;
    }

    &:hover {
        color: #979797 !important;
    }
}

.table {
    leading-trim: both !important;
    text-edge: cap !important;
    font-family: "DM Sans", serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;

    > thead {
        > tr {
            > th {
                border: none !important;
                background-color: white !important;
                color: rgb(0, 0, 0, .25) !important;
                border-bottom: 1px solid #ded9d9 !important;
                padding: 10px !important;
            }
        }
    }

    > tbody {
        > tr {
            > td {
                background-color: white !important;
                color: black !important;
                border-bottom: 1px solid #f5f2f2 !important;
                padding: 0 !important;
                max-height: 40px !important;
                height: 40px !important;
                vertical-align: middle !important;
                padding-left: 10px !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                width: auto !important;
                max-width: 250px !important;
            }
        }
    }
}

.dt-column-title {
    font-weight: normal !important;
}

.pagination:not(.dt-paging .pagination) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: .5rem !important;
    padding-top: 20px;


    > li {
        > a {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 32px !important;
            height: 32px !important;
            border-radius: 12px !important;
            transition: background-color .2s !important;
            color: black;
            font-size: 14px !important;
        }
    }

    > li.active > a {
        background-color: var(--bs-secondary) !important;
        color: white !important;
        border: gray !important;
    }
}

.content-cards {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    overflow-y: hidden;
    overflow-x: auto;
    gap: 4px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;

    & .selected {
        /*width: 300px !important;*/
        transition: all .2s;
        z-index: 1;
    }


    & .card-icon * {
        width: 28px !important;
        height: 28px !important;
        fill: black;
    }

    & .card-icon-selected * {
        fill: white !important;
    }
}

.content-cards::-webkit-scrollbar {
    height: 4px !important;
}

.content-cards::-webkit-scrollbar-thumb {
    background: #e7e1e1;
    border-radius: 16px;
}

.content-cards::-webkit-scrollbar-thumb:hover {
    background: #d0caca !important;
}


.card:hover {
    filter: brightness(95%);
}

.dropdown-menu {
    height: auto;
    max-height: 450px !important;
    overflow-y: auto !important;
}

.dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #e7e1e1;
    border-radius: 16px;
}

.btn {
    min-width: 120px !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(var(--bs-primary-rgb));
    --bs-btn-border-color: rgba(var(--bs-primary-rgb));
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-active-border-color: rgba(var(--bs-primary-rgb), 0.8);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(var(--bs-primary-rgb), 0.5);
    --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb), 0.5);
}

form * {
    font-size: 14px !important;
}

.form-label {
    font-weight: 400 !important;
}

.hidden {
    display: none !important;
}

.summary-card {
    background-color: #d0dae2;
    border-radius: 0.5rem;
    /*max-width: 250px !important;*/
    /*width: 250px !important;*/
    padding: 1rem !important;
    transition: opacity 0.5s ease-in-out;

    .title {
        display: flex;
        font-size: 20px;
        font-weight: 700 !important;
        line-height: 26px;
    }

    .item {
        font-size: 14px;
        text-transform: capitalize;

        span {
            font-weight: 700 !important;
            line-height: 20px;
        }

        p {
            font-size: 16px;
            line-height: 18px;
        }
    }

    .item-button {
        width: 100%;

        button {
            width: 100%;
            text-align: start;
        }
    }
}

.cursor-pointer {
    cursor: pointer !important;
}

.flex-row-center {
    display: flex !important;
    align-items: center !important;
}

.flex-col-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.form-wrapper {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    background: #fff !important;
    border-radius: 5px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex !important;
    flex-direction: column !important;
}

.form-header {
    text-align: center !important;
    text-align: start !important;
    background-color: #FAFAFA !important;
    padding: 20px 30px !important;
}

.title {
    font-size: 14px;
    font-weight: 700 !important;

    > span {
        color: black !important;
    }

    &.active {
        color: #399F28 !important;
    }

    &.pending {
        color: #FFB200 !important;
    }

    &.closed {
        color: #FF5858 !important;
    }
}

.form-body {
    display: flex !important;
    flex-direction: column !important;

    gap: 1.5rem !important;

    .form-control {
        box-shadow: none !important;
        outline: none !important;
        background-color: #FAFAFA;
        border-color: #F1F1F1;

        &[disabled] {
            background-color: #F1F1F1;
            cursor: auto !important;
        }
    }

    .form-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
}

.badge {
    display: inline-block;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border-radius: 10px;
    margin: 5px;
}

.close-btn {
    margin-left: 10px;
    cursor: pointer;
}

.bg-light-blue {
    background-color: #d3e8ec;

    &.active {
        color: #fff !important;
        background-color: #4FA4B5 !important;

        svg * {
            fill: #fff !important;
        }
    }
}

.bg-light-yellow {
    background-color: #fff3cd;

    &.active {
        color: #000 !important;
        background-color: #ffcd39 !important;

        svg * {
            fill: #fff !important;
        }
    }
}

.bg-light-gray {
    background-color: #D0DAE2;

    &.active {
        color: #fff !important;
        background-color: rgb(20, 72, 108) !important;

        svg * {
            fill: #fff !important;
        }
    }
}

.bg-light-green {
    background-color: #E2FBD7;

    &.active {
        color: #fff !important;
        background-color: #399F28 !important;

        svg * {
            fill: #fff !important;
        }
    }
}

.bg-light-red {
    background-color: #FFD6D6;

    &.active {
        color: #fff !important;
        background-color: #FF5858 !important;

        svg * {
            fill: #fff !important;
        }
    }
}

.form-group-icon {
    .form-control-icon {
        right: 10px;
        top: 50%;
        pointer-events: none;
        transform: translateY(-50%);
        line-height: 0;

        svg {
            height: 16px;
        }
    }
}

.form-control {
    &::placeholder {
        color: #C7C7C7 !important;
    }
}

form {
    .input-file {
        [type=file] {
            display: none;
        }

        label {
            cursor: pointer;
            background-color: #F1F1F1;
            border: 2px dashed #FF5858;
            color: #FF5858;
            border-radius: 5px;
            padding: 3px 10px;

            .icon {
                svg {
                    height: 20px;
                    width: 20px;
                }
            }

            .icon-filled {
                display: none;
            }
        }

        &.filled {
            label {
                background-color: #399F28;
                border-color: #399F28;
                color: #fff;

                .icon {
                    display: none;

                    &.icon-filled {
                        display: inline-block;
                    }
                }
            }
        }
    }
}

.hidden {
    display: none !important;
}

.text-bold {
    font-weight: 700 !important;
}

.select2-selection__rendered {
    line-height: 1.6 !important;
}

.select2-selection {
    border-color: #dee2e6 !important;
    border-radius: 4px !important;
    height: 35px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;

    .select2-selection__arrow {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 10px !important;
    }
}

.select2-results__options {
    &::-webkit-scrollbar {
        width: 4px;
    }

    &::-webkit-scrollbar-thumb {
        background: #e7e1e1;
        border-radius: 16px;
    }

    &::-webkit-scrollbar-thumb:hover {
        background: #d0caca !important;
    }
}

.select2-results__option--highlighted {
    background-color: #dcedf0 !important;
    color: black !important;

    &[aria-selected=true] {
        background-color: #4FA4B5 !important;
        color: white !important;
    }
}

.select2-dropdown {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    border-color: #dee2e6 !important;
}

.form-action-group {
    display: flex !important;
    justify-content: end !important;
    gap: 1rem !important;

    > * {
        width: 125px !important;
    }

    > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        transition: all .2s;
    }

    .cancel {
        background-color: #D9D9D9 !important;

        &:hover {
            transform: scale(1.05);
            background-color: #C7C7C7 !important;
        }
    }

    .save {
        background-color: #14486C !important;
        color: #fff !important;
        transition: all .2s;

        &:hover {
            transform: scale(1.05);
            background-color: #0D3A54 !important;
        }
    }

    @media (max-width: 768px) {
        flex-direction: column !important;

        > * {
            width: 100% !important;
        }
    }
}

.errorlist {
    margin: 0 !important;
    padding: 0 !important;


    > li {
        list-style: none !important;
        color: red !important;

    }
}

.btn-blue {
    background-color: #0d6efd !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.air-datepicker {
    width: 372px;
    height: 428px;
    border-radius: 16px;
}

.dt-container .dt-empty-footer {
    display: none !important;
    width: 100% !important;
}


.call_type_selected, .filter_selected {
    background-color: var(--bs-secondary) !important;
    color: white !important;
}

.form-check {
    display: flex !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 10px !important;
    padding-left: 0 !important;

    .form-check-input {
        width: 20px !important;
        height: 20px !important;
        margin-left: 0 !important;
    }

    .form-check-label {
        font-size: 14px !important;
        font-weight: 400 !important;
        cursor: pointer !important;
    }
}

.comment-input {
    border: 0 !important;
    border-bottom: 1px solid #F1F1F1 !important;
    border-radius: 0 !important;
}

.btn-thirdy {
    background-color: #4FA4B5;
    color: #fff;
    font-family: DM Sans;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: center;
}

.btn-thirdy i {
    margin-left: 10px;
}


.comment-paragrahp {
    color: #232324;
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0px;
    text-align: left;

}

.comment-title {
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
}

.comment-datetime {
    font-family: DM Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
    color: #8C8C8C;
}

.select2-container {
    min-width: 100% !important;
}

.select2-container--default .select2-selection {
    background-color: #FAFAFA !important;
    border: 1px solid #F1F1F1 !important;
}

.timepicker {
    cursor: pointer !important;
}

.row {
    display: flex !important;

    @media (max-width: 768px) {
        gap: 1rem !important;
    }
}


.table > tbody tr.selected {
    > td {
        background-color: #d0dae2 !important;
    }
}

.badge {

    > span {
        font-size: 12px;
        font-weight: 700;
    }
}

.page_title {
    font-size: 18px !important;
    margin-top: 5px !important;
    margin-left: 10px !important;

    @media (min-width: 992px) {
        font-size: 22px !important;
    }
}

.overflow-x-hidden-m {
    @media (max-width: 768px) {
        overflow-y: hidden !important;
        overflow-x: auto !important;
    }
}

.badge-sm {
    padding: .35em .65em !important;
    font-size: .75em !important;
}

.custom-progress-wrapper {
    position: relative;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    height: 20px;
    overflow: hidden;
}

.form-check-label, .form-check-input{
    cursor: pointer !important;
}

.progress-bar-low {
    background-color: #dc3545;
}

.progress-bar-middle {
    background-color: #ffc107;
}

.progress-bar-high {
    background-color: #28a745;
}

.custom-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.loading {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    position: absolute;
    top: 36%;
    width: 100%;
}
