/* DEVASA MEDIA — header language switcher */

.header-1 .ui-btn-search .dm-header-locale,
.header-2 .ui-btn-search .dm-header-locale {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 4px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  gap: 0;
}

.header-1 .dm-header-locale a,
.header-2 .dm-header-locale a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 11px;
  border-radius: 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.35s ease, background-color 0.35s ease;
}

.header-1 .dm-header-locale a:hover,
.header-2 .dm-header-locale a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-1 .dm-header-locale a.is-active,
.header-2 .dm-header-locale a.is-active {
  background-color: var(--theme-color1);
  color: #fff;
  font-weight: 500;
}

.header-1 .dm-header-locale a.is-active:hover,
.header-2 .dm-header-locale a.is-active:hover {
  background-color: var(--theme-color1);
  color: #fff;
}

@media (max-width: 1399.98px) {
  .header-1 .dm-header-locale a,
  .header-2 .dm-header-locale a {
    min-width: 34px;
    padding: 0 9px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 1023px) {
  .header-1 .ui-btn-search .dm-header-locale,
  .header-2 .ui-btn-search .dm-header-locale {
    height: 40px;
    padding: 0 2px;
  }

  .header-1 .dm-header-locale a,
  .header-2 .dm-header-locale a {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-size: 10px;
  }
}

html[dir="rtl"] .header-1 .ui-btn-search,
html[dir="rtl"] .header-2 .ui-btn-search {
  direction: rtl;
}

html[dir="rtl"] .header-1 .dm-header-locale,
html[dir="rtl"] .header-2 .dm-header-locale {
  direction: ltr;
}

button.contact-btn.dm-quote-open {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* Preloader: shorter entrance (“Devasa Çözümler”); instant on locale hop */
html[data-dm-portal-theme] .preloader .preloader-overlay {
  animation-duration: 0.85s;
}

html[data-dm-portal-theme] .preloader.dm-preloader-fast .preloader-overlay {
  animation-duration: 0.2s;
  animation-delay: 0s;
}

html[data-dm-portal-theme] .preloader.dm-preloader-fast {
  transition: opacity 0.12s ease;
}
