@charset "UTF-8";
/* @override 
	http://slocalhost:50308/dist/css/style.css
 */
/* @group Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  scroll-behavior: smooth;
  line-height: 1.5;
}
 
:root{
  font-size: 10px;
  --blue: #19466D;
  --white : #fff;
  --red : #c1262c;
  --nines: #999999;
  --cs: #cccccc;
  --es: #eeeeee;
  --gradientDark: #ededed;
  --gradientLight: #ffffff;
}

:root body.night-mode{
  --blue : #021627;
  --white : #999;
  --es : #444444;
  --cs : #666666;
  --gradientDark : #021627;
  --gradientLight : #021627;
  background-color: #222222;
  color: var(--white);

  #audioplayer {
    .audio-ui {
        figure {

        audio{
            &::-webkit-media-controls-enclosure {
              border-radius: 10px;
              background-color: var(--nines);
              overflow: hidden;
            }
          }
        }
      }
    }
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
}

/* @end */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  letter-spacing: .3px;
}

a{
  color: inherit;
}

html, body {
  font-family: 'Roboto', sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
}

body {
  -webkit-transition: background-color .5s ease;
  transition: background-color .5s ease;
}

body.hymn-open{
  overflow: hidden;
}

ol {
  padding-left: 40px;
  list-style-type: decimal;
}

p {
  margin-bottom: 10px;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input[type="submit"],
input[type="button"] {
  appearance: none;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50px;
  border: solid 1px var(--white);
  padding: 10px;
  width: 100%;
  max-width: 400px;
  margin: auto;
}

input[type="search"],
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea{
  background-color: var(--white);
}

.night-mode textarea,
.night-mode input[type="search"],
.night-mode input[type="tel"],
.night-mode input[type="email"],
.night-mode input[type="password"],
.night-mode input[type="text"]{
  background-color: #222222;
  color: var(--white)
}

.night-mode input[type="search"]::placeholder,
.night-mode input[type="tel"]::placeholder,
.night-mode input[type="text"]::placeholder{
  color: var(--white);
}

.no-scroll{
  overflow: hidden;
}

#container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#header {
  background-color: var(--blue);
  text-align: center;
  color: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
  margin-bottom: 10px;
  position: fixed;
  width: 100vw;
  transition: all .5s ease-in-out;
  z-index: 5;
  padding: 20px 20px;
}

#header:after {
  content: '';
  border-bottom: 2px solid var(--white);
  position: absolute;
  bottom: 2px;
  left: 0px;
  right: 0px;
}

#header.moveup{
  transform: translateY(-94%);
}

.night-mode #header:after{
  border-bottom-color: #222;
}

#header h1 {
  position: relative;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  font-family: helvetica, arial;
  letter-spacing: 5px;
  border: 1px solid var(--white);
  padding: 10px 20px;
  margin: auto;
  display: inline-block;
  font-size: 1.2rem;
  width: 100%;
  max-width: 460px;
}

#header select {
  position: absolute;
  top: 20px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 0;
  max-width: 50%;
  margin: auto;
}

#nav {
  border-top: 2px solid var(--cs);
  padding-top: 2px;
  position: fixed;
  bottom: 0px;
  width: 100%;
  background-color: var(--white);
  z-index: 10;
  transition: all .5s ease-in-out;
}

#nav.movedown{
  transform: translateY(100%);
}

.night-mode #nav{
  background-color: #222;
  border-top-color: var(--blue);
}

#nav-container {
  background: #ededed;
  background: linear-gradient(to bottom, var(--gradientDark) 0%, var(--gradientLight) 37%, var(--gradientDark) 100%);
}

#nav-container ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  max-width: 590px;
  margin: auto;
}

#nav-container li {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  max-width: 100px;
  text-align: center;
}

#nav-container li a {
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px 0px 15px;
  color: var(--nines);
  text-decoration: none;
  font-size: 1.2rem;
}

#nav-container li a i{
  margin-bottom: 10px;
  font-size: 2.5rem;
  display: block;
  width: 100%;
}

