#pathway_gallery-search_input {
  border: 2px solid rgb(56, 113, 220);
  border-right: none;
  border-radius: 10px 0 0 10px;
  height: 40px;
  padding-left: 12px;
  padding-right: 12px;
}

#pathway_gallery-search_input:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

#pathway_gallery-search_input-label {
  display: none;
}

.search-history {
  display: none;
  border: 2px solid #3871dc;
  border-top: none;
  z-index: 200;
  position: absolute;
  width: calc(100% + 2px);
  top: 32px;
  border-radius: 0 0 10px 10px;
  background: white;
  box-sizing: border-box;
}

.search-history > li {
  list-style-type: none;
  width: 100%;
  height: 100%;
  display: block;
  padding: 5px 12px;
  cursor: pointer;
}

.search-history > li:hover {
  background-color: aliceblue;
}

.search-history > li:first-child {
  margin-top: 6px;
}

.search-history > li:last-child {
  margin-bottom: 6px;
}

#pathway_gallery-search_container {
  position: relative;
}

.pathway_gallery_search_result_img {
  border-radius: 21px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 10px;
  background: white;
}

.pathway_gallery_img_container {
  position: relative;
}

.pathway_gallery_img_container:hover .pathway_gallery_img_detail {
  display: block;
}

.pathway_gallery_img_detail {
  display: none;
  position: absolute; 
  bottom: 0; left: 0; 
  width: 100%;
  padding: 40px 20px 10px;
  color: white;
  border-radius: 0px 0px 15px 15px;
  background: linear-gradient(180deg, transparent, #000);
  cursor: pointer;
}

.pathway_gallery_img_desc {
  color: white;
}

.pathway_gallery_img_download {
  text-decoration: none;
  background: hsla(0, 0%, 100%, .15);
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
}

.pathway_gallery_img_download:hover {
  color: white;
  background: hsla(0, 0%, 100%, .2);
}

.pathway_gallery_img_download_bigbtn {
  padding: 8px 15px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  color: white;
  font-size: 17px; 
  cursor: pointer;
  background: #0056b3;
}

.pathway_gallery_img_download_bigbtn:hover {
  background: #007BFF;
}

.fullscreen_close_btn {
  display: flex;
  justify-content: flex-end;
  color: white;
  padding: 6px 10px;
  border: .5px solid hsla(0, 0%, 100%, .2);
  background: #27282e;
  border-radius: 5px;
  cursor: pointer;
}

.search-btn {
  background-color: rgb(56, 113, 220);
  color: white;
  border-radius: 0 10px 10px 0;
  border: none;
  height: 40px;
  padding: 6px 16px !important;
}

.search-btn:hover {
  background-color: rgb(44, 90, 176);
  cursor: pointer;
  color: white;
}

.search-btn:active {
  background-color: rgb(44, 90, 176);
  cursor: pointer;
  color: white;
}

.search-btn.active {
  background-color: rgb(44, 90, 176);
  cursor: pointer;
  color: white;
}

.search-btn:focus {
  background-color: rgb(44, 90, 176);
  cursor: pointer;
  color: white;
}

.fullscreen-keywords-category {
  text-transform: uppercase;
  color: rgb(255, 179, 87);
  margin-bottom: 16px;
}

.fullscreen-keywords-container {
  padding: 10px 0px;
  margin-top: 20px;
  position: relative;
  border: 1px solid rgba(204, 204, 220, 0.07);
  padding: 10px;
  background: #22252b;
}

.fullscreen-keywords-container-border1 {
  display: block;
  content: " ";
  position: absolute;
  left: 0px;
  right: 0px;
  height: 2px;
  top: 0px;
  background-image: linear-gradient(to right, rgb(240, 90, 40) 0%, rgb(251, 202, 10) 100%);
}

.fullscreen-keywords-container-border2 {
  display: block;
  content: " ";
  position: absolute;
  left: 0px;
  right: 0px;
  height: 2px;
  top: 0px;
  background-image: linear-gradient(to right, rgb(81, 130, 204) 0%, rgb(36, 91, 175) 100%);
}

.fullscreen-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fullscreen-keywords > div {
  color: hsla(0, 0%, 100%, 0.6);
  line-height: 1;
  border: .5px solid hsla(0, 0%, 100%, .2);
  border-radius: 6px;
  padding: 6px;
  font-weight: 600;
}

.fullscreen-img-desc {
  color: white; 
  font-family: '-apple-system,Arial,Helvetica,sans-serif';
  line-height: 1.5;
  font-weight: 600;
  margin-top: 3px;
}

#fullscreen-doi > a {
  text-decoration: underline;
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: .0625rem;
  text-underline-offset: .25rem;
}