/* .case-response-successful,
.case-response-declined {
    padding: 15px;
}
:is(.case-response-successful, .case-response-declined) .success-img {
    margin: 10px 0px;
}
.case-response-successful p,
p.case-error {
    padding: 5px 0px;
    font-size: 20px;
}
p.case-sorry {
    font-size: 16px;
    padding: 5px 0px;
}
:is(.case-title, .language, .case-loc, .fee-to-accept, .practice-area, .referral-relation, details, .lead-name, .lead-phone, .lead-email, .details)
    > label {
    margin-bottom: 5px;
    display: block;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: left;
} */
.registration-form {
    top: 65px;

}

.d-flex-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.h-38-pixel {
    height: 38px;
}

.cursor-pointer {
    cursor: pointer;
}

.d-none {
    display: none;
}

.reset-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background: #1c3140;
    color: white;
    border-radius: 6px;
    height: 38px;
    /* font-size: 16px; */
    font-weight: 600;
}

.success_response_btn {
    width: 144px;
    color: white;
    background-color: #1c3140;
    padding-block: 9px;
    border-radius: 6px;
    font-weight: 600;
}

.case-link-img {
    height: 21px;
    margin-left: 18px;
}

.enable-auth-litbox-btns-custom {
    margin-top: 15px;
}

#txtPassword-error,
#inputConfirmPassword-error,
#account_password-error,
.error-link {
    display: block;
}

.pb-0 {
    padding: 0px;
}

.object-fit-cover {
    -o-object-fit: cover;
       object-fit: cover;
}

.object-fit-contain {
    -o-object-fit: contain;
       object-fit: contain;
}

.w-95-percent {
    width: 95% !important;
}

.w-5-percent {
    width: 5%;
}

.m-auto {
    margin: auto;
}

.position-relative {
    position: relative;
}