#nav-container li a.over {
  color: var(--blue);
}
.night-mode #nav-container li a.over {
  color: #cccccc;
}

#nav-container li a:hover [style*="var(--cs)"] {
  fill: var(--blue) !important;
}

#nav-container .icon-nav-search {
  position: relative;
}

#nav-container .icon-nav-search:before {
  content: attr(data-last-hymn);
  position: absolute;
  border-radius: 100%;
  background-color: var(--cs);
  font-weight: bold;
  margin: auto;
  color: var(--white);
  left: 30%;
  right: 40%;
  text-align: center;
  top: 16%;
  bottom: 55%;
  padding-top: 8%;
  font-size: 1.4vw;
}

#nav-container .icon-nav-search.over:before,
#nav-container .icon-nav-search:hover:before {
  background: var(--blue);
}

#single #single-controls{
  
}

#single-controls,
#controls {
  padding: 0px 20px;
  margin-bottom: 10px;
}

#single-controls forms *,
#controls form * {
  vertical-align: middle;
}

#single-controls #single-search-fields,
#controls #search-fields {
  position: relative;
  display:inline-block;
  width: 100%;
  display:flex;
  justify-content: space-between;
}

#single{
  overflow: hidden;

}

#single #search-icon{
  position: fixed;
  bottom: -280vh;
  right: 15px;
  transition: all .5s ease-in-out;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color:var(--nines);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
}

#single.open #search-icon{
  bottom: 100px;
}

#single.open.moveup{
  top: 0!important;
  margin-top: 0px;
}

#single.open.moveup #search-icon {
  bottom: 20px;
}

#global-search-container{
  margin: 0 20px;
}

.global-input-container{
  width: 100%;
  max-width: 400px;
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
}

button{
  appearance: none;
  border: solid 1px var(--white);
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50px;
  padding: 10px;
  width: calc(100% - 20px);
  margin: auto;
  display: block;
}

.global-input-container button{
  background-color: transparent;
  position: absolute;
  right: 10px;
  width: initial;
  padding: 0;
  color: var(--blue);
  border: none;
}

.night-mode .global-input-container button{
  color: var(--white)
}

#hymn-books-screen #global-results-screen #list .list-item-icon{
  margin-right: 0px;
}

#global-results-screen .list-container:first-child{
  margin-top:0px!important;
  padding-top: 0px;
}

#global-results-screen .list-container .list-row:first-child{
  margin-top:0px!important;
}

#global-search-phrase{
  margin: auto;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 15px auto;
}

#single-search,
#search {
  max-width: 768px;
  margin: auto;
}

#single-controls .search-input,
.search-input {
  height: 33px;
  padding: 0px;
  padding-left: 10px;
  font-size: 1.6rem;
  outline: none;
  width: calc(50% - 10px);
  box-sizing: border-box;
  border-radius: 0px;
  border: 1px solid var(--cs);
  appearance: none;
}

#single-controls {
  width: 0%;
  height: 0px;
  position: absolute;
  top: -100vh;
}

#single-search-button,
#search-button,
#toggle-search {
  background-color: var(--blue);
  color: var(--white);
  border: none;
  padding: 0px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.2rem;
  height: 33px;
  width: 33px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 0px;
}

#toggle-search {
  display: none;
}

/*
._123 ._abc,
._abc ._123 {
	display: none;
}*/
#single-search form,
#search form {
  position: relative;
}

#single-search{
  display:flex;
  justify-content: space-between;
}

@media  (max-width:600px){
  #single-search {
    width: 100%;
    margin-left: 0px;
  }
}

#single-search form{
  width: 100%;
}
#single #close-hymn{
  position: absolute;
  right: 15px;
  /* top: 35px; */
  font-size: 4.5rem;
  color: var(--cs);
  line-height: 0;
  cursor: pointer;
}

[type="reset"] {
  background: url("../images/close.svg") no-repeat center;
  background-size: contain;
  vertical-align: middle;
  border: none;
  width: 15px;
  height: 15px;
  margin: auto;
  position: absolute;
  right: 5px;
  top: 0px;
  bottom: 0px;
}

