@font-face {
    font-family: 'Arial MT Rounded';
    src: url(../fonts_custom/ARIALROUNDEDMT.TTF);
}

@font-face {
    font-family: 'Arial MT Rounded Bold';
    src: url(../fonts_custom/ARLRDBD.TTF);
}

@font-face {
    font-family: 'Arial MT Rounded Extra Bold';
    src: url(../fonts_custom/ARIALROUNDEDMTEXTRABOLD.TTF);
}

@font-face {
    font-family: 'Arial MT Rounded Light';
    src: url(../fonts_custom/ARIALROUNDEDMTLIGHT.TTF);
}

:root{
    --color-primary: #685DFA;
}

/* Styles */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#cesiumContainer {
    height: 100%;
    width: 100%;
}

.layerHeader {
    display: flex;
    flex-direction: row;
}

.toggleArrow {
    font-size: 14px;
    margin-right: 5px;
}

.layerItem {
    align-items: center;
    cursor: pointer;
    padding: 5px;
}

.layerLabel {
    font-size: 14px;
    font-weight: bold;
}

.smallValueText {
    font-size: 12px;
    color: black;
    margin-left: 5px;
    font-family: Arial, sans-serif;
}

h2,
h4 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 21px;
}

#zoomButton {
    top: 470px;
    left: 20px;
    background: #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    cursor: pointer;
    font-family: sans-serif;
}

#zoomButton:hover {
    background: rgba(255, 255, 255, 1);
}

#modelSelect {
    border: 2px solid black;
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
}

#modelSelect:hover,
#modelSelect:focus {
    border-color: darkred;
    outline: none;
    font-family: Arial, sans-serif;
}

#layerSidebar.closed {
    transform: translateX(-100%);
}

.content-toggle-layer-palette-container>.close-button {
    display: block;
    position: fixed;
    font-size: 38px;
    cursor: pointer;
    z-index: 3;
    top: 50%;
    left: 20rem;
    background-color: #fefefe;
    margin-left: -4px;
    padding: 0 .375rem .375rem;
}

#openSidebarButton {
    position: fixed;
    top: 20px;
    left: 0;
    background-color: #f8f8f8;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

#layerSidebar.closed+#openSidebarButton {
    display: block;
}

#layerSidebar {
    width: 317px;
    height: 100vh;
    overflow-x: auto;  /* Enables horizontal scrolling */
    overflow-y: auto;  /* Enables vertical scrolling */
    background: white;
    border-right: 1px solid #ddd;
    padding: 10px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}


.categoryItem {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}



.categoryHeader {
    cursor: pointer;
    background: #ddd;
    padding: 10px;
    border-radius: 4px;
    margin: 0;
    /* font-size: 16px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Arial, sans-serif;
}

.categoryHeader h3 {
    font-size: 16px;
    margin: 0;
    padding: 1px 0;
}

.infoBox {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 200px;
    padding: 10px;
    background-color: white;
    border: 1px solid black;
    display: none;
}

.infoItem {
    margin-bottom: 5px;
}

.switch-paddle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #aaafb5;
    transition: 0.4s;
    border-radius: 20px;
}

.switch-slider::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.switch-slider {
    background-color: #aaafb5;
}

input:checked+.switch-slider::before {
    background-color: #ae561f;
    transform: translateX(20px);
}


/* .layerValueSection{
    position: relative;
    background:'rgba(255, 255, 255, 0.8)';
    display:'flex'; 
    padding:'10px';
    border:'5px';
    display:'none'; 


} */

#measurementContainer {
    position: fixed;
    top: 10px;
    left: 325px;
    z-index: 1000;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

#measureButton {
    font-size: 14px;
    color: black;
    cursor: pointer;
}

#distanceIcon,
#areaIcon,
#cancelIcon {
    cursor: pointer;
}

#cancelIcon {
    display: none;
    /* Initially hidden */
}

#unitDropdown {
    display: none;
    /* Initially hidden */
}


