:root {
    --site-orange: #e87a00;
    --site-orange-hover: #b96505;
    --site-blue: #376385; 
}

/* ---------------------------------------
        Html Elements 
------------------------------------------ */
a:hover,
button:hover {
    cursor: pointer;
}

button {
    border: 1px solid #ddd; 
    padding: 5px 15px; 
}

form button:hover {
    background-color: var(--site-blue);
    color: #fff;
}

table th {
    text-align: left;
}

/* ---------------------------------------
        Helpers
------------------------------------------ */
.align_center {
    text-align: center; 
}

.align_right {
    text-align: right;
}

.margin_top_bottom_5perc {
    margin: 5% 0;
}

.nesc_form label {
    display: block;
    margin-bottom: 3px;
}

.form_flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.form_flex_field {
    flex-basis: 50%;
    margin-bottom: 30px;
}

.form-field {
    margin-bottom: 30px;
}

input[readonly] {
    background-color: #f5f5f5;
}

input[type="file"] {
    border: 1px solid #b4b4b4;
    outline: none;
    margin-top: 5px;
    border-radius: 20px;
    background-color: #3763856b;
}

input[type="file"]::file-selector-button {
    border: none;
    outline: none;
    background-color: var(--site-blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
}

.display_flex {
    display: flex;
}

.justify_center {
    justify-content: center;
}

.sticky_sidebar {
    position: sticky;
    top: 20px;
}

.sign-in-link:hover {
    cursor: pointer;
}

/* Menu Register link */
.register-menu-link {
    color: #555555;
}

.register-menu-link:hover {
    cursor: pointer;
}

/* Menu Username Link */
.menu_username_link:hover {
    cursor: pointer;
}

.comming_soon {
    opacity: .5;
    pointer-events: none;
}

/* Buttons Padding */

.padded_btn_sm {
    padding: 5px 10px;
}

.padded_btn_med {
    padding: 10px 20px;
}

.padded_btn_large {
    padding: 15px 50px;
    font-size: 1rem;
}

.padded_btn_large,
.padded_btn_med {
    background-color: var(--site-blue);
    color: #fff;
}

.padded_btn_large:hover,
input[type="file"]::file-selector-button:hover,
.padded_btn_med:hover {
    background-color: var(--site-orange-hover);
    color: #fff; 
    cursor: pointer;
}

.delete_btn {
    background-color: unset;
    color: var(--site-orange);
    border: var(--site-orange) solid 1px;
}

.nesc_job_edit_btns .padded_btn_large:hover,
.nesc_job_edit_btns .delete_btn:hover {
    color: #fff;
}

.bold_text {
    font-weight: bold;
}

.border_bottom {
    border-bottom: 1px solid #eee;
}

.text_area_content h1, 
.text_area_content h2, 
.text_area_content h3, 
.text_area_content h4, 
.text_area_content h5, 
.text_area_content h6 {
    margin-bottom: 20px; 
} 

.width_100_pc {
    width: 100%; 
    display: block;
}

.padding_8px_up_down {
    padding: 5px 0;
    display: block;
}

.radio_flex {
    margin-top: 10px; 
}

.radio_flex,
.radio_flex_field {
    display: flex;
    align-items: center;
}

.radio_flex_field {
    gap: 5px;

}

.radio_flex input[type="radio"] {
    transform: translateY(-2px);
}

/* ---------------------------------------
        Fixes
--------------------------------------- */
/* Site Origin Widget */
.textwidget ul {
    margin-bottom: 20px;
}

.textwidget ul li {
    margin-left: 50px;
}

/* ---------------------------------------
        Page Header
---------------------------------------- */
/* Author Header */
.page-header-user-header {
    align-items: center;
    gap: 20px;
}

.page-header-user-header,
.page-header-user-header h1,
.page-header-user-header h2,
.page-header-user-header h3,
.page-header-user-header h4 {
    color: #fff;
}

.page-header-user-image {
    max-width: 90px;
    min-width: 90px;
    max-height: 90px;
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-header-banner {
    position: relative;
}

.page-header-banner::after {
    content : '';
    position: absolute;
    background-color: #00000025;
    top: 0; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width: 100%;
    height: 100%;
    display: block;
}

.page-header-banner-content {
    z-index: 2;
}

/* ---------------------------------------
        Global Pagination
---------------------------------------- */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #0073aa;
}

.pagination a:hover {
    background-color: #0073aa;
    color: white;
}

.pagination .current {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #0073aa;
    color: white;
    border: 1px solid #0073aa;
}

/* ---------------------------------------
        Single Job Sidebar
---------------------------------------- */
.main-sidebar.single-job-sidebar {
    min-width: 26% ;
    max-width: 300px;   
    margin-bottom: 5%; 
}

.nesc_sideBar_post_info {
    position: sticky;
    top: 20px;
}

.nesc_post_sidebar_company_logo_and_name {
    background-color: #eee;
    padding: 10px 0; 
    margin-bottom: 20px;
}

.nesc_post_sidebar_company_logo {
    text-align: center;
}
.nesc_post_sidebar_company_logo img {
    max-height: 160px;
}

.nesc_post_sidebar_company_name {
    text-align: center;
    margin-bottom: 20px; 
}

.nesc_single_job_container .nesc_job_edit_btns {
    margin: 3% 0 5% 0;
    align-items: center;
}

.nesc_single_job_container .nesc_job_edit_btns a:first-of-type {
    margin-left: 0;
}

.nesc_single_job_container .page-content-part ul li {
    margin-left: 50px; 
}

/* ---------------------------------------
        Single Job 
------------------------------------------ */
.single-job-posted-dates {
    margin-top: 5px;
    margin-bottom: 30px;
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 10px;
}

.single-job-posted-dates p {
    margin-bottom: 3px;
    font-size: .8rem;
    color: #666;
}

.job_apply_now_btn_container {
    margin: 5% 0 8% 0;
}

.job_application_form [name=submit_job_application] {
    min-width: 100%;
    display: block;
    text-align: center;
    /* background-color: var(--site-orange); */
    margin: 10px 0;
}

/* ---------------------------------------
        Edit Job Page
------------------------------------------ */
.nesc-edit-job-page {
    margin-top: 5%; 
}

/* ---------------------------------------
    NESC Registration, Signin Add Item forms
------------------------------------------ */

.nesc_registration_form_container,
.custom_login_form_container,
.job_application_form_container,
.nesc_add_item_form {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0, 0, 0, 60%);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.job_application_form_container {
    /* position: absolute; */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.nesc_registration_form_container.active,
.custom_login_form_container.active,
.job_application_form_container.active,
.nesc_add_item_form.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nesc_registration_form,
.custom_login_form,
.job_application_form,
.nesc_education_add_form_content_container {
    border: 1px solid #c2c2c2;
    max-width: 28%;
    min-width: 25%;
    min-height: 25%;
    padding: 20px;
    font-size: .8rem;
    background-color: #fff;
    max-height: 90%; 
    overflow: auto;
}

.job_application_form {
    max-width: 45%;
    min-width: 30%;
}

.nesc_registration_form form input,
.custom_login_form form input,
.nesc_registration_form form select {
    margin-bottom: 20px;
}

.nesc_registration_form form input[type="submit"],
.custom_login_form form input[type="submit"],
.change_password_form_content form input[type="submit"],
.nesc_add_item_form form input[type="submit"],
.nesc_add_item_form .form input[type="submit"] {
    width: 100%;
    text-align: center;
    background-color: var(--site-orange);
}

.nesc_registration_form_header,
.nesc_registration_user_type_names,
.nesc_sign_form_header,
.change_password_form_header {
    justify-content: space-between;
    margin-bottom: 10px;
}

.nesc_registration_form_header,
.nesc_sign_form_header,
.change_password_form_header {
    margin-bottom: 20px;
}

.nesc_registration_form_header_close_form,
.nesc_signin_form_header_close_form,
.nesc_job_application_form_header_close_form {
    font-size: 1.1rem;
}

.nesc_registration_form_header_close_form:hover,
.nesc_signin_form_header_close_form:hover,
.nesc_job_application_form_header_close_form:hover, 
.edit_item_open_btn:hover {
    cursor: pointer;
    color: var(--site-orange);
}

.nesc_registration_user_type_names div {
    border: 1px solid #e4e4e4;
    flex-basis: 50%;
    text-align: center;
    padding: 5px;
    background-color: #eee;
    color: #b2b2b2;
}

.nesc_registration_user_type_names div:hover {
    border-color: var(--site-orange);
    cursor: pointer;
    color: #666;
}

.nesc_registration_user_type_names [data="candidate"].active,
.nesc_registration_user_type_names [data="employer"].active {
    color: var(--site-orange);
    background-color: #fff;
    border-color: var(--site-orange);
}

.nesc_registration_user_type_names [data="candidate"].inactive,
.nesc_registration_user_type_names [data="employer"].inactive {
    background-color: #eee;
    color: #adadad;
}

.nesc_registration_user_type_or {
    text-align: center;
    position: relative;
    margin-bottom: 10px;
}

.nesc_registration_user_type_or span {
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
    z-index: 2;
    position: relative;
}

.nesc_registration_user_type_or::after {
    content: '';
    width: 100%; 
    height: 1px; 
    background-color: #ddd;
    display: block;
    position: absolute; 
    transform: translateY(-11px);
    z-index: 1;
}

.register_org_or_fullname,
.registration_form_tel,
.registration_form_industry,
.coci,
.reg_form_crib_number {
    display: none;
}

.nesc_registration_form_confirm_terms {
    align-items: start;
}

.nesc_registration_form_confirm_terms input {
    transform: translateY(4px);
    margin-right: 4px;
}

/* Sign in form menu */
.custom_login_form #menu-main-menu,
.custom_login_form li, 
.custom_login_form a {
    list-style-type: none;
}

.date_to_field,
.date_from_field {
    width: max-content;
}

.experience_date_present_input {
    transform: translateY(3px);
    margin-left: 5px;
}


/* ---------------------------------------------
    NESC Employer and Candidate Sidebar and Tabs
----------------------------------------------- */
.nesc_user_sidebar .user_sidebar_menu li {
    list-style-type: none;
}
.nesc_user_sidebar .user_sidebar_menu li a {
    border-top: 1px solid #dedede;
    padding: 10px 0;
    list-style-type: none;
    display: block;
    font-weight: 500;
    position: relative; 
}

.user_sidebar_menu a:hover {
    color: var(--site-orange);
}

.user_sidebar_menu a.active {
    color: var(--site-orange);
    border-bottom: 2px solid var(--site-orange);
}

.user_sidebar_menu a.active::after {
    content: '\f054';
    font-family: fontawesome;
    position: absolute; 
    right: 5px; 
    color: #c4c4c4; 
}

/* Tabs */
.employer_dashboard_tabs {
    margin-bottom: 5%;
}

.employer_dashboard_tab {
    display: none; 
}

.employer_dashboard_tab.active {
    display: block; 
}

.employer_dashboard_tab_form_title {
    margin-bottom: 20px;
}

.change_password_form_content {
    max-width: 70%;
}

/* Tabs Content */
.nesc_user_profile_image_container {
    align-items: center;
    gap: 20px;
}
.nesc_user_profile_image_container p {
    margin-bottom: 10px;
}
.nesc_user_profile_image {
    min-width: max-content;
}

#upload_candidate_cover_image_button:hover {
    background-color: #fff;
}

#nesc_cover_images .nesc_education_add_form_content_container {
    max-height: 90%;
}

