﻿/* Job Ad Swiper */
/*------------------------------------------------------------*/
.jobad--section {
    background: #F0F4F5;
    border-radius: 15px;
    padding: 20px 15px;
}

.jobad--section .jobad-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jobad--section .jobad-title-logo {
    height: 24px;
    margin: 0;
}

.jobad--section .jobad-title h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 0;
}

.jobad--section .swiper {
    margin-top: 10px;
    padding-top: 10px;
}

.jobad--section .swiper-button-prev,
.jobad--section .swiper-button-next {
    display: none;
    top: calc(50% - 16px);
}

.jobad--section .swiper-button-prev {
    left: calc(50% - 214.5px);
}

.jobad--section .swiper-button-next {
    right: calc(50% - 214.5px);
}

    .jobad--section .swiper-button-prev:after,
    .jobad--section .swiper-button-next:after {
        color: var(--primary);
        font-size: 32px;
        font-weight: bold;
    }

.jobad--section .swiper-pagination {
    position: inherit;
    margin-top: 15px;
}

    .jobad--section .swiper-pagination .swiper-pagination-bullet {
        background: var(--primary);
    }

.jobad--section .swiper-slide .job {
    background-color: var(--bg);
    border-radius: 8px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .25);
    width: 100% !important;
}

.jobad--section .swiper-slide .job__logo img {
    box-shadow: none;
    margin: 0;
}

.jobad--section .swiper-slide .job__title {
    line-height: 1.4;
}

