#leaflet,
#map {
  width: 100%;
  height: 450px;
  /* border-top-left-radius: 15px;
  border-top-right-radius: 15px; */
  /* border-radius: 15px; */
}

.body {
  background-color: #E8E8ED;
}

.card {
  background-color: #F4FAFF;
  border-radius: 15px;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11), 0 0px 46px rgba(0, 0, 0, 0.04);
}

.chart {
  width: 100%;
  height: 400px;
  background-color: #FFF;
  /* border-radius: 15px; */
}

.chart2 {
  width: 100%;
  height: 500px;
  background-color: #FFF;
  /* border-radius: 15px; */
}

.leaflet-control-layers-list {
  margin-top: -50px;
  margin-bottom: -50px;
  height: fit-content;
}

.btn-3bb {
  background-color: #0563bb;
  color: #FFFF;
  border: solid;
  border-radius: 5px;
}

.btn-3bb:hover {
  background-color: #FFFF;
  color: #0563bb;
  border-color: #0563bb;
  border: solid;
  border-radius: 10px;
}

.circle-icon {
  width: 30px;
  height: 30px;
  max-width: 100%;
  background-color: #0563bb;
  /* background-color: azure; */
  /* border: 5px solid ; */
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.card-type {
  display: flex;
  justify-content: center;
  background-color: #F4FAFF;
  border-radius: 15px;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11), 0 0px 46px rgba(0, 0, 0, 0.04);
}

.type {
  border-color: #F4FAFF;
  box-shadow: 0 24px 36px rgba(244, 250, 255), 0 0px 46px rgba(244, 250, 255);
}

.type:hover {
  color: #0563bb;
  /* transform: scale(1.15, 1.15);
  border: none; */
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11), 0 0px 46px rgba(0, 0, 0, 0.04);
}

.border-none {
  color: #636364;
  border: none;
}

.btn:hover {
  border-radius: 15px;
}

.btn-outline-primary:hover {
  background-color: #B5DEFF !important;
}

.btn-outline-primary:active {
  background-color: #B5DEFF !important;
  /* border-color: coral; */
}

.btn-outline-primary:visited {
  background-color: #B5DEFF !important;
}

.BG02 {
  background: #8FC1D4 !important;
  color: #FFFF;
}

.filter-switch label {
  cursor: pointer;
}

.filter-switch-item input:checked+label {
  color: inherit;
}

.filter-switch-item input:not(:checked)+label {
  --bg-opacity: 0;
  box-shadow: none;
}

.f20 {
  font-size: 20px;
}

/*Legend specific*/
.legend {
  padding: 6px 8px;
  font: 13px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  border-radius: 5px;
  line-height: 24px;
  color: #555;
}

.legend h4 {
  text-align: center;
  font-size: 14px;
  margin: 2px 12px 8px;
  /* color: #777; */
}

.legend span {
  position: relative;
  bottom: 3px;
  font-family: "Kanit", sans-serif !important;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
  /* opacity: 0.7; */
}

.legend img {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
  /* opacity: 0.7; */
}

.legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}

.kanit {
  font-family: "Kanit", sans-serif !important;
  font-size: 16px !important;
}

.box-title {
  background-color: #0099ff;
  color: #FFF;
  font-size: 18px;
  margin-bottom: -18px;
}

.box-title p {
  cursor: pointer;
}

.loader-line {
  width: 100%;
  height: 3px;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
  /* margin: 100px auto; */
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.loader-line:before {
  content: "";
  position: absolute;
  left: -50%;
  height: 3px;
  width: 40%;
  background-color: coral;
  -webkit-animation: lineAnim 1s linear infinite;
  -moz-animation: lineAnim 1s linear infinite;
  animation: lineAnim 1s linear infinite;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

@keyframes lineAnim {
  0% {
    left: -40%;
  }

  50% {
    left: 20%;
    width: 80%;
  }

  100% {
    left: 100%;
    width: 100%;
  }
}