/* texto reformatato */
/* rever os espaçamentos e testar as ações em javascript */

/* @media print { */
  /* .furigana_text, .portuguese_block { */
    /* page-break-inside: avoid; */
    /* color: #000; */
    /* margin: 0 auto; */
    /* width: 100% !important; */
  /* } */
/* } */

.furigana_text,
.kanji_text,
.kana_text,
.portuguese_text,
.portuguese_block {
  color: #333;
  margin: 0 auto;
  width:80%;
}
.furigana_text,
.kanji_text,
.kana_text {
  margin-top: 30px;
  font-size: 18px;
  line-height: 30px;
}
.portuguese_text {
  margin-top: 30px;
  font-size: 18px;
  line-height: 30px;
  font-style: italic;
}
.portuguese_block {
  margin-top: 10px;
  font-size: 14px;
  line-height: 21px;
  padding-bottom: 5px;
  font-style: italic;
}
.portuguese_none {
  height: 0px;
  line-height: 0px;
}
.furigana_text ruby rt,
.kanji_text ruby rt,
.kana_text ruby rt {
  font-size: 50%;
  display: inline;
  line-height: 1;
  margin-top: 3px;
}
.furigana_text ruby,
.kanji_text ruby,
.kana_text ruby {
  display: inline-flex;
  flex-direction: column-reverse;
  text-align: center;
}
.texts {
  margin-bottom: 25px;
  line-height: 0;
}
.title {
  margin: 0 auto;
  display: table;
}
/* sentença reformatata */

.sentence {
  display: list-item;
  margin-bottom: 25px;
  margin-left: 65px;
  list-style-type: disc;
}
.sentence .jap {
  color: #333;
  font-size: 18px;
  line-height: normal;
}
.sentence .jap ruby rt{
  font-size: 50%;
  display: inline;
  line-height: 1;
  margin-top: 3px;
}
.sentence .jap ruby{
  display: inline-flex;
  flex-direction: column-reverse;
  text-align: center;
}
.sentence .port {
  color: #999;
  font-size: 14px;
  line-height: 21px;
  font-style: italic;
}
.sentence .card {
  background: #eee;
  font-family: monospace;
  margin-top: 5px;
  padding: 10px 10px;
  color: #333;
  font-size: 12px;
  line-height: 20px;
  border-width: 1px;
  border-style: dashed;
  border-color: #999;
  position: relative;
  display: none;
}
.sentence .card .card-front{
  padding-bottom: 5px;
}
.sentence .card .card-line{
  border-bottom-width: 1px;
  border-bottom-style: dashed;
  border-bottom-color: #999;
}
.sentence .card .card-back{
  margin-top: 5px;
}

@media (max-width:480px) {

  .furigana_text,
  .kanji_text,
  .kana_text,
  .portuguese_text,
  .portuguese_block {
    width:100%;
  }

  .sentence {
    margin-left: 20px;
  }
}


/* controle textos */
span.japanese, span.portuguese {
  margin-left: 10px;
  cursor: pointer;
  float: right;
}
#audio-text {
  width:80%;
  margin:0 auto;
}
@media (max-width:480px){
	#audio-text {
	  width:100%;
	  margin:0 auto;
	}
}

/*controle das sentenças*/
.play-audio {
  background-image: url("img/play.png");
  background-size: 100% 100%;
  display: inline-table;
  height: 8px;
  width: 8px;
  margin-left: 10px;
  cursor: pointer;
}
.stop-audio {
  background-image: url("img/stop.png");
  background-size: 100% 100%;
  display: inline-table;
  height: 8px;
  width: 8px;
  margin-left: 10px;
  cursor: pointer;
}
.expand-card {
  background-image: url("img/expand-card.png");
  background-size: 100% 100%;
  display: inline-table;
  height: 8px;
  width: 8px;
  margin-left: 10px;
  cursor: pointer;
}
.copy-front {
  background-image: url("img/copy.png");
  background-size: 100% 100%;
  position: absolute;
  height: 12px;
  width: 12px;
  right: 10px;
  top: 10px;
  float: right;
  cursor: pointer;
}
.copy-back {
  background-image: url("img/copy.png");
  background-size: 100% 100%;
  position: absolute;
  height: 12px;
  width: 12px;
  right: 10px;
  bottom: 10px;
  float: right;
  cursor: pointer;
}
