/* ######################### audioDLlist ######################### */
#audioDLlist {
  width: 100%;
  padding: 20px;
  position: relative;
  font-size: 0.8em;
}

#audioDLlist > p {
  padding-left: 1rem;
  margin-bottom: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}
@media print, screen and (min-width: 40em) {
  #audioDLlist > p {
    padding-left: 0;
    text-align: left;
    text-decoration: none;
  }
}

.avTable {
  margin-bottom: 8px;
  width: 100%;
  background: #fff;
  column-count: auto;
  column-width: 520px;
  column-gap: 0.5em;
}
.avTable .avRow {
  break-inside: avoid;
}

.row {
  width: 100%;
}
.row .row.avRow {
  margin: 0;
}

.avRow {
  background-color: #fff;
  font-size: 1.2em;
}
.avRow__title {
  padding: 10px 1rem 10px 1rem;
  border-left: 1px solid #d7e1ec;
  border-top: 1px solid #d7e1ec;
}
.avRow__media {
  border-top: 1px solid #d7e1ec;
  padding: 10px 1rem 10px 1rem;
}
.avRow__media a {
  display: block;
  color: #d7e1ec;
  border: 1px solid #445a7a;
  background-color: #627b9f;
  padding: 3px;
  width: 90px;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 5px;
}
.avRow__media a:hover {
  text-decoration: none;
  color: #fff;
  border: 1px solid #768dad;
  background-color: #98abc7;
}
.avRow__references {
  border-right: 1px solid #d7e1ec;
  border-top: 1px solid #d7e1ec;
  padding: 10px 1rem 10px 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.avRow__references div.sortable {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.avRow__references > a, .avRow__references div > a {
  white-space: nowrap;
  border: 1px solid gainsboro;
  padding: 1px 0px 1px 5px;
  margin: 1px;
  background-color: ghostwhite;
  text-align: left;
  min-width: 100px;
  font-size: 0.95em;
  max-height: 22px;
  text-decoration: none !important;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.65s ease, border-color 0.65s ease, color 0.65s ease;
}
.avRow__references > a:hover, .avRow__references div > a:hover {
  background-color: #98abc7;
  border-color: navy;
  color: white;
}
.avRow__references > a.showAllContent, .avRow__references div > a.showAllContent {
  min-width: 48% !important;
}
.avRow:hover {
  background-color: #e4eaee;
}
.avRow.anchor {
  background-color: #e4eaee;
}
.avRow.hide-for-medium p {
  padding-left: 1rem;
  padding-bottom: 1rem;
}
.avRow.hide-for-medium a {
  text-decoration: underline;
}

button.__ln-loadmore-btn {
  display: block;
  margin: 0 auto 1rem;
}

.headerRow {
  background-color: #eaeff2;
  border: 0 solid #c5d2e0;
  border-top-width: 1px;
  font-weight: bold;
}
.headerRow .columns.avRow__title, .headerRow .columns.avRow__media, .headerRow .columns.avRow__references {
  display: flex;
}

.footerRow {
  font-size: 0.5em;
  background-color: #eaeff2;
  border: 1px solid #c5d2e0;
}
.footerRow > div {
  padding: 0;
}

#commIndNote {
  text-align: center;
  padding-left: 1rem;
}
@media print, screen and (min-width: 40em) {
  #commIndNote {
    text-align: left;
    padding-left: 0;
  }
}

/*THESE STYLES BELOW SHOULD PROBABLY GO INTO A GLOBAL STYLESHEET*/
.float-right {
  margin-right: 1.2em;
}

.back-link {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  text-decoration: underline;
}

.back-link a {
  font-size: 1rem;
}

@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .avRow__title {
    padding: 20px 1rem;
    border-left: none;
    border-top: 0;
  }
  body:not(.viewport) .avRow__title a {
    text-decoration: underline;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .avRow__media a {
    padding: 10px;
    display: inline-block;
    margin-right: 1rem;
    width: auto;
  }
}
@media screen and (max-width: 23.125em) {
  body:not(.viewport) .avRow__media a {
    padding: 8px;
    margin-right: 0.8rem;
    display: block;
  }
}
@media screen and (max-width: 26.25em) {
  body:not(.viewport) .avRow__media.noDownload a {
    display: block;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .avRow__media {
    border-top: 0;
    padding: 20px 0 20px 1rem;
    text-align: right;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .avRow__references {
    padding: 1rem;
    border-top: none;
    border-right: none;
  }
  body:not(.viewport) .avRow__references a {
    text-decoration: underline;
    max-height: unset;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .avRow {
    border-bottom: 1px solid #d7e1ec;
  }
  body:not(.viewport) .avRow:hover {
    background-color: #fff;
  }
}
@media print, screen and (max-width: 51.24875em) {
  body:not(.viewport) .avTotal {
    margin-top: 2rem;
    text-align: center;
  }
  body:not(.viewport) .avTotal .avTotal__current::before {
    content: attr(data-current);
  }
  body:not(.viewport) .avTotal .avTotal__total::before {
    content: attr(data-total);
  }
  body:not(.viewport) .avTable .__ln-loadmore-wrapper {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) .headerRow,
  body:not(.viewport) .footerRow {
    display: none;
  }
}
@media print, screen and (max-width: 39.99875em) {
  body:not(.viewport) #commIndNote {
    margin-top: 1rem;
  }
}

@media screen and (min-width: 51.25em) {
  .av-indent {
    text-indent: 15px;
  }
}

body.viewport #audioDLlist > p {
  padding-left: 0;
  text-align: left;
  text-decoration: none;
}
body.viewport #commIndNote {
  text-align: left;
  padding-left: 0;
}
body.viewport .av-indent {
  text-indent: 15px;
}

select.sortSelector {
  border: 1px gainsboro solid;
  background-color: ghostwhite;
  padding: 2px 6px;
  border-radius: 0 5px 5px 0;
  border-left: none;
  cursor: pointer;
  width: auto;
  font-size: 14px;
  outline: none !important;
}

i.sortSelectorIcon {
  margin-left: 10px;
  cursor: pointer;
}
i.sortSelectorIcon:after {
  transition: background-color ease-in-out 0.25s, border-color ease-in-out 0.25s, color ease-in-out 0.25s;
  font-family: FontAwesome !important;
  padding: 3px 5px;
  background-color: ghostwhite;
  border: 1px gainsboro solid;
  border-radius: 5px 0 0 5px;
  border-right: none;
  cursor: pointer;
}
i.sortSelectorIcon[data-sortorder=asc]:after {
  content: "\f160";
}
i.sortSelectorIcon[data-sortorder=desc]:after {
  content: "\f161";
}
i.sortSelectorIcon:hover:after {
  background-color: #627b9f;
  border-color: #445a7a;
  color: #fff;
}

.mobileBibleRefHeader {
  padding: 0px 20px;
}

.avRow .flexRow {
  margin-top: 0px !important;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}