.job_descr-container {
    display: flex;
    flex-wrap: wrap;
}

/* JOB FILTRES */

.job_filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    flex: 100%;
    background-color: white;
    padding: 10px 20px;
}

.job_filters a {
    position: relative;
    display: block;
    padding: 3px 8px;
    padding-left: 2rem;
    min-width: 200px;
    margin: 10px;
    background-color: var(--lightgrey);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.job_filters a.current {
    background-color: var(--orange);
    color: white;
}

.job_filters a:hover {
    background-color: var(--orange);
    color: white;
}

.job_filters a.current:hover {
    background-color: var(--lightgrey);
    color: var(--blue);
}

.job_filters a:focus {
    color: var(--white) !important;
    background-color: var(--orange) !important;
}

.job_filters a.current:focus {
    color: var(--blue) !important;
    background-color: var(--lightgrey) !important;
}

.job_filters a::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url(/wp-content/uploads/2022/03/CURSEUR.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.job_filters a.current::before {
    filter: brightness(0) invert(1);
}

.job_filters a:hover::before {
    filter: brightness(0) invert(1);
}

.job_filters a.current:hover::before {
    filter: brightness(1) invert(0);
}

/* JOB LIST */

.job_introduction {
    flex: 400px;
    width: 400px;
    max-width: 400px;
    height: max-content;
    padding: 20px;
    background-color: white;
}

.job_introduction img {
    width: 400px;
    max-width: 60%;
    object-fit: contain;
    margin-bottom: 30px;
}

.job_introduction h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--orange);
    margin-top: 15px !important;
}

.job_introduction .orange {
    padding: 10px;
    background-color: var(--orange);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.job_introduction hr {
    width: 30%;
    margin: 20px auto;
    border-color: var(--orange);
}

.job_introduction .row {
    position: relative;
    margin-top: 30px;
    justify-content: space-evenly;
    text-align: center;
}

.job_introduction .row::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 80%;
    background-color: var(--orange);
    transform: translate(-50%, -50%);
}

.job_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: calc(100% - 430px);
    width: calc(100% - 430px);
    max-width: calc(100% - 430px);
    margin-left: 30px;
    height: max-content;
}

.job_list .job {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 20px;
    flex: 400px;
    background-color: white;
}

.job_list .job:focus {
    background-color: white !important;
    color: var(--blue) !important;
}

.job_list .job h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--orange);
    transition: 0.3s;
}

.job_list .job:hover h3 {
    text-decoration: underline;
    color: var(--blue);
}

.job_list .job.current h3 {
    color: var(--blue);
    text-decoration: underline;
}

.job_details {
    position: relative;
    flex: calc(100% - 430px);
    width: calc(100% - 430px);
    max-width: calc(100% - 430px);
    margin-left: 30px;
    margin-bottom: 50px;
}

.job_details .arrow-button {
    margin-left: auto !important;
    width: max-content;
    margin-bottom: 0 !important;
}

.job_details .arrow-button.pos-a {
    position: absolute;
    bottom: -70px;
    right: 0;
    transform: translateY(-50%);
}

.job_details .arrow-button.pos-a a {
    font-size: 1.4rem;
}

.job_details .row.blue .arrow-button {
    margin-right: 5px;
}

.job_details .row.blue .arrow-button a {
    color: var(--blue) !important;
    background-color: var(--white) !important;
}

.job_details .row.blue .arrow-button a::before {
    filter: brightness(0) invert(1);
}

.job_details .download {
    position: relative;
    display: block;
    width: max-content;
    margin-left: auto;
    font-size: 1.2rem;
    padding-left: 2rem;
}

.job_details .download::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1.2rem;
    background-image: url(/wp-content/uploads/2022/03/Export.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.job_details .row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 5px 5px 5px 0;
    font-size: 1.2rem;
    line-height: 1.1;
}

.job_details .row.grey {
    background-color: var(--lightgrey);
}