#nesc_cover_images .nesc_education_add_form_content_container {
    overflow-y: auto;
}

#nesc_cover_images .nesc_cover_images_container img {
    max-height: 164px;
    overflow: hidden;
    min-width: 100%;
    object-fit: cover;
    padding: 3px; 
}

#nesc_cover_images .nesc_cover_images_container img:hover {
    border: 1px solid #5b5b5b;
    cursor: pointer;
    /* background-color: #5b5b5b ; */
}

/* ---------------------------------------
        All Jobs Display
------------------------------------------ */
.nesc_jobs_card_container {
    display: flex; 
    row-gap: 40px; 
    flex-direction: column; 
    margin-bottom: 40px;
}

.employer_profile_jobs_card_container {
    margin-top: 50px; 
}

.nesc_jobs_card {
    border: 1px solid #ddd;
    /* border-radius: 10px; */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex; 
    column-gap: 10px;
}

.nesc_jobs_card-image {
    min-height: 100px; 
    display: flex; 
    align-items: start; 
    justify-content: center;
    min-width: 130px;
    padding: 20px;
    max-width: 150px;
    max-height: 150px; 

}

.nesc_jobs_card-image img {
    width: auto;
    height: auto;
    max-height: 150px;
    max-width: 100%;
}

.nesc_jobs_card-content {
    padding: 20px;
    width: -webkit-fill-available;
}

