/*Layoutlogin*/
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 95% !important;
    }
}

.linkAnalysisICONG {
    display: inline-block; /* Ensures it respects width/height */
    width: 24px; /* Set based on your image size */
    height: 24px;
    background-image: url('../images/icons/linkanalysisicon.png');
    background-size: contain; /* Ensures image scales inside the element */
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none; /* Optional: removes underline */
}

.propertyQueryICONG {
    display: inline-block; /* Ensures it respects width/height */ 
    width: 24px; /* Set based on your image size */
    height: 24px;
    background-image: url('../images/icons/propertyqueryicon.png');
    background-size: contain; /* Ensures image scales inside the element */
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none; /* Optional: removes underline */
}

.wlCreatedDate {
}

.wlExpirationDate {
}

.carousel .carousel-control .fa {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    text-align: center;
    line-height: 30px;
    margin-left: -15px;
}

.carousel .carousel-control.left .fa {
    margin-left: 15px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}
/*Layoutlogin*/

.btn-watchList {
    /*height: 30px !important;
    display: flex;*/
    cursor: pointer;
}

.deactivateLink {
    cursor: default;
    color: inherit;
}

.customHR2 {
    border: 3px solid #157DB4;
    border-radius: 2px;
    opacity: 1;
}

/*IRIS*/
.rounded-buttonIRIS {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px; /* Adjust the value to control the roundness of the button */
    background-color: #333; /* Black-gray background */
    color: white; /* Text color */
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}

    .rounded-buttonIRIS:hover {
        background-color: #555; /* Darker shade of black-gray on hover */
    }

.svg-iconIRIS {
    width: 20px; /* Adjust the width of the SVG image */
    height: 20px; /* Adjust the height of the SVG image */
    margin-right: 10px; /* Add space between the SVG image and the text */
    vertical-align: middle; /* Align the SVG image vertically with the text */
}
/*IRIS*/

/*link analysys*/
.jtimelinePanel {
    /*    overflow-x: scroll !important;*/
    max-width: 1250px !important;
    height: 300px !important;
}
/*MAP RAP*/
.map_la_content {
    max-width: 120px;
    display: flex;
    flex-wrap: wrap;
    /*    border: 2px solid black;
    border-radius: 5px;
    margin:5px;*/
}

.map_la_type {
    color: green !important;
}

.map_la_Agency {
    color: lightslategray !important;
}

.map_la_Date {
    color: black !important;
}

.map_la_Extra {
    color: black !important;
}

/*MAP RAP*/

#leadSheetWrap {
    display: flex;
    justify-content: center;
}

.colorTextNightV {
    background-color: lightgray;
    border-radius: 3px;
    opacity: 1
}

[data-bs-theme="dark"] .colorTextNightV {
    background: #222 !important;
}

.rptContent {
    background-image: url('finderwm2.png') !important;
    background-repeat: repeat-y !important;
    background-position: top !important;
    background-size: contain !important;
    width: 100%;
    height: 100%;
    -webkit-background-size: contain !important; /* For WebKit*/
    -moz-background-size: contain !important; /* Mozilla*/
    -o-background-size: contain !important; /* Opera*/
    background-size: contain !important; /* Generic*/
    z-index: 1;
    filter: none !important;
}

.rptLinkAnalysis {
    background-image: none !important;
}

.rptContent.show-bg {
    background-image: url('finderwm2.png') !important;
    background-repeat: repeat-y !important;
    background-position: top !important;
    background-size: contain !important;
    min-height: 75vh !important;
}

/*TIME LINE*/
.tl_EventUp {
    background-color: yellow !important;
}

.tl_content {
    max-width: 130px;
    display: flex;
    flex-wrap: wrap;
}

.tl_type {
    color: green !important;
    font-weight: bold !important;
}

.tl_Agency {
    color: lightslategray !important;
    font-weight: bold !important;
    font-size: medium !important;
}

.tl_Date {
    color: black !important;
    font-weight: bold;
}

.tl_Extra {
    color: #31B2D7 !important;
}

.tl_Days {
    color: red !important;
    margin-top: -20px;
}
/*TIME LINE*/

/*link analysys*/

/*for the grid*/
.fixed-header {
    top: 80px;
    /*width: auto;
            border-color: red;*/
    position: fixed;
    z-index: 1;
    background-color: lightsteelblue !important;
}

    .fixed-header th {
        background-color: lightsteelblue !important;
    }

    .fixed-header parent {
        overflow-x: auto !important;
    }

.resultsDIV {
    overflow-x: auto !important;
}

.table-responsive {
    overflow-x: auto !important;
}

/* to top  */
a.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    /*text-indent: -9999px;*/
    position: fixed;
    z-index: 999;
    right: 15px;
    bottom: 80px;
    background: #0d6efd url('../images/up-arrow.png') no-repeat center 43%;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

#upBtn {
    padding-top: 33px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

/* The loader container */
.loader {
    position: fixed; /* Fixes the loader at the top of the screen */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensures it stays on top */
}

/* Loader text styling */
#loaderText {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/****** ANalysis *******/

@media (min-width: 768px) and (max-width: 1033px) {
    .sidebar-wrapper {
        margin-top: 180px !important;
    }

    .sidebar {
        margin-top: 180px !important;
    }
}

@media (max-width: 1467px) {
    .sidebar-wrapper {
        margin-top: 50px !important;
    }

    .sidebar {
        margin-top: 50px !important;
    }
}

/*#GoogleWrapHM {
    position: fixed;
    right: 25px;
    bottom: 85px;
    z-index: 99999999;
    background-color: transparent;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px 10px;*/ /* Safari  */
/*-moz-border-radius: 5px 10px;*/ /* Firefox */
/*}

#GoogleWrapRS {
    position: fixed;
    right: 25px;
    bottom: 85px;
    z-index: 99999999;
    background-color: transparent;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px 10px;*/ /* Safari  */
/*-moz-border-radius: 5px 10px;*/ /* Firefox */
/*}*/

#searchBOXRS {
    height: 450px;
    margin-top: 55px;
    background: white;
    position: absolute;
    z-index: 999; /*//changed on ver 5067*/
    /*    background-color: white;*/
    /*background-color: rgba(0,0,0,0.5);*/
    width: 350px;
    margin-right: auto;
    margin-left: auto;
    /*    border: solid;*/
    -webkit-border-radius: 5px 10px; /* Safari  */
    -moz-border-radius: 5px 10px; /* Firefox */
    /*    opacity: 0.85;*/
    /*background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.75));*/
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8));
    /*    border: solid 1px;
    border-color: red;*/
    -webkit-box-shadow: 1px 1px 3px 48px #a2a1a1 /*#777777;*/ /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 1px 1px 3px 4px #a2a1a1; /* Firefox 3.5 - 3.6 */
    box-shadow: 1px 1px 3px 4px #a2a1a1; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

[data-bs-theme="dark"] #searchBOXRS {
    background: linear-gradient( rgba(var(--bs-body-bg-rgb), 0.95), rgba(var(--bs-body-bg-rgb), 0.95) );
}

/*relation search*/
#searchBoxContentRS {
    /*    background-color: green;*/
    height: 280px;
}

#searchResultsdivRS {
    height: 120px;
    width: 325px;
    margin-bottom: 10px;
    right: 0%;
    z-index: 999;
    background-color: var(--bs-body-bg-rgb) !important; /* rgba(128,128,128,0);*/
    /*    opacity: 1.0; */
    border: solid 0.5px;
    border-color: darkgray;
    overflow-y: auto;
    -webkit-border-radius: 5px 10px; /* Safari  */
    -moz-border-radius: 5px 10px; /* Firefox */
}

.analyticsTitle {
    font-weight: bold;
}

.extraTopBtnRS {
    margin-top: 150px !important;
}

.extraTopBtnHM {
    margin-top: 70px !important;
}

.ui-multiselect-menu {
    position: absolute !important;
    z-index: 1011 !important;
    width: 210px !important;
}

/*    .ui-multiselect-menu .element {
        height: 250px !important;
    }*/

.ui-multiselect-checkboxes {
    height: 350px !important;
}

.ui-multiselect {
    width: 210px !important;
}

/***** NEW analytics ****/
#chartInfoH {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapSelectAgencyA {
}

    .wrapSelectAgencyA label {
        color: whitesmoke;
        float: left;
        margin-left: 10px;
        margin-bottom: 3px;
    }


    .wrapSelectAgencyA select {
        margin-left: 5px;
        right: -10px !important;
        width: 210px !important;
    }

.divAnalyticsRT {
    margin-top: 7px;
    margin-bottom: 7px;
}

.divAnalyticsRTSel {
    overflow-y: scroll;
    max-height: 70px;
    min-height: 70px;
    /*width: 300px;*/
    border: 1px solid grey;
    border-color: darkgray;
    overflow-y: auto;
    -webkit-border-radius: 5px 10px;
}


.divAnalyticsRTSelCB {
    float: left;
    width: 15%;
}

.divAnalyticsRTSelLabel {
    float: left;
    width: 80%;
    text-align: left;
}

.breakAStat {
    height: 27px;
    width: 80px;
}

.cntOS {
}

.titleOpt {
    color: Black;
}