.colorDot {

    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    /* makes it square but slightly rounded */
    margin-right: 1px;
    vertical-align: middle;


}

.valueItem {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}



.lineLegend {
    display: inline-block;
    width: 33px;
    height: 4px;
    background-color: #000;
    margin-left: 6px;
    vertical-align: middle;
    border-radius: 1px;
}

#measurementContainer {
    position: fixed;
    top: 10px;
    left: 325px;
    z-index: 1000;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

#measureButton {
    font-size: 14px;
    color: black;
    cursor: pointer;

}

#distanceIcon,
#areaIcon,
#cancelIcon {
    cursor: pointer;
}

#cancelIcon {
    display: none;
    /* Initially hidden */
}

#unitDropdown {
    display: none;
    /* Initially hidden */
}



.custom-controls {
    position: absolute;
    top: 80px;
    left: 0.4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
    /* Keeps border inside rounded corners */
}

.custom-controls button {
    background: none;
    border: none;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
    border-bottom: 1px solid black;
    /* Divider line */
}

.custom-controls button:last-child {
    border-bottom: none;
    /* No border on last button */
}

.custom-controls button:hover {
    background: #eee;
}


#refreshLayersBtn {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.3s;
}

#refreshLayersBtn:hover {
    background-color: #f0f0f0;
}

.tooltip {
    position: absolute;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 4px;
    pointer-events: none;
    font-size: 12px;
    z-index: 9999;
}



.subCategoryTitle {
    margin: 5px;
    margin-left: 0px;
    font-size: 16px;
    font-weight: bold;
    padding: 1px 10px;
    background-color: #f7f9fc;
    /* Light background */
    color: #333;
    /* Dark text */
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: Arial, sans-serif
}





/* KML-CZML Editor Styles */
.entity-flyto {
    margin-bottom: 0.25em;
}

.entity-name {
    font-weight: bold;
    margin-bottom: 0.25em;
}

.v-toolbar__extension {
    background-color: gray;
}

.v-input--reverse .v-input__slot {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.v-application--wrap {
    min-height: unset!important;
}

.highlight {
    border: 1px dashed gray;
}

#uploadContainer.dragover {
    background-color:#bdbdbd;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 48px 48px;
}

#cesiumContainer {
    width: calc(100%) !important;
    right: 350px !important;
    transition: width 0.3s, right 0.3s;
}

#cesiumContainer.full-width {
    width: 100% !important;
    right: 0 !important;
}

.v-list-item {
    min-height: 36px !important;
}

.v-list-item__icon {
    margin-right: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.v-subheader {
    padding-left: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
}


/* Editor sidebar */
.editor-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 999;
    overflow-y: auto;
    
}

.v-toolbar__content {
    cursor: pointer;
    background-color: #ddd;
    padding: 10px;
    border-radius: 4px;
    
}


.v-toolbar__title {
    margin: 5px;
    margin-left: 0px;
    font-size: 16px;
    font-weight: bold;
    padding: 1px 10px;
    /* background-color: #f7f9fc; */
    /* Light background */
    color: #333;
    /* Dark text */
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: Arial, sans-serif

}

/* Sidebar toggle buttons */
.open-button {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    /* box-shadow: 2px 0 5px rgba(0,0,0,0.2); */
}

/* #toggleEditorBtn {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#toggleEditorBtn:hover {
    background: #45a049;
} */

#editorSidebar {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    z-index: 10;
    background-color: #f5f5f5;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}
#editorSidebar.open {
    display: block;
}

/* Paddle Switch Style */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(22px);
}


/* Drag and drop styling */
#uploadContainer.dragover {
    background-color: #e0e0e0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 48px 48px;
    border: 2px dashed #999;
}

/* Entity list styling */
.v-list-item {
    min-height: 40px;
    cursor: pointer;
}

.v-list-item--active {
    background-color: #e3f2fd !important;
}

/* Tooltip styling */
#layerTooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 5px 10px;
    font-size: 13px;
    pointer-events: none;
    display: none;
    z-index: 1000;
}

