/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
html,
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background-color: #fff;
}

#category .block-category .block-category-inner .category-cover img {
  width: 100%;
  height: 242px;
}
@media screen and (max-width: 1024px) {
  #category .block-category .block-category-inner .category-cover img {
    width: 100%;
    margin-left: -203px;
    height: 200px;
  }
}

@media screen and (max-width: 768px) {
  #category .block-category .block-category-inner .category-cover img {
    margin-left: -130px;
    height: 121px;
  }
}

#subcategories ul li .subcategory-name:hover,
.block-categories .arrows .arrow-down:hover,
.block-categories .arrows .arrow-right:hover,
.block-categories .collapse-icons .add:hover,
.block-categories .collapse-icons .remove:hover,
.cart-grid-body a.label:hover,
a:hover,
a:active {
  color: #a7cf38;
}

.carousel .carousel-inner {
  height: 425px;
}

#wrapper {
  background: #eee;
}

.h1,
.h2,
.h3 {
  text-transform: initial;
}

.card {
  background-color: transparent;
}

/** 
 * Header
 */
#header {
  padding-top: 30px;
  box-shadow: 0 5px 10px #888;
  background: url("http://www.systematic1.fr/images/fond_carbon.jpg") no-repeat
    scroll center 0 #000;
}

#header .header-nav {
  border-bottom: none;
}

#header .header-top {
  padding-bottom: 0;
}

#header .header-top .align-items-start {
  align-items: start !important;
}

#header .header-top .menu {
  padding-left: 0;
  padding-top: 40px;
  width: 100%;
}

#header .top-menu[data-depth="0"] {
  background: linear-gradient(rgba(187, 221, 51, 0.1), rgba(0, 0, 0, 0.2));
  border-top: 1px solid rgba(187, 221, 51, 0.4);
  border-radius: 20px 20px 0 0;
  position: relative;
  padding: 0;
  width: 100%;
  display: block;
  text-align: center;
}

#header .header-top a[data-depth="0"] {
  text-align: center;
  font: bold 8pt "Open Sans", sans-serif;
  text-transform: uppercase;
  color: #aaa;
  text-shadow: 0 1px 0 #000;
  display: block;
  padding: 10px 5px;
  transition: 0.2s;
}

#header .header-top li:hover a[data-depth="0"] {
  transition: 0.2s;
  color: #bd3;
  text-shadow: 0 0 20px #fff;
}

#header .top-menu .sub-menu {
  z-index: 18;
  width: 100%;
  min-width: 100%;
  margin-left: 0;
  border: 0;
}

#header .top-menu[data-depth="1"] {
  margin: 0;
  padding: 26px 30px 31px;
  width: 100%;
}

#header .top-menu[data-depth="1"]::after {
  content: "";
  display: table;
  clear: both;
}

#header .top-menu .sub-menu ul[data-depth="1"] > li {
  float: left;
  width: 20%;
  padding-right: 15px;
  margin: 0;
}

#header .top-menu a.dropdown-submenu {
  text-transform: uppercase;
  font: 600 12px / 20px "Open Sans", sans-serif;
  color: #bd3;
  padding: 0;
}

#header .top-menu[data-depth="2"] {
  position: static;
  padding: 12px 0px 18px 0px;
}

#header .top-menu a[data-depth="2"],
#header .top-menu a[data-depth="3"],
#header .top-menu a[data-depth="4"] {
  padding: 0;
  display: inline-block;
  position: relative;
  color: #777777;
  font-size: 11px;
  line-height: 11px;
  white-space: wrap;
}

#header .top-menu a[data-depth="2"]:before,
#header .top-menu a[data-depth="3"]:before,
#header .top-menu a[data-depth="4"]:before {
  content: ">";
  display: inline-block;
  font-family: inherit;
  padding-right: 10px;
}

#header .top-menu[data-depth="3"],
#header .top-menu[data-depth="4"] {
  padding: 0 0 0 20px;
}

#search_widget {
  padding-top: 50px;
  float: left;
  width: 100%;
  max-width: 100%;
}

#search_widget form {
  position: relative;
}

