.gfwc-loader{ display: inline-block; }
.gfwc-loader div{ width: 8px; height: 8px; background: #fff; border-radius: 100%; display: inline-block; animation: wof-bd 1.1s infinite ease-in-out both }
.gfwc-loader .r1{ animation-delay: -.32s}
.gfwc-loader .r2{ animation-delay: -.16s}

.gfwc-screen { position: relative; }
.gfwc-screen.disable-view >div:not(.gfwc-screen-cover){ filter: blur(5px); }
.gfwc-screen.disable-view{ overflow: hidden; }
.gfwc-screen .gfwc-screen-cover{ position: absolute; top: 0; right: 0; left: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.85); z-index: 300; }
.gfwc-screen .gfwc-screen-cover .notice-inner{ display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; width: 90%; min-width: 400px; height: 200px; padding: 10px; 
    opacity: 1; transform: translateY(0); transition: .3s; }
.gfwc-screen .gfwc-screen-cover .gfwc-login-form{ position: absolute; width: 100%; max-width: 660px; top: 65%; left: 50%; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; transition: .3s; }
.gfwc-screen .gfwc-screen-cover .gfwc-login-form *,
.gfwc-screen .gfwc-screen-cover .gfwc-login-form label[for="username"]:before,
.gfwc-screen .gfwc-screen-cover .gfwc-login-form label[for="reg_username"]:before{ color: #fff; border-color: #fff; }
.gfwc-screen .gfwc-screen-cover .gfwc-login-form .woodmart-switch-to-register{ color:#000; }
.gfwc-screen .gfwc-screen-cover.call-login .notice-inner{ transform: translateY(-10vh); opacity: 0; pointer-events: none; }
.gfwc-screen .gfwc-screen-cover.call-login .gfwc-login-form{ top: 50%; opacity: 1; pointer-events: auto; transition: .3s .2s; }
.gfwc-screen .gfwc-screen-cover .screen-notice{ display: inline-block; font-size: 1.5rem; color: #fff; font-weight: 600; text-align: center; }
.gfwc-screen .gfwc-screen-cover .redirect-link{ margin-top: 1rem; padding: 6px 12px; border: 1px solid #fff; color: #fff; border-radius: 3px; transition: .3s; font-size: 14px; }

.gfwc-game-popbox *{ font-family: Microsoft JhengHei, Lato, Arial, Helvetica, sans-serif, woodmart-font, "Font Awesome 5 Brands", "Font Awesome 5 Free" !important; }
.gfwc-game-popbox{ position: fixed; z-index: 500; pointer-events: none; top: -100vh; left: 0; width: 100%; height: 100vh; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.gfwc-game-popbox.box-position-left{ justify-content: flex-start; }
.gfwc-game-popbox.box-position-right{ justify-content: flex-end; }
.gfwc-game-popbox .popbox-actions{ transition: .3s .6s; width: 100%; text-align: right; padding: 0 10px; font-size: 14px; line-height: 2em; position: absolute; bottom: 0; left: 0; z-index: 500; opacity: 0; padding-bottom: 5px; }
.gfwc-game-popbox .popbox-actions >*{ color: #fff; font-size: 15px; padding: 3px 5px; letter-spacing: 1px; cursor: pointer; background-color: rgba(0, 0, 0, 0.2); margin-left: 1em; }
.gfwc-game-popbox .popbox-actions i{margin-right:3px;}
.gfwc-game-popbox.popup .popbox-actions{ opacity: 1; }
.gfwc-game-popbox.popup{ pointer-events: auto; top:0; }
.gfwc-game-popbox .overflow{ position: absolute; width: 100%; height: 100%; z-index: 1; left: 0; top: 0; background-color: #000; opacity: 0; transition: .2s; }
.gfwc-game-popbox.popup .overflow{ opacity: 0.6; }

.gfwc-game-popbox .box-inner{ z-index: 2; transition: .5s .1s; opacity: 0; position: relative; }
.gfwc-game-popbox:not(.box-position-center) .gfwc-screen >div,
.gfwc-game-popbox:not(.box-position-center) .gfwc-screen{ height:100%; }
.gfwc-game-popbox.box-position-center .box-inner{ width: auto; max-width: 1000px; transform: translateY(-30vh); }
.gfwc-game-popbox.box-position-center.popup .box-inner{ opacity: 1; transform: translateY(0); }
.gfwc-game-popbox.box-position-left .box-inner{ height:100%; width: auto; transform: translateX(-10vw); }
.gfwc-game-popbox.box-position-left.popup .box-inner{ opacity: 1; transform: translateX(0); }
.gfwc-game-popbox.box-position-right .box-inner{ height:100%; width: auto; transform: translateX(10vw); }
.gfwc-game-popbox.box-position-right.popup .box-inner{ opacity: 1; transform: translateX(0); }

.gfwc-css-vars{ position: relative; }
.gfwc-css-vars .result-box{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.5); pointer-events: none;
    opacity: 0; }
.gfwc-css-vars .result-box.show{ pointer-events: auto; opacity: 1; z-index: 20; }
.gfwc-css-vars .result-content{ background-color: #fff; padding: 1.5rem 2rem; width: auto; min-width: 300px; max-width: 90%; text-align: center; border-radius: 10px; transform: scale(0.3); opacity: 0; transition: .3s; 
    border-top: 14px solid var(--lottery-btn-bg-color); box-shadow: 0 0 15px #555; }
.gfwc-css-vars .result-box.show .result-content{ transform: scale(1); opacity: 1; }
.gfwc-css-vars .result-actions a{ text-decoration: unset; font-size: 15px; outline: unset; box-shadow: unset; color: var(--lottery-btn-color); background-color: var(--lottery-btn-bg-color); padding: 5px 12px; font-weight: 600; 
    border: 1px solid #e6e6e6; margin: 0 6px; }
.gfwc-css-vars .result-msg{ margin-bottom: 1rem; }
.gfwc-css-vars .result-msg .msg-title{ font-size: 18px; font-weight: 600; margin-top: 0; margin-bottom: 1rem; }
.gfwc-css-vars .result-msg .msg-title i{ margin-left: 5px; }
.gfwc-css-vars .result-msg .msg-body{ font-size: 16px; color: #666; margin: 0; line-height: 2; }
.gfwc-css-vars .result-msg .msg-body.is-demo{ margin: 0 0 5px; font-size: 13px; font-weight: 900; color: #F44336; }

.gfwc-css-vars .result-box.show.isError .result-content{ border-top-color: #FF9800; }
.gfwc-css-vars .result-box.show.isError .result-content .result-msg{ font-weight: 600; font-size: 18px; margin: 1rem 0 2rem; }
.gfwc-css-vars .result-box.show.isError .result-actions .btn-play-again{ display:none; }

.gfwc-shortcode .btn-play-again{ display:none; }


#gfwc-history thead{ color: #333; font-weight: 600; }

@keyframes wof-bd {
    0%,100%,80% {
        transform: scale(0)
    }
    40% {
        transform: scale(1)
    }
}

@media(max-width:1000px){
    .gfwc-game-popbox.box-position-center .box-inner{ max-width: 90%; }
    .gfwc-game-popbox .popbox-actions >*{ font-size: 14px; }
}
@media(max-width:767px){
    .gfwc-game-popbox{ justify-content: center!important; }
    .gfwc-game-popbox .box-inner{ width: 95%!important; height: auto!important; }
    .gfwc-game-popbox .popbox-actions >*{ font-size: 12px; }
}