.search__admin-notice {
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
}

.search__admin-notice-wrapper {
  padding: 15px 15px 0;
  background-color: #FFFFDC;
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-search-container {
  color: #505050;
}

.product-sidebar {
  width: 250px;
  margin-bottom: 20px;
}

.mobile-filters {
  display: none;
}

#product-categories-container {
  display: inline-block;
  margin: 5px 0 0;
}

.product-categories {
  width: 100%;
  white-space: nowrap;
}

.product-categories:after {
  content: ' ';
  background-color: #ccc;
  display: block;
  height: 1px;
  margin: 0 15px 15px 0;
}

.product-categories h3,
.product-facets h3 {
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  margin: 5px 0 15px;
}

.product-categories ul {
  list-style: none;
  margin: 0;
}

div.product-facet label {
  display: flex;
}

.product-categories ul li {
  line-height: 16px;
  min-height: 29px;
  padding: 0 0 5px;
}

.product-categories a {
  color: #505050;
}

.product-categories ul.dept-submenu {
  margin-left: 25px;
  white-space: normal;
  margin-top: 10px;
}

.product-categories ul.dept-submenu>li:last-of-type {
  padding-bottom: 0;
}

li.active>a {
  font-weight: bold;
}

.facet-title {
  margin: 25px 25px 7px 0;
}

.product-facets ul {
  list-style: none;
  margin: 0;
}

.product-facets ul li {
  line-height: 16px;
  min-height: 29px;
  padding: 0 0 5px;
}

.product-facets ul li label:hover {
  color: #620000;
  text-decoration: underline;
  cursor: pointer;
}

.product-facet {
  margin-top: 5px;
}

.product-facet h4 {
  font-weight: bold;
  margin: 0 0 10px;
}

.facets-actions {
  display: none;
}

.article-search-results,
.product-search-results,
.shopping-results {
  flex: 1;
}

.product-search-results h1,
.article-search-results h1,
.shopping-results h1 {
  font-size: 24px;
  line-height: 40px;
  font-weight: normal;
  margin: 0 10px 12px 0;
  display: inline;
}

.product-search-results-count,
.article-search-results-count,
.shopping-results-count {
  padding-left: 10px;
  font-size: 14px;
  font-weight: normal;
  color: #505050;
}

.product-search-results .pages,
.article-search-results .pages,
.shopping-results .pages {
  font-size: 18px;
  margin: 20px 0;
  text-align: center;
}

.product-search-results .pages .page-numbers,
.article-search-results .pages .page-numbers,
.shopping-results .pages .page-numbers {
  padding: 5px;
}

.products-no-results,
.articles-no-results {
  font-style: italic;
  margin-top: 20px;
}

.product-search-breadcrumbs .breadcrumb-content {
  margin: 0;
}

.product-search-container,
.article-search-container,
.departments-container {
  margin: 0 25px;
}

.products-loading-spinner {
  background: url(/wp-content/themes/gfsstore.com/images/spinner-icon-0-original.gif) center no-repeat;
  background-size: 80px 80px;
  border-radius: 40px;
  height: 80px;
  width: 100%;
}

.product-box__image-link,
.product-box__image-container {
  text-align: center;
}

@media screen and (min-width: 800px) {

  .product-search-container,
  .article-search-container,
  .departments-container {
    display: -webkit-flex;
    display: flex;
  }
}

.products {
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
  -webkit-align-items: stretch;
  -webkit-align-content: flex-start;
  -webkit-flex-grow: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  flex-grow: 1;
}

.product-box {
  width: 240px;
  border: none;
  background-color: #FFF;
  margin: 5px 5px 5px 0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 8px;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  position: relative;
}

.products.products--recommendations .product-box {
  max-width: 250px;
}

.product-box:hover {
  text-decoration: none;
  -webkit-box-shadow: 4px 4px 5px -3px rgba(165, 165, 165, 0.75);
  -moz-box-shadow: 4px 4px 5px -3px rgba(165, 165, 165, 0.75);
  box-shadow: 4px 4px 5px -3px rgba(165, 165, 165, 0.75);
}

