/* Jobs */


.job_container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;

    #job_sidebar {
        flex-basis: 430px;
        width: 430px;

        &.sidebar_abs {
            display: flex;
            align-items: flex-end;
        }
    }

    .job_wrapper {
        width: calc(100% - 430px);

        .job_item_wrapper {
            display: grid;
            grid-gap: 24px;

            .job_item {
                border: 1px solid var(--stroke);
                padding: 40px 48px 36px;
                border-radius: 10px;
                display: flex;
                gap: 48px;
                align-items: center;
                transition: .2s linear;
                &:hover{
                    box-shadow: 0px 4px 20px rgba(0, 0, 0, .12);
                }

                .t-grid {
                    display: flex;
                    align-items: center;
                    margin-bottom: 22px;
                    flex-wrap: wrap;
                    .job_location {
                        display: flex;
                        align-items: center;
                        gap: 10px;
                    }

                    &>div:not(:last-child) {
                        padding-right: 10px;
                        margin-right: 10px;
                        position: relative;

                        &:after {
                            content: '';
                            height: 12px;
                            width: 1px;
                            background-color: var(--stroke);
                            position: absolute;
                            right: 0;
                            top: 50%;
                            transform: translateY(-50%);
                        }
                    }

                    .job_title {
                        font-size: 1.75em;
                        font-weight: bold;
                        margin-bottom: 18px;
                    }

                    .job_desciption {
                        font-size: 1.125em;
                    }
                }

                .learn_more {
                    flex-shrink: 0;

                    a {
                        padding: 14px 24px;
                        background: var(--cta) linear-gradient(var(--nav), var(--nav));
                        background-size: 0px 100%;
                        background-repeat: no-repeat;
                        color: var(--white);
                        font-weight: bold;
                        line-height: 1;
                        display: block;
                        transition:.2s linear;
                        &:hover {
                            background-size: 100% 100%;
                        }
                    }
                }
            }
        }

    }

    .filter_heading {
        font-weight: bold;
        font-size: 1.125em;
        margin-bottom: 22px;
    }

    .filter_content {
        margin-bottom: 40px;

        &.mb_0 {
            margin-bottom: 0;
        }
    }

    .job_filter {
        max-width: 360px;
    }

    .filter_item {

        input[type="checkbox"],
        input[type="radio"] {
            display: none;
        }

        input[type="checkbox"]+label {
            position: relative;
            padding-left: 32px;
            margin-bottom: 12px;
            line-height: 1.2;
            display: block;
            cursor: pointer;
        }

        input[type="checkbox"]+label:before {
            content: '';
            display: block;
            width: 20px;
            height: 20px;
            border: 1px solid var(--stroke);
            position: absolute;
            left: 0;
            top: 0;
        }

        input[type="checkbox"]:checked+label:before {
            background: var(--nav) url('data:image/svg+xml,<svg width="9" height="9" viewBox="0 0 9 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 4L4.33333 7L8 1" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>');
            border-color: var(--nav);
            background-size: 7px;
            background-repeat: no-repeat;
            background-position: center;
        }

        select {
            border: 1px solid var(--stroke);
            height: 50px;
            line-height: 50px;
            padding: 0 20px;
            -webkit-appearance: none;
            background: #fff url('data:image/svg+xml,<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.99999 1.99999L8 8L14 1.99999" stroke="%23d9d9d9" stroke-width="3" stroke-linecap="round"/></svg>');
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 16px;
            width: 100%;
        }

        input[type="radio"]+label {
            border: 1px solid var(--stroke);
            font-size: 14px !important;
            font-weight: normal !important;
            display: inline-block;
            padding: 4px 15px;
            margin-right: 6px;
            cursor: pointer;
        }

        input[type="radio"]:checked+label {
            border-color: var(--nav);
        }
    }

    @media (max-width:1200px) {
        #job_sidebar {
            flex-basis: 230px;
            width: 230px;
        }

        .job_wrapper {
            width: calc(100% - 260px);
        }
    }

    @media (max-width:991px) {
        flex-direction: column-reverse;
        gap: 30px;

        .job_wrapper {
            width: 100%;
        }

        #job_sidebar {
            flex-basis: 100%;
            width: 100%;
        }

        .job_sidebar_container {
            position: relative !important;
            top: 0 !important;
            width: 100% !important;
        }

        .job_item {
            flex-flow: column;
            align-items: flex-start !important;
        }
    }
}

@media (max-width:991px) {
    .job_headline {
        position: relative !important;
        top: 0 !important;
    }
    .job_item_wrapper{
        .job_item{
            padding: 24px 16px !important;
        }
    }
}