/*************** CSS for Desktop ***************/
.j-register {
    z-index: 99;
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
}
.j-register-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: .7;
}
.j-register-x {
    position: absolute;
    bottom: 90.5%;
    left: 93%;
    color: #e4b73a;
    font-weight: bold;
    font-size: 1.6em;
    cursor: pointer;
}
.mfp-container {
	background-color: rgb(0, 0, 0, 0.68);
}
.j-register-form {
    width: 35%;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.j-register-form::before {
    content: "";
    display: block;
    background-image: url(img/form.webp);
    background-size: 100% 100%;
    width: 100%;
    padding-top: 100.8%;
    position: relative;
}
.j-register-formInner {
    width: 85%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #aaa;
    z-index: 99;
}
.j-register-form .j-register-title {
    width: 90%;
    position: absolute;
    left: 5%;
    top: 0;
}
.j-register-form .form-group {
    position: relative;
    width: 100%;
    padding-top: 15.01%;
    margin-bottom: 3%;
}
.j-register-form .form-group::before {
    content: "";
    background-image: url(img/input.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.j-register-form .form-group .form-control {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    height: 100%;
    width: 80%;
    color: #5C140A;
    font-size: 1em;
    margin-bottom: 0px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.j-register-form .form-group span.fa {
    position: absolute;
    top: 45%;
    left: 8%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    color: #5C140A;
    opacity: 0.6;
}
.j-register-form .form-group span.fa-eye,
.j-register-form .form-group span.fa-eye-slash  {
    left: auto;
    right: 8%;
    cursor: pointer;
    display: block;
    transform: translate(50%, -50%);
}
.j-register-form .form-group .errors {
    bottom: 0px;
    color: #ffe400;
    text-align: center;
    /* text-shadow: .5px .5px 0 #de2c03, .5px -.5px 0 #de2c03, -.5px .5px 0 #de2c03, -.5px -.5px 0 #de2c03, .5px 0 0 #de2c03, 0 .5px 0 #de2c03, -.5px 0 0 #de2c03, 0 -.5px 0 #de2c03; */
    text-align: center;
    width: 100%;
    font-size: 0.85em;
    line-height: 1;
    height: 38%;
    position: absolute;
    top: 84%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* text-shadow: 0 0 1px #fff; */
    /* background: radial-gradient(circle, #fff 30%, rgba(255, 255, 255, 0) 100%); */
}
.j-register-form .btn_form {
    width: 80%;
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
    margin: 0;
    /* position: relative; */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.j-register-form .btn_form button,
.j-register-form .btn_form button img {
    width: 100%;
}
#alert-modal .btn-close {
    border: none;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    right: 0;
}

#alert-modal h4 {
    color: #ffe400;
    text-transform: uppercase;
    text-align: center;
}

#alert-modal p {
    margin-bottom: 0;
    color: #fff;
    /*font-weight: bold;/**/
    text-align: center;
}

#alert-modal {
    padding: 20px 15px;
    background-color: #a53315;
    border: 2px solid #ffe400;
    border-radius: 10px;
}
input::placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
textarea::placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
select::placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
input::-ms-input-placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
textarea::-ms-input-placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
select::-ms-input-placeholder {
    font-weight: 100;
    color: #5C140A !important;
    opacity: 0.6;
}
.j-register-form .form-group .form-control::placeholder {
    font-weight: 100;
    color: #5C140A !important;
}
.j-register-form .form-group .form-control::-ms-input-placeholder {
    font-weight: 100;
    color: #5C140A !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-transition: "color 9999s ease-out, background-color 9999s ease-out" !important;
    -webkit-transition-delay: 9999s !important;
}
.mfp-ready .mfp-close {
    opacity: 0 !important;
}
.mfp-ready #alert-modal .mfp-close {
    opacity: 1 !important;
    top: -30px !important;
    right: -30px;
    border-radius: 10px;
    color: #ffe400;
}
.j-register-form .j-coin {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
}
.j-register-form .j-giatri {
    width: 45%;
    position: absolute;
    left: 50%;
    top: 76%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.j-register-form .form-group .errors {
    font-size: 1.1em;
}

.j-register-form .btn_form button:hover {
    scale: 1.1;
}

.recaptcha-input {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}
.recaptcha-input .instyle {
    width: 48%
}
.recaptcha-input .capcha_box {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 47.5%
}
.recaptcha-input .form-group {
    padding-top: 32%;
}
.recaptcha-bg {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 3px;
    padding-top: 30%;
    overflow: hidden;
    width: calc(95% - 32px);
}
.capcha_icon {
    background: url(img/icon-rotate.svg?v=1.1) center no-repeat;
    background-size: contain;
    cursor: pointer;
    display: inline-block;
    height: 32px;
    transition: .5s all ease-in-out;
    width: 32px;
}
.capcha_icon.active {
    transform: rotate(180deg);
}

/*************** CSS for 16inch ***************/
@media only screen and (max-width: 1650px) {
    .j-register-form .form-group .form-control {
        font-size: 0.9em;
    }
    .j-register-form .form-group span.fa {
        font-size: 1em;
    }
    .j-register-form .form-group .errors {
        font-size: 1em;
    }
}
@media only screen and (max-width: 1450px) {
    .j-register-form .form-group .form-control {
        font-size: 0.8em;
    }
    .j-register-form .form-group .errors {
        font-size: 0.8em;
    }
}
@media only screen and (max-width: 1200px) {
    .j-register-form .form-group .form-control {
        font-size: 0.8em;
    }
    .j-register-form .form-group .errors {
        font-size: 0.7em;
    }
}
/*************** CSS for Tablet ***************/
@media only screen and (max-width: 991px) {
    .j-register-x {
        font-size: 0.8em;
    }
    .j-register-form .form-group .form-control {
        font-size: 0.5em;
    }
    .j-register-form .form-group span.fa {
        font-size: 0.5em;
    }
    .j-register-form .form-group .errors {
        font-size: 5px;
    }
}

/*************** CSS for mobile ***************/
@media only screen and (max-width: 480px) {
    .j-register-form {
        width: 95%;
    }
    .j-register-x {
        font-size: 1.2em;
    }
    .j-register-form .form-group {
        margin-bottom: 5%;
    }
    .j-register-form .form-group .form-control {
        font-size: 0.9em;
    }
    .j-register-form .form-group span.fa {
        font-size: 0.9em;
    }
    .j-register-form .form-group .errors {
        font-size: 0.55em;
        height: 32%;
    }
}