body {
    margin: 0;
    padding: 0;
    background: url( ../images/background.jpg) no-repeat bottom center;
    background-size: cover;
    box-sizing: border-box;
    overflow: visible;
    min-height:100vh;
}


img{
    max-width: 100%;
}
/* THIS IS FOR https://1.misafb88.com/ */
.flash-container-6 {
    width: 100%;
    height: 100vh;
    position: absolute;
}

.pageContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
    padding:10px 0;
    min-height: 100vh;
}

.logo{
    margin: 10px auto 30px;
    width: 300px;
}
.form-dk{
    position: relative;
    text-align: center;
    width: max-content;
    z-index: 99;
    
}

.middle-box{
    display: flex;
    flex-direction: column;
    z-index:10;
    cursor: pointer;
}
.middle-box.active{
    position: absolute;
    top: -100%;
    transition:all 800ms ease-out;
    -webkit-transition:all 800ms ease-out;
}

.close.shutoff{
    float: none;
    color: white;
    opacity: 1;
    margin-bottom: 10px;
}

.text-register{
    font-size: 18px;
    font-weight: 600;
    color: rgb(226 245 6);
    text-align: center;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    background: rgb(122,12,0);
    background: linear-gradient(0deg, rgb(19, 16, 16) 0%, rgba(155,0,0,1) 100%);
    padding: 5px;
}
.text-register p:first-child{
    color: white;
    text-align: center;
    font-size: 25px;
}

/* THIS IS END https://1.misafb88.com/ */



/*FLASHES*/
.flash-container-6 {
    width: 100%;
    height: 100vh;
    position: absolute;
}
.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: -10%;
    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: -19%;
    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: 88%;
    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: #0f3926;
    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 20px 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: 6px;
    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.8%;
    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: 15px 0 35px 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;
}

.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;
}
.banron{
    display: block;
    border: 2px solid #dec900;
    border-radius: 5px;
    background: #0f3926;
    color: white;
    padding: 25px 10px;
    text-align: center;
    font-size: 30px;
}

.close.shutoff.right-pos{
    position: absolute;
    right: -13px;
    top: -17px;
}


/* -----------
CUSTOM POP-UP
-------------*/


@media (max-width:768px){
    .banron{
        font-size: 16px;
    }
}

@media (max-width:425px){
    .middle-box,
    .invi.active{
        width: 100%;
    }
    .form-dk{
        width: 100%;
    }
    .birthDate select{
        width: 31.6%;
    }
    #CaptchaDiv {
        width: 90px;
    }
    .close.shutoff.right-pos{
        right: 0;
    }
}

@media (max-width:375px){
    .birthDate select{
        width: 31.2%;
    }
    #register.invi.active{
        top: 62%;
    }
}

