/* Origin: themes/fsportal-modern/assets/css/components/language-switcher-v1.css | file */
.fsp-lang-switcher {
  position: relative;
  z-index: 100020;
  font-family: inherit;
}

.fsp-lang-trigger {
  height: 42px;
  min-width: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c4cdc5;
  cursor: pointer;
  box-shadow: none;
  transition: background .16s ease,color .16s ease;
}

.fsp-lang-trigger:hover,
.fsp-lang-switcher.is-open .fsp-lang-trigger {
  background: rgba(154,203,63,.075);
  color: #f1f6ed;
}

.fsp-lang-globe {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9fca43;
}

.fsp-lang-globe svg,
.fsp-lang-menu-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fsp-lang-current-code {
  min-width: 20px;
  color: #e6ebe3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.fsp-lang-chevron {
  margin-top: -2px;
  color: #68736a;
  font-size: 13px;
  transition: transform .16s ease;
}

.fsp-lang-switcher.is-open .fsp-lang-chevron {
  transform: rotate(180deg);
}

.fsp-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 248px;
  padding: 9px;
  border: 1px solid rgba(207,225,201,.11);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(34,44,37,.995),rgba(24,31,27,.995));
  box-shadow: 0 22px 55px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
}

.fsp-lang-menu[hidden] {
  display: none !important;
}

.fsp-lang-menu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg,#8dbb35,transparent);
}

.fsp-lang-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 11px;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.fsp-lang-menu-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(154,203,63,.08);
  color: #a6d24d;
}

.fsp-lang-menu-head>span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fsp-lang-menu-head small {
  color: #7d887f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}

.fsp-lang-menu-head strong {
  color: #eef3eb;
  font-size: 13px;
  font-weight: 850;
}

.fsp-lang-options {
  display: grid;
  gap: 4px;
  padding: 7px 0 3px;
}

.fsp-lang-option {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 24px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 5px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease,transform .15s ease;
}

.fsp-lang-option:hover {
  background: rgba(255,255,255,.045);
  transform: translateX(1px);
}

.fsp-lang-option.is-current {
  background: rgba(154,203,63,.07);
}

.fsp-lang-code-badge {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  color: #aab4ab;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
}

.fsp-lang-option.is-current .fsp-lang-code-badge {
  border-color: rgba(154,203,63,.23);
  background: rgba(154,203,63,.11);
  color: #c9ef76;
}

.fsp-lang-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fsp-lang-option-copy strong {
  color: #dfe5dd;
  font-size: 11px;
  font-weight: 780;
}

.fsp-lang-option-copy small {
  color: #6f7a71;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .08em;
}

.fsp-lang-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
  font-weight: 950;
}

.fsp-lang-option.is-current .fsp-lang-check {
  background: rgba(154,203,63,.12);
  color: #b9e867;
}

.fsp-lang-menu-foot {
  margin: 5px 4px 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.045);
  color: #566159;
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.fspbar-lang {
  padding: 0 1px !important;
  overflow: visible !important;
}

.fspbar-lang img {
  max-width: none !important;
}

@media(max-width:1120px){
  .fsp-lang-trigger {
    min-width: 42px;
    width: 42px;
    height: 34px;
    padding: 0;
    gap: 0;
  }

  .fsp-lang-current-code,
    .fsp-lang-chevron {
    display: none;
  }

  .fsp-lang-globe {
    width: 19px;
    height: 19px;
  }
}

@media(max-width:720px){
  .fsp-lang-menu {
    position: fixed;
    right: 10px;
    top: 70px;
    width: min(280px,calc(100vw - 20px));
  }
}

html[data-fsp-theme="light"] body .fsp-lang-trigger {
  color: #4d5b50;
}

html[data-fsp-theme="light"] body .fsp-lang-trigger:hover,
html[data-fsp-theme="light"] body .fsp-lang-switcher.is-open .fsp-lang-trigger {
  background: rgba(87,126,28,.08);
  color: #263127;
}

html[data-fsp-theme="light"] body .fsp-lang-menu {
  border-color: rgba(49,73,43,.12);
  background: linear-gradient(145deg,#f8faf6,#edf2eb);
  box-shadow: 0 18px 45px rgba(35,50,37,.15);
}

html[data-fsp-theme="light"] body .fsp-lang-menu-head strong,
html[data-fsp-theme="light"] body .fsp-lang-option-copy strong {
  color: #263128;
}

html[data-fsp-theme="light"] body .fsp-lang-option:hover {
  background: rgba(42,65,37,.045);
}

.fsp-lang-switcher,
.fsp-lang-switcher * {
  translate: no !important;
}
