﻿@media (min-width: 1025px) {
  .header-menu, .header-menu-parent {
    padding: 0;
    margin: 0;
    min-width: 1025px;
  }

  .top-menu {
    justify-content: flex-start;
  }

  .duzey-menu {
    display: block;
    border-top-style: solid;
    border-color: #0d6bdc;
    border-width: 0.25rem;
  }

  .category-navigation-list-wrapper,
  .mega-menu,
  .mega-menu-responsive,
  .close-menu
  .sub-category-link {
    display: none;
  }
}

@media (max-width: 1024px) {
  .duzey-menu-parent {
    display: none;
  }
}

.flex-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-size: 14px;
  padding: 5px;
  box-sizing: border-box;
  min-width: 80px;
  max-width: 130px;
  height: 55px;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  color: #8c8c8c;
  font-weight: bold;
  transition: color .2s ease;
  word-wrap: break-word;
}

  .flex-item:hover {
    color: #0d6bdc;
    background-color: #fff;
  }

.duzey-wrapper, .duzey-menu, .container-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.duzey-sub-menu-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-radius: 0 0 15px 15px;
  width: 100%;
  overflow-y: auto;
}

.flex-item.hover-effect {
  color: #0d6bdc;
  background-color: #fff;
}

.duzey-container-flex {
  display: flex;
  flex-wrap: wrap;
  width: 98%;
}

.duzey-container-four-or-more-items {
  justify-content: space-evenly
}

.duzey-container-less-than-four-items {
  justify-content: left;
  margin-left: 1rem;
}

.duzey-four-or-more-items {
  width: 15%
}

.duzey-less-than-four-items {
  width: 24%
}


.sub-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: .5rem 0rem;
  padding: .5rem 0rem;
  border-radius: 10px;
  text-align: center;
}

  .sub-category-item text-center {
    text-align: left;
  }

  .sub-category-item img {
    height: 125px;
    margin-bottom: 0.5rem;
  }

  .sub-category-item > div {
    color: #0d6bdc;
    font-size: 16px;
    font-weight: bold;
  }

    .sub-category-item > div:first-child {
      color: #0d6bdc;
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 0.75rem;
    }

.further-sub-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
}

.sub-category-link {
  color: #0d6bdc;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: .75rem;
  align-items: center;
  display: flex;
  flex-direction: column;
}

  .sub-category-link img {
    height: 125px;
    margin-bottom: 0.5rem;
  }

  .sub-category-link > div {
    width: fit-content;
  }

.further-sub-category-item {
  color: #8c8c8c;
  font-size: 14px;
  padding: 0.25rem 0;
  margin-bottom: 0.25rem;
  width: 100%;
  text-align: left;
  font-weight: normal;
}

  .further-sub-category-item:hover {
    color: #0d6bdc;
  }

@media (min-width: 1280px) {
  .flex-item {
    min-width: 85px;
    max-width: 150px;
    padding: 15px;
  }
}
