.section_1 .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section_1 .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.section_1 .feature-list li i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 8px;
}

#second-container {
    justify-content: space-between;
}

#AddNoteModal .modal-content {
    width: 76% !important;
}

select#Priority {
    margin-top: -7px !important;
}

div#ContactDetailModal .modal-dialog {
    max-width: 80% !important;
}

table tr th {
    border-bottom: unset !important;
}

.top {
    justify-content: space-between;
}

#insuredTableSection div {
    padding-left: 0 !important;
}

[id^="button-container-"] {
    height: 31px !important;
    margin-left: -12px;
}

#insuredTableSection .child-row div {
    padding-left: 15px !important;
}

.register {
    background: -webkit-linear-gradient(left, #ffd6dd, #ffcbd4) !important;
}

.widget_container .widget {
    min-width: unset !important;
    width: 100% !important;
}

.register {
    background: -webkit-linear-gradient(left, #f2f2f2, #f2f2f2) !important;
    margin-left: 15px !important;
}




/* color and padding chnage css (revert)


table[id^="homeTable-"]>thead>tr>th {
    background-color: #1533bc !important;
    color: #fff !important;
}


#insuredTableSection [id^="button-container-vehicles-"] h3 {
    color: #1533bc !important;
}


#insuredTableSection [id^="button-container-vehicles-"] .classic-button {
    background: #1533bc !important;
}



#insuredTableSection>div:first-child .classic-button {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    margin-left: 2px;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 8px !important;
    background: #1533bc !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 7px rgba(21, 51, 188, .22);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    margin-top: 2px;
}


#insuredTableSection>div:first-child .classic-button i {
    font-size: 12px !important;
    margin: 0 !important;
}


#insuredTableSection>div:first-child .classic-button:hover {
    background: #1533bc !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(21, 51, 188, .30);
}



#insuredTableSection [id^="button-container-"] .classic-button {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}


#insuredTableSection [id*="button-container-boat-"] .classic-button,
#insuredTableSection [id*="button-container-coverages-"] .classic-button,
#insuredTableSection [id*="button-container-interest-"] .classic-button {
    background: #1533bc !important;
}


#insuredTableSection [id^="button-container-"] .classic-button i {
    margin: 0 !important;
    font-size: 11px !important;
    transition: transform .18s ease;
}

#insuredTableSection [id^="button-container-"] .classic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .18);
}



#insuredTableSection [id^="button-container-"] .classic-button:hover i {
    transform: rotate(90deg);
}




#insuredTableSection>div:first-child {
}

#insuredTableSection>div:first-child h3 {
    color: #1533bc !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
}



#insuredTableSection>div:first-child .classic-button {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    border-radius: 7px !important;
    background: #1533bc !important;
    box-shadow: 0 3px 8px rgba(21, 51, 188, .20);
}

#insuredTableSection>div:first-child .classic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(21, 51, 188, .28);
}



#insuredTableSection #insuredLocationTable {
    border: 1px solid #dce6f2 !important;
    border-radius: 8px !important;
    overflow: hidden;
}



#insuredTableSection #insuredLocationTable thead th {
    background: #1533bc !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 15px 10px !important;
    vertical-align: middle !important;
}




#insuredTableSection #insuredLocationTable tbody>tr:not(.child-row)>td {
    border-color: #e4ebf3 !important;
    vertical-align: middle !important;
    transition: background .15s ease;
}




#insuredTableSection #insuredLocationTable tbody>tr:not(.child-row):hover>td {
    background: #f4f8ff !important;
}




#insuredTableSection td.dt-control i {
    color: #1533bc !important;
    transition: transform .2s ease, color .2s ease;
}

#insuredTableSection td.dt-control i:hover {
    color: #1533bc !important;
    transform: scale(1.15);
}



#insuredTableSection #insuredLocationTable tbody>tr:not(.child-row) td:nth-child(2) a {
    transition: all .2s ease;
}

#insuredTableSection #insuredLocationTable tbody>tr:not(.child-row) td:nth-child(2) a:hover {
    background: #eaf3ff !important;
    border-color: #9ec4ef !important;
    transform: translateY(-1px);
}




#insuredTableSection [id*="button-container-boat-"] {
    border-left: 3px solid #1533bc;
    padding-left: 10px !important;
    margin-bottom: 10px !important;
}

#insuredTableSection [id*="button-container-boat-"] h3 {
    color: #1533bc !important;
    font-weight: 700 !important;
}




#insuredTableSection [id*="boatTable-"] {
    border-color: #cfe0f8 !important;
}

#insuredTableSection [id*="boatTable-"] thead th {
    background: #1533bc !important;
    color: #fff !important;
}


#insuredTableSection [id*="button-container-coverages-"] {
    border-left: 3px solid #1533bc;
    padding-left: 10px !important;
    margin-bottom: 10px !important;
}

#insuredTableSection [id*="button-container-coverages-"] h3 {
    color: #1533bc !important;
    font-weight: 700 !important;
}


#insuredTableSection [id*="coveragesTable-"] thead th {
    background: #1533bc !important;
    color: #fff !important;
}




#insuredTableSection [id*="button-container-interest-"] {
    border-left: 3px solid #1533bc;
    padding-left: 10px !important;
    margin-bottom: 10px !important;
} 

#insuredTableSection [id*="button-container-interest-"] h3 {
    color: #1533bc !important;
    font-weight: 700 !important;
}


#insuredTableSection [id*="interestTable-"] thead th {
    background: #1533bc !important;
    color: #fff !important;
}




#insuredTableSection .child-table-container {
    margin-left: 18px !important;
    padding-left: 12px !important;
    border-left: 1px dashed #bdd3ee !important;
}


#insuredTableSection [id^="button-container-"] .classic-button {
    width: 21px !important;
    height: 21px !important;
    min-widt: 19px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(21, 51, 188, .18);
    margin-top: 2px;
}

#insuredTableSection [id^="button-container-"] .classic-button i {
    margin: 0 !important;
    font-size: 11px !important;
}

#insuredTableSection [id*="button-container-coverages-"] .classic-button,
#insuredTableSection [id*="button-container-interest-"] .classic-button {
    background: #1533bc !important;
}


#insuredTableSection [id^="button-container-"] {
    overflow: visible !important;
}

#insuredTableSection [id^="button-container-"]>div {
    overflow: visible !important;
    padding-right: 5px !important;
}

#insuredTableSection [id^="button-container-"] .classic-button {
    flex-shrink: 0 !important;
    margin-left: 2px !important;
    position: relative;
    z-index: 2;
}



#insuredTableSection .inner-table tbody tr:hover td {
    background: #f7faff !important;
}



#insuredTableSection [id*="coveragesTable-"] {
    border-color: #cfe0f8 !important;
}

#insuredTableSection [id*="coveragesTable-"] thead th {
    background: #1533bc !important;
    color: #fff !important;
}

#insuredTableSection [id*="coveragesTable-"] tbody td {
    border-color: #e4ebf3 !important;
}

#insuredTableSection [id*="coveragesTable-"] tbody tr:hover td {
    background: #f4f8ff !important;
}



#insuredTableSection [id*="interestTable-"] {
    border-color: #cfe0f8 !important;
}

#insuredTableSection [id*="interestTable-"] thead th {
    background: #1533bc !important;
    color: #fff !important;
}

#insuredTableSection [id*="interestTable-"] tbody td {
    border-color: #e4ebf3 !important;
}

#insuredTableSection [id*="interestTable-"] tbody tr:hover td {
    background: #f4f8ff !important;
}

*/



/* Large Desktop (1920px+) */
@media screen and (min-width: 1920px) {

    .chart_toggle {
        top: 6px !important;
    }

    .small_section_img>img {
        height: 100% !important;
    }

    .register-right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    form#msform {
        width: 100%;
    }

    .register-right .row.register-form {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container {
        max-width: 1600px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    .section_1_container {
        max-width: 1600px !important;
        margin: 0px !important;
    }

    .small_section {
        max-width: 1600px !important;
    }

    .footer-section>.footer_container {
        max-width: 1600px !important;
    }

    .section_3 {
        max-width: 1600px !important;
    }

    body {
        font-size: 16px;
    }

    .card,
    .dashboard-card {
        padding: 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    table {
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
    }

    [id^="box"] {
        width: 350px !important;
    }
}

/* ==========================================
   Large Desktop (1600px - 1919px)
========================================== */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    .container {
        max-width: 1500px !important;
        margin: 0 auto;
        padding: 0 20px;
    }

    .register-right {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    form#msform {
        width: 100%;
    }

    .small_section_img>img {
        height: 100% !important;
    }

    .section_1_container {
        max-width: 1500px !important;
        margin: 0 auto !important;
    }

    .small_section {
        max-width: 1500px !important;
        margin: 0 auto;
    }

    .footer-section>.footer_container {
        max-width: 1500px !important;
        margin: 0 auto;
    }

    .section_3 {
        max-width: 1500px !important;
        margin: 0 auto;
    }

    body {
        font-size: 15px;
    }

    .card,
    .dashboard-card {
        padding: 18px;
    }

    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    table {
        font-size: 14px;
        max-width: 1500px !important;
        width: 100% !important;
    }

    [id^="box"] {
        width: 300px !important;
    }
}

@media screen and (max-width: 1200px) {
    .dropdown-item {
        width: 100% !important;
    }

    #classic-button,
    .classic-button {
        width: auto;
    }

    div#navbarCollapse ul li {
        padding-left: 0px !important;
    }

    div#navbarCollapse {
        /* background: linear-gradient(135deg, #8f091a, #c02847, #9c4866) !important; */
        /* top: 37px; */
    }

    #navbarCollapse {
        width: calc(100% + 12px) !important;
        max-width: none !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
        box-sizing: border-box !important;
    }


    #search_child_container {
        /*        width: 70% !important;*/
        margin-left: 15px;
    }

    .menu-ul {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu-ul .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }

    .menu-ul .nav-link {
        display: flex;
        align-items: center;
        /*            justify-content: space-between;*/
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
    }

    .menu-ul .nav-link .nav-text {
        flex: 1;
        margin-left: 10px;
    }

    /* Dropdown Container */
    .menu-ul .btn-group {
        width: 100%;
        display: block;
        position: relative;
    }

    /* Dropdown Menu */
    .menu-ul .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: none;
        box-shadow: none;
        margin-top: 5px;
        display: none;
    }

    /* Open Dropdown */
    .menu-ul .btn-group.show .dropdown-menu {
        display: block;
    }

    .menu-ul .dropdown-item {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dropdown_icon_div {
        min-width: 25px;
        text-align: center;
    }

    /* User Profile Menu */
    .dropdown-menu-right {
        right: auto !important;
        left: 0 !important;
        width: 100%;
    }

    .top_nav_bar .navbar-nav .nav-item a.nav-link {
        width: 99% !important;
    }

    .top_nav_bar .navbar-nav .nav-link,
    div#collapsibleNavbar ul li a {
        /* color: #ffffff !important; */
        border-bottom: 2px solid #ffd0d8 !important;
    }
}

