.ssu-search {
  font-size: 17px;
}

/** Search Box **/

.ssu-search-box {
  text-align: center;   
}
.ssu-search-box form {
  position: relative;
  z-index: 1;
}
.ssu-search-box .ssu-query {
  width: 100%;
}
.ssu-search-box .ui-helper-hidden-accessible {
  border:0;
  clip:rect(0 0 0 0);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
}
@media screen and (min-width: 768px) {
  .ssu-search-box {
    text-align: initial;
  }
  .ssu-search-box .search-title {
    margin: 0;
    padding: 10px 0;
  }
}

/** Suggestions **/

.ssu-search-form form ul {
  border: 1px solid #ccc;
  font-size: .9em;
  list-style: none;
  padding: 0;
}
.ssu-search-form form ul li {
  line-height: 1.8em;
  padding: 0;
}
.ssu-search-form ul li.ui-autocomplete-category {
  background-color: #333;
  color: #FFF;
  font-weight: 700;
  line-height: 2.7em;
  padding: 0 1em;
}
.ssu-search-form form ul li a {
  border: 1px solid transparent;
  display: block;
  padding: 0 1em;
}
.ssu-search-form form ul li .matched {
  font-weight: 700;
}
.ssu-search-form form ul li .action {
  display: none;
}
.ssu-region-search .results-filter ul {
  margin: 0 0 2em;
  padding: 0;
  list-style: none;
}
.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/** Filters **/

/** Clumsy way to hide filters **/
li:has(> span) {
display:none;
}
/** Lifted from https://www.w3schools.com/howto/howto_css_custom_checkbox.asp **/

.checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox .filter-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  box-shadow: -1px 1px 4px 1px rgba(0,0,0,0.2);
  border: 2px solid #333;
}
.checkbox:hover input ~ span .filter-checkmark {
  background-color: #ccc;
}
.checkbox input:checked ~ span .filter-checkmark {
  background-color: #333;
}
.checkbox .filter-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox input:checked ~ span .filter-checkmark:after {
  display: block;
}
.checkbox .filter-checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
@media screen and (min-width: 768px) {
  .ssu-region-search .results-filter ul li {
    display: inline-block;
    max-width: 300px;
    min-width: 300px;
    width: 300px;
  }
}

/** Query Box **/

input.ssu-query {
  border-radius: 6px;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-sizing: border-box !important;
  display: inline-block;
  height: 2.7em;
  padding-left: 25px !important;
  padding-right: 50px !important;
  transition: border linear .2s,box-shadow linear .2s;
  -webkit-appearance: textfield;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -webkit-transition: border linear .2s,box-shadow linear .2s;
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  -moz-box-sizing: border-box;
  -moz-transition: border linear .2s,box-shadow linear .2s;
  -o-transition: border linear .2s,box-shadow linear .2s;
}
input.ssu-query:focus {
  border-color: rgba(82,168,236,.8);
  border-style: dotted !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(82,168,236,.6);
}

/** Query Box Button **/

.icon-search {
  background-image: url('../images/search-orange.png');
  background-size: 1.7em;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  height: 2.7em;
  width: 2.7em;
}
.icon-search::before {
  display: inline-block;
}
.mb-acc, .mb-acc * {
  position: absolute;
  color: transparent;
}
.btn-link {
  border: 0;
  border-radius: 0;
  cursor: pointer;
  padding: 0 5px;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled] {
  background-color: transparent;
  background-image: none;
}

/** Results **/

.ssu-search .ssu-search-no-results {
}

.media {
  border-top: 0;
  border-bottom: 1px dotted #eee;
  padding: 1em 0 0 0;
  margin-top: 0;
  clear: both;
}
.media-heading {
  font-weight: 400;
  line-height: 1.5em;
  margin: 0;
}
.mb-collection {
  background-color: #333;
  border-radius: .25em;
  color: #fff;
  display: inline-block;
  font-size: .7em;
  font-weight: 700;
  margin-right: 10px;
  padding: 0 .8em;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
}
.mb-href {
  color: #888;
  display: block;
  font-size: .8em;
  font-style: normal;
  line-height: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 350px;
  white-space: nowrap;
  display: none;
}
.mb-href:hover {
  overflow: visible;
  width: auto;
  white-space: normal;
  text-overflow: clip;
}
.media-body-content {
  margin-bottom: 1em;
}
.mb-content {
  margin: 0;
  padding-left: 0;
}
.media-heading em,
.mb-content em {
  font-style: normal;
  font-weight: 700;
}
.mb-meta-description {
  border-left: 5px solid #eee;
  font-style: initial;
  margin: 0;
  padding: .3em 0 .3em 1.3em;
}
.mb-meta-eventdate {
  font-style: normal;
}
.mb-extension {
  font-weight: 700;
  text-transform: uppercase;
}
.mb-extension-html {
  display: none;
}
.mb-non-matched-terms {
  margin: .5em 0 1em;
}
.mb-non-matched-terms ul,
.main-content .mb-non-matched-terms ul {
  margin: 0;
  padding: 0;
  display: inline;
}
.mb-non-matched-terms ul::after {
  content: '.';
}
.mb-non-matched-terms li {
  list-style: none;
  display: inline;
}
.media .pull-left {
  float: left;
  margin-right: 10px;
}
