div#header-carousel {
    background-image: url("../images/portal/Banner-Image@2x.webp");
    min-height: 500px; /* Default for desktop */
    background-size: cover;
    background-position: center;
}
body.education-teacher-portal .content-wrapper{
    padding:0;
}
body.education-teacher-portal .button.login-button a{
    text-transform: uppercase;
}
.portal-section-2{
    flex-direction: row;
    align-items: center;
}
.wc-login .button{
    /*width: 600px!important;*/
    min-height: 55px;
    margin-bottom: 10px!important;
}
.portal-section-2 .content-left{
    text-align:center;
}
.portal-section-2 .register-form-wrapper,
.portal-section-2 .login-form-wrapper{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.login-form-wrapper .egg-shape{
    background: #fd9301;
}
body.education-teacher-portal .login-page .login-form{
    margin-top:10px;
    left:20px!important;
}
body.education-teacher-portal .login-page .login-form .form_action button{
    border-radius: 15px;
}

body.education-teacher-portal .login-page .login-form .form_action button:hover{
    background-color: #fff;
    color: #82bf41!important;
}
body.education-teacher-portal .login-page .login-form .form_action input{
    background-color:#fd9301 !important;
    border-style: none !important;
    -webkit-box-shadow: 0px -1px 1px 1px rgb(50 50 50 / 15%);
    -moz-box-shadow: 0px -1px 1px 1px rgb(50 50 50 / 15%);
    box-shadow: 0px -1px 1px 1px rgb(50 50 50 / 15%);
}

.portal-section-2 .content-left,
.portal-section-2 .content-left h4,
.portal-section-2 .content-left h5{
    color:#404040;
}
.portal-section-2 .content-left h4{
    font-size:2.8125rem;
}
.portal-section-2 .content-left h5{
    font-size:1.625rem;
}
.portal-section-3{
    background: linear-gradient(90deg, #3AAADA, #7BCCF0);
    padding: 60px 50px 60px 100px;
    display: flex;
    align-items: center;
    gap: 50px;
}
.portal-section-3 .content-left{
    flex: 1;
    display: flex;
    justify-content: left;
}
.portal-section-3 .content-right{
    flex: 2;
    text-align: right;
    padding-right: 5rem;
}

.portal-section-3 .logo-wrapper img{
    max-width:230px;
}
.portal-section-3 .description{
    color:#FFFFFF;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}
.portal-section-3 .content-left .content-img-bg{
    width: 100%;
    max-width: 350px;
    height: 250px;
    background: url(../images/portal/Cartoon-Screens@2x.webp) center / contain no-repeat;
}
.portal-section-3 .button,
.portal-section-4 .button,
.portal-section-5 .button{
    border-radius: 15px;
    text-align: center;
    line-height: 4px;
    height: 35px;
    width: 120px;
    margin-top: 15px;
    outline: 0;
    padding:0.375rem 2rem;
    text-decoration:none;
    font-size:20px;
}

.portal-section-3 .button,
.portal-section-5 .button{
    border: solid 2px #fff;
    color: #fff;
}
.portal-section-4 .button{
    border: solid 2px #e89b28;
    color: #e89b28;
}

.portal-section-4{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.portal-section-4 .title,
.portal-section-5 .title{
    font-size:40px;
    color:#e89b28;
    font-weight:bold;
}
.portal-section-4 .description{
    color:#5B5E63;
}
.portal-section-4 .content-left{
    float: left;
    width: 50%;
    padding: 80px 70px;
    position: relative;
    z-index: 2;
}
.portal-section-4 .content-img-bg{
    position: absolute;
    right: 0;
    top: 0;
    width: 110%;
    min-height: 501px;
    background: transparent url(../images/portal/Image-7@2x.webp) 0% 0% no-repeat padding-box;
    background-size: cover;
    background-position: top;
    opacity: 1;
    z-index: 1;
    margin-top: -20px;
    margin-right: -20px;
}
.portal-section-5{
    background: #81BF40;
    text-align:center;
    color:#FFF;
    padding: 60px 20px;
}
.portal-section-5 .title{
    font-weight:normal;
    color:#FFF;
}
.portal-section-5 .description{
    color:#FFF;
}
#create-form .educator-switch-text,
#login-form .educator-switch-text{
    margin-bottom:5px;
} 
.to-egg-login,
.to-egg-register{
    margin-left: 5px;
    margin-bottom:5px;
    text-align: left;
    color:#FFF;
}
.to-egg-login a,
.to-egg-register a{
    color:#FFF!important;
}
body.education-teacher-portal #login-form .form-group{
    padding-top:0;
}
body .register-form-wrapper .register-page #create-form .error_msg{
    padding-top:0;
    padding-left:5px;
}
body .register-form-wrapper .register-page #create-form .form_action button.form-btn {
    margin-top:10px;
}
#create-form .format-field{
    border-color: unset !important;
    border-style: none !important;
}
#create-form .format-field::placeholder{
    font-size:16px!important;
}
.button-red:hover{
    background-color: transparent!important;  
    border:1px solid #D8267E!important
}
body .register-page #create-form {
    position: absolute;
}
body .register-page  .create-form .email-error{
    width: auto;
    color: red;
    font-size: 12px;
 
    text-align: left;
}
body .register-page .table.form-group .form_action .td {
    width: 100%;
    position:relative;
}
body .register-page .table.form-group .form_action .td.error{
    padding-bottom:0;
}
@media (min-width: 991px) {
    .text-white.mb-lg-3.mb-md-3.font-size28.title-logo {
      width: 100%;
        text-align: center;
        margin: 0 auto;
    }

}

/* For Tablets */
@media screen and (max-width: 992px) {
    div#header-carousel {
        min-height: 350px;
    }
    .portal-section-2 .register-form-wrapper{
        position:unset;
        transform:unset;
    }
    .portal-section-2 .register-form-wrapper>.register-page{
        margin:0 auto;
    }
    .portal-section-4 .content-left{
        padding-top:40px;
        padding-left:40px;
        width:100%;
    }
    .portal-section-4 .title{
        text-align:center;
    }
}

/* For Mobile Phones */
@media screen and (max-width: 576px) {
    div#header-carousel {
        min-height: 250px;
    }
}
