.or {
    text-align: center;
}

#import-geojson-input {
    display: none;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ReactModal__Overlay {
    background: rgba(0, 0, 0, 0.75) !important;
    border-radius: 3px;
    z-index: 9999;
}

.ReactModal__Overlay .ReactModal__Content {
    border: none !important;
    bottom: auto !important;
    margin: auto;
    max-width: 500px;
    overflow: hidden !important;
    padding: 0 !important;
    top: 50% !important;
    transform: translateY(-50%);
    transition: opacity 200ms ease-in-out;
}

.ReactModal__Overlay .ReactModal__Content--after-open {
    opacity: 1;
}

.ReactModal__Overlay .ReactModal__Content--before-close {
    opacity: 0;
}

.ReactModal__Overlay .ReactModal__Content header {
    align-items: center;
    background: #13293D;
    color: white;
    display: flex;
    width: 100%;
}

.ReactModal__Overlay .ReactModal__Content header .geotiff-logo {
    display: inline-block;
    background-image: url('/images/logomark-light.svg');
    background-size: cover;
    fill: white;
    height: 32px;
    width: 32px;
    margin-right: 16px;
}

.ReactModal__Overlay .ReactModal__Content header h3 {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 32px;
    letter-spacing: 2px;
    margin: 0;
}

.ReactModal__Overlay .ReactModal__Content header i {
    margin-left: auto;
    cursor: pointer;
}

.ReactModal__Overlay .ReactModal__Content .content {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 32px;
}

.ReactModal__Overlay .ReactModal__Content .content::-webkit-scrollbar {
    width: 4px;
}

.ReactModal__Overlay .ReactModal__Content .content::-webkit-scrollbar-track {
    box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
    background: rgba(49, 185, 141, 0.3);
}

.ReactModal__Overlay .ReactModal__Content .content::-webkit-scrollbar-thumb {
    background-color: #31b98d;
}

.ReactModal__Overlay .ReactModal__Content .content .gt-input {
    margin-top: 24px;
}

@media (max-height: 700px) {
    .ReactModal__Overlay .ReactModal__Content .content {
        max-height: 450px;
    }
}

@media (max-height: 550px) {
    .ReactModal__Overlay .ReactModal__Content .content {
        max-height: 375px;
    }
}

.menu {
    display: inline;
}

@media screen and (max-width: 900px) {
    .menu {
        display: none;
    }

    .menu.open {
        display: inline;
        bottom: 0;
        box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.3);
        background-color: #30375e;
        font-family: 'Tahoma', sans-serif;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 400px;
        z-index: 1000;
    }

    #menu header {
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu header h3 {
        font-family: 'Tahoma', sans-serif;
        letter-spacing: 2px;
        font-size: 36px;
        color: #13293D;
        margin: 0;
    }

    #menu #search {
        width: 100%;
    }

    #menu #content {
        height: calc(100% - 150px);
        margin-top: 24px;
        overflow-y: auto;
    }

    #menu #content::-webkit-scrollbar {
        width: 4px;
    }

    #menu #content::-webkit-scrollbar-track {
        box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
        background: rgba(49, 185, 141, 0.3);
    }

    section.search-function {
        background-color: white;
        margin-top: 1.5em;
        padding-top: 1em;
        padding-left: 2.2em;
        padding-bottom: 50em;
    }
}

.multiselect-dropdown {
    width: 85% !important;
}

@media (min-width: 901px) {
    .menu-toggle {
        display: none !important;
    }


    #menu {
        bottom: 0;
        box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.3);
        background-color: #30375e;
        font-family: 'Tahoma', sans-serif;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 400px;
        z-index: 1000;
    }

    #menu header {
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu header h3 {
        font-family: 'Tahoma', sans-serif;
        letter-spacing: 2px;
        font-size: 36px;
        color: #13293D;
        margin: 0;
    }

    #menu #search {
        width: 100%;
    }

    #menu #content {
        height: calc(100% - 150px);
        margin-top: 24px;
        overflow-y: auto;
    }

    #menu #content::-webkit-scrollbar {
        width: 4px;
    }

    #menu #content::-webkit-scrollbar-track {
        box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
        background: rgba(49, 185, 141, 0.3);
    }

    section.search-function {
        background-color: white;
        margin-top: 1.5em;
        padding-top: 1em;
        padding-left: 2.2em;
        padding-bottom: 50em;
    }
}