.eye_open,
.eye_close {
    position: absolute;
    top: 54%;
    right: 2%;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.forget-pswd input[type='password'] {
    color: #5e5858;
    font-size: 12px;
    font-weight: 500;
}

.forget-pswd .input_text {
    background: #f8f8f8;
    border: 1px solid #f3f3f3;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
    border-radius: 6px;
    height: 40px;
    font-family: "Inter";
    letter-spacing: 0em;
    text-align: left;
    color: #5e5858;
    font-size: 12px;
    font-weight: 500;
}

.border-danger {
    border: 1px solid red !important;
}

.text-danger {
    color: red !important;
}

.position-fixed {
    position: fixed;
}

.w-100 {
    width: 100% !important;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.customize-dropzone {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
}

.fee-agreement__drag-drop {
    border: 2px dashed #585050 !important;
    border-radius: 6px !important;
    justify-content: left;
}

.dropzone .dz-message .dz-button {
    color: #1C3140 !important;
}

.ofdet_row_margins .dropzone .dz-message {
    width: 100%;
}

.owner_attachment dropzone .dz-message {
    width: 0;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.align-items-start {
    align-items: flex-start;
}

.my-5px {
    margin: 5px 0px;
}

.max-w-160px {
    max-width: 160px;
}

.case-list__drop-down li>p {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
    display: inline-block;
    max-width: 124px;
    width: 100%;
}

.case-list__drop-down li>span {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
    display: inline-block;
    max-width: 124px;
    width: 100%;
}

.filter-by .border-6b7280 input[type="checkbox"] {
    border: 1px solid #6b7280;
}

.bg-danger {
    background-color: red !important;
}

.custom_practice_area_listing_text {
    display: inline-block;
    vertical-align: top;
    max-width: 300px;
}

.dis-none {
    display: none;
}

.w-160px {
    width: 160px;
}

.header .profile-options .user-profile-picture {
    height: 32px;
    width: 32px;
}

.py-8-px-40 {
    padding: 8px 40px !important;
}

.logout-form {
    top: 85%;
    right: 2%;
}

.dropdown-check-list ul.items li {
    display: flex;
    align-items: center;
}

.case-applying__details p,
.success_referred__fee-agreement p {
    width: 100%;
    word-wrap: break-word;
    text-align: justify;
}

.case_response_html p{
    width: 100%;
    word-wrap: break-word;
    text-align: justify;
}

.text-justify {
    text-align: justify !important;
}

.custom_view_message {
    color: #5b8dd7;
}

.custom_view_message:hover {
    text-decoration: underline;
}

.custom_attachment_preview {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 150px;
    left: 5%;
    border: 2px solid gainsboro;
    border-radius: 5px;
}


.custom_attachment_preview .preview {
    width: 80px;
    height: 40px;
    border-radius: 3px;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
}

.custom_attachment_preview span.remove_icon {
    position: absolute;
    right: 0%;
    top: 0;
}

.custom_attachment_preview span img {
    height: 13px;
    width: 13px;
    background-color: #d7d7d7;
    border-radius: 7px;
}

span.document_preview img {
    background-color: transparent;
}

.document_container {
    display: flex;
    align-items: center;
}

.document_container img {
    margin-right: 5px;
}

.document_container span {
    word-break: break-word;
}

article.msg__clip {
    max-width: 233px;
}

.video_preview {
    width: 276px;
    height: 287px;
    border-radius: 6px;
}

button.send_messag_btn_custom:disabled,
button.send_messag_btn_custom[disabled],
button.submit_initiate_btn_custom:disabled,
button.submit_initiate_btn_custom[disabled] {
    background-color: #adadad;
    transform: unset;
    box-shadow: none;
    cursor: default;
}

.msg-box__footer,
.body__msg-box {
    position: relative;
}

.body__msg-box .custom_attachment_preview {
    left: 10px;
    bottom: 67px;
    z-index: 1;
}

.font-weight-600 {
    font-weight: 600 !important;
}

.lead-details__details p,
.client-info-shared>p,
.client-info-shared>span {
    word-wrap: break-word;
}

.leads .chat__leads .active {
    background-color: #f2f5fa;
}

.inbox__leads-list h2 .red-alert {
    height: 8px;
    width: 8px;
    background-color: #ef0f1c;
    border-radius: 100%;
    position: relative;
    bottom: 4px;
    display: inline-block;
}

.leads .chat__leads-text .red-alert {
    height: 8px;
    width: 8px;
    background-color: #ef0f1c;
    border-radius: 100%;
}

.about-lead .lead-details-lists__single {
    align-items: center;
}

.about-lead .select-attorney {
    margin-top: 0px;
    letter-spacing: 0.5px;
    padding: 10px;
}

.inbox__msg-box {
    margin-block: 8px;
    margin-left: 4px;
}

.inbox__msg-list {
    height: auto;
}

button.submit-case {
    padding-inline: 20px;
}

.more_les_lead_detail_custom {
    color: #5b8dd7;
}

.more_les_lead_detail_custom:hover {
    text-decoration: underline;
}

.lead-details__details_custom {
    /* height: 200px; */
}

span.document_preview img {
    width: 25px;
    height: 25px;
    display: inline-block;
}

.message_link .red-alert,
.pending_contracts .red-alert,
.active_contracts .red-alert,
.decline_contracts .red-alert,
.expired_contracts .red-alert,
.lead_listing_mobile .red-alert,
.completed_contracts .red-alert,
.contracts_link .red-alert {
    height: 8px;
    width: 8px;
    background-color: #ef0f1c;
    border-radius: 100%;
    position: relative;
    bottom: 3px;
}

.bg-F2F5FA {
    background-color: #F2F5FA;
}

/* .lead_listing_mobile .red-alert {
    top: 33px;
    right: -360px;
} */

.pending_contracts .red-alert,
.active_contracts .red-alert,
.decline_contracts .red-alert,
.expired_contracts .red-alert,
.completed_contracts .red-alert {
    top: 8px;
    margin-right: 5px;
}

.d-inline-block {
    display: inline-block;
}

.d-block {
    display: block;
}

article.msg__clip {
    right: 1.5rem;
    border: 1px solid #2320232b;
}

.less_msg_detail {
    font-size: 12px;
}

.more_msg_detail {
    font-size: 12px;
}

.responses-details>p {
    height: 45.18px;
}

.msg__lead-profile-pic>img {
    -o-object-fit: cover;
       object-fit: cover;
}

.inbox__user-inactive {
    height: 9px;
    width: 9px;
    background-color: red;
    border-radius: 100%;
    margin-left: 7px;
}

.profile-body {
    min-height: unset;
}

.profile-body main {
    max-height: unset;
    overflow-y: unset;
}

.profile-options .arrow-up {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    top: -10px;
    right: 20px;
}

.profile-options article.profile_clip_toggle {
    right: 0.5%;
    width: 18rem;
    border: 1px solid #d8dbdd;
    padding: 10px 20px 10px 20px;
    background-color: #ffffff;
    box-shadow: 0px 2px 2px rgb(194 201 206);
    border-radius: 12px;
    position: absolute;
    top: 3.6rem;
    transition: all 0.5s;
    max-width: 18rem;
}

.profile-options article.profile_clip_toggle a {
    display: flex;
    align-items: center;
    margin: 5px;
}

.profile-options article.profile_clip_toggle a.first-child {
    margin-bottom: 25px !important;
}

.profile-options article.profile_clip_toggle a.second-child {
    margin-bottom: 10px !important;
}

.profile-options article.profile_clip_toggle span {
    color: #1d3140;
    font-weight: 600;
    padding: 0px 5px;
}

.profile-options article.profile_clip_toggle img {
    display: inline-block;
    margin-right: 16px;
    width: 20px;
    height: 20px;
}
.profile_toggle_dropdwn .message_link {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
}

.profile_toggle_dropdwn .message_link .red-alert {
    left: -5px;
}

.fixed-header__profile-view {
    max-width: 500px;
}

.case__single-lead {
    max-height: 100%;
    overflow: unset;
}

.referral-fee-dev-css h3,
.referral-fee-dev-css span,
.referral-fee-dev-css p {
    margin-bottom: 0px !important;
}

.d-inline-grid {
    display: inline-grid !important;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e4e4e4;
    padding-block: 7px 4px;
}

.chat-header .sect-desc {
    border-bottom: unset !important;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

/* .chat-header .proposal-sect {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: space-between;
} */

.chat-header .proposal-sect a {
    font-weight: 500;
    /* display: flex; */
    align-items: center;
}

.chat-header .proposal-sect a img {
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

.view-proposal-lightbox {
    width: 800px;
    height: auto;
    background: #ffffff;
    border-radius: 6px;
    padding: 30px;
}

.view-proposal-lightbox h1 {
    font-size: 22px;
    font-weight: 600;
}

.not_found_phrase {
    font-size: 18px;
    font-weight: 400;
    color: #1c3140;
    text-align: center;
}

.view_proposal_action {
    margin: 60px 0px 30px !important;
}

.proposal_lightbox_wrapper .view_proposal_lightbox {
    max-height: 500px;
    overflow-y: scroll;
}

.view_proposal_container button.selected-attorney,
.view_proposal_container a.selected-attorney {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 700;
    line-height: 15px;
    background-color: #1c3140;
    color: white;
    padding: 9px 15px;
    /* margin-right: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    white-space: nowrap;
    margin-right: 10px;
}

.view_proposal_container a.view_proposal {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 700;
    line-height: 15px;
    color: #5b8dd7;
}

.business_invoice_section {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 15px 0px;
    float: left;
}

.business_invoice_section .lawflip_fee {
    width: 100%;
    float: left;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 23px 0 6px;
    padding: 0px 15px;
}

.business_invoice_section .lawflip_fee img {
    width: 22px;
    height: 22px;
    margin: 0px 15px 0px 0px;
}

.business_invoice_section .lawflip_fee span {
    font-size: 18px;
    font-weight: 600;
    color: #1c3140;
    float: left;
    width: auto;
}

.business_invoice_section p {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    color: #1c3140;
}

.counter_lft p.note {
    float: left;
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    text-align: left;
    color: #1c3140;
    margin-top: 45px;
    width: 100%;
}

.counter_lft p.note span.note_text {
    font-size: 11px;
    color: #252525;
    margin: 0 10px 0px 0px;
    font-weight: bold;
}

.counter_lft p.note a {
    color: #5b8dd7;
    font-weight: 500;
}

.tabbed-section .profile-body {
    min-height: 542px;
}

.payment-card-box ul.card-drpdwn-list {
    width: 200px;
    max-width: 160px;
    padding: 0px 17px;
    top: 60%;
    right: 1%;
    z-index: 1;
    border: 1px solid lightgray;
}
.mb-11px {
    margin-bottom: 11px !important;
}

.text-797575 {
    color: #797575 !important;
}



.popup-transition {
    opacity: 1;
    visibility: visible;
    height: auto;
    transition: all 500ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transform: scale3d(1, 1, 1);
}

#edit_ref_relation_drop_down .selected-item {
    height: auto;
}

.owner_inside .o_offer .owner_detail {
    height: 100px;
}

.word-wrap {
    word-wrap: break-word !important;
}

.action_buttons .send_an_offer_btn {
    width: 180px;
}

.offer_details .ofdet_row_desc {
    height: 72px;
}

#edit_ref_relation_drop_down {
    padding: 0;
}

#edit_ref_relation_drop_down .custom-select {
    max-width: 250px;
}

.offer_description_attorney {
    height: 34.18px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px !important;
}

.overflow-visible {
    overflow: visible;
}

strong.see_more_btn,
strong.see_less_btn {
    font-size: 11px;
    cursor: pointer;
    position: relative;
}

.counter_rit {
    overflow-y: auto;
}

.paymeny_history_tbody tr td {
    word-wrap: break-word;
}

.view_payment_history_flex_end {
    display: flex;
    justify-content: flex-end;
}

.view-payment-history__anchor {
    display: block;
}



.offer_lead_title span.lead_title {
    font-size: 13px;
}

.referral_fee_box #referral_fees-error {
    width: 100%;
    display: inline-block;
    text-align: right;
    font-size: 13px;
}

.red-alert-contract {
    height: 8px;
    width: 8px !important;
    background-color: #ef0f1c;
    border-radius: 100%;
    position: relative;
    bottom: 7px;
}

.case__case-applying .case-details,
.case__case-applying__mobile .case-details {
    padding-inline: unset;
    padding-block: unset;
    background-color: unset;
    border: unset;
    cursor: unset;
}

.ask-lead-radio-group .lead-status-labels {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 129%;
    text-transform: capitalize;
    color: #5b5b5b;
}

.ask-lead-radio-group .lead-status-labels {
    margin-right: 5px;
}

.ask-lead-radio-group .lead-status-radio {
    margin-right: 5px;
}

.intake-information p.labe-intake-info {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #3C3C3C;
    margin-bottom: 5px;
}

.intake-information div.created-by-box,
.intake-information div.intake-date-box,
.contact-name-box div.first-name-box,
.contact-name-box div.last-name-box {
    width: 48%;
    display: inline-grid;
}

.intake-information div.created-by-box,
.contact-name-box div.first-name-box {
    margin-right: 3%;
}

.contact-detail-address-box div.city-box,
.contact-detail-address-box div.country-box,
.contact-detail-address-box div.state-box,
.contact-detail-address-box div.postal-box {
    width: 48%;
    display: inline-block;

}

.contact-detail-address-box div.postal-box,
.contact-detail-address-box div.state-box {
    margin-right: 3%;
}

.hide {
    display: none !important;
}

.post-lead-content main.tabbed-content>section.lead-contact-information {
    margin-bottom: 63px;
}

ul.post-lead-by-status-tab {
    display: flex;
    width: 100%;
    margin: 40px 0px;
}

ul.post-lead-by-status-tab li.internal-lead-li,
ul.post-lead-by-status-tab li.external-lead-li {
    width: 50%;
    border: 1px solid #909090;
    text-align: center;
}

ul.post-lead-by-status-tab li.active {
    background: #1C3140;
}


ul.post-lead-by-status-tab li.internal-lead-li {
    border-radius: 6px 0px 0px 6px;
}

ul.post-lead-by-status-tab li.external-lead-li {
    border-radius: 0px 6px 6px 0px;
}

ul.post-lead-by-status-tab li.internal-lead-li a,
ul.post-lead-by-status-tab li.external-lead-li a {
    display: block;
    padding: 14px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #909090;
}

ul.post-lead-by-status-tab li.active a {
    color: #fff;
}

.input_disabled {
    opacity: 0.7;
    color: #000400b3;
}

.internal-lead-boxes {
    padding: 20px 0px;
}
.internal-lead-details h3.lead_detail_label {
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #252525;
}

.internal-lead-details div.lead-detail-boxes {
    margin: 20px 0px;
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.internal-lead-details div.lead-detail-boxes li {
    list-style: none;
    font-style: normal;
}

.internal-lead-details div.lead-detail-boxes:last-child {
    margin-bottom: 0px;
}

.internal-lead-details div.lead-detail-boxes li.label {
    /* width: 35%;
    display: inline-block; */
    font-weight: 600;
    font-size: 16px;
    line-height: 155.5%;
    color: #252525;
}

.internal-lead-details div.lead-detail-boxes span.label_value {
    /* width: 65%; */
    /* display: inline-block; */
    font-weight: 400;
    font-size: 16px;
    line-height: 129%;
    color: #616161;
}

.internal-lead-details div.lead-detail-boxes p.label_value {
    font-weight: 400;
    font-size: 16px;
    line-height: 129%;
    color: #616161;
}

.add_new_marketing_source,
.add_new_lead_status {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0px;
    text-decoration: underline;
}

.add_new_marketing_source img,
.add_new_lead_status img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#marketing_source_modal .msg-modal,
#lead_status_modal .msg-modal {
    max-width: 500px;
    min-width: 300px;
    margin-inline: 20px;
    width: 100%;
    max-height: 165px;
    padding-block: 14px 20px;
    background: #FFFFFF;
    border-radius: 6px;
    overflow-y: auto;
}

#marketing_source_modal .msg-modal__header>img:hover,
#lead_status_modal .msg-modal__header>img:hover {
    transform: unset;
}

#marketing_source_modal .msg-modal__header>h3,
#lead_status_modal .msg-modal__header>h3 {
    font-weight: 600;
}

#marketing_source_modal .msg-modal .marketing_source,
#lead_status_modal .msg-modal .lead_status {
    width: 95%;
}

#marketing_source_modal .msg-modal .case-applying__update-btn,
#lead_status_modal .msg-modal .case-applying__update-btn {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0em;
    text-align: center;
    padding: 10px 20px;
    color: white;
    background: #1C3140;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
    border-radius: 6px;
}

