body {
    background-color: #e9e9e9;
}
/*回到頂端按鈕*/
.btn_go_top {
    display: none;
    position: fixed;
    right: 2%;
    bottom: 25%;
    background: url(../images/index_icon/go_top.png) no-repeat;
    width: 39px;
    height: 38px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0.5;
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    filter:alpha(opacity=50);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
}
/*********  首頁_右側(內容)  *********/
.tab_content, .index_content {
    position: relative;
    top: 80px;
    width: 87%;
    margin-bottom: 20px;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}
/*快速連結標籤(共用)*/
.tab_content {
    padding-top: 20px;
}
/*首頁右側_快速連結標籤(共用)*/
.tab_set {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 36px;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}
.tab_list {
    display: inline-block;
    *display: inline;
    line-height: 30px;
    margin: 0 5px 5px 0;
    padding: 0 0 0 5px;
    border: 1px solid #a8a8a8;
    color: #666;
    font-size: 14px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
}
.tab_list .tabbox a {
    color: #666;
}
.tab_list:hover, .tab_list:active, .tab_list:focus, 
.tab_list.selected {
    color: #fff;
    background-color: #308ece;
    border: 1px solid #467ca0;
}
.tab_list.selected .tabbox a {
    color: #fff;
    background-color: #308ece;
    border: 0;
}
.tab_list .tabbox a:hover, .tab_list .tabbox a:active {
    color: #fff;
}
.icon_tab {
    display: inline-block;
    *display: inline;
    width: 15px;
    height: 15px;
    background: url(../images/index_icon/icon_tab.png) no-repeat;
    background-size: 100% auto;
    vertical-align: middle;
}
.tab_list .tabbox .text {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
}
.tab_close {
    display: inline-block;
    *display: inline;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    border: 0;
    background: url(../images/index_icon/btn_close.png) no-repeat;
    background-size: 100% auto;
    vertical-align: middle;
    cursor: pointer;
}
/*首頁右側_快速連結標籤_右鍵選單(共用)*/
.tab_menu {
    position: absolute;
    top: 50px;
    left: 270px;
    width: 130px;
    list-style: none;
    border: 1px solid #c9c9c9;
    border-bottom: none;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
}
.tab_menu li {
    width: 110px;
    height: 25px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 25px;
    padding-left: 20px;
    background: #fff;
    cursor: pointer;
}
.tab_menu li a {
    color: #333;
    padding-left: 5px;
}
.tab_menu li:hover, .tab_menu li:active  {
    background-color: #9bc6da;
    background-image: url(../images/index_icon/icon_tabarrow.png);
    background-repeat: no-repeat;
    background-size: 9px 7px;
    background-position: 10px;
}
/*********  首頁右側_統計圖表  *********/
/*輸贏金額、會員人數統計*/
.rightbar_set {
    position: relative;
    width: 100%;
    margin: 0 auto 20px;
    overflow: hidden;
}
.infobox {
    display: inline-block;
    *display: inline;
    width: 32.5%;
    /*height: 80px;*/
    overflow: hidden;
    color: #fff;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.infobox:hover, .infobox:active {
    background-color: rgba(0, 0, 0, 0.5);
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    -webkit-transition: 0.7s;
    transition: 0.7s;
}
.bg_pink, .bg_deepblue, .bg_blue, .bg_green, .bg_yellow, .bg_orange {
    margin: 0 10px 10px 0;
}
.bg_pink {
    background-color: #ec3473;
}
.bg_deepblue {
    background-color: #008dde;
}
.bg_blue {
    background-color: #00a4b9;
}
.bg_green {
    background-color: #48a548;
}
.bg_yellow {
    background-color: #bfb100;
}
.bg_orange {
    background-color: #f18e27;
}
.infobox .icon_bg {
    float: left;
    width: 80px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}
