/*----------------------------------------------------------------
  Sounds
-----------------------------------------------------------------*/
#sounds {
  /*  min-width: 90vw; */
  visibility: hidden;
}
/*
body.landscape #sounds {
    min-width: 80vw; 
}
*/
#sounds .grid-table {
  width: 100%;
  display: grid;
  margin: 0 auto;
  grid-template-columns: 20% 20% 1fr;
  background-color: #000;
  border: 2px solid #000;
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}

#sounds .grid-table.align-left {
  margin: 0;
}

#sounds .grid-table.colmun2 {
  grid-template-columns: 49% 1fr;
}

#sounds .grid-table.colmun3 {
  grid-template-columns: 1fr 1fr 1fr;
}

@media (min-width: 768px) {
  #sounds {
    min-width: initial;
  }
  #sounds .grid-table.colmun2 {
    width: 80%;
  }
}

#sounds .grid-table > .row {
  display: contents;
}
#sounds .grid-table > .row > div {
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.2em 0;
}

#sounds .grid-table.sounds4 > .row > div {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0.2em 0.2em;
}

#sounds .grid-table.sounds4 > .row > div > span {
  margin-top: auto;
  margin-bottom: auto;
}

#sounds .grid-table > .row.selected > div {
  background-color: #77d9a8;
}

#sounds .grid-table > .row > div.align-top {
  justify-content: flex-start;
}

#sounds .grid-table > .row > div.pd-rgt-btm {
  padding-bottom: 0.8em;
  padding-right: 0.5em;
}

#sounds .grid-table > .row > div.letter,
#sounds .grid-table > .row > div.sounds-num,
#sounds .grid-table > .row > div.pronunciation,
#sounds .grid-table > .row > div.stress-icons,
#sounds .grid-table > .row > div.table-head {
  align-items: center;
}
#sounds .grid-table > .row > div.pronunciation:not(.font-std),
#sounds span.pronunciation {
  font-family: "NewWords";
  font-weight: normal;
}
#sounds .grid-table > .row > div.words {
  padding-left: 0.5em;
}
#sounds .grid-table > .row > div.bg-yellow,
#sounds .grid-table > .row > .stress-icons,
#sounds .grid-table > .row > .table-head,
#sounds .grid-table > .row > .table-head-sounds4 {
  background-color: #f4f0d6;
}

#sounds .grid-table > .row > div.bg-brown {
  background-color: #a28a4d;
  color: #fff;
}

#sounds .grid-table > .row > .stress-icons {
  padding: 0;
}

#sounds .grid-table > .row > div.span2 {
  grid-row: span 2;
}

#sounds .grid-table > .row > div.span2 + div.pronunciation,
#sounds .grid-table > .row > div.span2 + div.pronunciation + div.words {
  margin-bottom: -3px;
}

#sounds .grid-table > .row > div.span3 {
  grid-row: span 3;
}

#sounds .grid-table > .row > div.span3 + div.pronunciation,
#sounds .grid-table > .row > div.span3 + div.pronunciation + div.words,
#sounds
  .grid-table
  > .row
  > div.span3
  + div.pronunciation
  + div.words
  + div.pronunciation,
#sounds
  .grid-table
  > .row
  > div.span3
  + div.pronunciation
  + div.words
  + div.pronunciation
  + div.words {
  margin-bottom: -3px;
}

#sounds .grid-table > .row > div.span4 {
  grid-row: span 4;
}
#sounds .grid-table > .row.border-top-0 > div {
  margin-top: -3px;
}

#sounds .grid-table > .row.border-bottom-0 > div {
  margin-bottom: -3px;
}

#sounds .grid-table > .row > div.span4 + div.pronunciation,
#sounds .grid-table > .row > div.span4 + div.pronunciation + div.words,
#sounds
  .grid-table
  > .row
  > div.span4
  + div.pronunciation
  + div.words
  + div.pronunciation,
#sounds
  .grid-table
  > .row
  > div.span4
  + div.pronunciation
  + div.words
  + div.pronunciation
  + div.words,