.night-mode [type="reset"]{
  opacity: .5;
}

#single-search-button,
#search-button {
  background-image: url("../images/mag-glass.svg");
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
}

#content {
  font-size: 1.2rem;
  padding-bottom: 155px;
  padding-top: 85px;
  /*display: flex;
	min-height: 100%;*/
}

body[data-zoom="1"] #content {
  font-size: 1.3rem;
}
body[data-zoom="2"] #content{
  font-size: 1.5rem;
}
body[data-zoom="3"] #content{
  font-size: 2rem;
}
body[data-zoom="4"] #content{
  font-size: 2.5rem;
  #close-hymn{color:black;}
}

body[data-zoom="3"],
body[data-zoom="4"],
body[data-zoom="5"]:not(.night-mode){
  #single{
    i,#close-hymn{
      color:var(--blue);
    }
  }
}

body[data-zoom="5"] .list-item-icon i,
body[data-zoom="5"] #content{
  font-size: 3rem;
}
body[data-zoom="5"] #book-title,
body[data-zoom="5"] #dailyverse,
body[data-zoom="5"] .single-width,
body[data-zoom="5"] .global-input-container,
body[data-zoom="5"] #global-search-phrase,
body[data-zoom="5"] #controls,
body[data-zoom="5"] .list-container .list-row-margin{
  max-width: 65vw;
}

@media screen and (max-width:550px){
  body[data-zoom="5"] #book-title,
  body[data-zoom="5"] #dailyverse,
  body[data-zoom="5"] .single-width,
  body[data-zoom="5"] .global-input-container,
  body[data-zoom="5"] #global-search-phrase,
  body[data-zoom="5"] #controls,
  body[data-zoom="5"] .list-container .list-row-margin {
    max-width: initial;
  }
}

#zoom-controls .zoom.active{
  background-color: var(--blue);
  color: var(--white);
}

.night-mode #zoom-controls .zoom.active{
  color: #999;
}

.screen {
  display: none;
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.screen.active {
  display: block;
}

.screen:first-child.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.screen.hide-active {
  overflow: hidden;
}

#notes-screen .index-labels,
#history-screen .index-labels,
#favorites-screen .index-labels {
  display: none;
}

/* @group Home screen */
#dailyverse {
  max-width: 500px;
  font-size: 3.2rem;
  font-size: 4vw;
  font-weight: 400;
  line-height: 1.5;
  padding: 50px 20px;

  /* 2. Style the element and apply the animation */
  #spinner {
    /* Basic styling for visualization */
    margin: auto;
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    width: 30px;
    text-align: center;
    align-content: center;
    color: #133554; 
    font-size: 24px;
    /* Apply the animation */
    animation: spin 1s linear infinite; /* */
    /* Duration: 1s, Timing: linear, Count: infinite */
  }
}

@keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

#verse-ref {
  margin-top: 50px;
  color: var(--cs);
}

@media screen and (min-width: 768px) {
  #dailyverse {
    font-size: 3.2rem;
  }
}

/* @end */
/* Hymn Search screen */
#hymns-screen{
  margin-top: 10px;
}

#alphabet {
  max-width: 500px;
  padding: 0px 20px;
  margin: 15px auto;
  text-align: center;
}

/*#alphabet:before {
	content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><rect style="border:solid 2px red;background:red;"></rect></svg>');
	display: block;
}*/
#no-hymns {
  font-size: 3rem;
  text-align: center;
  color: var(--cs);
  /* text-shadow: -1px 1px 0px #888; */
  padding: 50px 20px;
  max-width: 550px;
  margin: auto;
  text-transform: uppercase;
}

#alphabet span {
  letter-spacing: 4px;
  font-size: 2.1rem;
  display: inline-block;
  margin: 0px 5px;
  margin-bottom: 10px;
  cursor: pointer;
  color: var(--nines);
}

#alphabet span.active {
  color: var(--blue);
  font-weight: bold;
}

#alphabet span:first-child {
  margin-right: 20px;
}

