@font-face {
  font-family: 'BabelStone Flags';
  src: url('/webfonts/BabelStoneFlags.woff2') format('woff2'), url('/webfonts/BabelStoneFlags.woff') format('woff');
}
/* fa centering */
.fa-edit:before { margin-right: -0.15em; }
.fa-play:before { margin-right: -0.05em; }
.fa-search-plus:before { margin-right: -0.05em; }
.fa-star:before { margin-right: -0.1em; margin-left: -0.1em; }

/* bs 5 backport */
:root {
  --bs-body-font-size: 15px;
}
a {
  text-decoration: none;
}
#alphabet a {
  color: #fff;
}
table.repertoire-list tr:not(.new-artist) td {
  border-bottom-color: transparent;
}
table.repertoire-list tr.new-artist td {
  border-top-width: 1px;
  border-bottom-width: 0px;
}
table.repertoire-list>:not(caption)>*>* {
  border-bottom-width: 0px;
}
table.archive-list td {
  border-top-width: 1px;
  border-bottom-width: 0px;
  vertical-align: middle;
}
.form-check-input:checked {
  border-color: var(--bs-success);
  background-color: var(--bs-success);
}
.repertoire-search {
  max-width: 200px;
}
#archive-search .instruments {
  display: flex;
}
/* end backport */
.flag {
  font-family: 'BabelStone Flags';
  font-size: 80%;
}
.moji {
  font-style: normal;
}

html {
  background-color: #181B1A;
  background-image: url(../img/tg_bg-02-pattern-small.png);
  background-attachment: fixed;
  background-size: 665px;
}
body {
  background-color: transparent;
}
body.chapter-repertoire {
  overflow-y:scroll;
}
.custom-checkbox {
  white-space: nowrap;
}
.bg-light {
  background-color: rgba(48, 48, 48, 0.7) !important;
}
.live-list td.icons {
  width: 0%;
  white-space: nowrap;
}
.live-list td, .request-list td {
  vertical-align: middle;
}
.live-list .btn, .request-list .btn, .repertoire-list .btn, div.new .btn {
  line-height: 1;
}
.live-list td:first-child, .request-list td:first-child {
  text-align: center;
}
.live-list td.title {
  width: 100%;
}
.live-list td.buttons {
  white-space: nowrap;
}
.request-details {
  table-layout: fixed;
}
.request-list td.info {
  word-wrap: break-word;
  word-break: break-word;
}
.request-list td.name {
  word-wrap: break-word;
}
.request-list td.action, .request-list td.status, .request-list td.value {
  width: 0;
}
.request-list td.info {
  word-break: break-word;
}
.request-list tr.success {
  opacity: 1;
}
.request-list tr.wait {
  opacity: 0.3;
}
.request-list tr.user {
  opacity: 0.7;
}
.request-list td[colspan="2"] {
  text-align: left;
}
.request-list td {
  vertical-align: bottom;
}
.request-list td:first-child {
  vertical-align: middle;
}
.request-list td.value {
  text-align: right;
}
.request-list td.value small.currency {
  font-size: 0.9em;
  opacity: 0.7;
}
.request-list td blockquote p::before {
  content: '"';
  margin-left: -0.3em;
  margin-right: 0.1em;
  color: #F39C12;
}
.request-list tr.new-date {
  opacity: 0.6;
  font-size: 0.7em;
  background: #000;
}
.power_user_data {
  width: 23%!important;
}
#auth img {
  height: 2rem;
  border-radius: 1rem;
}
dd i.fab {
  min-width: 1.1rem;
  margin-right: 0.2rem;
  text-align: center;
}

.postpone tr.postpone-placeholder td {
  height: 3rem;
}
.postpone tr.postpone-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #444,
    #444 12.5%,
    #222 12.5%,
    #222 25%
  );
  border-bottom: 1px solid #444;
}

a.nav-link {
}
a.nav-link:active {
  transition: background-color 0.25s ease-in-out;
  background-color: #777;
}
a.nav-link.loading {
  transition: background-color 0.5s ease-in-out;
  background-color: #aaa;
}

