/*共用
==============*/
body {
    font-family: "微軟正黑體","Microsoft Yahei",'Arial', 'Zawgyi-One';
    background-color: rgb(0, 74, 140);
    font-size: 14px;
}
/*消除浮動*/
.clearfix:after,.clearfix:before {
    content: "";
    display: table
}
.clearfix:after {
    clear: both
}
/*文字*/
.txt-left{
    text-align: left;
    color: #FFFFFF;
}
.txt-right{
    text-align: right;
    color: #ffd600;
	margin-bottom: 10px;
}
/*表格標題粗體*/
.control-label{
    font-weight: bold;
}
/*點擊手指*/
.curspoint{
    cursor: pointer;
}
/*連結*/
a:hover, a:focus {
    /*color: #fff;*/
    text-decoration: none;
}
/*提示字*/
.form_wrapper .tips{
    color: #fff;
}
#mem_account .TextError {
    color: #ffd16f;
}
/*手機板-表格*/
@media (max-width: 736px) {
    .table-rwd{min-width: 100%;}
    tr.tr-only-hide {display: none !important;}
    .table-rwd tr{
        /*color: #fff;*/
        display: block;
        border: 2px solid #ddd;
        margin-top: 5px;
    }
    .table-rwd td {
        text-align: left;
        font-size: 15px;
        overflow: hidden;
        width: 100%;
        display: block;
    }
    .table-rwd td:before {
        content: attr(data-th) " : ";
        display: inline-block;
        text-transform: uppercase;
        font-weight: bold;
        margin-right: 10px;
        color: #D20B2A;
    }
    .table-rwd.table-bordered td,.table-rwd.table-bordered th,.table-rwd.table-bordered{border:0;}
    .table-rwd td[class~=hide-td]{display: none !important;}
}
/*表格左右間距*/
.pad-distance{
    margin: 0;
}
/*投注紀錄底部間距*/
.acc-note .acc-note .table-responsive .table .btn-primary {
    width: 80%;
    margin: 5px 0;
    color: #fff;
    background: #478ded;
    border-color: #4c7ec1;
}
.acc-note .table-responsive .table .btn-note{
    width: 58%;
    margin: 5px 0;
}
/*表格顏色*/
.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border: solid 1px #dadada;
}
.table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>th, .table>caption+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>td, .table>thead:first-child>tr:first-child>td {
    border: solid 1px #dadada;
}
/*Display屬性*/
.d-block {
    display: block;
}
.d-inline {
    display: inline;
}
.d-inlineblock {
    display: inline-block;
}
/*文字不換行*/
.nowrap{
    white-space: nowrap;
}
/*文字強迫換行*/
.word-break{
    word-break: break-all;
}
/*分頁頁數*/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 5px 0;
    border-radius: 4px;
}
/*生日 修改帳號資訊*/
#birthday[readonly], .form-control {
    /*background-color: #fff;*/
    cursor: pointer;
}
/*生日 註冊會員*/
#birthday[readonly], .curspoint {
    background-color: transparent;
    cursor: pointer;
}
/*close 按鈕顏色*/
.close{
    color: #fff;
    opacity: 1;
}
.close:hover{
    color: #fff;
    opacity: 1;
}
/*手機版教學*/
.mobile_common{
    max-height: 75vh;
    padding-top: 55px;
    padding-left: 0px;
    overflow: auto;
}
.mobile_title{
    text-align: center;
}
.mobile_title .download-btn{
    width: 80%;
    height: 55px;
    margin: 0 auto;
    line-height: 55px;
    border: 1px solid #000;
    border-radius: 50px;
    color: #000;
    margin-bottom: 20px;
}
.mobile_title h1{
    font-size: 1.5em;
    letter-spacing: 3px;
    color: #333333;
    margin-bottom: 10px;
}
.mobile_title h2{
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: #333333;
    margin-bottom: 10px;
}
.mobile_title h3{
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: #333333;
    margin-bottom: 10px;
}
.mobile_title h4{
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: #333333;
    margin-bottom: 10px;
}
.mobile_title h5{
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: #333333;
    margin-bottom: 10px;
}
.mobile_title p{
    color: #808080;
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.1875);
    font-size: .8em;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0;
    margin-top: 0.35em;
}
.mobile_title p:before{
    content: '';
    display: block;
    border-top: solid 1px #808080;
    margin: 4px 0 0.8em 0;
}
.mobile_container {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dbdbdb;
}
.mobile_container h2{
    font-weight: 600;
    font-size: 1.2em;
    letter-spacing: 10px;
    color: #111b34;
    text-align: center;
    margin: 10px 0 20px;
}
.mobile_container .red_color{
    color: #FF0000;
}
.mobile_container img{
    width: 100%;
    border-radius: 3px;
}
#mobile_ios .mobile-choose{
    position: absolute;
    width: 100%;
    height: 40px;
    top:49px;
    left: 0;
}
.choose_btn ul{
    position: relative;
    display: flex;
    margin: 0 auto;
    padding: 0;
    max-width: 1000px;
    list-style: none;
    flex-flow: row wrap;
    justify-content: center;
}
.choose_btn ul li{
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
    text-align: center;
    flex: 1;
    background-color: #908574;
}
.choose_btn ul li.tab-current {
    background-color: #ffff00;
}
.choose_btn ul li a {
    position: relative;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 2.5;
    padding: 0px;
    border-left: 1px solid #fff;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
    transition: color 0.2s;
    color: #fff;
}
.choose_btn ul li.tab-current a {
    color: #333;
}
.choose_btn ul li a span {
    vertical-align: middle;
    font-weight: 700;
    font-size: 14px;
}
/*遊戲廠商Menu*/
.gameMenu {
    position: absolute;
    padding: 5px 2px 0px 2px;
    width: 100%;
    background: #031f51;
    border-bottom: 1px solid #184596;
}
.gameMenu .menuControll ul{
    overflow-y: hidden;
    white-space: nowrap;
}
.gameMenu .menuControll ul::-webkit-scrollbar {
    display:none
}
.gameMenu .menuControll ul li {
    color: #fff;
    display: inline-block;
    box-sizing: border-box;
    margin: 0 2px;
}
.gameMenu .menuControll ul li a {
    float: left;
    border: 1px solid #1a56a9;
    box-sizing: border-box;
    color: #fff;
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 8px;
    line-height: 20px;
    padding-top: 5px;
    text-align: center;
}
.gameMenu .menuControll ul li .gameIcon {
    float: left;
    margin-right: 5px;
}
.gameMenu .menuControll ul li a.active {
    border: 1px solid #ffec9d;
}
.gameMenu .menuControll ul li .ratioBox{
    float: left;
    line-height: 18px;
    margin-right: -5px;
    text-align: center;
}
/*遊戲ICON區*/
.iconQT {
    background: url(../../images/index/common/gameIcon/qt.png) no-repeat 0 0;
    width: 36px;
    height: 40px;
}
/*Icon 選單樣式*/
.IconMenu{
    width: 100%;
}
.IconMenu ul li{
    border: solid 1px #1a56a9;
    box-shadow: inset 1px 1px 0 #072754;
    margin: 0 -1px -1px 0;
    float: left;
}
.IconMenu ul li a{
    position: relative;
    width: 135px;
    height: 181.83px;
    margin: 10px auto;
    display: block;
    text-align: center;
    overflow: hidden;
}
.IconMenu ul li img{
    width: 100%;
}
@media screen and (max-width: 415px){
    .IconMenu ul li{
        width: 50%;
    }
}
@media screen and (min-width: 415px){
    .IconMenu ul li{
        width: 25%;
    }
}