.justify-content-between {
    justify-content: space-between;
}

.lead_status_history_border {
    border: 1px solid #5b5b5b;
    border-radius: 4px;
    padding: 19px 31px;
}

.opacity-0 {
    opacity: 0;
}

button.share_information_btn {
    line-height: 20px;
    text-align: center;
}
.w-130px {
    width: 130px;
}
.offer_details_margins {
    margin-top: 0px !important;
}
.lead_listing_mobile {
    position: relative;
}
.lead_listing_mobile .red-alert {
    top: 43%;
    right: 5% !important;
    position: absolute;
}
.internal_lead_status_details li {
    width: 100%;
}

.view-status-history__anchor {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0em;
    text-decoration: underline;
    float: right;
    margin-right: 15px;
}

.msg-modal {
    max-width: 820px;
    min-width: 300px;
    margin-inline: 20px;
    width: 100%;
    max-height: 420px;
    padding-block: 14px 20px;
    background: #FFFFFF;
    border-radius: 6px;
    overflow-y: auto;
}

.status_history_modal_body{
    display: block;
}

.inbox-image-sending span.contract_details {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: left;
    color: #494848;
    word-wrap: break-word;
}

.inbox-image-sending span.contract_details a{
    text-decoration: underline;
}

.chat_options_single {
    display: flex !important;
    justify-content: end !important;
}