.parentSt {
    padding: 8px;
}

.titleOS {
    font-weight: bold;
}

.contentOS {
    color: red;
}

.float-container {
    /*border: 3px solid #fff;*/
    padding: 15px;
}

.float-child {
    width: 50%;
    float: left;
    padding: 20px;
    /* border: 2px solid red;*/
}

.statsBOX {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    overflow-y: auto;
    border: 2px solid gray;
    margin-top: -35px;
    border-radius: 8px;
    -moz-border-radius: 8px;
}

.requiredFieldAna {
    border: 2px solid red;
}

.leaflet-draw-toolbar .leaflet-draw-draw-polyline {
    background-image: url(../css/LeafLet/images/icon.png) !important;
    background-size: 23px 23px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-top: 5px !important;
    margin-left: 5px !important;
}

.leaflet-div-icon {
    background: blue;
    border: 1px solid rgba(255,255,255,0.5);
    color: red;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    height: 12px !important;
    width: 12px !important;
}

/****************RECIPERO *******/
.headingIMEI {
    font-size: 25px;
    font-weight: bold;
}

.search-containerIMEI {
    /*margin-left: 34%;*/
    display: flex; /* This will align items horizontally */
    /*align-items: center;*/ /* This will vertically center the items in the container */
    gap: 10px; /* This adds some space between the items */
}

.search-labelIMEI {
    font-weight: bold;
    margin-left: 10px; /* This adds some space after the search button */
}

.containerIMEIImg {
    display: flex; /* Use the flexbox layout */
    justify-content: center; /* Center children horizontally */
    align-items: center; /* Center children vertically */
}

.imei_help {
    max-width: 24%;
    height: auto;
}

[data-bs-theme="dark"] .imei_dark {
    filter: invert(1);
}

.headingHelpIMEI {
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
}

.containerHelpIMEI {
    display: flex;
}

.textContentHelpIMEI {
    width: 400px;
    text-align: left;
    float: left;
}

.db_contents {
    font-size: 16px;
    width: 350px;
}

    .db_contents li {
        width: 300px;
    }

.recipero {
    font-size: 16px;
}

.database {
    width: 310px;
}

.imageContentHelpIMEI {
    width: 200px;
    float: right;
}

/*SINGLE SEARCH*/

#GoogleWrap {
    position: fixed;
    right: 25px;
    bottom: 85px;
    z-index: 99999999;
    background-color: transparent;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 5px 10px; /* Safari  */
    -moz-border-radius: 5px 10px; /* Firefox */
}

/*NIBIN*/
.btnSearchAllNIBIN {
    position: fixed;
    right: 1px;
    top: 130px;
    width: 38px;
    z-index: 9999 !important;
}

.btnSearchAutoNIBIN {
    position: fixed;
    right: 1px;
    top: 165px;
    width: 38px;
    z-index: 9999 !important;
}
/*NIBIN*/

.btnToogleDots {
    position: fixed;
    right: 1px;
    /*top: 130px;*/
    top: 255px;
    width: 38px;
    z-index: 9999 !important;
}

.btnSearchBox {
    position: fixed;
    right: 1px;
    /*top: 130px;*/
    top: 235px;
    width: 38px;
    z-index: 9999 !important;
}

.btnClearAll {
    position: fixed;
    right: 1px;
    /*top: 165px;*/
    top: 270px;
    width: 38px;
    z-index: 9999 !important;
}

.btnClosePopUps {
    position: fixed;
    right: 1px;
    /*top: 200px;*/
    top: 305px;
    width: 38px;
    z-index: 9999 !important;
}

.btnFilterFirearm {
    position: fixed;
    right: 1px;
    /*top: 235px;*/
    top: 340px;
    width: 38px;
    z-index: 9999 !important;
}

.btnFilterCartridge {
    position: fixed;
    right: 1px;
    /*top: 235px;*/
    top: 375px;
    width: 38px;
    z-index: 9999 !important;
}

.btnFilterDrug {
    position: fixed;
    right: 1px;
    /*top: 235px;*/
    top: 405px;
    width: 38px;
    z-index: 9999 !important;
}

.btnFilterVehicle {
    position: fixed;
    right: 1px;
    /*top: 235px;*/
    top: 445px;
    width: 38px;
    z-index: 9999 !important;
}


.btnResultBox {
    position: fixed;
    right: 1px;
    top: 235px;
    width: 38px;
    z-index: 9999 !important;
}

.mapResultBox {
    position: fixed;
    outline: none;
    left: 250px;
    right: -1px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: -35px;
    /*    margin-top: 0px;*/
}

.loaderSS {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/ajax-loader-Big.gif') 50% 50% no-repeat rgba(255,255,255);
}

[data-bs-theme="dark"] .loaderSS {
    filter: invert(1);
}

#searchBOX {
    position: absolute;
    z-index: 999; /*//changed on ver 5067*/
    /*    background-color: white;*/
    /*background-color: rgba(0,0,0,0.5);*/
    width: 350px;
    margin-right: auto;
    margin-left: auto;
    /*    border: solid;*/
    -webkit-border-radius: 5px 10px; /* Safari  */
    -moz-border-radius: 5px 10px; /* Firefox */
    /*    opacity: 0.85;*/
    /*background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.75));*/
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8));
    /*    border: solid 1px;
    border-color: red;*/
    -webkit-box-shadow: 1px 1px 3px 48px #a2a1a1 /*#777777;*/ /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 1px 1px 3px 4px #a2a1a1; /* Firefox 3.5 - 3.6 */
    box-shadow: 1px 1px 3px 4px #a2a1a1; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

[data-bs-theme="dark"] #searchBOX {
    background: linear-gradient( rgba(var(--bs-body-bg-rgb), 0.95), rgba(var(--bs-body-bg-rgb), 0.95) );
}

#searchBoxContent {
    margin-left: 30px;
    margin-right: 30px;
}

#searchResults {
    position: absolute;
    z-index: 9999999;
    background-color: #F5F5F5;
    width: 250px;
    height: 300px;
    top: 225px !important;
    right: 0%;
    border: solid;
    overflow-y: auto;
    -webkit-border-radius: 5px 10px; /* Safari  */
    -moz-border-radius: 5px 10px; /* Firefox */
}