/*已滿/未滿18歲提示窗樣式*/
#WarningModal.modal {
    text-align: center;
    padding: 0;
}
#WarningModal.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;

}
#WarningModal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    max-width: 800px;
}
.close:hover{
    color: #fff;
}
#WarningModal .modal-body {
    position: relative;
    padding: 16px;
    max-height: initial;
    overflow: hidden;
}
.content-body{
    display: table;
}
.content-body .content-left{
    text-align: center;
}
.content-left img{
    width: 30%;
    margin-bottom: 20px;
}
.content-body .content-right{
    float: right;
}
.content-right h4{
    font-size: calc(1rem + 0.1 * ((100vw - 600px) / (1200 - 600)));
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #e31b23;
    text-align: center;
}
.content-right p{
    margin-top: 0;
    margin-bottom: 5px;
}
#WarningModal .ChangeLan{
    float: right;
    margin-top: -6px;
}
#WarningModal .RememberCheck{
    cursor: pointer;
    color: #a0a0a0;
    font-weight: normal;
}
#WarningModal .RememberCheck input{
    margin-right: 5px;
}
#WarningModal .footre-btn{
    display: block;
    padding: 15px;
}
#WarningModal .footre-btn .btn{
    max-width: 100%;
    min-width: 110px;
    height: 30px;
    margin: 0px 5px 5px 0;
    border-radius: 4px;
    padding: 0;
}
#WarningModal .footre-btn .goback{
    width: 100%;
    margin: 10px 0 0 0;
}
@media (max-width: 768px) {
    #WarningModal .modal-dialog {
        width: 80%;
    }
}
/*Viber安裝提示窗*/
#ViberModal.modal{text-align: center;}
#ViberModal.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: ' ';
    height: 100%;
}
#ViberModal .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: auto;
    max-width: 600px;
}
#ViberModal .modal-body{
    background: transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    max-width: 322px;
    margin: auto;
}
#ViberModal .close{
    position: absolute;
    right: 0;
    top: -35px;
    width: 30px;
    height: 30px;
    border-radius: 50em;
}

