﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0px;
}

form {
    border: none;
}

input[type=text], input[type=password] {
    width: 100%;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    
}

    button:hover {
        opacity: 0.8;
    }

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
    max-width: 500px;
    margin: auto;
}

span.psw {
    float: right;
    padding-top: 16px;
}


.row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span .psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}


.login_banner {
    background-image: url(../Images/login-page.png);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0px;
    padding: 0px;
}
.grid {
    background-color: #342d73;
    width: 100%;
    color: white;
    border: 2px solid white;
    border-radius: 23px;
    font-family: Roboto;
    padding: 0px 35px;
    padding-bottom: 103px;
    box-shadow: 0 0 10px;
    margin-top: 30px;
}

.title {
    font-weight: bold;
    font-size: 22px;   
    padding-top: 20px;
}

.login_box {
    width: 30%;
    display: d-none;
}
.h5 {
    font-weight: inherit;
    font-size: 14px;
    padding-top: 20px;
}
#btnRequestOTP {
    background-color: red;
    border-radius: 18px;
    font-weight: normal;
    font-size: 17px;
    height: 52px;
    width: 100%;
}
.login-page-icon {
    text-align: center;
}
.logo {
    padding-top: 34px;
    padding-left: 43px;
}

.user {
    padding-top: 100px;
    padding-left: 18px;
}

.tf input {
    background: transparent;
    color: white;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    padding: 1px 30px;
    padding-bottom: 5px;
    color: white;
    font-size: 16px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px #342d73 inset;
    -webkit-text-fill-color: #ffffff;
    background: transparent !important;
    font-size:16px !important;
    font-family:Roboto !important;
}

    .tf input:focus {
        outline: none;
    }

.user_img {
    position: absolute;
    left: -23px;
    top: -56px;
}

.tf {
    position: relative;
/*    padding-top: 30px;*/
    padding: 50px 0px 7px 0px;
}

    .tf input::placeholder {
        color: white;
        opacity: 0.54;
        font-size: 16px;

    }
.bt-1 {
    padding-top: 50px;
    text-align: center;
}

/*Devices below 1024px code starts*/
@media only screen and (max-width: 1024px) {
    .grid {
        padding-left: 30px;
    }
    #btnRequestOTP {
        padding: 0px 54px;
    }
}
/*Devices below 1024px code ends*/
    /*Devices below 768px code starts*/
    @media only screen and (max-width: 768px) {

        body {
            overflow-x: hidden;
        }

        .login_box {
            width: 100%;
            padding: 10px 20px;
            text-align: center;
        }

        .logo {
            text-align: center;
            padding-top: 34px;
            padding-left: 0px !important;
        }

        .grid {
            padding-bottom: 20px;
            width: 100%;
            padding-top: 0px;
            margin-top: 30px;
        }

        .title {
            text-align: center;
        }

        .h5 {
            text-align: center;
        }

/*        .tf {
            text-align: center;
            padding-top: 25px;
        }*/
        .tf input {
            padding: 3px 30px;
        }

        .bt-1 {
            padding-top: 20px;
            text-align: center;
        }

        .user {
            padding-top: 83px;
        }
    }
    /*Devices below 768px code ends*/
    /*Devices below 425px code starts*/
    @media only screen and (max-width: 425px) {
        #btnRequestOTP {
            padding: 0px 70px;
        }
    }
    /*Devices below 768px code ends*/
    /*Devices below 375px code starts*/
    @media only screen and (max-width: 375px) {
        .grid {
            margin-top: 30px;
        }

        .title {
            text-align: center;
            font-size: 14.84px;
            padding-top: 15px;
            padding-left: 0px;
        }

        .h5 {
            padding-top: 15px;
            padding-left: 0px;
            text-align: center;
        }

        .tf {
            padding: 8px 30px
        }
            .tf input {
                padding: 11px 30px;
            }

        .user {
            /*            padding-top: 73px;*/
            padding-top: 74px;
            padding-left: 24px;
        }

        #btnRequestOTP {
            font-size: 16px;
            padding: 0px 30px;
        }
    }
    /*Devices below 375px code ends*/


    /*OTP page CSS starts*/

    /*.login_banner {
    background-image: url(../Images/login-page.png);
    background-size: cover;
    min-height: 100vh;
    margin: 0px;
    padding: 0px;
}*/

    .otp-grid {
        background-color: #342d73;
        width: 100%;
        color: white;
        border: 2px solid white;
        border-radius: 23px;
        font-family: Roboto;
        box-shadow: 0 0 10px;
        margin-top: 30px;
        padding: 0px 35px;
        padding-bottom:20px;
    }

    .otp-box {
        width: 30%;
    }

    .otp-page-icon {
        text-align: center;
        padding-top: 22px;
    }

    .otp-title {
        font-weight: bold;
        font-size: 22px;
/*        padding-left: 36px;*/
        padding-top: 20px;
    }

    .otp-h5 {
        font-weight: inherit;
        font-size: 14px;
        padding-top: 20px;
/*        padding-left: 36px;*/
    }

    #btnlogin {
        background-color: red;
        border-radius: 18px;
        font-weight: normal;
        font-size: 17px;
        height: 52px;
       width: 100%;
    }

    /*.logo {
    padding-top: 34px;
    padding-left: 43px;
}*/

    .otp-tf-1 input {
        background: transparent;
        color: white;
        border: 0px !important;
        /*    padding: 0px 28px;*/
        /* padding: 0px 67px;*/
        padding-bottom: 5px;
        color: white;
        font-size: 16px;
    }

        .otp-tf-1 input:focus {
            outline: none;
        }