/* ==========================================
   Tablet Landscape (992px - 1024px)
 ========================================== */
@media screen and (max-width: 1024px) {

    /*home page  css */

    .section_1 {
        padding: 1.5rem 1.5rem !important;
    }

    .section_1_divs {
        padding-top: 0rem !important;
    }

    .section_1 .main_heading_1 {
        font-size: 2.5rem;
    }

    .section_4_contaier>div {
        padding: 0.3rem 0 !important;
    }



    /*Datepicker css*/


    #ui-datepicker-div {
        width: 320px !important;
        max-width: calc(100vw - 20px) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* VERY IMPORTANT - reset global table CSS */
    #ui-datepicker-div .ui-datepicker-calendar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
        box-sizing: border-box !important;
    }

    #ui-datepicker-div .ui-datepicker-calendar thead,
    #ui-datepicker-div .ui-datepicker-calendar tbody {
        width: 100% !important;
    }

    #ui-datepicker-div .ui-datepicker-calendar tr {
        width: 100% !important;
    }

    #ui-datepicker-div .ui-datepicker-calendar th,
    #ui-datepicker-div .ui-datepicker-calendar td {
        width: 14.285% !important;
        min-width: 0 !important;
        max-width: 14.285% !important;
        padding: 2px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    #ui-datepicker-div .ui-datepicker-calendar td a {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 5px 2px !important;
        text-align: center !important;
    }


    /* user page responsive design */

    .dataTables_wrapper {
        width: 100%;
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* Top Controls */
    .dataTables_wrapper .top,
    .dataTables_wrapper .bottom {
        min-width: 100% !important;
    }

    /* Table */
    #myTable {
        width: 100% !important;
    }

    #myTable th,
    #myTable td {
        white-space: nowrap;
        padding: 10px 12px;
        vertical-align: middle;
        /*            width: 100% !important;*/
    }

    /* Text truncate */
    #myTable .text-truncate {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Action icons */
    /*    .table-icons-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 80px;
    }*/

    .table-icons-container .third-icon {
        flex-shrink: 0;
    }

    /* Search */
    .dataTables_filter input {
        /*        min-width: 220px;*/
    }

    /* Pagination */
    .dataTables_paginate {
        white-space: nowrap;
    }

    /* submissioncenter  page css Start*/

    .page-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .page-header .btn {
        margin-left: auto;
    }

    #stats-row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .card-panel {
        height: auto !important;
    }

    .panel-title {
        font-size: 18px;
    }

    #carrier-perf-list,
    #recent-list {
        max-height: 350px !important;
    }

    /* submissioncenter  page css End */

    /* edit edit-lead page css   */

    .first-div {
        height: unset !important;
    }

    .contact-img-details {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .heading-contact-name {
        flex: 1;
        min-width: 0;
    }

    .heading-contact-name h4 {
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .back-button {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        flex-shrink: 0;
        margin-top: 0;
    }

    .page-title .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        height: auto !important;
        padding: 10px 0;
        row-gap: 12px;
    }

    .page-title .col-md-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 15px;
    }

    .page-title .right_align {
        display: flex;
        justify-content: flex-end;
    }

    #btnUploadSubmit {
        white-space: nowrap;
    }

    /* Edit Lead page css responsive start */

    .second-container {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .second-container .first-div,
    .second-container .mainDiv,
    .second-container .mainDiv1 {
        width: 100% !important;
        margin: 0 !important;
        flex: none !important;
        height: unset !important;
    }

    .detail-tab-container,
    .docs-tab-container,
    .contact-tab-container {
        max-height: none !important;
        overflow: visible !important;
    }

    .second-container .row {
        display: flex;
        align-items: center;
        margin: 0 0 10px;
    }

    .second-container .label-class {
        width: 40% !important;
        flex: 0 0 40%;
        font-size: 18px;
        margin-left: 0;
    }

    .second-container .row p,
    .second-container .row a {
        width: 60% !important;
        flex: 0 0 60%;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tab-container,
    .tabs-container {
        overflow-x: auto;
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 8px;
    }

    .tab-container::-webkit-scrollbar,
    .tabs-container::-webkit-scrollbar {
        height: 5px;
    }

    .tab-div,
    .single-tab {
        flex-shrink: 0;
    }

    .MessageContainer {
        height: 350px !important;
    }

    .chat-buttons-container {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 20px !important;
    }

    .tasksContainer,
    .notesContainer,
    .activityContainer,
    .appointmentContainer {
        height: auto !important;
    }

    #upperContainer,
    #lowerContainer {
        height: 250px !important;
    }

    .docs-tab-container .container,
    .contact-tab-container .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .docs-tab-container table,
    .contact-tab-container table {
        min-width: 900px;
    }

    .contact-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        height: unset !important;
    }

    .contact-img-details {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0;
    }

    .heading-contact-name {
        min-width: 0;
        flex: 1;
    }

    .heading-contact-name h4 {
        font-size: 15px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .back-button .icon_button {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Edit Lead page css responsive End */

    /* start Agent Dashboard css  */
    .leads {
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .top_leads {
        min-width: 1100px;
        width: 1100px;
        border-collapse: collapse;
    }

    .top_leads th,
    .top_leads td {
        white-space: nowrap;
        padding: 10px 12px;
    }

    .opportunity_table {
        width: 100%;
        overflow: hidden;
    }

    .opportunity_table .table-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
    }

    .opportunity_table table {
        min-width: 1200px;
        width: 1200px;
        table-layout: auto;
        border-collapse: collapse;
    }

    .opportunity_table th,
    .opportunity_table td {
        white-space: nowrap;
        width: auto !important;
    }

    .fourth_container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .policies,
    .activity {
        width: 100% !important;
        max-width: 100% !important;
        overflow-y: auto !important;
        margin-bottom: 30px;
    }

    .policy_count_filter,
    .dropdown-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 10px 0 15px;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #expiringPoliciesTable {
        min-width: 950px;
        width: max-content;
    }

    #activitiesTable {
        min-width: 650px;
        width: max-content;
    }

    .activity_Count {
        min-width: 100% !important;
        width: 100% !important;
    }

    #expiringPoliciesTable th,
    #expiringPoliciesTable td,
    #activitiesTable th,
    #activitiesTable td,
    .activity_Count th,
    .activity_Count td {
        white-space: nowrap;
        padding: 10px 14px;
    }

    /* End Agent Dashboard css  */

    .widget_container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px !important;
    }

    .third_container {
        grid-template-columns: 1fr;
    }

    .spare_part {
        width: 100% !important;
    }

    .fifth_container {
        grid-template-columns: 1fr !important;
    }

    .clientby_active_policy,
    .client_preimum_table {
        width: 100% !important;
    }

    .fourth_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .top_states {
        width: 100% !important;
    }

    .carrier_chart,
    .top_states {
        width: 100%;
    }

    .carrier_chart h2,
    .top_states h2 {
        font-size: 18px;
    }

    canvas {
        max-width: 100% !important;
        height: auto !important;
    }

    div#navbarCollapse {
        /* background: linear-gradient(135deg, #8f091a, #c02847, #9c4866) !important; */
    }

    #search_child_container {
        /*            width: 70% !important;*/
    }

    .menu-ul {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .menu-ul .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }

    .menu-ul .nav-link {
        display: flex;
        align-items: center;
        /*            justify-content: space-between;*/
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
    }

    .menu-ul .nav-link .nav-text {
        flex: 1;
        margin-left: 10px;
        /* color: white !important; */
    }

    /* Dropdown Container */
    .menu-ul .btn-group {
        width: 100%;
        display: block;
        position: relative;
    }

    /* Dropdown Menu */
    .menu-ul .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: none;
        box-shadow: none;
        margin-top: 5px;
        display: none;
    }

    /* Open Dropdown */
    .menu-ul .btn-group.show .dropdown-menu {
        display: block;
    }

    .menu-ul .dropdown-item {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .dropdown_icon_div {
        min-width: 25px;
        text-align: center;
    }

    /* User Profile Menu */
    .dropdown-menu-right {
        right: auto !important;
        left: 0 !important;
        width: 100%;
    }

    .small_section {
        min-height: unset !important;
        padding-top: 12px !important;
    }

    /* Two column layout */
    .second_container,
    .third_container,
    .fourth_container,
    .fifth_container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards */
    .widget,
    .stages_table,
    .carrier_chart,
    .clientby_active_policy,
    .client_preimum_table,
    .leads,
    .taskList {
        width: 100%;
    }

    /* Tables */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 850px;
    }

    /* Chart */
    canvas {
        max-width: 100%;
        height: auto !important;
    }

    .ContactHeading {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center;
        flex-wrap: nowrap !important;
        gap: 20px;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .ContactHeading>div {
        flex-shrink: 0;
    }
}

