.section-title p::after {
    position: absolute;
    display: block;
    width: 60px;
    height: 2px;
    background: #00708029;
    bottom: 0;
}

.view-more-links {
    font-size: 0.8rem;
    font-weight: 500;
    color: #00879b;
    cursor: pointer;
    margin-top: 6px;

    &:hover {
        color: #000;
    }
}

.list {
    position: relative;

    ul {
        padding-left: 0px;
        font-size: 0.9rem;
    }
}

.list h2 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.list ul {
    position: relative;
}

.list ul li {
    position: relative;
    left: 0;
    list-style: none;
    margin: 0px 0;
    border-left: 2px solid #00879b;
    transition: 0.5s ease-in-out;
    cursor: pointer;

}

.list ul li:hover {
    left: 10px;
    font-weight: 600;
}

.list ul li span {
    position: relative;
    padding: 8px;
    padding-left: 12px;
    display: inline-block;
    z-index: 1;
    transition: 0.5s;
}

.list ul li:hover span {
    color: #111;
}

.list ul li:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ebf7f9;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.5s;
}

.list ul li:hover:before {
    transform: scaleX(1);
}

input.search {
    i {
        padding-bottom: 0.60rem;

        &:before {
            font-family: "Font Awesome 5 Free";
            content: "\f06a";
        }
    }
}

.form-label-group {
    position: relative;
}

.form-label-group .form-control {
    padding-left: 2.5rem;
    /* Add padding to the left for the icon */
}

.form-label-group .fa-search {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    /* Set icon color */
}

.form-control-feedback {
    pointer-events: none;
    /* Prevent clicking on the icon */
}

body {
    word-spacing: 0.0625rem !important;
    scrollbar-color: #00879b #e0e0e0;
    scrollbar-width: thin;
    overflow: auto !important;
}

body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
}

h2,
.h2 {
    font-size: 1.5rem;
}

h4,
.h4 {
    font-size: 1.1rem;
}

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

a {
    color: blue;
    text-decoration: underline;
    background-color: transparent;

    &:hover {
        color: #000;
        text-decoration: underline;
    }
}

.a-blue {
    color: blue;
    text-decoration: underline;
    background-color: transparent;

    &:hover {
        color: #000;
        text-decoration: underline;
    }
}

.text-primary {
    color: #00879b !important;
}

.text-link {
    color: blue !important;
    text-decoration: underline !important;
}

.primary-message-text {
    font-weight: 500 !important;
    color: #00879b;
}

.screen-title {
    font-weight: 700 !important;
    color: #00879b;
    font-size: 24px !important;
}

.pageBtns {
    width: 50%;
    max-width: 10rem;
}

.btn-primary-mal,
.btn-default {
    color: #fff !important;
    background-color: #00879b !important;
    border-color: #00879b !important;
}

.btn-outline-primary {
    --bs-btn-color: #00879b;
    --bs-btn-border-color: #00879b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00879b;
    --bs-btn-hover-border-color: #00879b;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00879b;
    --bs-btn-active-border-color: #00879b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #00879b;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00879b;
    --bs-gradient: none;
}

.form-select:focus,
.form-check-input:focus,
.form-control:focus,
.btn-check:focus+.btn-primary-mal,
.btn-primary-mal:focus {
    border-color: #00879b !important;
    box-shadow: 0 0 0 0.15rem #00879b57;
}

ul.bullets {
    list-style: none;

    li::before {
        content: "\2022";
        color: #00879b !important;
        font-weight: 700;
        display: inline-block;
        width: 1.5em;
    }
}

ul.tick-mark {
    padding-left: 0px;
    margin-bottom: 0px;
    list-style: none;

    li {
        padding-bottom: 0.50rem;

        &:before {
            content: '✓';
            margin-right: 10px;
            color: #00879b;
        }
    }

    li.view-more-links {
        &:before {
            content: '';
        }
    }
}

ul.tick-mark.displayGrid,
ul.tick-mark-cross.displayGrid {
    display: grid;
    justify-content: center;
}

