.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
  display: none !important;
  padding: 0 5px;
  background-color: hsla(0, 0%, 100%, 0.5);
  margin: 0;
}

.mapboxgl-ctrl-logo {
  display: none !important;
}

.mapboxgl-map {
  text-align: right;
  font: 12px/20px Helvetica Neue, Arial, Helvetica, sans-serif;
  overflow: visible !important;
  position: relative !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mapboxgl-canvas {
  width: 100% !important;
  height: 698px !important;
  position: relative;
  border-radius: 22px !important;
}

.center-data {
  display: flex;
  justify-content: left;
  align-items: center;
}

.address-sec {
  color: #fff;
  margin-bottom: 0px;
  padding-top: 0 !important;
}

.address-sec h4 {
  font-family: Roboto;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0px;
  color: rgba(1, 1, 1, 1);
  margin-bottom: 15px;
}

.address-sec h2 {
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.address-sec h5 {
  font-size: 20px;
  line-height: 31px;
}

.address-sec p {
  margin-bottom: 4px;
  font-size: 15px;
  text-transform: unset;
}

.getDirection {
  margin-top: 15px;
}

.section-map {
  background: #ffffff !important;
  background-image: linear-gradient(to right, black, black);
  padding: 20px 16px;
  margin-top: 0 !important;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  height: auto;
margin-right:16px;
}

.select-opt {
  padding: 13px;
  border-radius: 12px;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.select-opt .row {
  justify-content: center;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

select.form-select {
  background-origin: unset;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.loading-text,
loading-message {
  text-align: center;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* CSS */
.page-template-page-dealer-locator #main {
  background: #f2f2f2;
}

.pb-60 {
  padding-bottom: 60px;
}

.pt-70 {
  padding-top: 70px;
}

.container.dealer .dependent-dropdown {
  border-radius: 16px;
  background: #ffffff;
  padding: 40px 30px;
  align-items: center;
    margin-bottom: 60px;
}

.container.dealer .dependent-dropdown h3 {
  color: #010101;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -1px;
  text-transform: uppercase;
  padding-bottom: 16px;
  font-family: "Roboto";
}

.dependent-dropdown .input-field label {
  font-family: Roboto;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0px;
}

.dependent-dropdown .input-field label span {
  color: #ed2228;
}

.container.dealer .dependent-dropdown h3 span {
  color: #ed2228;
}

.brand-outlet-form .form-select {
  border: var(--bs-border-width) solid #949494;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  padding: 12px 16px;
  max-width: 100%;
  background-color: #f3f3f5;
  border-color: transparent;
  color: #949494;
}

.container.dealer .dependent-dropdown .select-opt {
  padding: 0;
  border-radius: 0;
}

.dealer-output .dealers-container .dealers-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 698px;
  overflow-y: auto;
}

/* scroll vbar css */

.dealer-output .dealers-container .dealers-cards::-webkit-scrollbar {
  width: 5px;
}

.dealer-output .dealers-container .dealers-cards:hover::-webkit-scrollbar {
  display: block;
}

/* Track */
.dealer-output .dealers-container .dealers-cards::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.dealer-output .dealers-container .dealers-cards::-webkit-scrollbar-thumb {
  background: rgba(237, 34, 40, 1);
  border-radius: 10px;
}

/* Handle on hover */
.dealer-output
  .dealers-container
  .dealers-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(237, 34, 40, 1);
}

.dealer-output .dealers-container {
  height: 698px;
  margin-bottom: 60px;
  overflow: hidden;
}

.dealer-output {
  margin-top: 60px;
}

.dealer-sidebar {
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: none;
  height: 460px;
}

.dealers-container .col-md-8.col-sm-12 {
  position: sticky;
}

.map-content {
  position: relative;
  overflow: hidden;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info img {
  width: 24px;
}

.contact-info p {
  color: #010101;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.contact-info p a {
  color: rgba(1, 1, 1, 1);
  word-break: break-all;
}

.dealer-sidebar {
  height: 100%;
}

@media only screen and (max-width: 1600px) {
  .contact-info p {
    font-size: 16px;
    line-height: 24px;
    gap: 8px;
  }
}

@media only screen and (max-width: 1400px) {
  .pt-70 {
    padding-top: 40px;
  }

  .pb-60 {
    padding-bottom: 40px;
  }

  .dealer-output {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 1440px) {
    .container.dealer .dependent-dropdown {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 1400px) {
  .contact-info p {
    font-size: 14px;
    line-height: 20px;
    gap: 8px;
  }
}

@media only screen and (max-width: 1200px) {
  .contact-info p img {
    width: 24px;
  }
}

@media only screen and (max-width: 1024px) {
  .dealer-output .dealers-container {
    margin-bottom: 0px;
    height: 500px;
  }

  .dealer-output .dealers-container .dealers-cards {
    height: 500px;
  }

  .map-container.map-wrapper {
    height: 500px;
    border-radius: 22px;
    overflow: hidden;
  }

  .pt-70 {
    padding-top: 30px;
  }

  .pb-60 {
    padding-bottom: 30px;
  }

  .dealer-output {
    margin-top: 24px;
  }
}

@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }
}

@media only screen and (max-width: 600px) {
  .statelocation {
    margin-bottom: 12px;
  }

  .address-sec h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
  }

  .address-sec h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

@media only screen and (min-width: 600px) {
  .statelocation {
    margin-bottom: 12px;
  }

  .address-sec h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
  }

  .address-sec h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

@media only screen and (max-width: 991px) {
  .contact-info p {
    font-size: 14px;
    line-height: 20px;
  }

  .contact-info p img {
    width: 18px;
  }

    .container.dealer .dependent-dropdown {
        padding: 24px 24px;
        margin-bottom: 24px;
    }

}

@media only screen and (max-width: 767px) {
  .container.dealer .dependent-dropdown .select-opt .row {
    gap: 14px;
  }

  .brand-outlet-content-innar p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .pt-70 {
    padding-top: 30px;
  }

  .pb-60 {
    padding-bottom: 30px;
  }

  .dealer-sidebar {
    height: 100%;
  }

  .mapboxgl-canvas {
    height: 50vh !important;
  }

  .dealers-container .row {
    row-gap: 24px;
  }

  .dealer-output .dealers-container,
  .dealer-output .dealers-container .dealers-cards {
    height: 100%;
  }

  .section-map {
    margin-right: 0;
  }

  .map-container.map-wrapper {
    height: 100%;
  }
}

@media only screen and (max-width: 520px) {
  .container.dealer .dependent-dropdown h3 {
    font-size: 16px;
    line-height: 24px;
  }
}

@media only screen and (min-width: 768px) {
  .statelocation {
    margin-bottom: 12px;
  }

  .address-sec h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
  }

  .address-sec h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
  }
}

.container.dealer .dependent-dropdown .row {
  justify-content: center;
}