.product-box a {
  flex: 0 0 auto;
}

.product-box .product-box__tuning a {
  color: #222;
}

.search-score {
  display: inline;
}

.product-box .product-box__edit {
  float: right;
}

.product-box__favorite {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 0;
}

.type-product .product-box__favorite {
  z-index: 1;
}

.product-box__favorite_toggle {
  float: left;
  cursor: pointer;
  color: #CCC;
  border-radius: 14px;
  background-color: #FFF;
  padding: 4px;
  display: flex;
}

.product-box__favorite_toggle>div {
  display: inline-block;
  overflow: hidden;
  height: 18px;
}

.product-box__favorite_toggle.favorited {
  color: #c80000;
}

.product-box h2 {
  font-size: 16px;
  margin: 0;
  padding-bottom: 0;
}

.product-box .search-post-excerpt {
  margin: 10px 0;
}

.product-box p {
  margin: 0;
  font-size: 14px;
  color: #505050;
}

.product-box p.notice {
  color: #c80000;
  font-style: italic;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.product-box .product-box-price-container {
  display: block;
  float: right;
}

.unavailable-product p {
  text-align: center !important;
  width:100%;
}

.product-box .product-box-price-container .product-box-price {
  font-size: 30px;
  font-weight: bold;
  line-height: 30px;
  color: #505050;
}

.product-box .product-box-price-container .product-box-price .product-box-per {
  color: #505050;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  text-align: left;
}

.product-box .product-box-price-container .product-box-price-reader {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.add_to_list {
  position: relative;
}

.product-box .add_to_list {
  margin: 0;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: right;
}

.add_to_list #online-ordering {
  margin: 0 auto;
  background-color: #505050;
  padding: 10px 8px;
}

.product-box__image-container {
  position: relative;
}

.product-search-results__similar .product-box__image-container, 
.recommended-product-details .product-box__image-container {
  width: 250px;
}

.product-box__sale-wrapper {
  background-color: #cc0000;
  color: #FFF;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  width: 65%;
  font-size: 16px;
  position: absolute;
  right: -8px;
  top: 10px;
  z-index: 9999;
}

.product-box__tuning~.product-box__sale-wrapper,
.product-box__tuning~.product-box__favorite {
  top: 35px;
}

.product-box__featured-wrapper {
  background-color: #cc0000;
  color: #FFF;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  width: 65%;
  font-size: 16px;
  position: absolute;
  right: -8px;
  top: 10px;
  z-index: 9999;
}

.admin-bar .product-box__featured-wrapper {
  top: 35px;
}

.product-box__tuning+.product-box__featured-wrapper {
  top: 35px;
}

.product-box__overlay-wrapper {
  background-color: #cc0000;
  color: #FFF;
  font-weight: bold;
  padding: 5px 10px;
  text-align: center;
  max-width: 85%;
  min-width: 65%;
  font-size: 16px;
  position: absolute;
  left: -8px;
  bottom: 10px;
  z-index: 9999;
}

.articles {
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-flex-wrap: wrap;
  -webkit-align-items: stretch;
  -webkit-align-content: flex-start;
  -webkit-flex-grow: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  flex-grow: 1;
}

.article {
  display: -webkit-flex;
  -webkit-flex-direction: row;
  display: flex;
  flex-direction: row;
  padding: 25px 0;
  border-bottom: 1px solid #ccc;
  width: 100%;
}

.article-type {
  color: #AAA;
  font-weight: normal;
}

.article-picture {
  flex: 0 0 200px;
}

.article-desc h2 {
  margin-top: 0;
}

.article-excerpt-container {
  margin-bottom: 25px;
}

.article-btn-container {
  margin: 0 25px;
}

.departments {
  display: -webkit-flex;
  -webkit-flex-direction: row;
  -webkit-flex-wrap: wrap;
  -webkit-align-items: stretch;
  -webkit-align-content: flex-start;
  -webkit-flex-grow: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: flex-start;
  flex-grow: 1;
  margin: 0 20px 35px;
}

.department {
  display: -webkit-flex;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  width: 100px;
  margin: 5px;
}

.departments a:hover {
  text-decoration: none;
}

.department-title {
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.wp-post-image {
  border-radius: 6px;
}

.department-header-image {
  position: relative;
}

.department-img-caption {
  position: absolute;
  max-width: 1050px;
  bottom: 18px;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 50px;
  line-height: 50px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px #000000;
  padding-left: 25px;
}

.search-results-tabs-container {
  border-bottom: 1px solid #ccc;
  height: 50px;
  padding: 0 10px;
  margin-bottom: 25px;
}

.search-results-tabs .tab-title-outer {
  border-bottom: 1px solid #ccc;
  border-top: 4px solid #fff;
  display: inline-block;
  overflow: hidden;
  padding: 10px 0;
  text-align: center;
  vertical-align: top;
  white-space: normal;
  width: 20%;
}

.search-results-tabs .tab-title-outer .tab-title-inner {
  border-right: 1px solid #ccc;
  height: 25px;
  padding: 0 5px;
}

.search-results-tabs .tab-title-outer.active {
  border: 1px solid #ccc;
  border-bottom-color: #fff;
  border-top: 4px solid #c80000;
  margin-bottom: -1px;
  margin-left: -1px;
}

.search-results-tabs .tab-title-outer.active .tab-title-inner {
  border-right: none;
}

.search-results-tabs .tab-title-outer:last-of-type .tab-title-inner {
  border-right: none;
}

.search-results-tabs .tab-title-outer .tab-title-inner a,
.search-results-tabs .tab-title-outer .tab-title-inner a:hover {
  color: #333;
  display: block;
  height: 100%;
  text-decoration: none;
}

.search-results-tabs .tab-title-outer.active .tab-title-inner a .tab-title {
  color: #c80000;
}

.search-results-tabs .tab-title-outer .tab-title-inner .tab-title {
  font-weight: bold;
  line-height: 18px;
}

.search-results-tabs .tab-title-outer .tab-title-inner span {
  display: block;
}

.view-more-btn {
  background-color: #505050;
  border-radius: 8px;
  clear: right;
  color: #fff;
  cursor: pointer;
  text-align: center;
  height: 34px;
  width: 120px;
}

.view-more-btn a {
  color: #fff;
  text-decoration: none;
  display: block;
  height: 100%;
  padding: 5px 0;
}

.view-more-btn a:hover {
  color: #fff;
  text-decoration: none;
}

.view-more-btn:hover {
  background-color: #a00000;
}

.product-view-more-btn {
  text-align: center;
  padding: 10px 20px;
  background-color: #c80000;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;
  margin: 10px auto;
}

.product-view-more-btn:hover,
.product-view-more-btn:active,
.product-view-more-btn:focus {
  background-color: #a00000;
  padding: 10px 20px;
  margin: 10px auto;
}

.product-search-results__summary {
  overflow: hidden;
  margin-bottom: 12px;
}

.product-search-results-term {
  font-weight: bold;
  font-style: italic;
}

.product-search-results__sort {
  float: right;
  display: block;
}

.product-card__button-wrapper {
  display: flex;
  align-items: center;
  flex-flow: column;
  width: 100%;
}

.product-card__case-price-container button {
  background-color: #505050;
  border-radius: 8px;
  clear: right;
  color: #fff;
  cursor: pointer;
  margin: 0;
  padding: 0px 10px;
  text-align: center;
  height:30px
}

.product-card__bottom {
  display: flex;
  align-items: flex-end;
  flex-flow: column;
  justify-content: flex-end;
  height: 100%;
}

.product-card__bottom-case {
  align-items: normal;
}

.product-card__case-price-container {
  display:flex;
  justify-content: space-between !important;
}

.product-card__case-price-container h4 {
  font-size: 30px;
  font-weight:bold;
}

.product-card__case-price-container .qty-widget {
  margin: 0px 0 0 auto !important;
}

.search-result__brand {
  font-weight: normal;
  color: #505050;
  font-size: 14px;
  line-height: 1.4;
}

select.select--sort {
  color: #444;
  background-color: #FFF;
  border: 1px solid #CCC;
  margin: 5px 10px;
}

#main .type-page .entry .product-box a {
  text-decoration: none;
}

.product-box.product-box--view-all {
  background-color: #FFF;
  border: 2px solid #CCC;
  color: #505050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-box.product-box--view-all p {
  color: #505050;
  font-size: 16px;
  font-weight: bold;
}

.product-categories h2 {
  margin: 0;
  font-size: 25px;
  margin-bottom: 16px;
}

@media only screen and (max-width: 950px) {

  .product-search-container,
  .departments-container {
    -webkit-flex-direction: column;
    flex-direction: column;
    margin: 0;
  }

  .product-sidebar {
    width: 100%;
  }

  .product-categories:after {
    display: none;
  }

  .products,
  .departments {
    justify-content: center;
  }
}


@media only screen and (max-width: 700px) {

  .product-search-results h1,
  .article-search-results h1,
  .shopping-results h1 {
    font-size: 24px;
    line-height: 36px;
    display: block;
  }

  select.select--sort {
    margin: 5px 20px;
  }

  .product-search-container,
  .departments-container {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  .product-categories {
    width: 100%;
  }

  .product-box h2 {
    font-size: 14px;
  }

  .product-box p {
    font-size: 12px;
  }

  .product-search-results-count:before,
  .article-search-results-count:before,
  .shopping-results-count:before {
    content: ' ';
    display: block;
  }

  .product-box .product-box-price-container .product-box-price {
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
  }

  .product-box .product-box-price-container .product-box-price .product-box-per {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    line-height: 12px;
  }

  .product-search-results .pages,
  .article-search-results .pages,
  .shopping-results .pages {
    font-size: 14px;
  }

  .search-results-tabs-container {
    border-bottom: 1px solid #ccc;
    height: auto;
    margin-left: 25px;
    padding: 0;
  }

  .search-results-tabs .tab-title-outer.active {
    border: 1px solid #ccc;
    border-left: 4px solid #c80000;
    border-right: none;
    border-bottom: none;
  }

  .search-results-tabs .tab-title-outer .tab-title-inner {
    border-right: none;
    height: auto;
    line-height: 18px;
  }

  .search-results-tabs .tab-title-outer .tab-title-inner span {
    display: inline-block;
    margin-right: 5px;
  }

  .search-results-tabs .tab-title-outer {
    border: 1px solid #ccc;
    border-right: none;
    border-bottom: none;
    display: block;
    margin-top: 0;
    text-align: left;
    width: auto;
  }

  .article {
    -webkit-flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .article-picture {
    -webkit-flex: 1;
    flex: 1;
    margin-bottom: 10px;
  }

  .view-more-btn {
    margin: 0 auto;
  }

  .product-categories h2 {
    margin-left: 10px;
    margin-top: 20px;
  }

}

@media only screen and (max-width: 950px),
only screen and (max-height: 400px) {

  .product-box__image-link {
    text-align: center;
  }

  #category-menu li.has-submenu {
    height: initial;
    margin: 0;
    padding: 0;
  }

  #category-menu>li.has-submenu>a:after {
    content: "\f107";
  }

  #category-menu li.has-submenu a {
    padding-left: 15px;
  }

  #category-menu li>ul.dept-submenu {
    margin: 0;
  }

  #category-menu li>ul.dept-submenu>li {
    padding-left: 15px;
    border-top: 1px solid #505050;
    line-height: inherit;
  }

  .product-categories h3,
  .product-facets h3 {
    display: none;
  }

  #product-categories-container {
    display: block;
    margin: 0;
    position: relative;
  }

  .mobile-filters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #929191;
  }

  .mobile-filters div {
    flex: 1;
    padding: 10px;
  }

  .mobile-filters .filter-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    background-color: #FFFFFF;
    color: black;
    border-radius: 8px;
    clear: right;
    cursor: pointer;
    padding: 5px 0;
    text-align: center;
    width: 100%;
  }

  #product-categories-header-mobile.open>.filter-btn,
  #product-brands-header-mobile.open>.filter-btn,
  #product-facets-header-mobile.open>.filter-btn {
    background-color: #c80000;
    color: #ffffff;
  }

  #category-menu,
  #brands-menu,
  #facets-container {
    margin: 0;
    border-bottom: 2px solid #c80000;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
  }

  .facet-container h4 {
    margin: 0;
    padding-left: 15px;
    height: 45px;
    line-height: 45px;
    border-bottom: 1px solid #505050;
  }

  .facet-container .facet-name:after {
    content: "+";
    padding-left: 5px;
  }

  .facet-container.open .facet-name:after {
    content: "\00d7";
    padding-left: 5px;
  }

  .facet-container.open .facets-menu {
    display: block;
  }

  .facets-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .facets-action-btn {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #505050;
    clear: right;
    cursor: pointer;
    margin: 8px;
    padding: 2px;
    text-align: center;
    width: 100%;
  }

  .facets-done-btn {
    background-color: #7c7c7c;
    color: #fff;
  }

  .facets-reset-btn {
    background-color: #FFFFFF;
    color: #505050;
  }

  .product-facet {
    margin: 0;
  }

  .facets-menu {
    margin: 0;
    display: none;
  }

  #category-menu>li,
  #brands-menu>li,
  #brands-menu>div>li,
  ul.facets-menu>li {
    border-bottom: 1px solid #505050;
    float: none;
    padding-left: 15px;
    height: 45px;
    line-height: 45px;
  }

  #category-menu>li.scrolling,
  #brands-menu>li.scrolling,
  .facets-menu>li.scrolling {
    display: block;
  }

  #brands-menu>li#facet-brands-expand-link {
    border-bottom: none;
  }

  #category-menu>li>a,
  #brands-menu>li>a,
  .facets-menu>li>a {
    display: block;
  }

  #category-menu>li.scrolling>a:hover,
  #brands-menu>li.scrolling>a:hover,
  .facets-menu>li.scrolling>a:hover {
    text-decoration: underline;
  }

  #category-menu>li>a:after,
  #brands-menu>li>a:after,
  .facets-menu>li>a:after {
    content: "\f105";
    color: #505050;
    display: inline-block;
    font: normal normal bold 14px/1 FontAwesome;
    margin-left: 10px;
  }

  #category-menu ul,
  #brands-menu ul,
  .facets-menu ul {
    margin-left: 100%;
    padding: 0;
    top: -1px;
  }

  #category-menu ul li:last-of-type,
  #brands-menu ul li:last-of-type,
  .facets-menu ul li:last-of-type {
    border-bottom-color: #333;
  }

  #category-menu ul a,
  #brands-menu ul a,
  .facets-menu ul a {
    padding: 6px 15px;
  }

  #product-categories-container,
  #brands-container,
  #facets-container {
    display: none;
  }

  #product-categories-container.show-menu,
  #brands-container.show-menu,
  #facets-container.show-menu {
    display: block;
  }

  .department-img-caption {
    font-size: 18px;
    line-height: 20px;
    bottom: 5px;
  }
}

@media only screen and (max-width: 950px) {
  .product-container .product-box {
    max-width: 100%;
    width: 100%;
  }

  .product-search-container .product-search-results {
    padding: 0 15px;
  }

  .product-categories h2 {
    margin-left: 10px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 420px) {
  .product-box {
    max-width: 100%;
    width: 100%;
  }
}