/*****************************
	Listing
*****************************/
/* Job List */
.job-list {
    padding: 24px 20px;
    background: $white;
    transition: all 0.3s ease-in-out;
    display: flex;
    //border-bottom: 1px solid $border-color;
    align-items: center;
    height: 100%;
    border-radius: 8px;

    &:hover {
        position: relative;
        z-index: 9;
        box-shadow: 0 8px 32px rgb(47 60 74 / 1%), 0 8px 16px rgb(47 60 74 / 2%);

        a.job-list-favourite {
            color: $primary;
        }
    }
}

.job-list {
    .job-list-logo {
        margin-right: 20px;
        flex: 0 0 120px;
        border: 1px solid #f7f7f7;
        height: 100px;
        width: 120px;
        text-align: center;
        padding: 10px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-self: center;

        .job-list-logo-img {
            max-width: 100%;
            max-height: 100%;
        }

    }
}


.job-list-title {
    margin-bottom: 5px;

    a {
        font-size: 14px;
        line-height: 20px;
    }
}

.job-list-title-xs {


    a {
        font-size: 12px;
        line-height: 16px;
    }
}

.job-list {
    .job-list-details {
        overflow: hidden;

        h5 {
            font-size: 16px;
            line-height: 20px;

        }

        .title-xs {
            font-size: 14px;
            line-height: 20px;
        }

    }
}

.job-list-details {
    ul {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0px;

        li {
            margin: 5px 10px 5px 0px;
            font-size: 13px;
        }

        li.freelance {
            a {
                color: $green;
            }
        }

        li.temporary {
            a {
                color: $red;
            }
        }

        li.full-time {
            a {
                color: $blue;
            }
        }

        li.part-time {
            a {
                color: $orange;
            }
        }
    }
}

.job-list {
    .job-list-favourite-time {
        margin-left: auto;
        text-align: center;
        font-size: 13px;
        flex: 0 0 90px;
    }
}


.job-list-favourite-time {

    border-top: solid 1px #ececec;

    .job-list-favourite {
        display: inline-block;
        position: relative;
        height: 40px;
        width: 40px;
        line-height: 40px;
        //border: 1px solid #f5f5f5;
        border-radius: 100%;
        text-align: center;
        transition: all 0.3s ease-in-out;
        margin-bottom: 20px;
        font-size: 16px;
        color: $gray-3;

        &:hover {
            background: $white;
            color: $red;
        }
    }
}

.job-list-favourite-time {
    span {
        display: block;
        margin: 0 auto;
    }
}

/* job-list hovering */
.job-list.hovering {
    box-shadow: 0px 0px 24px 4px rgba($gray-9, 0.04);
    position: relative;
    z-index: 9;

    .job-list-favourite-time {
        .job-list-favourite {
            background: $white;
            color: $red;
            box-shadow: -1px 4px 10px 1px rgba($blue, 0.1);
        }
    }
}

/* job Grid */
.job-list.job-grid {
    padding-top: 25px;
    padding-bottom: 0px;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease-in-out;
    height: auto;

    @include card-shadow();
}


.job-hover-noshaddow {

    @include transition('all 50ms ease-in');

    &:hover {
        cursor: pointer !important;

        box-shadow: none;
    }
}

.job-link-trigger {

    //@include transition('all 50ms ease-in');


    &:hover {
        cursor: pointer !important;

        transform: translateY(-5px);
    }
}

.job-list.job-grid {
    .job-list-logo {
        text-align: center;
        margin: 0 auto 20px;
        border: 0;
        width: 200px;
        height: 60px;
        flex: 0 0 120px;

        .job-list-logo-img {
            max-width: 100%;
            max-height: 50px;
        }

    }
}

.job-list.job-grid {
    .job-list-details {
        text-align: center;
        min-height: 100px;
    }
}

.job-list.job-grid {
    ul {
        justify-content: center;
    }
}

.job-list.job-grid {
    .job-list-details {
        ul {
            li {
                margin-bottom: 10px;
            }
        }
    }
}


.job-list.job-grid {
    .job-list-favourite-time {
        display: flex;
        //border-top: 1px solid $border-color;
        margin-top: 10px;
        padding: 10px 0;

        a {
            margin-bottom: 0;
            margin-left: auto;
        }

        span {
            display: inline-block;
            margin: 0;
            align-self: center;
        }
    }
}

.job-shortby {
    .form-inline {
        label {
            font-weight: 500;
            color: $gray-8;
        }
    }
}