/* ==========================================
   Tablet Portrait (768px - 991px)
========================================== */
@media screen and (max-width: 991px) {

    /* submissioncenter  page css Start*/
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-header .btn {
        width: 100%;
        justify-content: center;
    }

    #stats-row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .row.g-4>.col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-panel {
        margin-bottom: 20px;
    }

    /* submissioncenter  page css End*/

    /* End pending download css */

    .ContactHeading {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    /* Heading */
    #button {
        width: 100%;
    }

    /*        #button .actual-text,
        #button .hover-text {
            width: auto !important;
            max-width: 100%;
        }*/

    /* Pending/Success Tabs */
    .ContactHeading>.container {
        margin-right: 0 !important;
        padding: 0 !important;
        width: 100%;
        display: flex !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .lead_table_tab {
        flex: 0 0 auto;
        min-width: 170px;
    }

    /* Right Icons */

    .ContactHeading>div:last-child {
        margin-left: auto;
    }

    .table-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #myTable {
        table-layout: unset !important;
    }

    #myTable th,
    #myTable td {
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 12px;
    }

    .dataTables_wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }

    .dataTables_paginate {
        margin-top: 15px;
    }

    /* Start pending download css */

    /* Start Agent Dashboard css */

    .dashboard_tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
    }

    .dashboard_tabs .tab-div {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* End Agent Dashboard css */

    .fourth_container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .carrier_chart,
    .top_states {
        width: 100% !important;
    }

    .top_states_filter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /*            flex-wrap: wrap;*/
    }

    .table_container {
        overflow-x: auto;
    }

    .chart_tables {
        min-width: unset !important;
    }

    canvas {
        max-width: 100% !important;
        height: auto !important;
    }

    .fifth_container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .top_client {
        min-width: 700px;
    }

    .widget_container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px !important;
    }

    .second_container {
        grid-template-columns: 1fr !important;
    }

    .info_card_container {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
    }

    .lob_policycount_chart,
    .revenueChart {
        width: 100% !important;
    }

    third_container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .heading_plus_filter h2 {
        font-size: 20px !important;
    }

    .dashboard_tabs {
        gap: 8px;
    }

    .dashboard_tabs div {
        font-size: 14px;
    }

    .tabs-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .single-tab-click {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    #navbarCollapse {
        width: 100%;
    }

    .menu-ul {
        width: 100%;
        align-items: flex-start !important;
    }

    .menu-ul .nav-item {
        width: 100%;
    }

    .menu-ul .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    h2 {
        font-size: 20px;
    }

    /* Dropdown Filter */
    .dropdown-wrapper,
    .lob-dropdown-wrapper,
    .heading_plus_filter,
    .top_states_filter {
        display: flex;
        /*            flex-direction: column;*/
        align-items: flex-start;
        gap: 10px;
    }

    select {
        width: 100%;
    }

    /* Tabs */

    .dashboard_tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
    }

    .dashboard_tabs .tab-div {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Header Buttons */

    .right-tab-buttons {
        display: flex;
        gap: 10px;
    }
}

