/*************** CSS for Desktop ***************/
.j-register {
    position: relative;
    z-index: 99;
}
.mfp-container {
	background-color: rgb(0, 0, 0, 0.68);
}
.j-register-form {
    background-image: url(img/form.webp);
    background-size: 100% 100%;
    width: 100%;
    padding-top: 90%;
    position: relative;
}
.j-register-formInner {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    right: 10%;
    width: 80%;
    color: #aaa;
}
.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.1%;
    margin-bottom: 6%;
}
.j-register-form .form-group::before {
    content: "";
    background-image: url(img/input.webp);
    background-size: 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%);
    opacity: 0.6;
}
.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: 95%;
    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: 100%;
    margin: 0 auto;
    padding-top: 10%;
}
.j-register-form .btn_form button {
    background-color: transparent;
    padding: 0;
    margin: 0;
    /* position: relative; */
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
}
.j-register-form .btn_form button,
.j-register-form .btn_form button img {
    width: 100%;
}
.j-register-form .btn_form button img:last-child {
    position: absolute;
    top: 0;
    left: 0;
	animation: pulse 0.5s linear infinite;
}
#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: red !important;
}
textarea::placeholder {
    font-weight: 100;
    color: red !important;
}
select::placeholder {
    font-weight: 100;
    color: red !important;
}
input::-ms-input-placeholder {
    font-weight: 100;
    color: red !important;
}
textarea::-ms-input-placeholder {
    font-weight: 100;
    color: red !important;
}
select::-ms-input-placeholder {
    font-weight: 100;
    color: red !important;
}
.j-register-form .form-group .form-control::placeholder {
    font-weight: 100;
    color: red !important;
}
.j-register-form .form-group .form-control::-ms-input-placeholder {
    font-weight: 100;
    color: red !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: 120%;
    transform: translate(-50%, -50%);
}
.j-register-form .j-giatri {
    width: 40%;
    position: absolute;
    left: 50%;
    top: 77%;
    transform: translate(-50%, -50%);
}
/*************** 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: 0.65em;
    }
}
@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.6em;
    }
}
@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.5em;
    }
}
/*************** CSS for Tablet ***************/
@media only screen and (max-width: 991px) {
    .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 .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%;
    }
}