.emergencies-map {
     height: 400px;
 }
.emergenciesMap {
    height: 400px;
}
@media (min-width: 1200px) {
    .emergencies-map {
        height: 500px;
    }
    .emergenciesMap {
        height: 500px;
    }
}
@media (min-width: 1400px) {
    .emergencies-map {
        height: 600px;
    }
    .emergenciesMap {
        height: 600px;
    }
}
.loader-small {
    left: 50%;
    top: 0px;
    z-index: 1;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    position: relative;
    clear: both;
}

.loader {
    left: 50%;
    top: 0px;
    z-index: 1;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: relative;
    clear: both;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.row.cpp-header {
    margin-top: 5px;
    margin-bottom: 10px;
}
.cpp-header {
    background-color: #074A8B;
    color: white;
}
.cpp-header th {
    text-align: center;
    border-style: solid;
    border-width: thin;
    border-color: lightgray;
}
.cpp-body td {
    border-style: solid;
    border-width: thin;
    border-color: lightgray;
    text-align: center;
}
.cpp-side {
    background-color: #0094C8;
    color: white;
}
.cpp-subtitle-bolded {
    font-size: 18px;
    color: #1f497d;
    font-weight: bold;
}.cpp-subtitle {
     font-size: 16px;
 }
@media (min-width: 992px) {
    #cpp-container {
        margin-left: 15px;
    }
}
.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: #eee;
    cursor: pointer;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    cursor: pointer;
}

.nav-tabs > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background-color: lightgrey;
    cursor: pointer;
}

.module-category, .module-category:hover {
    background-color: #fff;
}

.module-category-info, .module-category-info:hover {
    background-color: #d9edf7;
}

.search-tabs-selected {
    font-weight: bolder;
    border-bottom: solid rgb(2,139,255);
}

.btn-Add-pointOfInterest {
    width: 200px;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position-y: 2px;
}

.eventThumbnail {
    width: 100px;
}


.filter-list-group {
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
    box-shadow: 0 1px 2px rgba(0,0,0,.075);
}

.filter-list-group {
    padding-left: 0;
    margin-left: 0px;
    margin-bottom: 0px;
}

