@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body
{
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background-image: url(../images/mjc_login-bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ffffff;
}

.login-frame {
    width: fit-content;
    height: fit-content;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 30px;
}

.logo-frame {
    display: flex;
    justify-content: space-between;
    width: 100%
}

.logo {
    height: 70px; /*display:inline-block;*/
    padding: 5px;
    text-align: center;
}

    .logo img {
        max-height: 100%;
        filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.4));
    }

.login-area {
    height: fit-content;
    width: fit-content;
    padding: 30px;
    background-color: #fff;
    border: none;
    border-radius: 30px;
    -webkit-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.3);
}
    .login-area .container{
        width: auto;
    }
    .login-area .row {
        margin-right: 0;
        margin-left: 0;
    }

.college-logo {
    width: auto;
    height: 75px;
    text-align: center;
}

    .college-logo img {
        max-height: 100%;
        filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.4));
    }

.college-name {
    justify-items: center;
}
    .h2login {
        text-transform: uppercase;
        text-align: center;
        color: #000;
        font-family: "Poppins", sans-serif;
        font-size: 25px;
        font-weight: 700;
        width: 80%;
    }

/*--------------------*/

.login{
    padding:30px 30px 0 30px;
}
.input-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.wrap-input {
    width: 100%;
    position: relative;
    border-bottom: 2px solid #adadad;
}

.actions {
    text-align: center;
}

.submit {
    background-color: #0AA598;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    border: 2px solid #0AA598;
    padding: 10px;
    width: 50%;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s all ease-in-out;
}

    .submit:hover, #submit:focus {
        background-color: transparent;
        color: #0AA598;
    }

    .submit:active {
        outline: none;
        -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
        -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
    }

    .submit::-moz-focus-inner {
        border: none;
    }

.forgotpass{
    margin-top: 10px;
}
    .forgotpass a {
        text-decoration: underline;
        font-family: "Poppins", sans-serif;
        color: #3151A2;
        font-size: 12px;
        font-weight: bold;
        transition: 0.3s all ease-in-out;
    }

        .forgotpass a:hover {
            color: #f56f09;
        }

/*Page Mobile css*/


@media only screen and (max-width:1024px)
{
    body {
        background-position: right;
    }

    .login-frame {
        left: 0;
        right: 0;
        margin: auto auto;
    }

    .login-area{
        padding: 30px 5px 30px 5px;
    }

    .login {
        padding: 30px 15px 0 15px;
    }
    .h2login {
        width: 100%;
    }
    .submit{
        width: 100%;
    }
    .inputs
    {
        padding: 10%;
    }
    
    .footer span
    {
        font-size: 7px;
    }

}

@media only screen and (min-width: 640px) {
    .login-area {
        padding: 30px;
    }
}

/*--------------------*/

.inputs input
{
    background: #f1f1f1 url(../assets/images/login-sprite.png) no-repeat;
    padding: 17px 15px 15px 30px !important;
    margin: 0 0 10px 0;
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
}

.username
{
    background-position: 5px -2px !important;
}

.password
{
    background-position: 5px -52px !important;
}

.inputs input:focus
{
    background-color: #fff;
    border-color: #e8c291;
    outline: none;
    -moz-box-shadow: 0 0 0 1px #e8c291 inset;
    -webkit-box-shadow: 0 0 0 1px #e8c291 inset;
    box-shadow: 0 0 0 1px #e8c291 inset;
}



/*--------------------*/

#back
{
    display: block;
    text-align: center;
    position: relative;
    top: 60px;
    color: #999;
}

.header-text h1
{
    margin: 23px 0 0 0;
    text-transform: none;
    color: #8D0F0F;
}
.header-text h1:after, .header-text h1:before
{
    background: none;
}
.footer
{
    position: absolute;
    bottom: 0;
    background: #003373;
    width: 100%;
    border-top: 1px solid #888;
    border-bottom: 1px solid #888;
    padding: 10px 0;
    color: #fff;
}

/* New Logins*/

.forgotlink
{
    margin: -20px 0 0 0;
    background-color: transparent;
    cursor: pointer;
    font-size: 13px;
    color: #7a7575;
}

.inputtext
{
    font-size: 15px;
    color: #555555;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 45px;
    background: transparent;
    padding: 25px 5px 0px 5px;
    background-color: #fbfbfb !important;
    border: 0px solid #ffffff !important;
}


.validate-input
{
    position: relative;
}

.focus-input
{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.focus-input::before
{
    content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    background: #17a2b8;
    background: -webkit-linear-gradient(left, #17a2b8,#17a2b8);
    background: -o-linear-gradient(left, #17a2b8,#17a2b8);
    background: -moz-linear-gradient(left, #17a2b8,#17a2b8);
    background: linear-gradient(left, #17a2b8,#17a2b8);
}

.focus-input::after
{
    /*font-family: Poppins-Regular;*/
    font-size: 15px;
    color: #999999;
    line-height: 1.2;
    content: attr(data-placeholder);
    display: block;
    width: 100%;
    position: absolute;
    top: 16px;
    left: 0px;
    padding-left: 5px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    background-color: transparent !important;
    border: none;
}

.inputtext:focus + .focus-input::after
{
    top: -50px;
}

.inputtext:focus + .focus-input::after
{
    top: -12px;
    font-size: 12px;
    color: #17a2b8;
}

.inputtext:focus + .focus-input::before
{
    width: 100%;
}

.has-val.inputtext + .focus-input::after
{
    top: -12px;
    font-size: 12px;
    color: #17a2b8;
}

.has-val.inputtext + .focus-input::before
{
    width: 100%;
}

.field-icon
{
    float: right;
    margin-left: -25px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
