html, body {
  height: 100%;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
h5 {
  padding-top: 2px;
}
td a {
  color: black;
}
a, a:hover{
  text-decoration: none;
}
.small, small {
    font-size: .8em;
}
.smaller, smaller {
    font-size: .7em;
}
#overall {
  font-size: .8em;
}
/* https://tobiasahlin.com/spinkit/ */
#spinner {
  height: 3em;
  width: 3em;
  position: relative;
  margin-top: 0.1em;
}
.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}
.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}
@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -25px;
}
#push, #footer {
  height: auto;
}
#footer {
  background-color: #f5f5f5;
}
#footer a{
  color: black;
}
.line-one, .line-one:focus, .line-two, .line-two:focus{
  border-radius: 0px;
  margin-left: 0.6em;
  height: 2em;
  max-width: 8em;
}
.user-display p, .user-display h5{
   display: inline-block;
}
.user-display p{
  margin: 0 0.1em 0 0.2em;
}
.user-display{
    margin-top: .35em;
    margin-bottom: .45em;
}
.user-input{
  margin-top: 0.34em;
  margin-bottom: 0.34em;
}
p.user-display{
  margin: 0.6em 0.18em;
}
.small-circle.form-control{
    top: 0.02em;
    position: relative;
    transform-origin: top;
    transform: scale(0.79);
 }
.small-circle{
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
#darkmode-button{
  background: black;
  margin-left: 0.08em
}
.dot-one::before, .dot-two::before{
  -webkit-text-stroke: thick;
  position: relative;
  bottom: 1px;
  content: '● ';
}
#balance{
  cursor: pointer;
}
.sort-asc::after{
  content: '▲';
  display: inline-block;
  transform: scale(1,0.7);
  margin-left: 2px;
  color: black;
} 
.sort-desc::after{
  content: '▼';
  display: inline-block;
  transform: scale(1,0.7);
  margin-left: 2px;
  color: black;
}
#overlap-chart .fw-bold, #wave-chart .fw-bold, #scatter-chart .fw-bold, #top-match .fw-bold, #shared .fw-bold, #unshared .fw-bold, #bottom-match .fw-bold{
  font-size: 1.1em;
}
span.fw-bold>a{
  color: black;
}
#overlap-chart, #wave-chart, #scatter-chart, #top-match, #shared, #bottom-match, #unshared{
  max-width: 18em;
  isolation: isolate;
}
#top-match .cycle, #shared .cycle, #bottom-match .cycle, #unshared .cycle{
  cursor: pointer
}
#overlap-chart .small, #wave-chart .small, #scatter-chart .small, #shared .small, #top-match .small, #bottom-match .small, #unshared .small{
  font-size: .87em;
}
#overlap-chart h5, #wave-chart h5, #scatter-chart h5{
  font-size: 1.25em;
}
#top-match .row>span{
  padding-right: 0;
}
.muted{
  opacity:0.8;
}
#menu p.fw-bold {
  font-weight: 740 !important;
  font-size: 1.3em !important
}
.not-loaded{
  display: none;
}
#top-match button, #bottom-match button{
  width: 50px;
  height: 50px;
  margin-left: 1em;
  opacity: 1 !important;
  border: none;
}
.sup{
  font-size: 0.8em;
  position: relative;
  bottom: 0.2em;
  margin-right: 0.1em;
}
.rank-small{
    position: relative;
    top: 0.7em;
    left: -2.3em;
    transform: scale(0.6);
    transform-origin: bottom left;
    margin-right: -4em;
}
#shared ul,#unshared ul{
  padding-left: 1.2em;
}
#shared li,#unshared li{
  list-style: none;
}
#shared tr{
  margin-top: 0.3em;
}
.rank-1{
  font-size: 1.7em;
}
.rank-2{
  font-size: 1.1em;
}
.rank-3{
  font-size: 1em;
}
.rank-1.sup{
  bottom: 0.8em;
  font-size: 0.85em;
  margin-left: -0.3em;
}
.rank-2.sup{
  bottom: 0.3em;
  font-size: 0.8em;
  margin-left: -0.08em;
}
.rank-3.sup{
  bottom: 0.3em;
  font-size: 0.7em;
  margin-left: -0.04em;
}
#circle-one, #circle-two ,.wave-bg-one, .wave-bg-two{
  cursor: pointer;
}
.wave-bg-one.invisible, .wave-bg-two.invisible{
  cursor: default;
}
#circle-one,#circle-two {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-top: -25.8px;
}
.wave-border-bottom{
  border-bottom: 1px solid white;
}
.wave-border-top{
  border-top: 1px solid white;
}
.wave-border-top-solo{
  border-width: 0.1em;
  border-color: white;
}
.wave-border-bottom-solo{
  border-width: 0.1em;
  border-color: white;
}
#wave-chart .col.px-1{
  margin-top: 8.5px;
  margin-bottom: 8.5px;
}
#wave-one, #wave-two{
  mix-blend-mode: multiply;
  overflow: hidden;
}
.scatter-overlap{
  margin-top: -110px;
}
.scatter-overlap-double{
  mix-blend-mode: multiply;
  margin-top: -110px;
}
#scatter-overlay-full{
  min-height: 110px;
  margin-top: -110px;
  position: relative;
}
#scatter-overlay-one,#scatter-overlay-two,#scatter-overlay-zoom{
  cursor: pointer;
}
#scatter-overlay-one{
  margin-top: -110px;
  position: relative;
  min-height: 20px;
}
#scatter-overlay-two{
  min-height: 20px;
  position: relative;
}
#scatter-overlay-zoom{
  min-height: 70px;
  position: relative;
}
.scatter-zoom{
  position: relative;
  left: calc(50vw - 460px);
    top: calc(50vh - 110px);
    transform: scale(3);
  z-index: 1000;
  visibility: visible;
}
.cycle{
  position:relative;
  bottom: 0.07em;
  cursor: pointer;
  margin-left:0.2em;
}
#link{
  position:relative; 
  margin: -0.7em 0 0.3em 0.3em;
  color: #444444;
}
#cook{
    width: 4em;
    height: 4em;
    background-color: #333;
}
#cook-row{
  max-width: 18.5em;
}
#cook-row .text-nowrap{
  margin: 0.15em 0;
}