/* Measure tool styling */
#measureTool {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Info box styling */
.infoBox {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 300px;
}

/* Vuetify overrides */
.v-card {
    margin-bottom: 10px;
}

.v-card__text {
    padding: 10px !important;
}

.v-subheader {
    padding-left: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
}

.v-card>:last-child:not(.v-btn):not(.v-chip):not(.v-avatar) {
    margin-bottom: 0 !important;
    background-color: white;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    #layerSidebar {
        width: 250px;
    }
    
    .editor-sidebar {
        width: 300px;
    }
    
    #cesiumContainer {
        width:100% !important;
    }
}

@media (max-width: 768px) {
    #layerSidebar {
        width: 80%;
    }
    
    .editor-sidebar {
        width: 80%;
    }
    
    #cesiumContainer {
        width: 100%;
    }
    
    #cesiumContainer.full-width {
        width: 100%;
    }
}













/* oopen close icon right Editor Sidebar Styles */
.editor-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    width: 350px;
    height: 100%;
    background-color: #f5f5f5;
    z-index: 999;
    overflow-y: auto;
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.editor-sidebar:not(.open) {
    transform: translateX(100%);
}

#openEditorSidebarButton {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: none;
    left: 90rem;

}

.editor-sidebar:not(.open) + #openEditorSidebarButton {
    display: block;
}


.editor-sidebar .close-button {
    cursor: pointer;
    font-size: 30px;
    font-weight: bold;
    padding: 10px;
    color: #333;
    left: 68.2rem;
}

.editor-sidebar .close-button:hover {   
    color: #000;
}



/*Weather Image */

.overlay-control {
    display: none;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    text-align: center;
}

#toggleOverlayBtn {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #999;
    padding: 8px 12px;
    cursor: pointer;
    font-family: sans-serif;
    border-radius: 5px;
    margin-bottom: 5px;
}

#imageOverlay {
    display: none;
    position: relative;
    pointer-events: none; 
}

#imageOverlay img {
    max-width: 600px;
    opacity: 0.85;
    border-radius: 5px;
}

#editorSidebar, #app, #uploadContainer, .v-application--wrap{
    background: rgba(0,0,0,0.5);
    color: white;
}

.v-application .grey.lighten-1, .theme--dark.v-sheet, .v-card{
    background-color: rgba(0,0,0,0.5)!important;
}

.v-toolbar__content{
    background-color: rgba(0,0,0,0.5)!important;
    color: white;
}

.v-toolbar__title, .v-label{
    color: white !important;
}

.v-label{
    margin-top: 10px !important;
    outline: none !important;
}

input{
    color: white !important;
    margin-top: 5px !important;
}

input:focus{
    outline: none !important;
}

.v-card > :last-child:not(.v-btn):not(.v-chip):not(.v-avatar){
    background-color: rgba(0,0,0,0.5)!important;
}

.v-text-field > .v-input__control > .v-input__slot::after {
  border-color: white !important;
  border-width: thin 1px !important;
  transform: unset !important;
}

.v-application.primary--text{
    color: white !important;
}

.theme--light.v-btn.v-btn--has-bg {
  background-color: rgba(0,0,0,0.5)!important;
  color: white !important;
}

