@font-face {
  font-family: "KanitLight";
  src: url("./font/Kanit-Light.ttf") format("truetype");
}

@font-face {
  font-family: "KanitSemiBold";
  src: url("./font/Kanit-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "KanitSemiMedium";
  src: url("./font/Kanit-Medium.ttf") format("truetype");
}

* {
  font-family: "KanitLight", Merriweather, "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
}

html {
  font-size: 100%;
}
body {
  font-family: "KanitLight", Merriweather, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  background: #e4e4e4 0% 0% no-repeat padding-box;
}
#DivFlowGageBar {
    margin-top: -285px;
}
#DivFloodGageBar {
    margin-top: -145px;
}
#DivRainGageBar {
    margin-top: -75px;
}
#DivWaterGageBar {
    margin-top: -215px;
}
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    width: 400px;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 10px #00000026;
    opacity: 1;
}

/* Set the size of the div element that contains the map */

#googleMap {
    width: 100%;
    top: 0px;
    min-height: 935px;
    opacity: 1;
}

.content {
  padding: 8px;
  margin: 0px 8px 0px 8px;
}

.container {
  display: table;
  width: 100%;
}

.sidenav {
  height: 100%;
  width: 400px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 10px #00000026;
  overflow-x: hidden;
}

.main {
  margin-left: 400px;
  margin-right: 0px;
  overflow: hidden;
}

.main .content {
  margin-left: 18px;
  margin-right: 18px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

/* .content-left {
    position: absolute;
    left: 0px;
    width: 400px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 10px #00000026;
    top: 0;
    bottom: 0;
    height: 100vh;
} */
/* 
.content-right {
    position: absolute;
    right: 0px;
    width: 50%;
    width: calc(100% - 400px);
    left: 400px;
} */

.icon-close {
  position: absolute;
  right: 8px;
  padding-top: 4px;
  color: #5dd1ce;
  background-color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 25px;
  top: 6px;
}

.copy-right {
  bottom: 8px;
  text-align: center;
  width: 100%;
}

.logo-left {
  height: 123px;
  border-radius: 12px;
  opacity: 1;
  text-align: center;
}

.header-left {
  font-family: "KanitSemiBold", Merriweather, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 31px;
  text-align: center;
  font-weight: bold;
  margin-top: 8px;
}

.header-left2 {
  text-align: center;
  margin-top: -8px;
  letter-spacing: 0.8px;
  font-size: 10px;
  letter-spacing: 1.15px;
}

.h-card {
  background: #48a4a4 0% 0% no-repeat padding-box;
  mix-blend-mode: multiply;
  border-radius: 10px 10px 0px 0px;
  opacity: 1;
  height: 73px;
}

.h-card-map {
  background: #48a4a4 0% 0% no-repeat padding-box;
}

.h-table {
  background: #29c6c8 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 10px #0000001a;
  border-radius: 10px 10px 0px 0px;
  opacity: 1;
}

.custom .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #fffcfc;
}

.custom .table > :not(caption) > * > * {
  border-bottom-width: 0px;
}

.custom .table > :not(:first-child) {
  border-top: 0px solid currentColor;
}

.custom .table > thead {
  color: #fff;
}

.card.custom,
.custom .card-header {
  border-radius: 10px;
}

.card-header.h-card {
  border-radius: 10px 10px 0 0;
}

.h-card span,
.h-card i {
  font-weight: bold;
  color: #fff;
}

.select-custom {
  width: 187px;
  height: 24px;
  background-color: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 5px;
  opacity: 1;
  font-size: 14px;
  padding: 0 2.25rem 0 0.75rem;
}

.table-custom thead th {
  line-height: 16px;
  background: #60d4cc;
}

.h-div {
  position: relative;
  top: -38px;
}

.custom .card-body {
  padding: 0;
}

.notable {
  background: #60d4cc;
  height: 38px;
  display: flex;
  font-weight: 700;
  color: #fff;
  padding-left: 24px;
}

.icon-bar {
  position: absolute;
  right: 8px;
  padding-top: 5px;
  padding-left: 6px;
  color: #fff;
  background-color: #5dd1ce;
  width: 24px;
  height: 24px;
  border-radius: 25px;
  top: 80px;
}

.icon-box-color {
  font-size: 21px;
  margin-left: -2px;
  margin-right: -2px;
}

.card-system {
  background: #29c6c8 0% 0% no-repeat padding-box;
  border-radius: 10px;
  opacity: 1;
  cursor: pointer;
  height: 140px;
}

