/*Zoom Search CSS Styles*/
.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: #1d2e38;
  padding-top: 3px;
}
.context {
  font-size: 100%;
}
.infoline {
  font-size: 80%;
  font-style: normal;
  color: #808080;
}

.zoom_searchform {
  font-size: 100%;
}
.zoom_results_per_page {
  font-size: 80%;
  margin-left: 10px;
  position: relative;
  bottom: 2px;
}

.zoom_search_hint {
  margin-top: -1.1em;
  list-style-position: inside;
  padding-left: 10px;
}

.zoom_match {
  font-size: 80%;
}
.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;
}
.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 ul { display: inline; margin: 0px; padding: 5px 0 10px 0; float: left; }
            .cat_summary li { display: inline; margin-left: 15px; list-style-type: none; width: 290px; float: left; } */
.cat_summary {
  display: none;
}

.summary {
  margin-bottom: 15px;
}

input.zoom_button {
}
input.zoom_searchbox {
}

.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;
  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;
}

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;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    padding-right: 18px;
  }
}

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);
}

.wh_search_page .wh_search_textfield,
.wh_terms_page .wh_search_textfield {
  height: 25px;
}

.zoom_categories ul {
  margin-bottom: 15px;
}

.wh_search_page .wh_search_input {
  width: 50vw;
  padding-bottom: 0;
}

/*Flip grid orientation so results wrap around alphabetically*/

#search_results ul {
  display: flex;
  height: 100px;
  flex-flow: column wrap;
}

#search_results li {
  width: 270px;
}

.searchheading {
  display: flex;
  width: 100%;
}

#zoom_searchbox {
  min-width: 500px;
  color: #9b9b9b;
  border-radius: 5px;
  font-size: 1rem;
  height: 1.8em;
  border-radius: 1.25rem;
  padding: 0 0.8em;
  border: solid 1px #ccc;
}

.zoom_button {
  display: none;
}

@media only screen and (max-width: 750px) {
  .zoom_results_per_page {
    display: none;
  }
  .zoom_search_hint {
    margin-top: 0.5em;
  }
  .wh_search_page .wh_search_input {
    min-width: 100% !important;
  }
  #search_results ul {
    height: auto;
  }
  #zoom_searchbox {
    min-width: 100%;
  }
}