.jobad--section .swiper-slide .job-info {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.jobad--section .swiper-slide .job-info .job-loc-icon {
    display: inline-block;
    height: 13px;
    width: 13px;
    margin-right: 5px;
    text-align: center;
}

.jobad--section .swiper-slide .job-info .job-loc {
    margin-bottom: 5px;
}

    .jobad--section .swiper-slide .job-info .job-loc i {
        color: #FFB30B;
    }

.jobad--section .swiper-slide .job-info .job-salary i {
    color: #337D7D;
}

.jobad--section .swiper-slide .job-perk {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
}

.jobad--section .swiper-slide .job-perk div {
    background-color: var(--jc-perk-bg);
    border-radius: 25px;
    color: var(--primary);
    font-size: 13px;
    line-height: 1.2;
    padding: 4px 10px;
    height: 22px;
    width: fit-content;
}

.jobad--section .swiper-slide .job-perk .employ-term {
    color: var(--jc-employ-tag);
    background-color: var(--jc-employ-bg);
}

.jobad--section .job__tag-type {
    background-color: #E8552A;
    border-radius: 0 0 8px 8px;
    color: var(--text-white);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    position: absolute;
    padding: 10px;
    top: 0;
    right: 15px;
}

.jobad--section .job__tag-type.tag-urgent-employ {
    background-color: #50B5EE;
}

.jobad--section .job__tag-type.tag-high-salary {
    background-color: #008CFF;
}

.jobad--section .job__tag-type.tag-breakingnews {
    background-color: #379321;
}

.jobad--section .job__tag-type.tag-hotjob {
    background-color: #FF963A;
}

.jobad--section .job__tag-type.tag-best-benefit {
    background-color: #53C396;
}

.jobad--section .job__tag-type.tag-ct-bestjob {
    background-color: #0B5563;
}

.jobad--section .job__tag-type.tag-editor-choice {
    background-color: #5DCF41;
}

.jobad--section .jobad--btn-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.jobad--section.jobad--color-bg {
    background: var(--jobad-slider-bg);
}

.jobad--section.jobad--color-bg .jobad-title h4 {
    color: var(--jobad-slider-title);
}

.jobad--section.jobad--color-bg .swiper-button-prev:after,
.jobad--section.jobad--color-bg .swiper-button-next:after {
    text-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
    color: var(--text-white);
}

.jobad--section.jobad--color-bg .swiper-pagination .swiper-pagination-bullet {
    background: var(--text-white);
}

.jobad--section.jobad--color-bg a.btn--more-jobs,
.jobad--section.jobad--color-bg a.btn--more-jobs:link,
.jobad--section.jobad--color-bg a.btn--more-jobs:visited {
    background-color: #FFE657 !important;
    color: var(--primary) !important;
    font-size: 15px  !important;
}

.jobad--section.jobad--color-bg a.btn--more-jobs:hover {
    background-color: #fef4b8;
}

.jobad--section.jobad--no-comp .job__title {
    margin-top: 35px !important;
}

.jobad--section.jobad--onload .swiper-slide .job {
    height: 232px;
}

.jobad--section.jobad--no-comp.jobad--onload .swiper-slide .job {
    height: 189px !important;
}

.jobad--section.jobad--onload .jobad-title h4 {
    height: 34px;
    width: 240px;
}

.jobad--section.jobad--onload .jobad-title h4,
.jobad--section.jobad--onload .swiper .job__logo,
.jobad--section.jobad--onload .swiper .job__company,
.jobad--section.jobad--onload .swiper .job__title div,
.jobad--section.jobad--onload .swiper .job-info div,
.jobad--section.jobad--onload .swiper .job-perk {
    background: linear-gradient(to right,#ced3d4, #eef0f1);
    border-radius: 20px;
    opacity: .3;
    animation: ani-skeleton 3s ease-in-out infinite;
}

.jobad--section.jobad--onload .swiper .job__logo {
    border-radius: 8px;
    height: 42px;
    width: 105px;
}

.jobad--section.jobad--onload .swiper .job__company,
.jobad--section.jobad--onload .swiper .job-info div {
    height: 18px;
    width: 40%;
}

.jobad--section.jobad--onload .swiper .job__title div {
    height: 18px;
    width: 100%;
}

.jobad--section.jobad--onload .swiper .job__title div:last-child {
    width: 80%;
    margin-top: 5px;
}

.jobad--section.jobad--onload .swiper .job-info div:last-child {
    width: 30%;
}

.jobad--section.jobad--onload .swiper .job-perk {
    height: 18px;
    width: 120px;
}

.jobad--section.jobad--onload .swiper .job__tag-type {
    background: linear-gradient(to right,#ced3d4, #eef0f1);
    height: 41px;
    width: 99px;
    opacity: .3;
    animation: ani-skeleton 3s ease-in-out infinite;
}

@keyframes ani-skeleton {
    0% {
        opacity: .3;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .3;
    }
}

.jobad--section.jobad--onload .swiper {
    pointer-events: none;
}

.jobad--section.jobad--onload .swiper-button-prev,
.jobad--section.jobad--onload .swiper-button-next {
    top: 50%;
}

.jobad--section.jobad--onload a.btn--more-jobs {
    background: linear-gradient(to right,#ced3d4, #eef0f1);
    height: 30px;
    width: 135px;
    opacity: .3;
    animation: ani-skeleton 3s ease-in-out infinite;
}


@media (min-width: 480px) {
    .article--login > div {
        width: 70%;
    }

    article .action-btns {
        flex-direction: row;
    }

    article .action-btns > button {
        margin-left: 0;
        margin-top: unset;
    }

    article .action-btns > button ~ button {
        margin-left: 15px;
        margin-top: unset;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 840px;
        padding-left: 30px;
        padding-right: 30px;
    }

    article {
        padding: 30px;
        box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05);
    }

    .popup-table-content .popup-content {
        left: -520px;
    }

    .popup-table-content .popup-body {
        width: 518px;
    }

    .resources--section {
        padding-left: unset;
        padding-right: unset;
    }

    /* Job Ad Swiper */
    .jobad--section {
        padding: 20px 0;
    }

    .jobad--section .jobad-title-logo {
        height: 32px;
        margin: 0 !important;
    }

    .jobad--section .jobad-title h4 {
        font-size: 24px;
    }

    .jobad--section .swiper-slide,
    .jobad--section .swiper-slide .job {
        width: 350px !important;
    }

        .jobad--section .swiper-slide:not(.swiper-slide-active) {
            transform: scale(0.9);
        }

    .jobad--section .swiper-button-prev,
    .jobad--section .swiper-button-next {
        display: flex;
    }
}

@media (max-width: 575px) {
    .app-promote {
        padding: 16px;
    }

    .app-promote .body {
        font-size: 18px;
        line-height: 1.6rem;
    }

    .app-promote .btn {
        position: static;
        margin-top: 8px;
        font-size: 12px;
        padding: 0 10px !important;
    }
}

@media (max-width: 767px) {
    .app-promote-mini .body {
        font-size: 18px;
        line-height: 1.6rem;
    }
}

@media (min-width: 768px) {
    .article__info_group {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .article__date {
        flex-direction: row;
    }

    .article__postdate {
        margin-right: 30px;
    }

    .article__header .social-widget {
        margin-top: 0;
        place-content: end;
        width: unset;
    }

    .popup-table-content .popup-body .table-content-primarylist {
        height: calc(100% - 38px);
    }
}

@media (max-width: 1199px) {
    article table[border="0"] img {
        width: 100% !important;
    }

        article table[border="0"] img[height="20"] {
            height: 20px !important;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-article-list .article__title {
        height: auto;
    }

    .article .article__title {
        height: 44px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1024px;
    }

    .left-col {
        padding-right: 30px;
    }

    .article__header h1 {
        font-size: 1.6rem;
    }

    .article__postdate, .article__update {
        font-size: 14px;
    }

    article.mem-only .content {
        max-height: 480px;
    }

    .white-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, #FFFFFF 30%);
    }

    .floating-act-btn--extended,
    .floating-act-btn--extended.on {
        display: none;
    }

    .looking-for-jobs {
        display: none;
    }

    .social-widget--fab {
        bottom: 120px;
    }

    .social-widget--fab-list {
        flex-direction: row;
        padding-bottom: unset;
        padding-right: 36px;
        bottom: 120px;
    }

        .social-widget--fab-list.collapse {
            height: unset;
            width: 0;
            transition: width 0.35s ease;
        }

        .social-widget--fab-list.collapsing {
            height: unset;
            width: 0;
            transition: width 0.35s ease;
        }

        .social-widget--fab-list.collapse.show {
            width: 216px;
        }

    #previewFile .col {
        flex-direction: row;
    }

    #previewFile .job__company {
        font-size: 14px;
    }

    #previewFile .job__title {
        height: 46px;
        max-height: 46px;
        font-size: 16px;
    }

    #previewFile .row-1 {
        flex-wrap: unset;
    }

    #previewFile .vertical-divider {
        display: flex;
    }

    #previewFile .col-recommendJob {
        padding-bottom: 0;
    }

        #previewFile .col-recommendJob .article {
            margin-bottom: 39px;
        }

    article .table-content {
        display: block;
    }

    .popup-table-content {
        display: none;
    }

        .popup-table-content.on {
            display: flex;
        }

    a.btn.btn--previousarticle {
        left: -220px;
        opacity: 1;
    }

    a.btn.btn--nextarticle {
        right: -220px;
        opacity: 1;
    }

    .resources--section.related-articles {
        display: block;
    }

    .related-articles-swiper {
        display: none;
    }

    .job-card-modal .modal-header .modal-title {
        font-size: 24px;
    }

    .job-card-modal .jb-card-swiper .swiper-btn {
        display: block;
        height: 100%;
        top: 0;
    }

    .job-card-modal .jb-card-swiper {
        padding-right: 50px;
        padding-left: 50px;
    }

    .job-card-modal .jb-tag-swiper {
        margin-left: 0px;
        margin-right: 0px;
    }

    .job-card-modal .jb-card-swiper .swiper-wrapper {
        height: 520px;
    }

    .job-card-modal .jb-card-swiper .swiper-pagination {
        margin-top: 0px;
    }

    .job-card-modal .jb-tag {
        margin-right: 50px;
        margin-left: 50px;
    }

    .job-card-modal .jb-card-sec-case .swiper-wrapper {
        height: 360px;
    }
}