.searchBoxFilterTDContent {
    /*min-width: 215px;
    max-width: 215px;*/
    width: 195px;
    max-width: 195px !important;
    /*white-space: nowrap;*/
    word-wrap: break-word;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

/*SINGLE SEARCH*/


.searchSubmitButtonH {
    background-color: #157DB4;
    color: white;
}

.sticky-container {
    position: sticky;
    top: 0; /* Keeps the container stuck at the top of the viewport when scrolling */
    display: flex;
    width: 100%;
}

.flex-leftH {
    flex: 0 0 90%; /* First div takes up 85% width */
}

.flex-rightH {
    flex: 0 0 10%; /* Second div takes up 15% width */
    margin-left: -38px !important;
    z-index: 999 !important;
}

@font-face {
    font-family: 'manifoldcf-regular';
    src: url('fonts/manifoldcf-regular.otf') format('opentype');
}

@font-face {
    font-family: 'manifoldcf-bold';
    src: url('fonts/manifoldcf-bold.otf') format('opentype');
}

html {
    /*    font-size: 13px;*/
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'manifoldcf-regular' !important;
}

.fontBold {
    font-family: 'manifoldcf-bold' !important;
}

.backL {
    background-image: url('../images/login_page_bg_dark.png');
    color: white !important;
}

.marginTopLayOut {
    margin-top: 90px;
}

.navMenuTopLayOut {
    margin-top: 10px;
}

@media only screen and (min-width: 1000px) {
    .fixed-top {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        /*     z-index: 1030;*/
        height: 80px;
    }
}

.topNavBar {
    background-color: #E8E8E8 !important;
    color: black !important;
}

[data-bs-theme="dark"] .topNavBar {
    background-color: #222 !important;
    color: #fff !important;
    border-bottom: none !important;
}

.topNavBar .headerTextColor {
    color: black;
    font-weight: bold;
}

[data-bs-theme="dark"] .topNavBar .headerTextColor {
    color: White !important;
}

.sidebarTextColor {
    color: white !important;
}

.nav a span {
    text-wrap: wrap !important;
}

/* .topNavBar a:visited {
        color: #000;
    }
    .topNavBar a:hover {
        color: #000;
    }
    .topNavBar a:active {
        color: #000;
    }*/
.divLogoFINDER {
    left: 0px !important;
    /* margin-left: -15px !important; */
    background-color: #0C1B32 !important;
    max-width: 250px !important;
    min-width: 211px !important;
    height: 80px !important;
    align-content: center !important;
    margin: auto;
}

.aLogoFINDER {
    margin-left: 18%;
}

@media (max-width: 999px) {
    .wrapLeftIcons {
        height: calc(100vh - 63px) !important;
        margin-top: 63px !important;
    }

    .wrapLeftIconsHidden {
        height: calc(100vh - 63px) !important;
        margin-top: 63px !important;
    }
}

@media (max-width: 991px) {
    .wrapLeftIcons {
        height: calc(100vh - 57px) !important;
        margin-top: 57px !important;
        width: 212px !important;
    }

    .wrapLeftIconsHidden {
        height: calc(100vh - 57px) !important;
        margin-top: 57px !important;
        width: 212px !important;
    }
}

@media (max-width: 768px) {
    .wrapLeftIcons {
        margin-top: 21px !important;
    }

    .wrapLeftIconsHidden {
        margin-top: 21px !important;
    }
}

.wrapLeftIcons {
    background-color: #162B4B;
    /*min-height: calc(100vh - 64px);*/
    max-width: 250px;
    height: calc(100vh - 80px);
    overflow-x: hidden;
    position: fixed;
    margin-top: 80px;
}

.wrapLeftIconsHidden {
    background-color: #162B4B;
    /*min-height: calc(100vh - 64px);*/
    max-width: 250px;
    height: calc(100vh - 80px);
    overflow-x: hidden;
    position: relative;
    margin-top: 80px;
}

.wrapLeftIcons-overflow {
    /*height: calc(100vh - 64px);*/
    overflow: auto;
}

.wrapLeftIcons-overflow-Override {
    /*height: calc(100vh - 120px);*/
    overflow: auto;
}

.wrapLeftIcons .nav .active {
    background-color: #157DB4 !important;
}

/* Changes the background color when hovering the side bar */
.wrapLeftIcons .nav > li > a:hover {
    background-color: #157DB4 !important;
}

/*Below is for collapsing the side bar menu to be icons only */
.wrapLeftIcons.collapsed {
    width: 92px;
}

    .wrapLeftIcons.collapsed .px-md-3 {
        padding: 0px !important;
    }

    .wrapLeftIcons.collapsed .nav-link .d-sm-none {
        display: inline !important;
    }

    .wrapLeftIcons.collapsed .nav-link img {
        margin-left: 10px !important;
    }

    .wrapLeftIcons.collapsed .nav-link span {
        display: none !important;
    }

.wrapLeftIconsHidden.collapsed {
    width: 92px;
}

    .wrapLeftIconsHidden.collapsed .px-md-3 {
        padding: 0px !important;
    }

    .wrapLeftIconsHidden.collapsed .nav-link .d-sm-none {
        display: inline !important;
    }

    .wrapLeftIconsHidden.collapsed .nav-link img {
        margin-left: 10px !important;
    }

    .wrapLeftIconsHidden.collapsed .nav-link span {
        display: none !important;
    }

.wrapLeftLogo {
    background-color: #162B4B;
    position: fixed !important;
    max-width: 250px !important;
}

.toggle-btn {
    position: absolute;
    right: 5px;
    top: 0px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.collapsed .toggle-btn {
    transform: rotate(180deg);
}

@media (max-width: 999px) {
    .divLogoFINDER {
        height: 63px !important;
    }
}

@media (max-width: 991px) {
    .divLogoFINDER {
        height: 57px !important;
    }

    .wrapLeftLogo {
        top: 0px;
    }
}

/*@media (max-width: 768px) {
    .divLogoFINDER {
        display: none;
    }
}*/

.iconLeft {
    width: 30px;
}

[data-bs-theme="dark"] .navbar .iconLeft {
    filter: invert(1);
}

.welcomeWrap {
    /*    background-color: #E8E8E8 !important;*/
    background-color: rgba(232, 232, 232, 1) !important;
    border: 1px solid rgba(232, 232, 232, 1);
    border-radius: 5px;
}

[data-bs-theme="dark"] .welcomeWrap {
    background-color: transparent !important;
    border-color: rgba(60, 60, 60, 1);
}

.searchWrap {
    /*    background-color: #E8E8E8 !important;*/
    border: 5px solid #C503FF;
    border-radius: 5px;
    color: white !important;
}

.searchIconBG {
    background-color: white !important;
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .searchIconBG {
    background-color: #212529 !important;
}

#tb_searachText.form-control:focus {
    border-color: var(--bs-border-color) !important;
}

.recentWrap {
    /*    background-color: #00C6FF !important;*/
    background-color: rgba(0, 198, 255, 0.2) !important;
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 5px;
}

.boxSearch {
    margin-right: 3%;
    margin-left: 3%;
}

.iconSearch {
    width: 35px;
}

.homeLinkBox {
    /*background-color: #00C6FF !important;*/
    background-color: rgba(0, 198, 255, 0.1) !important;
    font-size: 12px;
}

[data-bs-theme="dark"] .homeLinkBox {
    background-color: transparent !important;
    border-color: rgba(60, 60, 60, 1) !important;
}

.footer {
    line-height: 25px !important;
    z-index: -10 !important;
}

.footerWrap {
    font-size: 10px !important;
}

.tbLogin {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.btnLoginLog {
    /*    width: 30%;*/
    padding: 5px;
    border: none;
    border-radius: 5px;
    background-color: #1e90ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.btnLoginLFogot {
    /*    width: 30%;*/
    padding: 5px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.btnLoginCreate {
    text-align: center;
    border: 2px solid #E8E8E8 !important;
    background-color: darkgrey !important;
}

.lblLogin {
    color: black !important;
}

[data-bs-theme="dark"] .lblLogin {
    color: var(--bs-body-color) !important;
}

.wrapTitleLofin {
    text-align: left;
}

.parent {
    /*    border: 1px solid black;*/
    /*    margin: 1rem;
    padding: 2rem 2rem;
    text-align: center;*/
}

.child {
    display: inline-block;
    /*    border: 1px solid red;*/
    /*    padding: 1rem 1rem;
    vertical-align: middle;*/
}

.cardIndex {
    padding-left: 5px;
    padding-right: 5px;
}

.cardIcon {
    display: block;
    max-width: 100%;
    height: auto;
    width: 15em;
    margin-left: auto;
    margin-right: auto;
}

.card-footer-custom {
    padding: .5rem 1rem;
}

.card-text {
    font-size: 14px !important;
}

.card-link {
    color: black !important;
    text-decoration: none !important;
}

.card-footer-custom span {
    color: #31748E;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

/*********************side bars***************************/

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

    #wrapper.toggled {
        padding-left: 250px;
    }

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 0px;
    width: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    padding-bottom: 5%;
    background-color: rgba(232, 232, 232, 1) !important;
}

[data-bs-theme="dark"] #sidebar-wrapper {
    background-color: #222 !important;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

.sidebarContent {
    margin-top: -20px;
}

/* Sidebar Styles */
@media (min-width: 768px) and (max-width: 999px) {
    #sidebar-wrapper {
        width: 245px !important;
        margin-top: 63px !important;
        height: calc(100vh - 63px) !important;
    }

    .wrapperBTNLess {
        margin-left: 245px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #sidebar-wrapper {
        width: 212px !important;
        margin-top: 56px !important;
        height: calc(100vh - 57px) !important;
    }

    .wrapperBTNLess {
        margin-left: 212px !important;
    }

    #filterText {
        width: 175px !important;
    }
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 380px;
    }

        #wrapper.toggled {
            padding-left: 0;
        }


    #sidebar-wrapper {
        width: 250px;
        margin-top: 80px;
        height: calc(100vh - 80px);
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }

    /*.wrapperBTNLess {
        margin-top: 77px;
        z-index: 999;
        position: fixed;
        margin-left: 370px;*/ /*//360*/
    /*height: 25px;
        width: 25px;
        background: transparent url('../images/sprite-buttons.png') 0 25px;
        cursor: pointer;
    }

    .wrapperBTNPlus {
        margin-top: 77px;
        z-index: 9999;
        position: fixed;
        margin-left: 0px;
        height: 25px;
        width: 25px;
        background: transparent url('../images/sprite-buttons.png') 0 50px;
        cursor: pointer;
    }*/

    .wrapperBTNLess {
        margin-top: 77px;
        z-index: 999;
        position: fixed;
        margin-left: 250px; /*//360*/
        height: 30px;
        width: 30px;
        background: transparent url('../images/sprite-buttons-new.png') 0 30px;
        cursor: pointer;
    }

    .wrapperBTNPlus {
        margin-top: 77px;
        z-index: 9999;
        position: fixed;
        margin-left: 0px;
        height: 30px;
        width: 30px;
        background: transparent url('../images/sprite-buttons-new.png') 0 55px;
        cursor: pointer;
    }

    #filterText {
        width: 200px;
    }
}


.wlnew_true {
    background-color: yellow !important;
    color: black !important;
}

.maponPage {
    height: 650px !important;
    width: 1200px !important;
}

.greenBtnAlt {
    background-color: forestgreen !important;
    color: white !important;
}

.redBtnAlt {
    background-color: red !important;
    color: white !important;
}

.hideAgencyOnTree {
    display: none;
}

#sidebar-wrapperPanel {
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    /*    border: solid 0.5px;*/
    /*    border-radius: 8px;*/
    /*    border-color: lightgray;*/
    height: 100%;
}

#side-wrapperTrees {
    overflow-y: auto;
    height: 100%;
    overflow-wrap: break-word;
}

    #side-wrapperTrees * {
        white-space: normal;
    }

.btnCloseTransparent {
    background-color: transparent;
    border-color: transparent;
    height: 30px;
    width: 30px;
}

.btnSelectTransparent {
    background-color: transparent;
    border-color: transparent;
    height: 30px;
    width: 30px;
}

