/* 大外框、各頁內容 */
body.is-static {
    min-width: 1400px;
}
.page-layout {
    background-color: #222;
}
.page-container {
    padding: 30px 0 40px;
    background: #F5F6FA;
}
.first .page-container {
    padding: 65px 0 20px;
}
.advertise .page-container,
.promotion .page-container {
    padding-bottom: 60px;
}
.joinmember .join-member-wrap .page-container,
.joinagent .join-agent-wrap .page-container {
    padding: 0;
    background: transparent;
}
.page-body {
    margin: 0 auto;
    width: 1200px;
}
.first .page-body {
    width: 1400px;
}
.advertise .page-body {
    width: 1000px;
}

/* header */
.page-header {
    background: #222;
}
/* fixed 時需要填滿螢幕寬 */
.page-header .fixed {
    width: 100%;
    min-width: 1400px;
    background: #222;
    z-index: 700;
}
.header-top {
    margin: 0 auto;
    padding: 7px 0;
    width: 1350px;
}
/* 語系下拉樣式 */
.lang-wrap {
    float: left;
    width: 100px;
    background: url('/web/site/esbplus/ver1/image/arrowdown_icon.png') 90px 12px no-repeat;
}
.ele-lang-wrap .current-lang {
    color: #999;
}
.ele-lang-wrap .lang-flag {
    top: 7px;
    left: 5px;
}
.lang-wrap .lang-wrap-list {
    border-right: 1px solid #AEAEAD;
    border-bottom: 1px solid #AEAEAD;
    border-left: 1px solid #AEAEAD;
    border-radius: 0 0 5px 5px;
    background: #FFF;
}
.ele-lang-wrap .lang-text {
    padding: 0 10px 0 30px;
    height: 30px;
    font-size: 14px;
    line-height: 30px;
}
.ele-lang-wrap .lang-wrap-list .lang-text {
    padding-right: 0;
}
.header-time-text {
    float: left;
    margin-left: 18px;
    width: 190px;
    color: #999;
    font-size: 14px;
    line-height: 32px;
}
.en .header-time-text {
    width: 185px;
}

/* 自訂連結 */
.top-link-wrap {
    float: left;
    margin-left: 2px;
    max-width: 350px;
    height: 32px;
    color: #999;
    font-size: 14px;
    line-height: 32px;
    overflow: hidden;
}
.en .top-link-wrap {
    font-size: 13px;
    max-width: 310px;
}
.top-link-wrap a {
    margin: 0 5px 0 6px;
    color: inherit;
    text-decoration: none;
}
.en .top-link-wrap a {
    margin: 0 1px 0 2px;
}
.top-link-wrap .ele-custom-link a:hover {
    color: #D12721 !important;
}
.top-link-wrap .ele-custom-link-line {
    color: #9A9A9A;
}

/* 登入 */
.login-logout-wrap {
    float: right;
}
.login-left .ele-login-unit {
    float: left;
    border: 1px solid #707070;
    border-radius: 4px;
    width: 158px;
    height: 30px;
    background: #222;
}
.login-left .ele-login-unit-account {
    margin-right: 4px;
}
.login-left .ele-login-input {
    padding-left: 13px;
    width: 91px;
    color: #FFF;
}
.en .login-left .ele-login-input {
    width: 76px;
}
.ele-login-unit-account .ele-login-input,
.en .ele-login-unit-account .ele-login-input {
    width: 116px;
}
.login-left .ele-login-placeholder,
.login-left .ele-acc-unicode {
    top: 0;
    line-height: 30px;
}
.login-left .ele-login-placeholder {
    left: 14px;
    color: #FFF;
}
.login-left .ele-acc-unicode {
    right: 10px;
    color: #999;
    font-size: 12px;
}
.login-left .ele-show-password {
    top: 9px;
    right: 47px;
}
.en .login-left .ele-show-password {
    right: 62px;
}
.login-left .ele-forget-pw {
    color: #999;
    line-height: 30px;
}
.login-left .ele-forget-pw:hover {
    color: #D12721;
}
.ele-login-submit,
.ele-join-btn {
    float: left;
    border-radius: 4px;
    width: 74px;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
}
.ele-login-submit {
    margin: 0 5px 0 6px;
    background: #D12721;
    color: #FFF;
}
.ele-login-submit:hover {
    background: #700400;
}
.ele-join-btn {
    background: #FFF;
    color: #505050;
}
.ele-join-btn:hover {
    background: #676767;
    color: #FFF;
}

