.sidenav_wrap {
    width: 0;
    height: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.sidenav_wrap.active {
    width: auto;
    height: auto;
}

.sidenav_wrap .mask {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.sidenav_wrap.active .mask {
    display: block;
}

.sidenav-content {
    width: 85vw;
    min-height: 100vh;
    background-color: #FFF;
    position: relative;
    transition: .2s all linear;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    z-index: 2;
}

.sidenav_wrap.active .sidenav-content {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
}

/*** Sidenav - Lang Bar ***/
.lang__bar {
    width: 100%;
    height: 45px;
    text-align: right;
    background-color: #0A7CEB;
    padding: 0 10px;
    position: relative;
}

.lang__bar:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.lang__bar .icon {
    font-size: 16px;
    color: #FFF;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.lang__bar_wrap {
    color: #FFF;
    display: inline-block;
}

.lang__bar_wrap > * {
    display: inline-block;
    vertical-align: middle;
}

.lang__bar_wrap .opts {
    color: #000;
}

/*** Sidenav - Menu Tab ***/
.tab__wrap {
    width: 100%;
    height: 100%;
    position: absolute;
}

.tab__wrap ul {
    margin: 0;
}

.tab-header li {
    width: 50%;
    height: 50px;
    line-height: 50px;
    font-size: 1.1em;
    text-align: center;
    background-color: #DFDFDF;
    float: left;
    cursor: pointer;
}

.tab-header li.on {
    color: #0A7CEB;
    background-color: #FFF;
    border-bottom: 3px solid #0A7CEB;
}

.tab-main {
    text-align: left;
}

.tab-main [class*="tab-"] {
    display: none;
    position: relative;
}

.tab-main [class*="tab-"].on {
    display: block;
}

/*** 會員專區 ***/
.tab-member ul {
    padding: 5px 0;
}

.tab-member ul li {
    height: 40px;
    padding: 0 10px;
    position: relative;
}

.tab-member ul li:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.tab-member [class*="item-"] * {
    line-height: 1;
    color: #000;
    display: inline-block;
    vertical-align: middle;
}

.tab-member [class*="item-"] a {
    padding: 10px 0;
}

.tab-member [class*="item-"] .icon {
    font-size: 1.3em;
    color: #0A7CEB;
    margin-right: 10px;
}

.tab-member .site-content,
.tab-member .site-content .current_site {
    position: absolute;
}

.tab-member .site-content {
    color: #2264A8;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.tab-member .site-content .current_site {
    width: 100%;
    height: 100%;
    line-height: 25px;
    text-align: right;
    color: #2264A8;
}

.tab-member .site-content .opts {
    padding: 0;
    opacity: 0;
}

[class*="menu_links_"] {
    border-top: 1px solid #F3F3F3;
}

[class*="menu_links_"]:after {
    content: '';
    display: block;
    clear: both;
}

[class*="menu_link-"] {
    width: calc(100% / 2);
    color: #2264A8;
    float: left;
}

.menu_link-handle span {
    color: #000;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
}

.menu_link-handle .link-item_handle {
    padding-left: 0;
}

.menu_link-register,
.menu_link-logout {
    text-align: right;
}

[class*="link-item_"] {
    line-height: 1;
    padding: 10px;
}

/*** 商品分類 ***/
.cate_titlebar {
    height: 40px;
    line-height: 40px;
    background-color: #C9E5FE;
}

.cate_titlebar,
[class*="cate-items-"] li {
    padding-left: 20px;
}

.cate_titlebar > * {
    display: inline-block;
    vertical-align: middle;
}

.icon_wrap {
    width: 26px;
    height: 26px;
    line-height: 1;
    background-color: #FFF;
    border-radius: 50%;
    margin-right: 5px;
}

.cate_wrap-auction .icon_wrap {
    text-align: center;
}

.icon_wrap:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.tab__wrap .icon_wrap .icon {
    font-size: 18px;
    color: #0A7CEB;
}

.tab__wrap .icon_wrap .icon-bid {
    vertical-align: -2px;
}

.tab__wrap .icon_wrap .icon-shopping-cart-full {
    vertical-align: -5px;
}

[class*="cate-items-"] li {
    height: 40px;
    color: #085394;
    border-bottom: 1px solid #F3F3F3;
}

[class*="cate-items-"] li:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

/*** Sidenav - Category List ***/
.cate_wrap-res {
    width: 100%;
    background-color: #FFF;
    display: none;
    position: absolute;
    top: 0;
}

.cate_wrap-res.active {
    display: block;
}

.cate-subtitlebar {
    line-height: 1;
    background-color: #FFDA44;
    padding: 0 10px;
}

.cate-subtitlebar > * {
    display: inline-block;
    vertical-align: middle;
}

.cate_wrap-res .cate-subtitlebar .icon {
    font-size: 16px;
    color: #000;
    padding: 10px;
}

.cate-items {
    height: calc(100vh - 45px - 50px - 36px);
    overflow-y: scroll;
}

.cate__item {
    border-bottom: 1px solid #F5F5F5;
}

.cate__item .menu-item {
    line-height: 1;
    color: #085394;
    display: block;
    padding: 10px 20px;
}

.cate__item .menu-item:hover {
    color: #000;
    background-color: #DFDFDF;
}