.infobox .icon_money, .icon_deposit, .icon_consignment, .icon_group, .icon_points, .icon_leave {
    display: inline-block;
    *display: inline;
    width: 65px;
    height: 65px;
    margin: 7px auto;
    text-align: center;
    opacity: 0.75;
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    filter:alpha(opacity=70);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
}
.icon_money {
    background: url(../images/index_icon/icon_money.png) no-repeat;
    background-size: 100% auto;
}
.icon_deposit {
    background: url(../images/index_icon/icon_deposit.png) no-repeat;
    background-size: 100% auto;
}
.icon_consignment {
    background: url(../images/index_icon/icon_consignment.png) no-repeat;
    background-size: 100% auto;
}
.icon_group {
    background: url(../images/index_icon/icon_group.png) no-repeat;
    background-size: 100% auto;
}
.icon_points {
    background: url(../images/index_icon/icon_points.png) no-repeat;
    background-size: 100% auto;
}
.icon_leave {
    background: url(../images/index_icon/icon_leave.png) no-repeat;
    background-size: 100% auto;
}
.rightbar_content {
    float: left;
    padding: 15px 0 0 15px;
    color: #fff;
    vertical-align: middle;
}
.rightbar_content .text {
    font-size: 1.1em;
    margin-bottom: 5px;
}
.rightbar_content .number {
    font-size: 2em;
}
/*代理金額比例*/
.ratebox {
    float: left;
    width: 69%;
    height: 400px;
    margin: 0 10px 10px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.ratebox .title_set {
    line-height: 50px;
    padding-left: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border-left: 10px solid #008dde;
    border-bottom: 1px solid #ccc;
}
.title_set span {
    color: #666;
    font-size: 1.3em;
}
.ratebox .content_set {
    width: 96%;
    height: 300px;
    margin: 22px auto;
    text-align: left;
    overflow: auto;
}
.rate {
    min-width: 100%;
    background: #fff;
    font-size: 1em;
    overflow: hidden;
}
.rate tr:nth-of-type(2n) {
    background: #f1f1f1;
}
.rate th {
    padding: 0 0.5em 0.5em 0.5em;
    text-align: left;
}
.rate td {
    padding: 0.8em;
    color: #777;
    text-align: left;
    word-wrap: break-word;
}
.rate td:before {
    display: none;
}
.rate .cell1 {
    width: 10%;
}
.rate .cell2, .rate .cell3 {
    width: 20%;
}
.rate .cell4 {
    width: 20%;
}
.content_set .rate tr:nth-of-type(2n+1) {
    background: #fff;
}
/*th和td的第一個欄位，不向左移*/
/*.rate th:first-child, .rate td:first-child {
    padding-left: 0;
}*/
/*代理金額比例的長條棒*/
.progress {
    position: relative;
    top: 0;
    height: 13px;
    line-height: 13px;
    overflow: hidden;
    background-color: #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
.progress_bar {
    float: left;
    width: 0;
    height: 100%;
    color: #fff;
    font-size: 12px;
    text-align: center;
    background-color: #666;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.progress .bg_green {
    background-color: #85d63c;
    color: #000;
}
.progress .bg_deepgreen {
    background-color: #16961f;
}
.progress .bg_blue {
    background-color: #2196F3;
}
.progress .bg_lightblue {
    background-color: #00d4ef;
    color: #000;
}
.progress .bg_orange {
    background-color: #ff8d00;
}
.progress .bg_red {
    background-color: #f00;
}
.progress .bg_yellow {
    background-color: #ffe000;
    color: #000;
}
.progress .bg_pink {
    background-color: #ff00c8;
}
.progress .bg_purple {
    background-color: #8800ef;
}
.progress .bg_gray {
    background-color: #000;
}
/*會員佔成比例*/
.agentbox {
    float: left;
    width: 30%;
    height: 400px;
    margin: 0 0 10px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.agentbox .title_set {
    line-height: 50px;
    padding-left: 0px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    border-left: 10px solid #ffb100;
    border-bottom: 1px solid #ccc;
}
.agentbox .content_set {
    position: relative;
    top: -15px;
    text-align: center;
}
.agent_title {
    position: relative;
    top: 150px;
}
.agent_title .name {
    font-size: 2.1em;
    font-weight: bold;
    margin-bottom: 5px;
}
.agent_title .ratio {
    font-size: 1.5em;
}
.img_agent_circle {
    display: inline-block;
    *display: inline;
    width: 237px;
    height: 238px;
    background: url(../images/index_icon/agent_circle.png) no-repeat;
    background-size: 100% auto;
}
/*圓餅圖*/
canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.canvas_holder {
    width: 300px;
    margin: 0 auto;
}
.orderlist_box {
    width: 100%;
    margin: 0 10px 20px 0;
    background: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.order_table {
    font-size: 0.95em;
    color: #777;
    background: #fff;
    overflow: auto;
    width: 50%;
}
.order_table dt {
    float: left;
    width: 25%;
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-align: right;
    padding-right: 10px;
    background-color: #747a74;
    border: 1px solid #cbcbcb;
}
.order_table dd {
    float: left;
    width: 70%;
    height: 30px;
    line-height: 30px;
    text-align: left;
    padding-left: 5px;
    word-wrap: break-word;
    border: 1px solid #ccc;
}
/*********  以下為 各不同寬度螢幕_設定  *********/
/* 寬度大於 1901px (電腦) */
@media screen and (min-width: 1901px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        padding-left: 220px;
    }
}

/* 寬度介於 1600px - 1900px (電腦) */
@media screen and (min-width: 1600px) and (max-width: 1900px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 86%;
        padding-left: 220px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 49%;
        margin-bottom: 10px;
    }
    .ratebox {
        width: 66.5%;
    }
    .agentbox {
        width: 32%;
    }
}
/* 寬度介於 1281px - 1599px (電腦) */
@media screen and (min-width: 1281px) and (max-width: 1599px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 83%;
        padding-left: 220px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 48.8%;
        margin-bottom: 10px;
    }
    .ratebox {
        width: 66%;
    }
    .agentbox {
        width: 32%;
    }
}
/* 寬度介於 1025px - 1280px (電腦) */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 80%;
        padding-left: 220px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 48.5%;
        margin-bottom: 10px;
    }
    .ratebox {
        width: 65.5%;
    }
    .agentbox {
        width: 32%;
    }
}

