/*
Theme Name:         École Jésus-Marie Beauceville
Theme URI:          https://www.enzoci.com/
Description:        Thème École Jésus-Marie Beauceville
Version:            1.0
Author:             Enzoci
Author URI:         alexandre@enzoci.com
Text Domain: 		ejm
*/
:root {
    --light-blue: #095496;
    --blue: #063661;
    --yellow: #eab450;
    --gray: #ededed;
}

.text-blue {
    color: var(--blue);
}

.bg-white {
    background-color: #fff;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.full-row {
    max-width: 1535px;
    margin: 0 auto;
}

.full-row #form-ancien .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.full-row #form-ancien .col:first-of-type,
.full-row #form-ancien .col:last-of-type {
    /*	padding-left: 0 !important;
        padding-right: 0 !important;*/
}

.full-row #form-ancien .right-col {
    padding-left: 0;
}

@media only screen and (max-width: 768px) {
    .full-row #form-ancien label {
        padding-left: 25px !important;
    }
}

.message-verification-cf7 {
    display: inline-block;
    padding: 20px 30px !important;
    border: 2px solid var(--yellow);
}

.h2 {
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.2;
    font-size: clamp(24px, 35px, calc((35 / 1920) * 100vw));
    margin-top: 0;
    margin-bottom: 30px;
}

.surtitre {
    font-size: clamp(16px, 24px, calc((24 / 2) * 100vw));
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

body:is(.post-type-archive-job, .single-job) .form {
    background-color: #fff;
    overflow: hidden;
}

body:is(.post-type-archive-job, .single-job) .form .col {
    padding-left: 0;
    padding-right: 0;
}

body:is(.post-type-archive-job, .single-job) .form h2 {
    margin-bottom: 70px;
}

body:is(.post-type-archive-job, .single-job) .form .row {
    display: grid;
    justify-content: center;
    column-gap: 39px;
    row-gap: 50px;
}

@media screen and (min-width: 768px) {
    body:is(.post-type-archive-job, .single-job) .form .row {
        grid-template-columns: 1fr 1fr;
    }

    body:is(.post-type-archive-job, .single-job) .form .row .col {
        grid-column: span 2;
    }
}

body:is(.post-type-archive-job, .single-job) .form p {
    margin: 0;
}

body:is(.post-type-archive-job, .single-job) .form p b {
    color: var(--blue);
    font-size: 18px;
}

body:is(.post-type-archive-job, .single-job) .form hr {
    border: 2px solid var(--yellow);
}

body:is(.post-type-archive-job, .single-job) .form .right-col {
    padding-left: 50px;
}

body:is(.post-type-archive-job, .single-job) .form .wpcf7-not-valid-tip {
    margin-bottom: 20px;
}

body:is(.post-type-archive-job, .single-job) .form input[type="text"],
body:is(.post-type-archive-job, .single-job) .form input[type="date"],
body:is(.post-type-archive-job, .single-job) .form input[type="tel"],
body:is(.post-type-archive-job, .single-job) .form input[type="email"] {
    background-color: #f2f2f2;
    border: 0;
    width: 100%;
    color: var(--blue);
    border-radius: 25px;
    padding: 15px 25px;
    margin-top: 5px;
    font-size: 20px;
    margin-bottom: 0;
}

body:is(.post-type-archive-job, .single-job) .form textarea {
    resize: none;
    background-color: #f2f2f2;
    border-radius: 25px;
    width: 100%;
}

body:is(.post-type-archive-job, .single-job) .form select {
    -webkit-appearance: none;
    width: 100%;
    background-color: #f2f2f2;
    border: 0;
    border-radius: 25px;
    padding: 15px 50px 15px 25px;
    margin-top: 8px;
    font-size: 18px;
    color: var(--blue);
    background-repeat: no-repeat;
    background-position: center right 10px;
}

body:is(.post-type-archive-job, .single-job) .form .submit-container {
    text-align: center;
}

body:is(.post-type-archive-job, .single-job) .form .submit-container p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body:is(.post-type-archive-job, .single-job) .form input[type="submit"] {
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid var(--yellow);
    font-size: 18px;
    font-weight: bold;
    color: var(--yellow);
    text-decoration: none;
    padding: 20px 40px;
    letter-spacing: -.05em;
    text-transform: uppercase;
    border-radius: 50px;
    line-height: 1;
    transition: 0.4s ease-out;
    cursor: pointer;
    font-family: 'Titillium Web', sans-serif;
    width: min-content;
}

body:is(.post-type-archive-job, .single-job) .form input[type="submit"]:hover {
    color: #fff;
    background-color: var(--yellow);
}

body:is(.post-type-archive-job, .single-job) .form .file label {
    display: flex;
    flex-direction: column;
}

body:is(.post-type-archive-job, .single-job) .form .file label :nth-child(2) {
    color: #EAB44F;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 19px;
}

body:is(.post-type-archive-job, .single-job) .form .file label :nth-child(2):before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    background-image: url('assets/images/input-file.svg');
}