#ViberModal .modal-body > div{display: flex;flex-direction: row;}
#ViberModal .modal-body > div > div{display: flex;flex-direction: column}
#ViberModal .btn{border-radius: 5px;}
/*正方型的按鈕*/
#ViberModal .btn_square {height: 95px;display: flex;align-items: center;justify-content: center;flex-direction: column;margin: 3px 6px 3px 0;}
#ViberModal .btn_square > p {margin-top: 10px;}
/*長方型的按鈕*/
#ViberModal .btn_rectangle{width: 160px;height: 45px;display: flex;align-items: center;margin: 3px 0 0 0;}
#ViberModal .btn_rectangle > p {margin: auto;}
/*大長方型的按鈕*/
#ViberModal .btn_rectangle_big{width: 100%;height: 55px;display: flex;align-items: center;margin: 3px 0 0 0;}
#ViberModal .btn_rectangle_big > i {font-size: xx-large;}
#ViberModal .btn_rectangle_big > p {margin: auto;}

#ViberModal .FB {background: #1e4ea3;color: #fff;}
#ViberModal .Line {background: #04c303;color: #fff;}
#ViberModal .WhatsApp {background: #00a500;color: #fff;}
#ViberModal .Viber {background: #7c51a0;font-size: 12px;color: #fff;}
#ViberModal .ViberDownload {background: #666;color: #fff;}

/*Viber安裝提示窗*/
#ViberModal_Mini.modal{text-align: center;}
#ViberModal_Mini.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: ' ';
    height: 100%;
}
#ViberModal_Mini .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: auto;
    max-width: 600px;
}
#ViberModal_Mini .modal-body{
    background: transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    max-width: 322px;
    margin: auto;
}
#ViberModal_Mini .close{
    position: absolute;
    right: 0;
    top: -35px;
    width: 30px;
    height: 30px;
    border-radius: 50em;
}
#ViberModal_Mini .modal-body > div{display: flex;flex-direction: row;}
#ViberModal_Mini .modal-body > div > div{display: flex;flex-direction: column}
#ViberModal_Mini .btn{border-radius: 5px;}
/*長方型的按鈕*/
#ViberModal_Mini .btn_rectangle{width: 160px;height: 45px;display: flex;align-items: center;margin: 3px 0 0 0;}
#ViberModal_Mini .btn_rectangle > p {margin: auto;}
#ViberModal_Mini .Viber {background: #7c51a0;font-size: 12px;color: #fff;}

/*QT活動按鈕*/
.main-wrapper .btnWrapper {
    position: absolute;
    top: 80%;
    left: 30%;
    padding: 10px 20px;
    font-size: 12px;
}
.main-wrapper .btnWrapper a {
    padding: 10px 15px;
    font-size: 16px;
    line-height: 32px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
    text-align: center;
    white-space:nowrap;
}
@media (max-width: 767px) {
    .main-wrapper .btnWrapper{
        position: absolute;
        top: 10%;
        left: -3%;
        padding: 10px 20px;
        font-size: 12px;
    }
    .main-wrapper .btnWrapper a {
        padding: 0px 10px;
        font-size: 12px;
        line-height: 32px;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        margin-bottom: 5px;
        display: block;
        text-align: center;
        max-width: 88px;
    }
}
@media (max-width: 360px){
    .main-wrapper .btnWrapper{
        top: 10%;
        left: -2%;
        padding: 5px 10px;
        font-size: 12px;
    }
    .main-wrapper .btnWrapper a{
        line-height: 25px;
    }
}
/*存送優惠提示*/
#DepositBonusModal .modal-body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
#DepositBonusModal .prompt-img{
    background: url(../../images/index/common/oops.png) center/contain no-repeat;
    flex: 0 0 100%;
    max-width: 100%;
    height: 79px;
    animation: oops 1s infinite cubic-bezier(1, 0, 0, 1);
    margin-bottom: 15px;
}
#DepositBonusModal .prompt-top{
    color: #e31b23;
}
#DepositBonusModal .prompt-bottom{
    color: #164A02;
}
#DepositBonusModal .modal-footer{
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
}
#DepositBonusModal .modal-footer .btn-primary{
    margin-bottom: 10px;
}
#DepositBonusModal .modal-footer .btn-defult{
    width: 100%;
    margin-left: 0;
    border-radius: 4px;
}
@keyframes oops {
    0%{
        filter:brightness(1.4);
        -webkit-filter:brightness(1.4);
    }
    50%{
        filter:brightness(1);
        -webkit-filter:brightness(1);
    }
    100%{
        filter:brightness(1.4);
        -webkit-filter:brightness(1.4);
    }
}