/*
	jQuery.mmenu CSS
*/
/*
	jQuery.mmenu panels CSS
*/

#nav ul {
    display: none;
}

/*預先隱藏選單*/

@media screen and (min-width: 1024px) {

    #nav,
    #MenuMobile,
    .switch {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    .switch a {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        /*z-index: 9998;*/
        z-index: 10001;
        background-color: #fff;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        transition: all 0.5s ease;
        transition-delay: 0.5s;
    }

    html.mm-opening .switch a {
        opacity: 0;
        transition-delay: 0s;
        -webkit-transition: all 0s ease;
        -moz-transition: all 0s ease;
        transition: all 0s ease;
    }

    .menu-action::after,
    .menu-action::before,
    .menu-action > i::before {
        background: #e99222 none repeat scroll 0 0;
        content: "";
        height: 2px;
        left: 0;
        position: absolute;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        -o-border-radius: 2px;
        border-radius: 2px;
    }

    .menu-action,
    .menu-action > i {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .menu-action::after {
        bottom: 7px;
    }

    .menu-action::before {
        top: 7px;
    }

    .menu-action > i {
        height: 2px;
        left: 0;
    }

    .menu-action > i::before {
        top: 0;
    }

    .switch a {
        width: 50px;
        height: 50px;
    }

    .menu-action::after,
    .menu-action::before,
    .menu-action > i::before,
    .menu-action,
    .menu-action > i {
        width: 26px;
    }

    .menu-action {
        height: 30px;
        left: 50%;
        margin-left: -15px;
    }


    /*html.mm-opening .switch a { position:absolute; }*/
    .mm-menu.mm-horizontal > .mm-panel {
        -webkit-transition: -webkit-transform 0.5s ease;
        transition: transform 0.5s ease;
        /*-moz-box-shadow: inset -6px 0 3px -3px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: inset -6px 0 3px -3px rgba(0, 0, 0, 0.25);
        box-shadow: inset -6px 0 3px -3px rgba(0, 0, 0, 0.25);*/
    }

    .mm-menu .mm-hidden {
        display: none;
    }

    .mm-wrapper {
        overflow-x: hidden;
        position: relative;
    }

    .mm-menu,
    .mm-menu > .mm-panel {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 0;
    }

    .mm-menu {
        background: inherit;
        display: block;
        overflow: hidden;
        padding: 0;
    }

    .mm-menu > .mm-panel {
        background: inherit;
        -webkit-overflow-scrolling: touch;
        overflow: scroll;
        overflow-x: hidden;
        overflow-y: auto;
        box-sizing: border-box;
        padding: 20px;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .mm-menu > .mm-panel.mm-opened {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }

    .mm-menu > .mm-panel.mm-subopened {
        -webkit-transform: translateX(-30%);
        transform: translateX(-30%);
    }

    .mm-menu > .mm-panel.mm-highest {
        z-index: 1;
    }

    .mm-menu .mm-list {
        padding: 5px 0;
    }

    .mm-menu > .mm-list {
        padding-bottom: 0;
    }

    .mm-menu > .mm-list:after {
        content: '';
        display: block;
        height: 40px;
    }

    .mm-panel > .mm-list {
        margin-left: -20px;
        margin-right: -20px;
    }

    .mm-panel > .mm-list:first-child {
        padding-top: 0;
    }

    .mm-list,
    .mm-list > li {
        list-style: none;
        display: block;
        padding: 0;
        margin: 0;
    }

    .mm-list {
        font: inherit;
    }

    .mm-list a,
    .mm-list a:hover {
        text-decoration: none;
    }

    /*.mm-list li:hover { background-color:#e60012; }
.mm-list li.mm-search:hover { background-color:transparent; }*/
    .mm-list > li {
        position: relative;
        font-size: 0.875em;
    }

    .mm-list > li > a,
    .mm-list > li > span {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        color: inherit;
        /*line-height: 180%;*/
        color: #e99222;
        display: block;
        padding: 5px 10px 5px 20px;
        margin: 0;
    }

    .mm-list > li:hover > a,
    .mm-list > li:hover > span {
        color: #7a7877;
    }

    .mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults):after {
        content: '';
        /*border-bottom: 1px solid #DFDFDF;*/
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults):after {
        width: auto;
        margin-left: 20px;
        position: relative;
        left: auto;
    }

    .mm-list a.mm-subopen {
        width: 52px;
        height: 100%;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
    }

    .mm-list a.mm-subopen:before {
        /*content: '';
        border-left-width: 1px;
        border-left-style: solid;
        display: block;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;*/
    }

    .mm-list a.mm-subopen.mm-fullsubopen {
        width: 100%;
    }

    .mm-list a.mm-subopen.mm-fullsubopen:before {
        border-left: none;
    }

    .mm-list a.mm-subopen + a,
    .mm-list a.mm-subopen + span {
        padding-right: 5px;
        margin-right: 45px;
    }

    .mm-list > li.mm-selected > a.mm-subopen {
        background: transparent;
    }

    .mm-list > li.mm-selected > a.mm-fullsubopen + a,
    .mm-list > li.mm-selected > a.mm-fullsubopen + span {
        padding-right: 45px;
        margin-right: 0;
    }

    .mm-list a.mm-subclose {
        text-indent: 20px;
        padding-top: 30px;
        margin-top: -20px;
    }

    .mm-list > li.mm-label {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        text-transform: uppercase;
        text-indent: 20px;
        line-height: 25px;
        padding-right: 5px;
    }

    .mm-list > li.mm-spacer {
        padding-top: 40px;
    }

    .mm-list > li.mm-spacer.mm-label {
        padding-top: 25px;
    }

    .mm-list a.mm-subopen:after,
    .mm-list a.mm-subclose:before {
        content: '';
        border: 2px solid transparent;
        display: inline-block;
        width: 7px;
        height: 7px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-bottom: -5px;
        position: absolute;
        bottom: 50%;
    }

    .mm-list a.mm-subopen:after {
        border-top: none;
        border-left: none;
        right: 23px;
    }

    .mm-list a.mm-subclose:before {
        border-right: none;
        border-bottom: none;
        margin-bottom: -18px;
        left: 22px;
    }

    .mm-menu.mm-vertical .mm-list .mm-panel {
        display: none;
        padding: 10px 0 10px 10px;
    }

    .mm-menu.mm-vertical .mm-list .mm-panel li:last-child:after {
        border-color: transparent;
    }

    .mm-menu.mm-vertical .mm-list li.mm-opened > .mm-panel {
        display: block;
    }

    .mm-menu.mm-vertical .mm-list > li.mm-opened > a.mm-subopen {
        height: 40px;
    }

    .mm-menu.mm-vertical .mm-list > li.mm-opened > a.mm-subopen:after {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 16px;
        right: 16px;
    }

    .mm-menu.mm-vertical .mm-list > li.mm-opened.mm-label > a.mm-subopen {
        height: 25px;
    }

    html.mm-opened .mm-page {
        /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);*/
    }

    .mm-menu {
        /*background: transparent;*/
    }

    .mm-menu .mm-list > li:after {
        border-color: rgba(0, 0, 0, 0.15);
    }

    .mm-menu .mm-list > li > a.mm-subclose {
        /*background: rgba(0, 0, 0, 0.05);*/
        color: #e99222;
        font-size: 0.75em;
    }

    .mm-menu .mm-list > li:hover > a.mm-subclose {
        color: #7a7877;
    }

    .mm-menu .mm-list > li > a.mm-subopen:after,
    .mm-menu .mm-list > li > a.mm-subclose:before {
        border-color: rgba(0, 0, 0, 0.3);
    }

    /*.mm-menu .mm-list > li:hover > a.mm-subopen:after, .mm-menu .mm-list > li:hover > a.mm-subclose:before {
	border-color: rgba(255, 255, 255, 1);
}*/
    .mm-menu .mm-list > li > a.mm-subopen:before {
        border-color: rgba(0, 0, 0, 0.15);
    }

    /*.mm-menu .mm-list > li > a.mm-subclose:after {
	content:'返回';
}*/
    .mm-menu .mm-list > li.mm-selected > a:not(.mm-subopen),
    .mm-menu .mm-list > li.mm-selected > span {
        background: rgba(0, 0, 0, 0.1);
    }

    .mm-menu .mm-list > li.mm-label {
        background: rgba(255, 255, 255, 0.05);
    }

    .mm-menu.mm-vertical .mm-list li.mm-opened > a.mm-subopen,
    .mm-menu.mm-vertical .mm-list li.mm-opened > ul {
        background: rgba(255, 255, 255, 0.05);
    }

    /*
	jQuery.mmenu offcanvas addon CSS
*/
    .mm-page {
        -webkit-transition: -webkit-transform 0.4s ease;
        transition: transform 0.5s ease;
    }

    .mm-opened .mm-page::before {
        content: "";
        display: block;
        /*background-color: rgba(0, 0, 0, 0.6);*/
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10005;
    }

    html.mm-opened {
        overflow: hidden;
        position: relative;
    }

    html.mm-opened body {
        overflow: hidden;
    }

    html.mm-opened .mm-page {
        box-sizing: border-box;
        position: relative;
    }

    html.mm-background .mm-page {
        background: inherit;
    }

    #mm-blocker {
        background: rgba(3, 2, 1, 0);
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
    }

    html.mm-opened #mm-blocker,
    html.mm-blocking #mm-blocker {
        display: block;
    }

    .mm-menu.mm-offcanvas {
        display: none;
        position: fixed;
    }

    .mm-menu.mm-current {
        display: block;
    }

    .mm-menu {
        width: 80%;
        min-width: 240px;
        max-width: 440px;
        background: rgb(255, 255, 255);
        /*background: -moz-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);*/
    }

    html.mm-opening .mm-page,
    html.mm-opening #mm-blocker {
        -webkit-transform: translate(80%, 0);
        transform: translate(80%, 0);
    }
}

