/* GENERAL */
html {
  overflow-y: scroll;
  background: #FFF;
}
header, main, #no-results {
  max-width: 1000px;
  margin: 0 auto;
}
main {
  min-height: 360px;
}

.clear:after {
  content: '';
  display: table;
  clear: both;
}



/* INPUT */

.ais-search-box{
    max-width: inherit !important;
}


.ais-search-box--input{
font-size: 22px;
  font-weight: 100;
  width: 95%;
  margin-left: 0px;
  padding: 10px 0 6px;
  border: none;
  border-bottom: 1px solid #eee;
    
}




#search-input input, #search-input input:focus {
  transition: border-color .3s ease-in;
  outline: 0;
}

#search-input input:focus {
  border-color: #2f6d77;
}


#search-input input::-webkit-input-placeholder, #search-input input:-moz-placeholder, #search-input input:-moz-placeholder, #search-input input:-ms-input-placeholder {
  font-weight: 100;
  color: #999;
}

#search-input-icon {
  position: relative;
}

#search-input-icon:before {
  position: absolute;
  right: 0;
  bottom: 15px;
  width: 20px;
  height: 20px;
  content: '';
  cursor: default;
  background: url(img/search_icon.png) no-repeat;
}

#search-input-icon.empty:before {
  cursor: pointer;
  background-image: url(img/delete_icon.png);
}

/* HITS */
#hits {
  margin: 4px 0;
  padding: 10px 0;
  border-top: 2px solid #eee;
}
.hit {
  font-size: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.hit-name {
  margin: 0;
}
.hit-image {
  display: inline-block;
  width: 16%;
  text-align: center;
}
.hit-image img {
  max-width: 100%;
  max-height: 180px;
}
.hit-content {
  font-size: 13px;
  font-weight: 300;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

.hit-content-shop{
  font-size: 13px;
  font-weight: 300;
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin-top:24px;
  margin-bottom: 12px;

}

.hit-stars {
  font-size: 17px;
  margin: 4px 0;
  color: #868686;
}

.hit-content .hit-price {
  float: right;
  margin-left: 20px;
  color: #ffffff;
  background: #bbbbbb;
  padding: 4px;
  border-radius: 3px;
  font-size: 18px;
}
.hit-content .hit-price, .hit-content .hit-name {
  font-weight: normal;
  margin-top: 0;
  color:#333;
  
}

.hit-content em {
  font-style: normal;
  color: #2f6d77;
  border-bottom: solid 1px rgba(244, 107, 91, 0.5);
}

.hit-content p {
  font-size: 13px;
    margin-bottom: 5px;
}

.hit-content a:hover{
    color: #222;
}

.results-item h1{
    margin-bottom: 5px;
}

.results-item small{
    font-weight: initial;
}

.hit-description em {
  color: inherit;
}

.type-spec{
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .5px;
    color:#999;
}

.hit-category-breadcrumb {
  margin: 5px 0 2px 0;
}

  .hit-category-breadcrumb em {
    color: inherit;
  }

.hit-content .hit-description {
  color: black;
  margin: 1px 0 10px 0;
  font-size: 16px;
}

/* PAGINATION */
.ais-pagination{
    padding-left:0px;
    width: 90%;
}

#pagination {
  margin-top: 60px;
}
#pagination ul {
  font-size: 0;
  list-style-type: none;
  text-align: center;
}
#pagination li {
  font-size: 14px;
  display: inline;
}
#pagination a {
  padding: 8px 12px;
  text-decoration: none;
  color: #000;
  border: 1px solid #eee;
}
#pagination a:hover {
  background: #f5f5f5;
}
#pagination li:first-child a {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
#pagination li:last-child a {
  border-right: 1px solid #eee;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
#pagination li.ais-pagination--item__active a {
  color: white;
  border-color: #2f6d77;
  background: #2f6d77;
}
#pagination li.ais-pagination--item__active a:hover {
  cursor: default;
}
#pagination li.ais-pagination--item__disabled a {
  cursor: not-allowed;
}
#pagination li.ais-pagination--item__disabled a:hover {
  background: none;
}

/* SORT BY */
#sort-by-wrapper {
  font-weight: 300;
  position: relative;
  float: right;
  color: #999;
}

#sort-by select {
  font-size: 16px;
  padding-right: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

#sort-by:after {
  content: "";
  display: inline-block;
  position: absolute;

  top: 8px;
  right: 0;

  width: 0;
  height: 0;

  margin-left: 2px;
  vertical-align: middle;

  color: #000;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;

  pointer-events: none;
}

/* STATS */
#stats {

}

#stats .ais-stats--time {
  font-size: 0.8em;
  color: #999;
  display:none;
}