.theme--light.v-list {
  color: #fff !important;
  background: rgba(0,0,0,0.5) !important;
}















                        
                #controlsPanel {
                    max-height: 0;
                    overflow: hidden;
                    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
                    opacity: 0;
                }

                #controlsPanel.open {
                    max-height: 500px; /* adjust as needed */
                    opacity: 1;
                    overflow-y: auto;
                }

                #togglePanelButton {
                    margin-bottom: 10px;
                }


                /* Specific styles for Zoom to All Routes button */
                .zoom-to-routes-button {
                    background-color: #28a745; /* Example: green background */
                    padding: 10px 15px;
                    font-size: 0.95em;
                }

                /* Optional: Hover effect */
                .zoom-to-routes-button:hover {
                    background-color: #218838;
                    color: #fff;
                    transform: scale(1.03);
                }
                 

                .cesium-butt {
                    background-color: #218838;
                    border-style: none;
                }   
                   
             #controlsPanel {
                position: absolute;
                top: 10px;
                right: 10px;
                left: 830px;
                padding: 15px;
                background: rgba(42, 42, 42, 0.9);
                border-radius: 8px;
                color: white;
                z-index: 100;
                display: flex;
                flex-direction: column;
                gap: 15px;
                width: 320px;
                max-height: 0;
                opacity: 0;
                overflow: hidden;
                transition: max-height 0.4s ease, opacity 0.4s ease;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            }


        /* Styling for the panel's heading */
        #controlsPanel h2 {
            margin-top: 0;
            margin-bottom: 10px;
            text-align: center;
            color: #007bff; /* Blue heading color */
            font-size: 1.5em; /* Larger font size */
        } */

        /* Styles for individual route control groups */
        .route-control-group {
            border: 1px solid rgba(80, 80, 80, 0.7); /* Light gray border */
            border-radius: 6px; /* Rounded corners */
            padding: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px; /* Spacing between elements within the group */
            transition: all 0.3s ease-in-out; /* Smooth transition for expand/collapse */
            overflow: hidden; /* Hide overflowing content during transition */
            background-color: rgba(50, 50, 50, 0.7); /* Slightly lighter dark background */
        }

        /* Styles for the collapsed state of route control groups */
        .route-control-group:not(.expanded) {
            height: 30px; /* Approximate height of just the checkbox label */
        }

        /* Styles for the expanded state of route control groups */
        .route-control-group.expanded {
            height: auto; /* Allow height to adjust to content when expanded */
        }

        /* Hide elements within collapsed groups by default */
        .route-control-group label:not(:first-child),
        .route-control-group input[type="number"],
        .route-control-group select {
            display: none;
        }

        /* Show elements within expanded groups */
        .route-control-group.expanded label:not(:first-child),
        .route-control-group.expanded input[type="number"],
        .route-control-group.expanded select {
            display: flex; /* Use flex for labels to align items, block for inputs/selects */
            align-items: center;
        }

        /* Styling for labels within control groups */
        .route-control-group label {
            font-size: 0.95em;
            margin-bottom: 2px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer; /* Indicate that the label itself is clickable (for checkbox) */
        }

        /* Styling for checkboxes within control groups */
        .route-control-group input[type="checkbox"] {
            margin-right: 5px;
            transform: scale(1.2); /* Make checkbox slightly larger */
            cursor: pointer;
        }

        /* Styling for select and number input fields */
        .route-control-group select,
        .route-control-group input[type="number"] {
            width: calc(100% - 20px); /* Adjust width for padding and indent */
            padding: 8px;
            border: 1px solid #555; /* Darker border */
            border-radius: 4px;
            background-color: rgba(60, 60, 60, 0.9);
            color: white;
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
            margin-left: 10px; /* Indent controls slightly */
            font-size: 0.9em;
        }

        /* Ensure options in select dropdowns also have dark background */
        .route-control-group select option {
            background-color: rgba(60, 60, 60, 0.9);
            color: white;
        }

        /* Container for action buttons at the bottom of the panel */
        .action-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 10px;
        }

        /* General styling for Cesium-like buttons */
        .cesium-button {
            border: none;
            border-radius: 5px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s ease, transform 0.1s ease; /* Smooth transitions for hover/active states */
            font-size: 1em;
            padding: 0;
            margin: 0 !important;
        }

        /* Hover effect for buttons */
        .cesium-button:hover {
            background-color: transparent;
            box-shadow: none; /* Darker blue on hover */
            transform: translateY(-1px); /* Slight lift effect */
            padding: 0;
        }

        /* Active (clicked) effect for buttons */
        .cesium-button:active {
            transform: translateY(0); /* Reset lift */
            background-color: #28a745;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Smaller shadow */
        }

        /* Specific style for the loop animation button when active (stopping loop) */
        #loopAnimationButton.active {
            background-color: #dc3545; /* Red color when active */
        }

        /* Hover effect for the active loop button */
        #loopAnimationButton.active:hover {
            background-color: #c82333; /* Darker red on hover */
        }

        /* Loading overlay styles */
        #loadingOverlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 999; /* Ensure it's on top of everything */
            pointer-events: none; /* Allows clicks to pass through if not active */
            opacity: 0; /* Initially hidden */
            transition: opacity 0.3s ease-in-out; /* Smooth fade in/out */
            font-size: 2em;
        }

        /* Active state for loading overlay (visible) */
        #loadingOverlay.active {
            opacity: 1;
            pointer-events: auto; /* Block clicks when active */
        }