@media (max-height: 825px) {
    .menu-toggle {
        display: none;
    }

    #menu {
        bottom: 0;
        box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.3);
        background-color: #30375e;
        font-family: 'Tahoma', sans-serif;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 400px;
        z-index: 1000;
    }

    .menu-container {
        height: 100%;
        overflow-y: auto;
    }

    #menu header {
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu header h3 {
        font-family: 'Tahoma', sans-serif;
        letter-spacing: 2px;
        font-size: 36px;
        color: #13293D;
        margin: 0;
    }

    #menu #search {
        width: 100%;
    }

    #menu #content {
        height: calc(100% - 150px);
        margin-top: 24px;
        overflow-y: auto;
    }

    #menu #content::-webkit-scrollbar {
        width: 4px;
    }

    #menu #content::-webkit-scrollbar-track {
        box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
        background: rgba(49, 185, 141, 0.3);
    }

    section.search-function {
        background-color: white;
        margin-top: 1.5em;
        padding-top: 1em;
        padding-left: 2.2em;
        padding-bottom: 50em;
    }
}

.menu-toggle {
    position: relative;
    display: block;
    top: 50px;
    left: 5px;
    width: 35px;
    height: 35px;
    z-index: 9999;
    /* Other button styles */
}

#menu header {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#menu header h3 {
    font-family: 'Tahoma', sans-serif;
    letter-spacing: 2px;
    font-size: 36px;
    color: #13293D;
    margin: 0;
}

#menu #search {
    width: 100%;
}

#menu #content {
    height: calc(100% - 150px);
    margin-top: 24px;
    overflow-y: auto;
}

#menu #content::-webkit-scrollbar {
    width: 4px;
}

#menu #content::-webkit-scrollbar-track {
    box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
    background: rgba(49, 185, 141, 0.3);
}

#menu #content #tool-button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#menu #content #tool-button-container .tool-button {
    border-radius: 6px;
    border: 2px solid #31b98d;
    box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
    cursor: pointer;
    height: 103px;
    margin: 12px;
    text-align: center;
    text-decoration: none;
    width: 150px;
}

#menu #content #tool-button-container .tool-button > i {
    background-size: 100%;
    width: 24px;
    height: 24px;
    color: #31b98d;
    display: block;
    margin: 24px auto 0;
}

#menu #content #tool-button-container .tool-button p {
    color: #13293D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

#menu #content #tool-button-container .tool-button:hover {
    border: 2px solid rgba(49, 185, 141, 0.8);
}

[data-layout='hide-menu'] #menu {
    display: none;
}

.tool {
    bottom: 0;
    box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.3);
    color: #13293D;
    font-family: 'Open Sans', serif;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 400px;
    z-index: 9000;
}

.tool > header {
    background: #13293D;
    color: white;
    padding: 32px;
    width: 100%;
}

.tool > section.content {
    height: calc(100% - 200px);
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.tool > section.content::-webkit-scrollbar {
    width: 4px;
}

.tool > section.content::-webkit-scrollbar-track {
    background: rgba(49, 185, 141, 0.3);
    box-shadow: 0 1px 3px 0 rgba(49, 185, 141, 0.3);
}

.tool .tool-results {
    background: white;
    border-radius: 3px;
    border: 2px solid #13293D;
    font-family: 'Lalezar', serif;
    margin: 0 24px;
}

.tool .tool-results.single-value {
    display: flex;
    justify-content: space-around;
}

.tool .tool-results h3 {
    color: #13293D;
    font-size: 24px;
    letter-spacing: 1.5px;
}

.tool .tool-results p {
    color: #13293D;
    font-size: 24px;
}

.tool > footer {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: 16px;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.tool > footer > i {
    background-image: url('/images/logomark-light.svg');
    background-size: cover;
    height: 40px;
    margin-right: 16px;
    width: 40px;
}

.tool > footer h3 {
    color: rgba(0, 0, 0, 0.15);
    font-family: 'Tahoma', sans-serif;
    font-size: 36px;
    letter-spacing: 2px;
    margin: 0;
}

.histogram-results > div > div {
    display: flex;
    justify-content: space-around;
}

.histogram-results > div > div p:first-child {
    width: 50%;
}

#map {
    bottom: 0;
    left: 400px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

#map .leaflet-control {
    border-radius: 3px !important;
}

#map .leaflet-control a {
    border-radius: 3px !important;
}

