/**
 * @file
 * Translate component.
 */
@import "../_constants.css";
.translate {
  position: relative;
}
.translate ul {
  border: 1px solid var(--nsw-grey-04);
  background: var(--nsw-white);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  margin: 0;
  position: absolute;
  top: 60px;
  right: -75px;
  width: 100%;
  max-height: 400px;
  min-width: 295px;
  overflow-y: scroll;
  z-index: 201;
  list-style: none;
  padding: 0;
}
@media (min-width: 62rem) {
  .translate ul {
    top: 74px;
  }
}
.translate ul[aria-hidden=true] {
  display: none;
}
.translate li {
  background-image: none;
  padding: 0;
  margin: 0;
}
.translate a {
  padding: 0.5rem 1.5rem;
  line-height: 24px;
  display: block;
  color: var(--nsw-grey-01);
  text-decoration: none;
  border-bottom: 1px solid var(--nsw-grey-04);
}
.translate a:hover {
  background: var(--nsw-off-white);
  text-decoration: none;
}
.translate a:focus {
  outline-offset: -3px;
}
.translate button {
  font-size: var(--nsw-font-size-xxs-mobile);
  line-height: var(--nsw-line-height-xxs-mobile);
  height: 3rem;
  font-weight: var(--nsw-font-bold);
  border-radius: var(--nsw-border-radius);
  color: var(--nsw-brand-dark);
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.translate button:hover {
  background-color: var(--nsw-text-hover);
}
@media (min-width: 62rem) {
  .translate button {
    flex-direction: row;
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem 2.5rem 1rem 1rem;
  }
  .translate button i.material-icons {
    margin-right: 0.25rem;
  }
}
.translate button[aria-expanded=true] {
  z-index: 102;
  background-color: var(--nsw-white);
}
@media (min-width: 62rem) {
  .translate button[aria-expanded=true]::after {
    transform: translateY(-50%) rotate(270deg);
  }
}
@media (min-width: 62rem) {
  .translate button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1rem;
    height: 16px;
    width: 12px;
    transform: translateY(-50%) rotate(90deg);
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 32' fill='%23630019' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 16L4 0 0 4l12 12L0 28l4 4 16-16z'/%3E%3C/svg%3E%0A");
  }
}

/* Stop Google giving us top padding */
.has-translate {
  top: 0 !important;
  min-height: 0 !important;
}

/* Hide Google elements */
.skiptranslate,
#googleTranslateElement {
  display: none;
}

/*# sourceMappingURL=translate.css.map */
