 /**
  * mobile fixed footer
  */

.fixed-footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 999;
    overflow: hidden;
    background-color: #fff;
    padding: 0 8px 15px;
    border-top: 1px solid #ddd;
    line-height: initial;
}

.fixed-footer ul {
    display: flex;
}

.fixed-footer ul li {
    text-align: center;
    flex: 1;
    font-size: 12px;
}

.fixed-footer ul li a i,
.fixed-navbar ul li a i{
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: block;
    position: relative;
    /*margin: 5px auto 2px;*/
}

.fixed-footer ul li a i{
    margin: 5px auto 2px;
}

.fixed-footer .home i.home-icon,
.fixed-navbar .home i.home-icon {
    background-image: url(../../images/footer/icon-tab-home-default.svg);
}

.fixed-footer .goback i.store-icon {
    background-image: url(../../images/footer/icon-tab-sell-default.svg);
}

.fixed-footer .coupon-menu i.coupon-icon,
.fixed-navbar .coupon-menu i.coupon-icon {
    background-image: url(../../images/footer/icon-tab-coupon-default.svg);
}

.fixed-footer .chat i.chat-icon,
.fixed-navbar .chat i.chat-icon {
    background-image: url(../../images/footer/icon-tab-chat-default.svg);
}

.fixed-footer .member i.member-icon,
.fixed-navbar .member i.member-icon {
    background-image: url(../../images/footer/icon-tab-profile-default.svg);
}

.fixed-footer .home.home-on a,
.fixed-footer .goback.store-on a,
.fixed-footer .coupon-menu.coupon-on a,
.fixed-footer .chat.chat-on a,
.fixed-footer .member.member-on a,
.fixed-footer .task-menu.task-on a,
.fixed-footer .task.task-on a,
.fixed-navbar .home.home-on a,
.fixed-navbar .goback.store-on a,
.fixed-navbar .coupon-menu.coupon-on a,
.fixed-navbar .chat.chat-on a,
.fixed-navbar .member.member-on a{
    color: #dd0037;
}

.fixed-footer .home.home-on i.home-icon,
.fixed-navbar .home.home-on i.home-icon {
    background-image: url(../../images/footer/icon-tab-home-select.svg);
}

.fixed-footer .goback.store-on i.store-icon {
    background-image: url(../../images/footer/icon-tab-sell-select.svg);
}

.fixed-footer .task-menu.task-on i.coupon-icon {
    background-image: url(../../images/footer/icon-tab-coupon-select.svg);
}

.fixed-footer .chat.chat-on i.chat-icon,
.fixed-navbar .chat.chat-on i.chat-icon {
    background-image: url(../../images/footer/icon-tab-chat-select.svg);
}

.fixed-footer .member.member-on i.member-icon,
.fixed-navbar .member.member-on i.member-icon {
    background-image: url(../../images/footer/icon-tab-profile-select.svg);
}

.fixed-footer .chat i.chat-icon span,
.fixed-navbar .chat i.chat-icon span{
    background-color: #dd0037;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    font-style: initial;
    position: absolute;
    top: 0px;
    right: -11px;
}

.fixed-navbar .chat i.chat-icon span {
    right: -6px;
    top: -5px;
}

.flex-navbar {
    display: flex;
    justify-content: center;
    width: 100%;
}

.fixed-navbar {
    width: 330px;
    position: fixed;
    z-index: 998;
    background-color: #FAFAFA;
    /*background-color: rgba(0,0,0,.75);*/
    color: #fff;
    text-align: center;
    bottom: 15px;
    border-radius: 50px;
    /*border-radius: 400px 400px 0 0;
    height: 280px;
    bottom: -180px;*/
    transition: .5s;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, .5);
    transform: translateY(0px);
}

.fixed-navbar .title{
    display: block;
    margin: 0;
    padding-top: 10px;
    color: #fff !important;
}

.fixed-navbar .title i{
    display: none;
}

.fixed-navbar ul{
    /*width: 60%;*/
    margin: 0 auto;
    display: flex;
    padding: 0 10px;
}

.fixed-navbar ul li{
    flex: 1;
    justify-content: center;
}

.fixed-navbar ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    position: relative;
    font-size: 13px;
}

.fixed-navbar ul li+li a::before{
    content: '';
    width: 1px;
    height: 28px;
    background-color: rgba(211, 211, 211, 0.5);
    position: absolute;
    left: 0;
}

.fixed-navbar ul li a i{
    margin-right: 3px;
}

/*.fixed-navbar .home i.home-icon {
    background-image: url(../../Images/icons/footer/icon-home.png);
}

.fixed-navbar .coupon-menu i.coupon-icon {
    background-image: url(../../Images/icons/footer/icon-coupon-g.png);
}

.fixed-navbar .coupon-menu.coupon-on i.coupon-icon{
    background-image: url(../../Images/icons/footer/icon-coupon-on.png);
}

.fixed-navbar .chat i.chat-icon {
    background-image: url(../../Images/icons/footer/icon-chat.png);
}

.fixed-navbar .member i.member-icon {
    background-image: url(../../Images/icons/footer/icon-member-g.png);
}*/

/*.fixed-navbar .close{
    position: absolute;
    top: 0px;
    right: 15%;
    color: #fff;
    text-shadow: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: rgba(0,0,0,.9);
    opacity: 1;
}*/

.fixed-navbar.close-navbar{
    /*display: none;*/
    transform: translateY(80px);
    transition: .5s;
}

/*.fixed-navbar.close-navbar .title i{
    display: inline-block;
    animation: nav_arrow 1s ease-out infinite alternate;
}*/

/*.fixed-navbar.close-navbar ul{
    display: none;
}

.fixed-navbar.close-navbar .close {
    display: none;
}*/

/* PC: 登入/註冊&登出 */
@media (min-width: 992px) {
    #menu-list ul li.jb-login,
    #type05 .header #menu-list ul li.jb-login,
    #menu-list ul li.jb-signOut,
    #type05 .header #menu-list ul li.jb-signOut {
        display: none;
        color: #fff;
    }
    #menu-list li.jb-login a,
    #type05.header #menu-list li.jb-login a,
    #menu-list li.jb-signOut a,
    #type05.header #menu-list li.jb-signOut a {
        display: inline-block;
        padding-left: 0;
        padding-right: 0;
    }
    .fixed-footer,
    .fixed-navbar {
        display: none;
    }
}

/* Mobile: 登入/註冊&登出 */
.navbar-side .jb-login,
.navbar-side .jb-signOut {
    display: none;
    color: #777;
    width: 100%;
}

@keyframes nav_arrow {
    0%, 30%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0)
    }

    15% {
        -webkit-transform: translate3d(0, -2px, 0);
        transform: translate3d(0, -2px, 0)
    }
}
