/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/

/* 
    Created on : Apr 3, 2020, 2:38:40 PM
    Author     : Danny LEUNG
*/

html {
    position: relative;
    min-height: 100%;
}

body {
    /* font-family: "Microsoft YaHei", sans-serif; */
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
}

button:focus,
button:active,
a:focus,
a:active {
    outline: none !important;
    box-shadow: none;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

@media screen and (max-width: 850px) {
    body {
        background-color: #E6F1DC;
    }
}

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    /*display: none;  Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFF;
    /* Black background with opacity */
    z-index: 1099;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

.disable-scroll {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
}

.rotate {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
    -webkit-animation: rotate 2s linear infinite;
    -moz-animation: rotate 2s linear infinite;
    -o-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotate {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-o-keyframes rotate {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes rotate {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
    }
}

@-keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* #spinner {
    width: 15%;
    min-width: 200px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../images/spinner_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
} */

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s linear;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
}

/* change the background color */

.bg-navbar {
    background-color: #D31477;
}

/* change the brand and text color */

.bg-navbar .navbar-brand,
.bg-navbar .navbar-text {
    color: rgba(255, 255, 255, .8);
}

/* change the link color */

.bg-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .7);
}

/* change the color of active or hovered links */

.bg-navbar .nav-item.active .nav-link,
.bg-navbar .nav-item:focus .nav-link,
.bg-navbar .nav-item:hover .nav-link {
    color: #ffffff;
}

.bg-footer {
    background-color: #D31477;
}

.navbar-toggler {
    border: none;
    padding: .25rem;
    color: #F4CAD6;
    outline: none !important;
}

.navbar-icon {
    font-size: 30px;
    color: #FFF;
}

.a-locale-bg {
    display: inline-flex;
}

.a-locale {
    color: #6D6E71;
}

.a-locale:hover,
.a-locale:focus,
.a-locale.active {
    color: #E30425;
}

.flex-content {
    flex: 1 !important;
}

footer {
    background-color: white;
    padding-top: 5px;
}

.modal-blank {
    background: none;
    border: none;
}

.modal-open {
    overflow-y: auto !important;
    padding-right: 0 !important;
}

.modal-open nav {
    margin: auto !important;
}

.modal-scrollbar-measure {
    overflow: hidden;
}

.modal ol,
.ol-pl {
    padding-left: 17px;
}

.container-fluid {
    max-width: 850px;
}

.icon-social {
    font-size: 20px;
}

.a-social {
    color: initial;
    text-decoration: none;
}

#btn_datepicker {
    font-size: 30px;
    cursor: pointer;
    /* color: #53C6E0; */
    color: #A31FF0;
}

/* .a-tnc {
    color: initial;
    text-decoration: none;
} */

/* .a-tnc:link, .a-tnc:visited, .a-tnc:hover, .a-tnc:active, .a-tnc:focus {
    color: #FFF;
} */

.title-1 {
    font-size: 23px;
    padding: 0 10px;
}

.title-2 {
    font-size: 18px;
    padding: 0 10px;
}

.title-3 {
    font-size: 15px;
    padding: 0 10px;
}

.title-4 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.title-5 {
    font-size: 17px;
    padding: 0 10px;
}

@media screen and (min-width: 500px) {
    .title-5 {
        font-size: 18px;
    }
}

@media screen and (min-width: 768px) {
    .title-1 {
        font-size: 29px;
    }

    .title-2 {
        font-size: 29px;
    }

    .title-3 {
        font-size: 22px;
    }

    .title-4 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: .5rem;
    }

    .title-5 {
        font-size: 26px;
    }
}

.title-line {
    display: flex;
    align-items: center;
    text-align: center;
}

.title-line::before,
.title-line::after {
    content: '';
    flex: 1;
    border-bottom: 3px solid #5F3A16;
}

.title-line::before {
    margin-right: .25em;
}

.title-line::after {
    margin-left: .25em;
}

.title-line-2 {
    display: flex;
    align-items: center;
    text-align: center;
}

.title-line-2::before,
.title-line-2::after {
    content: '';
    flex: 1;
    height: 3px;
    width: 50%;
    background-position: bottom;
    background-size: 0.5rem 1px;
    background-repeat: repeat-x;
}

