/* Search file */
html {
  background-color: black;
}

body {
  display: block;
}

#bth a {
  text-decoration: none;
}
#bth a:hover {
  text-decoration: underline;
}

#urllink {
  text-decoration: none; 
  color: green;
} 

#urllink:hover {
  text-decoration: underline; 
  color: lightgreen;
}

#verep {
  text-decoration: none;
  background-color: unset;
  border: none;
  font-size: initial;
  cursor: pointer;
  color: #696666;
}

#verep:hover {
  text-decoration: underline;
}

.query-box li {
  margin-left: 13px;
  color: white; 
  font-size: 14px;
}

.blackflex {
  display: flex;
}

.infobox {
  color: white;
  position: absolute;
  padding: 3px;
  display: inline-block;
  right: 0;
  margin-inline: auto;
  width: fit-content;
}

.infobox-det {
  color: black;
  margin: 0 auto;
}

.infobox-det p {
  padding: 10px;
  margin: 0;
  text-align: justify;
  font-size: 15px;
  line-height: 15px;
}

.infobox-det a {
  text-decoration: none;
}

.infobox-det a:hover {
  text-decoration: underline;
}

.infobox-sum {
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 2px;
  text-align: center;
}

.js-caution {
  margin-right: 115px;
}

.js-det {
  background-color: yellow;
  border: solid white 2px;
  max-width: 400px;
}

.js-sum {
  animation: blink 2s linear infinite, color 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes color {
  80% {
    background-color: red;
    color: white;
  }
}

.searchhelp {
  margin-right: 4px;
}

.sh-det {
  background-color: gray;
  border: solid #313153 2px;
  max-width: 400px;
  min-width: 100px;
}

.sh-det p {
  color: white;
}

.sh-det a {
  color: lightblue;
}

.sh-libox {
  margin: 0 auto;
  color: white;
  list-style: none;
  font-size: 14px;
  width: 90%;
}

.sh-libox li {
  margin-bottom: 15px;
  text-align: justify;
}

.sh-sum {
  cursor: pointer;
  list-style: none;
  user-select: none;
  padding: 2px;
  color: white;
  text-align: center;
}

.sh-sum {
  color: white;
}

.sh-sum:hover {
  color: black;
}

.darklexika {
  margin-right: auto;
}

.darklexika img {
  float: right; 
  border: black; 
  border-style: dotted;
  margin-top: 20px;
}

.darklexika h1 {
  line-height: 30px;
  margin-top: 33px;
}

.dl-i {
  font-size: 12px; 
  background-color: orange; 
  overflow: hidden; 
  display: inherit; 
  color: black; 
  text-align: center;
  padding: 3px;
}

.dl-after-i {
  padding: 5px;
  color: white;
  background-color: gray;
}

.dl-after-i p {
  overflow: hidden;
  height: 130px;
}

.ref-darklex {
  line-height: 0;
  font-size: 11px;
}

.ref-darklex a {
  text-decoration: none;
  color: lightblue;
}

.ref-darklex a:hover {
  text-decoration: underline;
}

.darkglossary {
  color: white; 
  background-color: #121253; 
  display: block; 
  overflow-x: scroll; 
  overflow-y: hidden; 
  padding: 0; 
  margin: 0; 
  white-space: nowrap; 
  height: 30px; 
  margin-bottom: 5px;
}

.dg-inside-i {
  background-color: orange; 
  color: black; 
  font-size: 13px; 
  overflow: hidden; 
  padding: 3px;
}

.left-side a {
  word-break: break-all;
}

.nores-sugges {
  color: yellow; 
  margin-left: 40px;
}

@media only screen and (max-width: 800px) { /* Mobile view */
  .left-side {
    width: 100%;
  }

  .right-side {
    float: left;
    width: 100%;
    height: auto;
    overflow: auto;
  }
              
  .darkglossary {
    width: 100%;
  }

  .darklexika {
    width: 100%;
  }

  .right-side img {
    height: 75px;
    width: 75px;
  }
  .right-side p {
    height: 95px;
    overflow: auto;
  }

  .query-box li {
    width: 80%;
  }
  .query-box p {
    width: 80%;
  }

  .blackflex {
    flex-direction: column;
  }

  .hrafterflex {
    margin-top: 43px;
  }

  .js-caution {
    margin-right: 4px;
    z-index: 1;
    right: 0;
  }

  .searchhelp {
    margin-top: 40px;
  }

  .do {
    left: unset;
    right: unset;
    margin-left: unset;
    margin-top: 40px;
  }

  .dl-after-i p {
    overflow: scroll;
  }
}


@media only screen and (min-width: 800px) { /* Desktop view */
  .left-side {
    float: left;
    max-width: 55%;
  }

  .right-side {
    float: right;
    max-width: 40%;
  }

  .query-box hr { 
    margin-left: 0;
  }
  .darkglossary {
    width: 55%;
  }
  .darklexika {
    max-width: 520px;
  }
  .dl-i-before {
    max-width: 530px;
  }

  .dl-after-i p:hover {
    height: 100%;
  }
}

/* End of search file section */