/* 寬度介於 901px - 1024px (電腦) */
@media screen and (min-width: 901px) and (max-width: 1024px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 77%;
        padding-left: 220px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 48%;
        margin-bottom: 10px;
    }
    /*代理金額比例*/
    .ratebox, .agentbox {
        width: 99%;
        margin-bottom: 20px;
    }
    .ratebox .content_set {
        width: 90%;
    }
}

/* 寬度介於 701px - 899px */
@media screen and (min-width: 701px) and (max-width: 899px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 95%;
        padding-left: 20px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 48%;
        margin-bottom: 10px;
    }
    .ratebox, .agentbox {
        width: 100%;
        margin-bottom: 20px;
    }
    .rightbar_content {
        padding: 15px 0 0 10px;
    }
    /*代理金額比例*/
    .ratebox .content_set {
        width: 90%;
    }
    .rate {
        font-size: 0.95em;
    }
    .rate th {
        display: none;
        padding: 0.5em;
    }
    .rate td {
        display: block;
        padding: 0.5em;
    }
    .rate td:before {
        content: attr(data-th) "";
        font-weight: bold;
        width: 5.5em;
        display: inline-block;
        *display: inline;
    }
    .rate .data:before {
        display: table-cell;
    }
    .rate th, .rate td:before {
        color: #000;
    }
    .rate th:last-child, .rate td:last-child {
        padding-right: 0;
    }
    .progress {
        width: 98%;
    }
}
/* 寬度介於 640px - 700px */
@media screen and (min-width: 640px) and (max-width: 700px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 93%;
        padding-left: 20px;
    }
    /*輸贏金額、會員人數統計*/
    .infobox {
        width: 100%;
        margin-bottom: 10px;
    }
    .ratebox, .agentbox {
        width: 100%;
        margin-bottom: 20px;
    }
    /*代理金額比例*/
    .ratebox .content_set {
        width: 90%;
    }
    .rate {
        font-size: 0.95em;
    }
    .rate th {
        display: none;
        padding: 0.5em;
    }
    .rate td {
        display: block;
        padding: 0.5em;
    }
    .rate td:before {
        content: attr(data-th) "";
        font-weight: bold;
        width: 5.5em;
        display: inline-block;
        *display: inline;
    }
    .rate .data:before {
        display: table-cell;
    }
    .rate th, .rate td:before {
        color: #000;
    }
    .rate th:last-child, .rate td:last-child {
        padding-right: 0;
    }
    .progress {
        width: 98%;
    }
}