.nesc_jobs_card-content i {
    font-size: .6rem; 
}

.nesc_jobs_card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.nesc_jobs_card-excerpt, 
.nesc_jobs_card_container_dates p {
    color: #666;
}

.nesc_view_job_and_edit_btns_container,
.nesc_jobs_card_container_dates {
    display: flex; 
    justify-content: space-between;
}

.nesc_jobs_card_container_dates p {
    font-size: .8rem;
}

.nesc_job_edit_btns a {
    margin-left: 15px; 
}

.job_date_expired {
    background-color: #f5f5f5;
}

.job_date_expired_date {
    color: red !important; 
}

/* .nesc_job_edit_btns a:hover {
    color: var(--site-orange);
} */

/* .nesc_registration_form_confirm_terms label {
    font-size: .7rem;
} */

/* ---------------------------------------
        Job Applications 
------------------------------------------ */
.nesc_job_application_content p {
    margin-bottom: 5px; 
}

.nesc_job_application_content {
    justify-content: space-between;
}

.job_application_edit_btns {
    gap: 10px;
    min-height: -webkit-fill-available;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}

.job_application_edit_btns i {
    font-size: .9rem;
}

.nesc_job_application_content .ja_view_user_btn {
    padding: 5px 0;
    display: block;
    text-decoration: underline #8f8f8f;
}