/* 登入後 */
.mem-info {
    display: inline-block;
    margin-right: 2px;
    max-width: 240px;
    color: #BFBFBF;
    text-align: right;
    vertical-align: middle;
}
.en .mem-info {
    max-width: 218px;
}
.mem-info .ele-meminfo {
    display: inline-block;
    margin-right: 5px;
}
.mem-info .ele-balance-wrap {
    line-height: 12px;
}
.mem-info .ele-balance-wrap .fa-icon {
    width: 10px;
    height: 12px;
    color: #D12721;
}

/* 加號展開 */
.ele-balance-item-wrap {
    background: #D12721;
}
.ele-balance-item-wrap .ele-balance-item {
    border: 1px solid #D12721;
}
.ele-balance-item-wrap .ele-balance {
    color: #FFF;
}
.ele-balance-item-wrap span,
.ele-balance-item-wrap strong {
    color: inherit;
}
.ele-balance-item-wrap .ele-balance-tool {
    background: #000;
}
.ele-balance-item-wrap .ele-balance-tool a {
    color: #FFF;
    background-color: #D12721;
    transition: background-color .20s linear;
}
.ele-balance-item-wrap .ele-balance-tool a:hover {
    background: #BB231E;
}

/* 會員選單 */
.SU-Menual {
    display: inline-block;
    color: #BFBFBF;
    vertical-align: middle;
}
.SU-Menual li {
    float: left;
}
.SU-Menual a {
    margin: 0 5px 0 3px;
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.SU-Menual a:hover {
    color: #D12721;
}

.header-middle-wrap {
    background: #FFF;
}
.header-middle {
    margin: 0 auto;
    width: 1350px;
}
.header-middle-wrap .fixed .header-middle {
    margin: 0 auto;
    width: 1060px;
}
.ele-logout-btn {
    display: inline-block;
    margin-left: 5px;
    border-radius: 4px;
    width: 74px;
    height: 32px;
    background: #D12721;
    color: #FFF;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}
.ele-logout-btn:hover {
    background: #700400;
}

/* logo */
.header-logo {
    float: left;
    width: 162px;
    height: 60px;
}
.header-logo .ele-logo-wrap {
    background-position: 50% 50%;
    background-size: auto 45px;
    background-repeat: no-repeat;
}

/* 導覽列 */
.mainnav-wrap {
    float: left;
}
.ele-navbar-link-wrap {
    margin: 0 21px;
}
.ele-navbar .ele-navbar-link {
    position: relative;
}
.ele-navbar .ele-navbar-link::before {
    position: absolute;
    top: 27px;
    right: 0;
    content: "";
    width: 12px;
    height: 6px;
    background: url('/web/site/esbplus/ver1/image/ico_arrow_down.png') 50% 0 no-repeat;
    transition: all .3s ease;
}
.ele-navbar .ele-navbar-link::after {
    position: absolute;
    bottom: 14px;
    left: 50%;
    content: "";
    margin-left: -30px;
    width: 40px;
    height: 2px;
    background-color: #D12721;
    transition: all .3s ease;
    transform: scaleX(0);
}
.ele-navbar-title {
    padding-right: 12px;
    width: 72px;
    height: 60px;
    color: #221815;
    font-size: 16px;
    line-height: 60px;
    text-align: left;
    transition: all .4s ease;
}
.ele-navbar-link:hover .ele-navbar-title,
.ele-navbar-link.active .ele-navbar-title {
    color: #D12721 !important;
}
.ele-navbar .ele-navbar-link:hover::before,
.ele-navbar .ele-navbar-link.active::before {
    background: url('/web/site/esbplus/ver1/image/ico_arrow_up.png') 50% 0 no-repeat;
    transform: rotate(180deg);
}
.ele-navbar .ele-navbar-link:hover::after,
.ele-navbar .ele-navbar-link.active::after {
    color: #d12721;
    transform: scaleX(1);
}
.ele-navbar-hot {
    bottom: 39px;
    left: 62px;
}
.ele-morenav {
    right: -21px;
    bottom: 22px;
    background: url('/web/site/esbplus/ver1/image/sub.png') 50% 0 no-repeat;
}

/* 輪播 */
.ad-wrap {
    position: relative;
    height: 480px;
    background: #FEEEC8;
    overflow: hidden;
}
.ele-slideshow-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.ad-wrap .ele-slideshow-control-wrap {
    bottom: 10px;
    border-radius: 11px;
    padding: 6px 8px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}
.ele-slideshow-nav a {
    margin: 0 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
}
.ele-slideshow-nav a.active,
.ele-slideshow-nav a:hover {
    background-color: #FFF;
}

/* 最新消息 */
.news-bg {
    background: #FFF;
}
.news-wrap {
    margin: 0 auto;
    width: 1200px;
}
.news-title,
.news-item {
    float: left;
    height: 42px;
    font-size: 14px;
    line-height: 42px;
}
.news-title {
    margin-left: 10px;
    padding-left: 34px;
    background: url('/web/site/esbplus/ver1/image/news_bg.png') 0 50% no-repeat;
    width: 72px;
    color: #D12721;
}
.news-item {
    width: 962px;
    color: #898989;
}
.news-service {
    float: right;
    width: 122px;
    color: #D12721;
    font-size: 16px;
    line-height: 42px;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.news-service::before {
    display: inline-block;
    content: "";
    margin: 9px 10px 0;
    width: 32px;
    height: 24px;
    background: url('/web/site/esbplus/ver1/image/icon_service.png') 50% 0 no-repeat;
    vertical-align: top;
    animation: servAnimate 5s linear infinite;
}
@keyframes servAnimate {
    0% {
        transform: rotateY(0deg);
    }
    30% {
        transform: rotateY(180deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    80% {
        transform: rotateY(1turn);
    }
    100% {
        transform: rotateY(1turn);
    }
}

/* banner */
.banner-wrap {
    height: 240px;
}
.common-link-banner {
    position: relative;
    height: 240px;
    background: #F5F6FA;
    overflow: hidden;
}
.common-link-banner .ele-common-link-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* 首頁遊戲圖 */
.first-game-wrap .ele-firstgame-intro {
    margin: 0 13px 0 12px;
}
.first-game-wrap .ele-firstgame-wrap {
    justify-content: space-around;
}

/* footer */
.page-footer {
    padding: 23px 0 35px;
    background: #222;
}
.footer {
    margin: 0 auto;
    width: 1350px;
}
.article-menu {
    margin-bottom: 22px;
    height: 18px;
    color: #F5F6FA;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    overflow: hidden;
}
.article-menu ul {
    display: inline-block;
}
.article-menu a {
    color: inherit;
    text-decoration: none;
}
.article-menu span {
    padding: 0 35px 0 31px;
    color: #7C8797;
}
.article-menu a:hover {
    color: #FDEED1 !important;
}
.copyright,
.footer-info {
    color: #F5F6FA;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
}

/* 文案頁-左側選單 */
.page-sidebar {
    float: left;
    width: 250px;
}
.page-sidebar .ele-article-link {
    margin-bottom: 5px;
}
.page-sidebar .ele-article-link a {
    display: block;
    padding: 0 32px 0 64px;
    height: 60px;
    background: url('/web/site/esbplus/ver1/image/sidebar_bg.png') 50% 0 no-repeat;
    line-height: 60px;
    color: #221815;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.page-sidebar .ele-article-link.active a,
.page-sidebar .ele-article-link:hover a {
    color: #FFF;
    background-position: 0 100%;
}

/* 文案頁-右側 */
.article-wrap,
.join-wrap {
    float: right;
    padding: 20px 34px;
    width: 670px;
    min-height: 616px;
    background: #FFF;
    box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.1);
}
.joinmember .join-member-wrap,
.joinagent .join-agent-wrap {
    width: 670px;
}
.case-article-title {
    margin: 0;
}

/* 頁籤 */
.advertise ul.mtab-menual {
    border-bottom: 1px solid #707070;
    padding: 0;
}
.advertise ul.mtab-menual li {
    display: inline-block;
    margin-right: 5px;
    border: 1px solid #8F8F8F;
    border-radius: 12px 12px 0 0;
    padding: 0 5px;
    min-width: 82px;
    height: 28px;
    background: #707070;
    line-height: 28px;
    color: #FFF;
    font-size: 14px;
    text-align: center;
    vertical-align: bottom;
    cursor: pointer;
}
.advertise ul.mtab-menual li:hover {
    background: #8F8F8F;
}
.advertise ul.mtab-menual li.mtab {
    height: 33px;
    background: #C82721;
    line-height: 33px;
}
/* 特例浮動圖 */
.float-right-base {
    margin-bottom: 7px;
    padding-left: 10px;
    width: 74px;
}
.float-right-sort {
    height: 74px;
}
.float-right-base:hover .float-right-sort {
    background-position: 100% 100%;
}
.float-right-base-favorite .float-right-sort {
    display: block;
}
.ele-nest-group {
    border-radius: 6px;
    border: 2px solid #FF3F3F;
    padding: 11px;
    background: #FFF;
}
.ele-nest-group:before {
    content: '';
    position: absolute;
    top: 30px;
    right: -12px;
    width: 10px;
    height: 14px;
    background: url('/web/site/esbplus/ver1/image/float_arrow.png') 0 0 no-repeat;
}
.float-right-link {
    display: block;
    margin-bottom: 8px;
    padding-left: 28px;
    height: 28px;
    color: #4E4B49;
    font-size: 16px;
    line-height: 28px;
    overflow: hidden;
    white-space: nowrap;
    transition: height 0.5s;
}
.ele-nest-item:last-child .float-right-link {
    margin-bottom: 0;
}
.float-right-link:hover {
    color: #D12721;
}
.float-right-link a {
    display: block;
}
.float-right-base-app .float-right-link:hover {
    height: 102px;
}
.float-right-base-service .float-right-link-1,
.float-right-base-service .float-right-link-2 {
    background: url('/web/site/esbplus/ver1/image/float_icon01.png') 0 50% no-repeat;
}
.float-right-base-service .float-right-link-3 {
    background: url('/web/site/esbplus/ver1/image/float_icon02.png') 0 50% no-repeat;
}
.float-right-base-service .float-right-link-4 {
    background: url('/web/site/esbplus/ver1/image/float_icon03.png') 0 50% no-repeat;
}
.float-right-base-service .float-right-link-5 {
    background: url('/web/site/esbplus/ver1/image/float_icon04.png') 0 50% no-repeat;
}
.float-right-base-app .float-right-link-1 {
    background: url('/web/site/esbplus/ver1/image/float_icon05.png') 0 4px no-repeat;
}
.float-right-base-app .float-right-link-2 {
    background: url('/web/site/esbplus/ver1/image/float_icon06.png') 0 4px no-repeat;
}
.float-right-base-app .float-right-link-3 {
    background: url('/web/site/esbplus/ver1/image/float_icon07.png') 0 4px no-repeat;
}