* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins' !important;
    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;
}

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

    .maincontainer.paddingZero .bothsidebox {
        min-height: calc(85vh + 2vw);
    }

.bothsidebox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 85vh;
    align-items: center;
    /*overflow:hidden; Comment for LoginImage*/
}

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

.leftcard {
    border-right: 0.148vw solid #d3d3d3;
    width: 39vw;
    padding: 2.352vw 4.815vw;
    height: 100%;
}

.maincontainer.paddingZero .leftcard {
    border-right: 0px;
}

.leftcard .cardinside {
    display: flex;
    justify-content: center;
    outline: none;
    margin-bottom: 1vw;
}

.logotext {
    margin: 1.222vw 0;
    display: flex;
    justify-content: center;
}

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

.cardinside .cardinsideimg {
    width: 18.519vw;
}

.cardinside .card_a {
    display: flex;
    outline: none;
}

.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;
}
/* -----------form--------------- */

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 0.741vw 0;
    border: none; /* Remove the border */
    border-bottom: 0.074vw solid #ddd; /* Add a bottom border */
    box-sizing: border-box;
    font-size: 1.333vw;
    font-weight: 600;
    color: #4d4d4d;
    outline: none;
    appearance: none;
}

    input[type="text"],
    input[type="password"]:not(.browser-default) {
        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[type="submit"] {
    width: 100%;
    padding: 0.741vw;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 0.593vw;
    cursor: pointer;
    font-size: 1.63vw;
    font-weight: 600;
    height: 3.974vw;
    outline: none;
}

.selectimg,
.selectimgs {
    position: absolute;
    top: 0.989vw;
    right: 0.444vw;
    height: 1.185vw;
    width: 1.185vw;
}

.leftcard .check {
    float: left;
    color: #4d4d4d;
    display: flex;
    align-items: center;
}

    .leftcard .check label {
        font-size: 1.185vw;
    }

.leftcard .pass {
    float: right;
    display: flex;
}

    .leftcard .pass a {
        text-decoration: none;
        color: #00bcd4;
        font-weight: 600;
        font-size: 1.185vw;
    }

.leftcard .sbtn {
    margin-top: 1vw;
    width: 100%;
    background-color: #00bcd4;
    color: #fff;
    border: none;
    border-radius: 0.593vw;
    cursor: pointer;
    font-size: 1.63vw;
    font-weight: 600;
    height: 3.974vw;
    outline: none;
}

    .leftcard .sbtn .loginbtn {
        color: #fff !important;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

.leftcard .check input {
    width: 1.463vw;
    height: 1.463vw;
    margin: 0 0.8vw 0 0;
    outline: none;
}

.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: calc(50% - 0.75vw);
    height: 1.481vw;
    width: 1.481vw;
    z-index: 10;
}


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

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

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

.rightimage img {
    width: 37.037vw;
}

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

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

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

.rightcard .rightimage img.SchoolImage {
    display: none;
}

.rightcard .rightimage img.DefaultImage {
    display: block;
}

.rightcard.rightFullsizeSchoolImage {
    justify-content: flex-start;
}

.rightFullsizeSchoolImage {
    padding: 0;
    height: 100%;
    position: relative;
}

    .rightFullsizeSchoolImage.rightcard .rightimage {
        width: calc(100% - 1vw);
        height: calc(100vh - 5vw);
        overflow: hidden;
        border-radius: 1.2vw;
    }

        .rightFullsizeSchoolImage.rightcard .rightimage img.SchoolImage {
            width: 100%;
            height: 100%;
            display: block;
        }

        .rightFullsizeSchoolImage.rightcard .rightimage img.DefaultImage {
            display: none;
        }

    .rightFullsizeSchoolImage.rightcard .rightitems {
        position: absolute;
        bottom: 0;
        left: 0.55vw;
    }

        .rightFullsizeSchoolImage.rightcard .rightitems p {
            background: #fff;
            padding: 1vw;
            border-radius: 1.222vw;
            margin-bottom: 0.58vw;
        }

/* -----------------------selectlayout------------------------------------------------ */

.select-wrapper input.select-dropdown {
    position: relative;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 0.074vw solid #009688;
    outline: none;
    height: 3.556vw;
    line-height: 3.556vw;
    width: 100%;
    font-size: 1.185vw;
    margin: 0 0 1.081vw 0;
    padding: 0;
    display: block;
    user-select: none;
    overflow: visible;
}

.dropdown-content {
    background-color: #fff;
    margin: 0;
    display: none;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    top: 0;
    z-index: 999;
    width: 100%;
    box-shadow: 0 0.148vw 0.148vw 0 rgba(0, 0, 0, 0.14), 0 0.074vw 0.37vw 0 rgba(0, 0, 0, 0.12), 0 0.222vw 0.074vw -0.148vw rgba(0, 0, 0, 0.2);
    height: auto;
    max-height: 300px;
}

    .dropdown-content li {
        clear: both;
        color: rgba(0, 0, 0, 0.87);
        cursor: pointer;
        min-height: 2.593vw;
        line-height: 1.778vw;
        width: 100%;
        text-align: left;
        text-transform: none;
    }

        .dropdown-content li:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .dropdown-content li > a,
        .dropdown-content li > span {
            font-size: 1.111vw;
            color: #009688;
            display: block;
            line-height: 1.63vw;
            padding: 0.519vw 1.185vw;
        }

.options {
    position: absolute;
    width: 100%;
}

    .options .lists {
        display: flex;
        justify-content: center;
    }

.caret {
    display: none;
}
/* ----------------------------------------------------------------------- */
/* -------------upper----------------------- */
.iconz .container {
    position: relative;
}

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

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

        .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;
    font: 600 1.185vw 'Poppins', sans-serif;
}

    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 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;
}

