/*nav start*/
/*==== nav begine============================================*/
.layout-left-flyout {
  height: 100%;
  width: 70%;
  position: fixed;
  visibility: hidden;
  z-index: 0;
  background: #b6ddca;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(10%, #59dbff), color-stop(100%, #b6ddca));
  background-image: -webkit-linear-gradient(#59dbff 10%, #b6ddca 100%);
  background-image: -moz-linear-gradient(#59dbff 10%, #b6ddca 100%);
  background-image: -o-linear-gradient(#59dbff 10%, #b6ddca 100%);
  background-image: linear-gradient(#59dbff 10%, #b6ddca 100%);
  /* @include transition(visibility 0 linear .2s);
   @include backface-visibility( hidden );
   @include perspective(1000);
   @include transform-style(preserve-3d);*/
  right: 0px;
}

.layout-left-flyout.isCbFlyNavActive {
  visibility: visible;
  z-index: 1;
  /*@include transition(z-index 0 linear .2s);*/
}

.cbFlyNav-wrap {
  display: block;
  position: relative;
  height: 100%;
  /*overflow: hidden;*/
  overflow: scroll;
  width: 100%;
  padding: 0px 1.875rem 3rem 1.875rem;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.cbFlyNav-wrap > nav {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: -webkit-transform 0 ease-in-out;
  -moz-transition: -moz-transform 0 ease-in-out;
  -o-transition: -o-transform 0 ease-in-out;
  transition: transform 0 ease-in-out;
  /*    height: 100%;
      overflow-y: auto;
      overflow-x: hidden;*/
}

.nav-collapse {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.layout-right-content {
  /*@include transition(transform .2s ease-in-out);
  @include translate3d(0,0,0);
  @include perspective(1000);
  @include transform-style(preserve-3d);
  @include backface-visibility( hidden );*/
  z-index: 1;
  /* NOTE! Put container bg here so you don't
     get any clipping when the content is 
     transitioning. Any tips on alternate 
     solutions are welcome.
  */
}

.layout-right-content.isCbFlyNavActive {
  -webkit-transform: translate3d(-70%, 0, 0);
  -moz-transform: translate3d(-70%, 0, 0);
  -ms-transform: translate3d(-70%, 0, 0);
  -o-transform: translate3d(-70%, 0, 0);
  transform: translate3d(-70%, 0, 0);
  min-width: 320px;
  overflow: hidden;
}

.icon-cbmore {
  content: "";
  float: right;
  margin-top: 4.5px;
  padding: 4.5px;
  box-shadow: 1px -1px 0 0px #FFF inset;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.nav-flyout-navmask, .nav-flyout-contentmask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px -1px 0 0px white inset;
}

.nav-flyout-contentmask {
  z-index: 1;
}

.nav-flyout-navmask {
  right: 180px;
  z-index: 1;
}

/* Mobile First Nav */
.btn-navbar {
  position: relative;
  float: right;
  display: inline-block;
  z-index: 9999;
  background-image: url(../images/menu_icon.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 40px;
  height: 40px;
  margin-top: 16px;
  right: 0.5rem;
}

@media screen and (min-width: 960px) {
  .btn-navbar {
    display: none;
  }
}
@media screen and (max-width: 959px) {
  .navbar .nav-collapse {
    display: none;
  }
}
/*==== nav begine============================================*/
.navbar ul.sitemap {
  display: inline-block;
}

nav a:link {
  /*原白 color: white;*/
	color: #393939;
  text-decoration: none;
}
nav a:visited {
  text-decoration: none;
  /*原白 color: white;*/
	color: #393939;
}
nav a:hover, nav a:active {
  text-decoration: none;
  /*原白 color: white;*/
	color: #393939;
	text-shadow: 0px 0px 1px #89e0e0;
}
nav > ul#navID {
  background-color: transparent;
  margin-bottom: 2rem;
}
nav > ul#navID > li a {
  display: inherit;
  text-align: left;
  background-color: transparent;
  padding: 1rem 8px 1rem 16px;
  border-bottom: 1px solid white;
  font-family: "Microsoft JhengHei", Verdana, Arial;
}
nav > ul#navID > li a:before {
  content: none;
}
nav > ul#navID > li div {
  display: none;
  background-color: #59dbff;
}
nav > ul#navID > li div li {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid white;
  margin: 0px;
  padding: 5px 0px 0px 0px;
}
nav > ul#navID > li div li a:link {
  /*原白 color: white;*/
	color: #393939;
  text-decoration: none;
}
nav > ul#navID > li div li a:visited {
  text-decoration: none;
  /*原白 color: white;*/
	color: #393939;
}
nav > ul#navID > li div li a:hover, nav > ul#navID > li div li a:active {
  text-decoration: none;
  /*原白 color: white;*/
	color: #393939;
}
nav > ul#navID > li div a {
  background-color: #59dbff;
  padding-left: 40px;
}
nav > ul#navID > li div a:after {
  content: none;
  line-height: 38px;
  margin: 0px;
  padding: 0px 0px 0px 0px;
}
nav > ul#navID + span {
  display: none;
}
nav .lang {
  position: relative;
  margin: 0px auto;
  height: 22px;
  clear: both;
}
nav .lang ul {
  width: auto;
  height: 22px;
  display: inline-table;
}
nav .lang li {
  display: table-cell;
  padding: 0;
  margin-right: 4px;
  vertical-align: middle;
  text-align: center;
  border: 1px solid #d6d6d6;
  float: left;
}
nav .lang li:hover {
  background-color: #c76b94;
  background: -webkit-linear-gradient(#e37da4, #9b49db);
  background: -o-linear-gradient(#e37da4, #9b49db);
  background: -moz-linear-gradient(#e37da4, #9b49db);
  background: linear-gradient(#e37da4, #9b49db);
}
nav .lang li:hover a {
  color: #ffffff;
  text-decoration: none;
}
nav .lang li a {
  text-decoration: none;
  display: table-cell;
  vertical-align: middle;
  height: 22px;
  line-height: 1.375rem;
  padding: 0px 0.625rem 2px 0.625rem;
  /*&:hover{
    background-color: #c76b94;
    color:#f6f5f4;
    text-decoration: none;
  }*/
}
nav .lang li:last-child {
  margin: 0px;
}
nav .lang li.on {
  background-color: #c76b94;
  background: -webkit-linear-gradient(#e37da4, #9b49db);
  background: -o-linear-gradient(#e37da4, #9b49db);
  background: -moz-linear-gradient(#e37da4, #9b49db);
  background: linear-gradient(#e37da4, #9b49db);
}
nav .lang li.on a {
  color: #ffffff;
  text-decoration: none;
}
@media (min-width: 60em) {
  nav .lang {
    width: 750px;
  }
  nav .lang ul {
    float: right;
    padding: 0px;
  }
  nav .lang li a {
    color: #1D83D8;
  }
}

/* style menu items which have a submenu  */
#navID li > a {
  position: relative;
}

@media (min-width: 37.5em) {
  nav > ul#navID > li a {
    font-family: arial;
    line-height: 2em;
  }
}
@media (min-width: 60em) {
  .index nav {
    width: 100%;
  }

  .navbar {
    height: 45px;
  }
  .navbar ul.sitemap {
    display: none;
  }

  nav {
    background: transparent;
    height: 45px;
    width: 100%;
    background-color:#f3f3f3;
	/*原綠 background-color: #0aa04f;*/
    margin-top: 0em;
    display: inline-block;
    z-index: 9999;
    position: relative;
  }
  nav * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  nav a:link {
    color: #393939;
    text-decoration: none;
  }
  nav a:visited {
    text-decoration: none;
    color: #393939;
  }
  nav a:hover, nav a:active {
    text-decoration: none;
    color: #393939;
	/*原a三個 都white*/
  }
  nav > ul#navID {
    width: 60em;
    height: 45px;
    margin: 0px auto;
    background-color: transparent;
    padding-left: 2rem;
	margin-top:-18px;
  }
  nav > ul#navID > li {
    display: inline-table;
    height: 45px;
    float: left;
    line-height: 45px;
    text-align: center;
    line-height: 45px;
    margin-left: 0em;
    margin-right: 0em;
    width: auto;
    margin: 0px 2rem;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
  }
  nav > ul#navID > li:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2098d1;
    height: 4px;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }
  nav > ul#navID > li:hover:before, nav > ul#navID > li:focus:before, nav > ul#navID > li:active:before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  nav > ul#navID > li > a {
    height: 45px;
    line-height: 1.5em;
    font-family: "Microsoft JhengHei", Verdana, Arial;
    font-size: 1.25rem;
    line-height: 45px;
    display: inherit;
    position: relative;
    z-index: 9998;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    margin: 0px auto;
    padding: 0px;
    background-color: transparent;
    border-bottom: 0px solid white;
    /*border-bottom: 5px solid transparent;
    border-bottom-color: #e47da3;
    -moz-border-image: -moz-linear-gradient(#e47da3 0%, #a251d2 75%);
    -webkit-border-image: -webkit-linear-gradient( #e47da3 0%, #a251d2 75%);
    border-image: linear-gradient(#e47da3 0%, #a251d2 75%);
    border-image-slice: 1;*/
    line-height: 45px;
  }
  nav > ul#navID > li > a.on {
    /*原白 color: white;*/
	color: #393939;
    text-decoration: none;    
    /*background-image: url("../images/nav_border.png");
    background-repeat: repeat-x;
    background-position: left bottom;	*/
    /*原黃border-bottom: 4px solid #ffca30;*/
	border-bottom: 4px solid #eb8926;
	text-shadow: 0px 0px 1px #89e0e0;
  }
  nav > ul#navID > li div.mmcontent {
    display: none;
    background-color: #eceff1;
    border-color: #0082b4;
  }
  nav > ul#navID > li div.mmcontent li, nav > ul#navID > li div.mmcontent a {
    display: inline-block;
  }
  nav > ul#navID > li div.mmcontent .third_item {
    display: none;
  }
  nav > ul#navID > li:hover {
    padding-top: 0px;
  }
  nav > ul#navID > li:hover > a {
    text-align: center;
    /*background-image: url("../images/nav_border.png");
    background-repeat: repeat-x;
    background-position: left bottom;*/
    /*原黃border-bottom: 4px solid #ffca30;*/
	border-bottom: 4px solid #eb8926;
  }
  nav > ul#navID > li:hover > a.on {
    color: white;
    text-decoration: none;
    /*background-image: url("../images/nav_border.png");
    background-repeat: repeat-x;
    background-position: left bottom;*/
    /*原黃border-bottom: 4px solid #ffca30;*/
	border-bottom: 4px solid #eb8926;
  }
  nav > ul#navID > li:hover > a:link {
    /*原白 color: white;*/
	color: #393939;
    text-decoration: none;
  }
  nav > ul#navID > li:hover > a:visited {
    text-decoration: none;
   /*原白 color: white;*/
	color: #393939;
  }
  nav > ul#navID > li:hover > a:hover, nav > ul#navID > li:hover > a:active {
    text-decoration: none;
   /*原白 color: white;*/
	color: #393939;
  }
  nav > ul#navID > li:hover div.mmcontent {
    border-top: 2px;
    border-right: 2px;
    border-bottom: 2px;
    border-left: 2px;
    border-style: solid;
    border-color: #0082b4;
    border-top-color: #0082b4;
    border-top: 2px;
    line-height: normal;
    display: inline-block;
    clear: both;
    z-index: 9999;
    position: relative;
    padding: 0;
  }
  nav > ul#navID > li:hover div.mmcontent ul {
    padding: 0px;
    display: inline-block;
    clear: both;
    z-index: 9999;
  }
  nav > ul#navID > li:hover div.mmcontent li {
    display: inline-block;
    float: none;
    line-height: 0px;
    padding-top: 0em;
    padding-right: 0em;
    padding-bottom: 0em;
    padding-left: 0em;
    width: 7.5em;
    line-height: normal;
    width: 100%;
    padding: 0px 10px 0px 0px;
  }
  nav > ul#navID > li:hover div.mmcontent li a:link {
    color: #006199;
    text-decoration: none;
  }
  nav > ul#navID > li:hover div.mmcontent li a:visited {
    text-decoration: none;
    color: #794686;
  }
  nav > ul#navID > li:hover div.mmcontent li a:hover, nav > ul#navID > li:hover div.mmcontent li a:active {
    text-decoration: none;
    color: #bc5d00;
  }
  nav > ul#navID > li:hover div.mmcontent li a {
    display: none;
    text-align: left;
    background-color: #eceff1;
    min-width: 7.5em;
    border-top: 0px;
    border-right: 0px;
    border-bottom: 0px;
    border-left: 0px;
    border-style: solid;
    border-color: white;
    line-height: 4em;
    padding-top: 0.5em;
    padding-right: 0em;
    padding-bottom: 0.5em;
    padding-left: 1.8em;
    display: block;
    font-size: 1.125em;
    line-height: 1.33333em;
    width: 100%;
  }
  nav > ul#navID > li:hover div.mmcontent li a:hover {
    background-color: transparent;
  }
  nav > ul#navID > li:hover div.mmcontent li:first-child a {
    border-top: 0px;
  }
  nav > ul#navID > li:hover div.mmcontent li a {
    height: inherit;
  }
  nav > ul#navID > li:hover div.mmcontent li a:hover {
    background-image: url(../images/arrow_sec_bullet_hover.png);
    background-repeat: no-repeat;
    background-position: 0em 1.2em;
  }
  nav > ul#navID > li:hover div.mmcontent li:hover {
    background-color: #eaeff0;
  }

  nav li > a + div > ul > li + span {
    display: none;
  }
}
.ie nav .lang li a {
  padding-top: 2px;
  padding-bottom: 0px;
}

nav > ul#navID > li a:fwhiteocus {
  /*原白color: ;*/
   color: #0085c8;
  text-decoration: none;
  /*background-image: url("../images/nav_border.png");
  background-repeat: repeat-x;
  background-position: left bottom;*/
  /*原黃border-bottom: 4px solid #ffca30;*/
	border-bottom: 4px solid #eb8926;
	text-shadow: 0px 0px 1px #89e0e0;
}