/* ==========================================
   Mobile Large (576px - 767px)
========================================== */
@media screen and (max-width: 767px) {



    /*    #insuredTableSection .table-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    form#LeadForm .badge_container.fifth_badge_container {
        position: relative !important;
    }

    #insuredTableSection .child-table-container {
        margin-left: 5px !important;
        padding-left: 8px !important;
    }*/

    /* Edit Oportunity  automobie page  */

    /*div#insuredLocationTable_wrapper .top {
        padding-bottom: 0px !important;
    }

    [id^="button-container-"] {
        margin-top: 12px !important;
        margin-left: 0px !important;
    }

    .child-row>td { 
        padding: 0 !important;
    }
         
    .child-row>td>div {
        padding: 0 !important;
        margin: 0 !important;
    }

    .child-row .child-table-container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .child-row .table-scroll-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }

    .child-table-container table.inner-table tbody td.custom-scroll.text-truncate,
    .child-table-container table.inner-table thead th.text-truncate {*/
    /*        white-space: normal !important;*/
    /*overflow: visible !important;
        text-overflow: clip !important;
        word-break: break-word !important;
    }*/

    /* Home page css Responsive  */

    #piplines-select {
        width: 40% !important;
    }

    .pipeline-option {
        text-align: left !important;
    }

    .ContactHeading>div {
        /* flex-shrink: unset !important; */
    }

    .section_1 .heading_title {
        font-size: 21px !important
    }

    .section_1 .btn_top_section {
        margin-top: 2rem !important;
    }

    .section_2 {
        padding: 1rem 1rem !important;
    }

    .section_3 {
        padding: 0.5rem 2rem !important;
        display: block !important;
        min-height: unset !important;
    }

    .section_3 .section_31 {
        padding: 0;
    }

    .section_3 .section_31 .section_3_heading {
        font-size: 25px !important;
        text-align: center;
    }

    .section_3 .section_31>div {
        margin-top: 0rem !important;
        justify-content: center;
    }

    .section_3 .section_31>div .button span {
        padding: 10px 10px;
    }

    .section_3 .section_32 {
        width: 100%;
        margin-top: 24px;
    }

    .about-section {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .about-section .content-column {
        margin-top: 6rem;
    }

    .about-section .sec-title {
        margin-bottom: 20px !important;
    }

    .sec-title h2 {
        font-size: 25px !important;
    }

    .about-section .image-column {
        margin-top: 6rem;
        margin-bottom: 6rem;
    }

    .about-section .content-column .inner-column {
        padding-left: 0px !important;
    }

    .register {
        margin-left: 0px;
    }

    section.third_container .stages_table .dropdown-wrapper {
        flex-direction: column !important;
    }

    section.third_container .stages_table .lob-dropdown-wrapper {
        flex-direction: column !important;
    }







    /* opportunity page css  */
    .modal .modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
    }

    .modal .classForFourGrids {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .modal .classForFourGrids>.form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .modal .classForFourGrids .form-label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    .modal .classForFourGrids .form-control,
    .modal .classForFourGrids select,
    .modal .classForFourGrids input,
    .modal .classForFourGrids textarea,
    .modal .classForFourGrids p {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #ContactDetailModal .classForFourGrids {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /*Model popup  css */

    div#ContactDetailModal .modal-dialog {
        max-width: 100% !important;
    }


    div#leadAssignModal {
        left: 0 !important;
    }

    #AddNoteModal .modal-content {
        width: 100% !important;
    }

    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto;
        padding: 10px !important;
        overflow: visible !important;
    }

    /* Lead page  */
    .top {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "buttons buttons"
            "length search";
        gap: 10px;
        align-items: center;
    }

    .top-dropdown {
        grid-area: buttons;
        display: flex !important;
        justify-content: flex-end;
        width: 100% !important;
        float: none !important;
    }

    .dataTables_length {
        grid-area: length;
        float: none !important;
        margin: 0 !important;
    }

    .dataTables_filter {
        grid-area: search;
        float: none !important;
        margin: 0 !important;
        text-align: right !important;
    }

    .dataTables_filter label {
        margin: 0;
    }

    .dataTables_wrapper .top {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-areas:
            "buttons buttons"
            "length search" !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Top Right - Link + Assign To */
    .dataTables_wrapper .top .top-dropdown {
        grid-area: buttons !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        float: none !important;
    }

    /* Bottom Left - Display */
    .dataTables_wrapper .top .dataTables_length {
        grid-area: length !important;
        width: auto !important;
        margin: 0 !important;
        float: none !important;
    }

    /* Bottom Right - Search */
    .dataTables_wrapper .top .dataTables_filter {
        grid-area: search !important;
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        text-align: right !important;
    }

    /* Search input */
    .dataTables_wrapper .dataTables_filter input {
        width: 130px !important;
        margin-left: 5px !important;
    }

    /* Hide Display/Search text */
    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter label {
        font-size: 0 !important;
        margin: 0 !important;
    }

    /* Select remains visible */
    .dataTables_wrapper .dataTables_length select {
        font-size: 13px !important;
    }

    /* Search input remains visible */
    .dataTables_wrapper .dataTables_filter input {
        font-size: 13px !important;
    }

    /* Link + Assign spacing */
    .dataTables_wrapper .top-dropdown #ImportByUrl {
        margin-right: 0 !important;
    }

    .dataTables_wrapper .top-dropdown .form-row {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }




    /* Hide Display & records per page */
    .dataTables_length label {
        font-size: 0;
    }

    .dataTables_length select {
        font-size: 13px;
    }

    /* Hide Search text */
    .dataTables_filter label {
        font-size: 0;
    }

    .dataTables_filter input {
        font-size: 13px;
    }

    .top .top-dropdown .form-row {
        margin-right: 0px !important;
    }

    #myTable_length>label>select {
        padding-left: 12% !important;
        padding-top: 6% !important;

    }

    /*.dataTables_length label::before {
        content: "\2630";*/
    /* ☰ */
    /*font-size: 18px;
        margin-right: 6px;
        vertical-align: middle;
    }*/
    /* table horizontal fixed scroll top */
    .modal-content-lead {
        width: 100% !important;
    }

    #activity-box {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    #activity-box .table-scroll-wrapper {
        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    .table-scroll-wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .table-scroll-wrapper table {
        width: max-content !important;
        min-width: 100% !important;
    }

    .table-scroll-wrapper th,
    .table-scroll-wrapper td {
        /*        white-space: nowrap;*/
    }

    /* dashboard  css*/

    #notification_container {
        width: 20rem !important;
        right: 0px !important;
    }

    table {
        table-layout: unset !important;
    }

    .stages_table>h2 {
        padding-left: 0px !important;
    }

    .policy_count_row>div:nth-child(1) {
        width: 100% !important;
    }

    .stages_table tr:first-child th {
        border-top-left-radius: 0px !important;
    }

    .lob_categories>div {
        overflow-y: unset !important;
    }

    .policy_count_row>div:nth-child(2) {
        width: unset !important;
    }

    .bar_count {
        overflow: unset !important;
    }

    /* user page css */
    .card-header:first-child {
        text-align: center;
    }

    .bar_div {
        display: none;
    }

    .error-messages {
        font-size: 15px !important;
    }

    .modal-content {
        width: 100% !important;
    }

    .mainDiv1 {
        height: unset !important;
    }

    .second-container .first-div,
    .second-container .mainDiv,
    .second-container .mainDiv1 {
        height: unset !important;
    }

    .dataTables_wrapper .top,
    .dataTables_wrapper .bottom,
    #myTable {
        /*            min-width: 1300px;*/
    }

    #myTable th,
    #myTable td {
        font-size: 12px;
        padding: 8px 10px;
    }

    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate {
        white-space: nowrap;
        text-align: center !important;
    }

    /* Edit Lead page css responsive start*/

    .mydropdown {
        position: relative;
    }

    #followUpDropdown {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-90%) !important;
        top: 40px !important;
        width: calc(100vw - 30px) !important;
        max-width: 340px !important;
        min-width: 280px !important;
        padding: 12px !important;
        border-radius: 10px;
        z-index: 9999;
    }

    #followUpDropdown label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
    }

    #followUpDropdown input {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 5px !important;
    }

    #followUpDropdown .flatpickr-mobile {
        width: 100% !important;
    }

    #followUpDropdown>div:last-child {
        margin-top: 12px !important;
        display: flex;
        justify-content: flex-end;
        gap: 8px;
    }

    #followUpDropdown button {
        min-width: 80px;
        padding: 6px 12px !important;
    }

    .contact-img-details {
        width: 100%;
    }

    .flatpickr-calendar {
        width: 300px !important;
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
    }

    .flatpickr-rContainer {
        width: 100% !important;
    }

    .dayContainer {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .second-container {
        padding: 5px;
    }

    #piplines-select {}

    .second-container .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .second-container .label-class {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .second-container .row p,
    .second-container .row a {
        width: 100% !important;
    }

    .personal-information-heading {
        flex-wrap: wrap;
        gap: 10px;
        margin-left: 0px !important;
    }

    .MessageContainer {
        height: 250px !important;
    }

    .chat-buttons-container {
        margin: 21px 0px !important;
    }

    /*            .chat-buttons-container input {
                width: 100% !important;
            }*/

    .contact-img-details {
        width: 100%;
    }

    .heading-contact-name {
        width: 100%;
    }

    .heading-contact-name h4 {
        font-size: 14px !important;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.4;
        height: auto !important;
    }

    .back-button {
        /*                width: 100%;*/
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 10px !important;
    }

    .back-button .icon_button {
        width: 40px;
        height: 40px;
    }

    .contact-image {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    /* Edit Lead page css responsive End*/
    /* pending download page css start */
    /* Main Header */
    .ContactHeading {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Heading - Design Same */
    #button {
        width: 100%;
    }

    .ContactHeading>.container {
        width: 100%;
        display: flex !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0 !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .lead_table_tab {
        flex: 0 0 auto;
        min-width: 160px;
    }

    /* Right Side Icons */
    .ContactHeading>div:last-child {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    /* Search & Display Records */
    .dataTables_wrapper .top {
        display: flex;
        gap: 21px;
        justify-content: space-between;
        overflow-x: scroll;
        flex-direction: column-reverse;
        padding-bottom: 15px;
    }

    .dataTables_filter,
    .dataTables_length {
        width: 100%;
    }

    .dataTables_filter input {
        width: 100%;
    }

    /* Table Scroll */
    #myTableContainer,
    #myTable2Container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #myTable,
    #myTable2 {
        /*                min-width: 1500px;*/
    }

    /*#myTable th,
            #myTable td,
            #myTable2 th,
            #myTable2 td {*/
    /*              white-space: break-spaces;*/
    /*}*/
    /* pending download page css End */

    #search_child_container {
        width: 50% !important;
        margin-top: -12px;
    }

    .dataTables_paginate {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
        padding: 10px 5px;
    }

    .dataTables_paginate span {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

    .dataTables_paginate .paginate_button {
        min-width: 34px;
        height: 34px;
        line-height: 34px !important;
        padding: 0 10px !important;
        margin: 0 !important;
        border-radius: 6px;
        font-size: 13px;
        text-align: center;
    }

    .dataTables_paginate .ellipsis {
        padding: 0 5px;
    }

    /* Start Sales Dashboard css mobile */

    .lob_categories,
    .first_chart_section,
    .second_chart_section,
    .third_chart_section,
    .fourth_chart_section,
    .fifth_chart_section,
    .sixth_chart_section,
    .seventh_chart_section,
    .eighth_chart_section,
    .ninth_chart_section {
        width: 100% !important;
    }

    .lob_categories>h2 {
        width: 100% !important;
        text-align: left !important;
        font-size: 15px !important;
        font-weight: 400 !important;
    }

    .stages_table>h2 {
        font-size: 15px;
        width: 65%;
        text-align: left;
    }

    /* End Sales Dashboard css mobile */
    /* Start Agent Dashboard css mobile */

    #card_container {
        width: 100% !important;
        padding: 12px !important;
        box-sizing: border-box;
    }

    #card_container>div {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    #card_container p {
        width: 100% !important;
        margin: 0;
    }

    #card_container p a {
        display: block;
        width: 100%;
        word-break: break-word;
        white-space: normal;
        margin-left: 0 !important;
    }

    #card_container div[title] {
        width: 100% !important;
        text-align: left !important;
        padding-right: 0 !important;
        font-size: 13px;
    }

    #taskTitle {
        white-space: normal !important;
        word-break: break-word;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .top_leads {
        min-width: 950px;
    }

    .top_leads td,
    .top_leads th {
        /*        white-space: nowrap;*/
    }

    .leads {
        padding: 15px;
        height: auto !important;
        max-height: none !important;
    }

    .table-container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .top_leads {
        min-width: 1100px;
        width: 1100px;
    }

    /* Activities Card */
    .activity .stages_table {
        padding: 15px;
    }

    /* Heading + Filter */
    .activity .dropdown-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 12px 0;
        position: relative;
        right: 0;
        left: 0;
        width: 100% !important;
    }

    .activity .filter-text {
        font-size: 14px;
        font-weight: 600;
    }

    .activity .dropdown-wrapper select {
        width: 100% !important;
        max-width: 100%;
    }

    /* Tabs */
    .activity .dashboard_tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    .activity .dashboard_tabs .tab-div {
        flex: 0 0 auto;
        min-width: 110px;
        text-align: center;
        white-space: nowrap;
    }

    /* Table */
    .activity .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #activitiesTable {
        /*                min-width: 650px;*/
        width: 100% !important;
        min-width: 100% !important;
        display: block;
    }

    #activitiesTable th,
    #activitiesTable td {
        white-space: nowrap;
    }

    /* End Agent Dashboard css mobile */

    .userLogin.mb-4 .row.justify-content-center {
        width: unset;
    }

    .fourth_container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        height: unset !important;
    }

    .carrier_chart,
    .top_states {
        width: 100% !important;
        max-width: 100%;
    }

    .carrier_chart {
        padding: 15px;
        box-sizing: border-box;
    }

    .carrier_chart h2,
    .top_states h2 {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 10px;
        text-align: left !important;
    }

    .carrier_chart h2 {
        padding-left: 0px !important;
    }

    .top_states_filter {
        display: flex;
        /*                flex-direction: column;*/
        align-items: flex-start;
        gap: 10px;
    }

    .policy_count_filter {
        width: 100%;
    }

    .policy_count_filter select {
        width: 100%;
        max-width: 120px;
    }

    .table_container {
        overflow-x: auto;
    }

    .chart_tables {
        min-width: unset !important;
    }

    .chart_tables th,
    .chart_tables td {
        font-size: 13px;
        white-space: nowrap;
    }

    canvas {
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
    }

    .states_div img,
    .no_data_img img {
        max-width: 100%;
        height: auto;
    }

    .chart_toggle {
        width: 35px;
        height: 35px;
    }

    .fifth_container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .clientby_active_policy,
    .client_preimum_table {
        padding: 15px;
        overflow-x: auto;
    }

    .clientby_active_policy h2,
    .client_preimum_table h2 {
        font-size: 18px;
    }

    .top_client {
        min-width: 700px;
    }

    .top_client th,
    .top_client td {
        font-size: 13px;
        white-space: nowrap;
    }

    .widget_container {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 15px !important;
    }

    .second_container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .info_card_container {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .first_info_card,
    .second_info_card,
    .third_info_card,
    .fifth_info_card {
        padding: 12px;
    }

    .data h6 {
        font-size: 13px;
    }

    .data p {
        font-size: 18px;
    }

    .lob_policycount_chart h2,
    .revenueChart h2 {
        font-size: 18px !important;
        text-align: left !important;
        padding-left: 0px !important;
    }

    .chart_toggle {
        width: 35px;
        height: 35px;
    }

    canvas {
        width: 100% !important;
        max-height: 300px;
    }

    .third_container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .spare_part {
        padding: 15px;
    }

    .heading_plus_filter {
        /* flex-direction: column;*/
        align-items: flex-start;
    }

    .heading_plus_filter h2 {
        font-size: 18px !important;
        font-weight: 400 !important;
        width: 100% !important;
        text-align: left !important;
    }

    .policy_count_filter {
        width: 100%;
    }

    .policy_count_filter select {
        width: 100%;
        max-width: 120px;
    }

    .dashboard_tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dashboard_tabs div {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        font-size: 13px;
        padding: 10px;
    }

    .dash_intro_container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .profile_menu_div {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        justify-content: flex-end;
    }

    #agent_dropdown_div {
        width: 220px;
        min-width: 220px;
    }

    #selected_agent_name {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dash_intro_container h5 {
        font-size: 18px;
        margin: 0;
        white-space: nowrap;
    }

    .dash_intro_container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }

    .dash_intro_container h5 {
        margin: 0;
        font-size: 18px;
    }

    .profile_menu_div {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    #agent_dropdown_div {
        flex: 1;
    }

    #agent_dropdown {
        width: 100%;
    }

    /* Policies Heading */
    #button {
        display: flex;
        justify-content: flex-start;
    }

    /* Tabs Container */
    .ContactHeading>div:nth-child(2) {
        width: 100%;
        overflow-x: auto;
        padding: 0px 0 !important;
        /* upar niche gap */
        margin: 0px 0;
    }

    .ContactHeading>div:nth-child(2).container {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 5px 0px !important;
        /* left-right space */
    }

    .lead_table_tab {
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 110px !important;
        /* box bada */
        padding: 12px 16px !important;
        /* height & width increase */
        text-align: center;
        border-radius: 8px !important;
        font-size: 14px !important;
    }

    /* Scrollbar ko thoda clean look */
    .ContactHeading>div:nth-child(2).container::-webkit-scrollbar {
        height: 6px !important;
    }

    .ContactHeading>div:nth-child(2).container::-webkit-scrollbar-thumb {
        border-radius: 10px !important;
    }

    /* Assign Button */
    .ContactHeading>div:nth-child(3) {
        margin-right: 0 !important;
        width: 40%;
    }

    #setAgentButton {
        width: 100%;
    }

    /* Icons */
    .ContactHeading>div:last-child {
        justify-content: end;
        width: 100%;
        /*                margin-top: -48px;*/
    }

    .separator_span {
        margin: 0 6px;
        display: inline-block;
        vertical-align: middle;
        height: 21px !important;
    }

    .contact-img-details {
        display: flex !important;
        /*        align-items: flex-start;*/
        gap: 10px !important;
        width: 100% !important;
    }

    #heading-icon {
        flex-shrink: 0;
    }

    .heading-contact-name {
        min-width: 0;
        flex: 1;
    }

    .heading-contact-name h4 {
        font-size: 14px !important;
        height: auto !important;
        line-height: 1.4;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: break-word;
    }

    .header-buttons-container {
        flex-wrap: wrap !important;
        width: 100%;
        justify-content: space-evenly;
    }

    /*        .icon_button {
            width: 42px;
            height: 42px;
        }*/

    #tabs_container_header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        height: 100px !important;
        margin: 10px 0px;
    }

    /* Tabs Row */

    #tabs_container_header_one::-webkit-scrollbar {
        height: 5px;
    }

    .tab-div {
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }

    /* More Dropdown */
    .btn-group {
        flex-shrink: 0;
    }

    /* Buttons */
    #tabs_container_header_second {
        width: 100%;
    }

    .right-tab-buttons {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .tab-btn {
        flex: 1;
        min-height: 42px;
    }

    #tabs_container_header_one {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    #tabs_container_header_one>* {
        flex: 0 0 auto;
    }

    .tab-div {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .third-tab-container.tab_detail_container {
        flex-direction: column;
    }

    #second_section_3 {
        width: 100% !important;
    }

    div#first_section_3 {
        width: 100% !important;
    }

    .tabs-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .single-tab-click {
        flex: 0 0 auto;
        white-space: nowrap;
        min-width: 120px;
        text-align: center;
    }

    /* Pending Task Header */
    .tasksContainer .mt-2:first-child {
        /*        flex-wrap: wrap;*/
        gap: 10px;
        margin-bottom: 21px;
    }

    .tasksContainer h4 {
        width: 100% !important;
        margin-bottom: 12px;
        margin-top: 12px !important;
    }

    /* Notes Header */
    .notesContainer .mt-2 {
        justify-content: space-between !important;
    }

    #FollowUpDueDate {
        width: 100% !important;
    }

    /* Pending & Completed Containers */
    #upperContainer,
    #lowerContainer {
        height: auto !important;
        min-height: 250px;
        max-height: 400px;
    }

    /* All Tables */
    .commonTable,
    .top_activities {
        /*        display: block;*/
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
    }

    /* Buttons */
    .taskbtn,
    .notebtn {
        min-width: 40px;
        height: 40px;
    }

    #navbarCollapse {
        padding: 15px;
    }

    .menu-ul {
        width: 100%;
        margin-top: 10px !important;
        padding-top: 0 !important;
        align-items: flex-start !important;
    }

    .menu-ul .nav-item {
        width: 100%;
        margin-bottom: 8px;
    }

    .menu-ul .nav-link {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }

    .menu-ul .nav-link i {
        min-width: 20px;
        text-align: center;
    }

    #search_main_container {
        width: 100%;
    }

    #search_child_container {
        width: 100%;
    }

    h2 {
        font-size: 18px;
    }

    .widget,
    .stages_table,
    .carrier_chart,
    .clientby_active_policy,
    .client_preimum_table,
    .leads,
    .taskList {
        padding: 15px;
    }

    /* Tables */

    table {
        min-width: 700px;
    }

    th,
    td {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Buttons */

    button,
    .tab-btn,
    .icon_button {
        /*                min-height: 42px;*/
    }

    /* Tabs */

    .dashboard_tabs .tab-div {
        min-width: 120px;
        text-align: center;
    }

    /* Forms */

    .form-control {
        width: 100%;
    }
}