@media all and (max-width: 175px) {

    html.mm-opening .mm-page,
    html.mm-opening #mm-blocker {
        -webkit-transform: translate(140px, 0);
        transform: translate(140px, 0);
    }
}

@media all and (min-width: 550px) {

    html.mm-opening .mm-page,
    html.mm-opening #mm-blocker {
        -webkit-transform: translate(440px, 0);
        transform: translate(440px, 0);
    }
}

/*
	jQuery.mmenu searchfield addon CSS
*/
.mm-search,
.mm-search input {
    box-sizing: border-box;
}

.mm-list > li.mm-search {
    margin: 10px;
}

.mm-list > li.mm-subtitle + li.mm-search {
    margin-top: 0;
}

div.mm-panel > div.mm-search {
    padding: 0 0 10px 0;
}

.mm-menu.mm-hasheader .mm-list > li.mm-search {
    margin-top: 0;
}

/*.mm-menu > .mm-search {
  background: inherit;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-bottom:1px solid #d4d4d4;
  -webkit-box-shadow:0px 5px 5px rgba(0,0,0,0.1); -moz-box-shadow:0px 5px 5px rgba(0,0,0,0.1); box-shadow:0px 5px 5px rgba(0,0,0,0.1);
}*/

.mm-menu .mm-search {
    background: inherit;
    z-index: 2;
    /*border-bottom: 1px solid #D6D6D6;
    -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);*/
    display: none;
    visibility: hidden;
}

