  html[data-theme='dark'] {
    --background: #1A2029;
    --text: #ebebeb;
    --titan-blue: #1A2F48;
    --titan-orange: #FF7900;
    --medium-blue: #538deb;
    --beige: #3c4148;
    --sky-blue: #99b3b9;
    --gray: #252a30
    
}

.legend {
    width: 100%;
    background-color: #EBEDEE;;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em;
    font-size: .8em;
}

[data-theme='dark'] .legend  {
    background-color: var(--gray);
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;

}

.green {
    background-color: #076600;
}

.red {
    background-color: #ff0000;
}

.blue {
    background-color: #0000ff;
}

.legend p {
    margin: 0;
    margin-left: 10px;
    margin-right: 10px;
}

.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure popup is above the map */
    display: none; /* Initially hidden */
}

html[data-theme='dark'] .popup-content  {
    background-color: var(--background);
    color:#fff;
}

.popup-content {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color:#fff;
    max-height:90%;
    width: 80%; /* Adjust width as needed */
    max-width: 700px; /* Max width of the dialog */
    overflow:auto;
    font-size:1rem;
    position: relative;
}
.popup-close {
    position: absolute;   
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 30px;
    color: #888;
    z-index: 1100; /* Adjust the z-index value */
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darken background */
    z-index: 999; /* Ensure overlay is behind popup */
    display: none; /* Initially hidden */
}

#popupImage {
    margin-bottom:1em;
}



.popup-content .location-container {

    margin-bottom: 1.5em;
}

.location-container p:first-of-type  {
    
    margin-bottom:0em;
}

.dialog-heading {
    font-size:1.5em;
    line-height: 1.3em;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 1.25rem;
    font-family: "museo-sans", sans-serif;
}




#openNav {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0057ab;
    padding: 1%;
    top: 250px;
    z-index: 101;
    -webkit-box-shadow: 0 0 9px rgba(60, 60, 60, .5);
    box-shadow: 0 0 9px rgba(60, 60, 60, .5);
    cursor: pointer;
    color: #fff;
}


/* The side navigation menu */
.sidenav {

    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: absolute;
    /* Stay in place */
    z-index: 4;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    right: 0;
    background-color: #fff;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    overflow-y: visible;
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
    /*padding:1%;*/
    /*padding-top: 10px;*/
    /* Place content 60px from the top */
    -webkit-box-shadow: 0 0 9px rgba(60, 60, 60, .5);
    box-shadow: 0 0 9px rgba(60, 60, 60, .5);
}

.sidenav-content {
    /* margin-top: 15%; */
}


#filter-records,
#start-records,
#destination-records,
#building-records {
    padding-left: 1.2em;
}




.gm-style .gm-style-iw-d::-webkit-scrollbar-track,
.gm-style .gm-style-iw-d::-webkit-scrollbar-track-piece,
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-t::after {
    background-color: var(--background) !important;
}

.gm-ui-hover-effect>span {
    background-color: var(--text) !important;
}

/* The navigation menu links */
.sidenav a {
    /*padding: 8px 8px 8px 32px;*/
    /* text-decoration: none; */
    font-size: 0.9em;
    /* color: var(--text); */
    display: block;
    transition: 0.3s;
    background-color: var(--background);
    background: none;

}

/* When you mouse over the navigation links, change their color */
/* .sidenav a:hover {
    color: #084B8A;
} */

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: relative;
    top: 0;
    /*left: 25px;*/
    font-size: 2em;
    /*margin-left: 50px;*/
    margin-bottom: 0.5em;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}


.info-pane {
    max-width: 300px;
}

.info-pane a,
.info-window a {
    background-color: var(--background) !important;

}

.info-pane hr {
    margin: 0;
}

.info-pane img {
    width: 100%;
    height: auto;
}

.info-pane h3 {
    font-size: 1em;
    text-transform: uppercase;
    color: var(--text) !important;
}

#mainNav {
    padding-left: 0 !important;
}

/* MAP */
#mainNav li {
    display: inline-block;
    margin-bottom: 5%;
    font-size: 1em;
    text-transform: uppercase;
}

#mainNav li:first-child {
    margin-right: 20px;
}

#mainNav li:nth-child(2) {
    margin-right: 20px;
}


#mainNav li a {
    /* font-size: 0.65em; */
    border-bottom: 1px solid transparent;
    font-weight: bold;
}


.tabActive {
    border-bottom: 3px solid var(--text);
    ;
}

.tabInactive {
    border: none;
}

.sidenav-content {
    padding: 5%;
}

#mySidenav {
    z-index: 1000;
}

.hotspots label {
    display: unset;
    font-size: .9em;

}

.hotspots input {
    margin-bottom: 1rem;
}

.hotspots ul {
    margin: 0;
    padding: 0;
}

.hotspots ul li {
    list-style-type: none;
    ;
}

.hotspots ul li img {
    float: left;
    margin-right: .75em;
}

.hotspots ul li p {
    margin-bottom: 1rem;
    font-size: .9em;
}

#divSearchPanel hr {
    margin: 0;
    margin-bottom: 1rem;
}

#divSearchPanel h3 {
    font-size: 1.10em;
    margin-bottom: 1rem;

}

.download {
    width: 45%;

}

.download:hover {
    color: #fff !important;
}

#mainNav {
    margin-bottom: .5rem;
}

#divOnCampusDirections h3 {
    font-size: 1.10em;
}

#divBuildingsPanel h3 {
    font-size: 1.10em;
}

html[data-theme='dark'] #mySidenav {
    background: rgba(26, 32, 41, 0.9)
}


#mySidenav {
    background-color: var(--background);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.current-location {
    margin-top: 0.4rem;
}
/* 
.department-room {
    float: right;
}

.department-info {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.department-info a {
    width: 200px;
    display: inline-block;
} */

#openNav {
    width: 150px;
}

#openNav img {
    vertical-align: middle;
    margin-right: 4%;

}

#openNav span {
    vertical-align: middle;

}

#openNav > a {
    color: #fff;
   border-bottom: 1px dotted #fff;
}

.right-panel {
    color: var(--text);
}

.adp-placemark {
    background-color: var(--background-color);
    font-weight: bold !important;
}

.adp table {
    color: var(--text) !important;
}

.adp-details {
    color: var(--text) !important;
}

.adp-legal {
    color: var(--text) !important;
}

.adp-summary {
    color: var(--text) !important;
}

#site-footer-header {
    background-color: var(--titan-blue) !important;
    color: white;

}

nav#main-nav ul#main-nav-list li ul.sub-menu {
    min-width: 400px !important;
}