.card-grid-1 {
    position: relative;
    border-radius: 10px;
    border: 0.88px solid $color-border-2;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    background: $background-5;
    text-align: center;
    padding: 30px;
}

.card-style-1 {
    border-radius: 16px;
    background-color: $background-white;
    padding: 22px 19px;
    margin-bottom: 30px;
    border: 1px solid $color-border-2;
    display: flex;
    width: 100%;

    .card-image {
        min-width: 55px;
        width: 10%;
        text-align: center;
        padding-right: 20px;
        line-height: 40px;

        img {
            vertical-align: middle;
            display: inline-block;
        }
    }

    .card-info {
        width: 100%;

        .card-title {
            display: flex;

            .status {
                margin-left: 15px;

                &.up {
                    background: url(../images/dashboard/up.svg) no-repeat left center;
                    display: inline-block;
                    padding: 0px 0px 0px 30px;
                    color: $background-green;
                }

                &.down {
                    display: inline-block;
                    padding: 0px;
                    color: $color-red;
                }
            }
        }
    }
}

.card-style-2 {
    border-radius: 8px;
    background-color: $background-white;
    padding: 21px 25px;
    margin-bottom: 15px;
    border: 1px solid $color-border-3;
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;

    .card-head {
        width: 55%;
        display: flex;

        .card-image {
            max-width: 67px;
            padding-right: 15px;
            width: 100%;

            img {
                display: block;
                border-radius: 8px;
            }
        }

        .card-title {
            width: 100%;
            margin-bottom: 0px !important;

            .job-type {
                font-size: $font-xs;
                line-height: 18px;
                color: $color-text-muted;
                background: url(../images/dashboard/job-type.svg) no-repeat 0px 3px;
                display: inline-block;
                padding: 0px 0px 0px 15px;
                margin-right: 12px;
            }

            .time-post {
                font-size: $font-xs;
                line-height: 18px;
                color: $color-text-muted;
                background: url(../images/dashboard/time.svg) no-repeat 0px 3px;
                display: inline-block;
                padding: 0px 0px 0px 15px;
                margin-right: 12px;
            }

            .location {
                font-size: $font-xs;
                line-height: 18px;
                color: $color-text-muted;
                background: url(../images/dashboard/marker.svg) no-repeat 0px 3px;
                display: inline-block;
                padding: 0px 0px 0px 15px;
                margin-right: 12px;
            }
        }
    }

    .card-tags {
        width: 40%;
    }

    .card-price {
        width: 15%;
        min-width: 100px;
        text-align: right;

        strong {
            color: $color-brand-2;
            font-weight: bold;
            font-size: 16px;
            line-height: 26px;
        }

        span {
            color: $color-text-muted;
            font-size: $font-xs;
            line-height: 12px;
        }
    }
}

.card-style-3 {
    background-color: $background-white;
    padding: 0px 0px 15px 0px;
    margin-bottom: 15px;
    border-bottom: 1px solid $color-border-3;
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;

    .card-image {
        max-width: 58px;
        padding-right: 10px;
        width: 100%;
        position: relative;
        min-width: 58px;

        &.online {
            &::before {
                content: "";
                height: 10px;
                width: 10px;
                border-radius: 50%;
                background-color: $background-green;
                position: absolute;
                bottom: 1px;
                right: 12px;
            }
        }

        img {
            display: block;
            border-radius: 50%;
        }
    }

    .card-title {
        width: 40%;
        margin-bottom: 0px !important;

        h6 {
            line-height: 20px;
            margin-top: 4px;
        }

        .job-position {
            font-size: $font-xs;
            line-height: 18px;
            color: $color-text-muted;
            display: inline-block;
        }
    }

    .card-location {
        width: 45%;

        .location {
            font-size: $font-sm;
            line-height: 22px;
            color: $color-text-muted;
            background: url(../images/dashboard/marker.svg) no-repeat 0px 3px;
            background-size: auto 19px;
            display: inline-block;
            padding: 4px 0px 0px 25px;
            margin-right: 12px;
        }
    }

    .card-rating {
        width: 15%;
        min-width: 100px;
        text-align: right;
    }
}

.card-style-4 {
    border-radius: 16px;
    background-color: $background-white;
    padding: 19px 15px;
    margin-bottom: 15px;
    border: 1px solid $color-border-3;
    display: inline-block;
    width: 100%;
    align-items: center;
    align-content: center;

    .card-image {
        max-width: 67px;
        padding-right: 15px;
        width: 100%;

        img {
            display: block;
            border-radius: 8px;
        }
    }

    .card-title {
        width: 100%;
        margin-bottom: 0px !important;
    }

    .card-location {
        padding-top: 15px;

        .location {
            width: 50%;
            font-size: $font-xs;
            line-height: 18px;
            color: $color-text-muted;
            background: url(../images/dashboard/marker.svg) no-repeat 0px 3px;
            display: inline-block;
            padding: 0px 0px 0px 15px;
            margin-right: 12px;
        }

        .jobs-number {
            width: 50%;
            text-align: right;
            font-size: $font-xs;
            line-height: 18px;
            color: $color-text-muted;
            display: inline-block;
        }
    }
}

.card-style-5 {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed $color-border-2;
    padding: 0px 0px 10px 0px;
    margin-bottom: 15px;

    &:last-child {
        border-bottom: 0px;
        margin-bottom: 0px;
    }

    .card-title {
        position: relative;
        width: 55%;
    }

    .card-progress {
        position: relative;
        width: 45%;
        display: flex;
        align-items: center;

        .number {
            display: inline-block;
            padding: 0px 7px 0px 0px;
            vertical-align: top;
        }

        .progress {
            height: 8px;
            border-radius: 5px;
            background-color: $background-white;
            width: 100%;

            .progress-bar {
                border-radius: 5px;
            }
        }
    }
}