.chat_options_double {
    display: flex;
    justify-content: space-between;
    /* width: 51%; */

}

.profile-namemail .name{
    line-height: 44px;
}

.marketing_source_heading {
    font-weight: bold;
}

.login_req_text_div {
    position: relative;
    margin-top: 60px;
}

.chat_msg_select_attorney_btn {
    width: 170px;
    margin-right: 10px;
}

.response_view_contract_btn {
    width: 158px;
    margin-right: 10px;
}

.chat_msg_select_attorney_btn{
    border: transparent;
}

.chat_msg_select_attorney_btn:hover{
    border: transparent;
}

#share_lead_modal .msg-modal {
    min-height: 550px;
    overflow: hidden;
}

.referring-attorney {
    display: inline-block;
    width: 48%;
}

.referring-attorney.first-name {
    margin-right: 8px;
}

.w-inherit {
    width: inherit;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.msg-box__client-info-shared .client-info-shared p {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
}
.msg-box__client-info-shared .client-info-shared p:nth-child(1) {
    font-weight: 500;
}
.msg-box__client-info-shared .client-info-shared p:nth-child(2) {
    color: #9E9E9E;
}
.white-space-nowrap {
    white-space: nowrap;
}
.profile-leads li.message_link, .profile-leads li.contracts_link {
    position: relative;
}
.profile-leads li.message_link .red-alert {
    position: absolute;
    right: -15%;
    top: 15%;
}
.profile-leads li.contracts_link .red-alert {
    position: absolute;
    right: -12%;
    top: 12%;
}
.case-applying__specification div.listing p {
    width: 50%;
}

.msg__lead-msg-box .client-info-shared > p {
    width: 25%;
}

.msg__lead-msg-box .client-info-shared > span {
    width: 75%;
}

.w-fit-content {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.w-fit-content {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

#degree ul, #education_year ul {
    width: 100%;
    height: 300px;
    isolation: isolate;
    max-width: 590px;
    margin-top: 0px;
    visibility: hidden;
}

#degree ul.visible + span.anchor::after, #education_year ul.visible + span.anchor::after{
    transform: rotate(45deg);
}

#degree .visible, #degree .visible, #education_year .visible, #education_year .visible {
    visibility: visible;
}