/* Styles 2 */
i:hover{
    cursor: pointer;
    color: var(--color-primary);
    transition: color 0.5s ease-in-out;
}

/* For PNG Icons */
.icon-special:hover{
    transition: filter 0.3s ease-in-out;
    filter:invert(39%) sepia(77%) saturate(3286%) hue-rotate(229deg) brightness(96%) contrast(106%);
    -webkit-filter:invert(39%) sepia(77%) saturate(3286%) hue-rotate(229deg) brightness(96%) contrast(106%);
    --moz-filter:invert(39%) sepia(77%) saturate(3286%) hue-rotate(229deg) brightness(96%) contrast(106%);
    --o-filter:invert(39%) sepia(77%) saturate(3286%) hue-rotate(229deg) brightness(96%) contrast(106%);
    --ms-filter:invert(39%) sepia(77%) saturate(3286%) hue-rotate(229deg) brightness(96%) contrast(106%);
}

.layerValueSection>div{
    background-color: rgba(0,0,0,0.5) !important;
}

#openEditorSidebarButton{
    display: block !important;
    position: unset !important;
    right: unset !important;
    top: unset !important;
    transform: unset !important;
    z-index: 998;
    left: unset !important;
}

.cesium-viewer-toolbar, .cesium-viewer-animationContainer, .cesium-viewer-timelineContainer, .cesium-viewer-fullscreenContainer{
    /* display: none !important; */
}

#nav-ctrl-btns{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

#refreshLayersBtn, #refreshLayersBtn:hover{
    background: transparent;
    border: none;
    padding: unset;
    margin: unset;
    font-size: 1em;
    cursor: pointer;
}

#top-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    /* top: 10px; */
    top: -70px;
    left: 50%;
    gap: 1em;
    -webkit-transform: translateX(-50%);
    --moz-transform: translateX(-50%);
    --o-transform: translateX(-50%);
    --ms-transform: translateX(-50%);
    transform: translateX(-50%);
    right: 0;
    height: 50px;
    width: 66vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: white;
    font-family: 'Arial MT Rounded';
    font-size: 1em;
    padding: 0 20px;
    transition: top 0.5s ease-in-out;
}

#top-bar-import-KML{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    cursor: pointer;
}

.icon-special{
    cursor: pointer;
    width: 1.25em;
    aspect-ratio: 1;
}

#ce-labelText{
    border-bottom: 2px solid white;
    cursor: pointer;
    width: 10vw;
    color: white;
    outline: none;
}

#ce-labelText::placeholder{
    color: rgba(255,255,255,0.6);
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom:2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
    -webkit-transform: translateX(24px);
    --moz-transform: translateX(24px);
    --o-transform: translateX(24px);
    --ms-transform: translateX(24px);
    transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#left-sidebar{
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: flex-start;
    position: fixed;
    gap: 0.25em;
    /* top: 100px; */
    top: 30px;
    /* left: 20px; */
    left: calc(-40px + -20vw);
    height: 85vh;
    width: 20vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: white;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    padding: 1em;
    transition: all 0.5s ease-in-out;
    /* transition: left 0.5s ease-in-out; */
}

#layer-search-container{
    position: relative;
}

