/*************** CSS for Desktop ***************/
.j-register-form {
    position: relative;
    background-image: url(img/form.webp);
    background-size: 100% 100%;
    background-position: center;
    width: 100%;
    padding-top: 70%;
}
.j-register-formInner {
    position: absolute;
    top: calc(12% + 15px);
    right: 15%;
    width: 70%;
    color: #bbb;
}
.j-register-form .j-register-title {
    width: 50%;
    margin: 0 auto 15px;
}
/* .j-register-form .j-register-slogan {
    width: 90%;
    margin-left: 5%;
} */
.j-register-form .form-group {
    background-image: url(img/input.webp);
    background-size: 100% 50px;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 10px;
}
.j-register-form .form-group .form-control {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    height: 50px;
    padding-left: 50px;
    color: #fff;
    font-size: 1em;
    opacity: 0.7;
}
.j-register-form .form-group .form-control#phone {
    padding-left: 80px;
}
.j-register-form .form-group span.fa {
    position: absolute;
    top: 15px;
    left: 18px;
    font-size: 1.3em;
    opacity: 0.5;
}
.j-register-form .form-group span.fa-eye,
.j-register-form .form-group span.fa-eye-slash  {
    left: auto;
    right: 15px;
    cursor: pointer;
    display: block;
}
.j-register-form .form-group .errors {
    color: #ffe400;
    text-align: center;
    text-align: center;
    width: 100%;
    font-size: .8em;
    line-height: 1;
    min-height: 10px;
    margin-bottom: -8px;
    margin-top: 2px;
}
.j-register-form .form-group.form-group-last .errors {
	position: absolute;
}
.j-register-form .btn_form {
    margin-left: -25%;
    width: 150%;
    margin-top: -5%;
    margin-bottom: -22%;
}
.j-register-form .btn_form button {
    background-color: transparent;
    padding: 0;
}
.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: #f20000;
    font-weight: bold;
    text-align: center;
}

#alert-modal {
    padding: 20px 15px;
    background: linear-gradient(
        to right,
        #773171 0,
        #1f2337 25%,
        #1f2337 50%,
        #1f2337 75%,
        #773171 100%
    );
    border: 2px solid #c3ad61;
    border-radius: 10px;
}
input::placeholder,
textarea::placeholder,
select::placeholder,
input::-ms-input-placeholder,
textarea::-ms-input-placeholder,
select::-ms-input-placeholder,
.j-register-form .form-group .form-control::placeholder,
.j-register-form .form-group .form-control::-ms-input-placeholder {
    font-weight: 100;
    color: #bbb !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;
}
/*************** CSS for Tablet ***************/
@media only screen and (max-width: 991px) {
    .j-register-form {
        background-size: 115% 115%;
        left: -3%;
    	padding-top: 60%;
    }
    .j-register-formInner {
        top: calc(0% + 15px);
        right: 7%;
        width: 86%;
    }
    .j-register-form .j-register-title {
        margin: 0 auto 3px;
    }
    .j-register-form .form-group {
        background-size: 100% 24px;
    }
    .j-register-form .form-group .form-control {
        height: 24px;
        padding-left: 40px;
        font-size: 0.7em;
    }
    .j-register-form .form-group span.fa {
        top: 5px;
        font-size: 1em;
        left: 10px;
    }
    .j-register-form .form-group span.fa-eye,
    .j-register-form .form-group span.fa-eye-slash  {
        left: auto;
        right: 8px;
    }
    .j-register-form .form-group .errors {
        font-size: 0.5em;
    }
    .j-register-form .btn_form {
        margin-left: -5%;
        width: 110%;
    }
}

/*************** CSS for mobile ***************/
@media only screen and (max-width: 480px) {
    .j-register-form {
        background-size: 110% 110%;
        left: auto;
    	padding-top: 70%;
    }
    .j-register-formInner {
        top: calc(6.5% + 15px);
    }
    .j-register-form .j-register-title {
        margin: 0 auto 10px;
    }
    .j-register-form .form-group {
        background-size: 100% 34px;
    }
    .j-register-form .form-group .form-control {
        height: 34px;
        font-size: 0.8em;
    }
    .j-register-form .form-group .errors {
        font-size: 0.65em;
    }
    .j-register-form .btn_form {
    	margin-bottom: -33%;
    }
}