.job-shortby {
    .select2-container--default {
        .select2-selection--single {
            border-width: 2px;
        }
    }
}

/* Employer */
// Employer List
.employers-list {
    background: $white;
    transition: all 0.3s ease-in-out;
    display: flex;
    border-bottom: 1px solid $border-color;
    align-items: center;
    transition: all 0.3s ease-in-out;

}

.employers-list {

    .employers-list-logo {
        display: flex;
        align-items: center;

        margin-right: 25px;

        width: 120px;
        height: 80px;
        padding: 10px;
        text-align: center;



        @include media-breakpoint-down(md) {
            width: 100%;
            height: auto;
        }

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }
}


.employers-list-details {
    align-self: center;

    ul {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0px;

        li {
            margin: 5px 10px 5px 0px;
            font-size: 13px;

            &:last-child {
                margin-right: 0;
            }
        }
    }
}

.employers-list {
    .employers-list-position {
        margin-left: auto;
        align-self: center;
    }
}

.employers-list-position {
    .btn-dark {
        &:hover {
            background: $primary;
            border-color: $primary;
        }
    }
}

/* Employer Grid */
.employers-grid {
    padding: 15px;
    display: block;
    border: 1px solid $border-color;
    background-color: #fff;
    border-radius: .375rem;

    .btn-link {
        color: $success;
    }
}

.employers-grid:hover {
    box-shadow: 0px 0px 34px 4px rgba($gray-5, 0.04);
    position: relative;
    z-index: 99;
}

.bg-light {
    .employers-grid {
        background: $white;
    }
}

.employers-grid {
    .employers-list-position {
        display: flex;
        border-top: 0;
        padding-top: 15px;
        margin: 0;
        text-align: center;

    }
}

.employers-grid {

    .employers-list-logo {
        display: flex;
        align-items: center;
        width: 120px;
        height: 80px;
        flex: 0 0 80px;
        justify-content: center;
        margin: auto;

        @include media-breakpoint-down(lg) {
            max-width: 90px;
            width: 100%;
        }

        @include media-breakpoint-down(md) {
            max-width: 120px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }


        .employers-list-logo-img {
            max-width: 100%;
            max-height: 40px;
        }
    }
}

.employers-grid {
    .employers-list-details {
        text-align: center;

        ul {
            justify-content: center;

            li {
                margin-bottom: 10px;
            }
        }
    }
}

/* user-dashboard-info-box */
.user-dashboard-info-box {
    .candidates-list {
        .thumb {
            width: 80px;
            overflow: hidden;
            border-radius: 50%;
            margin-right: 20px;
        }
    }
}

.user-dashboard-info-box {
    .title {
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        padding: 30px 0;
    }
}

.user-dashboard-info-box {
    .candidates-list {
        td {
            vertical-align: middle;
        }
    }
}

.user-dashboard-info-box {
    td {
        li {
            margin: 0 4px;
        }
    }
}


.user-dashboard-info-box {
    .table {
        thead {
            th {
                border-bottom: none;
            }
        }
    }
}

.table.manage-candidates-top {
    th {
        border: 0;
    }
}

.user-dashboard-info-box {
    .candidate-list-favourite-time {
        .candidate-list-favourite {
            margin-bottom: 10px;
        }
    }
}

.table.manage-candidates-top {
    min-width: 650px;
}

.user-dashboard-info-box {
    .candidate-list-details {
        ul {
            color: #969696;
        }
    }
}

/* Candidate List */
.candidate-list-wrap {
    border-bottom: 1px solid $border-color;


    &:last-child {
        border-bottom: none;
    }
}

.candidate-list {
    padding: 30px 20px;
    background: $white;
    display: flex;

    align-items: center;
    transition: all 0.3s ease-in-out;

    &:hover {
        box-shadow: 0 0 34px 4px rgba($gray-9, 0.04);
        position: relative;
        z-index: 99;
        text-decoration: none;

        a.candidate-list-favourite {
            color: $red;
            box-shadow: -1px 4px 10px 1px rgba($blue, 0.1);
        }
    }
}

.candidate-list {
    .candidate-list-image {
        margin-right: 25px;
        flex: 0 0 80px;
        border-radius: 100%;
        border: none;

        img {
            border-radius: 100%;
            margin: 0 auto;
            width: auto;
        }
    }
}

.candidate-list-title {
    margin-bottom: 5px;
}

.candidate-list-details {
    ul {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 0px;

        li {
            margin: 5px 10px 5px 0px;
            font-size: 13px;
        }
    }
}