.title-line-2::before {
    background-image: linear-gradient(to right, #5F3A16 50%, rgba(255, 255, 255, 0) 0%);
    margin-right: .25em;
}

.title-line-2::after {
    background-image: linear-gradient(to left, #5F3A16 50%, rgba(255, 255, 255, 0) 0%);
    margin-left: .25em;
}

.title-line-3 {
    display: flex;
    align-items: center;
    text-align: center;
}

.title-line-3::before,
.title-line-3::after {
    content: '';
    flex: 1;
    border: 1px solid #D21477;
}

.title-line-3::before {
    margin-right: 1em;
}

.title-line-3::after {
    margin-left: 1em;
}

.container-bg {
    background: #B1DDF7;
}

.header-container {
    position: relative;
}

.header-banner {
    position: absolute;
    top: 0;
    z-index: -10;
}

.footer-container {
    background: #B1DDF7;
}

.info-container {
    background-color: #fff;
    border-radius: 15px;
}

.gprize-container {
    font-size: 10px;
}

.staff-container {
    background-color: #EA638C;
}

.gprize-winner-container {
    background-color: #F4CAD6;
    border-image: url('../images/gp-bottom.png') 100 stretch;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin: 15px auto;
    margin-top: 15%;
}

.gp-winner-box {
    margin: 0 10px;
}

.channel-facebook {
    display: none;
}

@media screen and (min-width: 768px) {
    .gprize-container {
        font-size: 16px;
    }

    .gprize-winner-container {
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
    }

    /* .gp-winner-box {
        margin: 50px 20px 30px !important;
    } */
    /*    .prize-info-box {
            height: 80px;
        }*/
}

/*.prize-info-box {
    height: 70px;
}*/

.gprize-box {
    background: url('../images/bg-box-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*    border: 2px solid white;
        background: rgba(255, 255, 255, 0.5);*/
    padding: 5px;
    margin: 5px;
}

.gprize-box-2 {
    margin: 5px;
}

.prize-box {
    /* background: rgba(255, 255, 255, 0.5); */
    margin: 5px;
}

.img-logo {
    max-width: 50px;
}

.img-home-btn {
    max-width: 100%;
}

.img-number {
    max-width: 40px;
}

.img-prize {
    max-width: 80%;
    padding: 0 5%;
}

.img-prize-2 {
    max-width: 80%;
}

.img-coupon {
    max-width: 80%;
}

.img-gprize {
    max-width: 100%;
}

.img-gprize-2 {
    max-width: 100%;
    padding: 20px;
}

.img-invoice {
    max-height: 300px;
    max-width: 100%;
}

.img-order {
    max-height: 400px;
    max-width: 100%;
}

.img-wechatqr {
    max-width: 100%;
}

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

.img-title {
    max-height: 80px;
    max-width: 80%;
}

.img-title-2 {
    max-height: 30px;
    max-width: 80%;
}

.img-gp-1 {
    top: 0;
    left: 15px;
    max-width: 25%;
    transform: translateY(-50%);
}

.img-gp-3 {
    top: 0;
    left: 15px;
    max-width: 27%;
    transform: translateY(-50%);
}

.bg-container {
    border: 2px solid #ECEBE7;
    border-radius: 20px;
    background-color: white;
}

.bg-step-1 {
    background: url('../images/bg-step-1-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-step-2 {
    background: url('../images/bg-step-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* .bg-prize {

} */

.bg-circle-white {
    background: url('../images/bg-circle-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-circle-pink {
    background: url('../images/bg-circle-pink.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-gprize {
    background: url('../images/bg-gprize.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* .bg-prize-desc {
    background-color: #E3007F;
}

.bg-prize-desc-2 {
    background-color: gray;
} */

.row-step-1 {
    position: absolute;
    top: 53%;
    transform: translateY(-50%);
}

.row-step-2 {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
}

.btn-style-1 {
    /* background-color: #53C6E0; */
    background-color: #A31FF0;
    border: 2px solid #fff;
    border-radius: 100px;
    color: white;
    padding: .375rem .75rem;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

.btn-style-1:hover {
    color: white;
}

.btn-style-2 {
    background-color: silver;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin: 10px 0;
}

.btn-style-3 {
    background-color: silver;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin: 10px 0;
}

.btn-style-4 {
    background-color: silver;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

.btn-style-5 {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fcfff4+0,dfe5d7+40,b3bead+100;Wax+3D+%233 */
    background: #fcfff4;
    /* Old browsers */
    background: -moz-linear-gradient(top, #CCC 0%, #999 40%, #999 80%, #CCC 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #CCC 0%, #999 40%, #999 80%, #CCC 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #CCC 0%, #999 40%, #999 80%, #CCC 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfff4', endColorstr='#b3bead', GradientType=0);
    /* IE6-9 */
    /*background-color: silver;*/
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin: 10px 0;
}

.btn-style-disable {
    background-color: gray;
}

.ball-info {
    font-size: 12px;
    line-height: 24px;
}

.ball-red {
    display: inline-block;
    background: url('../images/ball-pink.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-green {
    display: inline-block;
    background: url('../images/ball-green.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-white {
    display: inline-block;
    background: url('../images/ball-white.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-brown-tc {
    display: inline-block;
    background: url('../images/ball-brown-tc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-brown-en {
    display: inline-block;
    background: url('../images/ball-brown-en.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-yellow-tc {
    display: inline-block;
    background: url('../images/ball-yellow-tc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.ball-yellow-en {
    display: inline-block;
    background: url('../images/ball-yellow-en.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ball-small {
    height: 20px;
    width: 20px;
    max-width: 100%;
    max-height: 100%;
}

.ball-large {
    height: 40px;
    width: 40px;
    max-width: 100%;
    max-height: 100%;
}

@media screen and (min-width: 768px) {
    .ball-small {
        height: 50px;
        width: 50px;
    }

    .ball-large {
        height: 80px;
        width: 80px;
    }
}

.color-grey {
    color: #6D6E71;
}

.color-darkgrey {
    color: #7A7979;
}

.color-black {
    color: #000;
}

.color-red {
    color: #E30613;
}

.color-darkred {
    color: #E30425;
}

.color-orange {
    color: #EA5514;
}

.color-purple {
    color: #000000;
}

.color-green {
    color: #29B473;
}

.color-lightbrown {
    color: #C28326;
}

.color-brown {
    color: #602D11;
}

.color-darkbrown {
    color: #5A4651;
}

.color-white {
    color: #FFF;
}

.color-yellow {
    color: #FFE631;
}

.color-darkpurple {
    color: #951555;
}

.color-lightpink {
    color: #263E8A;
}

.color-lightpink-2 {
    color: #E76894;
}

.color-pink {
    color: #E1147F;
}

.border-pink {
    border-color: #E1147F !important;
}

.bg-gray {
    background-color: #877682;
}

.bg-lpink {
    background-color: #F4CAD6;
}

.bg-pink {
    background-color: #F3ADC1;
}

.bg-white {
    background-color: #FFF;
}

.text-xsmall {
    font-size: x-small;
}

.text-small {
    font-size: 12px;
}

.text-small-2 {
    font-size: 13px;
}

.text-small-3 {
    font-size: 11px;
}

.text-small-4 {
    font-size: 14px;
}

.text-large-1 {
    font-size: 24px;
    line-height: 26px;
}

.text-large-2 {
    font-size: 14px;
}

@media screen and (min-width: 768px) {
    .text-xsmall {
        font-size: small;
    }

    .text-small {
        font-size: 16px;
    }

    .text-small-2 {
        font-size: 16px;
    }

    .text-small-3 {
        font-size: 18px;
    }

    .text-small-4 {
        font-size: 18px;
    }

    .text-large-1 {
        font-size: 40px;
        line-height: 42px;
    }

    .text-large-2 {
        font-size: 23px;
    }
}

.text-home {
    line-height: 1.5rem;
}

.text-home-1 {
    font-size: 0.9rem;
}

.text-home-2 {
    font-size: 1rem;
}

.text-home-3 {
    font-size: 1.6rem;
    padding: 0 10px;
}

@media screen and (min-width: 400px) {
    .text-home-1 {
        font-size: 1rem;
    }

    .text-home-2 {
        font-size: 1.2rem;
    }

    .text-home-3 {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 460px) {
    .text-home-1 {
        font-size: 1.1rem;
    }

    .text-home-2 {
        font-size: 1.3rem;
    }

    .text-home-3 {
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 500px) {
    .text-home {
        line-height: 1.8rem;
    }

    .text-home-1 {
        font-size: 1.3rem;
    }

    .text-home-2 {
        font-size: 1.6rem;
    }

    .text-home-3 {
        font-size: 2.1rem;
    }
}

@media screen and (min-width: 576px) {
    .text-home {
        line-height: 2rem;
    }

    .text-home-1 {
        font-size: 1.4rem;
    }

    .text-home-2 {
        font-size: 1.6rem;
    }

    .text-home-3 {
        font-size: 2.4rem;
    }
}

@media screen and (min-width: 768px) {
    .text-home {
        line-height: 3rem;
    }

    .text-home-1 {
        font-size: 2rem;
    }

    .text-home-2 {
        font-size: 2.4rem;
    }

    .text-home-3 {
        font-size: 3rem;
    }
}

@media screen and (min-width: 992px) {
    .text-home {
        line-height: 4rem;
    }

    .text-home-1 {
        line-height: 3rem;
    }
}

@media screen and (min-width: 1200px) {}

#btn-bottom {
    visibility: visible;
    transition: visibility 0s, opacity 0.25s linear;
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 99;
    font-size: 24px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 100px;
    line-height: 0;
    cursor: pointer;
}

.img-scroll-down {
    max-width: 40px;
    width: 100%;
}

@media screen and (min-width: 1200px) {
    .img-scroll-down {
        max-width: 80px;
    }
}

.floating {
    animation-name: floating;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}

@keyframes floating {
    from {
        transform: translate(0, 0px);
    }

    65% {
        transform: translate(0, 15px);
    }

    to {
        transform: translate(0, -0px);
    }
}

#modal-tnc li {
    margin-top: 10px;
}

.form-control-pink,
.form-control-pink:focus {
    background-color: #FAE9EE;
    border: none;
}

.form-control-lightpink,
.form-control-lightpink:focus {
    border: 2px solid white;
    border-radius: 100px;
}

select.form-control-lightpink {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
}

.redemption-prize-box {
    top: 50%;
    left: 22%;
    transform: translateY(-30%);
}

.thankyou-prize-box {
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.redemption-prize-name {
    line-height: 30px;
}

.redemption-prize-store {
    line-height: 30px;
}

.thankyou-prize-name {
    line-height: 20px;
    text-align: center;
    font-size: 14px;
}

.thankyou-prize-name:lang(en) {
    line-height: 14px;
    text-align: center;
    font-size: 14px;
}

.thankyou-gprize-text {
    font-size: 1rem;
}

.thankyou-gprize-text:lang(en) {
    line-height: 20px;
}

@media screen and (min-width: 768px) {
    .redemption-prize-name {
        line-height: 50px;
    }

    .redemption-prize-store {
        line-height: 50px;
    }

    .thankyou-prize-name {
        font-size: 17px;
        line-height: 20px;
    }

    .thankyou-gprize-text {
        font-size: 1.5rem;
    }
}

.img-container {
    display: flex;
    flex-wrap: wrap;
}

.img-prize-box {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    max-height: 100%;
}

.img-box {
    flex: 1 0 calc(25% - 10px);
    margin: 5px;
}

.img-box:after {
    content: '';
    display: block;
    padding-bottom: 75%;
}

.bg-ref-code {
    background: url('../images/bg-ref-code.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /*    border: 2px solid white;
        background: rgba(255, 255, 255, 0.5);*/
    padding: 13px 27px;
    border: 1px solid #E76894;
    border-radius: 36px;


}

.label-title {
    font-size: 18px;
}

.form-check-input-lg {
    width: 18px;
    height: 18px;
    margin-right: 18px;
}

.form-check-input-lg+label {
    margin-left: 5px;
}

/* .header-container+div {
    margin-top: -50%;
} */

.gradient-box {
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, #C0E5F8, #B1DDF7);
    /* display: flex;
    justify-content: center;
    align-items: center; */
    color: white;
    font-size: 20px;
    font-weight: bold;
    /* border-radius: 10px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}