.job_details .row.blue {
    background-color: var(--blue);
    color: white;
}

.job_details .row.blue a {
    color: var(--white);
}

.job_details .row .head {
    position: relative;
    flex: 200px;
    width: 200px;
    max-width: 200px;
    padding: 3px 15px;
    background-color: var(--orange);
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
}

.job_details .row p {
    font-size: 1rem;
    line-height: 1.2;
}

.job_details .row p strong {
    color: var(--blue);
}

.job_details .header {
    padding-bottom: 15px;
}

.job_details .header .head {
    background: none;
    padding: 0 0 0 1.4rem;
    flex: auto !important;
    max-width: unset !important;
    width: auto !important;
}

.job_details .header .head .arrow-button {
    margin: 0 !important;
}

.job_details .header .head .arrow-button a::before {
    transform: translateX(-100%) rotate(180deg);
    background-position: left;
}

.job_details .header .content {
    flex: auto !important;
    max-width: unset !important;
    width: auto !important;
}

.job_details .row.title {
    min-height: 80px;
}

.job_details .row.title .head span {
    position: absolute;
    display: block;
    top: calc(100% + 5px);
    left: 20px;
    color: var(--blue);
    background-color: var(--white);
    font-size: 1rem;
    font-weight: normal;
}

.job_details .row .content {
    flex: calc(100% - 215px);
    width: calc(100% - 215px);
    max-width: calc(100% - 215px);
    margin-left: auto;
}

.job_details .row.title h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
}

.job_details .row.location {
    position: relative;
    margin-bottom: 0;
    text-transform: uppercase;
}

.job_details .row.location .content {
    padding-right: 150px;
}

.job_details .row.location strong {
    color: var(--orange);
    text-transform: none;
}

.job_details .row.location .arrow-button {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.job_details .row h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.job_details .row ul {
    margin: 5px 0 30px;
    padding-left: 15px;
    list-style: none;
}

.job_details .row li {
    position: relative;
    font-size: 1rem;
    margin-bottom: 10px;
}

.job_details .row li::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0.5rem;
    left: -15px;
    background-color: var(--orange);
    transform: translateY(-50%);
}

.job_details .row.organisation .content {
    display: flex;
    align-items: center;
}

.job_details .row.function p {
    font-size: 1.2rem;
}

.job_details .row.organisation span {
    display: block;
    padding: 0px 10px;
    margin-right: 10px;
    border: 2px solid var(--blue);
    border-bottom: 4px solid var(--blue);
    font-weight: bold;
}

.job_details .row.organisation span:last-child {
    background-color: var(--blue);
    color: var(--white);
}

.job_details .row.organisation span.separator {
    width: 0;
    height: 0;
    padding: 0;
    border-style: solid;
    border-width: 10px 0 10px 17.3px;
    border-color: transparent transparent transparent var(--blue);
}

.job_details strong {
    color: var(--orange);
    text-transform: uppercase;
}

@media screen and (max-width: 1200px) {
    .job_details .row.location .content {
        flex: calc(100% - 15px);
        width: calc(100% - 15px);
        max-width: calc(100% - 15px);
    }
}

@media screen and (max-width: 1024px) {
    .job_descr-container {
        display: block;
    }

    .job_introduction {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .job_descr-container.details .job_introduction {
        display: none;
    }

    .job_list {
        flex: 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .job_details {
        position: relative;
        flex: 100%;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .job_details .row {
        display: block;
    }

    .job_details .row.title .head span {
        position: relative;
        padding-left: 15px;
        top: 5px;
        left: -15px;
        width: calc(100% + 30px);
    }

    .job_details .row .content {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
        padding-left: 15px;
    }

    .job_details .row.location .content {
        padding-right: 0;
    }

    .job_details .row.location .arrow-button {
        position: relative;
        top: 0px;
        left: 0;
        margin: auto !important;
        transform: translateY(0);
    }
}
