/*====================================
      Menu Pop Animation-Collection
  ====================================*/
/* trigger: animation name>ul>li.second menu: .menu-2 */
/*================================
              1.Normal
  ================================*/
.menu-normal > ul > li:hover .menu-2 {
    left: 0;
}
.menu-normal .menu-2 {
    position: absolute;
    left: -9999em;
    top: 36px;
    z-index: 1;
}
/*================================
           2.Fade In and Out
  ================================*/
.menu-fade-in-and-out > ul > li:hover .menu-2 {
    /*visibility: visible;*/
    opacity: 1;
     /*filter: alpha(opacity=100);*/
}
.menu-fade-in-and-out .menu-2 {
    position: absolute;
    left: 0;
    top: 50px;
    z-index: 1;
    /*visibility: hidden;*/
    background-color: #F9F8F6;
    opacity: 0;
     /*filter: alpha(opacity=0);*/
    -webkit-transition: 200ms ease;
    -moz-transition: 200ms ease;
    -ms-transition: 200ms ease;
    -o-transition: 200ms ease;
    transition: 200ms ease;
}
/*================================
            3.Slide Down 1
  ================================*/
.menu-slide-down-1 > ul > li:hover .menu-2 ul li{
    height: 40px;
}
.nmenu-slide-down-1 .menu-2 ul {
    position: absolute;
    left: 0;
    top: 100px;
    background-color: #F9F8F6;
    z-index: 1;
}
.menu-slide-down-1 .menu-2 ul li {
    overflow: hidden;
    height: 0;
    -webkit-transition: height 200ms ease-in;
    -moz-transition: height 200ms ease-in;
    -ms-transition: height 200ms ease-in;
    -o-transition: height 200ms ease-in;
    transition: height 200ms ease-in;
}
/*================================
            4.Slide Down 2
  ================================*/
.menu-slide-down-2 > ul > li:hover .menu-2 ul li {
    max-height: 150px;
}
.menu-slide-down-2 .menu-2 ul {
    position: absolute;
    left: 0;
    top: 100px;
    background-color: #F9F8F6;
    z-index: 1;
}
.menu-slide-down-2 .menu-2 ul li {
    overflow: hidden;
    max-height: 0;
    -webkit-transition: max-height 500ms ease;
    -moz-transition: max-height 500ms ease;
    -ms-transition: max-height 500ms ease;
    -o-transition: max-height 500ms ease;
    transition: max-height 500ms ease;
}
/*================================
            5.Slide Down 3
  ================================*/
.menu-slide-down-3 > ul > li:hover .menu-2 {
    max-height: 430px;
    box-shadow: transparent;
}
.menu-slide-down-3 .menu-2 {
    position: absolute;
    z-index: 1;
    max-height: 0;
    background-color: #F9F8F6;
    overflow: hidden;
    box-shadow: transparent;/*cancel box-shadow*/
    -webkit-transition: max-height 500ms ease;
    -moz-transition: max-height 500ms ease;
    -ms-transition: max-height 500ms ease;
    -o-transition: max-height 500ms ease;
    transition: max-height 500ms ease;
}
/*================================
            6.Fold Out
  ================================*/
  /*hover->item*/
.menu-fold-out > ul > li:hover .menu-2 ul li {
    opacity: 1;
    max-height: 50px;
}
/*hover->bk*/
.menu-fold-out > ul > li:hover .menu-2 {
    height: 430px;
    max-height: 1000px;
    -webkit-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -moz-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -ms-transform: perspective(400) rotate3d(0, 0, 0, 0);
    -o-transform: perspective(400) rotate3d(0, 0, 0, 0);
    transform: perspective(400) rotate3d(0, 0, 0, 0);
}
/*item*/
.menu-fold-out .menu-2 ul li {
    max-height: 0;
    opacity: 0;
    z-index: 2;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
/*bk*/
.menu-fold-out .menu-2 {
    position: absolute;
    left: 0;
    top: 100px;
    z-index: 1;
    width: 100vw;
    max-height: 0;
    height: 0;
    background-color: #F9F8F6;
    overflow: hidden; 
    -webkit-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    -moz-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    -ms-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    -o-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: 350ms;
    -moz-transition: 350ms;
    -ms-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;   
}
/*================================
          7.Full Screen 1
  ================================*/
/*hover->item*/
.menu-full-screen-1 > ul > li:hover .menu-2 ul li {
    opacity: 1;
    max-height: 50px;
}
/*hover->bk*/
.menu-full-screen-1 > ul > li:hover .menu-2 {
    max-height: 430px;
    -webkit-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -o-transition: all 400ms ease;
    transition: all 400ms ease;
}
/*item*/
.menu-full-screen-1 .menu-2 ul li {
    max-height: 0;
    opacity: 0;
    z-index: 2;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
/*bk*/
.menu-full-screen-1 .menu-2 {
    position: fixed;
    width: 100vw;
    height: 430px;
    left: 0;
    max-height: 0;
    z-index: 1;
    background: #F9F8F6;
    overflow: hidden;
    -webkit-box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1);
    -ms-box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1);
    -o-box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1);
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1);
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}
/*================================
        8.Full Screen Down 2
  ================================*/
  /*bk*/
