* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins";
    margin: 0;
    padding: 0;
    background-image: url('/ContentTemplates/Brand/bg_login.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    height: 100vh;
    position: relative;
}

.maincontainer {
    width: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    border-radius: 2.222vw;
    padding: 1vw 0;
    min-width: 90vw;
}

.bothsidebox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 85vh;
    align-items: center;
}

.center {
    text-align: center;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.leftcard {
    width: 39vw;
    padding: 1.452vw 4.815vw;
    border-right: 0.148vw solid #d3d3d3;
}

    .leftcard .cardinside {
        display: flex;
        justify-content: center;
    }

.logotext {
    margin: 2.663vw 0;
}

    .logotext p {
        font-size: 1.778vw;
        font-weight: 600;
        color: #6e6e6e;
    }

.errmsg {
    height: auto;
    width: 100%;
    background-color: #f8d7da;
    color: #842029;
    border: 0.074vw solid red;
    border-radius: 0.296vw;
    font-size: 0.95vw;
    padding: 0.248vw;
    margin-bottom: 0.5vw;
    display: flex;
}

.successmsg {
    height: auto;
    width: 100%;
    background-color: #abdfd2;
    color: darkgreen;
    border: 0.074vw solid darkgreen;
    border-radius: 0.296vw;
    font-size: 0.95vw;
    padding: 0.248vw;
    margin-bottom: 0.5vw;
    display: flex;
}

.cardinside img {
    width: 18.519vw;
}

/* -----------form--------------- */

.formessentials {
    display: flex;
    justify-content: space-around;
    margin: 1.552vw 0;
}

    .formessentials .sbtn,
    .formessentials .back {
        display: flex;
        align-items: center;
        padding: 0.667vw;
        background-color: #009688;
        border: none;
        border-radius: 0.37vw;
        font-size: 1.333vw !important;
        text-transform: uppercase;
        cursor: pointer;
        color: #fff;
        height: 2.963vw !important;
        width: 8.889vw !important;
        outline: none;
        justify-content: center;
    }

    .formessentials .back {
        background-color: #f75a5f;
        display: flex;
        align-items: center;
    }

        .formessentials .back .backimg,
        .formessentials .simg {
            margin-right: 0.741vw;
            height: 1.259vw;
            width: 1.259vw;
        }

.leftcard .iconz {
    position: relative;
    width: 100%;
}

.leftcard .usrname,
.leftcard .pwd {
    padding: 0.741vw 0.741vw 0.741vw 2.222vw;
    outline: none;
}

.leftcard .usrimg, .leftcard .pwdimg {
    position: absolute;
    left: 0;
    top: 1.111vw;
    height: 1.481vw;
    width: 1.481vw;
}

/* -------------------------Rightcard---------------------------------- */

.rightcard {
    padding: 1.63vw;
    width: 53vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.rightimage img {
    width: 37.037vw;
}

.rightcard .rightimage {
    display: flex;
    justify-content: center;
}

.rightcard .rightitems {
    width: 49.852vw;
    margin-top: 4.444vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .rightcard .rightitems p {
        color: #727272;
        font-size: 1.0vw;
        font-weight: 600;
        line-height: 1.5;
    }

    .rightcard .rightitems .spanblack {
        color: #363636;
    }

/* -------------demo----------------------- */

.iconz .container {
    position: relative;
}

    .iconz .container h1 {
        color: #009688;
        text-align: center;
        text-transform: uppercase;
    }

    .iconz .container .box {
        position: relative;
        width: 100%;
        margin: 2.222vw 0;
    }

        .iconz .container .box input,
        .iconz .container .box input:focus,
        .iconz .container .box textarea:focus,
        .iconz .container .box textarea {
            position: relative;
            border: none;
            outline: none;
            width: 100%;
            font-size: 1.185vw;
            padding: 1vw 2.222vw;
            box-sizing: border-box;
            border-bottom: 0.074vw solid rgba(0, 0, 0, 0.2);
            background: transparent;
            z-index: 2;
        }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/*Change text in autofill textbox*/
input:-webkit-autofill {
    -webkit-text-fill-color: #4d4d4d !important;
}

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-background-clip: text;
        -webkit-text-fill-color: #ffffff;
        transition: background-color 5000s ease-in-out 0s;
        box-shadow: inset 0 0 20px 20px #23232329;
    }

.iconz .container .box input:focus,
.iconz .container .box textarea:focus {
    border-bottom: 0.074vw solid #009688;
}

.iconz .container .box span {
    display: inline-block;
    position: absolute;
    left: 2.222vw;
    color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: 0.3s;
    font-size: 1.185vw;
    font-weight: 600;
}

.iconz .container .box input + span {
    top: calc(50% - 0.8vw);
}

.iconz .container .box input:focus + span,
.iconz .container .box input:-webkit-autofill + span,
.iconz .container .box input:-webkit-autofill:hover + span,
input:-webkit-autofill:focus + span,
input:-webkit-autofill:active + span,
.iconz .container .box.username input + span {
    color: #009688;
    top: -7%;
    font-size: 0.963vw;
}

.iconz .container .box textarea + span {
    top: 0.963vw;
}

.iconz .container .box textarea:focus + span,
.iconz .container .box textarea:valid + span {
    color: #ff5722;
    top: -0.815vw;
}

.iconz .container .box label {
    display: inline-block;
    position: absolute;
    left: 2.222vw;
    color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    transition: 0.3s;
    font-size: 1.185vw;
    font-weight: 600;
}

.iconz .container .box input + label {
    top: calc(50% - 0.8vw);
}

.iconz .container .box input:focus + label,
.iconz .container .box input:-webkit-autofill + label,
.iconz .container .box input:-webkit-autofill:hover + label,
input:-webkit-autofill:focus + label,
input:-webkit-autofill:active + label,
.iconz .container .box.username input + label {
    color: #009688;
    top: -7%;
    font-size: 0.963vw;
}

.iconz .container .box textarea + label {
    top: 0.963vw;
}

.iconz .container .box textarea:focus + label,
.iconz .container .box textarea:valid + label {
    color: #ff5722;
    top: -0.815vw;
}

div#divLoadingmsg, .white-popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.white-popup {
    margin: 0px 0;
    border-radius: 0px !important;
    padding: 0;
    width: 100% !important;
    background: #000075;
    display: flex !important;
    justify-content: center;
    height: 100vh;
}

.or_msg {
    margin-bottom: 0;
    color: #ff0000;
    font-size: 18px;
    font-weight: 600;
    margin-top: 1vw;
}
/* -------------------------------------------------------Responsive (Mobile View)-------------------------------------------------------------- */

@media (max-width: 767px) {

    .white-popup br {
        display: block;
    }

    .center {
        padding: 7.813vw 2.25vw;
        margin: 0;
        overflow-x: hidden;
    }

    body {
        height: unset;
    }

    .maincontainer {
        display: block;
        padding: 3.125vw 0;
        min-width: auto;
    }

    .leftcard {
        width: auto;
        padding: 4.688vw 6.938vw;
        border: none;
    }

    .cardinside img {
        width: 59.375vw;
    }

    .logotext p {
        font-size: 6.875vw;
    }

    input[type="text"],
    input[type="email"],
    select {
        font-size: 4.375vw;
    }

    .rightcard {
        padding: 4.688vw 6.875vw;
    }

    .rightimage img {
        width: 71.875vw;
    }

    .rightcard .rightitems {
        width: auto;
    }

        .rightcard .rightitems p {
            font-size: 3.75vw;
        }

    .leftcard .usrimg,
    .leftcard .pwdimg {
        left: 0;
        top: -0.825vw;
        height: 5.481vw;
        width: 5.481vw;
    }

    .iconz .container .box span,
    .iconz .container .box label {
        left: 7.222vw;
        font-size: 4.385vw;
    }

    .iconz .container .box input, .iconz .container .box input:focus, .iconz .container .box textarea:focus, .iconz .container .box textarea {
        font-size: 4.085vw;
        padding: 0 8vw;
    }


    .iconz .container .box {
        margin: 7.222vw 0;
    }

        .iconz .container .box input + span, .iconz .container .box input + label {
            top: 8%;
        }

    body {
        height: unset;
    }

    br {
        display: none;
    }

    .formessentials .sbtn,
    .formessentials .back {
        font-size: 4.688vw !important;
        text-transform: uppercase;
        cursor: pointer;
        color: #fff;
        height: 10.938vw !important;
        width: 31.25vw !important;
        padding: 1.667vw;
        border-radius: 2.07vw;
    }

        .formessentials .back .backimg,
        .formessentials .simg {
            margin-top: 0vw;
            margin-right: 2.541vw;
            height: 6.459vw;
            width: 6.259vw;
        }

    .iconz .container .box input:focus + span, .iconz .container .box input:valid + span,
    .iconz .container .box input:focus + label, .iconz .container .box input:valid + label {
        font-size: 3.563vw;
    }

    .iconz .container .box input + span,
    .iconz .container .box input + label {
        top: calc(50% - 4vw);
    }

    .iconz .container .box.username input + span,
    .iconz .container .box.username input + label {
        top: -34%;
    }

    .iconz .container .box input:focus + span, .iconz .container .box input:-webkit-autofill + span, .iconz .container .box input:-webkit-autofill:hover + span, input:-webkit-autofill:focus + span, input:-webkit-autofill:active + span, .iconz .container .box.username input + span,
    .iconz .container .box input:focus + label, .iconz .container .box input:-webkit-autofill + label, .iconz .container .box input:-webkit-autofill:hover + label, input:-webkit-autofill:focus + label, input:-webkit-autofill:active + label, .iconz .container .box.username input + label {
        color: #009688;
        top: -4.5vw;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bothsidebox {
        min-height: 67vh;
    }
}


@media (min-width: 544px) and (max-width: 767px) {
    .container {
        width: 75vw;
    }
}
