/*************** 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: 68.5%;
    margin-bottom: 6%;
}
.j-register-formInner {
    width: 90%;
    color: #555;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -56%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 82%;
}
.j-register-form .j-register-title {
    width: 84%;
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
}
/* .j-register-form .j-register-slogan {
    width: 90%;
    margin-left: 5%;
} */
.j-register-form .form-group {
    background-repeat: no-repeat;
    position: relative;
}
.j-register-form .form-group::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 79px;
    top: -2px;
    left: 0;
    background-color: #131313;
    border: 2px solid #ffbc2e;
    border-radius: 16px;
}
.j-register-form .form-group .form-control {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    height: 75px;
    padding-left: 50px;
    color: #fff;
    font-size: 1.6em;
    position: relative;
}
.j-register-form .form-group span.fa {
    position: absolute;
    top: 23px;
    left: 18px;
    font-size: 1.6em;
    color: #574317;
}
.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: #000;
    text-align: center;
    text-align: center;
    width: 100%;
    font-size: 1em;
    line-height: 1;
    min-height: 10px;
    margin-top: 4px;
    position: absolute;
    top: 100%;
}
.j-register-form .btn_form {
    position: absolute;
    width: 82%;
    left: 50%;
    transform: translateX(-50%);
    top: 78%;
}
.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: #ffbc2e;
    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,
        #131313 0,
        #131313 25%,
        #131313 50%,
        #131313 75%,
        #131313 100%
    );
    border: 2px solid #ffbc2e;
    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: #574317 !important;
}
input::placeholder {
    font-weight: 100;
    color: #574317 !important;
}
textarea::placeholder {
    font-weight: 100;
    color: #574317 !important;
}
select::placeholder {
    font-weight: 100;
    color: #574317 !important;
}
input::-ms-input-placeholder {
    font-weight: 100;
    color: #574317 !important;
}
textarea::-ms-input-placeholder {
    font-weight: 100;
    color: #574317 !important;
}
select::-ms-input-placeholder {
    font-weight: 100;
    color: #574317 !important;
}
.j-register-form .form-group .form-control::placeholder {
    font-weight: 100;
    color: #574317 !important;
}
.j-register-form .form-group .form-control::-ms-input-placeholder {
    font-weight: 100;
    color: #574317 !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: #ffbc2e;
}

/*************** CSS for 1650 ***************/
@media only screen and (max-width: 1650px) {
    .j-register-form .form-group::before {
        height: 59px;
        border-radius: 12px;
    }
    .j-register-form .form-group .form-control {
        height: 55px;
        font-size: 1.3em;
    }
    .j-register-form .form-group span.fa {
        top: 17px;
        font-size: 1.3em;
    }
    .j-register-form .form-group .errors {
        font-size: 0.8em;
    }
}

/*************** CSS for Tablet ***************/
@media only screen and (max-width: 991px) {
    .j-register-form .form-group::before {
        height: 34px;
        border-radius: 6px;
    }
    .j-register-form .form-group .form-control {
        height: 30px;
        padding-left: 30px;
        font-size: 0.7em;
    }
    .j-register-form .form-group span.fa {
        top: 9.5px;
        font-size: 0.7em;
        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;
        margin-top: 2px;
    }
}

/*************** CSS for mobile ***************/
@media only screen and (max-width: 480px) {
    .j-register-form {
        margin-bottom: 15%;
    }
    .j-register-form .form-group::before {
        height: 38px;
        border-radius: 10px;
    }
    .j-register-form .form-group .form-control {
        height: 34px;
        font-size: 0.8em;
    }
    .j-register-form .form-group span.fa {
        font-size: 1em;
        top: 8px;
    }
    .j-register-form .form-group .errors {
        font-size: 0.65em;
        margin-top: 4px;
    }
    .j-register-form .btn_form {
    	width: 72%;
    }
}
@media only screen and (max-width: 395px) {
    .j-register-form .btn_form {
    	width: 62%;
    }
}