/**, *:after, *:before {
  box-sizing: border-box;
}*/ /*2017-01-26編輯*/

.animenu__toggle {
    display: none;
    cursor: pointer;
    background-color: #111;
    border: 0;
    padding: 10px;
    height: 40px;
    width: 40px;
}

.animenu__toggle:hover {
    background-color: #0186ba;
}

.animenu__toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
    -o-transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
    transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
}

.animenu__toggle__bar + .animenu__toggle__bar {
    margin-top: 4px;
}

.animenu__toggle--active .animenu__toggle__bar {
    margin: 0;
    position: absolute;
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
    opacity: 0;
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


.animenu {
    display: block; /*2017-04-20編輯*/
    text-align: center; /*2017-06-02編輯*/
}

.animenu ul {
    font-family: Heiti TC, 'Noto Sans TC', "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif; /*2017-04-20編輯*/
    padding: 0;
    list-style: none;
    /*border-radius: 10px;*//*2017-04-20編輯*/
    /*margin:0 auto -3px auto !important;*/ /*2017-06-02編輯*/
    z-index: 10; /*2017-04-20編輯*/
}

.animenu li, .animenu a {
    display: inline-block;
    font-size: 15px;
}

.animenu a {
    color: #ffffff; /*2017-01-18編輯*/
    text-decoration: none;
}

.animenu a:hover {
    color: #FFB600 !important; /*2017-01-18編輯*/
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}


.animenu__nav {
    background-color: #634d8b !important; /*2016-12-06編輯*/ /*2018-04-12編輯 by Alice*/
    /*background:url(../images/menu_bg.png) top center repeat-x;*/ /*2018-04-12編輯 by Alice*/
}

.animenu__nav > li {
    position: relative;
    /*border-right: 1px solid #727171;*/ /*2017-06-02編輯*/
    /*padding: 0 3em 0 3em;*/ /*2017-06-02編輯*/
}

.animenu__nav > li > a {
    /*padding: 10px 30px;
    text-transform: uppercase;*/ /*2016-12-06編輯*/
    padding: 16px; /*2018-04-12編輯 by Alice.J*/
}

.animenu__nav > li > a.active {
    color: #634d8b;
    background-color: #fff;
}

/*.animenu__nav > li > a:first-child:nth-last-child(2):before {
  content: "";
  position: absolute;
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
  top: 50%;
  margin-top: -2px;
  right: 10px;
}*/ /*2016-12-06編輯*/
.animenu__nav > li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

.animenu__nav > li:hover > a {
    color: #fff;
}

.animenu__nav__child {
    width: 150px; /*2017-01-18編輯*/
    min-width: 100%;
    position: absolute;
    top: 100%;
    left: 0; /*2017-04-20編輯*/
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    margin: 20px 0 0 0;
    background-color: rgba(0, 113, 188, 0.9); /*2017-04-20編輯*/
    transition: margin .15s, opacity .15s;
}

.animenu__nav__child > li {
    width: 100%;
    /*border-bottom: 1px solid #515151;*//*2017-01-18編輯*/
}

/*.animenu__nav__child > li:first-child > a:after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  left: 1em;
  top: -6px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: inherit;
}*/ /*2017-01-25編輯*/
.animenu__nav__child > li:last-child {
    border: 0;
}

.animenu__nav__child a {
    padding: 10px 0 10px 0; /*2017-04-20編輯*/
    width: 100%;
    border-color: #373737;
}

.animenu__nav__child a:hover {
    /*background-color: #0186ba;*/ /*2017-01-18編輯*/
    border-color: #0186ba;
    color: #00c08a; /*2017-01-18編輯*/
    text-decoration: none; /*2017-01-18編輯*/
    -webkit-transition: all 0.3s ease-in-out; /*2017-01-18編輯*/
    -moz-transition: all 0.3s ease-in-out; /*2017-01-18編輯*/
    -ms-transition: all 0.3s ease-in-out; /*2017-01-18編輯*/
    -o-transition: all 0.3s ease-in-out; /*2017-01-18編輯*/
    transition: all 0.3s ease-in-out; /*2017-01-18編輯*/
}

@media (max-width: 1151px) {
    .animenu__nav,
    .animenu__nav__child {
        display: none;
    }
}


@media (max-width: 1069px) {

    .animenu__toggle {
        display: inline-block;
    }

    .animenu__nav {
        margin: 10px 0;
    }

    .animenu__nav > li {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #515151;
    }

    .animenu__nav > li:last-child {
        border: 0;
    }

    .animenu__nav > li:first-child > a:after {
        content: '';
        position: absolute;
        height: 0;
        width: 0;
        left: 1em;
        top: -6px;
        border: 6px solid transparent;
        border-top: 0;
        border-bottom-color: inherit;
    }

    .animenu__nav > li > a {
        width: 100%;
        padding: 10px;
        border-color: #111;
        position: relative;
    }

    .animenu__nav a:hover {
        background-color: #0186ba;
        border-color: #0186ba;
        color: #fff;
    }

    .animenu__nav__child {
        position: static;
        background-color: #373737;
        margin: 0;
        transition: none;
        visibility: visible;
        opacity: 1;
    }

    .animenu__nav__child > li:first-child > a:after {
        content: none;
    }

    .animenu__nav__child a {
        padding-left: 20px;
        width: 100%;
    }
}

.animenu__nav--open {
    display: block !important;
}

.animenu__nav--open .animenu__nav__child {
    display: block;
}
