/* Demo 7 bilingual controls. */
.demo7-language-switch {
  align-items: center;
  display: flex;
  gap: 4px;
  margin: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 2px);
  z-index: 4;
}

.demo7-language-switch button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  opacity: .5;
  min-height: 0;
  min-width: 0;
  padding: 2px;
}

.demo7-language-switch button img {
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 2px;
  display: block;
  height: 13px !important;
  max-height: 13px !important;
  object-fit: cover;
  max-width: 20px !important;
  width: 20px !important;
}

.demo7-language-switch button + button::before {
  content: none;
}

.demo7-language-switch button.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 0.8px currentColor);
  transform: scale(1.08);
}

.demo7-language-switch.-mobile {
  display: none;
}

@media (max-width: 768px) {
  .demo7-language-switch.-desktop {
    display: none;
  }

  .demo7-language-switch.-mobile {
    display: flex;
    margin: 0;
    position: absolute;
    right: 20px;
    top: 58px;
  }
}