#map .leaflet-draw {
    display: none;
}

/* if user is hiding the menu, make the map take up the whole screen */
[data-layout='hide-menu'] #map {
    left: 0;
}

@media screen and (max-width: 900px) {
    #map {
        left: 0;
    }

    #map .leaflet-top {
        top: 150px;
    }
}

.loader-container {
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1001;
}

.loader-container .loader {
    align-items: center;
    background: white;
    border-radius: 6px;
    box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    margin: auto;
    padding: 40px;
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
}

.loader-container .loader .spinner {
    border: 8px solid #ff4380;
    border-top: 8px solid white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    position: relative;
}

.loader-container .loader h3 {
    letter-spacing: 2px;
    font-size: 36px;
    font-weight: bold;
    font-family: 'Tahoma', sans-serif;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

select {
    width: 25em;
    height: fit-content !important;
}

.dropdown-container {
    height: 150px; /* Set the desired height of the dropdown */
    overflow-y: auto; /* Enable vertical scrolling */
}

h1 {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 1.5em;
    margin: 0.8em 0 5em 1.5em;
    color: white;
    font-weight: 500;
}

label {
    display: inline-block;
    font-family: 'Tahoma', sans-serif;
    font-size: 1em;
    margin: 0.67em 0;
    font-weight: 500;
}

input + label {
    margin-left: 8px;
}

h2 {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 0.6em;
    margin: 0.1em 1.5em 5em 0.8em;
    font-style: italic;
    color: white;
    font-weight: 300;
}

header {
    background-color: #30375e;
}

hr {
    margin-right: 3em;
    margin-top: 1.5em;
}

button {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 0.6em;
    margin-right: .5em;

}

.btn-light {
    font-family: 'Tahoma', 'sans-serif';
    font-size: 1em;
    border: solid 1px #ced4da;
    border-radius: 4px;
    padding: 0.3em 1em;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

.datepicker {
    font-family: 'Tahoma', 'sans-serif';
    font-size: 1em;
    border: solid 1px #ced4da;
    border-radius: 4px;
    padding: 0.5em 1.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.multiselect-dropdown {
    width: 650px;
    display: inline-block;
    padding: 2px 5px;
    margin-right: 2%;
    margin-left: 0;
    border-radius: 4px;
    border: solid 1px #ced4da;
    background-color: white;
    position: relative;
    font-family: 'Tahoma', sans-serif;
}

.ui-datepicker {
    font-family: 'Tahoma', 'sans-serif';
    background-color: white;
    border: solid 1px #ced4da;
    box-shadow: gray 0 3px 8px;
}

.ui-datepicker-header {
    background-color: lightgray;
    border-radius: 4px 4px 0 0;
}

.ui-datepicker-title {
    color: #343a40;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

h3 {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 1.8em;
    margin: 1.8em 2.5% 5em;
    padding-bottom: 20px;
    color: black;
    font-weight: 500;
}

h4 {
    display: inline;
    font-family: 'Tahoma', sans-serif;
    font-size: 1.2em;
    margin: 1.8em 2.5% 5em;
    padding-bottom: 20px;
    color: black;
    font-weight: 500;
}

hr {
    width: 95%;
    margin: 25px auto;
}

h5 {
    font-family: 'Tahoma', sans-serif;
    color: black;
    font-weight: 400;
    margin-left: 2.5%;
    margin-right: 2.5%;
}

#loading {
}

.lds-ring {
  display: inline-block;

  position: fixed;
  left: calc(50% - 40px);
  top: calc(50% - 40px);

  width: 80px;
  height: 80px;
  z-index: 9001;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#toggleSites {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    z-index: 400;
    font-size: medium;
}