.repertoire-list th:last-child, .repertoire-list td:last-child {
  text-align: right;
}
.repertoire-list tr.blacklist {
  background: #000;
}
.repertoire-list tr.loading {
  transition: background-color 0.5s ease-in-out;
  background-color: #aaa;
}
.repertoire-list td:first-child { /* letter anchors and buttons */
  width: 3%;
  white-space: nowrap;
}
.repertoire-list td:nth-child(2) { /* artist */
  width: 20%;
  text-align: right;
  padding-right: 0.6rem;
}
.repertoire-list[data-filter=by_title] td:nth-child(2) {
  color: rgba(255,255,255,0.4);
}
.repertoire-list td:nth-child(3) { /* song title */
  width: 40%;
  padding-left: 0.6rem;
}
.repertoire-list td:nth-child(4) { /* times performed */
  text-align: right;
  width: 2%;
}
.repertoire-list td:nth-child(5) { /* icons */
  width: 10%;
}
.repertoire-list td:last-child { /* buttons */
  width: 3%;
  white-space: nowrap;
}
@media (max-width: 576px) {
  .repertoire-list { table-layout: fixed }
  .repertoire-list td:first-child { width: 8% }
  .repertoire-list td:nth-child(2) { width: 32% }
  .repertoire-list td:nth-child(3) { width: 50% }
  .repertoire-list td:nth-child(4), .repertoire-list td:nth-child(5) { display: none; }
  .repertoire-list td:last-child { width: 10% }
  .pagination {
    flex-wrap: wrap;
    row-gap: 1px;
  }
  .pagination .page-link {
    height: 100%;
    display: flex;
    align-items: center;
  }
}

.repertoire-list td:first-child {
  color: rgba(255,255,255,0.4);
}
.repertoire-list td:first-child span {
  margin-left: 4px;
  pointer-events: none;
}
.repertoire-list tbody.lazy {
  display: none;
}
.repertoire-list td .btn {
  margin-top: -10px;
  margin-bottom: -5px;
}
.repertoire-list {
  empty-cells: show;
}
[id^="l-"] {
  scroll-margin-top: 84px;
}
@media (max-width: 576px) {
  [id^="l-"] {
    scroll-margin-top: 140px;
  }
}

@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(0.9); opacity: 0.7; }
    50% { -webkit-transform: scale(1); opacity: 1; }
    100% { -webkit-transform: scale(0.9); opacity: 0.7; }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

td:nth-child(1) span:target:after {
  content: '';
  position: absolute;
  width: 2.1rem;
  left: -50%;
  margin-top: 0.2rem;
  height: 0;
  border: 6px solid #fff;
  border-top-color: transparent;
  border-bottom-color: transparent;

  -webkit-animation: pulse 1s infinite ease-in-out;
  -o-animation: pulse 1s infinite ease-in-out;
  -ms-animation: pulse 1s infinite ease-in-out;
  -moz-animation: pulse 1s infinite ease-in-out;
  animation: pulse 1s infinite ease-in-out;
}

nav.repertoire-nav a, nav.main-nav a {
  text-transform: lowercase;
}

.archive-list td.index {
  width: 0%;
}
.archive-list td.icons {
  width: 0%;
  text-align: center;
  white-space: nowrap;
}
.archive-list td.duration {
  width: 0%;
  white-space: nowrap;
}
.archive-list td.title, .archive-list td.cover {
  width: 100%;
}
.archive-list td.cover {
  text-align: right;
}

form.schedule .input-group-text {
  justify-content: flex-end;
}
form.schedule label[for^=check] {
  cursor: pointer;
}
form.schedule button.btn {
  width: 2.5rem;
}

.live-type-stop {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,.2) 30px, rgba(255,255,255,.2) 60px);
}

.navbar .nav-link .unline {
  margin-top: -1rem;
  margin-bottom: -1rem;
}
.main-nav .navbar-nav {
  flex-grow: 1;
  position: relative;
}

.main-nav .nav-item:last-child {
  text-align: right;
  position: absolute;
  right: 0;
  top: 2px;
}

#alphabet {
  top: -3px;
  pointer-events: none;
  padding-right: 0 !important;
  margin-right: 0 !important;
}
#alphabet > div > div {
  pointer-events: all;
}
#alphabet .flex-shrink {
  display: flex !important;
  align-self: stretch;
}
#alphabet a.big {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 0.7rem;
  padding-left: 0.7rem;
  text-decoration: overline;
}
#alphabet > .container > .flex-column {
  align-self: stretch;
}
#alphabet .btn-group {
  flex-wrap: wrap;
  row-gap: 1px;
}
#alphabet .btn-group a {
  flex: none;
  margin-left: 0;
  border-radius: 0;
  padding: 4px 0px;
  width: 1.5rem;
}

