/* Main Menu
-----------------------------------------------*/



.menu .item a {
  color: inherit;
  text-decoration: none;
}

.menu .item a:hover {
  text-decoration: none;
}

.menu .logo a {
  color: #505A6E;
  text-decoration: none;
  margin-left: 32px;
}

.underline{
  height: 50px;
  width: 50px;
  background-color: #000;
  position: absolute;
  margin-top: -54px;
  border-radius: 4px;
  opacity: 0.1;
  pointer-events: none;
  -webkit-transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.menu .logo a:hover {
  text-decoration: none;
}

.menu .logo:before{
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: url(../img/logo.svg) no-repeat center center;
}

.menu{
  height: 70px ;
  text-align: right ;
  position: fixed ;
  width: 100%;
  z-index: 100 ;
  /* fix flicker */ 
  -webkit-transform: translateZ(0);
  -moz-transform: rotate(0);
  /*background-color: rgba(30,35,40,0.01);*/
    background: #FFD000;
  -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


.menu .menuBox{
  text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
    height: 28px ;
    margin-top:20px ;
    opacity: 1;
    position: relative;
    -webkit-backface-visibility: hidden;
}

/*
*   Responsive Menu
*/
.menu .menuBox .burger{
    width: 40px;
    height: 40px;
    position: absolute;
    background: url(../img/burger.svg) no-repeat center center;
    right: 0px;
    top: -3px;
    opacity: 0.6;
    cursor: pointer;
}

.menu .menuBox .burger.show{
    background: url(../img/close.svg) no-repeat center center;
}

@media (min-width: 768px) {
    .menu .menuBox .burger{
        display: none;
    }
}



/*
*   End Responsive Menu
*/

.menu .stretch{
  width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.menu .item{
  font-size: 16px ;
    font-weight: bold;
  /*letter-spacing: 0.15em;*/
  color: #505A6E ;
  /*text-transform: uppercase;*/
  line-height: 24px;
  font-weight: 700 ;
  vertical-align: top;
  display: inline-block;
}

.menu .logo{
     font-weight: bold;
  font-size: 16px ;
  color: #505A6E ;
  line-height: 24px;
  font-weight: 700 ;
    vertical-align: top;
    display: inline-block;
}

.menu .item:hover{
  /*color: #000 ;
  text-decoration: none;*/
    cursor: pointer;
}

.menu a:hover{
  text-decoration: none;
}

.menu .itemtransition{
  opacity: 0;
}

.menu .item.passive{
  color: rgba(0,0,0,0.5) ;
}


@media(max-width: 768px){
  .menu .mobilemenu{
    height: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    top: 10px;
    left: 0px;
    border: 1px solid #ddd;
    padding-top: 20px;
    padding-bottom: 20px;
    opacity: 0;
    pointer-events: none;
  }

.menu .mobilemenu .item{
  padding: 15px;
}


  .menu .mobilemenu a{
    display: block;
    margin-left: 5px;
    padding-left: 24px;
  }

  .menu .mobilemenu .underline{
    margin-top: -42px;
        pointer-events: none;
        margin-left: 12px;
  }

  .menu .stretch{
    display: none;
  }

  .mobilemenu.show{
    opacity: 1;
    pointer-events: all;
  }

  .menu .burger{
    filter: invert(1);
  }
}