#container {
    width: auto;
    /* margin-top: -10px; */
    /* height: calc(100vh - 185px);
     */
     /* height: 100%; */
      /* height: 100% !important; */
}

#map,
#body {
     /* width: 100%;
     height: calc(100vh - 10px); */
     position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}
@import url('https://fonts.googleapis.com/css?family=Roboto');

h2{
  margin:0px;
  text-transform: uppercase;
}

h6{
  margin:0px;
  color:#777;
}

/* .wrapper{
  text-align:center;
  margin:50px auto;
} */

.tabs{
  /* margin-top:50px; */
  width: 100%;
  font-size:13px;
  padding:0px;
  list-style:none;
  background:#edf2fe;
  box-shadow:0px 5px 20px rgba(0,0,0,0.1);
  display:inline-block;
  border-radius:50px;
  position:relative;
}

.tabs a{
  text-decoration:none;
  color: #306bec;
  text-transform:uppercase;
  padding:10px 20px;
  display:inline-block;
  position:relative;
  z-index:1;
  transition-duration:0.6s;
}

.tabs a.active{
  color:#fff;
}

.tabs a i{
  margin-right:5px;
}

.tabs .selector{
  height:100%;
  display:inline-block;
  position:absolute;
  left:0px;
  top:0px;
  z-index:1;
  border-radius:50px;
  transition-duration:0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  background: #306bec;
  /* background: -moz-linear-gradient(45deg, #05abe0 0%, #8200f4 100%);
  background: -webkit-linear-gradient(45deg, #05abe0 0%,#8200f4 100%);
  background: linear-gradient(45deg, #05abe0 0%,#8200f4 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05abe0', endColorstr='#8200f4',GradientType=1 ); */
}

.menu-dashboad {
    display: block;
    margin-left: 255px;
}
.location-pin img {
    width: 46px;
    height: 46px;
    margin: -26px 0 0 -13px;
    z-index: 10;
    position: absolute;
    border-radius: 50%;
    background: #32383e;
}

.pin {
    width: 50px;
    height: 50px;
    border-radius: 50% 50% 50% 0;
    background: #32383e;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -43px 0 0 -30px;
}

.pin:after {
    content: '';
    width: 26px;
    height: 26px;
    margin: 2px 0 0 2px;
    position: absolute;
    border-radius: 50%;
}

.pulse {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    height: 14px;
    width: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 15px 0px 0px -12px;
    transform: rotateX(55deg);
    z-index: -2;
}

.pulse:after {
    content: "";
    border-radius: 50%;
    height: 40px;
    width: 40px;
    position: absolute;
    margin: -16px 0 0 -13px;
    animation: pulsate 2.5s ease-out;
    animation-iteration-count: infinite;
    opacity: 0;
    background: rgba(94, 190, 255, 0.5);
    box-shadow: 0 0 1px 2px #2d99d3;
    animation-delay: 1.1s;
}

.marker-pin-legend-show {
    width: 12px;
    height: 12px;
    border-radius: 50% 50% 50% 0;
    background: #c30b82;
    position: absolute;
    transform: rotate(-45deg);
    /* left: 50%; */
    /* top: 40px; */
    /* margin: -9px 0 0 0px; */
}

.small-box-footer {
    font-size: 12px;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 7.5px;
    padding-left: 7.5px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 7.5px;
}

.leaflet-bar a,
.leaflet-bar a:hover {
    background-color: #fff !important   ;       /* พื้นหลังปุ่มเป็นสีขาว */
    border-bottom: 1px solid #ccc !important   ;   /* เส้นขอบด้านล่างสีเทาอ่อน */
    width: 26px !important   ;                     /* ความกว้างของปุ่ม */
    height: 26px !important   ;                    /* ความสูงของปุ่ม */
    line-height: 26px !important   ;               /* จัดให้ข้อความ/ไอคอนอยู่กึ่งกลางแนวตั้ง */
    display: block !important   ;                  /* แสดงเป็น block element */
    text-align: center !important   ;              /* จัดกึ่งกลางแนวนอน */
    text-decoration: none !important   ;           /* ตัดเส้นใต้ลิงก์ */
    color: black !important   ;                    /* กำหนดสีตัวอักษร/ไอคอนเป็นสีดำ */
}

.leaflet-touch .leaflet-bar a {
    width: 34px !important   ;
    height: 34px !important   ;
   line-height: 34px !important   ;
    border-radius: 50% !important   ;                   
      border: 2px solid rgba(0, 0, 0, 0.2) !important   ;
    background-color: #fff !important   ;
    color: black !important   ;
    text-align: center !important   ;
    display: block !important   ;
}
.leaflet-bar{
    line-height: 34px !important   ;
    /* border-radius: 50% !important   ;                   วงกลม */
    border: 0px solid rgba(0, 0, 0, 0.2) !important   ; /* กรอบโปร่งใส */
}