#layer-search{
    background-color: white;
    border: none;
    color: black;
    outline: none;
    border-radius: 5vmin;
    padding: 0.25em 0.5em;
    width: 100%;
}

#layer-search::placeholder{
    color: rgba(0,0,0,0.5);
}

#search-bar-icon{
    cursor: pointer;
    color: var(--color-primary);
    left: 90%;
    position: absolute;
    top: 15%;
}

.heading-top{
    color: white;
    font-family: 'Arial MT Rounded Extra Bold';
    font-size: 1.75em;
}

.layer-list-item, .layer-sub-list-item, .layer-list-item-ic{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    padding: 0.25em;
    font-size: 0.88em;
    justify-content: space-between;
}

.layer-list-item > span{
    width: 80%;
    text-align: left;
}

.layer-sub-list-item{
    justify-content: flex-start;
}

.layer-list-item-ic{
    justify-content: flex-start;
}

.accordion {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.panel {
    /* margin-top: -10px; */
    /* padding: 0 18px; */
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    transition: all 0.2s ease-out;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#legend-item-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: left;
    justify-content: flex-start;
    padding: 0.25em;
}

#legend-container{
    cursor: pointer;
    display: none;
    align-items: left;
    justify-content: flex-start;
    position: absolute;
    flex-direction: column;
    /* top: 200px; */
    top: 130px;
    /* left: 22vw; */
    left: calc(30px + 2.5vw);
    height: 34vh;
    width: 10vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    gap: 10px;
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1em;
    color: white;
    transition: all 0.5s ease-in-out;
    padding: 0.75em 0.75em;
}

#right-sidebar{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    flex-direction: column;
    /* top: 200px; */
    top: 130px;
    /* left: 22vw; */
    left: 20px;
    height: 70vh;
    width: 2.5vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5em;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    gap: 10px;
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: all 0.5s ease-in-out;
}

#North{
    color: var(--color-primary);
    cursor: pointer;
}

#tool-bar-group-01{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    /* top: 100px; */
    top: 30px;
    /* left: 22vw; */
    left: 20px;
    height: 50px;
    width: 10vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: all 0.5s ease-in-out;
}

.tool-bar-icon{
    cursor: pointer;
    width: 1.4em;
    height: 1.4em;
    aspect-ratio: 1;
    padding: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0);
    border-radius: 50%;
}

.tool-bar-icon.active{
    background: rgba(255,255,255,0.2);
    color: var(--color-primary);
}

.tool-bar-02-icon{
    cursor: pointer;
    padding: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#weather-update{
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* top: 100px; */
    top: calc(190px + 30vh);
    /* right: 100px; */
    right: 22vw;
    height: 200px;
    width: 950px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: all 0.5s ease-in-out;
    gap: 10px;
}

#measurement-dialogue{
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: row;
    /* top: 30px;
    right: 24vw; */
    top: 100px;
    right: 22vw;
    height: 50px;
    width: 25vw;
    padding: 0.25em;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: all 0.5s ease-in-out;
    gap: 10px;
}

#measurementContainerNew{
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    align-items: center;
    color: white !important;
    font-size: 20px !important;
}

#unitDropDown{
    color: white !important;
    font-size: 16px !important;
    font-family: 'Arial MT Rounded Extra Bold';
}

.customUnitDropDown{
    color: white !important;
    font-size: 16px !important;
    font-family: 'Arial MT Rounded Extra Bold';
    background: rgba(0,0,0,0.5);
}

.optionStyling{
    color: white !important;
    font-size: 16px !important;
    font-family: 'Arial MT Rounded Extra Bold';
    background: rgba(0,0,0,0.5);
}

#measureButton{
    color: white !important;
    font-size: 16px !important;
    font-family: 'Arial MT Rounded';
}

#cancelIcon{
    display: block;
    cursor: pointer;
}

.weather-glass-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 10px;
    padding: 10px; */
    min-width: 145px;
    width: 145px;
    height: 145px;
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    font-size: 0.8em;
}

