﻿/* 燈箱彈窗 */
.modal-header {
    padding: .5rem 1rem !important;
    background: -webkit-gradient(linear, left top, right top, from(#39b6e5), to(#5496ff));
    background: -webkit-linear-gradient(left, #39b6e5, #5496ff);
    background: linear-gradient(90deg, #39b6e5, #5496ff);
    color: #ffffff;
}

.modal-header .close {
    color: #ffffff;
}

.modal-title {
    background: url("../images/icon_hoin_modal.png") center left no-repeat;
    text-indent: 30px;
}

#exampleModal .modal-body, #notGameModal .modal-body, #depbankModal .modal-body, #depcvsModal .modal-body, #wtdbankModal .modal-body{
    background: #f4f6f9;
    text-align: center;
    font-size: 1.5rem;
    color: #555;
}

#noticeModal{
    display: none;
}

#noticeModal .modal-header{
    background: #ffffff;
    text-align: center;
    display: block;
    border: none;
}

#noticeModal .modal-header h5{
    font-size: 20px;
    color: #2790c0;
}

#noticeModal .modal-header span{
    display: block;
    color: #9e9e9e;
    margin-top: 2px;
    text-align: justify;
}

#noticeModal .modal-dialog{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-title {
    background: none;
    text-indent: 0;
}

#noticeModal .modal-content{
    margin: 0 auto;
    width: 92%;
    border-radius: 10px;
    overflow: hidden
}

#noticeModal .modal-body{
    padding: 0;
    line-height: 1;
    text-align: center;
    height: auto;
    background: #ffffff;
}

#noticeModal .modal-body img{
    max-width: 100%;
}

#noticeModal .modal-footer{
    padding: .25rem !important;
    background: #ffffff;
    justify-content: space-around !important;
    border: none;
}

#noticeModal .modal-footer .btn{
    font-size: .28rem;
    padding: 0.2rem 0.25rem;
    width: 40%;
    color: #fff;
    background: -webkit-linear-gradient(left, #39b6e5, #5496ff);
    background: linear-gradient(90deg, #39b6e5, #5496ff);
    transition: .23s;
    border: none;
    outline: none;
    border-radius: 0.1rem !important;
}

.HOINmodal-footer {
    justify-content: center !important;
    background: #f4f6f9;
    border: none;
    text-align: center;
    padding: 1rem 0;
}

.HOINmodal-footer .btn-modal-blue {
    background: #2678b5;
    color: #ffffff;
    width: 40%;
    padding: .5rem .75rem;
    transition: .23s;
}

.HOINmodal-footer .btn-modal-red {
    background: #f15656;
    color: #ffffff;
    width: 40%;
    padding: .5rem .75rem;
    transition: .23s;
}

.HOINmodal-footer .btn-modal-green {
    background: #6abb9d;
    color: #ffffff;
    width: 40%;
    padding: .5rem .75rem;
    transition: .23s;
}

.HOINmodal-footer .btn-modal-grey {
    background: rgb(172, 172, 172);
    color: #ffffff;
    width: 40%;
    padding: .5rem .75rem;
    transition: .23s;
}

.HOINmodal-footer .btn:hover {
    color: #ffffff;
    opacity: .9;
}

/* 簽到活動 */
#Checkin .modal {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
#Checkin .modal > div {
    width: 90%;
    background-color: #fff;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s, top 0.3s;
}

#Checkin .modal > div.active {
    top: 0%;
    opacity: 1;
}
#Checkin {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

#Checkin .modal_outer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 13;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.5);
    overflow-y: auto
}

#Checkin .modal_content {
    width: 100%;
    max-width: 28rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: .625rem;
    outline: 0;
    box-shadow: 0 10px 15px -3px #00000026;
    margin: 3.75rem auto;
    animation: animatezoom .35s;
}

#Checkin .modal_header {
    position: relative;
    padding: .625rem .875rem;
    font-size: 1.125rem;
    color: #fff;
    border-radius: .625rem .625rem 0 0;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(180deg,#8ee4ff 0%,#3495ff 100%) 0% 0%
}