.iconz .container a {
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0.741vw 0;
    color: #fff;
    background: #ff5722;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.select-wrapper {
    position: relative;
}

select {
    display: none !important;
}

.logincaptcha {
    display: flex;
    justify-content: space-between;
}

    .logincaptcha .inputcaptcha {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        height: 2.5vw;
        margin-right: 10px;
    }

        .logincaptcha .inputcaptcha input {
            padding: 0 !important;
        }

    .logincaptcha .displaycaptcha {
        display: flex;
        height: 2.5vw;
    }

        .logincaptcha .displaycaptcha #imgCaptcha {
            padding: 0.2vw;
            background-image: url('/Images/Login/captcha.jpg');
            background-repeat: no-repeat;
            font-size: 1.4vw;
            font-family: Thaoma;
            text-align: center;
            font-style: italic;
            color: black;
            font-weight: bold;
            Width: 12.81vw;
            margin-right: 5px;
        }

        .logincaptcha .displaycaptcha .btn-refresh {
            width: 35px !important;
            height: auto !important;
            margin: 0 !important;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 !important;
        }

.formessentials {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------------------------Responsive (Mobile View)-------------------------------------------------------------- */

@media (max-width: 767px) {
    .center {
        padding: 7.813vw 2.25vw;
        margin: 0;
        overflow-x: hidden;
    }

    #txtCaptcha {
        font-size: 3vw;
    }

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

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

    .cardinside .cardinsideimg {
        width: 59.375vw;
    }

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

    input[type="text"],
    input[type="password"],
    select {
        font-size: 4.375vw;
        margin-bottom: 4vw;
    }

    .leftcard .check label {
        font-size: 2.775vw;
    }

    .leftcard .pass a {
        font-size: 2.775vw;
    }


    .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 {
        top: -35%;
    }

    .rightcard {
        padding: 4.688vw 6.875vw;
    }

    .rightFullsizeSchoolImage {
        width: 100%;
    }

        .rightFullsizeSchoolImage.rightcard .rightitems {
            position: relative;
        }

        .rightFullsizeSchoolImage.rightcard .rightimage {
            border-radius: 1vw;
        }

    .rightimage img {
        width: 71.875vw;
    }

    .rightcard .rightitems {
        width: auto;
    }

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

    .leftcard .check input {
        width: 3.663vw;
        height: 3.663vw;
    }

    input[type="submit"] {
        height: 14.188vw;
        font-size: 6.875vw;
        border-radius: 2.5vw;
    }

    .leftcard .sbtn {
        margin-top: 9.375vw;
    }

    .leftcard .usrname,
    .leftcard .pwd {
        padding: 0.741vw 0.741vw 0.741vw 9.375vw;
    }

    .leftcard .usrimg,
    .leftcard .pwdimg {
        left: 0;
        top: 0;
        height: 6.25vw;
        width: 6.25vw;
    }

    .selectimg,
    .selectimgs {
        height: 3.685vw;
        width: 3.685vw;
        top: 2.089vw;
    }

    .select-wrapper input.select-dropdown {
        height: 8.556vw;
        line-height: 6.556vw;
        font-size: 4.085vw;
        margin: 0 0 5.381vw 0;
    }

    .dropdown-content li > a,
    .dropdown-content li > span {
        font-size: 3.911vw;
        line-height: 6.63vw;
        padding: 0.519vw 1.185vw;
    }

    body {
        height: unset;
    }

    .leftcard .leftbtn .btnimage {
        margin-left: 4.222vw;
    }

    .iconz .container .box input,
    .iconz .container .box textarea {
        font-size: 5.63vw;
        padding: 0.593vw 7.222vw;
    }

        .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 label {
        left: 8.222vw;
        font-size: 4.885vw;
    }

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

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

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

    .logotext {
        margin: 4.322vw 0;
    }

    .errmsg {
        height: 12.704vw;
        font-size: 4.185vw;
        margin: 5vw 0;
        width: 100%;
        border-radius: 1.296vw;
    }

    br {
        display: none;
    }

    .logincaptcha .inputcaptcha {
        width: 100%;
        height: 10vw;
    }

    .leftcard .sbtn {
        width: 100%;
        padding: 2.741vw;
        background-color: #00bcd4;
        color: #fff;
        border: none;
        border-radius: 1.593vw;
        cursor: pointer;
        font-size: 5.63vw;
        font-weight: 600;
        height: 12.974vw;
        outline: none;
    }

    .logincaptcha .inputcaptcha input {
        margin: 0;
    }

    .iconz .container .box {
        justify-content: center;
    }

    .logincaptcha .displaycaptcha .btn-refresh {
        border-radius: 0.5vw;
    }

    .logincaptcha .displaycaptcha #imgCaptcha {
        padding: 2vw;
        background-image: url('/Images/Login/captcha.jpg');
        background-repeat: no-repeat;
        font-size: 3vw;
        font-family: Thaoma;
        text-align: center;
        font-style: italic;
        color: black;
        font-weight: bold;
        Width: calc(100% - 8.5vw);
        height: 8.5vw !important;
    }

    .passwordfield,
    .passwordfield input {
        margin-bottom: 0 !important;
    }

    .logincaptcha .displaycaptcha .btn-refresh {
        width: 8.5vw !important;
        height: 8.5vw !important;
        margin: 0 !important;
        font-size: 4vw !important;
        padding: 1vw !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logincaptcha .displaycaptcha {
        display: flex;
        width: 100%;
    }

    .dropdown-content {
        height: auto;
        max-height: 160px;
    }
}