/* 寬度介於 421px - 639px */
@media screen and (min-width: 421px) and (max-width: 639px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        padding-left: 20px;
    }
    /*輸贏金額、會員人數統計*/
    .ratebox, .agentbox {
        width: 100%;
        margin-bottom: 20px;
    }
    .infobox {
        width: 100%;
        margin-bottom: 10px;
    }
    /*代理金額比例*/
    .ratebox .content_set {
        width: 90%;
    }
    .rate {
        font-size: 0.95em;
    }
    .rate th {
        display: none;
        padding: 0.5em;
    }
    .rate td {
        display: block;
        padding: 0.5em;
    }
    .rate td:before {
        content: attr(data-th) "";
        font-weight: bold;
        width: 5.5em;
        display: inline-block;
        *display: inline;
    }
    .rate .data:before {
        display: table-cell;
    }
    .rate th, .rate td:before {
        color: #000;
    }
    .rate th:last-child, .rate td:last-child {
        padding-right: 0;
    }
    .progress {
        width: 98%;
    }
}

/* 寬度介於 540px - 570px */
@media screen and (min-width: 540px) and (max-width: 570px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 94%;
    }
}

/* 寬度介於 321px - 420px */
@media screen and (min-width: 321px) and (max-width: 420px) {
    /*首頁_右側(內容)*/
    
    .tab_content, .index_content {
        width: 90%;
        padding-left: 20px;
    }
    /*輸贏金額、會員人數統計*/
    .ratebox, .agentbox {
        width: 100%;
        margin-bottom: 20px;
    }
    .infobox {
        width: 100%;
        margin-bottom: 10px;
    }
    .rightbar_content {
        padding: 15px 0 0 10px;
    }
    /*代理金額比例*/
    .ratebox .content_set {
        width: 90%;
    }
    .rightbar_content .number {
        font-size: 1.9em;
    }
    .rate {
        font-size: 0.95em;
    }
    .rate th {
        display: none;
        padding: 0.5em;
    }
    .rate td {
        display: block;
        padding: 0.5em;
    }
    .rate td:before {
        content: attr(data-th) "";
        font-weight: bold;
        width: 5.5em;
        display: inline-block;
        *display: inline;
    }
    .rate .data:before {
        display: table-cell;
    }
    .rate th, .rate td:before {
        color: #000;
    }
    .rate th:last-child, .rate td:last-child {
        padding-right: 0;
    }
    .progress {
        width: 98%;
    }
}

/* 寬度小於 320px */
@media screen and (max-width: 320px) {
    /*首頁_右側(內容)*/
    .tab_content, .index_content {
        width: 93%;
        padding-left: 10px;
    }
    /*輸贏金額、會員人數統計*/
    .ratebox, .agentbox {
        width: 100%;
        margin-bottom: 20px;
    }
    .infobox {
        width: 100%;
        margin-bottom: 10px;
    }
    .infobox .icon_bg {
        width: 65px;
    }
    /*代理金額比例*/
    .rightbar_content {
        padding: 15px 0 0 7px;
    }
    .ratebox .content_set {
        width: 90%;
    }
    .rightbar_content .number {
        font-size: 1.9em;
    }
    .rate {
        font-size: 0.95em;
    }
    .rate th {
        display: none;
        padding: 0.5em;
    }
    .rate td {
        display: block;
        padding: 0.5em;
    }
    .rate td:before {
        content: attr(data-th) "";
        font-weight: bold;
        width: 5.5em;
        display: inline-block;
        *display: inline;
    }
    .rate .data:before {
        display: table-cell;
    }
    .rate th, .rate td:before {
        color: #000;
    }
    .rate th:last-child, .rate td:last-child {
        padding-right: 0;
    }
    .progress {
        width: 98%;
    }
}