.card-text.btn-system {
  color: #fff;
  letter-spacing: -0.7px;
  font-size: 13px;
}

.card-system img {
  margin-top: -18px;
}

.card-radar {
  background: #29c6c8 0% 0% no-repeat padding-box;
  border-radius: 10px;
  opacity: 1;
  height: 42px;
}

.card-text.btn-radar {
  color: #fff;
  margin-top: -12px;
}

.icon-radar {
  background: #26c6c8;
  border-radius: 25px;
  padding: 2px;
}

.cursor-pointer {
  cursor: pointer;
}

.card-map {
  position: absolute;
  z-index: 1;
  right: 8px;
  top: 8px;
  box-shadow: 0px 3px 10px #0000001a;
  width: 300px;
  font-weight: bold;
  border: 0;
}

.card-criteria {
  position: absolute;
  z-index: 1;
  bottom: 0px;
  right: 60px;
  background: transparent;
}

.table-criteria.table > :not(:first-child) {
  border-top: 0px solid currentColor;
}

.custom .card-body .h-table {
  margin-bottom: -58px;
  border-radius: 0px 0px 10px 10px;
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #48a4a4;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #29c6c8;
}

.item-badge {
  position: relative;
  display: inline-block;
}
.notify-badge {
  position: absolute;
  right: -8px;
  top: -8px;
  background: red;
  text-align: center;
  border-radius: 25px;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
}

.radar-div {
  background: #e0fafb 0% 0% no-repeat padding-box;
  padding: 34px 16px 8px 16px;
}

.custom table th {
  border-radius: 10px 0 0 0;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.custom table th:first-child {
  border-radius: 10px 0 0 0;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.custom table th:last-child {
  border-radius: 10px 10px 0 0;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.custom table td {
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.custom table tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.custom table tr:last-child td:last-child {
  border-radius: 0 0 10px 0;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
}

.table-custom.table {
  background: #5fd4cb;
  border-radius: 10px;
  box-shadow: 2px 0px 2px 0px #bfbfbf inset;
  font-weight: bold;
}

.custom table tr th {
  line-height: 18px;
}

.table-custom tbody {
  background: #fff;
}
tbody tr:nth-child(even) {
  background: #f5f9f9;
}

.text-center th {
  text-align: center;
}

/* .wrapper {
    position: relative;
    overflow: auto;
    white-space: nowrap;
  } */

.custom-check input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  top: 4px;
  left: 2px;
  border: 3px solid #fff;
  border-top: none;
  border-right: none;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.custom-check input[type="checkbox"] {
  line-height: 2.1ex;
}

.custom-check input[type="checkbox"] {
  position: absolute;
  left: -999em;
}

.custom-check input[type="checkbox"] + label {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.custom-check input[type="checkbox"] + label::before {
  content: "";
  display: inline-block;
  vertical-align: -25%;
  height: 18px;
  width: 18px;
  background-color: #26c6c8;
  border: 1px solid rgb(166, 166, 166);
  border-radius: 4px;
  margin-right: 0.5em;
}


.radio-item {
  display: inline-block;
  position: relative;
  padding: 0 6px;
  margin: 10px 0 0;
}

.radio-item input[type='radio'] {
  display: none;
}

.radio-item label {
  color: #000;
  letter-spacing: 0.12px;
}

.radio-item label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  margin: 0 5px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 11px;
  border: 2px solid #26c6c8;
  background-color: transparent;
}

.radio-item input[type=radio]:checked + label:after {
  border-radius: 11px;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 9px;
  left: 10px;
  content: " ";
  display: block;
  background: #26c6c8;
}

.radio-item-white {
  display: inline-block;
  position: relative;
  padding: 0 6px;
  margin: 10px 0 0;
  top: -5px;

}

.radio-item-white input[type='radio'] {
  display: none;
}

.radio-item-white label {
  color: #fff;
  letter-spacing: 0.12px;
  font-weight: bold;
  font-size: 13px;
  
}

.radio-item-white label:before {
  content: " ";
  display: inline-block;
  position: relative;
  top: 5px;
  margin: 0 5px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 11px;
  border: 2px solid #fff;
  background-color: transparent;
}

.radio-item-white input[type=radio]:checked + label:after {
  border-radius: 11px;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 9px;
  left: 10px;
  content: " ";
  display: block;
  background: #fff;
}