/* Dark mode theme */
html[data-darkmode] body {
  color: #eee;
  background-color: #0e0e10;
}
html[data-darkmode] #dm-btn {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
html[data-darkmode] #dm-btn:hover {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
}
html[data-darkmode] #dm-btn:focus, html[data-darkmode] #dm-btn.focus {
  color: #212529;
  background-color: #e2e6ea;
  border-color: #dae0e5;
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}
html[data-darkmode] #dm-btn.disabled, html[data-darkmode] #dm-btn:disabled {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}
html[data-darkmode] #dm-btn:not(:disabled):not(.disabled):active, html[data-darkmode] #dm-btn:not(:disabled):not(.disabled).active, .show > html[data-darkmode] #dm-btn.dropdown-toggle {
  color: #212529;
  background-color: #dae0e5;
  border-color: #d3d9df;
}
html[data-darkmode] #dm-btn:not(:disabled):not(.disabled):active:focus, html[data-darkmode] #dm-btn:not(:disabled):not(.disabled).active:focus, .show > html[data-darkmode] #dm-btn.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
}
html[data-darkmode] .card {
  background-color: #18181b;
}
html[data-darkmode] input[type=text] {
  color: #111;
  background-color: #eee;
}
html[data-darkmode] input::placeholder {
  color: #222;
}
html[data-darkmode] #sxr-lookup {
  filter: brightness(0.9);
}
html[data-darkmode] #sxr-xref, html[data-darkmode] #sxr-toggle-embed {
  filter: brightness(0.95);
}
html[data-darkmode] #sxr-adv-hms {
  color: #111;
  background-color: #eee;
}
html[data-darkmode] #sxr-embed-warning {
  filter: brightness(0.9);
}
html[data-darkmode] .tippy-box[data-theme~=light-border] {
  color: #222;
  background-color: #eee;
}
html[data-darkmode] .tippy-box[data-theme~=light-border][data-placement^=bottom] > .tippy-arrow:before {
  border-bottom-color: #eee;
}
html[data-darkmode] .tippy-box[data-theme~=light-border][data-placement^=top] > .tippy-arrow:before {
  border-top-color: #eee;
}
html[data-darkmode] #sxr-vt-info {
  color: #a5bad5;
}

/* General layout */
:root {
  --sxr-main-color: #62279d;
}

body {
  background-color: #f2f7fc;
}

main > .container > div {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.11), 0 2px 2px rgba(0, 0, 0, 0.11), 0 4px 4px rgba(0, 0, 0, 0.11), 0 8px 8px rgba(0, 0, 0, 0.11), 0 16px 16px rgba(0, 0, 0, 0.11), 0 32px 32px rgba(0, 0, 0, 0.11);
  border-radius: 0.25rem;
  margin-top: 32px;
}
main > .container > div:first-child {
  margin-top: -4rem;
}

h6 + small {
  margin-left: 1rem;
  color: var(--secondary);
}

/* Header elements */
header {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.16), 0 8px 8px rgba(0, 0, 0, 0.2);
  background-color: var(--sxr-main-color);
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  color: white;
}
header .container {
  padding: 0;
  display: none;
}
@media (min-width: 768px) {
  header .container {
    display: block;
  }
}

#sxr-anim-bar {
  position: relative;
  margin: 0 1.5rem;
  height: 30px;
  overflow: hidden;
}

#sxr-anim-seek {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 52px);
  height: 30px;
}
#sxr-anim-seek svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  fill: var(--sxr-main-color);
  transition: transform 1.5s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  #sxr-anim-seek svg {
    transition-duration: 0s !important;
  }
}

/* Darkmode toggle and settings */
#dm-btn {
  position: absolute;
  display: flex;
  height: 2.5rem;
  width: 5rem;
  top: 0.5rem;
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#dm-btn svg {
  height: 100%;
  width: 100%;
}
@media print {
  #dm-btn {
    /* Why would anyone do this? */
    display: none;
  }
}

body {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.card {
  transition: background-color 0.15s ease-in-out;
}

/* Main container adjustments */
#app-group {
  padding: 0.25rem;
}
@media (min-width: 576px) {
  #app-group {
    padding: 1rem;
  }
}
#app-group .list-group {
  border: none;
}
#app-group > div:last-child {
  margin-top: 2.5rem;
}

/* Trigger flex wrapping when SM or smaller */
@media (max-width: 767.98px) {
  .form-group {
    flex: 1 1 100%;
  }
}

/* Center icon */
#sxr-mid {
  align-items: center;
  justify-content: flex-end;
}
#sxr-mid svg {
  height: calc(1.5em + 0.75rem + 2px);
  width: auto;
}

/* Main form */
#sxr-main .badge {
  user-select: none;
  cursor: pointer;
}
#sxr-main .badge:last-of-type {
  margin-left: 1rem;
}
#sxr-main :not(#sxr-mid) > svg {
  margin-left: 4px;
  vertical-align: top;
}
#sxr-main input.form-control {
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out, filter 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

#sxr-group-source > div:first-child, #sxr-group-target > div:first-child {
  margin-bottom: 0.25rem;
}

/* Input feedback DIV */
.sxr-feedback {
  margin-left: 0.5em;
  font-size: 80%;
  height: 1.5em;
  color: #dc3545;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Button position and animation */
#sxr-lookup {
  position: relative;
}