.mm-menu .mm-search .search_box {
    display: block;
    padding: 0;
    margin-right: 40px;
    position: relative;
    overflow: visible;
}

.mm-menu .mm-search .search_box input[type="text"] {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    background-image: none;
    padding: 0 10px;
    box-shadow: none;
}

.mm-menu .mm-search .search_box .btn {
    display: block;
    position: absolute;
    top: 0;
    right: -40px;
    padding: 0;
    width: 40px;
    height: 40px;
    text-indent: -10000px;
    font-size: 0;
    line-height: 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: #fff url("../images/icon_search.png") no-repeat 10px 2px;
}

.mm-search {
    padding: 13px 10px;
}

.mm-search input {
    border: none;
    box-sizing: border-box;
    font: inherit;
    font-size: 14px;
    line-height: 40px;
    outline: none;
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
}

.mm-search input::-ms-clear {
    display: none;
}

.mm-menu .mm-noresultsmsg {
    text-align: center;
    font-size: 21px;
    display: none;
    padding: 60px 0;
}

.mm-menu .mm-noresultsmsg:after {
    border: none !important;
}

.mm-noresults .mm-noresultsmsg {
    display: block;
}

.mm-menu li.mm-nosubresults > a.mm-subopen {
    display: none;
}

.mm-menu li.mm-nosubresults > a.mm-subopen + a,
.mm-menu li.mm-nosubresults > a.mm-subopen + span {
    padding-right: 10px;
}