.btnCExpandTree {
    background-color: transparent;
    border-color: transparent;
    height: 30px;
    width: 30px;
}

.btnCCollapse {
    background-color: transparent;
    border-color: transparent;
    height: 30px;
    width: 30px;
}


/**********************widget*****************************/
.betterdocs-ia-common-header.home-page-header {
    margin-bottom: 24px !important;
    padding: 40px 12px 0 !important;
}

.betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher, .betterdocs-ia-common-header, .betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-icon, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-submit button, .betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback {
    background-color: #00273e !important;
}

.betterdocs-ia-common-header {
    background: #00b682 !important;
    background-color: #00b682 !important;
    background-image: url(//findersoftware.com/wp-content/plugins/betterdocs-pro/assets/public/css/../images/HeaderBg.03a08e0c.png) !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative !important;
}

    .betterdocs-ia-launcher-wrapper .betterdocs-ia-launcher, .betterdocs-ia-common-header, .betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-icon, .betterdocs-ia-tab-message-container .betterdocs-ia-feedback-form .betterdocs-ia-submit button, .betterdocs-ia-single-docs-wrapper .betterdocs-ia-singleDoc-footer .betterdocs-ia-footer-feedback {
        background-color: #00273e !important;
    }

        .betterdocs-ia-common-header .betterdocs-ia-search .betterdocs-ia-search-icon {
            align-items: center !important;
            /*background-color: #00b682 !important;*/
            border-radius: 50% !important;
            color: #fff !important;
            cursor: pointer !important;
            display: inline-flex !important;
            flex-shrink: 0 !important;
            font-size: 16px !important;
            height: 40px !important;
            justify-content: center !important;
            width: 40px !important;
        }

.betterdocs-ia-search-icon {
    background-color: white !important;
    color: #00273e !important;
    fill: #00273e !important;
}

.betterdocs-ia-home {
    background-color: white !important;
    color: #00273e !important;
    fill: #00273e !important;
}

.betterdocs-ia-search {
    background-color: white !important;
    color: #00273e !important;
    fill: #00273e !important;
}

.betterdocs-ia-tabs li.active svg g path {
    fill: #00273e !important;
    color: #00273e !important;
}

.betterdocs-ia-tabs .active p {
    color: #00273e !important;
    font-weight: 500 !important;
}
/**********************widget*****************************/

/*---------------kendo ----------------*/
.k-i-calendar, .k-select {
    /*    color: whitesmoke !important;
    background-color: #157DB4 !important;*/
}

k-checkbox-wrapper {
    /*c54700*/ /*box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;*/
}

.k-state-focused.k-state-selected {
    /*    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    color: whitesmoke !important;
    background-color: #157DB4 !important;*/
}

.k-state-selected, .k-state-selected:visited {
    /*    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    background-color: #157DB4 !important;
    color: whitesmoke !important;
    background-color: #157DB4 !important;*/
}


k-in, k-link, k-state-selected, k-state-focused {
    /*    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    color: whitesmoke !important;
    background-color: #157DB4 !important;*/
}

.k-checkbox:indeterminate {
    /*    color: white !important;
    background-color: white !important;*/
}

.k-checkbox {
    /*    box-shadow: #157DB4 !important;
    border-color: white !important;
    color: white !important;
    background-color: deeppink !important;*/
}

    .k-checkbox:checked:active {
        /*        box-shadow: #157DB4 !important;
        border-color: whitesmoke !important;
        color: white !important;
        background-color: #157DB4 !important;*/
    }


.k-in .k-link .k-state-selected {
    /*    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    color: white !important;
    background-color: #157DB4 !important;*/
}

/*.k-checkbox:checked {
    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    color: white !important;
    background-color: #157DB4 !important;
    font-weight: bold !important;
}*/

.k-checkbox-label {
    /*    box-shadow: #157DB4 !important;
    border-color: #157DB4 !important;
    color: #157DB4 !important;
    background-color: white !important;*/
}

    .k-checkbox-label::before {
        /*box-shadow: #157DB4 !important;
        border-color: #157DB4 !important;
        color: #157DB4 !important;*/
        /*        background-color: white !important;*/
        /*font-weight: bold !important;*/
    }

    .k-checkbox-label::after {
        /*        box-shadow: #157DB4 !important;
        border-color: #157DB4 !important;
        color: white !important;
        background-color: #157DB4 !important;
        font-weight: bold !important;*/
    }

div.search-OnTrees.center-block {
    /*    margin-bottom: 5px;*/
}

input.k-textbox {
    /*    margin-left: 10px;*/
}

i.fa.fa-search {
    /*    line-height: inherit;*/
}

li.k-item.k-first.k-last {
    /*    padding-bottom: 20%;*/
}

.k-icon {
    /*    height: 30px;*/
    /*    height: 100% !important;*/
}

.k-i-collapse {
    /*    height: 30px;*/
    /*    height:100% !important;*/
}


.k-top k-bot {
    /*    height: 30px;*/
}


.k-checkbox-label {
    /*    height: 30px;*/
}

.k-group {
    /*    height: 30px;*/
}

/*---------------kendo ----------------*/

.container-map {
    height: 100%;
    width: 100%;
    float: right;
    top: 80px;
    /*width: 850px;
    height: 600px;
    margin-left:400px;*/
    /*float: right;*/
}

.pollSlider {
    position: fixed;
    height: 100%;
    width: 90%;
    right: 0px;
    margin-left: 100%;
}

#pollSlider-button {
    position: fixed;
    width: 50px;
    left: 0px;
    top: 300px;
}

#tb_searachText:focus {
    outline: none !important;
    outline-width: 0 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-color: #ced4da !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/**  **/
.inline-container {
    /* Optional: Add some padding or margin to the container */
}

.inline-item {
    display: inline-block; /* Makes the items display inline */
    /*margin: 10px;*/ /* Spacing between items */
    /*padding: 10px;*/
    /*background-color: #f0f0f0;*/ /* Optional background color */
    /*border: 01px solid #ccc;*/ /* Optional border */
}

.main {
    z-index: 9999 !important;
}

.divMFACode {
    width: 150px;
    border: 5px solid red;
    border-radius: 1.5rem;
    box-sizing: border-box;
    border-color: red;
}

/* formats the kendo grid for mobile */
@media screen and (max-width: 800px) {
    .k-window {
        max-width: 90% !important;
        align-content: center !important;
    }

    .k-hierarchy-cell {
        display: none;
    }

    .k-grid table {
        border: 0;
    }

        .k-grid table thead, table colgroup {
            display: none;
        }

        .k-grid table tr {
            margin-bottom: 10px;
            display: block;
            border-bottom: 2px solid #ddd;
        }

        .k-grid table td {
            display: block;
            font-size: 13px;
            border-bottom: 1px dotted #ccc;
        }

            .k-grid table td:before {
                content: attr(data-label);
                float: left;
                text-transform: uppercase;
                font-weight: bold;
            }
}

/*panel ss*/
.panel-titleSS {
    /*    background-color: lightgray;*/
    font-size: 15px;
}

    .panel-titleSS a {
        display: block;
    }

    .panel-titleSS > a:focus, .panel-titleSS > a:hover {
        text-decoration: none;
    }
/*panel ss*/

.deleteNIBINGridsBtn {
    background-color: #ff5b57 !important;
}

.uploadEtraceBtn {
    background-color: #157DB4 !important;
    color: white !important;
}


.linkchartddl > button {
    background-color: deepskyblue !important;
    /*    height: 23px !important;
    max-height: 23px !important;*/
    margin-bottom: 1px !important;
}

.clickable {
    cursor: pointer !important;
}

/* Apply background color to all Kendo UI tooltips */
.k-tooltip {
    background-color: black !important; /* Dark background */
    color: white !important; /* White text */
    box-shadow: none !important; /* Remove any shadow */
}

/* Customize the tooltip arrow (callout) */
.k-callout {
    color: black !important; /* Match arrow color with tooltip */
}

/*for highlight elements on narrative and physical features*/
.HIGHLIGHT {
    font-weight: bold !important;
    /*color: red;*/
    background-color: yellow;
}

[data-bs-theme="dark"] .HIGHLIGHT {
    background-color: rgba(var(--bs-warning-rgb), 0.50);
}

.highlight {
    font-weight: bold !important;
    /*color: red;*/
    background-color: yellow;
}

[data-bs-theme="dark"] .highlight {
    background-color: rgba(var(--bs-warning-rgb), 0.50);
}

.redBorderTextA {
    border: 3px solid #555 !important;
    border-color: red !important;
}

.text-muted {
    color: #6c757d !important;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn:hover {
    color: var(--bs-body-color) !important;
}

.propetyHoldBackground {
    background-color: lightgray;
}

[data-bs-theme="dark"] .propetyHoldBackground {
    background-color: #222 !important;
}

[data-bs-theme="dark"] [style*="background-color: rgb(252, 243, 207)"] {
    background-color: #1e1e1e !important; /* new dark color */
    color: #fff !important;
}