.nesc_job_application_content .ja_view_user_btn:hover {
    color: var(--site-orange-hover); 
}



/* ---------------------------------------
        Profile Items 
------------------------------------------ */
.nesc_educations_container table {
    width: -webkit-fill-available;
    margin: 2% 0;
    border-bottom: 1px solid #d2d2d2;
}

.nesc_educations_container table tr:nth-child(even) {
    background-color: #f5f5f5;
}

.nesc_educations_container th,
.nesc_educations_container td {
    padding: 12px;
}

.nesc_educations_container .fa-trash-can:hover,
.add_education_btn:hover,
.job_application_edit_btns i:hover,
.job_application_edit_btns a:hover  {
    color: var(--site-orange);
}

.add_education_btn {
    /* text-decoration: underline; */
    margin-bottom: 5%;
    display: block;
}

.nesc_add_item_form .nesc_add_item_form_close {
    font-size: 1.2rem;
}

.nesc_add_item_form .nesc_add_item_form_close:hover {
    color: var(--site-orange);
    cursor: pointer;
}

.nesc_add_item_form form,
.nesc_add_item_form .form {
    padding-top: 10px;
}

.nesc_add_item_form form div,
.nesc_add_item_form .form div {
    margin-bottom: 20px;
}

/* ---------------------------------------
        Display Latest Jobs
------------------------------------------ */
.nesc_latest_jobs_card_container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; 
}

.nesc_latest_jobs_card_content {
    text-align: center;
}

.nesc_latest_jobs_card_image  {
    min-height: 280px;
    /* background-color: #f0f0f0; */
    display: block;
    border-radius: 8px;
    border: 1px solid #eee;
    /* max-height: 170px; */
    max-height: 280px;
    overflow: hidden;
}

.nesc_latest_jobs_card_image img {
    /* height: auto;  */
    height: 280px; 
    /* max-width: 100%; */
    width: 100%; 
    display: block;
    object-fit: cover;
}

.nesc_latest_jobs_card_title {
    font-size: 1rem;
    margin: 15px 0 10px; 
}

/* .nesc_latest_jobs_card_title a,
.latest_job-posted-date,
.nesc_latest_jobs_edit_btns a {
    color: #fff;
} */

.latest_job-posted-date {
    font-size: .8rem;
}

.nesc_latest_jobs_edit_btns {
    justify-content: space-between;
}

/* ---------------------------------------
        Job Categories Widget 
------------------------------------------ */
.home-page-job-categories-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 10px;
}

.home-page-job-categories-blocks p {
    margin-bottom: 2px;
}

.home-page-job-categories-list-items p {
    margin-bottom: 8px;
}

.home-page-job-categories-block {
    display: flex;
    align-items: center;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
    padding: 14px 10px;
    background: #fff;
}

.home-page-job-categories-block:hover a {
    color: var(--orange-gb);
}

.home-page-job-categories-block-img {
    margin-right: 25px;
    width: 52px;
}

.home-page-job-categories-block .home-page-job-categories-block-content-title {
    font-weight: bold;
    font-size: 16px;
}

.home-page-job-categories-block-content-description {
    font-size: 12px;
    color: #555;
}

.home-page-job-categories-block-content-description i {
    font-size: 8px;
    margin-left: 5px;
}

/* Jobs list style */
.home-page-job-categories-list .home-page-job-categories-block-img {
    display: none;
}

.home-page-job-categories-list .home-page-job-categories-block-content {
    display: flex;
    column-gap: 8px;
}

/* .home-page-job-categories-list .home-page-job-categories-block-content-description {
    min-width: 18%;  
    text-align: right;
} */


/* ---------------------------------------
        User profile page 
------------------------------------------ */
.candidate_profile_content_container {
    gap: 50px; 
}

.profile_content_left {
    flex-grow: 1;
}

.candidate_profile_user_bio {
    margin-top: 4%;
}