@media (min-width: 1200px) {
    html {
        scroll-padding-top: 4px;
    }

    .container {
        max-width: 1140px;
    }

    .progress-container {
        height: 4px;
        top: 0;
        z-index: 999;
    }

    .progress-bar {
        height: 4px;
    }

    .right-col {
        width: 354px; /* 330 + 12px*2 */
        top: 65px;
    }

    article {
        top: -100px;
        margin-bottom: -100px;
    }

    .article__header {
        padding-top: 2rem;
    }

        .article__header h1 {
            font-size: 2rem;
        }

    .article-tag-list li {
        margin-bottom: 10px;
    }

    .article__tag {
        font-size: 15px;
    }

    .resources--section .adv {
        padding-bottom: 30px;
    }

    .popup-table-content {
        top: 4px;
    }

    .top-snackbar.on {
        top: 4px;
    }

    .swiper--job .swiper--job__button-prev i,
    .swiper--job .swiper--job__button-next i {
        height: 30px;
    }

    .job-card-modal .jb-tag-swiper .swiper-wrapper {
        justify-content: center;
    }
}

/* Custom */
/* ---------------------------------------------------*/
:root {
    --passage-bg: #FFF;
    --passage-text: #333;
    --passage-link: var(--anchor);
    --passage-link-hover: var(--anchor-hover);
    --col-sec-header: var(--primary);
    --col-sec-divider: 1px dashed rgba(51, 51, 51, .3);
    --table-content-bg: #F4FBFF;
    --jc-modal-header: var(--gradient-blue);
    --jc-perk-bg: #e9e0ee;
    --jc-employ-bg: #ffddf8;
    --jc-employ-tag: #b24ee0;
    --jc-tag-title: #FF8000;
    --jobad-slider-bg: linear-gradient(90deg, #4A2366 0%, #9F55D4 100%);
    --jobad-slider-title: #FFE657;
}

.jobad--section.btn,
.jobad--section.a.btn:link,
.jobad--section.a.btn:visited {
    width: auto;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    background-color: var(--btn-primary);
    color: var(--btn-primary-text);
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    border: 0;
    transition: all .3s ease-in-out !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn--round, a.btn--round:link {
    border-radius: 48px;
}

.btn--small, a.btn--small:link {
    font-size: 13px;
    padding: 6px 12px;
}

h4.job__title.line-clamp-2 {
    height: 44px !important;
    max-height: 44px !important;
}

.jobad--section .swiper-slide .job {
    margin: 0 !important;
}

.jobad--section a.btn--more-jobs,
.jobad--section a.btn--more-jobs:link,
.jobad--section a.btn--more-jobs:visited {
    font-weight: bold !important;
    background-color: #502272 !important;
    color: #FFF !important;
    font-size: 15px !important;
}