[data-bs-theme="dark"] select[style*="background-color: transparent"] {
    background-color: var(--bs-body-bg) !important; /* or your color */
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] td:has(select.lightgray-select) {
    background-color: var(--bs-body-bg) !important; /* or your color */
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] input:-webkit-autofill {
    -webkit-text-fill-color: var(--bs-body-color);
    -webkit-box-shadow: 0 0 0px 1000px var(--bs-body-bg) inset;
}

/* change text color on graph labels when in dark mode */
[data-bs-theme="dark"] svg text {
    fill: white;
}

/*dissable for plan*/
.plan-disabled {
    opacity: 0.9;
/*    cursor: not-allowed;*/
}

    /* Keep structure intact but visually gray */
    .plan-disabled img {
        filter: grayscale(80%);
    }

    /* Prevent navigation but keep element behavior */
    .plan-disabled a {
/*        cursor: not-allowed;*/
    }

    /* Optional: dim text nicely */
    .plan-disabled .card,
    .plan-disabled .nav-link,
    .plan-disabled span {
        color: #999 !important;
    }
/*dissable for plan*/

/*AI Search Styles*/

/* TOOLBAR AI Search */
#viewToolbar {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    display: flex;
    gap: 8px;
}

/* CONTAINER AI Search */
#viewContainer {
    flex: 1 1 auto;
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

/* PANES AI Search */
#mapPane,
#listPane {
    height: 100%;
    overflow: hidden;
    min-height: 0;
}

/* MAP AI Search */
#mapPane {
    position: relative;
}

/* LIST AI Search */
#listPane {
    overflow: hidden;
    box-sizing: border-box;
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

    #listPane > h3 {
        margin-top: 0;
    }

.no-results-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: flex-start; /* do not vertical center */
    text-align: center;
}

#grid {
    flex: 1;
    overflow: auto;
    box-sizing: border-box;
    min-height: 0;
}

#resultPanel {
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

/* DIVIDER AI Search */
#divider {
    width: 6px;
    background: #ccc;
    cursor: col-resize;
    z-index: 10;
    flex-shrink: 0;
}

    #divider:hover {
        background: #999;
    }

#searchBoxesWrap {
    position: absolute;
    top: 8px;
    right: 14px;
    width: 225px;
    z-index: 690;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 4px;
    font-size: 13px;
}

.search-results-box {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    box-shadow: 1px 1px 3px 4px #a2a1a1;
    background: white;
}

.search-sigilite-box {
    box-shadow: 1px 1px 3px 4px #a2a1a1;
    background: white;
}

[data-bs-theme="dark"] .search-results-box {
    background: linear-gradient(rgba(var(--bs-body-bg-rgb), 0.95), rgba(var(--bs-body-bg-rgb), 0.95));
}

[data-bs-theme="dark"] .search-sigilite-box {
    background: linear-gradient(rgba(var(--bs-body-bg-rgb), 0.95), rgba(var(--bs-body-bg-rgb), 0.95));
}

.sigilite-tooltip {
    --bs-tooltip-bg: #ffffff;
    --bs-tooltip-color: linear-gradient(rgba(var(--bs-body-bg-rgb), 0.95), rgba(var(--bs-body-bg-rgb), 0.95));
}

[data-bs-theme="dark"] .sigilite-tooltip {
    --bs-tooltip-bg: #212529;
    --bs-tooltip-color: #f8f9fa;
}

.search-results-header {
    min-height: 36px;
    padding: 0 12px;
    border-bottom: 1px solid #e5e8ec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    cursor: pointer;
    gap: 6px;
    flex-wrap: wrap;
}

.search-results-body {
    padding: 8px 12px;
}

#freeSearchWrap {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-results-box.collapsed .search-results-body {
    display: none;
}

.search-results-box.collapsed {
    height: auto;
}

.search-sigilite-box.collapsed .search-results-body {
    display: none;
}

.search-sigilite-box.collapsed {
    height: auto;
}

#searchSigiliteBox .search-results-header > a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.result-row-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 5px;
}

.result-icon,
.result-remove {
    width: 16px;
    min-width: 16px;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-count {
    padding: 0;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.result-check {
    width: 13px;
    height: 13px;
    margin: 0;
    padding: 0;
}

.result-text {
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#listSearchBoxesSlot {
    display: flex;
    align-items: center;
    gap: 10px;
}

#searchBoxesWrap.list-mode-boxes {
    position: static;
    width: auto;
    z-index: auto;
    flex-direction: row;
    gap: 20px;
}

    #searchBoxesWrap.list-mode-boxes .search-results-box,
    #searchBoxesWrap.list-mode-boxes .search-sigilite-box {
        width: 225px;
    }

    #searchBoxesWrap.list-mode-boxes .search-results-body {
        max-height: 60px;
        overflow-y: auto;
    }

#GoogleWrapButton {
    position: absolute;
    right: 25px;
    bottom: 85px;
    z-index: 9998;
}

#errosWrap.msgError .msgError {
    max-width: 25%;
}

.overlay-search-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.overlay-title {
    text-align: center;
    margin: 0 0 6px;
    font-weight: 700;
}

.overlay-sub-title {
    text-align: center;
}

.overlay-search-box {
    width: 100%;
    max-width: none;
}

.overlay-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .overlay-form-row .filter-form {
        height: 38px;
    }

.overlay-arrow {
    opacity: .75;
    flex: 0 0 auto;
}

.overlay-justification {
    flex: 1;
    min-width: 0;
}

.overlay-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.overlay-help {
    display: block;
    min-height: 1rem; /* match the height of the real help text */
}

.ai-search-card-dashboard .overlay-search-form {
    width: 100%;
}

.ai-search-card-dashboard .overlay-search-box {
    width: 100%;
    max-width: none;
}

.ai-search-card-dashboard .overlay-form-row {
    width: 100%;
}

    .ai-search-card-dashboard .overlay-form-row .filter-form {
        flex: 1;
    }

.ai-search-card-dashboard .overlay-purpose {
    flex: 0 0 90px;
}

.ai-search-card-dashboard .overlay-justification {
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .overlay-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .overlay-arrow {
        display: none;
    }

    .overlay-purpose {
        max-width: none;
        min-width: 0;
    }
}

.ai-search-overlay-dashboard {
    width: 100%;
    max-width: 100%;
    padding: 24px 0;
}

.ai-search-overlay {
    position: fixed;
    top: 80px;
    left: 250px;
    right: 0;
    bottom: 0;
    background: #fff;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

[data-bs-theme="dark"] .ai-search-overlay {
    background: #212529;
    color: #f8f9fa;
}

.ai-search-overlay.d-none {
    display: none !important;
}

.ai-search-chat {
    width: min(900px, 100%);
    height: min(700px, 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 24px;
    border: 5px solid #C503FF;
    border-radius: 5px;
}

.chat-row {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.chat-user {
    justify-content: flex-end;
}

.chat-system {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 72%;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(60, 60, 60, 1);
    font-size: 15px;
    line-height: 1.4;
    word-break: break-word;
}

.user-bubble {
    background: #067bae;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.system-bubble {
    background: #e9ecef;
    color: #212529;
    border-bottom-left-radius: 4px;
}

[data-bs-theme="dark"] .system-bubble {
    background: #2f343a;
    color: #f8f9fa;
}

.ai-search-card-dashboard {
    color: var(--bs-body-color);
}

.ai-search-card {
    /*width: min(720px, calc(100% - 40px));*/
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 20px 55px rgba(0,0,0,.25);
    /*border-radius: 14px;
    border: 5px solid #C503FF;*/
}

.ai-result-bar {
    transition: width 0.8s ease;
}

.ai-results-row {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--bs-border-color);
}

.system-bubble:has(.ai-results-summary) {
    max-width: 400px;
    width: 400px;
}

/* =========================================
       HYBRID MODE AI Search
    ========================================= */
#viewContainer.mode-hybrid #mapPane {
    width: 50%;
    display: block;
}

#viewContainer.mode-hybrid #listPane {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

#viewContainer.mode-hybrid #divider {
    display: block;
}

#viewContainer.mode-hybrid #mapPane #GoogleWrapButton {
    display: block;
}

/* =========================================
       MAP FULLSCREEN AI Search
    ========================================= */
#viewContainer.mode-map #mapPane {
    width: 100%;
    display: block;
}

#viewContainer.mode-map #listPane {
    display: none;
}

#viewContainer.mode-map #divider {
    display: none;
}

#viewContainer.mode-map #mapPane #GoogleWrapButton {
    display: block;
}

/* =========================================
       LIST FULLSCREEN AI Search
    ========================================= */
#viewContainer.mode-list #mapPane {
    visibility: hidden;
}

#viewContainer.mode-list #listPane {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    padding-bottom: 50px;
}

#viewContainer.mode-list #grid {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

#viewContainer.mode-list #divider {
    display: none;
}

#viewContainer.mode-list #GoogleWrapButton {
    display: none;
}

:root {
    --app-header-height: 80px;
    --app-sidebar-width: 250px;
    --search-topbar-height: 91px;
    --topics-height: 39px;
}

