body {
    margin: 0 !important;
    padding: 0;
}

#scene-wrapper {
    display: flex;
}

#map {
    height: 100vh;
    width: 66vw;
}

#content {
    height: 100vh;
    width: 34vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

#hide-text-panel {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    z-index: 999;
    background: #fdfdfd;
    padding: 2rem 0.5rem;
    color: #ff51ba;
    border: 2px solid #ff51ba;
    border-right: 0;
    left: -28px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding-right: 0.5rem;
    cursor: pointer;
}

#hide-text-panel.left {
    right: -28px;
    left: unset;
    transform: rotate(180deg);
}

#nav-buttons {
    display: flex;
    justify-content: space-between;
    box-shadow: #80808024 0px -1px 20px 5px;
}

.nav-buttons-bottom {
    flex: 1;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}


.nav-buttons-bottom:hover {
    background: #80808017;
}

.button-content {
    display: flex;
    align-items: center;
    color: gray;
    font-size: 19px;
}

#right-button>.button-content i {
    padding-left: 5px;
}

#right-button {
    border-left: 1px solid #80808042;
}

#left-button>.button-content i {
    padding-right: 5px;
}


.button-content i {
    color: #ff51ba
}

#inner-content {
    padding: 1rem;
    overflow: auto;
}

.nav-buttons-bottom.disabled {
    filter: brightness(1.5);
    cursor: unset;
}

.nav-buttons-bottom.disabled:hover {
    background: transparent;
}

.nav-buttons-bottom.disabled>.button-content i {
    color: gray
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: rgba(138, 138, 138, 0.185);
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: rgb(170, 170, 170);
}


.bullets-outercontainer {
    position: absolute;
    top: 0;
    height: 100%;
    padding-left: 20px;
    display: flex;
    z-index: 999;
    background: #00000030;
    padding-right: 2em;
    backdrop-filter: blur(4px);
}

.bullets-outercontainer.left {
    right: 0;
    padding-left: 0;
    padding-right: 20px !important;
    background: #00000030;
    padding-left: 2em;
}

.bullets-outercontainer.top {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 0px;
}

.bullets-outercontainer.top .bullets-innercontainer {
    content: "";
    position: absolute;
    top: 50%;  
    left: 0;   
    right: 0;  
    width: 100%; 
    height: 1px; 
}

.bullets-outercontainer.top .bullets-innercontainer {
    display: flex; 
    flex-direction: row; 
    justify-content:space-around; 
    position: absolute; 
    top: 50%;  
    left: 0;   
    right: 0;  
    transform: translateY(-50%);
    width: 100%; 
}

.bullets-outercontainer.top:before {
    content: "";
    position: absolute;
    top: 50%;  
    left: 0;   
    right: 0;  
    width: 100%; 
}

.bullets-innercontainer {
    display: flex;
    flex-direction: column;
    /* Arrange items vertically */
    justify-content: space-around;
    /* Space items evenly along the column */
    height: 100%;
    /* Full viewport height */
    align-items: center;
    /* Center horizontally */
    width: fit-content;
}


.circle {
    position: relative;
    border: 2px solid transparent;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    line-height: 50px;
    text-align: center;
    /* margin-top: 50px; */
    background-color: #fff;
    z-index: 2;
    cursor: pointer;
}

.circle:hover {
    border-color: #ff51ba;
}

.circle:first-child {
    margin-top: 0;
}


.bullets-outercontainer:before {
    position: absolute;
    border: 1px solid #5d5d5d;
    width: 0;
    height: 100vh;
    display: block;
    content: '';
    left: 32px;
    z-index: 0;
    top: 0;
    margin-left: -1px;
}

.bullets-outercontainer.left:before {
    left: unset;
    right: 31px;
}

.active {
    border-color: #8b8b8b !important;
    background-color: #ff51ba;
}

#legend-button {
    position: absolute;
    z-index: 999;
    bottom: 15px;
    left: 20px;
    border-radius: 50%;
    background-color: white;
    color: #ff51ba;
    font-size: 23px;
    padding: 0.5rem 0.8rem;
    border: 2px solid #ff51ba;
    cursor: pointer;
}

#base-maps-button {
    position: absolute;
    z-index: 999;
    bottom: 25px;
    right: 20px;
    border-radius: 50%;
    background-color: white;
    color: #ff51ba;
    font-size: 23px;
    padding: 0.5rem 0.8rem;
    border: 2px solid #ff51ba;
    cursor: pointer;
}

#legend-button.active-button,
#legend-button:hover,
#base-maps-button.active-button,
#base-maps-button:hover
{
    background-color: #ff51ba;
    color: white;
    border-color: white;
}

#legend-tooltip,
#base-maps-tooltip {
    z-index: 999;
    background-color: white;
    border: 2px solid #ff51ba;
    border-radius: 4px;
    padding: 10px;
    display: none;
    width: 300px;
    height: 300px;
}

#legend-tooltip[data-show], #base-maps-tooltip[data-show] {
    display: block;
}

#arrow,
#arrow::before,
#base-maps-arrow,
#base-maps-arrow::before {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ff51ba;
  background: transparent;
}

#arrow,
#base-maps-arrow {
  visibility: hidden;
}

#arrow::before,
#base-maps-arrow::before
{
  visibility: visible;
  content: '';
  transform: translateX(-9px);
}

#legend-container,
#base-maps-container {
    overflow: auto;
    height: 100%;
}

#legend-button.left {
    left: 83px;
}

#base-maps-button.left {
    right: 83px;
}

.legend-title {
    font-weight: 700;
    color: gray;
    font-size: 16px;
    margin-bottom: 7px;
}

.legend-img {
    padding-left: 10px;
}

#base-maps-container > .form-check {
    padding: 0.5rem 0.5rem 0rem;
}

input[type="radio"] {
    accent-color: #ff4ab7;
}

.form-check-label {
    vertical-align: text-bottom;
}

.leaflet-popup-content {
    width: 401px;
    max-height: 300px;
    overflow: auto;
    padding-right: 0.5rem;
}

.leaflet-popup-content img {
    max-width: 100%;
    height: auto !important;
}

.attributes-table {    
    width: 100%;
}

.attributes-table th, .attributes-table td{
    padding: 1em;
}

.attributes-table tr:last-child {
    border-bottom: none!important;
}

.attribute-header {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.70);
    color: #fff;
}

.attribute-entry {
    font-weight: bold;
}

.attribute-row {
    border-bottom: 1px solid #c6c6c6b5;
}

.attribute-row td {
  font-size: 15px !important;
}

.attribute-entry td {
  font-size: 15px !important;
}

.attribute-header th {
  font-size: 15px !important;
}

.close-button {
    cursor: pointer;
    width: fit-content;
    padding: 0.5em 0em 1em 0em;
}


/* Tooltip with scene title on circle hover  */
#scene-tooltip-hover {
    position: absolute;
    background: rgba(33, 33, 33, 0.95); 
    color: #f1f1f1;
    padding: 8px 14px;
    border-radius: 6px; 
    font-size: 20px; 
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.2s ease;
    z-index: 9999;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.35); 
    backdrop-filter: blur(2px); 
    transform: translateY(4px); 
    left: 0;
    top: 0;
}