.list-container {
  padding-top: 10px;
  width: 100%;
}

.list-container .list-row-margin {
  margin: 10px auto;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.list-container .index-labels .list-row-margin > div {
  font-weight: bold;
}

.list-container .list-row-margin:after {
  content: '';
  clear: both;
  display: block;
}

.list-container .list-row.hymnal .active {
  cursor: initial;
}

.list-container .list-row.hymnal:not(:first-child) {
  border-top: solid 2px var(--cs);
  margin-top: 15px;
}

.list-container .index-labels,
.list-container .list-row {
  border-top: 1px solid var(--cs);
  -webkit-transition: max-height .25s ease-in;
  transition: max-height .25s ease-in;
  /* max-height: 45px; */
  overflow: hidden;
}

.list-container .index-labels .list-row-margin > div,
.list-container .list-row .list-row-margin > div {
  /* float: left; */
}

.list-container .order-by-number {
  min-width: 45px;
  margin-right: 27px;
  text-align: center;
}

.list-container .active.order-desc:after,
.list-container .active.order-asc:after {
  content: ' ▼';
  font-size: 1rem;
  vertical-align: middle;
  position: static;
}

.list-container .active.order-desc:after {
  content: ' ▲';
}

.list-item-icon {
  background-size: contain;
  background-position: center;
  cursor: pointer;
  font-size: 0px;
  color: var(--nines);
}

.list-item-icon i{
  font-size: 2rem;
}

#settings .list-item-icon,
#hymn-books-screen .list-item-icon{
  margin-right: 25px;
}

.list-row .list-item-icon i{
  color: var(--nines);
}

.list-row .active .list-item-icon i{
  color: var(--blue);
}

.list-row .active .list-item-icon i.fa-heart{
  color: #b0b0b0;
}

.night-mode .list-row .active .list-item-icon i{
  color: var(--blue);
}

#settings .list-item-icon i {
  color: var(--cs);
}

#settings .list-row .info-drawer {
  max-width: 350px;
  padding-left: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin: auto;
  position: relative;
}

#settings .list-row.open {
  max-height: 1000px;
}

#content .fas.fa-heart{
  color: var(--red);
}

#settings .content{
  max-height: 0px;
  transition: all .25s ease-in-out;
  overflow: hidden;
}

#settings .content.open{
  max-height: 1000px;
}

#settings #logout-button{
  position: relative;
  width: 100%;
  text-align: center;
  color: var(--white);
  border: solid 1px var(--white);
  background-color: var(--blue);
  border-radius: 50px;
  padding: 10px;
  right: 0;
}

#settings #signUp-container{
/* display: none; */
}

#settings #signUp-container .info-drawer{
  padding-left: 0px;
}

#signUp .search-input{
  margin-bottom: 10px;
  width: 100%;
}

#logged-in div{
  padding: 10px 0px;
  font-size: .75em;
  text-align: center;
}

#logged-in div span{
  font-weight: bold;
}

#favorites-screen .list-row{
  transition: all .25s ease;
}

#favorites-screen .list-row.removed {
  overflow: hidden;
  height: 0px;
  border: 0px;
}

.list-container .list-item-number {
  font-weight: bold;
  color: var(--blue);
  text-align: center;
  padding: 0px 5px;
  padding-right: 10px;
}

.night-mode .list-container .list-item-number{
  color: var(--white);
}

.list-container .list-item-title {
  white-space: nowrap;
  overflow: auto;
  line-height: 1.2;
  max-width: calc(100% - 75px);
  width: 100%;
}

.audio-title::-webkit-scrollbar,
.list-container .list-item-title::-webkit-scrollbar {
  display: none;
  scrollbar-width: none;
}

.error{
  color: var(--red);
  text-align: center;
}

/* @group Single Hymn */
#single {
  margin-top: 0px;
  position: fixed;
  background: var(--white);
  width: 100vw;
  bottom: 0;
  top: 100%;
  overflow: scroll;
  transition: all .5s ease-in-out;
  padding-bottom: 80px;
}

.night-mode #single{
  background-color: #222;
}

