/* common style */
.clear {
    clear: both;
    margin: 0;
    padding: 0;
}

/* site style */
body {
    min-width: 1060px;
    color: #000;
    font-size: 12px;
    background-color: #141414;
}
.is-tpl body {
    background: none;
}
.zh-cn body {
    font-family: STHeiti,"Microsoft YaHei", "微软雅黑", "SimSun", "宋体",arial;
}
.zh-tw body {
    font-family: "Microsoft JhengHei","微軟正黑體",arial,helvetica,sans-serif;
}

.body-set {
    margin: 0 auto;
    width: 1060px;
}
.madvertis .body-set {
    width: 1040px;
}

.is-tpl #mainBody,
.first #mainBody {
    background: none;
}
.game #mainBody {
    background: url('/cl/tpl/aomenjinsha/ver1/image/title_game.jpg') 50% 96px no-repeat;
}

/* header */
    .header-top-bg {
        position: relative;
        z-index: 2;
        background: url('/cl/tpl/aomenjinsha/ver1/image/header_bg.png') 50% 0 no-repeat;
    }
    .header-top {
        margin: 0 auto;
        width: 1060px;
        height: 116px;
    }
    .header-logo {
        float: left;
        margin-top: 8px;
        width: 355px;
        height: 92px;
    }
    .header-logo object {
        display: block;
    }

    .header-guide {
        float: right;
        width: 700px;
    }
    .header-link-wrap {
        float: right;
        margin-top: 16px;
        min-width: 634px;
        height: 37px;
    }
    .lang-wrap {
        float: right;
        margin: 0 14px 0 10px;
    }

    /* 自訂連結 */
    .top-link-wrap {
        float: right;
        color: #FFF;
    }
    .top-link-line {
        margin: 0 5px;
    }
    .top-custom-link {
        color: #FFF;
        text-decoration: none;
    }
    .top-custom-link:hover {
        color: #808080 !important;
    }

    /* 美東時間 */
    .est-wrap {
        float: left;
    }
    #est_bg.time_text {
        height: 14px;
        line-height: 14px;
        color: #FFF;
        opacity: 1;
        filter: alpha(opacity=100);
        background-color: transparent;
    }

    /* 主選單 */
    .mainnav-placeholder {
        float: right;
    }
    .mainnav-placeholder,
    .mainnav-wrap,
    .mainnav {
        height: 44px;
    }
    .mainnav li {
        float: left;
    }
    .mainnav ul a {
        position: relative;
        display: block;
        padding: 0 10px;
        width: 66px;
        height: 44px;
        line-height: 44px;
        color: #FFF;
        font-size: 14px;
        text-align: center;
        text-decoration: none;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .mainnav ul li.LS-memberexclusiveii a:before {
        content: '';
        position: absolute;
        top: 0;
        right: -2px;
        width: 20px;
        height: 20px;
        background: url('/cl/tpl/aomenjinsha/ver1/image/hot.gif') 0 0 no-repeat;
    }
    .mainnav ul a.current,
    .mainnav ul a:hover {
        color: #FFEA00;
        background: url('/cl/tpl/aomenjinsha/ver1/image/nav_over.png') 0 50% no-repeat;
    }

    /* 下拉子選單 */
    .ele-lsub-group {
        position: absolute;
        z-index: 999;
        overflow: hidden;
    }
    .ele-lsub-group a {
        display: block;
        width: 110px;
        height: 30px;
        line-height: 30px;
        padding: 0 4px;
        text-align: center;
        text-decoration: none;
        color: #FFF;
        background-color: #3A3A3A;
    }
    .ele-lsub-group a:hover {
        color: #FFF600;
    }
    .ele-lsub-group span {
        display: none;
    }

    /* 輪播 */
    .ad-flash-wrap {
        margin-top: -19px;
        width: 100%;
        height: 489px;
        overflow: hidden;
    }
    .ad-flash {
        position: relative;
        left: 50%;
        right: 50%;
        margin: 0 auto 0 -960px;
        width: 1920px;
        height: 489px;
    }
    .ele-slideshow-control-wrap .ele-slideshow-nav a {
        width: 12px;
        height: 12px;
        background: transparent url('/cl/tpl/aomenjinsha/ver1/image/slider_ctrl.png') 0 0 no-repeat;
    }
    .ele-slideshow-control-wrap .ele-slideshow-nav a.active, .ele-slideshow-control-wrap .ele-slideshow-nav a:hover {
        background-color: transparent;
        background-position: 0 100%;
    }

    .ele-gamebanner-wrap {
        margin: 9px auto 0;
    }

    .login-layout {
        margin: 0 auto;
        width: 1060px;
    }
    .first .login-layout {
        position: relative;
    }
    /* 首頁-登入區 */
    .first-login-wrap {
        position: absolute;
        top: 64px;
        right: 0;
        z-index: 2;
        width: 302px;
        height: 310px;
    }
    .first-login-wrap .login-unit {
        position: relative;
        display: block;
        padding-left: 50px;
        margin: 0 0 5px 20px;
        width: 212px;
        height: 38px;
    }
    .first-login-wrap .login-unit.login-unit-user {
        height: 44px;
    }
    .first-login-wrap .login-input {
        width: 150px;
        height: 38px;
        line-height: 38px;
        color: #FFF;
        border: none;
        background-color: transparent;
        outline: none;
    }
    .first-login-wrap .login-unit.login-unit-user .login-input {
        height: 44px;
        line-height: 44px;
    }
    .first-login-wrap .login-acc {
        width: 160px;
    }
    .first-login-wrap .login-unit .login-placeholder,
    .first-login-wrap .acc-unicode {
        position: absolute;
        color: #FFF;
        font-size: 15px;
        font-family: arial;
    }
    .first-login-wrap .login-unit .login-placeholder {
        left: 55px;
        top: 10px;
        cursor: text;
    }
    .first-login-wrap .login-unit.login-unit-user .login-placeholder {
        top: 13px;
    }
    .first-login-wrap .acc-unicode {
        right: 10px;
        top: 13px;
        font-size: 14px;
    }
    .first-login-wrap #vPic {
        position: absolute;
        top: 10px;
        right: 12px;
        cursor: pointer;
        visibility: hidden;
    }
    .first-login-wrap .login-submit {
        display: block;
        margin: 18px auto 0;
        width: 260px;
        height: 43px;
        border: none;
        cursor: pointer;
        outline: none;
    }
    .first-login-wrap .header-join {
        display: block;
        margin: 31px auto 16px;
        width: 263px;
        height: 44px;
    }
    .first-login-wrap .login-submit:hover,
    .first-login-wrap .header-join:hover {
        background-position: 0 100%;
    }
    .first-login-wrap .forget-pw {
        display: inline-block;
        width: 50px;
        color: #9D9D9E;
        text-align: right;
        text-decoration: none;
    }
    .first-login-wrap .forget-pw:hover {
        color: #FFEA00;
    }

    /* 各頁-登入區 */
    .login-wrap {
        padding: 12px 35px 0 0;
        margin-top: 253px;
        height: 43px;
        text-align: right;
    }
    .game .login-wrap {
        margin-top: 0;
    }
    .is-tpl .login-wrap {
        padding-top: 8px;
        margin-top: 0;
    }
    .login-wrap .login-unit {
        position: relative;
        display: inline-block;
        padding: 2px 0 2px 34px;
        margin-left: 2px;
        width: 160px;
        height: 28px;
        text-align: left;
        vertical-align: top;
    }
    .login-wrap .login-unit.login-unit-user {
        background: url('/cl/tpl/aomenjinsha/ver1/image/loginInput_bg01.png') 0 0 no-repeat;
    }
    .login-wrap .login-unit.login-unit-pwd {
        background: url('/cl/tpl/aomenjinsha/ver1/image/loginInput_bg03.png') 0 0 no-repeat;
    }
    .login-wrap .login-unit.login-unit-chk {
        background: url('/cl/tpl/aomenjinsha/ver1/image/loginInput_bg02.png') 0 0 no-repeat;
    }
    .login-wrap .login-input {
        border: none;
        background-color: transparent;
        width: 110px;
        height: 28px;
        line-height: 28px;
        color: #898D99;
        outline: none;
    }
    .login-wrap .login-unit.login-unit-pwd .login-input {
        width: 150px;
    }
    .login-wrap .login-unit .login-placeholder,
    .login-wrap .acc-unicode {
        position: absolute;
        color: #898D99;
        font-size: 14px;
        font-family: arial;
    }
    .login-wrap .login-unit .login-placeholder {
        left: 36px;
        top: 8px;
        cursor: text;
    }
    .login-wrap .acc-unicode {
        right: 5px;
        top: 6px;
        font-size: 14px;
    }
    .login-wrap #vPic {
        position: absolute;
        top: 6px;
        right: 10px;
        cursor: pointer;
        visibility: hidden;
    }
    .login-wrap .login-submit {
        display: inline-block;
        margin-left: 8px;
        width: 114px;
        height: 32px;
        vertical-align: top;
        border: none;
        cursor: pointer;
        outline: none;
    }
    .login-wrap .header-join {
        display: inline-block;
        margin: 0 4px;
        width: 114px;
        height: 32px;
        vertical-align: top;
    }
    .login-wrap .login-submit:hover,
    .login-wrap .header-join:hover {
        background-position: 0 100%;
    }
    .login-wrap .forget-pw {
        display: inline-block;
        height: 32px;
        line-height: 32px;
        color: #898989;
        font-size: 13px;
        text-decoration: none;
        vertical-align: top;
    }
    .login-wrap .forget-pw:hover {
        color: #FFEA00;
    }

    /* 共用-登入後 */
    .mem-info {
        color: #FFF;
    }
    .ele-accinfo strong {
        color: #FFF600;
    }

    /* 加號展開 */
    .ele-obalance-item-wrap.ele-item-style-cover {
        background: #4B4B4B;
    }
    .ele-obalance-item-wrap.ele-item-style-cover .ele-obalance-item {
        border: 1px solid #393939;
    }
    .ele-obalance-item-wrap.ele-item-style-cover .ele-obalance {
        color: #FFF;
    }
    .ele-obalance-item-wrap.ele-item-style-cover .ele-balance-tool {
        background: #373737;
    }
    .ele-obalance-item-wrap.ele-item-style-cover .ele-balance-tool a {
        background: #E4C95C;
        color: #4D0000;
    }
    .ele-obalance-item-wrap.ele-item-style-cover .ele-balance-tool a:hover {
        background: #FFFF00;
        color: #000;
    }

    /* 首頁-登入後 */
    .first-mem-wrap {
        position: absolute;
        top: 64px;
        right: 0;
        z-index: 2;
        padding-top: 110px;
        width: 302px;
        height: 200px;
    }
    .first-mem-wrap .mem-info {
        padding: 0 50px;
        margin-bottom: 10px;
    }

    /* 其他-登入後 */
    .mem-wrap {
        padding-top: 12px;
        margin-top: 253px;
        height: 43px;
    }
    .is-tpl .mem-wrap,
    .game .mem-wrap {
        margin: 0;
    }
    .mem-wrap .mem-set {
        display: inline-block;
        text-align: right;
        width: 905px;
        vertical-align: top;
    }

    /* 共用-會員選單 */
    .SU-Menual,
    .SU-Menual a {
        color: #FFF;
    }
    .SU-Menual li {
        float: left;
        margin-bottom: 10px;
    }
    .SU-Menual a {
        text-decoration: none;
        transition: color .2s;
    }
    .SU-Menual a:hover {
        color: #FFF368;
    }
    .first-mem-wrap .logout-btn:hover,
    .mem-wrap .logout-btn:hover {
        background-position: 0 100%;
    }

    /* 首頁-會員選單 */
    .first-mem-wrap .SU-Menual {
        padding: 0 50px;
        height: 65px;
    }
    .first-mem-wrap .logout-btn {
        display: block;
        margin: 15px auto 0;
        width: 260px;
        height: 43px;
    }

    /* 其他-會員選單 */
    .mem-wrap .login-Menual {
        float: right;
    }
    .mem-wrap .logout-btn {
        display: inline-block;
        margin-left: 15px;
        width: 114px;
        height: 31px;
        vertical-align: top;
    }