#search_widget .ui-autocomplete-input {
  display: inline;
  padding: 0 13px;
  height: 45px;
  line-height: 45px;
  background: #fbfbfb;
  border-radius: 0;
  font-size: 13px;
  color: #9c9b9b;
}

#search_widget .btn.button-search {
  background: #a7cf38;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  color: white;
  width: 50px;
  text-align: center;
  padding: 10px 0 11px 0;
  transform: none;
}

#search_widget .btn.button-search i {
  position: initial;
  padding: 0;
}

#search_widget .btn.button-search span {
  display: none;
}

#header #_desktop_contact_link {
  position: relative;
  width: 100%;
  clear: both;
}

#header .blockcart {
  position: relative;
  width: 100%;
  padding-top: 50px;
}

#header .blockcart .header {
  padding: 10px 10px 11px 16px;
  background: #a7cf38;
  display: block;
  font-weight: bold;
  overflow: hidden;
  max-width: 270px;
  width: 100%;
  float: right;
  color: white;
  font: 600 18px / 22px "Open Sans", sans-serif;
  padding-right: 5px;
}

#header .blockcart .header a {
  color: white;
  font: 600 18px / 22px "Open Sans", sans-serif;
}

#header .blockcart .header .cart-products-count {
  color: #777777;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 90%;
}

#header #contact-link {
  padding: 20px 10px 11px 16px;
  display: block;
  font-weight: bold;
  clear: both;
  width: 100%;
  float: right;
  color: #aaa;
  font-size: 13px;
  padding-right: 5px;
  text-align: right;
}

#header #contact-link i,
#header #contact-link a {
  color: #fff;
  vertical-align: bottom;
}

#header .header-nav2 {
  clear: both;
  display: flex;
  justify-content: flex-end;
}

#header .header-nav2 {
  clear: both;
  padding-top: 10px;
}

#header .header-nav2 .user-info a:not(.account) {
  color: #fff;
  text-shadow: 1px 1px 1px #888;
  font-weight: bold;
  display: block;
  padding: 8px 9px 11px 8px;
  cursor: pointer;
  line-height: 18px;
  background: #a7cf38;
}

#header .header-nav2 .user-info a.account {
  display: none;
}

#header .header-nav2 .language-selector {
  padding: 6px 0px 7px 10px;
}

#header .header-nav2 .language-selector .btn-unstyle {
  position: relative;
  font-weight: bold;
  padding: 0px 10px;
  line-height: 18px;
  color: white;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#header .header-nav2 .language-selector .btn-unstyle span {
  color: white;
}

#header .header-nav2 .language-selector .btn-unstyle i {
  font-size: 30px;
  line-height: 30px;
  color: #686666;
  vertical-align: -10px;
  padding-left: 0px;
}

/** 
 * Footer
 */
#footer {
  background: url(http://www.systematic1.fr/images/fond_carbon.jpg) no-repeat
    600px -240px #000;
  box-shadow: 0 -5px 10px #888;
  padding: 50px 0;
}

#footer .footer-container {
  padding-top: 0;
}

#footer .footer-container h3,
#footer .footer-container h4,
#footer .footer-container .h3,
#footer .footer-container .h4,
#footer .footer-container h3 *,
#footer .footer-container h4 *,
#footer .footer-container .h3 *,
#footer .footer-container .h4 * {
  font: 600 18px / 22px "Open Sans", sans-serif;
  color: white;
  margin: 0 0 13px 0;
  cursor: pointer;
  text-transform: none;
}

#footer .footer-container .block-contact #contact-infos p {
  font-size: 13px;
  color: #fff;
}

#footer .footer-container .block-contact {
  border-left: 1px solid #555;
}

#footer .footer-container .block-contact i {
  font-size: 25px;
  width: 32px;
  text-align: center;
  padding-right: 12px;
  float: left;
  color: #a7cf38;
}

#footer .footer-container .block-contact svg {
  fill: #a7cf38;
  vertical-align: bottom;
  transform: translateX(-4px);
}

#footer .footer-container li a:hover {
  color: #fff;
}

#footer .footer-container .block-contact a,
#footer .footer-container li a {
  color: #777777;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
  font-size: 13px;
}