.legend1 {
    padding: 10px 20px;
    font: 14px Arial, Helvetica, sans-serif;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    line-height: 24px;
    color: #333;
    width: 220px; /* ปรับความกว้าง */
}

.legend1 h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #000;
}

.legend1 .disaster-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.legend1 .disaster-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

#mapwrap {
  width: 100%;
  height: 600px;
  height: 100vh;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
}

#leafletmap {
  width: 100%;
  height: 600px;
  height: 100vh;
}

#toolbar {
  background: rgba(255, 255, 255, 1);
  opacity: .7;
  width: 350px;
  height: 600px;
  height: 100vh;
  position: absolute;
  left: -350px;
  z-index: 1;
  transition: .5s left;
  padding: 20px;
  box-sizing: border-box;
}

#toolbar.open {
  left: 0;
  opacity: .95;
}


#toolbar .hamburger {
opacity: .97;
  height: 100px;
  width: 25px;
  background: #000;
  box-shadow: 1px 0 2px rgba(0, 0, 0, .3);
  position: absolute;
  right: -25px;
  top: 40%;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border: 1px solid #333;
  cursor: pointer;
    transition: left 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.hamburger span {
  color: #fff;
  display: inline-block;
  position: relative;
  transform: rotate(90deg);
  top: 39px;
  left: -12px;
}

#tourstops {
  /* overflow-y: scroll; */
  max-height: 95vh;
}

#toolbar ul {
  margin: 0;
  padding: 0;
}

#toolbar li {
  list-style-type: none;
  border-bottom: 1px solid #ccc;
  padding: 6px 3px;
  cursor: pointer;
}

#toolbar li:hover {
  color: #666;
}

.notify-icon span{
  display: inline-block;
  border: 1px solid orange;
  border-radius: 50%;
  height: 24px; 
  width: 24px;
  animation: pulse .6s 4 forwards;
  transform-origin: center center;
}

@keyframes pulse{
  0%{
    transform: scale(5.5);
    opacity: .2;
  }
  50%{
    opacity: .8;
  }
  100%{
    transform: scale(.1);
    opacity: 1;
  }
}

.select2-container--default .select2-selection--single {
    /* border-radius: 15px !important; */
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    /* border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0; */
    /* left: 0% !important; */
    /* margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0; */
}

.btn-outline-primary {
    color: #9f9f9f ;
    border-color: #a3a3a3 ;
}
.btn {
    font-size: 12px !important;
    line-height: 1.5;
    border-radius: 50px !important;
}

select {
  width: 100%;
  min-height: 100px;
  border-radius: 3px;
  border: 1px solid #444;
  padding: 10px;
  color: #444444;
  font-size: 14px;
}
#toolbar li {
    list-style-type: none;
    border-bottom: 0px solid #ccc !important;
    padding: 0px 0px !important;
    cursor: pointer !important;
} 
 .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff00 !important;
    border-color: #007bff00 !important; 
    color: #7a7a7a !important; 
    padding: 0 10px !important;
    margin-top: .31rem !important;
    margin-left: .85rem !important;
}
.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box !important;
    border: none !important;
    font-size: 12px !important;
    /* margin-top: 5px; */
    margin-left: 10px !important;
    padding: 0;
}
.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 25px !important;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.select2-dropdown {
  font-size: 14px !important;          /* ขนาดตัวอักษร */
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
   font-size: 14px !important; 
}
.table{
  font-size:12px
}
.table td{
  padding: .10rem !important;
}

.scroll-transparent {
    max-height: 500px;       /* กำหนดสูงสุด */
    overflow-y: auto;        /* เลื่อนแนวตั้ง */
}

/* Track (พื้นหลัง scrollbar) */
.scroll-transparent::-webkit-scrollbar-track {
    background: transparent;
}

/* Thumb (ตัวเลื่อน scrollbar) */
.scroll-transparent::-webkit-scrollbar-thumb {
    background: transparent;
   /* background-color: rgba(0,0,0,0.3);  สี thumb แบบโปร่งใส */
    border-radius: 10px;
}

/* ความกว้าง scrollbar */
.scroll-transparent::-webkit-scrollbar {
    width: 0px;
}
  
.marker-pin-legend1 {
    width: 12px;
    height: 12px;
    border-radius: 50% 50% 50% 0;
    background: #c30b82;
    transform: rotate(-45deg);
}