/*Zoom Search CSS Styles*/

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

body{
    font-family: 'NotoSans-Regular', Arial, sans-serif;
    font-size: 14px;
}

.highlight {
  background: #ffff40;
}
.searchheading {
  font-size: 130%;
  font-weight: bold;
}
.summary {
  font-size: 80%;
  font-style: italic;
}
.suggestion {
  font-size: 100%;
}
.results {
  font-size: 100%;
}
.category {
  color: #999999;
}
.sorting {
  text-align: right;
}

.result_title {
  font-size: 100%;
}
.description {
  font-size: 100%;
  color: #4D4D4D;
  padding-top: 3px;
}
.context {
  font-size: 100%;
}
.infoline {
  font-size: 80%;
  font-style: normal;
  color: #808080;
}

.zoom_searchform {
  font-size: 100%;
}

#searchForm {
  all: unset;
}

.zoom_results_per_page {
  font-size: 80%;
  left: 52vw;
  position: relative;
  bottom: 9em;
}

#zoom_per_page {
  margin-left: 3px;
}

/*@-moz-document url-prefix() {
   .zoom_results_per_page {
    top: 104px;
    right: -70px;
  }

}*/

.zoom_search_hint {
  margin-top: -1.1em;
  list-style-position: inside;
  padding-left: 10px;
}

.zoom_match {
  font-size: 80%;
  display: block;
  margin-top: -40px;
}
.zoom_match input[type="radio"] {
  vertical-align: bottom;
}

.zoom_categories {
  font-size: 100%;
}

/*span.zoom_categories::before {content: " - Remember this";}*/
.zoom_categories ul {
  display: inline;
  margin: 0px;
  padding: 5px 0px 0px 0px;
  float: left;
}

/*Override user agent style sheet*/
.zoom_metaform ul { 
  list-style-type: none; 
}

.zoom_categories li {
  display: inline;
  margin-left: 15px;
  list-style-type: none;
  width: 250px;
  float: left;
}
.zoom_categories ul li input[type="checkbox"] {
  margin-right: 5px;
}

.cat_summary {
  display: none;
}

.summary {
  margin-bottom: 15px;
}

.result_image {
  float: left;
  display: block;
}
.result_image img {
  margin: 10px;
  width: 80px;
  border: 0px;
}

.result_block,
.result_altblock {
  clear: left;
  padding-top: 12px;
  padding-bottom: 12px;
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: silver;
}

.result_pages {
  font-size: 100%;
  padding-bottom: 10px;
  padding-top: 15px;
}
.result_pagescount {
  font-size: 100%;
  margin-bottom: 15px;
}

.searchtime {
  font-size: 80%;
  padding-bottom: 5px;
}

.recommended {
  background: #dfffbf;
  border-top: 1px dotted #808080;
  border-bottom: 1px dotted #808080;
  margin-top: 15px;
  margin-bottom: 15px;
}
.recommended_heading {
  float: right;
  font-weight: bold;
}
.recommend_block {
  margin-top: 15px;
  margin-bottom: 15px;
  clear: left;
}
.recommend_title {
  font-size: 100%;
}
.recommend_description {
  font-size: 100%;
  color: #008000;
}
.recommend_infoline {
  font-size: 80%;
  font-style: normal;
  color: #808080;
}
.recommend_image {
  float: left;
  display: block;
}
.recommend_image img {
  margin: 10px;
  width: 80px;
  border: 0px;
}

.wh_search_page > .wh_search_input {
  padding: 0px;
  margin: 0px;
}

.zoom_search_page {
  padding: 1.5rem 2rem 0rem 2rem;
}

.zoom_match input[type="radio"] {
  margin-top: 0px;
  margin-left: 5px;
  margin-right: 3px;
  margin-bottom: 3px;
  background-color: #1d2e38;
}

.result_title p {
  display: inline-block;
  margin-bottom: 0px;
  font-size: 14px;
}

.infoline {
  display: none;
}

.zoom_categories label {
  font-weight: normal;
}