#single.open{
  top: 70px;
}

.single-width {
  max-width: 500px;
  margin: auto;
}

#single .single-section {
  width: 100%;
  border-bottom: 1px solid var(--cs);
  margin-bottom: 10px;
  position: sticky;
  top: 0px;
  background-color: white;
  /* padding-top: 10px; */
  z-index: 9999;

  .mid{
    #hymn-number{
      justify-content: center;
      align-content: center;
      align-items: normal;
    
      .sq{
        width: 50px!important;
        aspect-ratio: 1 / 1;
        display: inline-block;
        height: initial;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        &.list-item-icon-heart{
          @media screen and (max-width:500px) {
            margin-left: 8px!important;
          }
        }
      }
      
      .fa-play{
        display:inline-block;
        margin-right: 10px!important;
      }

       & > *{
        line-height: 1;
        align-content: center;
        padding: 0!important;
        margin: 0!important;
        height: initial;
        display: inline-block;
        + *{
          border-right: solid 1px #eee;
        }
      }
    }

    #hymn-title{
      padding-bottom: 10px;
      padding-top: 10px;
      align-content: center;
      @media screen and (max-width:550px) {
        padding-right: 20px;
      }
    }
  }

}

.night-mode #single .single-section{
  background-color: #222;
  color: #999;
}


#single #main-info {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  /* margin-bottom: 10px; */
}

#single #main-info > div {
  vertical-align: middle;
}

#single #main-info div:first-child {
  align-content: center;
}

#single #main-info #hymn-title {
  /* flex-grow: 2; */
  line-height: 1!important;
  vertical-align: bottom;
  position: relative;
}

#single #main-info #hymn-title span{
  line-height: 1.2;
}

#single #main-info #hymn-number div {
  margin: 4px auto 0px;
  margin-right: 5px;
}

#single #main-info #hymn-number span{
  font-size: 150%;
  padding: 0 15px 0 5px!important;
}

#single #hymn-number {
  /* font-size: 3rem; */
  font-weight: bold;
  color: var(--blue);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.night-mode #single #hymn-number {
  color: #999;
}

#hymn-number i.fa-play{
  color: #ccc;
  margin-right: 5px;
  &.has-audio-true{
    color: #19466D;
  }
}

#single #notes {
  background-color: var(--es);
}

.night-mode #single #notes {
  background-color: #222222;
}

#single #notes {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  max-height: 0px;
  overflow: hidden;
}

#single #notes.open {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  max-height: 300px;
}

#single .icon-note {
  width: 41px;
  height: 35px;
  cursor: pointer;
}

#single #notes-toggle {
  margin: 20px auto;
  height: 50px;
}

.night-mode #single #notes-toggle {
  opacity: .25;
}

#single .single-content-width {
  margin-bottom: 50px;
}

#single #add-info .single-content-width {
  padding-left: 80px;
  padding-right: 80px;
  margin-bottom: 30px;
}

#single #hymn-tune-meter a{
  color: var(--blue);
  display: none;
}
.night-mode #single #hymn-tune-meter a{
  color: var(--white);
}

#single #hymn .single-content-width {
  display: flex;
  justify-content: center;
  @media screen and (max-width:500px) {
    padding: 0px 40px;
  }
}

#single #hymn ol {
  padding: 0px;
  padding-left: 20px;
}

#single #hymn li {
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: .2px;
}

#single #hymn li li {
  margin-bottom: 0px;
  margin-left: 10px;
}

#single .chorus {
  margin: 10px 0px 0px;
  font-style: italic;
  font-weight: 300;
}

#single #note-input {
  padding: 20px 0px 40px;
  text-align: center;
}

#single #note-input textarea {
  border: none;
  font-size: 1.4rem;
  width: 100%;
  margin: 10px 0px;
  outline: none;
  padding: 8px;
}

.night-mode #single #note-input textarea {
  border: solid 1px var(--white);
}

.clear-button input,
#single #note-input input {
  border: none;
  background: var(--blue);
  display: inline-block;
  color: var(--white);
  border-radius: 95px;
  padding: 10px;
  font-size: 1.8rem;
  width: 100px;
}

