/*back up*/
.back-to-top {
    cursor: pointer;
    display: inline;
    position: fixed;
    bottom: 18px;
    right: 15px;
}
.back-to-top i {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    text-align: center;
    background-color: #444;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    margin-bottom: 0px;
    padding: 10px 5px 0 5px;
    font: 20px/27px sans-serif;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    border-radius: 50%;
    color: #fff;
    opacity: 0;
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    background-image: -moz-linear-gradient(top, #EBEBEB, #DEDEDE);
    background-image: -o-linear-gradient(top, #EBEBEB, #DEDEDE);
    background-repeat: repeat-x;
    transition: opacity .2s;
    z-index: 999;
background: rgba(0, 0, 0, 0.5);
}
#back-to-top:hover {
    background: #0088fe;
}
#back-to-top.show {
    opacity: 1;
}
/*close*/
.close {
    color: #fff;
    opacity: 1;
    text-shadow: none;
    font-size: 25px;
    font-weight: 700;
    line-height: .8;
}
.close:hover {
    color: #fff;
    transform: rotate(90deg);
    transition: transform .2s ease-in-out;
}
.modal-header .close {
    margin-top: -2px;
    transform: rotate(0deg);
    transition: transform .2s ease-in-out;
}
/*滾條*/
/*Scroll bar滾條*/
::-webkit-scrollbar {
    width: 8px;
    background: rgba(255,255,255,1);
}
::-webkit-scrollbar-track {
    background-color: #f7f7f7;
}
::-webkit-scrollbar-thumb {
    background-color: #0088fe;
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255, 255, 255, 1);
}
/*共用表格tr hover效果*/
table tr:hover{
    background-color: #fef6c3!important;
    color: #333!important;
}
/*存提款教學*/
@media only screen and (min-width: 1250px){
    .npt .container{width: 1200px;}
}
.npt_btn-wrap{
    position: absolute;
    width: 459px;
    height: 34px;
    right: 0;
    top: 10px;
}
.nptOC {width: 1200px}
.npt_wrap {
    position: absolute;
    width: 1200px;
    top: 206px;
    left: 0px;
}
.npt a.btn:hover, .ntp a.btn:focus{
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
/*存款第一步驟*/
.npteach1{width: 1200px;}
.npteach1 .teach-box{top: 35px;left: 24px;}
.npteach1 .npt_next{top: 125px;left: 74px;}
.npteach1 a.btn{left: 74px;}
.npteach1 a.glyphicon-remove{left: 215px;top: 50px;}
/*取款第一步驟*/
.npteach5{width: 1200px}
.npteach5 .teach-box{top: 35px;left: 107px;}
.npteach5 .npt_next{top: 125px;left: 160px;}
.npteach5 a.btn{left: 146px;}
.npteach5 a.glyphicon-remove{right: 150px;top: 50px;}

/*已滿/未滿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{
    display: table-cell;
    vertical-align: middle;
    width: 25%;
}
.content-left img{
    width: 90%;
}
.content-body .content-right{
    float: right;
}
.content-right h4{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #e31b23;
}
.content-right p{
    margin-top: 0;
    margin-bottom: 1rem;
}
#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: flex;
    justify-content: center;
}
#WarningModal .footre-btn .btn{
    min-width: 110px;
    height: 30px;
    margin: 2px 5px 2px 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: calc(100% - 30px);
    max-width: 600px;
}
#ViberModal .modal-body{
    background: transparent;
    width: 100%;
    display: flex;
    padding: 10px;
    overflow: initial;
}
#ViberModal .close{
    position: absolute;
    right: 0;
    top: -35px;
    width: 30px;
    height: 30px;
    border-radius: 50em;
}
#ViberModal .ViberBtn{
    width: 100%;
    margin: 0;
    border-radius: 4px;
    color: #fff;
    flex: 0 0 calc(50% - 5px);
    height: 130px;
    padding: 25px 0;
}
#ViberModal .ViberBtn.OpenViber{
    margin-right: 10px;
    background: #7d51a1;
}
#ViberModal .ViberBtn.DownloadViber{
    background: #666;
}
#ViberModal .OpenViber .Vibericon{
    background: url("../../images/footer/common/viber-icon2.png") top center no-repeat;
    width: 40px;
    height: 40px;
    display: inline-block;
}
#ViberModal .DownloadViber .Vibericon{
    font-size: 37px;
}
/*存送優惠提示*/
#DepositBonusModal .modal-body{
    display: flex;
    align-items: center;
}
#DepositBonusModal .modal-footer{
    display: flex;
    justify-content: center;
}
#DepositBonusModal .prompt-img{
    background: url(../../images/index/common/oops.png) center/contain no-repeat;
    flex: 0 0 97px;
    max-width: 97px;
    height: 79px;
    animation: oops 1s infinite cubic-bezier(1, 0, 0, 1);
    margin: 0 15px;
}
#DepositBonusModal .prompt-top{
    color: #e31b23;
}
#DepositBonusModal .prompt-bottom{
    color: #164A02;
}
#DepositBonusModal .modal-footer .btn{
    min-width: 110px;
    height: 30px;
    margin: 2px 5px 2px 0;
}
@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);
    }
}