.contain {
  display: block;
  margin-bottom: 0px;
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.contain input {
  position: absolute;
  opacity: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 12px;
  width: 12px;
  background-color: white;
  border: 1px solid #afb4b8;
  margin: 1px 0px 5px 0px;
}

/* When the checkbox is checked, add a blue background */
.contain input:checked ~ .checkmark {
  background-color: #1d2e38;
  border: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.contain input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.contain .checkmark:after {
  left: 4px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.wh_search_page .container {
  padding-top: 0px;
  margin-top: 0px;
}

.wh_search_page #searchForm > div {
  width: 100% !important;
  margin: 0 !important;
}

.zoom_per_page {
  border-color: red;
}

.wh_search_page .wh_search_input {
  display: inline-block;
  width: 30%;
  padding-bottom: 0 !important;
  background: transparent;
}

input[type="text"],
select {
  width: 5.5em;
  margin: 0;
  height: 25px;
  border-color: hsla(210, 54%, 20%, 0.15) hsla(210, 54%, 20%, 0.17)
    hsla(210, 54%, 20%, 0.2);
  border-radius: 2px 0 0 2px;
  border-spacing: 0;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 0 hsla(210, 65%, 9%, 0.02) inset,
    0 0 2px hsla(210, 65%, 9%, 0.1) inset, 0 1px 0 hsla(0, 0%, 100%, 0.2);
  outline: none;
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

select {
  -webkit-appearance: menulist;
  box-sizing: border-box;
  align-items: center;
  white-space: pre;
  -webkit-rtl-ordering: logical;
  color: black;
  cursor: default;
  background-color: #ffffff;
  border-color: hsla(210, 54%, 20%, 0.15) hsla(210, 54%, 20%, 0.17)
    hsla(210, 54%, 20%, 0.2);
  border-radius: 2px 0 0 2px;
  border-spacing: 0;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 1px 0 hsla(210, 65%, 9%, 0.02) inset,
    0 0 2px hsla(210, 65%, 9%, 0.1) inset, 0 1px 0 hsla(0, 0%, 100%, 0.2);
}


.zoom_categories ul {
  margin-bottom: 15px;
}

.wh_search_page .wh_search_input {
  left: 4.5em;
  width: 50%;
}

.wh_search_page .wh_header {
  z-index: 9999
}


/*Flip grid orientation so results wrap around alphabetically*/

#search_results ul {
  display: flex;
  height: 130px;
  flex-flow: column wrap;
  max-width: 100%;
  padding-left: 15px;
}

#search_results li {
  width: 270px;
}

.searchheading {
  display: flex;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .zoom_results_per_page {
    display: none;
  }
  .zoom_search_hint {
    margin-top: 0.5em;
  }
  .wh_search_page .wh_search_input {
    min-width: 100% !important;
    position: static;
    margin-left: 1em;
  }
  #search_results ul {
    height: auto;
  }
  .zoom_search_input {
  width: 50%;
  left: 50%;
  margin-top: 22px;
  color: #4D4D4D;
  }
  .zoom_match {
    margin-top: unset;
  }
}


#custom-search-results {
  margin-left: 40px;
}

@media only screen and (min-width: 767px) {
.zoom_search_input {
  width: 100%;
  left: 0;
  margin-top: 22px;
  color: #4D4D4D;
  }
}

.zoom_search_button {
  margin-top: 22px;
}

@media only screen and (max-width: 780px) and (min-width: 767px)  {
    .zoom_results_per_page {
    bottom: 11em;
  }
}

@media only screen and (min-width: 1620px)  {
    .wh_search_page .wh_search_input {
    left: calc((100% - 1480px)/2);
    max-width: 100%;
  }
}

  @media only screen and (min-width: 2000px)  {
    .zoom_results_per_page {
    left: 107%;
  }
}

/* Dark Theme Styles */

:root{
     --dark-theme-off-white: #F4F4F4;
     --dark-theme-light-grey: #8A8A8A;
     --dark-theme-grey: #353535;
     --dark-theme-medium-grey: #242424;
     --dark-theme-dark-grey: #121212;
 }

  body.dark-theme .description {
    color: var(--dark-theme-off-white);
  }

  body.dark-theme .zoom_search_input {
    color: var(--dark-theme-off-white);
  }

  body.dark-theme .contain input:checked ~ .checkmark {
    background-color: var(--dark-theme-grey);
  }

  body.dark-theme .checkmark {
    background-color: var(--dark-theme-off-white);
  }

  body.dark-theme .searchheading {
    font-weight: 900;
  }