ul.tick-mark-cross {
    li {
        padding-bottom: 0.60rem;

        &:before {
            content: "\f00d";
            /* FontAwesome Unicode */
            font-family: FontAwesome;
            display: inline-block;
            margin-left: -1.3em;
            font-size: 16px;
            font-weight: 100;
        }
    }
}

ul.tick-mark-dash {
    li {
        padding-bottom: 0.60rem;

        &:before {
            content: "\f068";
            /* FontAwesome Unicode */
            font-family: FontAwesome;
            display: inline-block;
            margin-left: -1.3em;
            font-size: 16px;
            font-weight: 100;
        }
    }
}

.question-italic {
    font-style: italic;

    i {
        color: #00879b;
    }
}

.ans-p {
    padding-left: 1.2rem;
}

.required-mark {
    color: red;
}

.control-label {
    font-weight: 700;
}

.form-label {
    font-weight: 600;
}

.info-feedback {
    color: #8f6e25;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
}

.warning-feedback {
    color: #dc3545;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
}

.form-check-input:checked {
    background-color: #00879b !important;
    border-color: #00879b !important;
}

.form-check {
    margin-bottom: 0.30rem !important;
}

#summary {
    span {
        font-weight: bold;
        color: #00879b;
    }

    .form-group {
        margin-bottom: 0px;
    }
}


.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #f2f2f2;
    background-clip: border-box;
    border: 1px solid #40a58a;
    border-radius: 0.25rem;

    .card-header {
        padding: 0.6rem 1.25rem;
        margin-bottom: 0;
        background-color: #40a58a;
        border-bottom: 1px solid #40a58a;
    }

    .card-title {
        margin-bottom: 0;
        font-size: 1rem;
        color: #fff;
        font-family: inherit;
    }

    .card-body {
        word-wrap: break-word;
        background-color: #f2f2f2;
        background-clip: border-box;
        border-radius: 0.25rem;
    }

    border: 1px solid #40a58a !important;
    border-radius: 0.25rem;
}

.message-error {
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}

.accordion.theme1accordion {
    .accordion-item {
        margin-bottom: 15px;

        .accordion-body {
            padding: 0px !important;

            .accordion-sub-body {
                padding: 1.25rem;
            }
        }

        .accordion-button {
            padding: 0.6rem 1.25rem !important;
            color: #fff !important;
            background-color: #40a58a !important;

            &::after {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;

            }
        }
    }
}

.accordion.theme2accordion {
    .accordion-body {
        padding: 10px 20px;
        background-color: #fff;
    }

    .accordion-button:not(.collapsed) {
        background-color: #ebf7f9;
    }

    .accordion-button {
        padding: 10px;
        background-color: #ebf7f9;

        &:focus {
            box-shadow: none;
        }

        display: grid;
        grid-template-columns: 70% auto max-content;
        align-items: center;
        grid-gap: 10px;
    }

}

@media (min-width: 768px) {
    .text-md-right {
        text-align: right !important;
    }
}