.candidate-list {
    .candidate-list-favourite-time {
        margin-left: auto;
        text-align: center;
        font-size: 13px;
        flex: 0 0 90px;

        span {
            display: block;
            margin: 0 auto;
        }

        .candidate-list-favourite {
            display: inline-block;
            position: relative;
            height: 40px;
            width: 40px;
            line-height: 40px;
            border: 1px solid $border-color;
            border-radius: 100%;
            text-align: center;
            transition: all 0.3s ease-in-out;
            margin-bottom: 20px;
            font-size: 16px;
            color: $gray-3;

            &:hover {
                background: $white;
                color: $red;
            }
        }
    }
}

.candidate-banner {
    .candidate-list {
        &:hover {
            position: inherit;
            box-shadow: inherit;
            z-index: inherit;
        }
    }
}


/* Candidate Grid */
.candidate-list.candidate-grid {
    padding-top: 40px;
    padding-bottom: 0px;
    border: 1px solid $border-color;
    border-radius: $border-radius;
    display: block;
}

.candidate-grid {
    .candidate-list-image {
        margin-bottom: 30px;
        text-align: center;
        margin-right: 0px;
    }
}

.candidate-grid {
    .candidate-list-details {
        text-align: center;

        ul {
            justify-content: center;

            li {
                margin-bottom: 10px;
            }
        }
    }
}

.candidate-grid {
    .candidate-list-favourite-time {
        display: flex;
        border-top: 1px solid $border-color;
        margin-top: 10px;
        padding: 10px 0;

        a {
            margin-bottom: 0;
            margin-left: auto;
        }

        span {
            display: inline-block;
            margin: 0;
            align-self: center;
        }
    }
}

.candidate-list.candidate-grid {
    .candidate-list-favourite-time {
        .candidate-list-favourite {
            margin-bottom: 0px;
        }
    }
}


/* Jobber Candidate */

.jobber-candidate-timeline {
    position: relative;

    &:before {
        content: '';
        position: absolute;
        left: 20px;
        width: 2px;
        top: 5px;
        bottom: 5px;
        height: calc(100% - 5px);
        background-color: $border-color;
    }
}

.jobber-candidate-timeline {
    .jobber-timeline-item {
        display: table;
        position: relative;
        margin-bottom: 20px;
        width: 100%;
    }
}

.jobber-candidate-timeline {
    .jobber-timeline-item {
        .jobber-timeline-cricle {
            border-radius: 50%;
            border: 12px solid white;
            z-index: 1;
            top: 5px;
            left: 9px;
            position: absolute;

            &:before {
                content: '';
                position: absolute;
                left: 12px;
                width: 20px;
                top: -1px;
                bottom: 5px;
                height: 2px;
                background-color: $border-color;
            }

            > i {
                font-size: 15px;
                top: -8px;
                left: -7px;
                position: absolute;
                color: $primary;
            }
        }
    }
}

.jobber-candidate-timeline {
    .jobber-timeline-item {
        .jobber-timeline-info {
            display: table-cell;
            vertical-align: top;
            padding: 5px 0 0 70px;

            h6 {
                color: $primary;
                margin: 5px 0 0px;
            }

            span {
                color: $gray-9;
                font-size: 13px;
                font-weight: 500;
            }
        }
    }
}

.jobber-candidate-timeline {
    span.jobber-timeline-time {
        color: $body-color !important;
    }
}

.jobber-candidate-timeline {
    .jobber-timeline-icon {
        border: 2px solid $border-color;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        line-height: 42px;
        text-align: center;
        background: $white;
        position: relative;
        margin-bottom: 20px;

        i {
            font-size: 16px;
            color: $gray-9;
        }
    }
}

.select2-container--default {
    .select2-selection--single {
        .select2-selection__arrow {
            top: 16px;
        }
    }
}


/* secondary menu */
.secondary-menu {
    padding: 10px;
    padding-bottom: 0px;
    border: 2px solid $border-color;
    background: $white;
    border-radius: $border-radius;
    margin-bottom: 48px;
    margin-top: -30px;
}

.secondary-menu {
    ul {
        padding: 0px;
        display: flex;
        margin: 0;

        li {
            list-style: none;
            padding-right: 9px;
            padding-bottom: 10px;

            a,
            .menu-item {
                display: block;
                color: $body-color;
                font-weight: 600;
                text-transform: capitalize;
                padding: 1px 15px;
                border-radius: $border-radius;
                text-decoration: none;

                &:hover {
                    color: $white;
                    background: $primary;
                }
            }

            a.active {
                color: $white;
                background: $primary;
            }
        }
    }
}