/* container */
#page-container {
    background: #282828 url('/cl/tpl/aomenjinsha/ver1/image/container02_bg_x.jpg') 0 0 repeat-x;
}
.first #page-container {
    background: none;
}
#page-body {
    padding-bottom: 40px;
}
.first #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/bg_x.jpg') 0 0 repeat-x;
}
.livetop #page-body {
    padding-top: 10px;
    background: url('/cl/tpl/aomenjinsha/ver1/image/live_bg.jpg') 50% 0 no-repeat;
}
.ltlottery #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/lottery_bg.jpg') 50% 0 no-repeat;
}
.ball #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/sports_bg.jpg') 50% 0 no-repeat;
}
.game #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/casino_bg.jpg') 50% 0 no-repeat;
}
.madvertis #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/about_bg.jpg') 50% 0 no-repeat;
}
.madvertis.memberexclusiveii #page-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/promotions_bg.jpg') 50% 0 no-repeat;
}

/* 首頁 */
    /* 最新消息 */
    .news-wrap {
        padding: 2px 20px 8px 140px;
        height: 25px;
    }
    .news-item {
        height: 30px;
        line-height: 30px;
        color: #FFF;
    }
    .news-wrap .ele-news-wrap {
        padding-right: 50px;
    }
    .news-wrap .ele-scroll-wrap {
        padding-top: 6px;
        width: 45px;
    }
    .news-wrap .ele-scroll-wrap .ele-scroll-arrow {
        display: inline-block;
        width: 20px;
        height: 20px;
    }
    .news-wrap .ele-scroll-wrap #ele-msg-scrollUp {
        margin-right: 4px;
        background: url('/cl/tpl/aomenjinsha/ver1/image/new_arrow01.png') 0 0 no-repeat;
    }
    .news-wrap .ele-scroll-wrap #ele-msg-scrollDown {
        background: url('/cl/tpl/aomenjinsha/ver1/image/new_arrow02.png') 0 0 no-repeat;
    }
    .news-wrap .ele-scroll-wrap #ele-msg-scrollUp:hover,
    .news-wrap .ele-scroll-wrap #ele-msg-scrollDown:hover {
        background-position: 0 100%;
    }

    /* 首頁遊戲圖 */
    .first-game-wrap {
        margin-top: 23px;
    }
    .ele-firstgame-wrap {
        margin: 0 auto;
        width: 993px;
    }
    .ele-firstgame-wrap a {
        margin-right: 15px;
    }
    .ele-firstgame-wrap a.ele-firstgame-4 {
        margin: 0;
    }

    .first-link-wrap {
        padding: 0 31px 0 32px;
        margin: 14px 0 35px;
        height: 78px;
        background: url('/cl/tpl/aomenjinsha/ver1/image/container_btn_bg.jpg') 50% 0 no-repeat;
    }
    .first-link-wrap a {
        float: left;
        width: 242px;
        height: 78px;
    }
    .first-link-wrap a:hover {
        background-position: 0 100%;
    }
    .guide-btn {
        margin: 0 4px 0 2px;
    }
    .network-btn {
        margin: 0 6px 0 2px;
    }
    .download-btn {
        margin: 0 6px;
    }
    .agent-btn {
        margin-left: 2px;
    }