#Checkin.btn_close {
    color: #fff9;
    position: absolute;
    right: .5rem;
    top: .5rem;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    width: 1.4375rem;
    height: 1.4375rem;
    text-align: center
}

#Checkin .btn_close:before {
    content: "\2715";
    font-family: iconfont;
    font-size: 1.5rem;
    position: absolute;
    line-height: .8125rem;
    left: 95%;
    top: 10%;
    transform: translate(-50%,-50%)
}

#Checkin .modal_body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 34rem;
    padding: .875rem .875rem .6125rem;
    font-size: .9375rem;
    background-color: #12436d
}

#Checkin .modal_footer {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: .6125rem .875rem .875rem
}

#Checkin .modal_footer button:not(:first-of-type) {
    margin-left: .875rem
}

#Checkin .sign_modeal_inner {
    height: auto;
    margin: 5%;
}

#Checkin .sign_modal_header {
    height: 11rem;
    border-radius: .625rem .625rem 0 0;
    overflow: hidden;
    background-image: url(../images/checkin/sign-modal-header.png);
    background-repeat: no-repeat;
    background-size: 100% auto
}

#Checkin .sign_content {
    height: auto;
    position: relative;
    padding: 0 .875rem;
    text-align: center
}

#Checkin .sign_content p {
    font-size: .9375rem;
    margin-bottom: .3125rem;
}

#Checkin .sign_content h1 {
    font-size: 1.6125rem;
    color: #cda258;
    font-weight: 700
}

#Checkin .sign_content h3 {
    font-size: 1.125rem;
    color: #31a0d2
}

#Checkin .sign_content span {
    font-size: .875rem
}

#Checkin .userAmount {
    display: flex;
    justify-content: center;
}

#Checkin .userAmount div {
    width: 50%;
}

#Checkin .signProgress_container {
    width: 100%;
    min-height: 1.5625rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-content: center
}

#Checkin .signProgress_container li {
    position: relative;
    z-index: 1;
    background-image: url(../images/checkin/icon-unsign.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 1.5625rem;
    height: 1.5625rem
}

@media(min-width: 375px) {
    #Checkin .signProgress_container li {
        width:1.5625rem;
        height: 1.5625rem
    }
}

@media(min-width: 768px) {
    #Checkin .signProgress_container li {
        width:2.2rem;
        height: 2.2rem
    }
}

#Checkin .signProgress_container li.sign {
    background-image: url(../images/checkin/icon-sign.png)
}

#Checkin .signProgress_container:after {
    content: "";
    position: absolute;
    height: .75rem;
    left: .375rem;
    right: .375rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4d4d4d;
    border: 1px solid gray;
    border-radius: .375rem
}

#Checkin .signMsg_container {
    width: 100%;
    height: 5.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center
}

#Checkin #Checkin.signMsg_container .ic_award {
    width: 6.8125rem;
    height: 4.8125rem;
    background-image: url(/assets/icon-award.c3b66c1f.png);
    background-repeat: no-repeat;
    background-size: 100% auto
}

#Checkin ol.decmimal li {
    list-style-type: decimal;
    margin-left: 4em;
    position: relative
}

#Checkin ol.decmimal li i {
    width: 1em;
    position: absolute;
    left: -1em
}

#Checkin .decmimal {
    padding-top: .75rem;
    border-top: .5px dotted rgba(255,255,255,.2)
}

#Checkin .decmimal li {
    text-align: left;
    font-size: .875rem;
    margin-bottom: .25rem;
    line-height: 1.25rem;
}

#Checkin .modal_footer {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: .6125rem .875rem .875rem
}

#Checkin .modal_footer .q-btn {
    padding: 0 25px;
    min-width: 120px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#31a0d2), to(#0871c3));
    background: linear-gradient(180deg, #505050 0%, #303030 100%);
    -webkit-box-shadow: 0px 4px 1px #003046;
    box-shadow: 0px 4px 1px #303030;
    border-radius: 28px;
    outline: none;
    border: none;
}

#Checkin .modal_footer .active {
    background: linear-gradient(90deg, #e2bd78   0%, #cda258 100%);
    box-shadow: 0px 4px 1px #003046;
    cursor: pointer;
}