#degree ul li, #education_year ul li {
    padding-left: 20px;
    margin-bottom: 15px;
}

#degree  .anchor::after, #education_year  .anchor::after {
    right: 18px;
    top: 25%;
}

#degree  .anchor, #education_year  .anchor {
    background-color: white;
    border: transparent;
    height: 38px;
}

#degree ul li:first-of-type, #education_year ul li:first-of-type {
    margin-top: 20px;
}
/* div.chat_options_double:has(a.selected-attorney){justify-content: space-between;} */

/* Chnages to be reversed if any issues emerges with  {a.chat_options_double} -\
 Solution is to inverse current settings and remvove :has() */

.slider-items-desc {
    max-width: 50%;
    margin-inline: auto;
}

.tns-outer {
    position: relative;
}

#tns1-ow {
    background-color: #FDC748;
}

.tns-nav button {
    height: 15px;
    width: 15px;
    background-color: white;
    border: 1px solid #000000;
    border-radius: 50%;
}

.tns-nav button.tns-nav-active {
    background-color: #000000;
}

.tns-nav {
    margin-inline: auto;
    max-width: 10%;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding-block: 1rem 2rem;
}

.disabled {
    box-shadow: unset;
    pointer-events: none;
    opacity: 0.7;
}

.disabled:hover {
    box-shadow: unset;
    transform: unset;
    pointer-events: none;
}