/* FACETS */
.facet {
  margin-bottom: 24px;
  font-size: 14px;
  color: #000;
  font-family:"Roboto", "Helvetical Neue", helvetica, sans-serif;
}
.facet h5 {
  margin: 0 0 6px;
  padding: 0 0 6px;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  font-family:utopia-std-display, Times, "Times New Roman", serif;
}
.facet ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.facet li {
  margin-bottom: 3px;
}

.facet a:visited,
.facet a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Collapsable FACETS */
.ais-root__collapsible .ais-header h5:hover {
  border-color: #c5c5c5;
  transition : border 500ms ease-out;
}

.ais-root__collapsible.ais-root__collapsed .ais-header h5:hover {
  border-color: #333;
}

.ais-root__collapsible .ais-header h5:before {
  display: inline-block;
  font: normal normal normal 16px/1 FontAwesome;
  content: "\f106";
  float: right;
}

.ais-root__collapsible.ais-root__collapsed .ais-header h5:before {
  content: "\f107";
}

.ais-refinement-list--label,
.ais-hierarchical-menu--list .facet-item,
.ais-menu--link,
.ais-price-ranges--item {
  cursor: pointer;
  line-height: 1.5em;
}
.ais-hierarchical-menu--list .ais-hierarchical-menu--item {
  margin: 3px 0;
}
.ais-hierarchical-menu--link:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f105";
  padding: 0 5px 0 0;
}

.sffv_no-results{
  font-size: 13px;
  line-height: 1.2;
  padding-top: 6px;
}

.ais-refinement-list--label:hover,
.ais-refinement-list--item__active .ais-refinement-list--label,
.ais-menu--link:hover,
.ais-menu--item__active .ais-menu--link,
.ais-hierarchical-menu--list .facet-item.active:hover,
.ais-hierarchical-menu--list .facet-item.active {
  color: #2f6d77;
}
.ais-refinement-list--item__active .ais-refinement-list--label:hover,
.ais-menu--item__active .ais-menu--link:hover,
.ais-hierarchical-menu--list .facet-item.active:hover {
  color: #2f6d77;
}
.ais-refinement-list--count,
.ais-hierarchical-menu--count,
.ais-menu--count,
.ais-star-rating--count,
.ais-toggle--count {
  position: relative;
  top: 3px;
  float: right;
  color: #999;
}

#type.facet .ais-refinement-list--checkbox {
  display: none;
}

/* NO RESULTS */
.no-results #pagination, .no-results #sort-by, .no-results #stats, .no-results #facets {
  display: none;
}
#no-results-message {
  text-align: center;
}
#no-results-message p {
  font-size: 28px;
  font-weight: 100;
}
#no-results-message ul {
  list-style-type: none;
}
#no-results-message li {
  font-size: 12px;
  position: relative;
  display: inline-block;
  margin: 4px 2px;
  padding: 4px 28px 4px 8px;
  color: #999;
  border: 1px solid #ddd;
  border-radius: 12px;
}
#no-results-message li span.value {
  font-weight: bold;
  color: #000;
}
#no-results-message li a.remove img {
  position: absolute;
  top: 3px;
  right: 5px;
  float: right;
  width: 17px;
  height: 17px;
  opacity: .5;
}
#no-results-message li a.remove:hover img {
  opacity: 1;
}

#clear-all{
    width:50%;
    display: inline-block;    
}


a.clear-all {
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  margin: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: black;
  border: 2px solid #ddd;
  border-radius: 4px;
  width:100%;
    float:left;
}

a.clear-all:hover {
  transition: border-color .3s ease-in;
  border-color: #999;
}

/* SLIDER */
.ais-range-slider--target {
  margin: 40px 30px 50px 0;
  font-size: 13px;
}

.ais-range-slider--connect {
  background: #2f6d77;
}

.ais-range-slider--handle {
  border-color: #2f6d77;
}

.ais-body.ais-range-slider--body {
  left: 10px;
  position: relative;
}

/* Star Rating */
.ais-star-rating--star,
.ais-star-rating--star__empty {
  display: inline-block;
  width: 1em;
  height: 1em
}

.ais-star-rating--item__active {

}

.ais-star-rating--star:before {
  content: '\2605';
  color: #FBAE00
}

.ais-star-rating--star__empty:before {
  content: '\2606';
  color: #FBAE00
}

.ais-star-rating--link__disabled .ais-star-rating--star:before,.ais-star-rating--link__disabled .ais-star-rating--star__empty:before {
  color: #C9C9C9
}


