:root {
  --main-bg-color: #fff;
  --main-link-color: #222;
  --main-active-color: #03a9f4;
  --main-active-bg-color: #f2f3f5;
}

.top-navigation,
.top-navigation ul,
.top-navigation ul li,
.top-navigation ul li a {
  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;
}
.top-navigation {
  width: auto;
  background-color: var(--main-bg-color);
  width: auto;
  float: left;
  z-index: 10;
}
.top-navigation > ul {
}
.top-navigation > ul > li {
  float: left;
  display: inline-block;
}
.top-navigation > ul > li > a {
  min-height: 100px; 
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  /*text-transform: uppercase;*/
  color: var(--main-link-color);
  display: flex;
  align-items: center;
}
.top-navigation > ul > li > a span {
  padding: 16px 0 16px 16px;
  margin: 0;
  display: block;
  transition: background .3s, color .3s;
}

.top-navigation > ul > li:hover > a span,
.top-navigation > ul > li > a:hover span {
  color: var(--main-active-color);
}
.top-navigation > ul > li.menu-item-has-children > a span {
  padding-right: 25px;
  position: relative;
}
.top-navigation > ul > li.menu-item-has-children > a span::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  width: 0;
  height: 0;  
  color:var(--main-link-color);
  right: 15px;
  top: 16px;
}
.top-navigation > ul > li.menu-item-has-children.current-menu-item > a span::after,
.top-navigation > ul > li.menu-item-has-children:hover > a span::after {
  color:  var(--main-active-color);
}
.top-navigation ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  font-size: 13px;
  border-radius: 0 0 3px 3px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
  padding: 20px 0 20px 30px;
  padding: 10px 0;
  background: #FFF;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
}
.top-navigation > ul > li > ul, .top-navigation > ul ul > li > ul {
  top: inherit;
}
.top-navigation > ul > li:hover > ul {
  left: 0;
  opacity: 1;
}
.top-navigation ul ul > li:hover > ul {
  left: 231px;
  top: 0;
  opacity: 1;
}
.top-navigation ul ul li a {
  text-decoration: none;
  font-weight: 400;
  padding: 0 20px;
  min-width: 250px;
  color: #2f3542;
  font-size: 0.8rem;
}
.top-navigation ul ul li a span {
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 10px 0;
  transition: color .3s;
}
.top-navigation ul ul li:last-child a span {
  border-bottom: 0;
}
/*.top-navigation ul ul li a:before {
  content: "\f111";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  font-size: 6px;
  position: absolute;
  opacity: 0;
  left: 30px;
  top: 13px;
  transition: opacity .2s;
  color: var(--main-active-color);
}
.top-navigation ul ul li:hover > a span {
  padding-left: 10px;
  }*/
  .top-navigation ul ul li:hover > a,
  .top-navigation ul ul li.current-menu-item > a {
    color: var(--main-active-color);
  }
  .top-navigation ul ul li:hover > a:before {
    opacity: 1;
  }
  .top-navigation > ul > li > ul::after {
    position: absolute;
    display: block;
  }
  .top-navigation ul ul li.menu-item-has-children > a::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    position: absolute;
    width: 0;
    height: 0;
    right: 25px;
    top: 10px;
  }
  .top-navigation ul ul li.menu-item-has-children.current-menu-item > a::after,
  .top-navigation ul ul li.menu-item-has-children:hover > a::after {
    border-left-color: #333333;
  }

