﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.clearfix:before, .clearfix:after {
    content: '';
    display: table
}

.clearfix:after {
    clear: both
}

body {
    position: relative;
    font-size: 14px;
    font-family: Arial,'Microsoft Jhenghei'
}

    body .non-stand {
        display: none
    }

.nav-toggle {
    position: absolute;
    top: 3px;
    right: 4px;
    padding: 7px 6px;
    border-radius: 5px
}

    .nav-toggle .icon-bar {
        border-radius: 1px;
        display: block;
        height: 3px;
        width: 22px
    }

        .nav-toggle .icon-bar + .icon-bar {
            margin-top: 4px
        }

#nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 175px;
    height: 100%;
    z-index: 99;
    overflow-y: auto;
    -moz-transition: transform 300ms ease;
    -o-transition: transform 300ms ease;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    -moz-transform: translate3d(175px,0,0);
    -ms-transform: translate3d(175px,0,0);
    -o-transform: translate3d(175px,0,0);
    -webkit-transform: translate3d(175px,0,0);
    transform: translate3d(175px,0,0)
}

    #nav.active {
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }

    #nav .closed {
        position: absolute;
        top: 7px;
        right: 7px;
        width: 28px;
        height: 28px;
        padding: 0;
        font-size: 18px;
        border: none;
        border-radius: 50%
    }

    #nav .member {
        padding: 55px 0 10px;
        text-align: center
    }

        #nav .member img.profile {
            margin-bottom: 10px;
            width: 85px;
            height: 85px
        }

        #nav .member button {
            display: block;
            width: 79px;
            height: 27px;
            margin: 0 auto;
            padding: 0;
            text-align: center;
            font-size: 13px;
            border: none
        }

        #nav .member .btn01 {
            margin-bottom: 3px
        }

    #nav .account {
        list-style: none;
        margin: 0;
        padding: 0
    }

        #nav .account li {
            position: relative;
            width: 90%;
            height: 24px;
            margin: 5px auto;
            font-size: 15px;
            line-height: 24px;
            text-align: center;
            border-radius: 20px
        }

            #nav .account li span {
                display: inline-block;
                max-width: 8em;
                -ms-text-overflow: ellipsis;
                -o-text-overflow: ellipsis;
                text-overflow: ellipsis;
                white-space: nowrap;
                vertical-align: top;
                overflow: hidden
            }

            #nav .account li a {
                color: inherit
            }

                #nav .account li a.update {
                    position: absolute;
                    right: 10px
                }

.sidebar {
    margin: 0;
    padding: 0;
    list-style: none
}

    .sidebar li {
        margin: 0;
        line-height: 38px;
        background-repeat: no-repeat;
        background-position: 25px center
    }

        .sidebar li#av-free {
            display: none
        }

        .sidebar li i, .sidebar li img.side-icon {
            display: inline-block;
            width: 24px;
            height: 20px;
            margin: 0 8px 0 15px;
            font-size: 20px;
            text-align: center;
            vertical-align: middle
        }

            .sidebar li i.icon-av {
                background: url('../images/av.png')
            }

        .sidebar li a {
            color: inherit;
            text-decoration: none
        }

#nav-dismiss.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 98;
    background: rgba(0,0,0,.2)
}

#header {
    position: relative;
    height: 68px
}

    #header .logo {
        float: left;
        position: relative;
        height: 68px
    }

        #header .logo img {
            position: absolute;
            margin: auto;
            top: 0;
            right: 0;
            bottom: 0;
            left: 5px;
            max-width: 145px
        }

    #header .header-right {
        float: right;
        width: 163px;
        margin: 3px 3px 0 3px
    }

    #header .domain {
        margin-bottom: 4px;
        font-size: 13px;
        font-style: italic;
        font-weight: bold;
        line-height: normal
    }

        #header .domain span {
            display: block;
            min-height: 14px;
            font-size: 12px
        }

    #header .header-right .btn-group {
        position: absolute;
        top: 38px;
        right: 4px
    }

    #header .header-right button, #header .header-right a {
        display: inline-block;
        padding: 0;
        width: 79px;
        height: 27px;
        font-size: 13px;
        text-align: center;
        text-decoration: none;
        line-height: 27px;
        border: none
    }

#news {
    position: relative;
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
    font-family: MingLiU;
    line-height: 34px;
    overflow: hidden
}

    #news i {
        position: absolute;
        z-index: 10;
        padding-right: 10px;
        font-size: 20px;
        line-height: 34px;
        vertical-align: middle
    }

    #news #marquee {
        display: inline-block;
        width: 100%;
        overflow: hidden;
        vertical-align: middle
    }

    #news div.marquee {
        overflow: hidden
    }

        #news div.marquee span {
            margin: 0 5px
        }

#content {
    margin-bottom: 60px
}

#page-title {
    height: 70px;
    font-size: 22px;
    line-height: 70px;
    letter-spacing: 2px;
    text-align: center
}

.inner {
    padding: 15px 0
}

.panel-custom > .panel-heading {
    margin: 1px;
    font: bold 15px PMingLiU
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 50
}