@media (min-width: 992px) {
  #alphabet .btn-group a {
    width: 1.8rem;
    padding: 5px 0px;
  }
}
@media (min-width: 1200px) {
  #alphabet .btn-group a {
    width: 2.2rem;
    padding: 6px 0px;
  }
}
@media (min-width: 576px) {
  .container, .container-sm {
    max-width: none;
  }
}
.song-search {
  display: flex;
}
.song-search .form-inline {
  flex-grow: 1;
  flex-flow: nowrap;
  margin: -0.3rem 0;
}
.song-search .form-inline .form-control {
  line-height: 1;
}
.navbar-vertical-compact .nav-link {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}
.nav-item.composite .nav-link {
  display: inline-block;
  margin-right: 0.7rem;
}
.table tr.odd {
  background-color: #303030;
}
.table-borderless td {
  border: none;
}
.top.card span.name {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.top.card .list-group-item:hover span.name {
  overflow: visible;
}
.top.card .list-group-item:hover span.badge {
  visibility: hidden;
}
.modal-footer {
  justify-content: space-between;
}
.navbar-brand img {
  height: 1.4em;
  margin: -0.3em 0.2em 0 -3px;
}
nav.calendar {
  margin-top: 1rem;
}
nav.calendar ul {
  margin-bottom: 0.5rem;
}
.playlist td.title {
  word-wrap: break-word;
  word-break: break-word;
}
.card.border-success {
  background: url(/img/julka96.png) no-repeat 95% 100%;
  background-size: 25%;
}
button.btn-narrow {
  white-space: nowrap;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 1400px){.container{max-width:1340px}}

.show, .fade, .modal.fade .modal-dialog {
  transition-duration: 100ms;
}
.navbar-nav .active>.nav-link, .navbar-nav .nav-link.active {
  color: #fff;
}

.custom-control.danger .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #E74C3C;
  border-color: #E74C3C;
}
.clone-blueprint:first-child {
  display: none;
}
.columns-3 {
  column-count: 3;
}
.modal-body + .modal-body {
  border-top: 1px solid #444;
}
.main-nav .navbar-nav li:last-child span.nav-link {
  padding-right: 0;
}
.control-buttons {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.4rem;
  column-gap: 0.4rem;
  justify-content: space-between;
}
.playlist td.order .badge, .request-list td .badge {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  vertical-align: middle;
  line-height: 1.9;
  cursor: pointer;
}
.text-bigger {
  font-size: 110%;
}
img.emoji {
  vertical-align: sub;
}
a[data-toggle="modal"] {
  cursor: pointer;
}
ul.nav li.right-item {
  flex-basis: 0;
  flex-grow: 1;
  min-width: 200px;
}
ul.nav li.right-item .form-inline {
  height: 100%;
}
.dropdown-menu {
  z-index: 1021;
}
.chapter-tops main.container .row {
  padding-left: 10px;
  padding-right: 10px;
}
span.action-buttons {
  display: none;
}
td > span.action-buttons {
  display: block;
  position: absolute;
  margin-left: -96px;
  padding: 5px 4px 6px 4px;
  margin-top: -5px;
  border-radius: 0.25rem;
}
.modal-open {
  overflow-y: hidden !important;
}
.video-list .btn {
  text-align: left;
}
hr {
  border-top: 1px solid #444;
}
kbd {
  color: revert !important;
}
iframe.schedule-preview {
  width: 320px;
  height: 500px;
  border: 0;
}

.tooltip-inner {
    padding: 0.5em 1em;
    line-height: 1.6;
}

#archive-search .input-group {
  width: 100% !important;
}
#archive-search .input-group .form-check {
  justify-content: left;
}
#archive-search .input-group.instruments {
  padding-left: 1.5rem;
  justify-content: space-between;
}

.own-mark {
  color: var(--bs-pink) !important;
}

.form-check {
  overflow: hidden;
}
.fa-boosty {
  display: inline-block;
  background-color: #00bc8c;
  -webkit-mask: url(/public/img/boosty.svg) no-repeat 50% 50%;
  mask: url(/public/img/boosty.svg) no-repeat 50% 50%;
  height: 1em;
  margin-bottom: -2px;
}
