/*
  SHI_Black = rgb(25, 25, 25);
  SHI_Gray = rgb(137, 139, 142);
  SHI_Red = rgb(216, 41, 47);
  SHI_Blue = rgb(25, 70, 141);
  SHI_Ocean = rgb(125,168,174);
  SHI_Button = rgba(255, 255, 255, 100);
  SHI_Semi_White = rgba(255, 255, 255, 180);
  SHI_Loading_Blue = rgb(33, 57, 125);
  SHI_Cedar = rgb(245,180,54)
  tsimshian = rgb(26,70,112)
  haida = rgb(27,92,119)
  tlingit = rg(27,55,101)
*/

#al-lookerupper {
  font-family: "Montserrat-Light", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  min-height: 500px;
  background-color: white;
  border: 1px solid #e2e2e2;
  padding-top: 30px;
  scroll-margin: 60px; /* This keeps the fixed header from overlapping the content when scrolling */
}
@media only screen and (max-width: 600px) {
  #al-lookerupper {
    font-size: 12px;
    padding-top: 0px;
  }
}
@media only screen and (min-width: 600px) {
  #al-lookerupper {
    font-size: 14px;
  }
}
@media only screen and (min-width: 900px) {
  #al-lookerupper {
    font-size: 16px;
  }
}
.hide {
  display: none;
}

.al-select {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  min-width: 50%;
  min-height: 60px;
  overflow: hidden;
  border: 3px solid transparent;
  font-size: 1.5em;
  border-radius: 10px;
}
.alaskan-lang {
  line-height: 60px;
  text-align: center;
  flex-grow: 1;
  text-decoration: none;
  color: white;
  transition: color 0.4s, background-color 0.4s;
  width: 33%;
  min-width: 90px;
}
.alaskan-lang:hover,
.alaskan-lang:focus,
.alaskan-lang.selected:hover,
.alaskan-lang.selected:focus {
  color: rgb(245, 180, 54);
  text-decoration: underline;
}
.alaskan-lang.selected {
  color: rgb(245, 180, 54);
}
.alaskan-lang.tlingit {
  background: linear-gradient(to top right, rgb(27, 55, 101), rgb(87, 80, 188));
}
.alaskan-lang.haida {
  background: linear-gradient(
    to top right,
    rgb(27, 92, 119),
    rgb(43, 154, 186)
  );
}
.alaskan-lang.tsimshian {
  background: linear-gradient(
    to top right,
    rgb(26, 70, 112),
    rgb(47, 132, 209)
  );
}
.al-search-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.al-search {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 15px 4px;
  background-color: #fff;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.al-search #searchInput {
  width: 100%;
  border: none;
  padding: 10px;
  font-size: 1.2em;
  margin-right: 2px;
}
.al-search #searchInput::placeholder {
  font-style: italic;
}

.al-search #searchBtn {
  line-height: 1.5em;
}

@media only screen and (max-width: 600px) {
  .al-search #searchBtn {
    padding: 10px;
  }
}

.al-search-results {
  margin: 0;
  padding: 0;
}

.al-search-error {
  margin-bottom: 10px;
  color: #fff;
  background-color: rgba(216, 41, 47, 0.5);
  border: 1px solid #7e1e28;
  border-radius: 5px;
  width: 100%;
  max-width: 890px;
  text-align: center;
  padding: 5px;
}

.al-header {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.al-header .fusion-title {
  margin-top: 1.1em;
  margin-bottom: 1.1em;
  font-weight: normal;
  font-size: 1.8em;
}

#al-browse {
  width: 100%;
}
#al-browse > h4 {
  color: #fff;
  font-size: 1.5em;
  margin: 10px;
  text-decoration: underline;
}

.under-construction {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  padding: 0px 2em;
}

.top-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.top-categories .category {
  margin: 2em;
  width: 400px;
}
.category {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 300px;
  min-height: 115px;
  border: 2px solid rgba(59, 66, 81, 0.6);
  border-radius: 5px;
  background-color: #efefef;
  margin: 10px;
  color: rgb(25, 70, 141);
}
.category:hover,
.category:focus {
  background-color: #fff;
  border: 2px solid #efefef;
  text-decoration: underline;
  color: #f3021c;
}
.category-text {
  text-align: center;
  text-decoration: none;
  font-size: 1.5em;
  line-height: 1.2;
}
@media only screen and (max-width: 600px) {
  .category {
    margin: 5px 0;
    width: 90%;
  }
  .top-categories .category {
    margin: 5px 0;
    width: 90%;
  }
}
@media only screen and (max-width: 1000px) {
  .top-categories .category {
    margin: 15px;
  }
}

.vocabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.vocab {
  display: flex;
  border: 2px solid rgba(59, 66, 81, 0.6);
  border-radius: 5px;
  padding: 5px;
  min-height: 80px;
  width: 300px;
  margin: 1em;
  line-height: 1.5em;
  background-color: #efefef;
  color: rgb(25, 70, 141);
  justify-content: center;
  align-content: center;
}
.vocab .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 10px;
  margin-right: 10px;
  flex-grow: 2;
}
.vocab .alaskan {
  margin-top: 0px;
  margin-bottom: 2px;
  font-size: 1.5em;
  text-decoration: none;
  color: rgb(25, 70, 141);
}
.vocab .alaskan:hover {
  text-decoration: underline;
}
.vocab .alaskan:visited {
  color: rgb(25, 70, 141);
}
.vocab .alaskan em.tsimshian {
  font-style: italic;
  font-weight: 600;
}

.vocab .english {
  padding-top: 5px;
  font-size: 1em;
  text-align: end;
  font-style: italic;
  display: block;
  width: 100%;
}
.vocab .not-found {
  font-size: 1.5em;
  color: rgb(216, 41, 47);
  text-align: center;
  margin: 24px 0px;
}
@media only screen and (max-width: 600px) {
  .vocab {
    width: 90%;
    margin: 5px 0;
  }
}

.al-audio-player {
  margin: 5px;
}
.al-play-btn {
  width: 5em;
  height: 5em;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.al-play-btn img {
  width: 5em;
  height: 5em;
  cursor: pointer;
  transition: 0.1s all;
  border-radius: 50%;
}
.al-play-btn img:hover {
  border-radius: 50%;
}
.al-play-btn img:active {
  transform: scale(0.95, 0.95);
  box-shadow: 0px 0px 7px rgb(137, 139, 142);
}
#ldr-cover,
#ldr {
  position: absolute;
  width: 100vw;
  transition: all 1s;
  visibility: hidden;
  opacity: 0;
}
#ldr-cover {
  z-index: 998;
  height: 100vh;
  background: rgba(255, 255, 255, 0.3);
}
#ldr {
  z-index: 999;
  color: #fff;
  text-align: center;
  margin-top: 25vh;
  transform: translateY(-50%);
}
#ldr.show,
#ldr-cover.show {
  visibility: visible;
  opacity: 1;
}
.ldr-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.ldr-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid rgb(25, 70, 141);
  border-radius: 50%;
  animation: ldr-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: rgb(25, 70, 141) transparent transparent transparent;
}
.ldr-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.ldr-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.ldr-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes ldr-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
