/* Header text */
#header-blast-text {
  margin: 120px 0 50px 20vw;
  color: var(--header-text);
}
#header-blast-text h1 {
  color: var(--header-text);
  font-size: 5.5rem;
  font-family: 'Teko', sans-serif;
  font-weight: normal;
  letter-spacing: 14pt;
  line-height: 0.6;
  margin-bottom: 0;
}
#header-blast-text p {
  font-size: 1.8rem;
  font-family: 'Abel', sans-serif;
  letter-spacing: 8pt;
  line-height: 1rem;
  font-weight: normal;
}
#header-blast-text span {
  position: relative;
  top: 2px;
  margin-left: 10px;
  font-size: 2rem;
  font-family: 'Abel', sans-serif;
  font-weight: 600;
  letter-spacing: 6pt;
}

/* Main */
.form-row.selection {
  flex-wrap: nowrap;
  justify-content: center;
}
.form-group.selection {
  margin: 0 50px;
}
.sequence {
  font-size: 12pt;
  font-family: monospace;
  width: 96%;
  margin: 40px;
  margin-bottom: 75px;
}
.link-box {
  background-color: #ccc;
}
.alg-btn {
  background-color: #ddd;
  color: black;
  border-color: #bbb;
  border-style: solid;
  border-width: thin;
  font-size: 1.25rem;
  font-weight: normal;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
.alg-btn:hover {
  background-color: #ccc;
}
.alg-btn.active {
  background-color: #0275D8;
  border-style: none;
  color: white;
}
#sample-sequence {
  color: var(--inverse);
  float: right;
  margin: 0 25px 10px 0;
}
#blast-info {
  height: 40px;
  float: right;
}
#db-query {
  max-width: 400px;
  margin-top: 15px;
  padding: 3px 5px;
  color: var(--navbar-dark);
  background-color: var(--transparent-input);
  border-color: #1f2b3d;
}
#db-query:focus {
  background-color: white;
}
#no-dbs-returned {
  display: none;
}
#db-group {
  text-align: left;
  min-width: 600px;
  margin-bottom: 50px;
}
#btn-submit {
  display: block;
  width: 200px;
  margin: 50px auto;
}
#algorithm {
  padding: 15px;
}
#alg-popover {
  display: none;
  position: absolute;
  height: 100px;
  width: 160px;
  top: -15px;
  right: -180px;
  color: white;
  text-align: center;
  padding: 15px;
  z-index: 10;
}
#alg-popover::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  border-radius: 5px;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #111 transparent;
  content: "";
  z-index: -1;
}
#alg-popover::after {
  background-color: #111;
  box-shadow: -2px 2px 2px 0 #111;
  content: "";
  display: block;
  height: 20px;
  position: absolute;
  top: 45px;
  left: -10px;
  transform:             rotate( 45deg );
      -moz-transform:    rotate( 45deg );
      -ms-transform:     rotate( 45deg );
      -o-transform:      rotate( 45deg );
      -webkit-transform: rotate( 45deg );
  width:  20px;
}
#radio1-label {
  border-radius: 10px 0px 0px 10px;
}
#radio2-label {
  border-radius: 0px 10px 10px 0px;
}


/* radiobutton */
.list-group-item {
  user-select: none;
  padding-left: 50px;
  padding-right: 50px;
  min-width: 15vw;
}
.list-group-item:last-child {
  border-radius: 0 0 1rem 1rem;
}
.list-group-item.both {
  border-radius: 1rem;
}
.condition {
  float: right;
  color: #6c757d;
  font-size: 10pt;
  line-height: 18pt;
  padding-left: 20px;
}
.access-glyph {
  width: 15px;
  float: right;
  position: relative;
  top: 5px;
  left: 20px;
}
input[type="radio"] {
  display: none;
}
input[type="radio"] + .list-group-item {
  cursor: pointer;
}
input[type="radio"]:checked + .list-group-item {
  background-color: #0275D8;
  color: #fff;
}
input[type="radio"]:checked + .list-group-item .condition {
  color: #fff;
}
input[type="radio"]:checked + .list-group-item:before {
  color: inherit;
}

/* Loading animation */
#animation {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: rgba(0,0,0,0.9);
  z-index: 9;
}
#animation canvas {
  margin-top: 150px;
}
#animation .text {
  position: absolute;
  text-align: center;
  top: 20vh;
  margin-left: -100px;
  z-index: 10;
  overflow: hidden;
  white-space: nowrap;
}
#animation .text .lead {
  color: #ccc;
}
.run-text {
  text-align: left;
  font-family: monospace;
  font-size: 1.8rem;
  /* Typewriter animation */
  border-right: .15rem solid white;
  letter-spacing: .2rem;
  animation: typing 2s steps(16, end),
    blink-caret .75s step-end infinite;
}
  /* Typing effect */
  @keyframes typing {
    from { width: 0 }
    to { width: 255px }
  }
  /* The typewriter cursor effect */
  @keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white; }
  }

/* Media queries */
@media (max-width: 1480px) {
}
@media (max-width: 1270px) {
  .form-row.selection {
    flex-wrap: wrap;
  }
}
@media (max-width: 992px) {
}
@media (max-width: 768px) {
}
@media (max-width: 576px) {
}
@media (max-width: 533px) {
}
@media (max-width: 485px) {
}
