:root,
[data-bs-theme=light] {
    color-scheme: light;
    --bs-card-header-background: linear-gradient(to bottom, rgba(255,255,255,1) 26%,rgba(255,255,255,0.95) 41%,rgba(204,204,204,0.74) 100%);
}

[data-bs-theme=dark] {
    color-scheme: dark;
    --bs-card-header-background: rgba(222, 226, 230, 0.03);
}

/*.card-header {
    background: linear-gradient(to bottom, rgba(255,255,255,1) 26%,rgba(255,255,255,0.95) 41%,rgba(204,204,204,0.74) 100%);
}*/

html {
    font-size: 14px;
}

a {
    text-decoration: none !important;
}

.btn-height {
    height: 36px;
}

.navbar {
    padding: 2px !important;
    background: linear-gradient(90deg, #8f1b1b 0%, #e12454 100%);
    /* border-color: #eee;
    border: 1px solid #eee;*/
}

.navbar-nav > li {
    position: relative;
    display: table-cell;
    border-left: 1px solid #ddd;
    float: none !important;
}

    .navbar-nav > li > a {
        color: white !important;
        font-size: 14px;
        padding: 5px 10px;
        padding-left: 1.3rem !important;
        padding-right: 1.3rem !important;
        font-weight: 500;
    }

.navbar-brand {
    color: white !important;
}

.nav-link {
    color: #1D2959 !important;
}

.btn-primary {
    background-color: #1D2959 !important;
    border: solid 1px #1D2959;
    color: white;
}

.card-body {
    padding: 5px !important;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
    display: block;
    padding: 20px 20px;
    background: #ededed;
    bottom: 0px !important;
    text-align: center;
    width: 100%;
}

    .footer p {
        display: inline-block;
        margin: 0;
        padding: 0;
        font-size: 14px;
        color: #000;
        font-weight: 600;
    }

    .footer a {
        display: inline-block;
        margin: 0;
        padding: 0;
        font-size: 14px;
        color: #000;
        font-weight: 600;
        float: right;
        text-decoration: none;
    }

        .footer a:hover {
            color: #bf0f2c;
        }

th {
    font-weight: 500 !important;
}

.header-right {
    display: inline-block;
    margin: 0;
    padding: 10px 2px;
    float: right;
}

.social-icons {
    display: table;
    margin: 0 0 10px;
    padding: 0;
    float: right;
}

    .social-icons a {
        display: inline-block;
        margin: 0 0 0 10px;
        padding: 7px;
        background: #ddd;
        width: 30px;
        height: 30px;
        text-align: center;
        border-radius: 100%;
        color: #3c3c3c !important;
    }

.search-container {
    float: right;
}

    .search-container input[type=text] {
        padding: 6px 20px;
        margin: 0;
        font-size: 15px;
        border: none;
        background: #eef1f7;
        border-radius: 20px 0 0 20px;
        outline: none;
        float: left;
        width: calc(100% - 36px);
    }

    .search-container button {
        float: right;
        padding: 6px 20px 6px 0px;
        margin: 0;
        background: #eef1f7;
        font-size: 15px;
        border: none;
        cursor: pointer;
        border-radius: 0 20px 20px 0;
        outline: none;
    }

.modal.right.fade.in .modal-dialog {
    right: 0 !important;
    transform: translateX(-50%);
}

.modal.right .modal-content {
    height: 100%;
    overflow: auto;
    border-radius: 0;
}

.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.right.fade.in .modal-dialog {
    transform: translateX(0%);
}

.modal.right.fade .modal-dialog {
    right: 0px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right .modal-header::after {
    content: "";
    display: inline-block;
}

.modal.right .close {
    text-shadow: none;
    opacity: 1;
    font-size: 26px
}

.modallinkbtn {
    cursor: pointer;
    float: right;
    font-weight: 500;
}

.text-right {
    text-align: right;
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

/*.row > * {
        margin-top: 0.4rem;
    }*/

.cards-section {
    display: block;
    margin: 0;
}

    .cards-section ul {
        display: inline-block;
        padding: 0 1px;
        width: 100%;
    }

        .cards-section ul li {
            display: inline-block;
            margin: 0;
            padding: 10px 10px;
        }

.block {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    height: 390px;
    border-top: 5px solid #00a0e3;
}

    .block h2 {
        display: block;
        margin: 0;
        padding: 10px 20px;
        font-size: 15px;
        color: #786C67;
        font-weight: 400;
        text-transform: uppercase;
        background: white;
        border-bottom: solid 1px #eee;
    }

.block-middle {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    min-height: 253px;
}


    .block-middle span {
        display: block;
        margin: 30px 0 20px;
        padding: 0;
        font-size: 18px;
        color: #786C67;
        font-weight: 400;
    }

.birthday {
    background: url(../img/Birthday_Banner_02.jpg) no-repeat center top;
    margin-top: -23px;
}

.birthday-text {
    width: 90%;
    margin: 24px auto 0 auto;
}

.icons-left {
    display: inline-block;
    margin: 0;
    padding: 0;
    float: left;
    position: absolute;
    left: 19px;
    top: 17px;
    z-index: 990;
}

    .icons-left a {
        display: table;
        margin: 3px 0;
        padding: 0;
    }

        .icons-left a img {
            width: auto !important;
            height: auto !important;
        }

            .icons-left a img:hover {
                border: solid 2px #dadada;
                border-radius: 100px;
            }

.bottom-block {
    display: block;
    margin: 0;
    padding: 17px 20px;
    border-top: 1px solid #eee;
    min-height: 105px;
}

    .bottom-block p {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 13px;
        color: #000000;
        line-height: 30px;
    }

    .bottom-block a {
        display: block;
        margin: 0;
        padding: 0;
        font-size: 14px;
        color: #c4122f;
        float: right;
        text-decoration: none;
    }

        .bottom-block a:hover {
            color: #000;
        }

.block-middle2 {
}

    .block-middle2 img {
        width: 100%;
        height: 253px;
        object-fit: cover;
    }

.btns a {
    display: inline-block;
    margin: 10px 10px;
    padding: 0;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    position: relative;
    background: rgb(217,39,64); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(217,39,64,1) 35%, rgba(146,0,0,1) 77%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(217,39,64,1) 35%,rgba(146,0,0,1) 77%); /* Chrome10-25,Safari5.1-6 */
    background: #eee; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.45);
}

    .btns a:after {
        content: '';
        display: inline-block;
        margin: 0;
        padding: 0;
        background: #fff;
        width: 4px;
        height: 100%;
        position: absolute;
        left: 8px;
        top: 0;
    }

    .btns a span {
        margin: 0;
        padding: 10px 10px 10px 20px;
        display: table-cell;
        vertical-align: middle;
        height: 69px;
        width: 182px;
        font-size: 16px;
        color: #3c3c3c;
    }

    .btns a:hover {
        opacity: 0.8;
    }

@media (min-width: 900px) {
    #TicketDetailsBody {
        min-width: 800px;
    }
}

.ck-editor__editable {
    min-height: 300px;
}

@media all and (min-width: 992px) {
    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}

.form-label {
    margin-bottom: .1rem;
}

.col-md-4, .col-md-3, .col-md-6, .col-md-12, .col-md-2 {
    margin-bottom: 5px;
}

.table > thead > tr > th {
    background: rgba(186, 231, 255, 0.34);
}

.callout {
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    background-color: #fff;
    border-left: 5px solid #e9ecef;
    margin-bottom: 1rem;
    padding: 1rem;
}

    .callout.callout-success {
        border-left-color: #1e7e34;
    }

    .callout.callout-danger {
        border-left-color: #bd2130;
    }

    .callout.callout-warning {
        border-left-color: #d39e00;
    }

    .callout.callout-info {
        border-left-color: #117a8b;
    }

.bg-facebook {
    background-color: #3B5997
}

.text-facebook {
    color: #3B5997
}

.bg-twiter {
    background-color: #42C0FB
}

.text-twiter {
    color: #42C0FB
}

.bg-dribble {
    background-color: #EC4A89
}

.text-dribble {
    color: #EC4A89
}

.bg-pinterest {
    background-color: #BF2131
}

.text-pinterest {
    color: #BF2131
}

.bg-youtube {
    background-color: #E0291D
}

.text-youtube {
    color: #E0291D
}

.bg-googleplus {
    background-color: #C73E2E
}

.text-googleplus {
    color: #C73E2E
}

.bg-instagram {
    background-color: #AA7C62
}

.text-instagram {
    color: #AA7C62
}

.bg-viber {
    background-color: #7B519D
}

.text-viber {
    color: #7B519D
}

.bg-amazon {
    background-color: #000
}

.text-amazon {
    color: #000
}

.bg-c-blue {
    background: -webkit-gradient(linear, left top, right top, from(#01a9ac), to(#01dbdf));
    background: linear-gradient(to right, #01a9ac, #01dbdf)
}

.bg-simple-c-blue {
    background: #01a9ac
}

.text-c-blue {
    color: #01a9ac
}

.bg-c-pink {
    background: -webkit-gradient(linear, left top, right top, from(#fe5d70), to(#fe909d));
    background: linear-gradient(to right, #fe5d70, #fe909d)
}

.bg-simple-c-pink {
    background: #fe5d70
}

.text-c-pink {
    color: #fe5d70
}

.bg-c-green {
    background: -webkit-gradient(linear, left top, right top, from(#0ac282), to(#0df3a3));
    background: linear-gradient(to right, #0ac282, #0df3a3)
}

.bg-simple-c-green {
    background: #0ac282
}

.text-c-green {
    color: #0ac282
}

.bg-c-yellow {
    background: -webkit-gradient(linear, left top, right top, from(#fe9365), to(#feb798));
    background: linear-gradient(to right, #fe9365, #feb798)
}

.bg-simple-c-yellow {
    background: #fe9365
}

.text-c-yellow {
    color: #fe9365
}

.bg-c-orenge {
    background: -webkit-gradient(linear, left top, right top, from(#FE8A7D), to(#feb8b0));
    background: linear-gradient(to right, #FE8A7D, #feb8b0)
}

.bg-simple-c-orenge {
    background: #FE8A7D
}

.text-c-orenge {
    color: #FE8A7D
}

.bg-c-lite-green {
    background: -webkit-gradient(linear, left top, right top, from(#01a9ac), to(#01dbdf));
    background: linear-gradient(to right, #01a9ac, #01dbdf)
}

.bg-simple-c-lite-green {
    background: #01a9ac
}

.text-c-lite-green {
    color: #01a9ac
}

.update-card {
    color: #fff
}

    .update-card .card-footer {
        background-color: transparent;
        border-top: 1px solid #fff
    }

.statustic-progress-card .progress {
    height: 5px
}

.user-radial-card {
    text-align: center
}

    .user-radial-card > div {
        margin: 0 auto;
        display: block
    }

        .user-radial-card > div img {
            -webkit-box-shadow: 0 0 0 10px #fff;
            box-shadow: 0 0 0 10px #fff
        }

    .user-radial-card p {
        margin-bottom: 0
    }

.user-card-full {
    overflow: hidden
}

    .user-card-full .user-profile {
        border-radius: 5px 0 0 5px
    }

    .user-card-full .social-link li {
        display: inline-block
    }

        .user-card-full .social-link li a {
            font-size: 20px;
            margin: 0 10px 0 0;
            -webkit-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out
        }

            .user-card-full .social-link li a i {
                color: #666
            }

                .user-card-full .social-link li a i.facebook:hover {
                    color: #3B5997
                }

                .user-card-full .social-link li a i.twitter:hover {
                    color: #42C0FB
                }

                .user-card-full .social-link li a i.instagram:hover {
                    color: #AA7C62
                }

                .user-card-full .social-link li a i.youtube:hover {
                    color: #E0291D
                }

.statustic-card .card-block {
    position: relative
}

    .statustic-card .card-block .progress {
        position: absolute;
        bottom: 0;
        width: 100%;
        left: 0;
        height: 5px;
        overflow: visible
    }

        .statustic-card .card-block .progress .progress-bar {
            position: relative
        }

            .statustic-card .card-block .progress .progress-bar:before {
                content: "";
                height: 5px;
                width: 5px;
                border-radius: 50%;
                position: absolute;
                right: 0;
                background: inherit
            }

            .statustic-card .card-block .progress .progress-bar.bg-c-blue:before {
                -webkit-animation: blue-blink-bar 0.5s linear infinite;
                animation: blue-blink-bar 0.5s linear infinite
            }

            .statustic-card .card-block .progress .progress-bar.bg-c-green:before {
                -webkit-animation: green-blink-bar 0.5s linear infinite;
                animation: green-blink-bar 0.5s linear infinite
            }

            .statustic-card .card-block .progress .progress-bar.bg-c-pink:before {
                -webkit-animation: pink-blink-bar 0.5s linear infinite;
                animation: pink-blink-bar 0.5s linear infinite
            }

            .statustic-card .card-block .progress .progress-bar.bg-c-yellow:before {
                -webkit-animation: yellow-blink-bar 0.5s linear infinite;
                animation: yellow-blink-bar 0.5s linear infinite
            }

.card-block {
    padding: 1.25rem;
}

#currentreportTotalLeads, #currentreportTotalSubscriber, #currentreportServiceRequests {
    height: 400px;
}

#ServiceRequestByServiceType, #ServiceRequestByCustomer, #ServiceRequestByLocation {
    height: 400px;
}

#WellnessCallsByAgent, #WellnessCallsByCustomer, #WellnessCallsDueByCustomer {
    height: 400px;
}

#GrossrevenueByLocation, #GrossrevenueBySalesChannel {
    height: 400px;
}

#VisitScheduleSummaryByClient, #VisitScheduleSummaryByCaregiver, #VisitScheduleSummaryByStatus {
    height: 400px;
}


/* Wrap text in the Notes column */
.wrap-text {
    max-width: 300px; /* Adjust based on your need */
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure header and body alignment */
.dataTables_scrollHeadInner {
    width: 100% !important;
}

.dataTables_scrollBody {
   min-height:400px !important;
}
table.dataTable td {
    white-space: normal !important;
    word-wrap: break-word;
    vertical-align: top;
}
.notes-flex {
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
}