﻿@font-face {
    font-family: ScoreBoard;
    src: url(scoreboard.ttf);
}

*:not(.bottom .wrap) {
    font-family: 'Microsoft JhengHei UI' !important;
}

a, a:active, a:visited, span, label {
    color: white;
    cursor: pointer;
}

    a:hover {
        text-decoration: none;
    }

.loading {
    display: block;
    margin: 0 auto;
}

html, body {
    min-width:1200px;
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(../images/slash_it.png);
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    background: none;
}

#userbar {
    height: 20px;
    width: 100%;
    font-size: 14px;
    padding: 0 15px;
    background-color: rgba(255,255,255,.1);
    color: white;
}

    #userbar ul {
        margin: 0;
        float: right;
    }

    #userbar li {
        float: left;
        border-left: 1px solid white;
        padding: 0 10px;
        line-height: 20px;
    }

        #userbar li:first-child {
            border-left: none;
        }

        #userbar li:last-child {
            padding-right: 0;
        }

    #userbar a:hover {
        color: #aeaeae;
    }

    #userbar li.quota {
        color: #bbd800;
    }

#hint {
    display: none;
    position: absolute;
    overflow: visible;
    height: 32px;
    z-index: 200;
}

#hint_content {
    color: white;
    display: inline-block;
    font-size: .89em;
    position: relative;
    top: 0;
    text-align: center;
    width: 100%;
    min-width: 60px;
    border-radius: 2px;
    background: rgba(61, 61, 61, 0.95);
    padding: 5px 3px;
    text-shadow: none;
}

#hint_pointer {
    width: 0px;
    height: 0px;
    position: absolute;
}

#header {
    height: 100px;
    padding: 0 20px;
    width: 100%;
}

a.logo {
    background: url(../images/logo.png) no-repeat center center;
    float: left;
    margin: 20px 0;
    margin-left: 5px;
    width: 210px;
    height: 80px;
    display: block;
}

#navi {
    float: right;
    margin: 0;
}

    #navi li {
        font-size: 14px;
        float: left;
    }

    #navi a, #navi span {
        text-align: center;
        color: #ffb300;
        display: block;
        position: relative;
        line-height: 100px;
        padding: 0 20px;
        min-width: 100px;
        border-radius: 0 0 60px 60px;
    }

        #navi a:hover, #navi span:hover {
            background-color: #ffb300;
            color: white;
            text-shadow: -1px -1px 0 black;
        }


#content {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 10px;
    min-height: 400px;
    width: 100%;
}

    #content .left, #content .right {
        width: 180px;
        height: 650px;
    }

    #content .left {
        float: left;
    }

    #content .right {
        float: right;
    }

    #content .middle {
        margin: 0 auto;
        width: 800px;
        overflow: hidden;
        overflow-y: auto;
    }

    #content .top {
        overflow: hidden;
        overflow-y: auto;
        margin-bottom: 10px;
    }

    #content .bottom {
        overflow: hidden;
        overflow-y: scroll;
        width: 800px;
        height: 390px;
    }

        #content .bottom > a {
            display: block;
            width: 223px;
            height: 140px;
            float: left;
            margin: 0 9px;
        }

            #content .bottom > a:last-child {
                margin-right: 0;
            }

#scrollbox {
    height: 20px;
    width: 100%;
    overflow: hidden;
    margin: 2px 0;
    position: relative;
    padding: 0 15px;
}

    #scrollbox li {
        color: white;
    }

#slideshow {
    width: 800px;
    height: 200px;
    float: left;
    overflow: hidden;
}

.inner-slideshow {
    width: 800px;
    height: 200px;
    display: block;
    float: left;
    overflow: hidden;
}

    .inner-slideshow img {
        width: 800px;
    }

#news {
    display: block;
    width: 244px;
    height: 144px;
    float: left;
    border: 2px solid #5b4207;
    border-radius: 10px;
    color: #ffb300;
    overflow: hidden;
}

#newsTitle {
    border-bottom: 1px solid #ffb300;
    height: 26px;
    font-size: 20px;
    font-weight: normal;
}

#news .scroll {
    font-size: 12px;
    height: 107px;
}

    #news .scroll ul {
        font-size: 12px;
        margin: 0;
        padding: 0 2px;
        width: 239px;
    }

    #news .scroll li {
        line-height: 22px;
        overflow: hidden;
        overflow-y: auto;
    }


    #news .scroll span {
        float: left;
        margin-right: 5px;
    }

    #news .scroll a {
        color: #e9a400;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 230px;
        display: block;
        float: left;
    }

        #news .scroll a:hover {
            color: white;
        }

form.imgForm {
    display: inline-block;
    position: relative;
    overflow: visible;
    float: left;
}