.ai-search-card.finder-investigate-card {
    width: min(1230px, calc(100% - 48px));
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.finder-investigate-intro {
    text-align: center;
    margin: 0 0 1rem;
}

    .finder-investigate-intro h1 {
        color: #020b16;
        font-size: 1.55rem;
        font-weight: 800;
        line-height: 1.2;
        margin: 0 0 .35rem;
    }

    .finder-investigate-intro p {
        color: #243956;
        font-size: .95rem;
        margin: 0;
    }

.finder-investigate-form {
    gap: 0;
    overflow: hidden;
    border: 1px solid #d7e2ee;
    border-radius: 8px;
    box-shadow: 0 .15rem .55rem rgba(15, 23, 42, .12);
}

[data-bs-theme="dark"] .finder-investigate-form {
    border: 1px solid rgba(60, 60, 60, 1) !important;
}

.finder-investigate-head {
    background: #062d46;
    color: #fff;
    text-align: center;
    padding: 1.35rem 1rem 1.15rem;
}

    .finder-investigate-head .overlay-title {
        color: #fff;
        font-size: 1.1rem;
        font-weight: 800;
        line-height: 1.2;
        margin: 0 0 .65rem;
    }

    .finder-investigate-head .overlay-sub-title {
        color: #c7ddf6;
        font-size: .82rem;
        font-weight: 400;
        margin: 0;
    }

.finder-investigate-search {
    min-height: 5rem;
    margin: 1.45rem 1.55rem 1rem;
    border: 2px solid #04a9df;
    border-radius: 8px;
    box-shadow: 0 0 0 .25rem rgba(4, 169, 223, .15), 0 .35rem .85rem rgba(15, 23, 42, .16);
}

    .finder-investigate-search .search-input {
        min-height: 4.3rem;
        color: #1f3654;
        text-align: center;
        font-weight: 600;
    }

.finder-investigate-row {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(220px, 1fr) auto minmax(220px, 1fr);
    gap: 1rem;
    padding-inline: 1.55rem;
    margin-bottom: 1rem;
}

    .finder-investigate-row + .finder-investigate-row {
        grid-template-columns: minmax(210px, .48fr) minmax(360px, 1fr);
    }

    .finder-investigate-row .filter-form {
        height: 2.8rem;
        border: 1px solid #bfd0e5;
        border-radius: 6px;
    }

[data-bs-theme="dark"] .finder-investigate-row .filter-form {
    border: 1px solid rgba(60, 60, 60, 1) !important;
}

    .finder-investigate-row .overlay-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6b7b91;
    }

.finder-investigate-form .overlay-actions {
    padding: .25rem 1.55rem 1.55rem;
}

    .finder-investigate-form .overlay-actions .btn {
        min-height: 2.45rem;
        border-radius: 6px;
    }

.finder-investigate-form .overlay-submit {
    padding-inline: 1.45rem;
}

@media (max-width: 992px) {
    .finder-investigate-row,
    .finder-investigate-row + .finder-investigate-row {
        grid-template-columns: 1fr;
    }

        .finder-investigate-row .overlay-arrow {
            display: none;
        }

    .finder-investigate-search .search-input {
        text-align: left;
    }
}

.finder-ai-progress-overlay {
    position: absolute;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity .22s ease, visibility .22s ease;
}

    .finder-ai-progress-overlay.d-none {
        display: none !important;
    }

    .finder-ai-progress-overlay.is-hiding {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.finder-ai-progress-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(242, 246, 251, .78);
    backdrop-filter: blur(1px);
}

.finder-ai-progress-card {
    position: relative;
    width: min(28rem, calc(100vw - 2rem));
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, .28);
    color: #07192f;
    padding: 1.45rem 1.5rem 1.75rem;
}

.finder-ai-progress-total {
    color: #07192f;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.finder-ai-progress-label {
    color: #24415f;
    font-size: .8rem;
    text-align: center;
    margin-top: .25rem;
    margin-bottom: 1.35rem;
}

.finder-ai-progress-list {
    display: grid;
}

.finder-ai-progress-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.35rem;
    border-bottom: 1px solid #d8e2ee;
    color: #07192f;
    font-size: .78rem;
}

    .finder-ai-progress-row strong {
        color: #1e3a5f;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .08em;
    }

    .finder-ai-progress-row.is-done strong {
        letter-spacing: 0;
    }

    .finder-ai-progress-row.is-done i {
        color: #059669;
        font-size: .86rem;
        margin-left: .35rem;
    }

    .finder-ai-progress-row.is-searching strong {
        color: #008fd3;
    }

    .finder-ai-progress-row.is-queued {
        color: #9aa9bb;
    }

        .finder-ai-progress-row.is-queued strong {
            color: #aab5c3;
        }

.finder-ai-progress-meter {
    position: absolute;
    left: 0;
    right: 28%;
    bottom: -1px;
    height: 3px;
    overflow: hidden;
}

    .finder-ai-progress-meter span {
        display: block;
        height: 100%;
        background: #0799d6;
        animation: finder-ai-progress-pulse 1.1s ease-in-out infinite alternate;
    }

[data-bs-theme="dark"] .finder-ai-progress-backdrop {
    background: rgba(11, 15, 20, .78);
    backdrop-filter: blur(1px);
}

[data-bs-theme="dark"] .finder-ai-progress-card {
    background: #212529;
    border-color: #343a40;
    color: #dee2e6;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .55);
}

[data-bs-theme="dark"] .finder-ai-progress-total {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .finder-ai-progress-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .finder-ai-progress-row {
    border-bottom-color: #343a40;
    color: #dee2e6;
}

    [data-bs-theme="dark"] .finder-ai-progress-row strong {
        color: #cfe2ff;
    }

    [data-bs-theme="dark"] .finder-ai-progress-row.is-done i {
        color: #75b798;
    }

    [data-bs-theme="dark"] .finder-ai-progress-row.is-searching strong {
        color: #6edff6;
    }

    [data-bs-theme="dark"] .finder-ai-progress-row.is-queued {
        color: #6c757d;
    }

        [data-bs-theme="dark"] .finder-ai-progress-row.is-queued strong {
            color: #868e96;
        }

[data-bs-theme="dark"] .finder-ai-progress-meter span {
    background: #6edff6;
}

.singleSearchPage.is-ai-progressing #viewContainer {
    filter: saturate(.75);
}

@keyframes finder-ai-progress-pulse {
    from {
        opacity: .62;
        transform: scaleX(.86);
        transform-origin: left;
    }

    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* Search header inside the AI Search page */
.search-ui-header {
    flex: 0 0 auto;
}

.topbar {
    height: var(--search-topbar-height);
    background: #E8E8E8;
    padding: 6px 12px 8px;
    box-shadow: 0 1px 0 rgba(0,0,0,.18);
}

[data-bs-theme="dark"] .topbar {
    background: #222;
}

.search-box {
    height: 40px;
    max-width: 732px;
    border: 2px solid #08a2d3;
    border-radius: 4px;
    color: #8fa0ba;
    font-size: 13px;
    font-weight: 600;
    min-width: 220px;
}

.ai-search-card-dashboard .search-box {
    max-width: none;
}

.ai-search-overlay .search-box {
    max-width: none;
}

.search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #15344e;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
}

[data-bs-theme="dark"] .search-input {
    color: #fff;
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #15344e !important;
    caret-color: #15344e;
}

[data-bs-theme="dark"] .search-input:-webkit-autofill,
[data-bs-theme="dark"] .search-input:-webkit-autofill:hover,
[data-bs-theme="dark"] .search-input:-webkit-autofill:focus,
[data-bs-theme="dark"] .search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--bs-body-bg) inset !important;
    box-shadow: 0 0 0 1000px var(--bs-body-bg) inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
}

.btn-search {
    height: 40px;
    width: 125px;
    background: #00C6FF;
    color: #031f34;
    border: 0;
}

    .btn-search:hover,
    .btn-search:focus {
        background: #0789c2;
        color: #031f34;
    }

.top-action {
    white-space: nowrap;
}

.filter-form {
    height: 29px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
}

.filter-required {
    min-width: 208px;
}

.filter-justification {
    min-width: 256px;
}

@media (max-width: 992px) {
    :root {
        --app-sidebar-width: 0px;
    }

    .top-action-help {
        display: none !important;
    }

    .filter-justification {
        min-width: 220px;
    }
}

/*hadle the selection of markers*/
.yellow-marker {
    filter: drop-shadow(0 0 10px yellow) brightness(1.4) saturate(2.5);
    transform: scale(1.15);
    transition: all 0.15s ease-in-out;
    z-index: 1000 !important;
}

.row-hover {
    background-color: rgba(255, 235, 59, 0.25) !important;
    box-shadow: inset 0 0 10px rgba(255, 235, 59, 0.6);
    border-left: 4px solid rgba(255, 235, 59, 0.9);
    cursor: pointer;
}