/* ---------------------------------------------------------------Tab View--------------------------------------------------- */

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

    .dropdown-content {
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 360px) {
    .leftcard .check label {
        font-size: 3.438vw;
    }

    .leftcard .pass a {
        font-size: 3.438vw;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .maincontainer {
        margin: 2vw 0;
    }

    .logincaptcha .inputcaptcha {
        width: 100%;
        margin-right: 0px;
        height: 100%;
    }

    .leftcard {
        height: auto;
    }

    .bothsidebox {
        min-height: 67vh;
    }

    .logincaptcha .inputcaptcha input,
    .logincaptcha .displaycaptcha #imgCaptcha {
        padding: 1vw 1vw !important;
    }

    .logincaptcha .displaycaptcha {
        height: 100%;
        margin-top: 10px;
    }

    .logincaptcha {
        flex-wrap: wrap;
    }

    .passwordfield {
        margin-bottom: 0 !important;
    }

    .leftcard .check,
    .leftcard .pass {
        float: unset;
    }

    .leftcard .sbtn {
        margin-top: 1.5vw;
    }

    .logincaptcha .displaycaptcha #imgCaptcha {
        width: calc(100% - 42px) !important;
        margin-right: 5px;
    }

    .dropdown-content {
        height: auto;
        max-height: 170px;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .dropdown-content {
        height: auto;
        max-height: 200px;
    }
}