body:is(.post-type-archive-job, .single-job) .form .file label input[type="file"] {
    display: none;
}

body:is(.post-type-archive-job, .single-job) .form label {
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
    padding-left: 25px;
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container {
    display: block;
    margin-bottom: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    cursor: pointer;
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container input[type="radio"]:checked ~ .checkmark:before {
    transform: translate(-50%, -50%) scale(1);
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 18px;
    max-width: 18px;
    min-width: 18px;
    height: 18px;
    max-height: 18px;
    min-height: 18px;
    border-radius: 200%;
    border: 2px solid var(--blue);
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container .checkmark:before {
    content: '';
    width: 8px;
    max-width: 8px;
    min-width: 8px;
    height: 8px;
    max-height: 8px;
    min-height: 8px;
    border-radius: 200%;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: var(--yellow);
    transition: 0.25s ease-out;
}

body:is(.post-type-archive-job, .single-job) .form textarea {
    border: 0;
    background-color: #f2f2f2;
}

body:is(.post-type-archive-job, .single-job) .form label.radio-container span.wpcf7-list-item {
    margin-left: 0;
}

body.post-type-archive-job .container {
    --padding-x: clamp(20px, 85px, calc((85 / 1920) * 100vw));
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

body.post-type-archive-job .container-y {
    --padding-y: 85px;
    padding-top: var(--padding-y);
    padding-bottom: var(--padding-y);
}

body.post-type-archive-job #page-header .gradient {
    background-image: unset !important;
}

body.post-type-archive-job .main h2 {
    margin-bottom: 70px;
}

body.post-type-archive-job .main .equipe p:first-child {
    color: var(--blue);
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

body.post-type-archive-job .main .equipe h2 {
    color: var(--blue) !important;
}

body.post-type-archive-job .main .equipe .btn a {
    display: inline-block;
}

body.post-type-archive-job .main .equipe .page-builder-row {
    gap: 50px;
}

body.post-type-archive-job .main .equipe .page-builder-row img {
    margin: 0 auto;
}

@media screen and (min-width: 1440px) {
    body.post-type-archive-job .main .equipe .page-builder-row {
        flex-wrap: nowrap;
    }
}

@media screen and (min-width: 768px) {
    body.post-type-archive-job .main .equipe .page-builder-row img {
        margin-left: auto;
    }

    body.post-type-archive-job .main .equipe .page-builder-row .col {
        width: max-content;
    }
}


body.post-type-archive-job .main .row {
    display: grid;
}

body.post-type-archive-job .main .icones_et_texte {
    background-color: #fff;
}

body.post-type-archive-job .main .icones_et_texte .container {
    padding-bottom: 85px;
}

body.post-type-archive-job .main .icones_et_texte .row {
    gap: 80px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 508px));
    justify-content: center;
}

body.post-type-archive-job .main .icones_et_texte .col div:first-child {
    display: flex;
    align-items: center;
    gap: 45px;
}

body.post-type-archive-job .main .icones_et_texte .col p {
    color: var(--blue);
    font-size: clamp(16px, 24px, calc((24 / 1920) * 100vw));
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

body.post-type-archive-job .main .icones_et_texte .col h3 {
    color: var(--blue);
}

body.post-type-archive-job .main .section_avantages .container {
    color: #ffffff;
}

body.post-type-archive-job .main .section_avantages .row {
    gap: 80px;
    margin-top: 80px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 397px));
    justify-content: space-between;
}

body.post-type-archive-job .main .section_avantages .row .col div:first-child {
    display: flex;
    align-items: center;
    gap: 43px;
}

body.post-type-archive-job .main .section_avantages .row .col h3 {
    font-size: 24px;
    margin: 0;
    line-height: 1.1;
    font-weight: 400;
}

body.post-type-archive-job .main .section_avantages .row .col p {
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

body.post-type-archive-job .main .section_avantages .row .col p a,
body.single-job .avantages li a {
    color: #ffffff;
    text-decoration: underline;
}

body.post-type-archive-job .main .carriere .container {
    padding-bottom: 0;
}

body.post-type-archive-job .main .carriere .jobs {
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 40px;
    justify-content: center;
}

@media screen and (min-width: 1024px) {
    body.post-type-archive-job .main .carriere .jobs {
        grid-template-columns: repeat(auto-fill, minmax(300px, 590px));
    }
}

body.post-type-archive-job .main .carriere .jobs a {
    display: flex;
    align-items: center;
    color: var(--blue);
    font-size: clamp(16px, 20px, calc((24 / 2) * 100vw));
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 0 32px;
    height: 119px;
    border: 3px solid var(--yellow);
    line-height: 1.1;
    text-decoration: none;
    border-radius: 30px;
    justify-content: space-between;
    gap: 20px;
}

body.post-type-archive-job .main .carriere .jobs a img {
    width: 62px;
    height: 62px;
}

body.post-type-archive-job .main .carriere .jobs a h3 small {
    text-transform: lowercase;
    font-weight: 400;
}

body.single-job .container {
    --padding-x: clamp(20px, 85px, calc((85 / 1920) * 100vw));
    padding-left: var(--padding-x);
    padding-right: var(--padding-x);
}

body.single-job .container-y {
    --padding-y: 85px;
    padding-top: var(--padding-y);
    padding-bottom: var(--padding-y);
}

body.single-job .page-header {
    background-color: var(--yellow);
    margin-top: 150px;
    color: #ffffff;

}

body.single-job .page-header .container {
    padding-top: 132px;
    padding-bottom: 71px;
}

body.single-job .page-header h1 {
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    font-size: 50px;
    margin: 5px 0 0 -5px;
    font-style: italic;
    line-height: 1.1;
}

body.single-job .main {
    background-color: var(--gray);
}

body.single-job .post-content {
    background-color: var(--gray);
    max-width: 1440px;
    margin: 0 auto;
}

body.single-job .post-content .grid {
    display: grid;
}

@media screen and (min-width: 992px) {
    body.single-job .post-content .grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media screen and (min-width: 992px) {
    body.single-job .post-content .entry-content {
        grid-column: span 6;
    }
}

@media screen and (min-width: 1024px) {
    body.single-job .post-content .entry-content {
        grid-column: span 7;
    }
}

body.single-job .post-content .entry-content strong {
    color: var(--blue);
    font-size: 20px;
}


body.single-job .post-content .avantages {
    background-color: var(--blue);
    color: #ffffff;
}

@media screen and (min-width: 992px) {
    body.single-job .post-content .avantages {
        grid-column: span 6;
    }
}

@media screen and (min-width: 1024px) {
    body.single-job .post-content .avantages {
        grid-column: span 5;
    }
}

body.single-job .post-content .avantages .img img {
    margin: 0 auto;
    object-fit: cover;
    max-height: 275px;
    width: 100%;
}

body.single-job .post-content .avantages .advantage-container {
    padding: 55px 20px 55px clamp(20px, 69px, calc((69 / 1920) * 100vw));
}

body.single-job .post-content .avantages .advantage-container h2 {
    margin-bottom: 36px;
}

body.single-job .post-content .avantages ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 45px;
}

body.single-job .post-content .avantages li div:first-child {
    display: flex;
    align-items: center;
    gap: 43px;
}

body.single-job .post-content .avantages li h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
}

body.single-job .post-content .avantages li p {
    font-size: 16px;
    margin: 0;
    line-height: 1.2;
}

.nothing-found {
    padding-bottom: 10px;
}

.nothing-found p {
    margin: 0;
    font-size: clamp(16px, 24px, calc((24 / 1920) * 100vw));
    font-style: italic;
}