/* FINDER Investigate home refresh */
.finder-home-welcome {
    max-width: 1230px;
    margin: 1.35rem auto .85rem;
    border: 0;
    background: transparent !important;
    /*color: #07192f;*/
}

    .finder-home-welcome h3 {
        margin: 0 0 .35rem;
        /*color: #020b16;*/
        font-size: 1.55rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .finder-home-welcome p {
        margin: 0;
        /*color: #243956;*/
        font-size: .95rem;
    }

.finder-home-search {
    max-width: 1230px;
    margin: 0 auto 2.6rem;
    border: 0;
    color: inherit !important;
}

    .finder-home-search > .col-md-12 {
        padding: 0;
    }

    .finder-home-search .ai-search-overlay-dashboard {
        padding: 0;
    }

    .finder-home-search .ai-search-card-dashboard.finder-investigate-card,
    .ai-search-card.finder-investigate-card,
    .ai-search-card-dashboard.finder-investigate-card {
        width: 100%;
        max-width: 1230px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .finder-home-search .finder-investigate-form {
        border-radius: 8px;
    }

.homeScreenLinks {
    max-width: 1120px;
    margin: 0 auto 3rem;
    justify-content: center;
    gap: 1rem 0;
}

    .homeScreenLinks > [class*="col-"] {
        width: 280px;
        flex: 0 0 280px;
        max-width: 280px;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .homeScreenLinks .card-link {
        display: block;
        height: 100%;
        color: #07192f !important;
    }

    .homeScreenLinks .homeLinkBox {
        min-height: 238px;
        padding: 1.55rem 1.55rem 1.25rem;
        border: 1px solid #d7e2ee !important;
        border-radius: 8px;
        background: #fff !important;
        box-shadow: 0 .15rem .55rem rgba(15, 23, 42, .12);
        transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }

[data-bs-theme="dark"] .homeScreenLinks .homeLinkBox {
    background-color: transparent !important;
    border: 1px solid rgba(60, 60, 60, 1) !important;
}

.homeScreenLinks .card-link:hover .homeLinkBox,
.homeScreenLinks .card-link:focus .homeLinkBox {
    border-color: #9fdaf1 !important;
    box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .16);
    transform: translateY(-2px);
}

.homeScreenLinks .cardIcon {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    margin: 0 0 1.15rem;
    padding: .72rem;
    border: 1px solid #80dcff;
    border-radius: 50%;
    background: #dff8ff;
    color: #08a2d3;
    overflow: visible;
}


.homeScreenLinks .sidebarCardIcon {
    background: #008dcc;
    border-color: #80dcff;
}

[data-bs-theme="dark"] .homeScreenLinks .cardIcon {
    background: transparent;
}

.homeScreenLinks .card-body {
    padding: 0;
}

.homeScreenLinks .card-title {
    margin-bottom: .65rem;
    /*color: #020b16;*/
    font-size: .98rem;
    font-weight: 800 !important;
    line-height: 1.25;
}

.homeScreenLinks .card-text {
    margin: 0;
    padding-top: 0 !important;
    font-size: .82rem !important;
    /*color: #163b65;*/
    line-height: 1.55;
}

.homeScreenLinks .card-footer-custom {
    margin-top: auto;
    padding: 1.05rem 0 0;
}

    .homeScreenLinks .card-footer-custom span {
        color: #008dcc;
        font-size: .82rem;
        font-weight: 800;
    }

        .homeScreenLinks .card-footer-custom span::after {
            content: "  >";
            font-size: 1rem;
            font-weight: 700;
        }

@media (max-width: 992px) {
    .finder-home-search,
    .finder-home-welcome {
        max-width: calc(100% - 2rem);
    }

    .homeScreenLinks {
        max-width: calc(100% - 2rem);
    }
}

@media (max-width: 640px) {
    .homeScreenLinks > [class*="col-"] {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* FINDER home card customization */
.finder-home-customize-bar {
    max-width: 880px;
    margin: -1.85rem auto .55rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.finder-home-customize-action {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: 0;
    background: transparent;
    color: #435a78;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    padding: .25rem .1rem;
}

    .finder-home-customize-action:hover,
    .finder-home-customize-action:focus {
        color: #008dcc;
        text-decoration: underline;
    }

.finder-home-done {
    color: #008dcc;
}

.homeScreenLinks.is-customizing .homeLinkBox {
    pointer-events: none;
}

.homeScreenLinks > [data-home-card-id] {
    position: relative;
}

    .homeScreenLinks > [data-home-card-id].finder-card-hidden {
        display: block !important;
        opacity: .42;
    }

.finder-card-visibility-toggle {
    position: absolute;
    top: .55rem;
    right: 1.05rem;
    z-index: 5;
    width: 1.9rem;
    height: 1.9rem;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e2ee;
    border-radius: 6px;
    background: #f8fbff;
    color: #435a78;
    box-shadow: 0 .1rem .35rem rgba(15, 23, 42, .14);
}

.homeScreenLinks.is-customizing .finder-card-visibility-toggle {
    display: inline-flex;
}

.finder-card-visibility-toggle:hover,
.finder-card-visibility-toggle:focus {
    border-color: #9fdaf1;
    color: #008dcc;
}

.homeScreenLinks.is-customizing .finder-card-hidden .finder-card-visibility-toggle {
    color: #9a3412;
}

@media (max-width: 992px) {
    .finder-home-customize-bar {
        max-width: calc(100% - 2rem);
    }
}

@media (max-width: 640px) {
    .finder-home-customize-bar {
        margin-top: -1.8rem;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* FINDER home card ordering */
.finder-card-order-controls {
    position: absolute;
    top: .55rem;
    left: 1.05rem;
    z-index: 5;
    display: none;
    gap: .3rem;
}

.homeScreenLinks.is-customizing .finder-card-order-controls {
    display: flex;
}

.finder-card-order-btn {
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid #c6d7ea;
    border-radius: 999px;
    background: #fff;
    color: #244767;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(2, 22, 38, .12);
    cursor: pointer;
}

    .finder-card-order-btn:hover,
    .finder-card-order-btn:focus {
        border-color: #9fdaf1;
        color: #008dcc;
    }

    .finder-card-order-btn:disabled {
        opacity: .35;
        cursor: not-allowed;
    }

/* FINDER home hidden card visibility rule */
.homeScreenLinks:not(.is-customizing) .finder-card-hidden {
    display: none !important;
}

.homeScreenLinks.is-customizing .finder-card-hidden {
    display: block !important;
}

/***************************************** dn new popups*/

.kw-popup {
    width: 100%;
    min-width: 460px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2733;
    overflow: hidden;
}

/* ===== Header ===== */
.kw-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 10px;
}

.kw-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #8a93a2;
    text-transform: uppercase;
}

.kw-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2px;
}

.kw-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kw-marker-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #b7e0ef;
    color: #1499c7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: background-color .15s, color .15s;
}

    .kw-marker-badge:hover {
        background-color: #1499c7;
        color: #fff;
    }

.kw-collapse {
    cursor: pointer;
    color: #9aa3b0;
    text-decoration: none;
    font-size: 13px;
    padding: 4px;
}

/* ===== Body ===== */
.kw-body {
    padding: 0 16px 14px;
}

/* Meta row */
.kw-meta-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0f3;
}

.kw-meta-tile {
    flex: 1;
}

.kw-meta-label {
    font-size: 10px;
    color: #8a93a2;
    font-weight: 600;
    margin-bottom: 2px;
}

.kw-meta-value {
    font-size: 12px;
    font-weight: 700;
}

/* ===== Search match strip ===== */
.kw-match {
    background: #fff8e6;
    border-left: 4px solid var(--kw-accent);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.kw-match-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #7a6a3a;
    margin-bottom: 3px;
}

.kw-match-body {
    font-size: 12px;
    color: #3a3f48;
}

    .kw-match-body mark {
        background: #ffe27a;
        padding: 0 4px;
        border-radius: 3px;
        font-weight: 700;
    }

/* ===== Report content ===== */
.kw-card {
    border: 0;
    padding: 0;
    margin: 0;
}

.kw-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.kw-source-pill {
    background: #1a8f5a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 12px;
}

.kw-card-num {
    font-size: 11px;
    color: #9aa3b0;
    font-weight: 600;
}

.kw-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

.kw-dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    row-gap: 6px;
    column-gap: 8px;
    margin: 0 0 10px;
    font-size: 12px;
}

    .kw-dl dt {
        font-weight: 700;
        color: #3a3f48;
        margin: 0;
    }

    .kw-dl dd {
        margin: 0;
        color: #1f2733;
    }

        .kw-dl dd a {
            color: #1499c7;
            text-decoration: none;
        }

.kw-plates ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.kw-plates li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

    .kw-plates li br {
        display: none;
    }

.kw-plates .sel_WlStates {
    width: auto;
}

.kw-plates .btn-watchList {
    margin-left: 4px !important;
}

.kw-narrative {
    font-size: 11px;
    color: #8a93a2;
    margin: 0;
}

.kw-card-flat {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* ===== Leaflet overrides ===== */
.leaflet-popup-content {
    width: auto !important;
    margin: 0;
}

.leaflet-popup-content-wrapper .kw-popup {
    width: 100%;
}



.kw-plates .btn-watchList {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2f6bff;
    border: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 14px;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    cursor: pointer;
}

    .kw-plates .btn-watchList:hover {
        background: #245ae0;
        color: #fff;
    }

    .kw-plates .btn-watchList .fa-plus-circle {
        font-size: 12px;
    }
/********************************* dn new popups*/

/*************************map suipder DN for multiple records*/
/* multi-record header pill */
.kw-head-multi {
    background: #f4f9fd;
    border-bottom: 1px solid #e6eef5;
}

.kw-title-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e6f4fb;
    color: #1499c7;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 12px;
}

/* nav bar */
.kw-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-bottom: 1px solid #eef0f3;
}

