/* Google Fonts Import Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: #11101d;
  z-index: 100;
  transition: all 0.5s ease;
}

.sidebar.close {
  width: 78px;
}

.sidebar .logo-details {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}

.sidebar .logo-details i {
  font-size: 30px;
  color: #fff;
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}

.sidebar .logo-details .logo_name {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
}

.sidebar.close .logo-details .logo_name {
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links {
  height: 100%;
  padding: 30px 0 150px 0;
  overflow: auto;
}

.sidebar.close .nav-links {
  overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}

.sidebar .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}

.sidebar .nav-links li:hover {
  background: #1d1b31;
}

.sidebar .nav-links li .iocn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.close .nav-links li .iocn-link {
  display: block;
}

.sidebar .nav-links li i {
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}

.sidebar.close .nav-links i.arrow {
  display: none;
}

.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar .nav-links li a .link_name {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  transition: all 0.4s ease;
}

.sidebar.close .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
  padding: 6px 6px 14px 80px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}

.sidebar .nav-links li.showMenu .sub-menu {
  display: block;
}

.sidebar .nav-links li .sub-menu a {
  color: #fff;
  font-size: 13px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.sidebar .nav-links li .sub-menu a:hover {
  opacity: 1;
}

.sidebar.close .nav-links li .sub-menu {
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}

.sidebar.close .nav-links li:hover .sub-menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}

.sidebar .nav-links li .sub-menu .link_name {
  display: none;
}

.sidebar.close .nav-links li .sub-menu .link_name {
  font-size: 18px;
  opacity: 1;
  display: block;
}

.sidebar .nav-links li .sub-menu.blank {
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
}

.sidebar .profile-details {
  position: fixed;
  bottom: 0;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d1b31;
  padding: 12px 0;
  transition: all 0.5s ease;
}

.sidebar.close .profile-details {
  background: none;
}

.sidebar.close .profile-details {
  width: 78px;
}

.sidebar .profile-details .profile-content {
  display: flex;
  align-items: center;
}

.sidebar .profile-details img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}

.sidebar.close .profile-details img {
  padding: 10px;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
  display: none;
}

.sidebar .profile-details .job {
  font-size: 12px;
}

.home-section {
  position: relative;
  background: #e4e9f7;
  height: 100vh;
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
}

.sidebar.close ~ .home-section {
  left: 78px;
  width: calc(100% - 78px);
}

.home-section .home-content {
  height: 60px;
  display: flex;
  align-items: center;
}

.home-section .home-content .bx-menu,
.home-section .home-content .text {
  color: #11101d;
  font-size: 35px;
}

.home-section .home-content .bx-menu {
  margin: 0 15px;
  cursor: pointer;
}

.home-section .home-content .text {
  font-size: 26px;
  font-weight: 600;
}

@media (max-width: 420px) {
  .sidebar.close .nav-links li .sub-menu {
    display: none;
  }
}

.flex-container-chart {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding-left: 19px;
  padding-right: 19px;
}

.flex-container-legend {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding-top: 10px;
  padding-left: 19px;
  padding-right: 19px;
  padding-bottom: 15px;
}

.chart-div {
  width: 100%;
  max-width: 100%;
  height: 510px;
  background-color: #fff;
  border-color: darkgray;
  border-style: solid;
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.lengend-card-div {
  width: 100%;
  max-width: 100%;
  height: 40px;
  background-color: #fff;
  border-color: darkgray;
  border-style: solid;
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Need to icorporate these into exisitng CSS */
#attentionboxlist {
  position: relative;
  list-style-type: none;
  text-align: center;
  top: 2px;
}

#riskleveltext {
  position: relative;
  top: -10px;
  font-weight: 750;
  padding-top: 15px;
  padding-left: 15px;
}

#attentionboxlables {
  position: relative;
  font-weight: 750;
  padding-left: 30px;
}

#dotblack {
  position: relative;
  top: -37px;
  right: 200px;
  height: 25px;
  width: 25px;
  background-color: black;
  border-radius: 50%;
  display: inline-block;
}

#dotred {
  position: relative;
  top: -37px;
  left: 200px;
  height: 25px;
  width: 25px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
}

#dotorange {
  position: relative;
  top: -37px;
  height: 25px;
  width: 25px;
  background-color: orange;
  border-radius: 50%;
  display: inline-block;
}

.flex-container-background {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding-left: 19px;
  padding-right: 19px;
  margin-left: 19px;
  margin-right: 19px;
  height: 70%;
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.background {
  background-image: url(""); /* The image used */
  background-color: #000000; /* Used if the image is unavailable */
  height: 500px; /* You must set a specified height */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

.denied-effect {
  width: 100%;
  max-width: 100%;
  height: 510px;
  border-color: darkgray;
  border-style: solid;
  border-width: 2px;
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#particles-js {
  width: 100%;
  max-width: 100%;
  height: 500px;
  /* background-color: #1c1a31; */
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

// SearchBox CSS
#input-search {
  border-radius: 25px;
}

.marker {
  display: block;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.mapboxgl-popup {
  max-width: 400px;
  font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.float-menu {
  font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
  position: absolute;
  width: 330px;
  top: 65px;
  left: 25px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.float-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #1c1a31;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.float-top-bar-title {
  display: block;
  font-weight: bold;
  color: white;
  padding-top: 5px;
  padding-left: 10px;
}

.float-body {
  top: 30px;
  width: 100%;
  height: calc(100% + 30px);
  background: white;
  padding-top: 25px;
  padding-bottom: 25px;
}

.float-body fieldset {
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

.float-body fieldset:last-child {
  margin: 0;
}

.float-body select {
  width: 100%;
}

.float-body p {
  margin: 0;
}

.float-body label {
  display: block;
  font-weight: bold;
}

.float-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: #1c1a31;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.float-bottom-bar button {
  background-color: cornflowerblue;
  color: white;
  border-radius: 5px;
  display: inline-block;
  height: 20px;
  width: 50px;
  border: none;
  cursor: pointer;
  margin-top: 5px;
  margin-left: 10px;
}

.float-status-bar {
  margin-top: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background: cornflowerblue;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.map-overlay {
  font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
  position: absolute;
  width: 330px;
  top: 65px;
  left: 25px;
  padding: 10px;
}

.map-overlay .map-overlay-inner {
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 10px;
}

.map-overlay-inner fieldset {
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
  margin: 0;
}

.map-overlay-inner select {
  width: 100%;
}

.map-overlay-inner p {
  margin: 0;
}

.map-overlay-inner label {
  display: block;
  font-weight: bold;
}

.map-overlay-inner button {
  background-color: cornflowerblue;
  color: white;
  border-radius: 5px;
  display: inline-block;
  height: 20px;
  width: 50px;
  border: none;
  cursor: pointer;
}

.map-overlay-inner button:focus {
  outline: none;
}

.map-overlay-inner button:hover {
  background-color: blue;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 500ms linear;
  -ms-transition: background-color 500ms linear;
  transition: background-color 500ms linear;
}

.offset > label,
.offset > input {
  display: inline;
}

#animateLabel {
  display: inline-block;
  min-width: 20px;
}

// Spiderfy
.spidered-marker .icon-div {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  font-size: 20px;
}
.spidered-marker:not(:hover) .icon-div .circle-icon {
  color: white;
}
.spidered-marker:hover .icon-div .type-icon {
  color: white;
}

.videoInsert {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: inline-block;
}
