#header {
  display:inline-block;
  width: 100%;
}

#logos {
  float:left;
  padding:20px;
  height:60px;
}

#logos img {
  max-height: 100%;
}

#carts{
  float:right;
  padding:20px 0px 20px 20px;
  display:flex;
  align-items: flex-end;
}

#login, #viewcart, #searchform {
  vertical-align: bottom;
  float: left;
  padding: 0px 15px;
  font-size: 14px;
}

.btn-search {
    position: relative;
    padding: 3px 5px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 4px;
    display: inline-block;
    vertical-align: bottom;
    user-select: none;
    cursor: pointer;
    border: solid 0px;
    letter-spacing: 1.2px;
    font-weight: normal;
    transition: all 0.3s ease-in-out;
    /*** full width block ***/
    /* width: 100%; */
}

.btn-search-colors {
    background: linear-gradient(90deg, #11a39a, #00d6da);
    background-size: 200% 100%;
    background-position: 100%;
    border-color: #fff;
    color: #fff;
}

.btn-search:hover {
    background-position: 0%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), inset 0px -2px 0px rgba(255, 255, 255, 0.2);
}

.btn-search:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.24);
}

.btn-search:disabled {
    pointer-events: none;
    opacity: .65;
    color: #7e7e7e;
    box-shadow: none;
    background: #dcdcdc;
}

#main H2, #main H4 {
  padding:0px 20px;
  font-weight: 500;
}

#main H4 a {
  text-decoration: none;
}

#icon-menu{
  width: 100%;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0px 20px;
}

.category{
  width: 23%;
  padding: 0px 16px 16px 0px;
}

.category img{
  max-width: 100%;
}

#navigation nav {
  background: #11a39a;
  padding: 0px 0px;
}
.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.menu li {
  position: relative;
}
.menu a {
  display: block;
  padding: 5px 20px;
  color: #ffffff;
  font-size: 1.2em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.menu li:hover > a
{
  background-color: #11a39a;
  color: #ffffff;
  border-radius: 3px;
}

.submenu, .submenu-right {
  display: none;
  position: absolute;
  background: #fff;
  border:1px solid #e6e6e6;
  min-width: 160px;
  list-style: none;
  z-index: 100;
  padding: 5px;
}

.submenu a, .submenu-right a {
  font-size: 1em;
  color:#666666;
  border-radius: 3px;
}

.submenu li:hover > a, .submenu-right li:hover > a
{
  background-color: #11a39a;
  color: #ffffff;
}

#carts a:visited, #carts a:active, #carts a:link, #carts a:hover {
  text-decoration: none;
  color:#666;
} 


@media (min-width: 768px) {
  .menu li:hover > .submenu {
    display: block;
    top: 100%;
    left: 0;
  }
  .submenu li:hover > .submenu-right {
    display: block;
    top: 0;
    left: 100%;
    margin-left: 0;
  }
  .submenu .dropdown > a:after {
    content: "▸";
    float: right;
  }
  .submenu .dropdown:hover > a::after {
    content: "▾";
  }
  .hamburger,
  #menu-toggle {
    display: none;
  }
}
@media (max-width: 767px) {
  .category{
    width: 48%;
    padding: 0px 4px 4px 0px;
  }

  .hamburger {
    display: block;
    font-size: 26px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    padding-bottom: 5px;

  }
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #11a39a;
  }
  #menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #11a39a;
  }
  #menu-toggle {
    display: none;
  }
  #menu-toggle:checked + label + ul {
    display: flex;
  }
  .menu li {
    width: 100%;
  }
  .submenu,
  .submenu-right {
    position: static;
    display: none;
    padding-left: 20px;
  }
  .menu li:hover > .submenu,
  .submenu li:hover > .submenu-right {
    display: block;
  }
  .submenu .dropdown > a::after {
    content: "▸";
    float: right;
  }
  .submenu .dropdown:hover > a::after {
    content: "▾";
  }
}

@media (max-width: 576px) {
  #logos {
    float:none;
    display:flex;
    justify-content: center;
  }

  #loginandcart {
    padding: 0 0 10px 0;
  }

  #carts {
    float:none;
    display: grid;
    justify-content: center;
    padding:20px;
  }

  #icon-menu {
    width:auto;
    float:none;
    display:block;
  }

  .category{
    width: 100%;
    padding: 0px 15px 15px 0px;
  }

  #welcome{
    text-align: center;
  }
}
