body {
    margin: 0;
    padding: 0;
    background: url(../images/background.jpg?v=2) no-repeat top center;
    background-size: cover;
    box-sizing: border-box;
    overflow: visible;
    min-height: 100vh;
}


img {
    max-width: 100%;
}

.mob {
    display: none;
}

.ipad {
    display: none;
}

/* THIS IS FOR https://1.misafb88.com/ */

.header {
    height: 90px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    background: #067631;
    border-bottom: 1px solid #00a300;
}

/*.header img:first-child{*/
/*    margin-right: 40px;*/
/*}*/
.mobile-banner {
    display: none;
}

.mobile-banner.btnDown {
    flex-basis: 90%;
    text-align: center;
    margin-top: -16%;
}

.mobile-banner img {
    width: 310px;
}

.text-head {
    display: block;
    text-align: center;
}




#loading {
    display: none;
}

#loading.active {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
}

#loading span {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #cfd0d1;
    border-bottom-color: #00c72b;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    transform: translate3d(-50%, -50%, 0);
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}




.pageContainer {
    position: relative;
    min-height: 100vh;
}

.logo {
    margin: 10px auto 30px;
    width: 300px;
}

.form-dk {
    position: relative;
    text-align: center;
    width: max-content;
    margin: 0 auto;
    z-index: 99;
    margin-top: 35%;
}

