/*------------------------------------*\
  CONTENTS
\*------------------------------------*/
/**
 * CONTENTS............You’re reading it!
 * SEARCH-FORM APACHESOLR.........
 * SEARCH-RESULT..................
 * FACET..........................
 * PAGER..........................
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

#search-api-page-search-form {
  background-color: #edecec;
  padding: 10px;
}

#search-api-page-search-form input.form-submit {
  background: url('images/search.svg') 5px 5px no-repeat;
  border: 1px solid #CCC;
  border-radius: 0;
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
}

#search-api-page-search-form .form-type-textfield label {
  display: none;
}

#search-api-page-search-form .form-type-textfield {
  display: inline;
}


/*------------------------------------*\
  ==SEARCH-FORM APACHESOLR
\*------------------------------------*/

.search-form {
  margin-bottom: 0;
}

.search-form .container-inline {
  background-color: #edecec;
  padding: 10px;
}

.search-form .form-item-retain-filters label {
  font-weight: 100;
}

.search-form .form-item-keys label {
  display: none;
}

.search-form .form-item-keys input {
  color: #666666;
  font-family: "open sans", "sans-serif";
  font-weight: normal;
  width: 300px;
  padding: 5px;
}

.search-form .form-item-keys input:focus {
  background-color: #FFF;
}

.search-form input.form-submit {
  background: url('images/search.svg') 5px 5px no-repeat;
  border: 1px solid #CCC;
  border-radius: 0;
  width: 27px;
  height: 27px;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
}

.spelling-suggestions {
  background-color: #edecec;
  padding: 10px;
}

.spelling-suggestions dt, .spelling-suggestions dd {
  display: inline-block;
}

.spelling-suggestions dd {
  margin-left: 10px;
}

.spelling-suggestions strong {
  font-weight: 100;
}


/*------------------------------------*\
  ==SEARCH-RESULT
\*------------------------------------*/

.page-search-site .search-results__title {
  border-bottom: 1px solid #666;
  padding-bottom: 5px;
  margin:20px 0 20px 0;
}

.page-search-site .search-results__title h2 {
  color: #666666;
  font-family: "open sans", "sans-serif";
  font-size: 1.2em;
  font-weight: normal;
  text-transform: uppercase;
  display: inline;
}

.page-search-site .search-results__count {
  font-size: 2em;
  font-weight: bold;
}

.page-search-site #content .search-result h3 a {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 1em;
}

.page-search-site .search-result h3 {
  margin-bottom: 0;
}

.solr-nb-results span{
  font-size: 4em;
}

.search-results strong {
  color: #666;
}

.result__info {
  font-size: 0.8em;
}

.search-results .search-snippet-info {
  padding-left: 0;
}

.search-results li {
  margin-bottom: 2em;
}

.search-result__site {
  color: #22bbea;
}

.search-result__info {
  color: #999;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.item-list-pager .pager-ellipsis {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-weight: bold;
  cursor: default;
}

/*------------------------------------*\
  ==FACET
\*------------------------------------*/

.facetapi-facetapi-links a:before,
.facetapi-facetapi-links a.facetapi-active:before {
  content: "";
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  left: 0;
  top: 0;
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  z-index: 1;
  transition: background-color 2s ease;
}

.facetapi-facetapi-links a:hover:before,
.facetapi-facetapi-links a.facetapi-active:before {
  transition: background-color 0.5s ease;
  background-color: #0071b9;
}

.facetapi-facetapi-links a:hover:after,
.facetapi-facetapi-links a.facetapi-active:after {
  transition: background-color 0.5s ease;
  content: "\f00c";
  position: absolute;
  overflow: hidden;
  left: 2px;
  top: 2px;
  display: block;
  width: 16px;
  height: 16px;
  font-family: 'fontawesome';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  color: #fff;
  z-index: 2;
}

.facetapi-facetapi-links ul {
  padding: 0;
}

.facetapi-facetapi-links a {
  padding-left: 36px;
  text-decoration: none;
}

.facetapi-facetapi-links li.leaf {
  list-style: none;
}

.facetapi-facetapi-links li {
  position: relative;
}

/*------------------------------------*\
  ==PAGER
\*------------------------------------*/

.item-list-pager .pager li {
  padding: 0;
}

.item-list-pager .pager li+li {
  margin-left: 2px;
}

.item-list-pager a,
.item-list-pager li.pager-current {
  display: inline-block;
  color: #666;
  line-height:24px;
  font-weight: normal;
  text-align: center;
  border: 1px solid #BBB;
  min-width: 14px;
  padding: 0 7px;
  margin: 0;
  border-radius: 3px;
  transition: background-color 1s ease;
}

.item-list-pager li.pager-current {
  color: #FFF;
  font-family: "open sans", "sans-serif";
  font-size: 10px;
  line-height: 16px;
}

.page-search-site #content .item-list-pager a:hover {
  text-decoration: none;
  background: #0071b9;
  color: #FFF;
  transition: background-color 0.5s ease;
}

.item-list-pager .pager-current {
  background: #666;
}