.inrheader {
  z-index: 1005;
}
.logo img {
  width: 400px;
}
.header_menu_catalog .sub-menu {
  display: none;
  margin-left: 0;
  position: absolute;
  z-index: 8;
}
.header_menu_catalog .menu-item:hover .sub-menu {
  display: block;
}
.header_menu_catalog .sub-menu .menu-item {
  max-width: 100%;
  height: auto;
  line-height: 1;
  border: 0;
}
.header_menu_catalog .sub-menu .menu-item a {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 15px;
  line-height: 1;
  background-color: transparent;
  box-sizing: border-box;
}
.header_menu_catalog .sub-menu .menu-item a:hover {
  background-color: #d3c819;
  color: white;
}



.sub-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: -15px;
  box-sizing: border-box;
}
.sub-categories * {
  box-sizing: border-box;
}
.sub-categories__item {
  display: flex;
  flex: 0 0 20%;
  width: 20%;
  padding: 15px;
}
.sub-categories__item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: #fff;
  border: 1px solid grey;
  border-radius: 4px;
  color: #000000;
}
.sub-categories__item-inner:hover {
  border-color: green;
  color: green;
}
.sub-categories__item-img {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 100%;
}
.sub-categories__item-img img {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
.sub-categories__item-text {
  display: block;
  margin-top: 10px;
  text-align: center;
}



.viber_fixed_button {
  z-index: 1010;
}


@media only screen and (max-width : 992px) {
  .sub-categories__item {
    flex: 0 0 25%;
    width: 25%;
  }
}

@media only screen and (max-width : 850px) {
  .sub-categories {
    padding-bottom: 15px;
  }
}

@media only screen and (max-width : 768px) {
  .sub-categories__item {
    flex: 0 0 33.33%;
    width: 33.33%;
  }
}

@media only screen and (max-width : 560px) {
  .sub-categories__item {
    flex: 0 0 50%;
    width: 50%;
  }
}