@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden;
    max-height: 100%;
    overflow-y: hidden;
    touch-action: manipulation;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

* {
    color: #775B49;
    font-family: 'NotoSansTC-Bold';
}

img {
    pointer-events: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha {
    display: block;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: #FFFFFF;
    position: absolute;
    width: 100%;
}

html {
    font-size: 15px;
}

a:link, a:visited {
    color: #8acfdf !important;
}

a:focus {
    outline: none;
}

input:not([type=checkbox]) {
    -webkit-appearance: none;
    box-shadow: 3px 3px 5px #3d3735d1 !important;
    -moz-box-shadow: 3px 3px 5px #3d3735d1 !important;
    -webkit-box-shadow: 3px 3px 5px #3d3735d1 !important;
}

.cloud {
    width: 110%;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.grass {
    width: 250%;
    position: fixed;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
}

label {
    color: black;
}


/*@font-face {*/
    /*font-family: 'GenSen'; !*a name to be used later*!*/
    /*src:*/
    /*url('../webfonts/GenSenMaruGothicTW-Regular.woff2') format('woff2'),*/
    /*url('../webfonts/GenSenMaruGothicTW-Regular.woff') format('woff'),*/
    /*url('../webfonts/GenSenMaruGothicTW-Regular.ttf') format('ttf');*/
/*}*/

/*@font-face {*/
    /*font-family: 'NotoSansCJK'; !*a name to be used later*!*/
    /*src: url('../webfonts/NotoSansTC-Medium.otf'); !*URL to font*!*/
/*}*/

@font-face {
    font-family: 'Calcula'; /*a name to be used later*/
    src: url('../webfonts/Calcula.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'MElleHK-Xbold'; /*a name to be used later*/
    src: url('../webfonts/MElleHK-Xbold.ttf'); /*URL to font*/
}

@font-face {
    font-family: 'NotoSansTC-Medium'; /*a name to be used later*/
    src: url('../fonts/NotoSansTC-Medium.otf'); /*URL to font*/
}

@font-face {
    font-family: 'NotoSansTC-Bold'; /*a name to be used later*/
    src: url('../fonts/NotoSansTC-Bold.otf'); /*URL to font*/
}

.modal-dialog{
    max-width: 600px;

}

.modal-body{
    min-height: 20vh;
}

#modal_message, #modal_message_success, #modal_message_correct, #modal_message_wrong, #modal_message_Remind #modal_message_Copy{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /*color: #FFFFFF;*/
}

.mission-container .prize-name {
    font-size: 0.75rem;
}

.mission-container .prize-desc {
    font-size: 0.6rem;
}

.smsverify-page .sms-form, .reg-page .reg-form {
    margin-top: 2%;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.smsverify-page .sms-form .board, .reg-page .reg-form .board {
    width: 95%;
    max-width: 360px;
}

.smsverify-page .registerForm, .reg-page .registerForm {
    font-size: 1rem;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 450px;
}

.row {
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    margin-top: 17%;
}
.header-title{
    position: absolute;
    top: 7%;
    width: 60%;
    left: 21%;
}
@media only screen and (min-width: 540px) and (min-height: 720px)  {
    .header-container{
        width: 95%;
        margin-top: 11%;
    }
    .bottom-list{
        right: 28%;
        width: 80%
    }
    .header-title{
        top: 4%;
        width: 46%;
        left: 27%;
    }
}
.prize-header-info p{
    color: white;
    font-family: 'NotoSansTC-light';
    text-align: center;
    width: 80%;
    margin: auto;
}
.heartCount{
    justify-content: center;
    margin-top:6%;
}
.heart-span{
    background:url('../images/pet-game/prize/heart.png');
    width: 45px;
    height: 45px;
    background-size: cover;
    margin: 0 5% 0 3%;
}
.star-span{
    background:url('../images/pet-game/mission/mission_star.png');
    width: 45px;
    height: 45px;
    background-size: cover;
    margin: 0 5% 0 3%;
}
.heartCount p{
    color: white;
    font-family: 'NotoSansTC-light';
    font-size: 6vw;
    margin-bottom:0;
}
.logo-button {
    width: 20%;
    /*padding: 3%;*/
}
#quota{
    font-size: 10vw;
    margin-right: 1%;
    margin-bottom: 1%;
}
.relative {
    position: relative;
}

.back {
    width: 14%;
    /*position: absolute;*/
    /*top: 6%;*/
    /*right: -6%;*/
    /*transform: translate(-50%, -50%);*/
    /*z-index: 99;*/
}

.bottomBg {
    width: 100%;
    position: absolute;
    top: 79%;
    transform: translate(-50%, -50%);
}

.language {
    font-size: 15px;
    margin-right: 10px;
    color: #FFFFFF;
    width: 42.5%;
}

.header-bg {
    /*background: white;*/
    margin-top: 12%;
    justify-content: space-between;
}

.action-title {
    font-size: 22pt;
    color: black;
    /* font-family: MRazor; */
}

.action-title > img{
    max-width: 250px !important;
}

.activate-desc *{
    /*color: #2700b5;*/
    color: #FFFFFF;
}
.arrow-container{
    display: flex;
    justify-content: center;

    align-items: center;

    width: 100%;
    padding-bottom: unset;
}

.sign-container > img{
    max-width: 400px;
}

.action-back {
    color: black;
    font-size: 13pt;
    text-align: left;
}

.no-padding {
    padding: 0 !important;
}

.gamerule {
    width: 45%;
}

.frame-bg {
    position: relative;
    margin: 20% auto 0 auto;
    height: 70%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    max-width: 600px;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
}

.delay-02s {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-04s {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay-06s {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.delay-08s {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.delay-010s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}
.frame {
    width: 88%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
}

.title {
    width: 65%;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.itemLeft {
    width: 10%;
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translate(-50%, -50%);
}

.itemRight {
    width: 10%;
    position: absolute;
    top: 50%;
    left: 93%;
    transform: translate(-50%, -50%);
}

.z-99 {
    z-index: 99;
}

.rule {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.arrow-container {
    /*margin-top: -5%;*/
    padding-bottom: 3%;
}

.action-title > img{
    max-width: 85%;
    width: 85%;
}

.spaceline {
    width: 100%;
}

.spaceline img{
    width: 100%;
}

.scroll-down {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
}

.scroll-down {
    position: absolute;
    /*bottom: 30px;*/
    left: 50%;
    margin-left: -16px;
    display: block;
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    background-size: 14px auto;
    border-radius: 50%;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.scroll-down:before {
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 6px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid white;
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {
    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

.missionlist_img {
    width: 55%;
    max-width: 350px;
}

.mission-container {
    width: 100%;
    height: auto;
    max-height: 70%;
    overflow-y: scroll;
    position: relative;
    margin-top: 0px;
}

.allprize-container .prize-name {
    font-size: 0.8rem;
}

.allprize-container .prize-desc {
    font-size: 0.7rem;
}

.prize-container {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    margin-bottom: 3px;
    height: 65%;
    -webkit-overflow-scrolling: touch; /* lets it scroll lazy */
    -webkit-overflow-scrolling: auto; /* stop scrolling immediately */
}

.allprize-container {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    margin-bottom: 3px;
    height: 65%;
    -webkit-overflow-scrolling: touch; /* lets it scroll lazy */
    -webkit-overflow-scrolling: auto; /* stop scrolling immediately */
}

.prize-container .redeem_btn {
    padding-left: 5px;
    padding-right: 5px;
}

.prize-container .ticket-box {
    color: WHITE;
    padding-left: 3px;
    padding-right: 3px;
}

.prize-container .expireDate {
    /*top: initial;*/
    /*position: absolute;*/
    /*left: 50%;*/
    /*transform: translate(-53%, -190%);*/
}

.expireLabel {
    font-size: 0.6rem;
    color: WHITE;
}

.prize-container .ticket-box {
    font-size: 0.7rem;
    padding-left: 15px;
    line-height: 0.75rem;
}

.back {
    /*margin-top: 2%;*/
}

.prize-container .emptyprize {
    /*color: black;*/
    /*font-size: 1.5rem;*/
    font-size: 1.3rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.prizebox {
    max-width: 90%;
    position: relative;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
}

.prizebox {
    width:90%;
    max-width: 95%;
}

.prizebox > .row {
    width: 90%;
    top: 50%;
    left: 50%;
    /*transform: translate(-50%, -50%);*/
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.gray-filter {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.action-title {
    font-size: 2rem;
    color: black;
    /* font-family: MRazor; */
}

.action-back {
    color: black;
    font-size: 1rem;
    text-align: left;
}

.mission-text-div {
    text-align: left;
    font-size: 11pt;
    padding-right: 0;
}

.redeem_btn {
    padding-left: 0;
}

.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}

.close {
    opacity: 1;
    margin: 0 0 5% 0;
    position: relative;
    z-index: 99;
    float: right;
}

.close_img {
    width: 25%;
    float: right;
}

.modal-header .close {
    margin-top: 20px;
}

.modal-title {
    font-size: 14px;
}

.modal-body {
    font-size: 12px;
}

.modal-body .prize-tandc p {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    /*color: #FFFFFF;*/
    text-align: left;
}

.modal-body .prize-tandc {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5rem;
    text-align: left;
    color: #FFFFFF;
}

.modal-footer .redeem_btn {
    text-align: center;
    /*width: 40%;*/
    margin-left: auto;
    margin-right: auto;
}

.modal-footer .redeem_btn {
    max-width: 170px;
}

.modal-content .prize-desc {
    font-size: 0.9rem;
}

.modal-dialog {
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.enter-btn {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.enter-btn img {
    width: 50%;
}

.chanceBtn {
    border-radius: 220px;
    border-color: #64007f;
    border: 0;
    box-shadow: 3px 3px 5px #9841d4;
    width: 35pt;
    height: 35pt;
    padding: 0;
    background-image: linear-gradient(to right bottom, #6003ad, #7c27c1, #9841d4, #b35ae9, #ce72fd);
}

#continueBtn, #playBtn, #pauseBtn {
    border-radius: 220px;
    background-image: linear-gradient(to right bottom, #bc0206, #cf2c27, #e04744, #f05f60, #fe777b);
    box-shadow: 2px 2px 5px #fe777b;
    width: 35pt;
    height: 35pt;
    padding: 0;
}

.bgbox {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    padding-right: 10px;
    padding-left: 10px;
}

/** check_redeem **/

.content-container {
    width: 90%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    margin-top: 0px;
    /*padding-bottom: 35px;*/
    height: 92%;
    -webkit-overflow-scrolling: touch;
    -webkit-overflow-scrolling: auto;
    margin-left: 1%;
    /*margin-right: auto;*/
    top: 49%;
    left: 47%;
    transform: translate(-50%, -50%);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.content-container::-webkit-scrollbar {
    display: none;
}

.scroll-div-form > .title {
    font-size: 1.2rem;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    box-shadow: 3px 3px 5px #3d3735d1;
}

.label-title {
    text-align: right;
    padding-right: 0;
    padding-left: 0;
    font-size: 0.9rem;
}

.label-content {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    font-size: 0.9rem;
}

.operator-div {
    font-size: 2rem;
    color: black;
    /* font-family: MRazor; */
    padding-bottom: 10px;
    padding-top: 10px;
}

#qrcode img {
    margin-left: auto;
    margin-right: auto;
}

.form-div {
    background-color: transparent;
}

.form-control:focus {
    /*border-color: #7100eb;*/
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 210, 235, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 210, 235, 0.6);
}

.submit-div {
    text-align: center;
    /*margin-top: 15px;*/
    padding-bottom: 20px;
}

.submit-div img {
    position: absolute;
    /* top: 0; */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 53%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

.activateprizeForm {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.tandc {
    text-align: left;
    font-size: 0.8rem;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    line-height: 1.4rem;
}

#active-submit {
    position: relative;
    background-image: none;
    background-color: transparent;
    width: 100%;
    box-shadow: unset;
    padding: 6%;
}

#active-submit:focus {
    outline: none;
    box-shadow: unset;
}

.submit-div {
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/** ranking page **/
.rankingbox .ranking {
    font-size: 1.3rem;
    color: black;
    /* font-family: MRazor; */
}

.rankingbox img {
    height: 100px;
}

.rankingbox .score {
    font-size: 1rem;
    color: black;
    /* font-family: MRazor; */
}

.rankingbox .username {
    font-size: 1rem;
    color: black;
    /* font-family: MRazor; */
}

.rankingbox .date {
    font-size: 0.7rem;
    color: black;
    /* font-family: MRazor; */
}

.rankingbox > .row > div {
    padding-left: 5px;
    padding-right: 5px;
}

#rankinglist .prizebox {
    margin-top: -8px;
}

/** rule **/
.rule-container {
    width: 100%;
    overflow-y: scroll;
    position: relative;
    margin-top: 3%;
    margin-bottom: 3px;
    height: 70%;;
    font-size: 0.9rem;
    color: BLACK;
    text-align: left;
    -webkit-overflow-scrolling: touch; /* lets it scroll lazy */
    -webkit-overflow-scrolling: auto; /* stop scrolling immediately */

}

/** login **/

.sign-container {
    max-width: 85%;
    position: relative;
    margin-top: 7%;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.signlist-box {
    width: 100%;
    overflow-y: scroll;
    position: relative;
    margin-top: 0px;
    margin-bottom: 5px;
    height: 83%
}

.form-div {
    padding-bottom: 5%;
    background-color: rgba(53, 55, 61, 0.7);
    color: white !important;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-height: 80%;
    height: 75%;
    -webkit-overflow-scrolling: touch;
    -webkit-overflow-scrolling: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.registerForm {
    /*padding-top: 5%;*/
    text-align: center;
    color: WHITE;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

#smsbtn:focus {
    border-radius: inherit;
}

#smsbtn:active {
    border-radius: inherit;
}

#smsbtn:hover {
    color: #775B49;
}

.row {
    display: flex;
    align-items: center;
}

.form-div {
    background-color: transparent;
}

.smsbtn {
    /*color: #FFFFFF;*/
    width: 100%;
}

.form-control:focus {
    /*border-color: #00d0eb;*/
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 210, 235, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 225, 235, 0.6);
}

#form_submit, #form_submit:hover, #form_submit:visited, #form_submit:focus, #form_submit:active {
    color: black;
    position: relative;
    border: 0;
    outline: 0;
}

/** relogin, blankpage **/

.action-message {
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    /*color: #FFFFFF;*/
}

.game-button-group {
    height: 100px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

/** sponsor **/

#sponsorlist .name {
    font-size: 1.1rem;
}

.form-group {
    /*margin-bottom: 5px;*/
}

.frame-container {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    width: 100%;
    padding-top: 10%;
    padding-bottom: 10%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prizelist_bg{
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    height: 80%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% 100%;
    max-width: 600px;
    margin: 3% auto 0px auto;
}

.title-div, .title {
    /*color: black;*/
    /*text-shadow: #8e60ff 0.1em 0.1em 0.2em;*/
    color: #FFFFFF;
    /*text-shadow: #5782ff82 0.1em 0.1em 0.2em;*/
    font-size: 1.5rem;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}


.prizeimg {
    /* max-height: 300px; */
    /* max-width: 50%; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 90%;
}

.prize-img-div {
    display: block;
    border-radius: 10px;
    /*background-color: rgba(255, 255, 255, 1);*/
    width: 50%;
    padding-top: 40%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    /*box-shadow: 3px 3px 5px #737373d1;*/
}

.chevron {
    position: absolute;
    width: 1.5rem;
    height: 0.3rem;
    opacity: 0;
    -webkit-transform: scale(0.3);
    transform: scale(0.3);
    -webkit-animation: move-chevron 3s ease-out infinite;
    animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
    -webkit-animation: move-chevron 3s ease-out 1s infinite;
    animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    -webkit-animation: move-chevron 3s ease-out 2s infinite;
    animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: #fff;
}

.chevron:before {
    left: 0;
    -webkit-transform: skewY(30deg);
    transform: skewY(30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    -webkit-transform: skewY(-30deg);
    transform: skewY(-30deg);
}

@-webkit-keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        -webkit-transform: translateY(2.28rem);
        transform: translateY(2.28rem);
    }
    66.6% {
        opacity: 1;
        -webkit-transform: translateY(3.12rem);
        transform: translateY(3.12rem);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(4.8rem) scale(0.5);
        transform: translateY(4.8rem) scale(0.5);
    }
}

@keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    66.6% {
        opacity: 1;
        -webkit-transform: translateY(20px) scale(0.3);
        transform: translateY(20px) scale(0.3);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateY(30px) scale(0.5);
        transform: translateY(30px) scale(0.5);
    }
}


@media only screen and (min-width: 321px) {
    .prize-container .ticket-box {
        font-size: 0.8rem;
        padding-left: 15px;
        line-height: 0.9rem;
    }

    .expireLabel {
        font-size: 0.6rem;
    }

    .mission-container .prize-desc {
        font-size: 0.7rem;
    }
    .mission-container .prize-name {
        font-size: 0.85rem;
    }

}

@media only screen and (max-width: 321px) {
    .frame-bg {
        max-height: 450px;
        margin-top: 15%;
    }
}

@media only screen and (width: 280px) and (height: 653px) {
    .prizelist_bg {
        max-height: 400px;
        margin: 20% auto 0 auto;
    }
}

@media only screen and (min-width: 1000px) {

    body {
        max-width: 375px !important;
        max-height: 667px !important;
    }
}

@media only screen and (min-width: 1000px) and (min-height: 1000px) {

    body {
        max-width: 750px !important;
        max-height: 1334px !important;
    }
}

@media only screen and (min-width: 540px) and (min-height: 720px) {
    body {
        width: 75% !important;
        transform: translate(-50%, -50%);
        top: 50% !important;
        left: 50% !important;
    }
    .prizelist_bg {
        max-width: 400px;
    }

    .logo-button {
        width: 14%;
    }

    .gamerule {
        width: 30%;
    }

    .frame-bg {
        max-width: 400px;
    }
}

@media only screen and (min-width: 540px) and (min-height: 720px)  {
    .bgbox {
        background-position: 50% 37%;
    }
}

@media only screen and (min-height: 850px) {
    .frame-bg {
        max-height: 700px;
        margin-top: 15%;
    }
}


@media only screen and (min-width: 600px) {
    /* For tablets: */
    .prize-container .expireDate {
        top: initial;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -250%);
        /*transform: translate(-50%, -170%);*/
    }

    .gamerule {
        /*font-size: 1.1rem;*/
    }

    .action-back {
        font-size: 1.1rem;
    }

    .action-title {
        font-size: 2.5rem;
    }

    .prize-container .ticket-box {
        font-size: 0.9rem;
        padding-left: 20px;
        line-height: 1.0rem;
    }

    .expireLabel {
        font-size: 0.6rem;
    }

    .frame-bg {
        max-height: 800px;
        margin-top: 15%;
        max-width: 600px;
    }

}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    html {
        font-size: 20px;
    }

    .gamerule {
        font-size: 1.2rem;
        width: 50%;
    }

    .logo-button {
        /*width: 60%;*/
    }

    .action-back {
        font-size: 1.3rem;
    }

    .action-title {
        font-size: 2.5rem;
    }

    /** sms verify **/
    .subtitle {
        font-size: 1.1rem;
    }

    .registerForm {
        width: 80%;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input {
        height: 2rem;
    }

    .form-group button {
        height: 2rem;
    }

    #sponsorlist .name {
        font-size: 1.3rem;
    }

    .allprize-container .prize-name {
        font-size: 1rem;
    }

    .allprize-container .prize-desc {
        font-size: 0.8rem;
    }

    .form-inline .form-group {
        display: block;
    }

    .activate-desc .label-title, .activate-desc .label-content {
        font-size: 1rem;
    }

    .tandc-div .prize-tandc {
        font-size: 0.9rem;
        line-height: 1.3rem;
    }

    .prizebox{
        width: 80%;
    }

    .frame-container{
        padding-top: 10%;
    }

    .prizelist_bg{
        max-width: 700px;
        width: 80%;
        margin-top: 3%;
    }

    .prize-container .ticket-box {
        font-size: 0.9rem;
        padding-left: 20px;
        line-height: 0.95rem;
    }

    .expireLabel {
        font-size: 0.6rem;
    }

    .prize-container .expireDate {
        top: initial;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -183%);
        /*transform: translate(-50%, -170%);*/
    }

}

@media only screen and (min-width: 1000px) and (max-height: 800px) {
    .bgbox {
        max-width: 349px !important;
    }

    .frame-bg {
        margin-top: 10%;
    }

    .gamerule {
        width: 50%;
    }
}
