/* nav */
.nav-menu,.nav-menu ul,.nav-menu li,.nav-menu a { margin: 0; padding: 0; line-height: normal; list-style: none; display: block; position: relative; }
.nav-menu ul { opacity: 0; position: absolute; top: 100%; left: -9999px; z-index: 999; -webkit-transition: opacity .3s; transition: opacity .3s; }
.nav-menu li:hover > ul { left: 0; opacity: 1; z-index: 1000; }
.nav-menu ul li:hover > ul { top: 0; left: 100%; }
.nav-menu li { cursor: default; float: left; white-space: nowrap; }
.nav-menu ul li {
  float: none;
  text-transform: capitalize;
  border: none;
  display: block;
  padding: 5px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  white-space: nowrap;
  transition: all .2s ease-in-out;
  cursor: pointer;
  background: #fff;
}
.nav-menu ul li.tesztitem a{
  background:#fff;
}
.tesztitem.active{
    border-left:3px solid #2aacff;
}
.parent_item{
    position: relative;
    padding-right: 15px;
}
.parent_item::after{
    content: "▶";
    position: absolute;
    right: 7px;
    top: 10px;
    color: #2aacff;
    width: 10px;
}

/* sub width */
.nav-menu ul { min-width: 12em; -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.25); box-shadow: 2px 2px 2px rgba(0,0,0,0.25); }

/* center */
.nav-center { float: right; right: 50%; }
.nav-center > li { left: 50%; }

/* root */
.nav-menu a {
  padding: 0 10px;
  color: #5BC0DE;
  font-weight: normal;
  font-size: 16px;
  line-height: 40px;
  text-decoration: none;
}
.submenu.dropdownmenu_container{
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.menuitem .main-menu{
  font-size: 14px;
}

/* root: active */
.nav-menu > li > .nav-active { background-color: rgba(0,0,0,0.05); }

/* root: hover/persistence */
.nav-menu a:hover,.nav-menu a:focus,.nav-menu li:hover a {
  background: #555;
  color: #FFF;
}

/* 2 */
.nav-menu li:hover li a {
  padding: 8px 10px;
  color: #242c42;
  font-size: 14px;
  line-height: normal;
}
.dropdownmenu_container .tesztitem:hover{
  background-color: #f5f5f5;
}
.dropdownmenu_container .tesztitem:hover a{
  background-color: #f5f5f5;
}
.nav-menu ul li.tesztitem a:hover{
  background-color: #f5f5f5;
}
.dropdownmenu_container .tesztitem .tesztitem a{
  background-color: #fff;
}
.dropdownmenu_container .tesztitem .tesztitem:hover a{
  background-color: #f5f5f5;
}
.dropdownmenu_container .tesztitem{
  transition: all .2s ease-in-out;
}

/* vertical */
.nav-vertical { max-width: 220px; }
.nav-vertical ul { top: 0; left: -9999px; }
.nav-vertical li { width: 100%; float: none; }
.nav-vertical li:hover > ul { left: 100%; }



@media only screen and (max-width: 767px) {
  .nav-menu ul{
    opacity: 1;
    left: 0px;
    width: 100%;
    position: relative;
    text-align: center;
  }
  .nav-menu ul li:hover > ul{
    left: 0;
  }
  .nav-menu a{
    color: #242c42;
    line-height: 24px;
  }
  .dropdownmenu_container .tesztitem{
    white-space: normal;
  }
  .dropdownmenu_container .tesztitem .tesztitem{
    border-bottom: 1px solid #242c42;
  }
  .dropdownmenu_container .tesztitem .tesztitem:last-child{
    border-bottom: none;
  }
  .nav-menu li li a {
    padding: 8px 10px;
    color: #242c42;
    font-size: 14px;
    line-height: normal;
  }
  header .header-main .navigation{
    position: fixed;
    top: 112px;
    bottom: 0px;
    height: 100% !important;
    overflow: scroll;
  }
}
@media only screen and (max-width: 767px) {
  header .header-main .navigation{
    top: 110px;
  }
}
@media only screen and (max-width: 380px) {
  header .header-main .navigation{
    top: 102px;
  }
}