.case-success-box {
    padding-inline: 30px 28px;
    padding-block: 20px 20px;
    background: #F8F8F8;
    border: 1px solid #F3F3F3;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
    border-radius: 6px;
    word-break: break-word;
}

.case-success-box .selected-attorney span.contact-dynamics {
    float: right;
}

.case-success-box .fee-percent__applied > div {
    max-width: unset;
}

.case-success-box .fee-percent__agree-files span.agree {
    font-weight: 500;
}

.case-success-box .fee-percent__agree-files p {
    display: flex;
}

.case-success-box span.agreemnet-files-container {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    margin-inline: 10px;
    width: 20%;
    overflow: hidden;
    word-break: break-word;
}

.case-success-box span.agreemnet-files-container img {
    margin: auto;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.case-success-box span.agreemnet-files-container span {
    color: #909293;
}

.text-909293 {
    color: #909293;
}

.dz-details {
    display: flex;
    flex-direction: column;
}

.case_archived_warning {
    background-color:#FFEEC6;
    padding: 15px;
    display: flex;
    flex-direction: row;
    border-radius: 5px;
}

.case_archived_warning p{
    margin-left: 10px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #252525;
}

.disabled_btns{
    background: #cccccc;
}

.chat_attorney_name {
    font-size: 12px;
    font-weight: 700;
}

.chat-body .about-lead-header {
    display:flex;
    border-bottom: 1px solid #E4E4E4;
}

.chat-body .about-lead-heading-parent {
    width: 100%;
}

.chat-body h2.about-lead-heading {
    padding-inline: 20px;
    padding-block: 22px 21px;
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: left;
}

.chat-body .archive-div {
    display:flex;
    width: 25%;
    cursor: pointer;
}

.chat-body .archive-div img {
    width: 24px;
}

.archive-drop-down {
    width: 186px;
    height: auto;
    background: #F8F8F8;
    border: 1px solid #F8F8F8;
    box-shadow: 0px 2px 2px rgb(0 0 0 / 10%);
    border-radius: 12px;
    position: absolute;
    right: 4%;
    top: 25%;
}

.archive-drop-down li{
    cursor: pointer;
}

.archive-drop-down li>img {
    margin-left: 20px;
    margin-right: 14px;
}

.archive-drop-down li>img {
    margin-left: 20px;
    margin-right: 14px;
}

.archive-drop-down li>p {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
    display: inline-block;
    max-width: 124px;
    width: 100%;
}

.details__inputs input.referral_fees {
    width: 100%;
}

.referral_fee_span {
    line-height: 40px;
    padding: 0px !important;
    margin: 0px !important;
}

.chats .chat-header .chat-action-btns {
    display: contents;
}

.inbox__name-status p {
    color: #000000;
}

.fixed-header__profile-view {
    width: auto;
}


@media only screen and (max-width: 768px) {
    .message_link .red-alert, .pending_contracts .red-alert, .active_contracts .red-alert, .decline_contracts .red-alert, .expired_contracts .red-alert, .contracts_link .red-alert {
        height: 6px;
        width: 6px !important;
        padding: 0px !important;
        bottom: 0px;
    }
    .emojionearea-button {
        display: none;
    }
}
@media only screen and (max-width: 610px) {
    .view_proposal_container a.view_proposal, .view_proposal_container a.selected-attorney ,.view_proposal_container button.selected-attorney {
        font-size: 12px;
    }
    .view_proposal_container a.selected-attorney ,.view_proposal_container button.selected-attorney{
        width: 125px;
    }
}
@media only screen and (max-width: 545px) {
    .view_proposal_container a.view_proposal, .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        font-size: 11px;
    }
    .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        width: 105px;
    }
}
@media only screen and (max-width: 480px) {
    ul.mobile-payment-card-box {
        right: 0px !important;
        top: 55px !important;
        width: 90px !important;
    }
    ul.mobile-payment-card-box li {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
    ul.mobile-payment-card-box li span {
        font-size: 14px;
    }
    .chat-header .sect-desc {
        width: 32%;
    }
    .chat-header .proposal-sect {
        width: 68%;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom {
        right: -58px !important;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom .emojionearea-wrapper:after {
        right: 102px !important;
    }
    .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        width: unset;
    }
    a.response-profile-section {
        display: grid;
        grid-template-columns: auto;
        gap: 10px;
    }
    a.response-profile-section .profile-namemail ,a.response-profile-section .profile-img{
        margin: auto;
    }
    a.response-profile-section .chat_msg_select_attorney_btn {
        margin-right: unset;
    }
    a.response-profile-section .responses-profile__msg-btn {
        width: unset;
        font-size: 14px;
    }
    .owner_inside .o_offer .owner_detail {
        height: unset;
    }
    .owner_detail {
        display: grid;
        justify-items: center;
    }
    .owner_detail h2.send_to_attorney_name, p.attorney_name {
        text-align: center;
    }
    .action_buttons .send_an_offer_btn {
        width: 100%;
    }
    div.response-profile-section {
        display: grid;
        grid-template-columns: auto;
        gap: 10px;
    }

    div.response-profile-section .response_view_contract_btn {
        margin-right: unset;
    }

    a.response-profile-section .response_view_contract_btn {
        margin-right: unset;
    }

    div.response-profile-section .responses-profile__msg-btn {
        width: unset;
        font-size: 14px;
    }

    .case-success-box {
        padding: 0px;
        padding-top: 15px;
    }

    .case-success-box .responses-profile {
        justify-content: center !important;
    }

    .case-success-box .responses-profile  .responses-profile__msg-btn {
        padding: 5px 0px;
        font-size: 15px;
        margin: auto;
        width: 100px;
    }

    .case-success-box .responses-profile .responses-profile__msg-btn {
        padding: 5px 0px;
        font-size: 15px;
        width: 130px;
    }

    .case-success-box .selected-attorney, .case-success-box .fee-percent__txt, .case-success-box .fee-percent__agree-files {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .case-success-box .selected-attorney span, .case-success-box .fee-percent__txt span, .case-success-box .fee-percent__agree-files span, .case-success-box .fee-percent__agree-files p {
        text-align: center;
        font-size: 14px;
    }

    .contact-name-box div.first-name-box, .contact-name-box div.last-name-box {
        width: 100%;
    }
}
@media only screen and (max-width: 401px) {
    .emojionearea .emojionearea-editor {
        width: 80%;
    }

    .inbox__name-status p {
        color: #ffffff;
    }

}

@media only screen and (max-width: 375px) {
    .chat-header .sect-desc {
        width: 30%;
    }
    .chat-header .proposal-sect {
        width: 70%;
    }
    .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        padding: 6.5px 9.5px;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom {
        right: -71px !important;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom .emojionearea-wrapper:after {
        right: 115px !important;
    }
    .chat_intitate_success_response .msg-modal__body {
        padding-inline: unset;
    }
    .chat_intitate_success_response .case-response-successful {
        margin-inline: unset;
    }
}
@media only screen and (max-width: 320px) {
    .chat-header .sect-desc {
        width: 29%;
    }
    .chat-header .proposal-sect {
        width: 71%;
    }
    .chat-header .proposal-sect a img {
        width: 18px;
        height: 18px;
    }
    .view_proposal_container a.view_proposal ,
    .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        font-size: 10px;
    }
    .view_proposal_container a.selected-attorney,.view_proposal_container button.selected-attorney {
        padding: 5.5px 8.5px;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom {
        right: -92px !important;
    }
    .emojionearea .emojionearea-picker.emojionearea-picker-position-bottom .emojionearea-wrapper:after {
        right: 136px !important;
    }
    a.response-profile-section .responses-profile__msg-btn {
        padding: 4px 8px;
        font-size: 13px;
    }
}

@media only screen and (max-width:990px) {
    .slider-items-desc {max-width: 80%;}
    .inbox__name-status p {
        color: #ffffff;
    }
}

@media only screen and (max-width:850px) {
    .tns-nav {
        max-width: 15%;
    }
    .inbox__name-status p {
        color: #ffffff;
    }
}

@media only screen and (max-width:650px) {
    .tns-nav {
        max-width: 25%;
    }
}