.content_side_icon i {
    font-size: 1rem;
    color: var(--site-blue); 
    border: 2px solid var(--site-orange); 
    border-radius: 50%;
    padding: 8px; 
}

.candidate_profile_education {
    gap: 15px;
    margin-bottom: 20px;
}

.content_side_content_header {
    margin-bottom: 20px; 
    padding-top: 7px;
}

.candidate_profile_education_title {
    font-weight: bold; 
    align-items: center;
}

.candidate_profile_education_title::before {
    content: ''; 
    height: 6px;
    width: 6px;
    border-radius: 50%;
    position: absolute;
    left: 0; 
    transform: translateX(-2px);
}

.profile_education_card {
    position: relative;
    padding-bottom: 12px;
    /* margin-left: 10px; */
}

.profile_education_card p {
    margin-bottom: 0px;
}

.profile_education_card_content {
    position: relative; 
}

.profile_education_card_content::before {
    content: '';
    width: 1px; 
    height: 127%;
    position: absolute;
    left: 0;
    bottom: -12px; 
}

.content_side_content .profile_education_card:last-of-type .profile_education_card_content::before {
    height: 100%;
    bottom: 0px; 

}

.candidate_profile_education_title,
.profile_education_card_content {
    padding-left: 20px; 
}

.candidate_profile_education_title::before,
.profile_education_card_content::before {
    background-color:#d1d1d1;
}

.profile_content_right_card {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 20%);
    min-width: 22rem;
    padding: 20px;
    transform: translateY(-25%);
    background-color: #fff;
    z-index: 2;
    /* position: sticky;
    top: 100px; */
}

.profile_content_right_card span {
    font-weight: 500;
}

.profile_content_right_card i {
    background-color: #eee;
    padding: 10px;
    color: #444;
    /* border-radius: 50%; */
    margin-right: 10px; 
}

.fa-linkedin-in {
    color: #0177b4 !important;
}
.fa-envelope {
    color: #e84f4b !important;
}

.drivers_license_type {
    display: none;
}

/* ---------------------------------------
        Candidate Dashboard
------------------------------------------ */
.user_languages_field label {
    margin-right: 20px; 
}

.user_languages_field input[name="other_languages"] {
    display: none;
    margin-top: 5px;
}

/* ---------------------------------------
                Mobile
---------------------------------------- */

@media screen and ( max-width: 450px) {
    .nesc_jobs_card {
        display: block;
    }

    .nesc_jobs_card-image {
        min-width: 100%;
        min-height: 80px;
        max-height: 100px;
        padding-bottom: 0;
        display: flex;
        align-items: center;
    }

    .nesc_jobs_card-image img {
        width: auto; 
        max-width: 100%;
        max-height: 60px;
    }

    .nesc_jobs_card-content.nesc_job_application_content {
        display: block;
    }

    .nesc_jobs_card-title {
        font-size: 1rem;
    }

    .job_application_edit_btns {
        flex-direction: row;
        margin: 15px 0;
        align-items: center;
    }

    .nesc-edit-job-page .nesc_form .form_flex,
    .nesc_post_a_job_container .nesc_form .form_flex {
        flex-direction: column;
        gap: 10px;
    }
    .nesc-edit-job-page .nesc_form .form_flex .form_flex_field,
    .nesc_post_a_job_container .nesc_form .form_flex .form_flex_field {
        width: 100%;
        margin-bottom: 20px;
    }

    .nesc_educations_container table thead th:nth-child(2),
    .nesc_educations_container table thead th:nth-child(3),
    .nesc_educations_container table tbody td:nth-child(2),
    .nesc_educations_container table tbody td:nth-child(3),
    .nesc_educations_container table tbody td:nth-child(4),

    .nesc_qualifications_container table thead th:nth-child(4)  {
        display: none;
    }

    .nesc_educations_container table thead th:nth-child(1) {
        min-width: 35%;
        width: unset !important;
    }

    .add_education_btn {
        margin-bottom: 40px;
        margin-top: 20px;
    }

    .nesc_educations_container th, .nesc_educations_container td {
        padding: 5px;
    }

    .main-sidebar.single-job-sidebar {
        max-width: unset;
        min-width: -webkit-fill-available;
    }

    .candidate_profile_content_container {
        flex-direction: column-reverse;
        transform: translateY(1%);
        gap: 20px;
    }

    .profile_content_right {
        margin-bottom: -75px;
    }

    .employer_profile_content_right {
        margin-bottom: -45px;
    }

    .candidate_profile_user_bio {
        margin-bottom: 35px;
    }

    .candidate_profile_education:last-of-type {
        margin-bottom: 50px;
    }
}