.middle-box {
    position: relative;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.close.shutoff {
    float: none;
    color: white;
    opacity: 1;
    margin-bottom: 10px;
}

.text-register img {
    width: 90%;
    margin-top: 15px;
}

/* THIS IS END https://1.misafb88.com/ */



/*FLASHES*/
.flash-container-6 {
    width: 100%;
    height: 90vh;
    position: absolute;
}

.relati {
    position: relative;
    width: 100%;
    height: 100%;
}

.flash-1 {
    left: 10%;
    top: 23%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite linear;
}

.flash-2 {
    left: 25%;
    top: 18%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.4s linear;
}

.flash-3 {
    left: 75%;
    top: 51%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.2s linear;
}

.flash-4 {
    left: 5%;
    top: 45%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.6s linear;
}

.flash-5 {
    left: 20%;
    top: 65%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.8s linear;
}

.flash-6 {
    left: 30%;
    top: 55%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.3s linear;
}



.flash-7 {
    left: 49%;
    top: 3%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 1s linear;
}

.flash-8 {
    left: 10%;
    top: 2%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.8s linear;
}

.flash-9 {
    left: 78%;
    top: 23%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.7s linear;
}

.flash-10 {
    left: 8%;
    top: 37%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.5s linear;
}

.flash-11 {
    left: 26%;
    top: 23%;
    transform: scale(0.5);
    width: 144px;
    height: 134px;
    background: url(../images/flash-effect.png) top center no-repeat;
    position: absolute;
    background-blend-mode: screen;
    mix-blend-mode: screen;
    opacity: 0;
    animation: flash-agile 2s infinite 0.4s linear;
}

/*END FLASHES*/

@keyframes flash-agile {
    0% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    19% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    20% {
        -ms-transform: scale(0.2);
        -webkit-transform: scale(0.2);
        transform: scale(0.2);
        opacity: 1;
    }

    21% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    60% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    79% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    80% {
        -ms-transform: scale(0.5);
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 1;
    }

    81% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -ms-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}



/*-------------------- REGISER ------------------*/

.register-form {
    position: relative;
    max-width: 420px;
    min-height: 475px;
    display: block;
    margin: 20px auto;
    background: rgba(2, 37, 16, 1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#831b1b', endColorstr='#380000', GradientType=0);
    box-shadow: none;
    border: 2px solid #dec900;
    border-radius: 8px;
}

.register-form > .close {
    color: #fff;
    opacity: 1;
    margin-top: 16px;
    margin-right: 31px;
    z-index: 9999;
    position: relative;
    cursor: pointer;
}

.inner-wrap {
    /* width: 340px; */
    margin: 0 auto;
    position: relative;
    z-index: 999;
    padding-top: 38px;
    padding: 25px 30px 0;
}

.register-form input[type="text"],
.register-form input[type="password"],
.register-form input[type="email"],
.register-form textarea,
.register-form select {
    background: #000;
    width: 100%;
    height: 43px;
    background-size: contain;
    border: none;
    padding-left: 20px;
    margin: 0 auto;
    font-size: 21px;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    border-radius: 6px;
    position: relative;
    z-index: 999;
    color: #fff;
    border: 1px solid #fff;
}

.errorMsg {
    padding: 8px;
    background: #e74e4e;
    border: 1px solid #860404;
    color: #fff;
    display: none;
    font-size: 14px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999999;
    box-sizing: border-box;
    right: 10px;
    -moz-box-sizing: border-box;
    border-radius: 5px;
}

.successMsg {
    padding: 8px;
    background: #6bb34b;
    border: 1px solid #1b4a07;
    color: #fff;
    display: none;
    font-size: 14px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    box-sizing: border-box;
    right: 10px;
    -moz-box-sizing: border-box;
    border-radius: 5px;
}

.birthDate select {
    width: 31.4%;
    display: block;
    float: left;
    margin-right: 8px;
    padding-left: 5px;
    font-size: 13px;
    line-height: 19px;
    position: relative;
}

.birthDate select:last-child {
    margin-right: 0;
}

.msg-error {
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
    display: none;
    padding: 0 10px;
    margin-bottom: 5px;
}

.msg-error-focus {
    position: relative;
    color: #fff;
    font-size: 12px;
    margin-top: -5px;
    display: block;
    padding: 0 10px;
    margin-bottom: 5px;
    background: #015e2f;
}

.capbox-inner {
    position: relative;
}

#CaptchaDiv {
    font-size: 17px;
    font-style: italic;
    color: #fff;
    background-color: gray;
    padding: 4px;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    width: 100px;
    float: right;
    height: 43px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 41px;
    z-index: 999;
}

.dangky {
    outline: none;
    border: none;
    border-radius: 4px;
    width: 100%;
    margin: 10px 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    height: 50px;
    background: #fee71b;
    background-image: linear-gradient(to right top, #ffc400, #ffca03, #ffd107, #ffd70d, #ffde13, #ffe22c, #fee73d, #feeb4c, #feee65, #fff17c, #fff391, #fff6a6);
}

/* -----------
CUSTOM POP-UP
-------------*/


.popup-contain {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0.8;
    z-index: 90;
}
/* MODEL */

#myModal .modal-content{
    background: none;
    color: #fee71b;
    text-align: center;
    box-shadow: none;
    outline: none;
    border: none;
}
.modal.in .modal-dialog{
    top: 50%;
    transform: translate(0,-50%);
}

.btn.btn-default{
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    width: 70%;
    height: 60px;
    outline: none;
    border: none;
    font-weight: 600;
    background: url(../images/popup-cta.png) no-repeat center;
    background-size: contain;
}
.btn-close{
    display:none;
        margin: 0 auto;
        border-radius: 50%;
        box-shadow: none;
        border: none;
        color: #900000;
        font-weight: bold;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
}

/* END MODEL */
/* .invi {
    display: none;
} */

.invi.active {
    position: absolute;
    display: block;
    padding: 0 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 98;
    width: 600px;
}

.banron {
    display: block;
    border: 2px solid #dec900;
    border-radius: 5px;
    background: #0f3926;
    color: white;
    padding: 25px 30px;
    text-align: center;
    font-size: 30px;
}

.banron img {
    margin-bottom: 20px;
}

.banron img:nth-child(2) {
    margin-bottom: 40px;
}

.banron img:last-child {
    margin-bottom: 50px;
}

.banron::before {
    content: "";
    width: 300px;
    height: 550px;
    position: absolute;
    left: -200px;
    top: 0;
    background: url(../images/model.png) center no-repeat;
    background-size: contain;
}


.close.shutoff.right-pos {
    position: absolute;
    right: 15px;
    top: 5px;
}


/* -----------
CUSTOM POP-UP
-------------*/
@media (max-width:1024px) {
    body {
        background: #022d08;
    }
    .text-head {
        display: none;
    }

    .ipad {
        display: block;
    }

    .mobile-banner {
        display: block;
    }

    .middle-box {
        position: relative;
        justify-content: center;
    }

    .flash-container-6 {
        display: none;
    }

    .form-dk {
        margin-top: 0;
    }
}

@media (max-width:900px) {
    .flash-3 {
        left: 45%;
        width: 94px;
        height: 94px;
    }

    .flash-9 {
        left: 38%;
        width: 94px;
        height: 94px;
    }
}

@media (max-width:768px) {

    .ipad {
        display: none;
    }

    .mob {
        display: block;
    }

    .banron {
        font-size: 16px;
    }

    .invi.active {
        width: 90%;
    }

    .register-form input[type="text"],
    .register-form input[type="password"],
    .register-form input[type="email"],
    .register-form textarea,
    .register-form select {
        margin-bottom: 5px;
    }

    .logo {
        width: 250px;
    }

    .banron::before {
        display: none;
    }
}

@media (max-width:425px) {

    .middle-box,
    .invi.active {
        width: 100%;
    }

    .form-dk {
        width: 95%;
    }

    .birthDate select {
        width: 31.2%;
    }

    #CaptchaDiv {
        width: 90px;
    }

    .mobile-banner img {
        width: 245px;
    }

}

@media (max-width:375px) {
    .birthDate select {
        width: 31.1%;
    }

    #register.invi.active {
        top: 62%;
    }
}


.logo-blur,
.logo-blur::after {
    position: relative;
    background: url(../images/fb88logo.png) no-repeat;
    background-size: contain;
    display: block;
    width: 250px;
    height: 130px;
    margin: 0 auto;
}

.logo-blur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    animation: cirZoom 2s linear infinite 0.5s;
    -moz-animation: cirZoom 2s linear infinite 0.5s;
    animation: name duration timing-function delay iteration-count direction fill-mode;
}

@keyframes cirZoom {
    0% {
        opacity: 1;
        transform: scale(1, 1)
    }

    70% {
        opacity: 0;
        transform: scale(1.2, 1.2)
    }

    100% {
        opacity: 0
    }
}