.bar-graph{
  display: inline-flex;
  position: relative;
  top: 2px;
  padding: 0 0.5em;
  width: 80%;
}
.bar-one,.bar-two{
  display: inline-flex;
  height: 15px;
}
#percent-result{
  position: relative;
  font-size: 1.5em;
  top: 43px;
  color: white;
  z-index: 1000;
  pointer-events: none;
}
.left-count{
  width: 3em;
  text-align: right;
  display: inline-block;
}
.right-count{
  margin-left: 0.2em;
  width: 3em;
  display: inline-block;
}
table.table {
  font-size: 0.9em;
}
#table-body.dim {
  opacity: 0.7;
}
th:nth-child(n+2), span.compare:nth-child(n+2), span.min:nth-child(n+2), span.top:nth-child(n+2), span.range:nth-child(n+2){
  cursor: pointer;
}
th:nth-child(1){
  width: 3%;
}
th:nth-child(2){
  width: 23%;
}
th:nth-child(3){
  width: 4%;
}
th:nth-child(6), th:nth-child(7){
  width: 6%;
}
th:nth-child(5){
  width: 8%;
}
.one-count,.two-count{
  width: 2.5em;
}

#random-one,#random-two{
  cursor: pointer;
    width: 1em;
    height: 1em;
}
#random-one:after,#random-two:after{
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: 0.2em;
    left: -0.4em;
    display: inline-block;
    content: "";
    background-size:contain;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyBmaWxsPSIjMDAwMDAwIiB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxnIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxwYXRoIGQ9Ik00Ny44OTUgODguMDk3Yy4wMDEtNC40MTYgMy4wNjQtOS44MzcgNi44NTQtMTIuMTE3bDY2LjI1Ny0zOS44NThjMy43ODUtMi4yNzcgOS45MTUtMi4yNzcgMTMuNzA3LjAwOGw2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43NjUtMy4xNi0xNC41MjZ6TTEyOC41IDY5Yy02LjM1MSAwLTExLjUgNC45MjUtMTEuNSAxMXM1LjE0OSAxMSAxMS41IDExUzE0MCA4Ni4wNzUgMTQwIDgwcy01LjE0OS0xMS0xMS41LTExeiIvPg0KICAgIDwvZz4NCjwvc3ZnPg==");
}

@keyframes spin{
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(1turn);
  }
}
.spin:after {
    animation-name: spin;
    animation-duration: var(--fa-animation-duration, 2s);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-timing-function: var(--fa-animation-timing, linear);
    animation-delay: var(--fa-animation-delay, 0s);
    animation-direction: var(--fa-animation-direction, normal);
}

@media only screen and (min-width: 840px) {

  
  #menu, #overlap-chart, #top-match, #shared, #wave-chart, #scatter-chart{
    margin-bottom: 0.2em;
  }
  
}

@media only screen and (max-width: 768px) {

  
  #menu, #overlap-chart, #scatter-chart, #top-match, #shared, #bottom-match, #unshared, #wave-chart{
    max-width: 18em;
    transform: scale(0.97);
    transform-origin: top left;
    margin-bottom: -0.5em;
  }
  
  
  .table-container{
    max-width: 28em;
    overflow: scroll;
  }
  
  table.table {
    display: block;
    overflow: scroll;
    min-inline-size: 39em;
  font-size: 0.8em;
}
  .pe-5 {
      padding-right: 5rem !important;
  }
  .credit {
    font-size: 0.55em;
  }
}
@media only screen and (min-width: 650px) and (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .container-xxl{
    max-width: 55em;
  }
  #menu{
    flex: 0 0 auto;
        width: 50%;
    }

}
@media only screen and (max-width: 1200px) {
  .container-xxl > .row{
    max-width: 40em;
  }
}
@media (max-width: 650px) {
  #menu, #overlap-chart, #wave-chart, #scatter-chart, #top-match, #shared #bottom-match, #unshared{
    margin-bottom: 0.5em;
  }
}
@media (orientation: portrait) {
  .scatter-zoom{
    position: relative;
    left: calc(50vh - 350px);
    top: 50vw;
    transform: scale(2.5);
    z-index: 1000;
    visibility: visible;
  }
}