/**
 * sidebar
 */
#search_filters > .h6,
#search_filters_brands > .h6,
#search_filters_suppliers > .h6,
.block-categories .h6 {
  font: 600 18px/22px "Open Sans", sans-serif;
  color: #fff;
  background: #8b3;
  text-transform: uppercase;
  padding: 15px;
  margin-bottom: 20px;
  display: block;
}

#search_filters,
#search_filters_brands,
#search_filters_suppliers,
.block-categories {
  padding: 0;
  background: transparent;
}

#search_filters .facet,
#search_filters_brands .facet,
#search_filters_suppliers .facet {
  padding-left: 10px;
  padding-right: 10px;
}

.block-categories .category-sub-menu {
  border-top: 1px solid #d6d4d4;
  margin-top: -1px;
  padding-top: 1px;
}

.block-categories .category-sub-menu li {
  position: relative;
}

.block-categories .category-sub-menu .category-sub-link,
.block-categories .category-sub-menu li a {
  font-weight: bold;
  color: #888;
  display: block;
  font-size: 13px;
  line-height: 1;
  padding: 8px 30px 9px 19px !important;
  border-bottom: 1px solid #d6d4d4;
  text-shadow: 1px 1px 0 #fff;
  margin: 0 !important;
}

.block-categories .category-sub-menu .category-sub-link {
  font-weight: normal;
  color: #777;
}

.block-categories .category-sub-menu .category-sub-link:before {
  content: "chevron_right";
  line-height: 1;
  padding-right: 5px;
  font-family: "Material Icons";
  font-weight: 400;
  font-style: normal;
  vertical-align: middle;
  font-size: 15px;
}

.block-categories .category-sub-menu li[data-depth="1"] {
  margin: 0;
}

.block-categories .arrows,
.block-categories .collapse-icons {
  display: block;
  background: #f6f6f6;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  font-size: 14px;
  width: 30px;
  height: 30px;
}

.block-categories .arrows i:hover,
.block-categories .collapse-icons i:hover {
  color: silver !important;
}

.block-categories .arrows i,
.block-categories .collapse-icons i {
  margin-left: 2px;
  margin-top: 2px;
  font-size: 24px !important;
}

.block-categories .arrows i.arrow-right,
.block-categories .collapse-icons i.add {
  color: silver;
}

/* Page catégorie */
.block-category.card.card-block {
  padding: 18px 10px 10px 42px;
  background-color: #ccc !important;
  color: #555;
}

.block-category h1 {
  font: 600 42px / 51px "Open Sans", sans-serif;
  color: white;
  margin-bottom: 12px;
  text-shadow: 1px 1px 1px #888;
}

.block-categories
  .category-sub-menu
  li:not([data-depth="0"]):not([data-depth="1"])::before {
  content: none;
}

.block-category .block-category-inner .category-cover img {
  object-fit: cover;
}

#subcategories {
  padding: 0;
}

#subcategories ul li {
  min-width: 139px;
  width: calc(20% - 20px);
}

#subcategories ul li .subcategory-image {
  border: 1px solid #d6d4d4;
  padding: 0;
  margin-bottom: 8px;
}

#subcategories ul li:hover .subcategory-image a {
  padding: 5px;
  border: 5px solid #000;
}

#subcategories ul li .subcategory-name {
  font: 600 8pt "Open Sans", sans-serif;
  color: #555454;
  text-transform: uppercase;
}

.product-images > li.thumb-container .thumb.selected,
.product-images > li.thumb-container .thumb:hover,
.tabs .nav-tabs .nav-link {
  border-color: #8b3 !important;
}

a,
.tabs .nav-tabs .nav-link.active {
  color: #8b3;
}

.btn-primary,
.btn-primary:hover,
.product-flags li.product-flag {
  background: #8b3;
}

.product-flags li.product-flag.out_of_stock {
  background: #fe9126;
}

.product-flags li.product-flag.on-sale {
  background: #f13340;
}
.pagination .current a,
.product-price {
  color: #8b3;
}
#header .header-nav .cart-preview.active {
  background-color: transparent !important;
}