.imgForm img {
    width: 180px;
    height: 650px;
}

.bottom form.imgForm {
    margin: 0 9px;
}

    .bottom form.imgForm:last-child {
        margin-right: 0;
    }

#adv1, #adv2 {
    display: inline-block;
}

    #adv1 img, #adv2 img {
        width: 180px;
        height: 650px;
    }

input.advhref {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

#footer {
    position: relative;
    height: 89px;
    margin-top: 20px;
    text-align: center;
    border-top: 1px dotted #4d380a;
    padding-top: 10px;
}

    #footer p {
        color: #866100;
        font-weight: normal;
        font-size: 10px;
        text-align: center;
        margin: 0 130px;
    }

#foonavi {
    display: inline-block;
    margin: 0 auto;
    font-size: 12px;
}

    #foonavi li {
        float: left;
        border-left: 1px solid #949494;
        padding: 0 5px;
    }

        #foonavi li:first-child {
            border: none;
        }

        #foonavi li a {
            color: #949494;
        }

            #foonavi li a:hover {
                color: #e5e5e5;
            }

.quick_link_block {
    float: left;
    display: block;
    margin: 0 76px;
    margin-top: 30px;
}

    .quick_link_block > li {
        color: #e9a400;
        font-weight: bold;
        font-size: 16px;
    }

    .quick_link_block ul {
        padding-left: 10px;
        font-size: 14px;
        font-weight: normal;
    }

        .quick_link_block ul a {
            color: #939393;
        }

            .quick_link_block ul a:hover {
                color: white;
            }

#toolbar {
    width: 100%;
    overflow-y: auto;
    padding: 5px 0;
}

    #toolbar a {
        background-color: #19adf8;
        display: block;
        width: 120px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        color: white;
        float: right;
        margin-right: 5px;
    }

#loginMsg {
    font-size: 14px;
    color: #ffb300;
}

.cpager {
    float: left;
    display: block;
    font-weight: bold;
    font-size: 12px;
}

    .cpager a, .cpager span {
        text-align: center;
        padding: 0 3px;
    }

    .cpager a {
        color: #e9a400;
    }

    .cpager span {
        color: black;
        font-size: 16px;
        padding: 0 5px;
        cursor: default;
        margin: 0 2px;
        background-color: #e9a400;
    }

.bottom {
    width: 100%;
}

.tab {
    display: block;
    height: 30px;
    margin: 10px auto 0;
}

    .tab li {
        float: left;
    }

        .tab li a {
            display: block;
            color: #e9a400;
            padding: 0 10px;
            border-radius: 5px 5px 0 0;
            font-weight: normal;
            line-height: 25px;
        }

            .tab li a:hover, .tab li a.selected {
                color: white;
                text-shadow: -1px -1px 0 black;
                background-color: #e9a400;
            }

.bottom .wrap {
    display: block;
    width: 780px;
    height: 110px;
    color: white;
    margin: 10px 5px;
    border-radius: 5px;
    font-weight: normal;
    border: 1px solid rgba(255,255,255,.1);
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 5px 0;
    position: relative;
    font-family: ScoreBoard, 'Microsoft JhengHei UI' !important;
}

.datetime {
    font-size: 14px;
}

.bg-l, .bg-r {
    height: 100%;
    width: 180px;
    opacity: .3;
    top: 0;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    z-index: 0;
    transition: opacity ease .3s;
}

    .bg-l:hover,
    .bg-r:hover {
        opacity: .4;
    }

.bg-l {
    left: 0;
    background-position-x: right;
}

.bg-r {
    right: 0;
    background-position-x: left;
}

.host, .guest {
    display: block;
    width: 200px;
    height: 50px;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
}

.host {
    left: 10px;
    text-align: left;
    color: #FF005C;
}

    .host:before {
        content: '讓分 ';
        font-size: 12px;
        color: white;
    }

.guest {
    right: 10px;
    text-align: right;
    color: #CCFF00;
}

    .guest:after {
        content: ' 受讓';
        font-size: 12px;
        color: white;
    }

.info {
    display: block;
    max-width: 150px;
    min-width: 120px;
    height: 30px;
    margin: 5px auto 0;
}

.line {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #77f217;
    white-space: nowrap;
    float: left;
    border: 1px solid #ffb300;
    border-radius: 5px;
    padding: 2px 5px;
    width: 115px;
}

.result {
    float: right;
    line-height: 1.5em;
    border: 1px solid #ffb300;
    border-radius: 5px;
    padding: 2px 5px;
}

.predict {
    display: block;
    color: #e9a400;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

.score {
    font-size: 24px;
    text-align: center;
    line-height: 22px;
}

.browse {
    color: #e9a400;
    text-decoration: underline;
}

    .browse:hover {
        color: #e9a400;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }