.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-block-start: 0;
}

.page-template-wp-custom-template-login-page input[type="submit"] {
    font-family:'Avenir';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 23px 19px;
}

.page-template-wp-custom-template-login-page input[type="submit"]:hover {
    border: 1px solid #0F3548;
}

.mepr-form .submit .mepr-login-actions a {
    color: #000;
    font-family: 'Avenir';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form p {
    margin-bottom: 24px;
}

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form .mp-form-row label,
.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form label
 {
    color: #504E51;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form .mp-form-row input {
    border: 1px solid #e3e3e3;
}

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form .mp-form-row {
    margin-bottom: 0;
}

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form .mp-form-row input::placeholder {
    color: #A9A9A9;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}

.mepr-form .submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    height: 66px;
    margin-top: -24px;
}

.page-template-wp-custom-template-login-page .after-form {
    border-top: 1px solid #E3E3E3;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: -30px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
	display: none;
}

.page-template-wp-custom-template-login-page .after-form span {
    color: #504E51;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 30px */
}

.page-template-wp-custom-template-login-page .after-form a {
    color: #000;
    font-family: 'Avenir';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 18px */
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

@media screen and (min-width: 844px) and (max-width: 1023px) {

.page-template-wp-custom-template-login-page .mp_wrapper.mp_login_form p {
    margin-bottom: 10px;
}

.mepr-form .submit {
    margin-top: -45px;
}

.page-template-wp-custom-template-login-page .after-form {
    padding-top: 10px;
}

}

@media screen and (max-width: 844px) {
    
    .page-template-wp-custom-template-login-page .wp-block-media-text .wp-block-media-text__content {
        padding: 0 20px;
    }

    .mepr-form .submit {
        display: block;
        height: auto;
        text-align: center;
        margin-top: 0;
    }

    .page-template-wp-custom-template-login-page input[type="submit"] {
        display: inline-block;
        width: 100%;
    }

    .page-template-wp-custom-template-login-page .mepr-login-actions {
        margin-top: -30px;
    }

    .page-template-wp-custom-template-login-page .after-form {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 689px) {
    .page-template-wp-custom-template-login-page .top-article .featured-text {
        padding: 40px 0 0;
    }
}