.menu-full-screen-2 .menu-2 {
    position: fixed;
    width: 80vw;
    height: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    overflow: hidden;
    background: #F9F8F6;
    -webkit-transition: opacity 0.8s ease 1s;
    -moz-transition: opacity 0.8s ease 1s;
    -ms-transition: opacity 0.8s ease 1s;
    -o-transition: opacity 0.8s ease 1s;
    transition: opacity 0.8s ease 1s;
}
/*item-li*/
.menu-full-screen-2 .menu-2 ul li {
    height: 0;
    opacity: 0.5;
    z-index: 2;
    overflow: hidden;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
/*item-img*/
.menu-full-screen-2 .menu-2 ul img {
    z-index: 2;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
/*bk:hover*/
.menu-full-screen-2 > ul > li:hover .menu-2 {
    height: 430px;
    opacity: 1;
    -webkit-transition: opacity 0.6s ease;
    -moz-transition: opacity 0.6s ease;
    -ms-transition: opacity 0.6s ease;
    -o-transition: opacity 0.6s ease;
    transition: opacity 0.6s ease;
}
/*item-li:hover*/
.menu-full-screen-2 > ul > li:hover .menu-2 ul li {
    height: 40px;
    opacity: 1;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
/*item-img:hover*/
.menu-full-screen-2 > ul > li:hover .menu-2 ul img {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/*===============================================
      Nav Item Underline Animation-Collection
  ===============================================*/
  /*================================
          1.Underline-Normal
  ================================*/
.underline-normal {
    position: relative;
    cursor: pointer;
}
.underline-normal::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    left: 50%;
    bottom: 25px;
    background-color: transparent;
}
.underline-normal:hover::after {
    display: block;
    content: '';
    width: 60%;
    background-color: black;
}
/*================================
       2.Underline-Translation
  ================================*/
  .underline-translation {
    position: relative;
    cursor: pointer;
}
.underline-translation::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    left: 20%;
    bottom: 25px;
    background-color: transparent;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.underline-translation:hover::after {
    display: block;
    content: '';
    width: 60%;
    background-color: black;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/*================================
    3.1.Underline-Unfold-No-Init
  ================================*/
.underline-unfold-1 {
    position: relative;
    cursor: pointer;
}
.underline-unfold-1::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent; 
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;    
    transition: all 0.3s;
}
.underline-unfold-1:hover::after {
    display: block;
    content: '';
    width: 70%;
    background-color: black;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s; 
}
/*================================
      3.2.Underline-Unfold-Init
  ================================*/
.underline-unfold-2 {
    position: relative;
    cursor: pointer;
}
.underline-unfold-2::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.underline-unfold-2:focus::after {
    display: block;
    content: '';
    width: 70%;
    background-color: black;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
/*================================
         4.Underline-Stretch
  ================================*/
.underline-stretch {
    position: relative;
    cursor: pointer;
}
.underline-stretch::after {
    display: block;
    content: '';
    width: 0;
    height: 2px;
    position: absolute;
    left: 20%;
    bottom: 0;
    background-color: transparent; 
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
.underline-stretch:hover::after {
    display: block;
    content: '';
    width: 70%;
    background-color: #ff0000;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;    
    transition: all 0.3s ease-in; 
}