/*
    Optimized by: duongca request
*/

.iwj-jobs-page .iwj-job-items .grid-content {
    padding: 0 15px 0 10px;
    border-left: 5px solid transparent;
}

.iwj-jobs-page .iwj-job-items .grid-content.activate {
    border-color: var(--color-primary-500);
}

.iwj-jobs-page .contents-main {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.iwj-jobs-page .wrapper {
    overflow: visible;
}

.iwj-jobs-page .iwj-content-inner h1 {
    margin: 0;
    padding: 16px 24px;
    font-size: 20px;
    font-weight: 400;
}

.iwj-jobs-page .iwj-jobs-style.style2 .iwj-listing .job-item {
    padding: 20px 0;
    border-bottom: 1px solid #e3e6e9;
    cursor: pointer;
    display: flex;
    gap: 20px;
}

.iwj-jobs-page .iwj-jobs-style.style2 .iwj-listing .job-item.activate {
    border-color: var(--color-primary-500);
}

.iwj-jobs-page .iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item .job-info,
.iwj-jobs-page .iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item:last-child .job-info,
.iwj-jobs-page .job-item .job-info .info-company {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iwj-jobs-page .job-item .job-info .job-price>span {
    display: flex;
    padding: 2px 8px;
    align-items: center;
    border-radius: 16px;
    background: var(--color-blue-50);
    mix-blend-mode: multiply;
    color: var(--color-blue-700);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    width: max-content;
}

.iwj-jobs-page .job-item .job-info .job-price span.price-tooltip i {
    margin-left: 5px;
    color: var(--color-blue-700);
}

.iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item .job-image {
    padding: 0;
    width: 80px;
    max-width: none;
    flex: 0 0 auto;
}

.iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item .job-content-wrap {
    margin-left: 0;
    flex-grow: 1;
}

.iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item .job-info,
.iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item:last-child .job-info {
    padding: 0;
}

.span.job-date {
    margin-left: 20px;
}

.jobs-search-detail.has-content .jobs-search-deail-empty-content.hide-on-mobile {
    display: none;
}

.jobs-search-deail-empty-content .empty-detail-inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    margin-top: 150px;
}

.jobs-search-deail-empty-content .empty-detail-inner .job-detail-empty-box {
    margin: 0 1rem;
    max-width: 390px;
    text-align: center;
}

.jobs-search-deail-empty-content .empty-detail-inner .job-detail-empty-box strong {
    color: var(--color-darkgrey-800);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.jobs-search-deail-empty-content .empty-detail-inner .job-detail-empty-box p {
    padding-top: 4px;
    color: var(--color-grey-600);
    font-size: 14px;
    line-height: 20px;
}

.jobs-search-deail-empty-content .empty-detail-inner .job-detail-empty-spot {
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
}

.jobs-search-detail.has-content .jobs-search-detail-content {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100vh;
}

.w-paging {
    padding: 0 15px;
    margin-top: 15px;
}

.job-alert-action {
    padding: 0 15px 10px;
    margin-bottom: 20px;
    position: sticky;
    bottom: 0;
    background: var(--color-white);
}

.advance-action {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 15px;
}

.advance-action .action {
    display: flex;
    gap: 15px;
    padding: 24px 32px;
    border-radius: 5px;
    background: var(--color-grey-50);
}

.advance-action .action .icon {
    display: flex;
}

.advance-action .action .content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    justify-content: space-between;
    flex-grow: 1;
}

.advance-action .action .content span.s-icon {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.iwj-jobs-page .iwjob-ajax-pagination.pagination-main,
.iwj-jobs-page .iwjob-ajax-map-pagination.pagination-main {
    float: none;
}

.iwj-jobs-page .page-nav.pagination-job {
    margin: 0 auto;
}

.iwj-jobs-page .page-nav .page-numbers {
    background: #fff;
    border: 1px solid var(--color-primary-500);
    border-radius: 3px;
    width: 45px;
    height: 45px;
    padding: 3px;
}

.iwj-jobs-page .page-nav .page-numbers.disabled {
    border-color: #a2aab6;
}

.iwj-jobs-page .page-nav .page-numbers span {
    color: var(--color-primary-500);
}

.iwj-jobs-page .page-nav .page-numbers.label-text,
.iwj-jobs-page .page-nav .page-numbers.label-text:hover {
    background: transparent;
    border-color: #fff;
    color: var(--color-primary-500);
    width: auto !important;
    padding: 3px 20px;
    font-size: 16px;
    font-weight: 400;
}

.iwj-jobs-page .page-nav .page-numbers:hover {
    background: var(--color-primary-500);
}

.iwj-jobs-page .page-nav .page-numbers:hover span {
    color: #fff;
}

.iwj-jobs-page .page-nav .page-numbers.disabled span {
    color: #a2aab6 !important;
}

.iwj-jobs-page .page-nav .page-numbers i {
    font-size: 25px;
}

.iwj-jobs-page .job-item .job-desc {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.iwj-jobs-page .job-item .job-info .company {
    margin: 5px 0 0;
}

.iwj-jobs-page .job-item .job-info .company a {
    left: 0;
    color: var(--color-darkgrey-700);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.iwj-jobs-page .job-item .job-info .address .job-date,
.iwj-jobs-page .job-item .job-info .address .location {
    display: flex;
    gap: 2px;
}

.iwj-jobs-page .job-item .actions {
    height: 45px;
    line-height: 45px;
}

.iwj-jobs-page .job-item .actions a i {
    font-size: 18px;
}

.iwj-jobs-page .job-item .actions a:hover span {
    text-decoration: underline;
}

.iwj-jobs-page .job-item .actions a:hover i,
.iwj-jobs-page .job-item .actions a.saved i,
.job-detail-page-heading .info-actions .action-item a.saved i {
    font-weight: 900;
}

.tax-custom-text {
    display: flex;
    flex-direction: column;
    margin-top: 84px;
    margin-bottom: 50px;
}

.tax-custom-text h2 {
    font-size: 20px;
    font-weight: 600;
}

.tax-custom-text p {
    color: var(--color-darkgrey-700);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.no-job-found {
    padding: 80px 15px;
    margin-bottom: 150px;
}

.no-job-found .alert-box-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.no-job-found .alert-box-inner .alert-box-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.no-job-found .alert-box-inner .alert-box-content h3 {
    margin: 0;
    color: var(--color-grey-900);
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.no-job-found .alert-box-inner .alert-box-content p {
    color: var(--color-grey-600);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* Footer */
footer.iw-footer-jobs {
    padding: 40px 15px;
}

footer.iw-footer-jobs .footer-title,
.tax-custom-text h4 {
    color: var(--color-darkgrey-800);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin: 0 0 24px;
}

.footer-menu-point {
    padding: 1rem;
    border-top: 1px solid #e3e6e9;
}

.footer-menu-point ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-menu-point ul li {
    display: inline-block;
}

.footer-menu-point ul li:after {
    content: "·";
    display: inline;
    padding: 0 5px;
}

.footer-menu-point ul li:last-of-type:after {
    content: "";
    padding: 0;
}

/* Toggle */
.toggle-of {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-top: 5px;
}

.toggle-of-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #504C4C;
    transition: .4s;
}

.toggle-of-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 1px;
    bottom: 0;
    background-color: #fff;
    transition: .4s;
}

.toggle-of-slider.round {
    border-radius: 20px;
}

.toggle-of-slider.round:before {
    border-radius: 50%;
}

/* Custombox z-index */
.custombox-open.custombox-overlay {
    z-index: 9999991;
}

.custombox-content.custombox-open {
    z-index: 9999992;
}

/* AJAX overlay */
.jobs-search-content .ajax-overlay {
    position: sticky;
    z-index: 1;
    background: rgba(255, 255, 255, .8);
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
}

/* Embed */
.jobs-search-content.iembed {
    background: #fff;
    border-top: hidden;
    flex-direction: column;
}

.jobs-search-content.iembed .jobs-search-container .jobs-search-listing {
    border-right: none;
    width: 100%;
}

.iembed .embed-widget-powered {
    display: flex;
    justify-content: flex-end;
    padding-right: 15px;
}

.iembed .widget-powered-inner {
    width: 150px;
}

.iembed .widget-powered-inner img {
    width: 100%;
}

.iembed .widget-powered-inner p:first-of-type {
    margin: 0 0 0 10px;
}

.iembed .embed-no-job-msg {
    padding: 50px 35px 100px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.iembed .text_error_g {
    font-weight: 700;
    margin: 50px 0 15px;
}

.iembed .text_label_error {
    margin-bottom: 20px;
}

.jobs-search-detail-inner {
    bottom: 0;
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
}


/* ---------- <=1024px ---------- */
@media (max-width: 1024px) {
    .jobs-search-detail .key-info .key-info-list {
        flex-direction: column;
        gap: 60px;
    }

    .jobs-search-detail .key-info .key-info-item {
        width: 100%;
    }
}

/* ---------- <=720px ---------- */
@media (max-width: 720px) {
 
    .iwj-jobs-page .iwj-content-inner h1 {
        padding: 16px 15px;
    }

    .iwj-jobs-page .iwj-job-items .grid-content {
        padding: 0 15px;
    }

    .iwj-jobs-page .iwj-jobs-style.style2 .iwj-listing .job-item {
        padding: 20px 0;
    }

    /* job-desc on small screens shows more lines (original mobile had clamp:3) */
    .iwj-jobs-page .job-item .job-desc {
        -webkit-line-clamp: 3;
        max-height: 4.05em;
    }

  
}

/* ---------- <=480px ---------- */
@media (max-width: 480px) {
    .page-nav .page-numbers {
        height: 45px !important;
        line-height: 38px !important;
        width: 45px !important;
    }

    .iwj-jobs-style.style2 .iwj-jobs.iwj-listing .job-item .job-image {
        width: 60px;
    }

}