/* Price Ranges */
.ais-price-ranges--form {
  margin-top: 8px;
}
  .ais-price-ranges--currency {
    display: inline-block;
    margin-right: 4px;
  }

  .ais-price-ranges--input {
    display: inline-block;
    width: 50px;
    border-radius: 2px;
    border: solid 1px #ccc;
    font-weight: normal;
    font-size: 15px;
  }

  .ais-price-ranges--button {
    padding: 4px 7px;
    display: inline-block;
    margin: 0 0 0 6px;
  }

/* Toggle */
.ais-toggle--label {
  cursor: pointer;
}

/* RefinementList ShowMore */
.ais-show-more {
  font-weight: bold;
  opacity: .7;
  padding-left: 4px;
  position: relative;
  line-height: 25px;
  font-size: .9em;
}
.ais-show-more:hover,
.ais-show-more:focus {
  opacity: 1;
}
.ais-show-more:before {
  font-family: FontAwesome;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: inherit;
  display: inline-block;
  position: relative;
  content: '';
  margin: 0 5px 0 0;
}

.ais-show-more__inactive:before {
  content: "\f0fe";
}

.ais-show-more__active:before {
  content: "\f146";
}

/* Active filters */
.ais-current-refined-values {
  position: relative;
}

.ais-clear-all--body{
    padding: 10px;
    text-align: center;
    border: 1px solid #ececec99;
    border-radius: 3px;
    background-color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: .5px;
    
}


/* FOOTER */
/*footer {
  font-size: 14px;
  margin-top: 200px;
  margin-bottom: 15px;
  text-align: center;
}
footer a {
  text-decoration: none;
  color: #2f6d77;
}
footer a:hover {
  text-decoration: underline;
  color: #2f6d77;
}*/

/* OVERRIDES FOR ALGOLIA CTG */

.sbx-sffv {
    left: 0px !important;
    margin-bottom: 15px;
}

.ais-search-box--input {
    font-size: 22px;
    font-weight: 100;
    width: 85%;
    margin-left: 0px;
    padding: 0px;
    border: none;
    border-bottom: 1px solid #eee;
    
}

.hit-name {
  font-size: 20px;
}

.ais-refinement-list--label {
  display: block;
}

#search-block {
  width: 90%;
  margin: 0 auto;
}

.ais-search-box--reset {
  display:inline-block !important;
    max-width: 30px;
    background: transparent;
    line-height: 0px;
    border-radius: 50%;
    padding: 5px 15px 5px 0px;
    float:right;
    
}

.ais-search-box--magnifier {
  display: none;
}

#search-input-icon {
  display: none;
}

#filter-column h4{
    margin-top:0px;
    margin-bottom:35px;
}

.article-title-search{
    width:90% !impportant;
}

.product-image{
    text-align: center;
}

.hidden-md{
    display:block;
    padding: 10px;
    text-align: center;
    border: 1px solid #ececec99;
    border-radius: 3px;
    background-color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: .5px;
    width: 90%;
    margin:0 auto;
    margin-bottom: 30px;
}

.hidden-md-two{
    display:inline-block;
    padding: 10px;
    text-align: center;
    border: 1px solid #ececec99;
    border-radius: 3px;
    background-color: #f5f5f5;
    text-transform: uppercase;
    letter-spacing: .5px;
    width: 45%;
    margin: 0 auto;
    margin-bottom: 30px;
    float: right;
}


.navbar-collapse{
    width:100%;
}

.sec-sm{
    padding-top: 20px;
}

.hidden-md-img{
    display:none;
}




 /*==========  Mobile First  ==========*/

    /* Custom, iPhone Retina */ 
    @media only screen and (min-width : 320px) {

        
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {
        .ais-search-box--input {
            width: 95%;
        }
        
        .ais-search-box--input {
          

        }
        
        .sec-sm{
            padding-top: 40px;
        }
        
        #clear-all{
            width:100%;
            display: block;    
        }

        
    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {
        .article-title-search{
            width:90% !impportant;
        }
        
        .hidden-md, .hidden-md-two{
            display:none;
        }
        
        .navbar-collapse{
            width:30%;
        }
        
        .col-sm-9 {
            width: 70%;
        }
        
        a.clear-all {
          width:100%;
            float:none;
        }
        
        .ais-pagination{
            width: 100%;
        }
        


        
    }

    /* Medium Devices, Desktops */
    @media only screen and (min-width : 992px) {
        .article-title-search{
            width:90% !impportant;
        }
        
        #search-block{
            width: 90%;
        }
        
        .navbar-collapse{
            width:25%;
        }
        
        .col-sm-9 {
            width: 75%;
        }
        
        .hit-content {
          width: 81%;
          margin-left: 3%;

        }
        
        .hidden-md-img{
            display: inline-block;
        }
        
    }

    /* Large Devices, Wide Screens */
    @media only screen and (min-width : 1200px) {

    }