/* ==========================================
   Mobile Small (375px - 575px)
========================================== */
@media screen and (max-width: 575px) {

    #piplines-select {
        width: 50% !important;
    }

    .section_1 .btn_top_section {
        display: block !important;
    }

    .section_1 button.button {
        width: 100% !important;
    }

    .section_1 .main_para {
        width: 100% !important;
        font-size: 14px !important;
    }

    .section_1_listing>div>ul>li>span {
        font-size: 16px;
    }

    .small_section .main_heading {
        font-size: 25px !important;
    }

    .small_section {
        padding: 30px !important;
        padding-bottom: 0px !important;
    }

    .small_section>div {
        width: 100% !important;
    }

    .small_section .main_para.info_box {
        padding: 0;
        font-size: 16px !important;
    }

    .section_2 .section_21 {
        padding: 1rem;
    }

    .section_2 .section_2_heading {
        font-size: 25px !important;
        margin-bottom: 1rem !important;
    }

    .section_21>ul,
    .section_22>ul {
        margin-left: 0;
    }

    .section_21>ul>li,
    .section_22>ul>li {
        font-size: 16px !important;
        align-items: baseline !important;
    }

    .section_4 {
        padding: 1rem 1rem !important;
    }

    .section_4 .section_4_heading {
        font-size: 25px;
        line-height: 25px;
    }

    .section_4 .section_4_para {
        font-size: 16px;
        margin-top: 12px;
    }

    .section_4_contaier .section_42 .section_4_para,
    .section_4_contaier .section_41 .section_4_para {
        font-size: 1.3rem;
        margin-bottom: 16px !important;
    }




    /*  opportunity page css  */

    .modal .classForFourGrids {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .modal .classForFourGrids>.form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .modal .classForFourGrids .form-label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 4px !important;
    }

    .modal .classForFourGrids .form-control,
    .modal .classForFourGrids select,
    .modal .classForFourGrids input,
    .modal .classForFourGrids textarea,
    .modal .classForFourGrids p {
        /*        width: 100% !important;*/
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /*contacts popup model css fix*/

    #ContactDetailModal .classForFourGrids {
        grid-template-columns: 1fr !important;
    }

    /* Lead page popup form css*/



    .form-check.col-sm-4.ml-3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 21px !important;
        margin-bottom: 5px;
    }

    .form-check.col-sm-4.ml-3 .form-check-input {
        margin-left: -1.25rem !important;
    }

    .form-check.col-sm-4.ml-3 .form-check-label {
        margin-left: 7px !important;
    }


    .back-button {
        width: 100%;
    }

    .error-messages {
        font-size: 15px !important;
    }

    .page-title {
        font-size: 24px;
    }

    .page-sub {
        font-size: 13px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .panel-title {
        font-size: 15px;
    }

    .carrier-avatar {
        width: 42px;
        height: 42px;
    }

    .badge-status {
        font-size: 10px;
        padding: 4px 8px;
    }

    #second-container {
        flex-direction: column;
    }

    [id^="box"] {
        width: 100% !important;
    }

    .back-button {
        /*        justify-content: center;*/
    }

    .back-button .icon_button {
        width: 38px;
        height: 38px;
    }

    .heading-contact-name h4 {
        font-size: 13px !important;
    }

    /* Start Sales Dashboard css  */
    .stages_table {
        padding: 12px;
    }

    .stages_table h2 {
        font-size: 16px;
    }

    .top_opportunity {
        min-width: 600px;
    }

    .top_opportunity th,
    .top_opportunity td {
        font-size: 12px;
    }

    .view-all-link {
        font-size: 13px;
    }

    /* End Sales Dashboard css  */

    .menu-ul .nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }

    .clientby_active_policy,
    .client_preimum_table {
        padding: 12px;
    }

    .clientby_active_policy h2,
    .client_preimum_table h2 {
        font-size: 16px;
    }

    .top_client th,
    .top_client td {
        font-size: 12px;
        padding: 8px;
    }

    .lob_policycount_chart,
    .revenueChart {
        padding: 15px !important;
    }

    .data h6 {
        font-size: 12px;
    }

    .data p {
        font-size: 16px;
    }

    .icon {
        width: 42px;
        height: 42px;
    }

    .icon i {
        font-size: 18px;
    }

    .chart_tables th,
    .chart_tables td {
        font-size: 12px;
        white-space: nowrap;
    }

    .heading_plus_filter h2 {
        font-size: 15px !important;
        width: 80%;
    }

    .dashboard_tabs div {
        flex: 1 1 100%;
        font-size: 12px;
    }

    .policy_count_filter {
        font-size: 12px;
    }

    .policy_count_filter select {
        font-size: 12px;
    }

    .lead_table_tab {
        font-size: 12px;
        padding: 8px 12px;
    }

    #setAgentButton {
        font-size: 14px;
    }

    .single-tab-click {
        min-width: 100px;
        font-size: 13px;
        padding: 10px;
    }

    .tasksContainer,
    .notesContainer,
    .activityContainer,
    .linkedRecordcontainer {
        padding: 8px !important;
    }

    h4 {
        font-size: 1rem !important;
    }

    #followUpDropdown {
        width: 230px !important;
    }

    h2 {
        font-size: 16px;
    }

    table {
        min-width: 650px;
    }

    th,
    td {
        font-size: 12px;
    }

    .dashboard_tabs .tab-div {
        min-width: 100px;
        font-size: 12px;
    }

    /* Lead page or Edit Lead page */

    .top {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        gap: 10px;
    }

    /* Remove DataTables float */
    .dataTables_length,
    .dataTables_filter {
        float: none !important;
    }

    /* First Row */
    .top-dropdown {
        width: 100%;
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }

    /* Second Row */
    .dataTables_length {
        width: 45%;
    }

    .dataTables_filter {
        width: 55%;
        display: flex;
        justify-content: flex-end;
    }

    .dataTables_filter input {
        width: 120px !important;
        margin-left: 5px !important;
    }



}

/* ==========================================
   Extra Small Devices (320px - 374px)
========================================== */
@media screen and (max-width: 374px) {

    .clientby_active_policy h2,
    .client_preimum_table h2 {
        font-size: 15px;
    }

    .top_client th,
    .top_client td {
        font-size: 11px;
        padding: 6px;
    }

    .top_client {
        min-width: 650px;
    }

    .lob_policycount_chart h2,
    .revenueChart h2 {
        font-size: 16px;
    }

    .data p {
        font-size: 14px;
    }

    .icon {
        width: 38px;
        height: 38px;
    }

    .icon i {
        font-size: 16px;
    }

    .spare_part {
        padding: 12px;
    }

    .heading_plus_filter h2 {
        font-size: 10px !important;
    }

    .dashboard_tabs div {
        font-size: 11px;
        padding: 8px;
    }

    .policy_count_filter {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .policy_count_filter select {
        width: 100%;
    }
}