﻿@font-face {
    font-family: gangofthree;
    src: url('../lib/fonts/go3v2.ttf');
}

@font-face {
    font-family: chunkfive;
    src: url('../lib/fonts/chunkfive.ttf');
}

@font-face {
    font-family: unisansbold;
    src: url('../lib/fonts/Uni%20Sans%20Bold.otf');
}

@font-face {
    font-family: unisansheavy;
    src: url('../lib/fonts/Uni%20Sans%20Heavy.otf');
}

@font-face {
    font-family: copperplate;
    src: url('../lib/fonts/Copperplate.ttf');
}

#fortunewheel {
    background: url('../images/bg.jpg') no-repeat top center;
    background-size: cover;
}

    #fortunewheel * {
        box-sizing: border-box;
        font-family: copperplate;
    }

.fw-container {
    width: 1060px;
    margin: auto;
}

.fw-top {
    text-align: center;
}

    .fw-top img {
        max-width: 75%;
        margin: 5vw 0 0 0;
    }

.fw-top-m {
    display:none;
}

.fw-playground {
    font-size: 0;
    border: 0px solid green;
    margin-top: -5vw;
}

.fw-pg {
    display: inline-block;
    text-align: center;
    vertical-align: top;
}

    .fw-pg.fw-pg-submit {
        width: 25%;
        margin-top: 5%;
        margin-right: 1vw;
        border: 0px solid white;
    }
    .fw-pg.fw-pg-submit-m {
        display: none;
    }

    .fw-pg.fw-pg-wheel {
        width: 45%;
        position: relative;
        margin-bottom: 10%;
        border: 0px solid gold;
    }

        .fw-pg.fw-pg-wheel canvas {
            position: absolute;
            top: 4.2%;
            left: 3.2%;
            z-index: 1;
            transform: scale(0.83);
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-bg {
            width: 100%;
            z-index: 2;
            position: relative;
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-spin {
            position: absolute;
            z-index: 3;
            width: 23%;
            top: 40%;
            left: 39%;
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-cshen {
            position: absolute;
            z-index: 3;
            width: 38%;
            top: 63%;
            left: 78%;
        }

    .fw-pg.fw-pg-score {
        width: 25%;
        margin-top: 5%;
        margin-left: 1vw;
        border: 0px solid cyan;
    }

    .fw-pg.fw-pg-score-m {
        display: none;
    }

.fw-bwin-outer {
    min-height: 270px;
}

.fw-bwin-chart {
    margin-bottom: 16%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 1px 1px 1px #de537459;
}

.tbl-bigwin {
    width: 100%;
    border-collapse: collapse;
}

    .tbl-bigwin thead {
        background: rgb(255,246,104);
        background: -webkit-linear-gradient(270deg, rgba(255,246,104) 0%, rgb(255,193,0) 100%);
        /*background: -webkit-linear-gradient(270deg, rgba(255,0,0) 0%, rgb(151,6,6) 100%);*/
        color: #252525;
        font-size: 14px;
    }

        .tbl-bigwin thead th {
            padding: 4%;
        }

    .tbl-bigwin tbody {
        font-family: copperplate;
        color: white;
        background: #252525;
        box-shadow: inset 0px 1px 5px 0px #000000ad;
    }

        .tbl-bigwin tbody td {
            padding: 3%;
            line-height: 1;
        }

.fw-GO3-SPEC {
    color: #fded3b;
    text-shadow: 0px 0px 3px #381404;
    font-weight: bold;
}

.fw-C5-SPEC {
    background: rgb(255,30,0);
    background: -webkit-linear-gradient(#ff1e00, #ffea00);
    -webkit-text-stroke: 1px rgba(255,245,134,1);
    -webkit-background-clip: text;
    color: transparent;
    /*color: #fff;*/
    font-family: copperplate !important;
    text-shadow: none;
}

    .fw-C5-SPEC * {
        font-family: copperplate !important;
    }

.txt20 {
    font-size: 20px;
}
.txt34 {
    font-size: 34px;
}

.bg-base {
    background: url(../images/base-min.png) no-repeat top center;
    background-size: 100%;
    padding: 34px 30px;
}

.inputgroup {
    background: #252525;
    border-radius: 50px;
    box-shadow: inset 0px 1px 5px 0px #000000ad;
}

    .inputgroup input {
        width: 100%;
        text-align: center;
        border: none;
    }

    .inputgroup select {
        height: unset;
        font-size: 14px;
        border-radius: 50px;
        width: 100%;
    }

.txt40 {
    font-size: 40px;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1vw;
}

.p-1 {
    padding: 0.3rem;
}

.btn-empty {
    padding: 0;
    border: 0;
    background-color: transparent;
}

    .btn-empty img {
        width: 78%;
    }

.fw-pop, .fw2-pop {
    display: none;
    position: fixed;
    background-color: #000000a6;
    height: 100%;
    width: 100%;
    overflow: hidden;
    top: 0;
    text-align: center;
    z-index: 999999;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    transition: opacity .3s ease-in-out;
    opacity: 0;
    border: 0px solid gold;
}
    .fw-pop > a > img {
        position: absolute;
        line-height: 100%;
        vertical-align: middle;
        display: inline-block;
    }

    .fw-pop.active, .fw2-pop.active {
        display: flex;
    }

.fw-pop-pz img {
    max-width: 700px;
    position: relative;
    transform: scale(0);
    transition: transform .35s cubic-bezier(0,.81,.25,1.22);
}

.grayscale {
    filter: grayscale(1);
}

.fw2-spin a {
    display: inline-block;
    min-width: 200px;
    background: url(../images/btnEmpty.png) center center no-repeat;
    background-size: 100% 100%;
    font-size: 22px;
    padding-top: 13px;
    padding-bottom: 17px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1vw;
}

.jq-icon-success {
    background: #EDFF1A;
    background: -webkit-radial-gradient(top left, #EDFF1A, #76E615) !important;
    background: -moz-radial-gradient(top left, #EDFF1A, #76E615);
    background: radial-gradient(to bottom right, #EDFF1A, #76E615);
}

    .jq-icon-success .jq-toast-loader {
        background: #FF6B1A;
        background: -webkit-linear-gradient(left, #1aff63, #15b0e6) !important;
        background: -moz-linear-gradient(left, #1aff63, #15b0e6);
        background: linear-gradient(to right, #1aff63, #15b0e6);
    }

    .jq-icon-success.jq-has-icon {
        padding: 10px 10px 10px 60px !important;
    }

.jq-toast-single {
    width: auto !important; 
}

.txtBoxTitle {
    font-size: 3.75vw;
}

.txtBoxSubTitle {
    font-family: copperplate;
    font-size: 3.25vw;
    color: #fff;
}

.txtSltNumFS {
    font-size: 2.3vw;
}
.txtFS {
    font-size: 2.3vw;
}

.txtTWin {
    font-size: 3.2vw;
}

/* -------------------------------- MEDIA SCREEN MAX 480px -------------------------------- */
@media screen and (max-width : 480px) {

    #fortunewheel {
        background: url('../images/bg-m.jpg') no-repeat top center;
        background-size: cover;
    }
    .fw-container {
        width: 100%;
        display: inline-block;
        border: 0px solid blue;
    }
    
    .fw-top {
        display:none;
    }

    .fw-top-m {
        display: block;
        text-align: center;
    }
        .fw-top-m img {
            max-width: 100%;
            margin: 5vw 0 3vw 0;
        }

    .fw-playground {
        border: 0px solid green;
        margin-top: 10vw;
    }

    .fw-pg.fw-pg-wheel {
        width: 80%;
        position: relative;
        margin-bottom: 10%;
        border: 0px solid white;
    }

        .fw-pg.fw-pg-wheel canvas {
            position: absolute;
            top: -14.3vw;
            left: -14.3vw;
            z-index: 1;
            transform: scale(0.63);
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-bg {
            width: 100%;
            z-index: 2;
            position: relative;
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-spin {
            position: absolute;
            z-index: 3;
            width: 23%;
            top: 40%;
            left: 39%;
        }

        .fw-pg.fw-pg-wheel .fw-pg-wheel-cshen {
            z-index: 0;
            width: 65%;
            top: -15vw;
            left: 43vw;
        }

    .fw-pg.fw-pg-submit {
        display: none;
    }

    .fw-pg.fw-pg-submit-m {
        width: 49%;
        margin-top: 1vw;
        margin-right: 0.1vw;
        float: left;
        display: block;
        border: 0px solid white;
    }

    .fw-pg.fw-pg-score {
        display: none;
    }

    .fw-pg.fw-pg-score-m {
        width: 49%;
        margin-top: 1vw;
        margin-left: 0.1vw;
        float: right;
        display: block;
        border: 0px solid gold;
    }

    .bg-base {
        background-size: 100%;
        /*display: block;*/
        padding: 7vw 3vw;
        border: 0px solid green;
    }

    .fw-bwin-outer {
        min-height: auto;
    }

    .tbl-bigwin thead {
        font-size: 2.5vw;
    }

        .tbl-bigwin thead th {
            padding: 0.75vw 2vw;
        }

    .tbl-bigwin tbody td {
        font-size: 2.5vw;
        padding: 1.5vw;
    }

    .p-1 {
        padding: 0.2rem;
    }

    .inputgroup {
        width: 80%;
    }

    .inputgroup select {
        font-size: 2.5vw;
    }

    .mt-2 {
        margin-top: 1.5vw;
    }
    .mt-3 {
        margin-top: 1rem;
        margin-bottom: 17vw;
    }
    .fw2-spin a {
        min-width: 200px;
        background-size: 75%;
        height: 15vw;
        line-height: 8vw;
        font-size: 4vw;
        border: 0px solid white;
        /*padding-top: 2vw;
        padding-bottom: 2vw;*/
        margin-bottom: 1vw;
    }

    .fw-pop-pz img {
        max-width: 100%;
        /*transform: scale(0);
        transition: transform .35s cubic-bezier(0,.81,.25,1.22);*/
    }

    .txtSltNumFS {
        font-size: 5vw;
    }
    .txtFS {
        font-size: 4vw;
    }
    .txtTWin {
        font-size: 4.2vw;
    }

    .tbl-bigwin {
        width: 95%;
    }
    .fw-bwin-chart {
        margin-bottom: 5%;
        overflow: hidden;
        border-radius: 2vw;
        box-shadow: 1px 1px 1px #de537459;
    }
}

@media screen and (max-width : 428px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -10.5vw;
        left: -12.5vw;
        transform: scale(0.6);
    }
}
@media screen and (max-width : 414px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -12.5vw;
        left: -14.3vw;
        transform: scale(0.6);
    }
}
@media screen and (max-width : 393px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -16vw;
        left: -17.5vw;
        transform: scale(0.55);
    }
}
@media screen and (max-width : 390px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -16vw;
        left: -17.5vw;
        transform: scale(0.55);
    }
}
@media screen and (max-width : 375px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -18vw;
        left: -20vw;
        transform: scale(0.53);
    }
}
@media screen and (max-width : 360px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -20.5vw;
        left: -22.5vw;
        transform: scale(0.5);
    }
}
@media screen and (max-width : 320px) {
    .fw-pg.fw-pg-wheel canvas {
        top: -28.3vw;
        left: -30.3vw;
        transform: scale(0.45);
    }
}