#sounds
  .grid-table
  > .row
  > div.span4
  + div.pronunciation
  + div.words
  + div.pronunciation
  + div.words
  + div.pronunciation,
#sounds
  .grid-table
  > .row
  > div.span4
  + div.pronunciation
  + div.words
  + div.pronunciation
  + div.words
  + div.pronunciation
  + div.words {
  margin-bottom: -3px;
}

#sounds .try-icon {
  font-size: 1em;
  font-style: italic;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding: 0.1em 0.5em 0.1em 0.3em;
  margin-right: 0.8em;
  text-indent: 0;
  background-color: #00afcc;
  border-radius: 70% 40%;
  line-height: 1.5;
  box-shadow: 0.1em 0.4em 0px rgba(120, 120, 120, 0.4);
}

#sounds .try-icon::after {
  content: attr(data-num);
  position: absolute;
  display: flex;
  font-style: normal;
  align-items: center;
  background-color: #727170;
  font-size: 0.8em;
  height: 1.1em;
  width: 1.1em;
  border-radius: 50%;
  margin: -0.8em 0 0 2.5em;
  justify-content: center;
}

#sounds .try-icon[data-num=""]::after {
  display: none;
}

#sounds .try-direction {
  font-size: 0.8em;
  margin: 0.2em 0 0.7em 3.6em;
  text-indent: -3.6em;
  position: relative;
}

#sounds .options-area {
  width: 100%;
  text-align: center;
  margin-top: 1em;
  /* font-size: 4.5vw; */
}

/* #sounds .options-area.vw-35 {
    font-size: 3.5vw;
  }
  
  @media (min-width: 768px) {
    #sounds .options-area,
    #sounds .options-area.vw-35 {
      font-size: 1em;
    }
  } */

#sounds .stress-icon-s::after,
#sounds .stress-icon-l::after {
  content: "●";
  position: relative;
  color: #9fa0a0;
}
#sounds .stress-icon-s::after {
  font-size: 1em;
  top: -0.05em;
}
#sounds .stress-icon-l::after {
  font-size: 1.6em;
  top: 0.1em;
}

#sounds .sounds-box {
  border: 2px solid #000;
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  margin: 0.5em 0;
  max-width: 20em;
}

#sounds .jp {
  font-size: 0.9em;
}

#sounds .example {
  font-size: 0.9em;
  margin-top: 0.8em;
}

#sounds .pronunciation-title {
  width: 100%;
  margin: 0 auto 0.5em auto;
  font-size: 0.8em;
  position: relative;
}

@media (min-width: 768px) {
  #sounds .pronunciation-title {
    width: 80%;
  }
}

#sounds .pronunciation-link {
  font-size: 0.9em;
  position: absolute;
  right: 0;
  top: 0.5em;
}

.sounds-try {
  padding-left: 3em;
}

.sounds-accent {
  position: relative;
}

.sounds-accent::before {
  content: "′";
  position: absolute;
  top: -0.4em;
  left: 1.4em;
}

.table.sounds-accent::before {
  content: "′";
  position: absolute;
  top: -0.5em;
  left: 0.08em;
}

.sounds-num {
  margin: -3px -3px 0;
}

.stress-icon-s-under,
.stress-icon-l-under {
  position: relative;
}

.stress-icon-s-under::before {
  content: "●";
  color: #9fa0a0;
  position: absolute;
  top: 1.5em;
  left: 2.3em;
  font-size: 0.5em;
}

.stress-icon-l-under::before {
  content: "●";
  color: #9fa0a0;
  position: absolute;
  top: 0.7em;
  left: 1.1em;
  font-size: 0.9em;
}

.slender-char.stress-icon-l-under::before {
  top: 0.7em;
  left: 0.9em;
  font-size: 0.9em;
}

.multiple.stress-icon-s-under::before {
  top: 1.5em;
  left: 2.8em;
}

.box.stress-icon-l-under::before {
  top: 0.8em;
  left: -0.1em;
}

.box.stress-icon-s-under::before {
  top: 1.8em;
  left: 0em;
}

.multiple.box.stress-icon-l-under::before {
  top: 0.8em;
  left: 0.1em;
}