.weather-glass-tr, .weather-glass-br{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
}

.weather-glass-br span{
    font-size: 1.1em;
    font-family: 'Arial MT Rounded Extra Bold';
}

.weather-glass-br{
    justify-content: center;
}

#tool-bar-group-02{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    /* top: 100px; */
    top: 30px;
    /* right: 2vw; */
    right: 22vw;
    height: 50px;
    width: 20vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: top 0.5s ease-in-out;
}

#close-left-sidebar{
    cursor: pointer;
}

#current-entities-dialogue, #ThreeD-model-dialogue{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: absolute;
    top: 170px;
    /* left: 22vw; */
    left: 20px;
    height: 70vh;
    width: 20vw;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1em;
    color: white;
    transition: top 0.5s ease-in-out;
    transition: left 0.5s ease-in-out;
}

#ThreeD-model-dialogue{
    justify-content: flex-start;
    gap: 20px;
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1em;
    color: white;
    height: 25vh;
    left: unset;
    right: 100px;
}

#cam-feed-container{
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    flex-direction: column;
    /* top: 100px; */
    top: calc(190px + 220px + 30vh);
    /* right: 100px; */
    right: 22vw;
    height: 240px;
    width: 950px;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    border-radius: 1em;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0.5em;
    font-family: 'Arial MT Rounded';
    font-size: 1.25em;
    color: white;
    transition: all 0.5s ease-in-out;
    gap: 10px;
}

#cam-feed-selector{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    font-size: 0.8em;
}

#cam-feed-picker{
    background: rgba(0,0,0,0.5);
    border: none;
    outline: none;
    color: white;
    width: 75px;
    font-family: 'Arial MT Rounded';
    font-size: 0.8em;
    cursor: pointer;
    width: 300px;
}

.cam-feed-individual{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 0.2em;
}

#cam-feeds{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
    height: 200px;
    padding: 0.25em;
    background: rgba(0,0,0,0.5);
    border-radius: 0.75em;
    overflow-x: auto;
}

.closeDialogue{
    font-size: 2em;
    cursor: pointer;
    /* transform: rotate(45deg);
    --moz-transform: rotate(45deg);
    --webkit-transform: rotate(45deg);
    --o-transform: rotate(45deg);
    --ms-transform: rotate(45deg); */
    color: white;
    position: absolute;
    top: -7px;
    right: 10px;
    /* z-index: 999; */
}

#legend-title, #legend-sub-title{
    font-size: 1.1em;
    color: white;
    font-family: 'Arial MT Rounded Extra Bold';
    width: 100%;
    text-align: left;
}

#legend-sub-title{
    font-size: 1em;
    font-family: 'Arial MT Rounded Bold';
}

.legend-item{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.legend-color{
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background: var(--color-primary);
}
.legend-label{
    font-family: 'Arial MT Rounded';
    font-size: 0.8em;
    color: white;
}

.heading-custom{
    color: white;
    font-family: 'Arial MT Rounded Extra Bold';
    font-size: 1.5em;
}

#point-list, #polyline-list, #polygon-list, #label-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5em;
    width: 100%;
    height: 30vh;
    background: rgba(0,0,0,0.5);
    border-radius: 0.75em;
    overflow-y: auto;
}

.point-row, .polyline-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    font-size: 0.8em;
}

.point-row-lhs, .point-row-rhs, .ployline-color-selector{
    display: flex;
    align-items: center;
    gap: 10px;
}

.polyline-color{
    cursor: pointer;
    border-radius: 5px;
}

.point-row-rhs > i {
    cursor: pointer;
}

.polyline-width-labelText, .scale-input{
    border-bottom: 2px solid white;
    cursor: pointer;
    width: 5vw;
    color: white;
    outline: none;
}

.polyline-width-labelText::placeholder{
    color: rgba(255,255,255,0.6);
}

.icon-special-small{
    cursor: pointer;
    width: 0.75em;
    aspect-ratio: 1;
}

.close-button{
    color: white!important;
}