.card-grid-2 {
    border-radius: 8px;
    border: 1px solid $color-border-2;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    background: $background-5;

    i {
        font-size: $font-xl;
        color: $color-text-muted;
        margin-left: 5px;

        &.fi-rr-marker {
            margin-left: 0;
        }
    }

    .btn-apply-now {
        color: $color-brand-2;
    }

    &:hover {
        border-color: $color-border-1;
        background-color: $background-white;

        .btn-apply-now {
            color: $color-white;
            background-color: $color-brand-2;
        }
    }

    a {
        text-decoration: none;
        color: $color-brand;

        &:hover {
            color: $color-brand-2;
        }
    }

    .card-grid-2-image-rd {
        padding: 0px 15px 0px 0px;
        display: inline-block;
        width: 30%;
        min-width: 115px;
        max-width: 115px;

        figure {
            position: relative;
            display: inline-block;

            img {
                border-radius: 50%;
                height: 100px;
                width: 100px;
            }
        }

        &.online {
            figure {
                &::before {
                    height: 18px;
                    width: 18px;
                    border-radius: 50%;
                    content: "";
                    position: absolute;
                    bottom: 13px;
                    right: 9px;
                    background: $background-success;
                }
            }
        }
    }

    &.grid-bd-16 {
        background-color: $background-white;
        border-radius: 16px;

        .lbl-hot {
            position: absolute;
            top: 25px;
            left: 25px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            padding: 0px 10px;
            height: 24px;
            background: $color-brand-2;
            border-radius: 5px;
            color: $color-white;
            min-width: 42px;
            font-size: $font-xs;
            line-height: 18px;
        }

        .card-block-info {
            .card-text-price {
                font-size: 16px;
                line-height: 26px;
            }
        }
    }

    .card-grid-2-image {
        position: relative;
        padding: 10px;

        .tag {
            position: absolute;
            top: 15px;
            left: 15px;
            z-index: 12;
        }

        figure {
            display: block;

            img {
                width: 100%;
                border-radius: 12px;
            }
        }
    }

    .card-block-info {
        display: inline-block;
        width: 100%;
        padding: 5px 10px 20px 10px;

        .card-2-img-text {
            display: inline-block;
            vertical-align: middle;
            position: relative;
            padding: 4px 0px 4px 40px;
            font-size: $font-sm;
            max-width: 90%;
            min-height: 44px;

            .card-grid-2-img-small {
                background: #e4e4e4;
                border-radius: 50%;
                padding: 5px;
                height: 32px;
                width: 32px;
                float: left;
                margin-right: 8px;
                position: absolute;
                top: 0px;
                left: 0px;
                text-align: center;
                line-height: 30px;
            }

            span {
                display: inline-block;
                color: $color-brand;
                font-size: $font-sm;
            }

            img {
                max-width: 100%;
            }
        }

        .card-text-price {
            color: $color-brand-2;
            font-family: $font-heading;
            font-weight: bold;
            font-size: 22px;

            span {
                font-size: $font-sm;
                color: $color-text-paragraph;
                font-weight: 400;
            }
        }

        .card-2-bottom {
            position: relative;

            .btn-grey-small {
                margin-right: 5px;
            }

            .btn-tags-sm {
                margin-bottom: 5px;
            }

            &.card-2-bottom-candidate {
                .btn-brand-hover {
                    padding: 15px 33px;
                    border: thin solid $border-color-1-hover;
                    font-size: 14px;

                    &:hover {
                        color: $color-white;
                    }
                }
            }
        }

        .card-grid-2-img-medium {
            padding-left: 55px;
            font-size: $font-sm;
            font-weight: 600;
            font-family: $font-heading;
            color: #151515;
            line-height: 17px;

            .card-grid-2-img-small {
                background-color: $background-13;
                height: 44px;
                width: 44px;
                border-radius: 8px;
            }
        }

        .card-profile {
            text-align: center;

            strong {
                font-size: $font-lg;
                color: $color-brand;
                line-height: 18px;
                font-weight: bold;
                font-family: $font-heading;
                display: block;
                padding-bottom: 5px;

                &:hover {
                    color: $color-brand;
                }
            }

            > span {
                color: $color-text-paragraph;
            }

            .rate-reviews-small {
                span {
                    display: inline-block;
                    vertical-align: middle;

                    img {
                        height: 13px;
                        display: flex;
                    }
                }
            }
        }
    }

    .employers-info {
        border-top: 1px solid $color-border-2;
        padding-top: 20px;
    }

    // new
    .flash {
        position: absolute;
        top: 15px;
        right: 15px;
        height: 25px;
        width: 25px;
        background: url(../images/dashboard/flash.svg) no-repeat 0px 0px;
    }

    .card-grid-2-image-left {
        padding: 30px 20px 15px 20px;
        display: flex;
        position: relative;

        .image-box {
            min-width: 52px;
            padding-right: 15px;
        }

        .right-info {
            .name-job {
                font-size: $font-lg;
                line-height: 26px;
                color: $color-brand;
                font-weight: bold;
                display: block;

                &:hover {
                    color: $color-brand-2;
                }
            }

            .location-small {
                background: url(../images/dashboard/location.svg) no-repeat 0px 5px;
                display: inline-block;
                padding: 0px 0px 0px 20px;
                font-size: $font-xs;
                color: $color-text-muted;
            }
        }
    }
}

.display-list {
    .card-style-2 {
        flex-wrap: wrap;
        margin-bottom: 30px;

        &:hover {
            box-shadow: $box-shadow-4;
            border-color: $color-border-1;
        }

        .card-head {
            width: 100%;

            .card-image {
                margin-bottom: 30px;
            }

            .card-title {
                margin-bottom: 30px !important;
            }
        }

        .card-tags {
            width: 50%;
        }

        .card-price {
            width: 50%;

            strong {
                font-size: 24px;
                line-height: 40px;
            }

            span {
                font-size: 18px;
                line-height: 19px;
            }
        }
    }
}

.panel-head {
    .dropdown-menu {
        font-size: 14px;
    }
}
