body { margin: 0; padding: 0; }
body, html {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'kanit', sans-serif;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 500;
    color: #6a6a6a;
    font-size: 14px;
}

/* Map container */
#map-container {
  flex: 1; /* Ensures it takes up the remaining space */
  width: 100%; /* Full width of the screen */
  height: auto;
  background-color: #f0f0f0; /* Fallback background if no map is loaded */
}

.form-control {
    display: block;
    width: 100%;
    height: 30px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #6a6a6a;
    background-color: #e8f0f0;
    background-image: none;
    border: 0 solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, #100e0f, #ff3475);
    border-color: #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.sidenav {
  height: 600px;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 60;
  background-color: #FFF;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 30px;
}

.sidenav a {
  padding: 8px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

/* Style for the close button */
.closebtn {
  position: absolute;
  top: 0px;
  right: 15px; /* Floats the button to the right */
  font-size: 35px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  z-index: 1001;
}

.closebtn:hover {
  color: #ff0000; /* Highlight the close button on hover */
}

.sidenav-left{
  left: 0;
}

.sidenav-right{
  right: 0;
  z-index: 9999;
  background: #f5f5f5;
  /* box-shadow: 10px 10px 10px 10px rgba(0,0,0,0.15); */
}

.detail-right{
  right: 350px;
  z-index: 9998;
  background: #f5f5f5;
}

.table-detail{
  background-color: #FFFFFF;
  margin: 15px;
  margin-bottom: 150px;
  padding: 10px 10px 10px 10px;
}

.table-items{
  margin-left: 15px;
  margin-right: 15px;
}
.main {
  transition: margin-left .5s;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.branding {
  writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    position: absolute;
    background: #FFF;
    padding: 5px;
    color: #100e0f;
    font-size: 16px;
    font-weight: 500;
    left: 0;
    height: 120px;
    width: 30px;
    text-align: center;
    top: 250px;
    border-radius: 0px 10px 10px 0px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.3);

}

.table-view {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  position: absolute;
  background: #FFF;
  padding: 11px 1px 2px 5px;
  color: #100e0f;
  font-size: 12px;
  font-weight: 500;
  right: 0px;
  height: auto;
  width: 30px;
  top: 250px;
  border-radius: 10px 0px 0px 10px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.3);

}
.sidenav a.text-size{
  padding: 2px 10px;
  display: inline;
  margin-right: 5px;
}

.table-view p, .branding p{
  display: inline;
  bottom: 8px;
  font-size: 16px;
  text-align: center;
}

.place-name-list{
  font-size: 14px;
  font-weight: 500;
  color: #100e0f;
}
.place-location-list{
  font-size: 12px;
  font-weight: 400;
}

.place-name{
  font-size: 32px;
  font-weight: 500;
  color: #100e0f;
}
.place-desc{
  font-size: 14px;
  font-weight: 300;
}

.sidenav-right ul{
 list-style-type: none;
 margin: 0;
 padding: 0;
}
.sidenav-right li{
  margin-bottom: 10px;
  list-style: none;
  width: 100%;
  float: left;
  margin-top: 10px;
  transition: 200ms eaes;
  background: #FFF;
  padding: 10px;
}
.sidenav-right li span{
  float:right;
  color: #6a6a6a;
  margin-right: 2px;
}
.sidenav-right li span h3{
  font-size : 14px;
  font-weight: 500;
  color:  #100e0f;
}

.sidenav-right li span p{
  font-size: 12px;
  color: #6a6a6a;
}


.sidenav-right li .img {
    width: auto;
    display: block;
}
.sidenav-right li .placeDesc {
  width: 250px;
  float: left;
  margin-top: 5px;
}


.sidenav-right label{
  color: #6a6a6a
}


.map-component {
    position: absolute;
    z-index: 999;
}

.control-panel {
  bottom:40%;
  left: 10px;
  width: 38px;
}

.control-panel ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 0;
}

.control-panel li {
    border-radius: 25px;
    box-sizing: border-box;
    margin-bottom: 3px;
    background: rgb(0,0,0,.5);
    color: #FFF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 30px;
    width: 30px;
}


.control-layer {
    bottom: 15%;
    left: 10px;
    width: 38px;
}

.control-layer ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 0;
}

.control-layer li {
    border-radius: 25px;
    box-sizing: border-box;
    margin-bottom: 7px;
    background: rgb(0,0,0,.5);
    color: #FFF;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 30px;
    width: auto;
    padding-right: 20px;
    padding-left: 10px;
}

.control-layer li span{
    font-size: 12px;
    margin-top: 4px;
    font-weight: 400;
}

.pointer {
    cursor: pointer;
}

.control-layer li.active{
  background: #FFF;
  color:  #100e0f;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.3);
}

.control-layer li.active .panel-icon{
  fill: linear-gradient(90deg, #100e0f, #ff3475);
}
.panel-icon {
    fill: #FFF;
    display: block;
    margin: auto;
    height: 25px;
    width: 25px;
}

.searching-form{
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 50px;
}

/* noUiSlider */
.divSlider {
    position: relative;
    padding: 10px 10px 10px 5px;
    overflow: hidden;
}

/**** Custom styles for ionRangeSlider ****/
.irs--round .irs-from, .irs--round .irs-to, .irs--round .irs-single {
    font-size: 12px;
    line-height: 1;
    text-shadow: none;
    padding: 3px 5px;
    background-color: #100e0f;
    color: white;
    border-radius: 4px;
}
.irs--round .irs-handle {
    top: 26px;
    width: 20px;
    height: 20px;
    border: 4px solid #100e0f;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 1px 3px rgba(0,0,255,0.3);
}

.irs--round .irs-bar {
    top: 36px;
    height: 4px;
    background-color: #100e0f;
}


/* style place markers */
.marker {
  background-size: cover;
  width: 30px;
  height: 40px;
  border-radius: 0%;
  cursor: pointer;
}
.marker.marker-hotel {
  background-image: url('../img/icons/hotel.png');
}
.marker.marker-resturent {
  background-image: url('../img/icons/resturent.png');
}
.marker.marker-educational_center {
  background-image: url('../img/icons/educational_center.png');
}
.marker.marker-farm {
  background-image: url('../img/icons/farm.png');
}
.marker.marker-shopping {
  background-image: url('../img/icons/shopping.png');
}
.marker.marker-tourist {
  background-image: url('../img/icons/tourist.png');
}
.marker.marker-health {
  background-image: url('../img/icons/health.png');
}
.marker.marker-coffee {
  background-image: url('../img/icons/coffee.png');
}
.marker.geolocation{
  width:20px;
  height: 20px;
  border-radius: 20px;
  background: #fd4242eb;
}
.mapboxgl-popup {
  max-width: 200px;
}
.mapboxgl-popup-content {
  text-align: center;
  font-family: 'kanit', sans-serif;
}
