﻿.btnlocation {
  z-index: 3 !important;
  margin-top: 5px;
}

.overlay_controls .form-select:focus {
  background-color: #fff !important;
}

.inmap-control {
  color: #555 !important;
  text-shadow: 0 0 0 #000;
  font-weight: 400;
  padding: 5px 15px;
  height: 45px !important;
  border-radius: 0 !important;
  border: 1px solid #c0c0c0 !important;
  font-size: 14px !important;
  font-family: "Roboto", sans-serif;
}

.inmap-control option {
  color: #555;
}

.inmap-control::placeholder {
  color: #555 !important;
  font-size: 14px;
}

.inmap-control::-webkit-input-placeholder {
  color: #555;
  font-size: 14px;
}

.inmap-control:focus {
  color: #555;
  background-color: #fff;
  border-color: #808b87;
  box-shadow: none;
}

.overlay_controls {
  position: absolute;
  top: 10px;
  left: 0;
  background: #ececec;
  padding: 10px 0;
  border-radius: 5px;
  z-index: 1;
  width: 35% !important;
  height: auto !important;
}

.overlay_controls.hide {
  left: -35%;
  display: none;
}

.toggle-btn {
  position: absolute;
  top: 10% !important;
  font-size: 3em;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
  z-index: 2;
  text-align: right;
  background: #ececec;
  left: 35% !important;
}

.toggle-btn.collapsed {
  left: 0 !important;
  width: 2% !important;
  height: auto;
  z-index: 2;
  background: #ececec;
}

.dir {
  float: right;
}

.dir i {
  font-size: 1.2rem;
  color: #000;
}

.add_data {
  max-height: 320px;
  background-color: #fff;
  margin-top: 10px;
  padding-top: 1rem;
}

#map {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.kmTabs {
  position: absolute;
  bottom: 50px;
  z-index: 7;
  width: calc(100% - 400px);
  text-align: center;
  right: 0px;
  display: block;
}

.kmTabs ul {
  background: #ffffff;
  padding: 10px 8px;
  margin: 0px;
  list-style: none;
  display: inline-block;
}

.kmTabs li {
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
}

.kmTabs li a {
  padding: 5px 10px;
  border: #636363 solid 1px;
  display: inline-block;
  color: #636363;
  font-size: 14px;
  transition: all 0.25s ease 0s;
  font-weight: 400;
}

.kmTabs li a:hover,
.kmTabs li a.clickclass {
  background: #636363;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease 0s;
}

.mapboxgl-popup-content img {
  width: 7%;
}

.mapboxgl-popup {
  max-width: 400px !important;
}

.mapboxgl-popup-content {
  padding: 25px;
}

.mapboxgl-popup-close-button {
  font-size: 2rem;
  width: 18px;
  height: 14px;
  right: 15px;
  top: 4px;
  background: transparent;
}

.mapboxgl-popup-close-button:hover {
  background: transparent;
}

.viewDealerList a {
  display: none;
}

.mapboxgl-popup-content:has(.locpopupcontent) {
  width: 301px;
  padding: 0;
}

.mylocation {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

.mylocationcity {
  padding: 10px;
}

@media (max-width: 767.98px) {
  .overlay_controls {
    z-index: 7;
    width: 100% !important;
    display: none;
  }

  .overlay_controls.active {
    display: block;
  }

  .overlay_controls .form-select {
    background-color: #fff !important;
  }

  .kmTabs {
    bottom: -10%;
    right: 0px;
    left: 0px;
    width: 100%;
    display: none;
  }

  .kmTabs li {
    margin-left: 1px;
    margin-right: 1px;
  }

  .kmTabs li a {
    padding: 5px 5px;
    font-size: 12px;
  }

  .overlay_controls .form-select {
    background-color: #fff;
    height: auto;
  }

  .toggle-btn {
    display: none
  }

  .viewDealerList {
    padding-top: 15%;
  }

  .viewDealerList a {
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    color: #FFFFFF;
    background: #000000;
    padding: 12px 13px;
    border-bottom: 1px solid #FFFFFF;
    text-decoration: none;
    margin: auto;
    display: block;
    width: fit-content;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .overlay_controls {
    z-index: 7;
    width: 100% !important;
    display: none;
  }

  .overlay_controls.active {
    display: block;
  }

  .overlay_controls .form-select {
    background-color: #fff !important;
  }

  .kmTabs {
    bottom: -10%;
    right: 0px;
    left: 0px;
    width: 100%;
    display: none;
  }

  .kmTabs li {
    margin-left: 1px;
    margin-right: 1px;
  }

  .kmTabs li a {
    padding: 5px 5px;
    font-size: 12px;
  }

  .overlay_controls .form-select {
    background-color: #fff;
    height: auto;
  }

  .toggle-btn {
    display: none
  }

  .viewDealerList {
    padding-top: 10%;
  }

  .viewDealerList a {
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    color: #FFFFFF;
    background: #000000;
    padding: 12px 13px;
    border-bottom: 1px solid #FFFFFF;
    text-decoration: none;
    margin: auto;
    display: block;
    width: fit-content;
  }
}