.clear-button input {
  display: block;
  margin: 30px auto 0px;
  width: auto;
  text-transform: capitalize;
  padding: 10px 20px;
}

#single #hymn-similar span,
#single #hymn-tune-file {
  display: block;
  margin-bottom: 20px;
}

#single #hymn-tune-title {
  font-style: italic;
}

#single #hymn-tune-title,
#single #hymn-tune-meter {
  text-align: center;
  margin-top: 10px;
  text-transform: capitalize;
}

#hymn-tune-info-drawer {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  display: none;
}

#hymn-tune-info-drawer.open {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  max-height: 300px;
}

#audioplayer-orig{
  #single-play{
    overflow: hidden;
    padding: 0px;
    width: 50px;
    min-width: 50px;
    color:#19466D;
    box-shadow: 0px 0px 15px #19466D;
    border-radius: 1000px;

    &.hidden{
      display: none;
    }

    span{
      background-color: white;
      border-radius: 1000px;
      display: block;
      width: 50px;
      aspect-ratio: 1 / 1;
      text-align: center;
      align-content: center;
      line-height: 1;
    }

    &.disabled{
      box-shadow: 0 0 15px #666;
      span{
        background-color: #eee;
        color: #666;
      }
    }
  }

  .audio-ui-1{
    z-index: 999;
    display: flex;
    color: #19466D;
    position: fixed;
    width: 95%;
    bottom: 100px;
    height: 50px;
    margin: auto;
    gap: 3px;
    left: 0;
    right: 0;
    align-content: center;
    transition: bottom .73s ease-in-out;
    max-width: 525px;

    figure{
      width: 100%;
      background-color: #19466D;
      align-content: center;
      border-radius: 1000px;
      overflow: hidden;

      audio{
        background-color: transparent;
        width:100%;
        height: 100%;
        
        source{
          width: 50%;
        }

        &::-webkit-media-controls-enclosure------- {
          border-radius: 10px;
          background-color: #8ac2c2;
          overflow: hidden;
        }

        &::-internal-media-controls-download-button {
          display: none!important; /* Hide the download button */
        }
      }
    }

    #audioooptions{
      padding: 0!important;
      display: flex;
      justify-content: flex-start;
      gap: 2px;

      .audiooption{
        border-radius: 100px;
        color: white;
        background-color: #ccc;
        width: 25px;
        height: 25px;
        text-align: center;
        align-content: center;
        aspect-ratio: 1 / 1;
        overflow: hidden;

        &.active{
          background-color: #19466D;
        }
      }
    }

    #next-track{
      padding: 3px!important;
    }

    .audio-number{
      background-color: #19466D;
      border-radius: 1000px;
      aspect-ratio: 1/1;
      height: 50px;
      color: white;
      text-align: center;
      font-weight: bold;
    }

    &.movedown{
      bottom: -60px;
    }
  
    & > div:not(#single-play){
      padding: 5px;
      flex-grow: 1;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      justify-content: center;
      max-width: 50px;
    }
  
    .audio-title{
      position: absolute;
      top: 50px;
      max-width: 70%;
      text-align: left;
      padding-left: 10px;
      justify-content: flex-start;
      flex-grow: 2;
      overflow: auto;
      white-space: nowrap;
      /* animation: scroll-left 8s linear infinite; */
      
      span span{
        font-weight: bold;
        padding-right: 10px;
      }
    }

    .audio-play{
      max-width: 40px;
      margin-left: 10px;

    }
    
    .no-audio{
      color: #ccc;
    }

    .audio-pause{
      gap: 30px;
    }
  }
}

