#navigation,
#navigation ul,
#navigation ul li,
#navigation ul li a,
#navigation #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#navigation:after,
#navigation > ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#navigation #menu-button {
  display: none;
}
#navigation {
  width: auto;
  z-index: 10;
  position: relative;
  font-family: 'Roboto', sans-serif;
}
#navigation.align-right > ul > li {
  float: right;
}
#navigation > ul > li {
  float: left;
  display: inline-block;
}
#navigation.align-center > ul {
  float: none;
  text-align: center;
}
#navigation.align-center > ul > li {
  float: none;
}
#navigation.align-center ul ul {
  text-align: left;
}
#navigation > ul > li > a {
  padding: 20px 15px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  max-height: 54px;
}
#navigation > ul > li:hover > a,
#navigation > ul > li > a:hover,
#navigation > ul > .current-menu-item > a {
  color: #ffffff!important;
}
#navigation > ul > li.has-sub > a {
  padding-right: 45px;
}
#navigation > ul > li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #d3eced;
  right: 17px;
  top: 22px;
}
#navigation > ul > li.has-sub.active > a::after,
#navigation > ul > li.has-sub:hover > a {
  border-top-color: #ffffff;
}
#navigation ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  opacity: 0;
  -webkit-transition: opacity 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: opacity 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: opacity 0.2s ease, opacity 0.2s ease-in;
  -o-transition: opacity 0.2s ease, opacity 0.2s ease-in;
  transition: opacity 0.2s ease, opacity 0.2s ease-in;
}
#navigation.align-right ul ul {
  text-align: right;
}
#navigation > ul > li > ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #ffffff;
  top: -10px;
  left: 20px;
}
#navigation.align-right > ul > li > ul::after {
  left: auto;
  right: 20px;
}
#navigation ul ul ul::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #ffffff;
  top: 8px;
  left: -4px;
}
#navigation.align-right ul ul ul::after {
  border-right-color: transparent;
  border-left-color: #ffffff;
  left: auto;
  right: -4px;
}
#navigation > ul > li > ul {
  top: 125px;
  background: #fff;
  margin-top: 8px;
  margin-left: 15px;
  border-radius: 0 0 4px 4px;
  border: 1px solid #ddd;
  border-top: 0;
}
#navigation > ul > li:hover > ul {
  top: 46px;
  left: 0;
  opacity: 1;
  display: grid;
  z-index: 10;
}

#navigation > ul > li > ul {
   display: grid;
 top: 48px;
  left: 0;
  display: none;
  opacity: 0;
  grid-column-gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 5px;
  padding: 15px 15px;
  width: 1140px;
  transition: opacity .2s;
}



#navigation.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;
  top: 20px;
}
#navigation ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#navigation.align-right ul ul ul {
  padding-right: 6px;
}
#navigation ul ul > li:hover > ul {
  left: 200px;
  top: 0;
  opacity: 1;
}
#navigation.align-right ul ul > li:hover > ul {
  left: auto;
  right: 100%;
  opacity: 1;
}
/*#navigation ul ul li {width: 25%; float: left; display: inline-block;}*/
#navigation ul ul li a {
  text-decoration: none;
  padding: 12px 15px;
  width: auto;
  font-weight: 400;
  font-size: 13px;
  color: #000;
  background: #f5f5f5;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s; 
}

#navigation ul ul li a span {
}

#navigation ul ul li:hover > a,
#navigation ul ul li.active > a {
  color: #FFF;
  background: #333e48;
}
/*#navigation ul ul li:first-child > a {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  padding-top: 22px;
}
#navigation ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  padding-bottom: 22px;
}*/
#navigation > ul > li > ul::after {
  position: absolute;
  display: block;
}
#navigation ul ul li.has-sub > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 17px;
  top: 14px;
}
#navigation.align-right ul ul li.has-sub > a::after {
  border-left-color: transparent;
  border-right-color: #777777;
  right: auto;
  left: 17px;
}
#navigation ul ul li.has-sub.active > a::after,
#navigation ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
#navigation.align-right ul ul li.has-sub.active > a::after,
#navigation.align-right ul ul li.has-sub:hover > a::after {
  border-right-color: #333333;
  border-left-color: transparent;
}