.form-group {
    margin-bottom: 1rem;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-title {
    color: #212529;
}

.text-primary {
    color: #40a58a;
}

.text-blue {
    color: #283992 !important;

    :hover {
        text-decoration: underline !important;
    }
}

a {
    color: #000 !important;
    text-decoration: none !important;
    background-color: transparent !important;
    -webkit-text-decoration-skip: objects !important;
    cursor: pointer;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.text-bold {
    font-weight: bold;
}

.accordion-body {
    background: #F2F2F2;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.text-big {
    font-size: 2rem;
}

.txt-uppercase {
    text-transform: uppercase !important;
}

.col-max1 {
    padding: 2% 4% 1% 5% !important;
}

.jumbotron {
    padding: 2rem 1rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
}

.bg-green {
    background-color: #40a58a;
}

.border-green {
    border: 1px solid #40a58a;
}

.div-declined {
    margin: 0% 15%;
}

.error-block {
    border: 1px solid #00879b;
    padding: 70px;
    border-radius: 2%;
    box-shadow: 1px 1px 1px 1px #00879b;
}

.error-content {
    font-size: 24px;
}

.error-block i {
    color: #00879b;
}

.error-title {
    font-weight: 700 !important;
    color: #00879b;
    font-size: 40px;
}

.page-title {
    color: #00879b;
}

.btn-light {
    color: #00879b !important;
    font-weight: 500;
    background-color: #FFF !important;
    border-color: #00879b !important;

    &:hover {
        background-color: rgb(244 244 244) !important
    }
}

.icon-btn {
    padding: 0px;

    i {
        vertical-align: middle;
        font-size: 1.2rem;
    }

    text-decoration: none;
    font-weight: 500;
}

#ieTab {
    border-width: 2px;

    .nav-link {
        color: #212529;
    }


}

.truncate {
    white-space: nowrap;      /* Prevent text wrapping */
    overflow: hidden;         /* Hide overflow text */
    text-overflow: ellipsis;  /* Add ellipsis for overflow */
    max-width: 150px;         /* Set a fixed width to trigger truncation */
}

.list-message {
    white-space: nowrap;        /* Prevents wrapping to a new line */
    overflow: hidden;           /* Hides any overflow */
    text-overflow: ellipsis;    /* Adds "..." at the end of the visible text */
    max-width: 100%;            /* Restricts width to the container */
    display: block;             /* Ensures block-level formatting */
    font-size: 1rem !important;
    color: #000000;
    padding-bottom: 5px !important;
    font-weight: 400 !important;
}


.nav-link.active {

    border: 2px solid #00879b;
    background-color: #00879b !important;
    color: #FFF !important;
    
}

#ieTabContent.tab-content {
    min-height: calc(100vh - 20%);
    background-color: #00879b;
    border: 2px solid #00879b;

    section {
        background-color: #FFF;
        margin: 10px;
        padding: 8px 24px;
        border-radius: 20px;
    }
}

table#existing-income-payment-table {
    td {
        color: #bc6713;
        font-style: italic;
        background-color: #FFF;
    }

}



.has-search .form-control {
    padding-left: 2.375rem !important;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.675rem;
    text-align: center;
    pointer-events: none;
    color: #cbcfd3;
}

header .has-search .form-control-feedback {
    line-height: 2.375rem;
}

.invalid-feedback {
    display: block !important;
    font-size: 14px !important;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1450px;
    }
}

.card-section {
    border-radius: 13px;
    border-top: 3px solid #00879b;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
    margin-top: 20px;
}

.section-title {
    margin-top: -15px;
    color: #00879b;
    position: relative;
}

.section-title p {
    padding-bottom: 15px;
    margin-bottom: 0px;
    font-size: 1.4rem;
    font-weight: 600;

    small {
        font-size: 1rem;
        margin-top: 5px;
        float: right;

    }
}


.section-title.text-center p::after {
    left: calc(50% - 30px);
}

.form-control:disabled {
    background: var(--bs-secondary-bg) !important;
}

.icon-disabled {
    color: #e9ecef !important;
}

tfoot input {
    background: rgb(13 110 253 / 5%) !important;
}

.modal {

    /*From Right/Left */
    &.drawer {

        display: flex !important;

        pointer-events: none;

        * {
            pointer-events: none;
        }

        .modal-dialog {
            margin: 0px;
            display: flex;
            flex: auto;
            transform: translate(25%, 0);

            .modal-content {
                border: none;
                border-radius: 0px;

                .modal-body {
                    overflow: auto;
                }
            }

        }

        &.show {
            pointer-events: auto;

            * {
                pointer-events: auto;
            }

            .modal-dialog {
                transform: translate(0, 0);
            }
        }

        &.right-align {
            flex-direction: row-reverse;
        }

        &.left-align {
            &:not(.show) {
                .modal-dialog {
                    transform: translate(-25%, 0);
                }
            }
        }

    }


}