.menu-bottom {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: bottom
}

    .menu-bottom li {
        position: relative;
        float: left;
        width: 25%;
        height: 57px;
        padding-top: 10px;
        font-size: 12px;
        text-align: center;
        vertical-align: top;
        background-repeat: no-repeat;
        background-position: center 7px
    }

        .menu-bottom li.anytimediscount {
            display: none
        }

        .menu-bottom li + li:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 2px;
            height: 57px;
            background-image: url('../images/line.jpg')
        }

        .menu-bottom li i {
            display: block;
            font-size: 24px
        }

        .menu-bottom li a {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            bottom: 0;
            padding-top: 35px;
            color: inherit;
            text-decoration: none
        }

    .menu-bottom.menu-entire li {
        width: 20%
    }

        .menu-bottom.menu-entire li.anytimediscount {
            display: list-item
        }

#account-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 70px;
    z-index: -1;
    text-align: center;
    opacity: 0;
    -moz-transition: .3s ease-in;
    -o-transition: .3s ease-in;
    -webkit-transition: .3s ease-in;
    transition: .3s ease-in
}

    #account-box.login-page {
        opacity: 1
    }

    #account-box:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1
    }

    #account-box.active {
        z-index: 100;
        opacity: 1
    }

    #account-box form {
        margin-top: 55px
    }

        #account-box form input {
            display: block;
            width: 247px;
            height: 35px;
            margin: 0 auto 10px;
            padding-left: 20px;
            font-size: 15px;
            border: none;
            border-radius: 20px
        }

        #account-box form button {
            display: block;
            width: 247px;
            height: 35px;
            margin: 0 auto 10px;
            font-size: 18px;
            border: none;
            border-radius: 20px
        }

        #account-box form #check-code-wrapper {
            position: relative;
            width: 247px;
            margin: 0 auto
        }

            #account-box form #check-code-wrapper img {
                position: absolute;
                top: 9px;
                right: 37px
            }

        #account-box form #get-captcha {
            position: absolute;
            top: 8px;
            right: 18px
        }

    #account-box .link {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 0
    }

        #account-box .link li {
            display: inline-block;
            padding: 0 10px;
            font-size: 14px;
            line-height: 14px
        }

    #account-box #agree {
        padding: 10px 0;
        font-size: 14px
    }

        #account-box #agree a {
            padding: 5px;
            text-decoration: underline
        }

    #account-box .copyright {
        margin-top: 40px;
        font-size: 12px
    }

    #account-box .closed {
        position: fixed;
        top: 7px;
        right: 7px;
        width: 30px;
        height: 30px;
        padding: 0;
        color: #fff;
        font-size: 18px;
        border: none;
        border-radius: 50%
    }

ul#newsBags > li {
    white-space: pre-line;
    word-break: break-all
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: #000;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s
}

    .modal-overlay.modal-show {
        visibility: visible;
        opacity: .5
    }

.modal-announcement {
    position: absolute;
    top: 45px;
    z-index: 10000;
    width: 100%;
    padding: 0 20px;
    visibility: hidden;
    -moz-transform: scale(.5);
    -ms-transform: scale(.5);
    -o-transform: scale(.5);
    -webkit-transform: scale(.5);
    transform: scale(.5);
    opacity: 0;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s
}

    .modal-announcement.modal-show {
        visibility: visible;
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }

    .modal-announcement > .ma-title {
        padding: 5px 25px;
        color: #fff;
        font-size: 20px;
        background-color: #9aaabf;
        border: 1px solid #ccc
    }

    .modal-announcement > .ma-body {
        height: 300px;
        background-color: #fff;
        border: 1px solid #ccc;
        overflow: auto
    }

        .modal-announcement > .ma-body > ul {
            width: 100%;
            padding: 0;
            list-style: none
        }

        .modal-announcement > .ma-body li {
            padding: 5px;
            font-size: 16px;
            border-bottom: 1px solid #ccc
        }

            .modal-announcement > .ma-body li span {
                display: inline-block;
                width: 87%;
                vertical-align: middle;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap
            }

            .modal-announcement > .ma-body li:hover {
                color: #fff;
                background-color: #2a65e2
            }

        .modal-announcement > .ma-body i.fa-comment-o {
            padding-right: 4px
        }

        .modal-announcement > .ma-body i.fa-chevron-right {
            float: right;
            margin-top: 4px
        }

    .modal-announcement > .ma-footer {
        width: 100%;
        padding: 10px 0;
        text-align: center
    }

        .modal-announcement > .ma-footer > .no-show {
            display: block;
            padding-top: 6px;
            color: #fff
        }

.modal-announcement-content {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: #024323
}

    .modal-announcement-content > .mac-title {
        padding: 15px 10px;
        color: #fff;
        text-align: center;
        word-break: break-all;
        background-color: #03703c
    }

        .modal-announcement-content > .mac-title span {
            font-size: 18px
        }

        .modal-announcement-content > .mac-title i.fa-reply {
            float: left
        }

        .modal-announcement-content > .mac-title i.fa-times {
            float: right
        }

    .modal-announcement-content > .mac-body {
        width: 100%;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 116px;
        overflow: auto
    }

        .modal-announcement-content > .mac-body img {
            max-width: 100%;
            height: auto
        }

    .modal-announcement-content > .mac-footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        background-color: rgba(51,51,51,.7)
    }

@media(min-width:768px) {
    #nav {
        width: 250px;
        -moz-transform: translate3d(250px,0,0);
        -ms-transform: translate3d(250px,0,0);
        -o-transform: translate3d(250px,0,0);
        -webkit-transform: translate3d(250px,0,0);
        transform: translate3d(250px,0,0)
    }
}

#ms-home {
    display: none
}

#ms-footer {
    display: none
}

#account-box img.profile {
    display: inline-block
}

#account-box img.profile-special {
    display: none
}