/* footer */
#page-footer {
    margin-top: -34px;
    background: url('/cl/tpl/aomenjinsha/ver1/image/footer_bg.png') 50% 0 no-repeat;
}
.footer {
    margin: 0 auto;
    width: 1060px;
}

    .footer-links {
        padding: 0 40px;
        color: #F8EBA3;
    }
    .article-menu {
        float: left;
        height: 34px;
        line-height: 34px;
        width: 640px;
        text-align: center;
    }
    .article-menu,
    .article-menu a {
        color: #F8EBA3;
    }
    .article-menu a {
        margin: 0 10px;
        text-decoration: none;
    }
    .article-menu a:hover {
        color: #F3DC5C;
    }
    .copyright {
        float: right;
        width: 330px;
        height: 34px;
        line-height: 34px;
        color: #F8EBA3;
        text-align: left;
    }

    .footer-img-wrap {
        margin: 24px 0 22px;
        height: 109px;
        background: url('/cl/tpl/aomenjinsha/ver1/image/footer_img.png') 50% 0 no-repeat;
    }
    #bblogo {
        display: inline-block;
        margin-top: 8px;
        width: 93px;
        height: 46px;
        vertical-align: top;
        background: url('/cl/tpl/aomenjinsha/ver1/image/bbinlogo.png') 0 0 no-repeat;
    }
    #browser-logo {
        display: inline-block;
        margin: 5px 30px 0;
        vertical-align: top;
    }
    #browser-logo img {
        display: block;
    }
    .footer-logo {
        display: inline-block;
        width: 731px;
        height: 53px;
        vertical-align: top;
        background: url('/cl/tpl/aomenjinsha/ver1/image/footer_img01.png') 0 0 no-repeat;
    }
    .footer-info {
        margin-top: 10px;
        color: #FFF;
        text-align: center;
    }