body{
  &.disable-audio{
    #audioplayer{
      display: none!important;
    }
  }
  #audioplayer{
    #single-play{
      overflow: hidden;
      padding: 0px;
      width: 50px;
      min-width: 50px;
      color:#19466D;
      box-shadow: 0px 0px 15px #19466D;
      border-radius: 1000px;
  
      &.hidden{
        display: none;
      }
  
      span{
        background-color: white;
        border-radius: 1000px;
        display: block;
        width: 50px;
        aspect-ratio: 1 / 1;
        text-align: center;
        align-content: center;
        line-height: 1;
      }
  
      &.disabled{
        box-shadow: 0 0 15px #666;
        span{
          background-color: #eee;
          color: #666;
        }
      }
    }
  
    .audio-ui{
      z-index: 999;
      display: flex;
      color: #19466D;
      position: fixed;
      width: 95%;
      bottom: 100px;
      height: 50px;
      margin: auto;
      gap: 3px;
      left: 0;
      right: 0;
      align-content: center;
      transition: bottom .73s ease-in-out;
      max-width: 525px;
  
      figure{
        width: 100%;
        background-color: #19466D;
        align-content: center;
        border-radius: 1000px;
        overflow: hidden;
  
        audio{
          background-color: transparent;
          width:100%;
          height: 100%;

          
          source{
            width: 50%;
          }
  
          &::-webkit-media-controls-enclosure {
            border-radius: 10px;
            background-color: white;
            overflow: hidden;
          }
  
          &::-internal-media-controls-download-button {
            display: none!important; /* Hide the download button */
          }
        }
      }
  
      #audioooptions{
        padding: 0!important;
        display: flex;
        justify-content: flex-start;
        gap: 2px;
  
        .audiooption{
          border-radius: 100px;
          color: white;
          background-color: #ccc;
          width: 25px;
          height: 25px;
          text-align: center;
          align-content: center;
          aspect-ratio: 1 / 1;
          overflow: hidden;
  
          &.active{
            background-color: #19466D;
          }
        }
      }
  
      #next-track{
        padding: 3px!important;
      }
  
      .audio-number{
        background-color: #19466D;
        border-radius: 1000px;
        aspect-ratio: 1/1;
        height: 50px;
        color: white;
        text-align: center;
        font-weight: bold;
      }
  
      &.movedown{
        bottom: -60px;
      }
    
      & > div:not(#single-play){
        padding: 5px;
        flex-grow: 1;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        max-width: 50px;
      }
    
      .audio-title{
        position: absolute;
        top: 50px;
        max-width: 70%;
        text-align: left;
        padding-left: 10px;
        justify-content: flex-start;
        flex-grow: 2;
        overflow: auto;
        white-space: nowrap;
        /* animation: scroll-left 8s linear infinite; */
        
        span span{
          font-weight: bold;
          padding-right: 10px;
        }
      }
  
      .audio-play{
        max-width: 40px;
        margin-left: 10px;
  
      }
      
      .no-audio{
        color: #ccc;
      }
  
      .audio-pause{
        gap: 30px;
      }
    }
  }
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

#single .hymn-arrow {
  display: none;
  border-left: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 20px;
  margin: auto;
  height: 40px;
  width: 40px;
  cursor: pointer;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

#single .arrow-next {
  left: inherit;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  right: 20px;
}

#single .hymn-arrow.disable {
  opacity: .1;
  cursor: inherit;
}

#zoom-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width:100%;
}

#zoom-controls span{
  display: block;
  width: 100%;
}

#zoom-controls .zoom{
  text-align: center;
  background-color: var(--es);
  border-radius: 50px;
  margin: 0px 10px;
  border: solid 1px var(--white);
}

#copyrights span{
  font-size: .75em;
}

.log-message{
  font-size: 10px;
  position: absolute;
  right: 30px;
  margin-top: 3px;
}

.log-message.in{
  color: green;
}

/* @end */
@media screen and (max-width: 768px) {
  .index-labels,
  .list-row {
    padding: 0px 20px;
  }
}