.waiting {
  /* Fallback duration */
  animation-duration: 5s;
}
.waiting::before {
  content: "";
  position: absolute;
  left: 5%;
  bottom: 0.125rem;
  background: linear-gradient(to right, #fff 50%, #0e4c98 50% 100%) no-repeat;
  background-size: 200%;
  width: 90%;
  height: 0.25rem;
  border-radius: 0.25rem;
  animation: ratelimit 1s linear both 1;
  /* Override duration */
  animation-duration: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .waiting::before {
    animation-name: ratelimit-alt !important;
  }
}

@keyframes ratelimit {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}
@keyframes ratelimit-alt {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Result formatting */
#sxr-xref {
  overflow-wrap: anywhere;
  transition: filter 0.15s ease-in-out;
}
@media (max-width: 464px) {
  #sxr-xref {
    border-radius: inherit;
  }
}
#sxr-xref.list-group-item-danger {
  border-radius: inherit !important;
}
#sxr-xref.list-group-item-danger ~ #sxr-toggle-embed {
  display: none !important;
}

#sxr-toggle-embed {
  display: flex;
  white-space: nowrap;
  width: calc(18ch + 2.5rem);
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
  transition: filter 0.15s ease-in-out;
}
@media (max-width: 464px) {
  #sxr-toggle-embed {
    display: none;
  }
}

/* Advanced playback animation */
.sxr-adv-closed {
  display: none;
}

.sxr-adv-open {
  max-height: 720px;
  opacity: 1;
  padding: 1rem 1rem;
}

.sxr-adv-opening {
  animation: playerAnim 0.5s ease-out 1 normal both;
}

.sxr-adv-closing {
  animation: playerAnim 0.5s ease-in 1 reverse both;
}

@keyframes playerAnim {
  0% {
    visibility: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 1rem;
    margin-top: 0;
  }
  50% {
    visibility: hidden;
    max-height: 720px;
    opacity: 0;
    padding: 1rem 1rem;
    margin-top: 32px;
  }
  100% {
    visibility: visible;
    max-height: 720px;
    opacity: 1;
    padding: 1rem 1rem;
    margin-top: 32px;
  }
}
/* Advanced playback general */
@media (prefers-reduced-motion: reduce) {
  #sxr-adv-playback {
    animation-duration: 0.001s !important;
  }
}

#sxr-adv-offset {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  column-gap: 0.25rem;
  row-gap: 0;
  grid-template-areas: "label video" "timeline hms";
  margin-top: -0.5rem;
}
#sxr-adv-offset + svg {
  align-self: center;
  min-height: 1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

#sxr-timeline-group {
  position: relative;
  margin: auto 0.75rem auto 0;
  width: auto;
  padding: 0;
}
#sxr-timeline-group input {
  position: relative;
  margin: auto;
  z-index: 4;
}
#sxr-timeline-group input:disabled ~ span {
  opacity: 0;
}
#sxr-timeline-group span {
  position: absolute;
  bottom: -1.25rem;
  font-size: 0.85rem;
  transition: opacity 0.15s ease-in-out;
  z-index: 2;
}
#sxr-timeline-group span::before {
  content: "|";
  position: absolute;
  top: calc(-1rem + 1px);
  left: inherit;
  right: inherit;
}

#sxr-timeline-min {
  left: 0;
}

#sxr-timeline-max {
  right: 0;
}

#sxr-adv-hms {
  display: inline-flex;
  padding: 0 0.125rem;
  transition: border-color 0.1s ease-in-out, color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  background-color: #fff;
}
#sxr-adv-hms * {
  background-color: transparent;
}
#sxr-adv-hms input {
  outline: none;
  width: 2ch;
  text-align: right;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}
#sxr-adv-hms span {
  font-size: 1rem;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

#sxr-xref-embed {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
#sxr-xref-embed::before {
  display: block;
  content: "";
  padding-top: 56.25%;
}
#sxr-xref-embed > iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#sxr-embed-warning {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: filter 0.15s ease-in-out;
}

/* Info formatting */
#sxr-vt-info {
  transition: color 0.15s ease-in-out;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  cursor: help;
  color: #0051bb;
}

/* Footer */
footer {
  margin-top: 40px;
  height: 60px;
  text-align: center;
}
footer small {
  color: #777;
}

/* Noscript message */
.noscript-alignment {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 7.5rem;
  width: 100%;
}

.noscript {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  background-clip: border-box;
  color: black;
}

/* Tippy formatting */
.tippy-box[data-theme~=light-border] {
  box-shadow: 0 4px 14px -2px rgba(0, 8, 16, 0.28);
}

.tippy-content {
  overflow: hidden;
  overflow-wrap: break-word;
}
.tippy-content h6 {
  text-align: center;
}
.tippy-content hr {
  margin: 0.5em 0;
}
.tippy-content ul {
  margin: 0 0 0 -1rem;
  list-style: none;
  padding-left: 0;
}
.tippy-content ul li {
  background: url("data:image/svg+xml,%3Csvg width='20' height='5' viewBox='0 0 20 5' xmlns='http://www.w3.org/2000/svg' fill='%2328a745'%3E%3Cpath d='m0 0h17.5c1.385 0 2.5 1.115 2.5 2.5s-1.115 2.5-2.5 2.5h-17.5z'/%3E%3C/svg%3E") left no-repeat;
  padding-left: 25px;
  margin-top: 5px;
}

/*# sourceMappingURL=style.css.map */
