/* use Doulos SIL - Regular in .woff2 format */
@font-face {
  font-family: DoulosSILW;
  src: url(../fonts/DoulosSIL-Regular.woff2);
}

html, body {
    font-family: 'Noto Sans SC', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
    background-color: white;
    color: gray;
}

audio::-webkit-media-controls-play-button {
    transform: scale(1.5, 1.5);
    color: gray;
    border-radius: 0;
}

audio::-webkit-media-controls-enclosure {
    border-radius: 0;
    border: 1px solid gray;
}

.box:not(:last-child) {
    margin-bottom: 0.5rem;
}

.columns {
    margin-bottom: 0;
}

.columns:not(:last-child) {
    margin-bottom: 0;
}

.modal-card,
.modal-content {
    margin: 0 20px;
    max-height: calc(100vh - 160px);
    overflow: auto;
    position: relative;
    /*remove width: 100%;*/
    width: calc(100% - 2em);
}

/*modal breakpoint*/
@media screen and (min-width: 769px) {
    .modal-card,
    .modal-content {
        margin: 0 auto;
        max-height: calc(100vh - 40px);
        width: 640px
    }
}

#section-app {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loader {
    font-size: 1.4em;
    line-height: 2.2em;
    text-align: center;
}

footer {
    margin-top: auto;
}

.img-lyrebird-logo {
    max-height: 40px;
}

.vjs-lyrebird .vjs-device-button.vjs-control {
    font-size: 1.5em;
    background: #ff8b00;
}

.navbar.is-link {
    background-color: #284596
}

.navbar.is-link .navbar-menu {
    background-color: #284596;
}

/* Change the color of various "bars". */
.vjs-lyrebird .vjs-volume-level,
.vjs-lyrebird .vjs-play-progress,
.vjs-lyrebird .vjs-slider-bar,
.vjs-lyrebird .vjs-control-bar {
    background: white;
    font-size: 1.5em;
    color: black;
}

#recordAudioContainer {
    border: 1px solid gray;
}

.vjs-lyrebird .vjs-time-control,
.vjs-lyrebird .vjs-time-divider {
    font-size: 1em;
}

.button.is-link {
    background-color: #284596;
    border-color: transparent;
    color: #fff;
}

.color-range-tip {
    gap: 4px;
    align-items: center;
    display: flex;
    font-size: 14px;
}

.red-square {
    color: rgba(168, 0, 0, 0.5);
    margin-left: 6px;
}

.yellow-square {
    color: rgba(218, 185, 52, 0.5);
    margin-left: 6px;
}

.green-square {
    color: rgba(33, 141, 81, 0.5);
    margin-left: 6px;
}

.text {
    color: rgba(128, 128, 128, 0.5);
    margin-left: 6px;
}

.red-text {
    color: rgba(168, 0, 0, 1.0);
    margin-left: 6px;
}

.yellow-text {
    color: rgba(218, 185, 52, 1.0);
    margin-left: 6px;
}

.green-text {
    color: rgba(33, 141, 81, 1.0);
    margin-left: 6px;
}


.red-checkbox {
    color: rgba(168, 0, 0, 1.0);
    border: 1px solid rgb(191 35 42 / 90%);
}

input[type='checkbox']:checked {
  accent-color: #284596;
}

input[type='checkbox']:checked:after {
  accent-color: #284596;
}

.streak-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.streak-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.streak-icon {
    font-size: 2.5em;
    color: #ff8b00;
    margin-right: 10px;
}

.streak-days-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.streak-days {
    font-size: 1.5em;
    line-height: 1;
    font-weight: 500;
}

.streak-days-text {
    font-size: 1em;
    text-transform: none;
    margin-top: 5px;
    font-weight: 400;
}

.streak-week {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.day-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid rgb(128, 128, 128, 0.8);
    color: rgba(128, 128, 128, 0.5);
    position: relative;
}

.day.active {
    background-color: rgb(33, 141, 81);
    border: rgb(33, 141, 81);
    color: #fff;
}

.today {
    background-color:  #ff8b00;
    border: #ff8b00;
    color: #fff;
}

.day i {
    display: none;
}

.day.active i {
    display: inline;
}

.day-label {
    font-size: 1em;
    margin-top: 5px;
    font-weight: bold;
    color: rgba(128, 128, 128, 0.8);
}


.assess {
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid rgb(128, 128, 128, 0.8);
    color: rgba(128, 128, 128, 0.5);
    position: relative;
}

.assess.active {
    background-color: rgb(33, 141, 81);
    border: rgb(33, 141, 81);
    color: #fff;
}

/*!* Change all text and icon colors in the player. *!*/
/*.vjs-lyrebird.video-js {*/
/*}*/


/*.chart-container {*/
/*    max-width: 600px;*/
/*}*/

/*.vjs-lyrebird .vjs-control-bar {*/
/*  position: relative;*/
/*  left: 200px;*/
/*  top: 0px;*/
/*  width: 75%;*/
/*}*/

/*.vjs-lyrebird .vjs-text-track-display {*/
/*  position: relative;*/
/*  top: 75px;*/
/*}*/


/*.navbar.is-info {*/
/*    background-color: #284596*/
/*}*/

/*.navbar.is-info .navbar-menu {*/
/*    background-color: #284596;*/
/*}*/

/*.navbar.is-info .navbar-link.is-active, .navbar-link:hover, .navbar.a.navbar-item.is-active, .navbar.is-info.a.navbar-item:hover {*/
/*    background-color: #000000;*/
/*    color: #fff;*/
/*}*/

/*.navbar.is-info a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current) strong {*/
/*    background-color: #284596;*/
/*}*/


/*table, td, th {*/
/*    text-align: center;*/
/*    width: 12%;*/
/*    padding: 0.5rem;*/
/*}*/

/*thead tr th:first-child,*/
/*tbody tr td:first-child {*/
/*    width: 30%;*/
/*}*/


.tone-button {
    width: 2.5em;
}

.tone-diacritic {
    margin-top: -6px;
    font-weight: bold;
    font-family: DoulosSILW, sans-serif;
}

.tone-tone {
    /*margin-top: -10px;*/
    font-size: 1em;
    /*font-weight: bold;*/
    font-family: DoulosSILW, sans-serif;
}

.double {
  margin-right: 5px;
  margin-top: 5px;
  zoom: 1.2;
  transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  -moz-transform: scale(1.2);
  transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
}