@media screen and (max-width: 550px) {
  #nav-container{
    padding-bottom: 10px;
  }
  #nav-container li a{
    font-size: 1rem;
  }
  
  #single,
  p,
  .list-item-number,
  .list-item-title {
    /* font-size: 1.5rem; */
  }
  .list-container .index-labels,
  .list-container .list-row {
    /* max-height: 40px; */
  }
  #alphabet span {
    font-size: 1.8rem;
  }
  #single .hymn-arrow {
    width: 20px;
    height: 20px;
  }
  #single .single-content-width {
    padding: 0px 0px;
    padding-right: 0px;
  }
  #single #add-info .single-content-width {
    padding: 0px 25px;
  }
  #single #main-info div:first-child div {
    /* margin: 10px auto 0px;
    width: 25px;
    height: 25px; */
  }
  #single #main-info > div:nth-child(2) {
    padding-left: 0px;
  }
  #single #main-info > div:nth-child(2) span {
    /* font-size: 1.6rem; */
  }
  #notes .single-width {
    padding: 0px 40px;
  }
}

@media screen and (max-width: 320px) {
  #single,
  p,
  .list-item-number,
  .list-item-title {
    /* font-size: 1.4rem; */
  }
  
  #single #add-info .single-content-width {
    padding: 0px 15px;
  }
}

b{
  font-weight: bold;
}

/*  */
/*  */
/*  */
/*  */
/*  */

.list-item-icon-heart{
  text-align: center;
}


.list-item-icon i.fa-play{
  font-size: 14px;
  color: var(--nines)!important;
}

.list-item-icon  i.has-audio-true{
  color: #19466D!important;
}

#related-hymns{
  padding-bottom: 80px;
}

#single{

  #main-info{
    max-width: initial;
    justify-content: space-between;

    .mid{
      display: flex;
      max-width: 550px;
      width: 100%;
      margin: auto;
      justify-content: center;
      @media screen and (max-width:500px) {
        justify-content: start;
      } 

      #hymn-number{
        .fa-play{
          color: var(--nines);
          &.has-audio-true{
            color: var(--blue);
          }
        }
      }
    }

    #close-hymn{
      position: relative;
      right: 20px;
    }
  }
}

#player{
  display: none !important;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f8f9fa;
  padding: 40px;
  position:fixed;
  bottom: 150px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

    :root {
      --primary: #19466D;
      --primary-dark: #133554;
      --bg: #ffffff;
      --text: #111111;
      --text-light: #555555;
      --border: #e0e0e0;
      --progress-bg: #e9ecef;
      --shadow-sm: 0 2px 6px rgba(0,0,0,0.12);
      --radius: 6px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

      

    .audio-player {
      width: 100%;
      max-width: 620px;
      background: var(--bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .player-main {
      display: flex;
      align-items: center;
      padding: 14px 18px;
      gap: 16px;
      background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    }

    .cover {
      width: 64px;
      height: 64px;
      border-radius: var(--radius);
      background: var(--primary);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 1.1rem;
      overflow: hidden;
      display: none;
    }

    .cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .info {
      flex: 1;
      min-width: 0;
    }

    .title {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .artist {
      font-size: 0.9rem;
      color: var(--text-light);
      margin-top: 3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .controls {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: var(--primary);
      font-size: 1.3rem;
      cursor: pointer;
      transition: all 0.18s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn:hover {
      background: rgba(25, 70, 109, 0.08);
      transform: scale(1.08);
    }

    .btn-primary {
      background: var(--primary);
      color: white;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
    }

    .progress-container {
      height: 5px;
      background: var(--progress-bg);
      cursor: pointer;
      position: relative;
    }

    .progress-bar {
      height: 100%;
      width: 0%;
      background: var(--primary);
      border-radius: var(--radius);
      transition: width 0.1s linear;
    }

    .time-row {
      display: flex;
      justify-content: space-between;
      padding: 6px 18px 12px;
      font-size: 0.78rem;
      color: var(--text-light);
      background: #fafafa;
    }

    /* Volume row */
    .volume-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0 18px 14px;
      background: #fafafa;
    }

    .volume-slider {
      flex: 1;
      height: 5px;
      background: var(--progress-bg);
      border-radius: var(--radius);
      cursor: pointer;
      position: relative;
    }

    .volume-fill {
      height: 100%;
      width: 70%;
      background: var(--primary);
      border-radius: var(--radius);
    }
}