.close-button.active{
    color: var(--color-primary)!important;
}

#font-picker{
    background: rgba(0,0,0,0.5);
    border: none;
    outline: none;
    color: white;
    width: 75px;
}

.scale-input{
    width: 3vw;
}

.threeD-labelText{
    width: 100%;
    border-bottom: 2px solid white;
    cursor: pointer;
    color: white;
    outline: none;
}

#editorSidebar {
    display: block !important;
    width: 21vw;
    right: 0px !important;
    transition: all 0.5s ease-in-out;
}

.theme--light.v-subheader {
  color: white !important;
}

#togglePanelButton{
    margin-bottom: unset !important;
}

/* Animation Controls */
#controlsPanel, #controlsPanel h2{
  color: white !important;
  font-family: 'Arial MT Rounded' !important;
}

.zoom-to-routes-button, .cesium-butt{
    background-color: rgba(0,0,0,0.5) !important;
    border-radius: 5vmin !important;
}


/* Responsive Code for Smaller Screens */
@media only screen and (max-height: 950px) {
    #ThreeD-model-dialogue{
        gap: 10px;
    }

    #weather-update{
        top: calc(150px + 30vh);
        height: 130px;
        width: 800px;
    }

    .weather-glass-card{
        min-width: 110px;
        width: 110px;
        height: 110px;
        font-size: 0.7em;
        max-height: 110px;
    }

    #cam-feed-title, #cam-feed-picker{
        font-size: 1.75em;
    }

    #cam-feed-close{
        font-size: 4em;
    }

    #cam-feed-container{
        top: calc(150px + 140px + 30vh);
        height: 200px;
        width: 800px;
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 1500px) {
    #ThreeD-model-dialogue {
        gap: 8px;
        height: 20vh;
    }

    #weather-update{
        top: calc(100px + 30vh);
        height: 145px;
        width: 700px;
    }

    .weather-glass-card{
        min-width: 90px;
        width: 90px;
        height: 90px;
        font-size: 0.6em;
        max-height: 90px;
    }

    #cam-feed-title, #cam-feed-picker{
        font-size: 1.25em;
    }

    #cam-feed-close{
        font-size: 4em;
    }

    #cam-feed-container{
        top: calc(150px + 110px + 30vh);
        height: 170px;
        width: 700px;
        font-size: 0.7em;
    }

    #top-bar {
        left: unset;
        gap: 10px;
        -webkit-transform: unset;
        --moz-transform: unset;
        --o-transform: unset;
        --ms-transform: unset;
        transform: unset;
        right: 20px;
        height: 50px;
        width: 76vw;
        font-size: 0.8em;
    }

    #right-sidebar {
        width: 4vw;
    }

    #tool-bar-group-02 {
        font-size: 1em;
    }
}

/* Styles Left Side Bar */
#layerSidebar, .categoryHeader, .subCategoryTitle, #modelSelect, #zoomButton, #refreshLayersBtn{
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Arial MT Rounded';
    border: none;
}

#layerSidebar{
    left: -320px;
    transition: all 0.5s ease-in-out;
}

#modelSelect:hover{
    outline: 2px solid var(--color-primary);
    border: none;
}

#zoomButton{
    margin-top: 10px;
}

#zoomButton:hover, #refreshLayersBtn:hover{
    background: rgba(0, 0, 0, 0.5);
}

.backBtn{
    color: white;
    font-size: 1.5em;
}

.close-button{
    color: #333;
}

#layer-search-container{
    position: relative;
}

#layer-search{
    background-color: white;
    border: none;
    color: black;
    outline: none;
    border-radius: 5vmin;
    padding: 0.25em 0.5em;
    width: 100%;
}

#layer-search::placeholder{
    color: rgba(0,0,0,0.5);
}

#search-bar-icon{
    cursor: pointer;
    color: var(--color-primary);
    left: 90%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.selectOptionsCustom{
    background: rgba(0, 0, 0, 0.5);
    color: white;
}