.otp-tf-2 {
    position: relative;
    padding: 22px 0px;
}
    .otp-tf-2 input::placeholder {
        color: white;
        opacity: 0.4;
        font-size: 16px;
    }

    .otp-tf-2 input {
        background: transparent;
        color: white;
        border-left: 0px;
        border-right: 0px;
        border-top: 0px;
        padding-bottom: 5px;
        color: white;
        font-size: 16px;
    }

        .otp-tf-2 input:focus {
            outline: none;
        }

/*    .dummy_cls {
        padding: 0px 38px;
    }*/
    /*dummy_cls-2 {
    padding: 0px 38px;
}*/
    .otp-user_img {
        position: absolute;
        left: 0;
        top: -56px;
    }

    .user_parent {
        position: relative;
    }

    lock_parent {
        position: relative;
    }

    .otp-tf-2 input::placeholder {
        color: white;
        opacity: 1;
        font-size: 16px;
    }
.otp-user {
    position: absolute;
    left: -36px;
    top: 14px;
}

    .otp-bt-1 {
        padding-top: 30px;
        text-align: center;
        padding-bottom: 27px;
    }

    #otp-lnkresendotp {
        color: white;
        font-weight: 600;
    }

.Resend-OTP {
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    margin-top: 25px;
}
.otp-lock {
    position: absolute;
    top: -4px;
    left: 0px;
}

    .otp-lock_img {
        position: absolute;
        left: 0;
    }

    
    /*OTP page CSS ends*/

    /*OTP Responsive CSS Starts*/
    /*Devices below 1024px code starts*/
    @media only screen and (max-width: 1024px) {

        #btnlogin {
            padding: 0px 100px;
        }
        .otp-user {
            position: absolute;
            left: -36px;
            top: 14px;
        }
        .otp-tf-1 {
            position: relative;
/*            padding: 9px 0px;*/
            padding-top: 55px;
        }
        .otp-lock_img {
            position: absolute;
            left: -30px;
        }
/*        .otp-tf-2 input {
            
            padding-left: 0px;
            
        }*/
        .otp-lock {
            left: 28px;
        }
        .otp-tf-2 {
            position: relative;
            padding: 22px 0px;
        }
        .oto-grid {
            padding-left: 30px;
        }
    }
    /*Devices below 1024px code ends*/

    /*Devices below 768px code starts*/
    @media only screen and (max-width: 768px) {
        .otp-box {
            width: 100%;
            padding: 20px;
            text-align: -webkit-center;
        }



        .otp-grid {
            padding-bottom: 20px;
            width: 100%;
            padding-top: 0px;
            margin-top: 30px;
        }

        .otp-title {
            text-align: center;
        }

        .otp-h5 {
            text-align: center;
        }

        .otp-tf-1 {
            text-align: center;
/*            padding-top: 25px;*/
            padding-top: 50px;
        }

        .otp-tf-2 {
            text-align: center;
            padding-top: 25px;
        }

        .otp-bt-1 {
            padding-top: 20px;
            text-align: center;
        }

        .otp-user {
            padding-top: 83px;
        }
    }
    /*Devices below 768px code ends*/
    /*Devices below 425px code starts*/
    @media only screen and (max-width: 425px) {
        #btnlogin {
            padding: 0px 70px;
        }
    }
    /*Devices below 768px code ends*/
    /*Devices below 375px code starts*/
    @media only screen and (max-width: 375px) {
        .otp-grid {
            margin-top: 30px;
        }

        .otp-title {
            text-align: center;
            font-size: 14.84px;
            padding-top: 15px;
            padding-left: 0px;
        }

        .otp-h5 {
            padding-top: 15px;
            padding-left: 0px;
            text-align: center;
        }

        .otp-tf {
            padding-top: 15px;
        }

        .otp-user {
            padding-top: 84px;
        }

        #btnlogin {
            font-size: 16px;
            padding: 0px 70px;
        }
    }
    /*Devices below 375px code ends*/
    /*OTP Responsive CSS Ends*/

@media only screen and (max-width: 991px) and (min-width:769px) {
    .otp-box {
        width: 50%;
        padding: 20px;
        text-align: -webkit-center;
    }
    .login_box {
        width:50%;
    }
}
   