/* Job Search Field */

.job-search-field {
    .form-group-search {
        width: 100%;
    }
}

.job-search-field.job-search-field-01 {
    input {
        border: none;
        border-bottom: 1px solid $border-color;
        padding-left: 20px;
        border-radius: 0px;
    }

    .select2-container--default {
        .select2-selection--single {
            border: none;
            border-bottom: 1px solid $border-color;
            padding-left: 20px;
        }
    }
}

.job-search-field.job-search-field-02 {
    input {
        border: 1px solid $border-color;
        padding-left: 20px;
    }

    .select2-container--default {
        .select2-selection--single {
            border: 1px solid $border-color;
            padding-left: 20px;
        }
    }
}

.job-search-field.search-under-banner {
    .job-search-item {
        label {
            color: $white;
        }
    }
}

.job-search-field.job-search-field-top-03 {
    input {
        border: 1px solid $border-color;
        padding-left: 20px;
    }

    .select2-container--default {
        .select2-selection--single {
            border: 1px solid $border-color;
            padding-left: 20px;
        }
    }
}

.advanced-search {
    width: 100%;

    .card {
        border: 0;
        padding: 0;
        background: none;
    }
}

.job-search-field-top-03 {
    .job-search-item {
        background: $gray-1;
        padding: 30px;
    }
}

.select2-container--default {
    .select2-selection--single {
        height: 50px;
        padding: 13px 20px;
    }
}

.select2-container--default {
    .select2-selection--single {
        .select2-selection__rendered {
            font-size: 14px;
        }
    }
}

.job-search-field {
    .select2-container--default {
        .select2-selection--single {
            height: 60px;
            padding: 20px 20px;
        }
    }
}

.job-search-field {
    .select2-container--default {
        .select2-selection--single {
            .select2-selection__arrow {
                top: 22px;
            }
        }
    }
}

.hp-search-more {
    width: 100%;

    a {
        display: inline-block;
        position: relative;
        font-weight: 500;
        font-size: 14px !important;
    }

    span {
        font-size: 14px !important;
    }
}

.job-search-item {
    .hp-search-more {
        i {
            position: absolute;
            right: -25px;
            left: auto;
        }
    }
}


/* Job Filter */
.job-filter-tag {

    @include media-breakpoint-up(sm) {
        text-align: right;
    }


    ul {
        margin-bottom: 0;

        li {
            display: inline-block;
            margin-bottom: 10px;

            a {
                margin-left: 3px;
                background: rgba($primary, 0.1);
                color: $primary;
                font-weight: 500;
                padding: 4px 8px;
                font-size: 13px;
                border-radius: $border-radius;
                text-decoration: none;

                i {
                    padding-left: 4px;
                    font-size: 12px;
                }

                &:hover {
                    background: $primary;
                    color: $white;
                }


            }

            .filter-clear {
                background: rgba($gray-9, 0.1);
                color: $gray-9;

                &:hover {
                    background: $gray-9;
                    color: $white;
                }
            }
        }
    }
}


/* companies-info box */
.companies-info {
    padding-right: 25px;

    .companies-details {
        padding: 20px 10px;

        .companies-logo {
            width: 80px;
            height: 80px;
            padding: 10px;
            background: $white;
        }
    }
}

.employers-box {
    .employers-grid {
        padding: 5px;
        border: none;

        &:hover {
            box-shadow: inherit;
        }
    }
}

.employers-box {
    .employers-list-info {
        text-align: center;
    }
}

.companies-counter {
    flex: 0 0 150px;
    text-align: right;

    .counter {
        display: inline-block;
    }
}

.companies-details {
    .employers-list-option {
        ul {
            li {
                i {
                    font-size: 12px;
                    color: $primary;
                }
            }
        }
    }
}

.companies-counter {
    .counter {
        .counter-content {
            .timer {
                font-size: 20px;
            }
        }
    }
}

.companies-info-2 {
    .companies-counter {
        text-align: left;
    }
}

.companies-btn {
    flex: 0 0 150px;
}

.companies-info-2 {
    .companies-details {
        padding: 0;
    }
}


.jobs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 30px;
    grid-template-areas: ". . .";

    @include media-breakpoint-down(lg) {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: ". . .";
    }
    @include media-breakpoint-down(md) {
        grid-template-columns: 2fr 2fr;
        grid-template-areas: ". .";
    }
    @include media-breakpoint-down(sm) {
        grid-template-columns: 1fr;
        grid-template-areas: ".";
    }
}