/* 文案區塊 */
#page-sidebar {
    float: left;
    margin: 25px 0 0 30px;
    width: 242px;
}
#page-right {
    float: right;
    margin-right: 60px;
}
#page-right,
#page-right iframe {
    width: 670px;
}
.joinagent #page-right,
.joinmember #page-right {
    margin-right: 40px;
}
.joinagent #page-right,
.joinagent #page-right iframe,
.joinmember #page-right,
.joinmember #page-right iframe {
    width: 700px;
}

/* 文案頁-側邊選單 */
.sidemenu-header {
    height: 77px;
}
.sidemenu-body {
    background: url('/cl/tpl/aomenjinsha/ver1/image/sidebar_bg_y.jpg') 0 0 repeat-y;
}
.sidemenu-body a {
    display: block;
    padding: 0 100px 0 50px;
    height: 52px;
    line-height: 52px;
    color: #E7CD6D;
    font-size: 16px;
    text-align: right;
    text-decoration: none;
    background: url('/cl/tpl/aomenjinsha/ver1/image/sidebar.png') 0 0 no-repeat;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.sidemenu-body a:hover {
    color: #000;
    background-position: 0 100%;
}
.sidemenu-footer {
    height: 98px;
    background: url('/cl/tpl/aomenjinsha/ver1/image/sidebar_bottom.png') 0 0 no-repeat;
}

/* 文案+優惠活動 */
#direction {
    color: #525252;
}

