.js-password-confirm-message {
    color: #979797;
    font-family: 'Roboto Slab';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 6px;
}

form.user-register-form .js-form-managed-file > *:not([name$="remove_button"]) { display: none; }

form.user-register-form .js-form-managed-file > [name$="remove_button"] {
    background-color: transparent;
    border: 0;
    color: #FF0000;
    cursor: pointer;
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    margin-bottom: 10px;
    padding: 0;
    position: relative;
}

.account-modal {
    border: none !important;
    padding: 0px !important;
    z-index: 999999 !important;
}

@media (max-width: 991.98px) {
    .account-modal {
        height: 100vh !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
    }
}

.account-modal.ready {
    opacity: 1 !important;
}

@media (min-width: 992px) {
    .account-modal:before {
        background-color: #131719;
        content: '';
        height: 100vh;
        left: 0;
        opacity: .5;
        position: fixed;
        top: 0;
        width: 100vw;
        z-index: -1;
    }
}

.account-modal .ui-dialog-titlebar {
    display: none;
}

.account-modal .ui-dialog-content {
    background-color: white !important;
    height: 100% !important;
    max-height: 100% !important;
    padding: 40px 15px 20px 15px !important;
}

@media (min-width: 992px) {
    .account-modal .ui-dialog-content {
        height: auto !important;
        max-height: 600px !important;
        padding: 40px !important;
    }
}

.account-modal .ui-dialog-content [id^="account_modal"] {
    display: flex;
    flex-flow: column;
    min-height: 100%;
}

@media (min-width: 992px) {
    .account-modal .ui-dialog-content [id^="account_modal"] {
		display: block;
        min-height: auto;
    }
}

.account-modal .ui-dialog-content form {
    display: flex;
    flex: 1;
    flex-flow: column;
    min-height: 100%;
}

@media (min-width: 992px) {
    .account-modal .ui-dialog-content form {
        display: block;
        flex-flow: column;
        height: auto;
        min-height: auto;
    }
}

.closeUserPopup {
    color: transparent;
    cursor: pointer;
    display: none;
    height: 21px;
    line-height: 21px;
    margin-bottom: 35px;
    position: relative;
    width: 21px;
}

.account-modal .closeUserPopup {
    display: inline-block;
}

@media (min-width: 992px) {
    .closeUserPopup {
        align-self: flex-end;
        float: right;
        margin-bottom: 0;
        margin-right: -15px;
        margin-top: -15px;
    }
}

.closeUserPopup:before, .closeUserPopup:after {
    background-color: #131719;
    content: '';
    height: 26px;
    left: 10px;
    position: absolute;
    top: -2px;
    width: 1.5px;
}

.closeUserPopup:before {
    transform: rotate(45deg);
}

.closeUserPopup:after {
    transform: rotate(-45deg);
}

.userPopupTitle {
    color: #131719;
    font-family: 'Lato';
    font-size: 20px;
    font-weight: 800;
    line-height: 26px;
    margin-bottom: 36px;
}

@media (min-width: 992px) {
    .userPopupTitle {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 41px;
    }
}

fieldset[id^="edit-links"] {
    /* display: none; */
    margin: 0 0 42px 0;
}

.account-modal fieldset[id^="edit-links"] {
    display: block;
}

@media (min-width: 992px) {
    fieldset[id^="edit-links"] {
        margin: 0 0 47px 0;
    }
}

fieldset[id^="edit-links"] .fieldset-wrapper {
    display: flex;
    width: 100%;
}

fieldset[id^="edit-links"] a {
    border-bottom: solid #C1B6AB;
    border-bottom-width: 3px;
    color: #C1B6AB;
    flex: 50%;
    font-family: 'Lato';
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    padding: 9px 0;
    text-align: center;
    text-decoration: none;
}

fieldset[id^="edit-links"] a.active {
    border-bottom-color: #FD0D1B;
    border-bottom-width: 3px;
    color: #131719;
}

@media (min-width: 992px) {
    fieldset[id^="edit-links"] a,
    fieldset[id^="edit-links"] a.active {
        border-bottom-width: 4px;
        font-size: 16px;
        line-height: 18px;
        padding: 14px 0;
        transition: .5s all ease;
    }

    fieldset[id^="edit-links"] a:hover {
        border-bottom-color: #FD0D1B;
        color: #131719;
        transition: .5s all ease;
    }
}

div[id^="account_modal"] .ajax-progress,
.userAccountForm .ajax-progress {
    display: none;
}

.userAccountForm .js-form-item.noMargin {
    margin: 0;
}

.userAccountForm .js-form-item:not(fieldset):not(.noMargin) {
    margin: 0 0 16px;
}