.mm-menu.mm-hassearch > .mm-panel {
    padding-top: 62px;
    background: #fff;
}

.mm-menu.mm-hassearch > .mm-panel > .mm-list:first-child {
    margin-top: -20px;
}

.mm-menu.mm-hasheader > .mm-panel > div.mm-search:first-child {
    margin-top: -10px;
}

.mm-menu.mm-hasheader > .mm-panel > div.mm-search:first-child + .mm-list {
    padding-top: 0;
}

.mm-menu .mm-search input {
    color: #000;
}

.mm-menu .mm-noresultsmsg {
    color: #000;
}

.mm-list > li.mm-search:hover > span {
    background-color: #eee;
}

/*
	jQuery.mmenu pageshadow extension CSS
*/
.mm-menu:after {
    content: "";
    display: block;
    width: 20px;
    height: 120%;
    position: absolute;
    left: 100%;
    top: -10%;
    z-index: 99;
}

.mm-menu.mm-next:after,
.mm-menu.mm-front:after {
    content: none;
    display: none;
}

.mm-menu:after {
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
}

/* mm-footer */
.mm-footer::after {
    display: none !important;
}

.mm-footer section {
    display: block;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
}

.mm-footer section::after {
    content: '';
    display: block;
    clear: both;
}

.mm-footer .lang {
    /*float: left;*/
    display: block;
    font-size: 0.75em;
    display: none;
    visibility: hidden;
}

.mm-footer .lang dt {
    /*display: none;*/
    color: #7a7877;
}

.mm-footer .lang dd {
    display: inline-block;
    margin-right: 6px;
    padding-right: 8px;
    position: relative;
}

.mm-footer .lang dd:last-child {
    margin-right: 0;
    padding-right: 0;
}

.mm-footer .lang dd::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 16px;
    margin-top: -8px;
    /*background-color: #333;*/
}

.mm-footer .lang dd:last-child::after {
    display: none;
}

.mm-footer .lang a {
    display: block;
    text-align: left;
    color: #e99222;
    /*line-height: 36px;*/
    text-decoration: none;
}

.mm-footer .lang a:hover,
.mm-footer .lang a:focus {
    color: #7a7877;
}

.mm-footer .social {
    /*float: left;*/
    display: block;
    font-size: 0.75em;
    margin-top: 10px;
}

.mm-footer .social dt {
    display: none;
    color: #7a7877;
}

.mm-footer .social dd {
    display: inline-block;
    margin-right: 4px;
}

.mm-footer .social a {
    display: block;
    width: 24px;
    height: 24px;
    background-color: #e99222;
    position: relative;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.mm-footer .social a:hover,
.mm-footer .social a:focus {
    background-color: #7a7877;
}

.mm-footer .social a span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
}

.mm-footer .social a span img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}