/* 文案標題 */
#direction .case-article-title {
    padding-left: 25px;
    color: #E6CB6B;
    font-size: 24px;
    background: url('/cl/tpl/aomenjinsha/ver1/image/container_about_icon.png') 0 50% no-repeat;
}

/* 頁籤 */
#direction ul.mtab-menual {
    list-style: none;
    border-bottom: 3px solid #303030;
}
#direction ul.mtab-menual li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-right: 4px;
    border-radius: 5px 5px 0 0;
    padding: 1px 10px;
    color: #E7CD6D;
    background-color: #434343;
    cursor: pointer;
    vertical-align: bottom;
    transition: background-color .4s;
}
#direction ul.mtab-menual li:hover,
#direction ul.mtab-menual li.mtab {
    background-color: #303030;
}
#direction .mtab-menual {
    margin-top: 10px;
}

/*優惠活動*/
#direction #PT-switcher-wrap {
    margin: 1.5em auto;
    width: 960px;
}
/* 優惠活動-各活動間距 */
#direction #MemberExclusive_area .MemberExclusive {
    margin-bottom: 10px;
}

/*共用頁面*/
.Tpl-table01 {
    border: 1px solid #CCC;
    background-color: #FFF;
    color: #000;
    font-size: 12px;
}
table .Tpl-title01 th {
    background-color: #DDD;
    height: 24px;
    font-weight: bold;
    text-align: center;
}
#Tpl-user-acc span {
    color: #0000FF;
    line-height: 20px;
}
.Tpl-table01 th, .Tpl-table01 td {
    border: 1px solid #CCC;
    height: 22px;
}
tr.Tpl-trcolor1 {
    background: #FFF;
}
tr.Tpl-trcolor2 {
    background: #EEE;
}
tr.Tpl-trmouseenter {
    background: #DEF;
}
#Tpl-memdata .Tpl-table01 th,
#Tpl-memdata .Tpl-table01 td.Tpl-left {
    text-align: center;
}
#Tpl-memdata .Tpl-table01 td.Tpl-right {
    text-align: left;
}
.Tpl-blue {
    color: #00F;
}