body.modal-open {
    padding-right: 0px !important;
}


.mtn-12 {
    margin-top: -12px;
}


.toast-success {
    background-color: #198754;
}



.form-control.is-valid,
.was-validated .form-control:valid {
    background-size: calc(0.55em + 0.375rem) calc(0.55em + 0.375rem);
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    background-size: 16px 12px, calc(0.55em + 0.375rem) calc(0.55em + 0.375rem);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-size: calc(0.55em + 0.375rem) calc(0.55em + 0.375rem);
}

.form-control:read-only {
    background: var(--bs-secondary-bg) !important;
}

.form-label-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label-group textarea.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
    width: 100%;
    resize: vertical; /* Optional: allows resizing vertically */
}

.form-label-group label {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0 5px;
    background-color: white;
    color: #aaa;
    transition: 0.2s ease all;
    pointer-events: none;
    transform: translateY(50%);
}

.form-label-group textarea:focus~label,
.form-label-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    color: #00879b;
    font-weight: bold;
    font-size: 0.85rem;
    transform: translateY(0);
    background-color: white !important;
}

.form-label-group textarea:focus {
    border-color: #00879b;
}


.form-label-group input.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.75rem 0.75rem;
    font-size: 1rem;
    width: 100%;
}

.form-label-group label {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0 5px;
    background-color: white;
    /* Same color as input background */
    color: #aaa;
    transition: 0.2s ease all;
    pointer-events: none;
    transform: translateY(50%);
    /* Start inside the input */
}

.form-label-group input:focus~label,
.form-label-group input:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    color: #00879b;
    font-weight: bold;
    /* Color for the label when active */
    font-size: 0.85rem;
    transform: translateY(0);
    /* Float above */
    background-color: white !important; 
    /* Optional, for outline effect */
}

.form-label-group input:focus {
    border-color: #00879b;
    /* Optional, change border color on focus */
}
.h1-colour {
    color: #00879b;
}

.list-group-item.active {
    background-color: #00879b !important;
    border-color: #00879b !important;
    color: white;
}

.list-name {
    font-size: 1rem !important;
    padding-top: 5px;
    font-weight: 400 !important;
}

.list-time {
    font-size: 0.9rem !important;
    color: #000000;
    padding-bottom: 0 !important;
}

.hover-row {
    transition: background-color 0.3s, border-left 0.2s;
	border-style: none none groove none; 
	border-color: #787878; 
	border-width: 1px;
    width:100%;
}

.hover-row:hover {
    background-color: #E8E8E8; 
    border-left: 5px solid;

    .list-name {
        color: #00879b;
    }
}

.hidden {
    display: none;
}

.highlight {
    background-color: #E6F7FF;
    color: white;
}

.hover-row-yellow {
    transition: background-color 0.3s, border-left 0.2s;
	border-style: none none groove none; 
	background-color: rgb(240, 241, 182); 
	border-width: 1px;
    width:100%;
}

.hover-row-yellow:hover {
    background-color: #E8E8E8; 
    border-left: 5px solid;

    .list-name {
        color: #00879b;
    }
}

.scroll-height {
    height: calc(100% - 10px)
}

.scrollable-section {
    overflow-y: auto;
    max-height: 35rem;
}

#search_results {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
}

#search_results li {
    padding: 8px;
    cursor: pointer;
}

#search_results li:hover {
    background-color: #f0f0f0;
}

.table-fixed {
    table-layout: fixed;
    width: 100%;
}

.message-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

td[onclick] {
    cursor: pointer;
}

.stats-summary {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: #00879b;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}
#_prompt_input[contenteditable="true"]:empty:before {
    content: attr(data-placeholder);
    color: #6c757d;
    pointer-events: none;
}

.email-editor-toolbar .btn {
    padding: 0.15rem 0.5rem;
    font-size: 0.85rem;
}

.hover-row.litigation-message {
    background-color: #fdeeee;
}

.hover-row.litigation-message:hover {
    background-color: #fbe0e0;
}