.kw-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #fff;
    color: #3a3f48;
    cursor: pointer;
    font-size: 12px;
}

    .kw-nav-btn:hover {
        background: #f4f6f8;
    }

.kw-dots {
    display: flex;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.kw-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cfd6dd;
}

    .kw-dot.active {
        background: #1499c7;
    }

.kw-count {
    font-size: 12px;
    color: #8a93a2;
    font-weight: 600;
    white-space: nowrap;
}
/*************************map suipder DN for multiple records*/

/************************** DN grid*/
/* ===== Grid shell ===== */
#grid.k-grid {
    border: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    color: #1f2733;
}

#grid .k-grid-header,
#grid .k-grid-header-wrap {
    border: 0;
    background: #f7f9fb;
}

    #grid .k-grid-header th.k-header {
        border: 0;
        background: transparent;
        color: #8a93a2;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        padding: 12px 14px;
    }

#grid .k-grid-content {
    overflow-y: auto;
}

/* rows */
#grid table {
    border-collapse: collapse;
}

#grid tbody tr {
    border-bottom: 1px solid #eef0f3;
    transition: background .12s;
}

#grid tbody td {
    border: 0;
    padding: 14px;
    vertical-align: middle;
    width: 100% !important;
}

/* colored left accent per row */
#grid tbody tr > td:first-child {
    box-shadow: inset 3px 0 0 #e6e9ee;
}

#grid tbody tr.k-alt > td:first-child {
    box-shadow: inset 3px 0 0 #e6e9ee;
}

/* ===== Type pills ===== */
.kg-type-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 12px;
    border: 1px solid transparent;
    white-space: nowrap;
}
/* color variants � class is kg-type-<reporttype lowercased, alnum only> */
.kg-type-bulletin {
    background: #eef3ff;
    color: #3a5bd9;
    border-color: #d6e0ff;
}

.kg-type-rms {
    background: #e7f7ef;
    color: #1a8f5a;
    border-color: #c5ecd6;
}

.kg-type-cad {
    background: #e6f4fb;
    color: #1499c7;
    border-color: #c3e6f3;
}

.kg-type-alpr,
.kg-type-lprhit {
    background: #fff5e0;
    color: #b8860b;
    border-color: #f0e0b0;
}

.kg-type-evidenceiq {
    background: #f0eafc;
    color: #7b4fd0;
    border-color: #e0d4f5;
}
/* fallback */
.kg-type-pill:not([class*=" kg-type-"]) {
    background: #eef0f3;
    color: #5a626d;
}

/* ===== Case # / date ===== */
.kg-case {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2a2f37;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

    .kg-case:hover {
        color: #1499c7;
    }

.kg-date {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #8a93a2;
}

    .kg-date .fa {
        margin-right: 4px;
    }

/* agency */
.kg-agency-ic {
    color: #9aa3b0;
    margin-right: 5px;
}

/* ===== Summary + match chip ===== */
.kg-summary {
    color: #aab1bb;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-match {
    display: inline-block;
    background: #fff4cc;
    color: #6b5a16;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    padding: 3px 10px;
}

    .kg-match b, .kg-match strong {
        font-weight: 700;
    }

/* keyword highlight inside summary (your existing .HIGHLIGHT) */
#grid .HIGHLIGHT {
    background: #ffe27a;
    padding: 0 2px;
    border-radius: 2px;
}

/* ===== Checkbox column ===== */
#grid tbody td:first-child input[type=checkbox] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #1499c7;
}

/* ===== Pager ===== */
#grid .k-pager-wrap {
    border: 0;
    background: #f7f9fb;
    color: #5a626d;
    padding: 8px 14px;
}
/************************** DN grid*/

.btn-watchList {
    margin-left: 10px !important;
}

/************************** ZG dark mode grid/popup */
[data-bs-theme="dark"] .kw-popup {
    background: #212529;
    color: #dee2e6;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
}

[data-bs-theme="dark"] .kw-eyebrow,
[data-bs-theme="dark"] .kw-meta-label,
[data-bs-theme="dark"] .kw-card-num,
[data-bs-theme="dark"] .kw-narrative,
[data-bs-theme="dark"] .kw-count,
[data-bs-theme="dark"] .kg-date,
[data-bs-theme="dark"] .kg-agency-ic {
    color: #adb5bd;
}

[data-bs-theme="dark"] .kw-meta-row,
[data-bs-theme="dark"] .kw-nav,
[data-bs-theme="dark"] #grid tbody tr {
    border-color: #343a40;
}

[data-bs-theme="dark"] .kw-match,
[data-bs-theme="dark"] .kg-match {
    background: #332701;
    color: #ffda6a;
}

[data-bs-theme="dark"] .kw-match-body,
[data-bs-theme="dark"] .kw-dl dt {
    color: #ced4da;
}

[data-bs-theme="dark"] .kw-dl dd,
[data-bs-theme="dark"] .kg-case {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .kw-match-body mark,
[data-bs-theme="dark"] #grid .HIGHLIGHT {
    background: #664d03;
    color: #fff3cd;
}

[data-bs-theme="dark"] .kw-head-multi,
[data-bs-theme="dark"] #grid .k-grid-header,
[data-bs-theme="dark"] #grid .k-grid-header-wrap,
[data-bs-theme="dark"] #grid .k-pager-wrap {
    background: #2b3035;
    border-color: #343a40;
    color: #adb5bd;
}

[data-bs-theme="dark"] .kw-title-pill {
    background: #052c65;
    color: #6ea8fe;
}

[data-bs-theme="dark"] .kw-nav-btn {
    background: #212529;
    border-color: #495057;
    color: #dee2e6;
}

    [data-bs-theme="dark"] .kw-nav-btn:hover {
        background: #343a40;
    }

[data-bs-theme="dark"] .kw-dot {
    background: #495057;
}

    [data-bs-theme="dark"] .kw-dot.active,
    [data-bs-theme="dark"] .kw-marker-badge {
        color: #6edff6;
        border-color: #087990;
    }

        [data-bs-theme="dark"] .kw-marker-badge:hover {
            background: #087990;
            color: #fff;
        }

[data-bs-theme="dark"] #grid.k-grid {
    color: #dee2e6;
}

[data-bs-theme="dark"] #grid .k-grid-header th.k-header {
    color: #adb5bd;
}

[data-bs-theme="dark"] #grid tbody tr > td:first-child,
[data-bs-theme="dark"] #grid tbody tr.k-alt > td:first-child {
    box-shadow: inset 3px 0 0 #495057;
}

[data-bs-theme="dark"] .kg-summary {
    color: #adb5bd;
}

[data-bs-theme="dark"] .kg-case:hover,
[data-bs-theme="dark"] .kw-dl dd a {
    color: #6edff6;
}

[data-bs-theme="dark"] .kg-type-bulletin {
    background: #071633;
    color: #8bb9fe;
    border-color: #084298;
}

[data-bs-theme="dark"] .kg-type-rms {
    background: #051b11;
    color: #75b798;
    border-color: #0f5132;
}

[data-bs-theme="dark"] .kg-type-cad {
    background: #032830;
    color: #6edff6;
    border-color: #087990;
}

[data-bs-theme="dark"] .kg-type-alpr,
[data-bs-theme="dark"] .kg-type-lprhit {
    background: #332701;
    color: #ffda6a;
    border-color: #997404;
}

[data-bs-theme="dark"] .kg-type-evidenceiq {
    background: #2c1a4d;
    color: #c5b3ff;
    border-color: #6f42c1;
}

[data-bs-theme="dark"] .kg-type-pill:not([class*=" kg-type-"]) {
    background: #343a40;
    color: #ced4da;
}

[data-bs-theme="dark"] .kw-plates .btn-watchList,
[data-bs-theme="dark"] .btn-watchList {
    background: #0d6efd;
    color: #fff;
}

    [data-bs-theme="dark"] .kw-plates .btn-watchList:hover,
    [data-bs-theme="dark"] .btn-watchList:hover {
        background: #0b5ed7;
    }

 /*Ai Search*/
.top-action.active-filter {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.btn.hover-active {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.ActiveViewBtn {
    background-color: #00C6FF;
    border-color: #00C6FF;
}

/*customie bar*/
.finder-home-customize-bar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
}

.finder-home-customize-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    pointer-events: none; /* Prevents the title from blocking button clicks */
}

    .finder-home-customize-title h5 {
        margin: 0;
        font-size: 1rem;
        font-weight: 400; /* Normal text */
        line-height: 1.4;
    }

    .finder-home-customize-title strong {
        font-weight: 700; /* Only the emphasized word is bold */
    }

.finder-home-customize-buttons {
    display: flex;
    gap: .5rem;
    z-index: 1; /* Ensures buttons stay above the centered title */
}

/*dn  */
.custom-leaflet-popup .leaflet-popup-content {
    width: 500px !important; /* fixed popup width */
    max-height: 350px;
    overflow-y: auto;
}

#treeviewA .k-treeview-leaf.k-disabled,
#treeviewC .k-treeview-leaf.k-disabled {
    pointer-events: auto;
}