.filter-list-group-item {
    position: relative;
    display: block;
    padding: 1px 10px;
    margin-bottom: -1px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

    .filter-list-group-item:first-child {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        border-top: 1px solid #fff;
    }

.popupInsertPointOfInterest {
    position: fixed;
    top: 20em;
    left: 12em;
    width: 40em;
    background-color: darkorange;
    padding: 5em;
    border: 2px solid black;
}

.PointTypeIcons {
    border: 2px solid black;
    border-radius: 7px;
    margin: 1px;
}

.emergency-pre-scrollable {
    max-height: 340px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.emergency-pre-scrollable table th {
    position: sticky;
    top: 0;
    background-color: white;
    border: 1px solid gray;
}

.email-content {
    display: table;
    margin: 0 auto;
    border: 1px solid black;
}

#containerflash0 {
    max-width: 800px;
    word-break: break-all;
}

.sticky-bottom {
    position: fixed;
    bottom: 0;
}

.features-menu > ul {
    margin-left: 0px;
    margin-top: 8px;
    background-repeat: repeat-x;
    border-color: #dcdcdc;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
    min-height: 20px;
    border: 1px solid #e3e3e3;
}

.cpp-ndms {
    text-align: justify;
    text-justify: inter-word;
}

.ecpp-header {
    background-color: #074A8B;
    color: white;
}
.scrollable-table > thead > tr > th.ecpp-header {
    border-bottom: 0px;
}
.ecpp-header {
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-bottom: 1px;
}

.request-tag {
    word-break: break-all; 
    align-items: center;
    background-color: #e3e3e3;
    border-radius: 1rem;
    border-width: 0; 
    font: normal normal 400 .875rem/1rem Arial,sans-serif;
    padding: .5rem .75rem; 

    border-style: solid;
    border-width: 1px;
}
.week-plan-table {
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
.ecl-pagination-wp {
    border-top: 0;
}

@media (min-width: 996px) {
    .week-plan-table {
            table-layout: fixed;
        }

            .week-plan-table .requests-row {
                height: 300px;
            }

            .week-plan-table .adhoc-requests-row {
                height: 200px;
            }

            .week-plan-table td {
                width: 20%;
                display: table-cell;
                vertical-align: top;
                min-height: 30px;
            }

                .week-plan-table td .daily-requests-table {
                    height: 100%;
                }
    }

    .req-status-new {
    background-color: #FFD617;
    border-color: #404040;
    color: #000;
}

.req-status-new a:visited, .req-status-new a {
    color: #000;
}

.req-status-validated {
    background-color: #CCFFFF;
    border-color: #404040;
    color: #000;
}

.req-status-validated a:visited, .req-status-validated a {
    color: #000;
}

.req-status-inprogress {
    background-color: #F29527;
    border-color: #404040;
    color: #000;
}

.req-status-inprogress a:visited, .req-status-inprogress a {
    color: #000;
}

.req-status-responded {
    background-color: #467A39;
    border-color: #fff;
    color: #fff;
}

.req-status-responded a:visited, .req-status-responded a {
    color: #fff;
}

.req-status-declined {
    background-color: #CFCFCF;
    border-color: #fff;
    color: #fff;
}

.req-status-declined a:visited, .req-status-declined a {
    color: #fff;
}
  
.req-head-row {
    display: block;
    min-height: 75px;
}

.ecl-page-header-standardised {
    padding-bottom: 0;
}

.ecl-pagination.ecl-pagination-top-wp {
    border-top: 0px;
    border-bottom: 2px solid #000;
}

.req-head-row, .day-head, .day-foot {
    text-align: center
}

.ecl-date-block--cancelled {
    background-color: #ebebeb;
}

.ecl-date-block--cancelled .ecl-date-block__day, .ecl-date-block--cancelled .ecl-date-block__month {
    color: #404040;
}

tr td.daily-requests {
    border-right-style: dashed;
    border-width: thin;
}

@media (min-width: 996px) {
    tr td.daily-requests:not(:last-child) {
        border-right-style: dashed;
        border-width: thin;
    }
}

tr th.daily-requests {
    border-right-style: dashed;
    border-width: thin;
}

@media (min-width: 996px) {
    tr th.daily-requests:not(:last-child) {
        border-right-style: dashed;
        border-width: thin;
    }
}
tr td.daily-requests.drag-over {
    margin: 1px 1px 1px 1px;
    border-style: dashed;
    border-width: medium;
    background-color: aliceblue;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, 0.8);
    -moz-transition: all 300ms, -moz-transform;
    -webkit-transition: all 300ms, -webkit-transform;
    -o-transition: all 300ms, -o-transform;
    transition: all 300ms, transform;
}

    .dragging {
        opacity: 0.1;
    }

    .shift-saving {
        opacity: 0.4;
    }

    .request-status {
        word-break: break-all;
        align-items: center;
        background-color: #e3e3e3;
        border-radius: 1rem;
        border-width: 0;
        font: normal normal 300 .675rem/1rem Arial,sans-serif;
        padding: .5rem .75rem;
        border-style: solid;
        border-width: 1px;
        margin-bottom: 1rem
    }

    .ecl-request-timeline {
        margin-inline-start: 0.2rem;
        -webkit-margin-start: 0.2rem;
    }
@media (max-width: 996px) {
    .ecl-table-responsive {
        width: 100%;
    }
}

@media (max-width: 1140px) {
    .ecl-date-block-wp {
        width: 5rem;
    }
}

.scrollable-table-container {
    border: 1px solid #e5e7eb;
    border-bottom: none;
    overflow: auto; /* Enables both horizontal and vertical scrolling */
    height: 400px; /* Limits table height for vertical scrolling */
}

/* Table layout */
.scrollable-table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed; /* Ensures consistent column widths */
}

    /* Table cells and headers */
    .scrollable-table th,
    .scrollable-table td {
        padding: 8px;
        text-align: center;
        border: 1px solid #e5e7eb;
    }

    /* Frozen first column */
    .scrollable-table td:nth-child(1),
    .scrollable-table th:nth-child(1) {
        /* background: red;*/ /* Highlighted background for frozen column */
        position: sticky;
        left: 0; /* Ensures the column stays on the left */
        z-index: 5; /* Keeps the column above other cells */
    /*     color: white;*/
    }

    /* Add higher z-index for header */
    .scrollable-table th:nth-child(1) {
        z-index: 6;
    }

    /* Sticky header */
    .scrollable-table th {
        background-color: #1e3a8a;
        color: white;
        font-size: 14px;
        font-weight: bold;
        position: sticky;
        top: 0; /* Makes the header stick to the top */
        z-index: 2; /* Keeps the header above the table body */
    }

    /* Styling for table body */
    .scrollable-table td {
        font-size: 14px;
        color: #6b7280;
    }

    /* Zebra striping for rows */
    .scrollable-table tr:nth-child(odd) {
        background-color: #f9fafb;
    }

    /* Hover effect for rows */
    .scrollable-table tr:hover {
        background-color: rgba(14, 116, 144, 0.1);
    }

/* Heatmap intensity colors */
.heatmap-intensity-0 {
    background-color: #ffffff;
}

.heatmap-intensity-1 {
    background-color: #c6e48b;
}

.heatmap-intensity-2 {
    background-color: #7bc96f;
}

.heatmap-intensity-3 {
    background-color: #239a3b;
}

.heatmap-intensity-4 {
    background-color: #196127;
}
/* Loss Data Map Custom Styles */
.loss-marker-icon-custom {
    background: transparent !important;
    border: none !important;
}

.loss-marker-custom:hover {
    transform: scale(1.15);
}

.loss-popup-container .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.2);
}

.loss-popup-container .leaflet-popup-content {
    margin: 15px;
}

.loss-popup-container .leaflet-popup-tip {
    background: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loss-stats-panel {
        max-width: 200px !important;
        font-size: 11px !important;
    }

    .loss-legend-panel {
        font-size: 10px !important;
    }
}