@media (min-width: 992px) {
    .userAccountForm .js-form-item:not(fieldset):not(.noMargin) {
        margin: 0 0 20px;
    }
}

.userAccountForm .js-form-item:not(.js-form-type-checkbox):not(.js-form-type-managed-file) label {
    display: none;
}

.userAccountForm .js-form-type-textfield input,
.userAccountForm .js-form-type-email input,
.userAccountForm .js-form-type-password input {
    background-color: transparent;
    border: solid #C1B6AB;
    border-width: 0 0 1px 0;
    color: #131719 !important;
    font-family: 'Lato' !important;
    font-size: 14px;
    font-weight: 800 !important;
    letter-spacing: .28px;
    line-height: 17px;
    padding: 8px 0;
    width: 100%;
}

.userAccountForm .js-form-type-textfield input::placeholder,
.userAccountForm .js-form-type-email input::placeholder,
.userAccountForm .js-form-type-password input::placeholder {
    color: #979797;
}

.userAccountForm .js-form-type-password input + .description {
    color: #979797;
    font-family: 'Roboto Slab';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 6px;
}

.userAccountForm .js-form-type-checkbox {
    margin: 30px 0 !important;
}

.userAccountForm .js-form-type-checkbox input {
    display: none;
}

.userAccountForm .js-form-type-checkbox input + label {
    color: #616161;
    cursor: pointer;
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    padding-left: 50px;
    position: relative;
}

.userAccountForm .js-form-type-checkbox input + label:before {
    border: 1px solid #1E1A19;
    content: '';
    height: 24px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
}

.userAccountForm .js-form-type-checkbox input:checked + label:before {
    background-image: url('https://actionaid.gr/img/check.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70%;
}

.userAccountForm .js-form-type-managed-file label {
    color: #131719;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .32px;
    line-height: 20px;
    margin-bottom: 20px;
}

.userAccountForm .js-form-type-managed-file .up_wrapper {
    border: 1.5px solid #C1B6AB;
    border-style: dashed;
    padding: 12px;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_picture {
    background-image: url('https://actionaid.gr/img/default_pfp.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 136px;
    margin-right: 20px;
    width: 136px;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_picture img[src] {
    height: 100%;
    width: 100%;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_text {
    display: flex;
    flex-flow: column;
    flex-grow: 0;
    padding: 5px 0;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_title {
    color: #616161;
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 8px;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_desc {
    color: #979797;
    font-family: 'Roboto Slab';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_link,
.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_rem_link {
    color: #FF0000;
    cursor: pointer;
    font-family: 'Lato';
    font-size: 14px;
    font-weight: 800;
    line-height: 18px;
    margin-top: auto;
    position: relative;
}

.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_link:after,
.userAccountForm .js-form-type-managed-file .up_wrapper .up_text .up_rem_link:after {
    background-image: url('https://actionaid.gr/img/pfp_arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: inline-block;
    height: 12px;
    margin-bottom: -1px;
    margin-left: 15px;
    width: 10px;
}

.userLinkWrapper {
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: right;
}

@media (min-width: 992px) {
    .userLinkWrapper {
        margin-bottom: 0;
    }
}

.userAccountForm .userLink {
    color: #131719;
    font-family: 'Lato';
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24px;
    line-height: 15px;
    position: relative;
    text-decoration: none;
}

.userAccountForm .userLink:after {
    background-color: #131719;
    bottom: 0;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}

.userAccountForm .form-actions {
    margin-top: auto;
}

@media (min-width: 992px) {
    .userAccountForm .form-actions {
        margin-top: 30px;
    }
}

.userAccountForm .form-actions input[id^="edit-submit"] {
    border: none;
    color: white;
    cursor: pointer;
    display: block !important;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 800;
    line-height: 19px;
    padding: 19px 0;
    margin: 0 0 30px;
    width: 100%;
}

.userAccountForm .notice {
    background-image: url('https://actionaid.gr/img/lock.svg');
    background-position: 0 4px;
    background-repeat: no-repeat;
    background-size: 10px 12px;
    font-family: 'Lato';
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin-top: auto;
    padding: 0 0 0 20px;
}

@media (min-width: 992px) {
    .userAccountForm .notice {
        font-size: 14px;
        line-height: 20px;
    }
}

.account-modal .ui-dialog-buttonpane {
    display: none;
}

.userAccountForm[id^="user-form"] .fieldset-legend {
	color: #131719;
	display: block;
	font-family: 'Lato';
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 24px;
	margin-bottom: 22px;
}

@media (min-width: 992px) {
	.userAccountForm[id^="user-form"] .fieldset-legend {
		font-size: 30px;
		letter-spacing: -0.8px;
		line-height: 36px;
		margin-bottom: 44px;
	}
}
