/*-- mobile menu --*/
.mobile_menu{
  width: 65px;
  height: 65px;
  position: fixed;
  right: 0;
  display: none;
  top: 0;
  border-radius: 100%;
}
#toggle {
  width: 65px;
  height: 65px;
  margin: 0 auto;
  position: relative;
  z-index: 999999999;
  display: flex;
  justify-content: center;
  padding: 10px;
  flex-wrap: wrap;
  align-content: center;
  background-color: #eb8302;
}

.one,.two,.three {
  height: 3px;
  background: #ffffff;
  margin: 2px 0px;
  transition: all 0.3s;
  backface-visibility: hidden;
  float: right;
  border-radius: 20px;
}
.one{
  width: 30px;
}
.two{
  width: 20px;
}
.three{
  width: 30px;
}
#toggle.on .one {
   width:20px
}

#toggle.on .two {
  width:30px
}

#toggle.on .three {
   width:20px
}

#menu {
    background-color: #fffffffa;
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    padding: 95px 20px 0 20px;
    border-radius: 3px;
    text-align: center;
    margin: auto;
    z-index: 0;
    display: none;
}
#menu .search_input{
  width: 100%;
  border: 1px solid #b5b5b5;
  border-radius: 5px;
  padding: 10px;
}
#menu > a{
  width: 100%;
  float: left;
  text-align: left;
  color: #5b5b5b;
  font-size: 16px;
  padding: 15px 0;
  padding-left: 20px;
  font-weight: 600;
}
#menu > div{
  width: 90%;
  height: auto;
  display: flex;
  /* justify-content: center; */
  position: relative;
  /* padding-left: 6px; */
  border-top: 1px solid #ffffff87;
  margin: 0 auto;
}
#menu > div .serch_box{
  margin-top: 20px;
}
#menu > div > a{
  /* color: #fff; */
  /* border-bottom: 2px solid #fff; */
  /* padding-bottom: 10px; */
  margin: 10px 15px;
}
.container {
  position: absolute;
  width: 100%;
  heigh: 100%;
  text-align: center;
  top: 40%;
  left: 0;
  margin:  0 auto;
}

.container > p{
    font-size: 20px;
  }
  
.container > a{
    display: inline-block;
    position: relative;
    text-align: center;
    color: #272727;
    text-decoration: none;
    font-size: 20px;
    overflow: hidden;
    top: 5px;
}
.container > a::after {
      content: '';
      position: absolute;
      background: #555;
      height: 2px;
      width: 0%;
      transform: translateX(-50%);
      left: 50%;
      bottom: 0;
      transition: .35s ease;
    }
.container > a:hover:after,
.container > a:focus:after,
.container > a:active:after {
      width: 100%;
    }

.button_container {
  position: fixed;
  top: 5%;
  right: 2%;
  height: 2px;
  width: 20px;
  cursor: pointer;
  z-index: 100;
  transition: opacity .25s ease;
}
.button_container:hover {
    opacity: .7;
  }

.button_container:active .top {
      transform: translateY(11px) translateX(0) rotate(45deg);
      background: #555;
    }
.button_container:active .middle {
      opacity: 0;
      background: #555;
    }
.button_container:active .bottom {
      transform: translateY(-11px) translateX(0) rotate(-45deg);
      background: #555;
    }
  
.button_container > span {
  background: #555;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition:  all .35s ease;
  cursor: pointer;
}
    
.button_container > span:nth-of-type(2) {
      top: 11px;
    }
    
.button_container > span:nth-of-type(3) {
      top: 22px;
    }


.overlay {
  position: fixed;
  background: #555;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
}
.overlay .open {
    opacity: .9;
    visibility: visible;
    height: 100%;
}
.overlay .open > li {
      animation: fadeInRight .5s ease forwards;
      animation-delay: .35s;
}
.overlay .open > li:nth-of-type(2) {
        animation-delay: .4s;
      }
.overlay .open > li:nth-of-type(3) {
        animation-delay: .45s;
      }
.overlay .open > li:nth-of-type(4) {
        animation-delay: .50s;
      }
.overlay-menu {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-family: 'Vollkorn', serif;
    font-weight: 400;
    text-align: center;
  }
.overlay-menu > ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%; 
}
.overlay-menu > ul > li {
      display: block;
      height: 25%;
      height: calc(100% / 4);
      min-height: 50px;
      position: relative;
      opacity: 0;
}
.overlay-menu > ul > li > a {
        display: block;
        position: relative;
        color: #272727;
        text-decoration: none;
        overflow: hidden;
}
.overlay-menu > ul > li > a:hover:after,
.overlay-menu > ul > li > a:focus:after,
.overlay-menu > ul > li > a:active:after {
           width: 100%;
         }
        
.overlay-menu > ul > li > a:after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 50%;
          width: 0%;
          transform: translateX(-50%);
          height: 3px;
          transition: .35s;
        }


@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

















/*--== pro_mobile_menu ==--*/
.mobile_pro{
  width: 90%;
  z-index:1;
  display: none;
}
.menu_pro_box{
  width:100%;
  padding: 15px 10px;
  background-color: #667d98;
  border-radius: 5px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 5px solid #61b8c5;
}
.nav_pro_box{
  display: none;
  width: 100%;
  padding: 0px 0px 0px 0px;
  float: right;
  background-color: #66b5c0;
  border-radius: 5px;
  border: 1px solid #f2f2f2;
  border-bottom: 10px solid #4198a5;
}
.menu_pro_box ul:nth-child(1){
  padding-left:10px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Raleway-Regular","微軟正黑體";
}
.icon{
  width: 40px;
  height: 22px;
  background-color:#fff;
  border-radius:30px;
  color: #65768d;
  text-align: center;
  line-height: 20px;
}