.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4 {
    font-family: "KenworthSans-Regular";
}

p, a, li {
    font-family: "Saira";
}

.content_wrapper a {
    color: unset;
    text-decoration: none;
}

img.header-img {
    max-width: 100%;
}

section.content_wrapper {
    margin: 0;
    padding: 0;
    width: 100% !important;
    max-width: unset;
}

section.slider_wrapper {
    background: unset;
    margin-bottom: 0;
}

section.slider_wrapper .container {
    background: url("/userfiles/images/carrieres/header-bg.svg");
    background-repeat: no-repeat;
    background-position-y: 50px;
    background-size: 100%;
}

/*Position h1 page carrière*/
section.slider_wrapper .container .row .col-lg-6:nth-child(2) {
    position: relative;
    top: -150px;
    right: -80px
}

h1.header-title {
    font-style: normal;
    font-weight: 700;
    font-size: 57px;
    line-height: 61px;
    color: #000000;
    text-transform: unset;
    max-width: 454px;
}

.section-2 {
    background-color: #282829;
}

.iframe-section {
    background: linear-gradient(to bottom, #FFF 50%, #282829 50%);
}

.bg-gray h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    line-height: 40px;
    color: #FFFFFF;
}

.bg-gray h2>span {
    font-style: normal;
    font-weight: 700;
    font-size: 77px;
    line-height: 77px;
    color: #EE1420;
}

.bg-gray p {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    font-size: 23px;
    line-height: 29px;
    color: #FFFFFF;
}

.block-2 {
    max-width: 900px;
    padding-top: 125px;
}


.btn {
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 25px;
    border-radius: unset;
    margin-top: 25px;
    display: inline-block;
    padding: 21px 25px;
    min-width: 256px;
}


.btn > img {
    width: 24px !important;
    margin-right: 10px;
}

.block-2 .btn {
    margin: auto;
    margin-top: 20px;
}

.header-btn {
    background: #000000;
    color: #FFFFFF;
    position: relative;
}

.header-btn {
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 25px;
    color: #FFFFFF;
}

.btn.btn-1 a::before,.btn.btn-2 a::before  {
    filter: invert(1);
}

.header-btn:hover {
    background-color: #EE1420;
}

.header-btn:hover a:hover{
    text-decoration: none;
}

.block-2 .btn {
    background: #FFFFFF;
    color: #000000;
}

.double-arrow-container {
    width: 100%;
}

.double-arrow {
    margin: 30px 30px -100px 200px;
    width: 30px;
}

.block-3 h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 51px;
    line-height: 53px;
    color: #FFFFFF;
    margin-left: 50px;
    padding-bottom: 30%;
}

.block-3 div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-3 {
    background: linear-gradient(to top, #FFF 60%, #282829 40%);
}

.block-3 .image-container {
    position: relative;
    background: url("/userfiles/images/carrieres/bg-placeholder.png");
    background-repeat: no-repeat;
    background-position-y: 100%;
    background-size: 60%;
}

.section-4 {
    margin-top: -115px;
    margin-bottom: 60px;
}

.block-4 {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    font-size: 27px;
    line-height: 41px;
    color: #000000;
}

.block-4 ul {
    list-style-type: none;
}

.block-4 li {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    font-size: 27px;
    line-height: 41px;
}

.block-4 li:before {
    content: "+";
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 25px;
}

.image-container img {
    max-width: 650px;
    width: 100%;
}

.arrow-img {
    position: absolute;
    bottom: -50px;
    left: 100px;
    max-width: 50px !important;
}

.section-5 {
    background: linear-gradient(to bottom, #FFF 60%, #F2F2F2 40%);
}

.block-5 h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 51px;
    line-height: 53px;
    color: #000000;
    margin-top: 100px;
}

.block-5 p {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: #000000;
}

.block-5 .btn {
    background: #EE1420;
    color: #FFFFFF;
    margin: unset;
    margin-top: 40px;
}

.section-6 {
    background-color: #F2F2F2;
}

.block-6 {
    background-image: url("/userfiles/images/accueil/cote.png");
    background-repeat: no-repeat;
    background-position-y: 4rem;
    background-position-x: 63px;
    background-size: 320px;
}


.block-6 h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 51px;
    line-height: 51px;
    color: #000000;
    text-transform: none;
    margin: 0px;
}

.block-6 h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 21px;
    line-height: 27px;
    color: #58595B;
}

.block-6 p {
    font-family: 'Saira';
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 21px;
    color: #808284;
}

.thumbnail {
    border-radius: 50%;
    width: 100%;
    max-width: 245px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.block-6 .carousel {
    padding-top: 150px;
}

.block-6 .carousel .col-sm-4 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.block-6 .carousel-item .row {
    max-width: 900px;
    margin: auto;
}

.block-6 .carousel-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
    padding-bottom: 100px;
}

.block-6 .line {
    content: "";
    max-width: 907px;
    border-bottom: 1px solid #DCDDDE;
    position: relative;
    left: 32rem;
    height: 100px;
}

.block-6 .carousel-text {
    margin-top: 50px;
}

.block-6 .carousel-controls img {
    max-width: 75px;
    margin-right: 40px;
}

.section-7 {
    background-color: #F2F2F2;
}

.block-7 img {
    width: 100%;
}

.block-7 .col-sm-12 {
    position: relative;
    margin-bottom: 300px;
}

.block-7 .red-block {
    position: absolute;
    bottom: -15rem;
    right: -30px;
    width: 80%;
    padding: 60px 90px;
    background-color: #EE1420;

}

.block-7 h3 {
    font-family:  'KenworthSans-Regular';
    font-style: normal;
    font-weight: 700;
    font-size: 91px;
    line-height: 91px;
    color: #FFFFFF;
    text-transform: none;
    margin: 0;
}

.block-7 h3 img {
    max-width: 50px;
}

.block-7 h4 {
    font-family:  'KenworthSans-Regular';
    font-style: normal;
    font-weight: 700;
    font-size: 31px;
    line-height: 40px;
    letter-spacing: 0.03em;
    color: #FFFFFF;
    margin-left: 75px;
}

.block-7 p {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    color: #FFFFFF;
    margin-left: 75px;
}

.block-7 a.btn {
    background: #FFFFFF;
    margin: unset;
}

#iframe-container {
    max-width: 100%;
    padding-top: 56.25%;
    padding-left: 10%;
    padding-right: 10%;
    position: relative;
    width: 100%;
}

.img-mobile {
    display: none;
}

#iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.video-preview-container {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 9;
  }
  
  .video-preview-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; 
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
  }

  .video-preview-container:hover .play-button,
  .video-preview-container:hover::after {
    opacity: 1;
  }
  
  .vid-preview {
    width: 100%;
    height: auto;
    aspect-ratio: 1120 / 640;
    object-fit: cover;
  }
  
  .loop-preview {
    cursor: pointer;
  }

  .block-4 .col-lg-5.offset-lg-1 {
    top: -145px;
  }

  @media only screen and (max-width : 991px) {
    section.slider_wrapper .container .row .col-lg-6:nth-child(2) {
        position: relative;
        top: 12px;
        right: -20px
    }

    h1.header-title {
        font-size: 31px;
        line-height: 1.2;
        max-width: 454px;
    }

    .video-preview-container {
        top: 45px;
    }
    
  }

  @media only screen and (min-width: 992px) and (max-width : 1199px) {
    section.slider_wrapper .container .row .col-lg-6:nth-child(2) {
        position: relative;
        top: -90px;
        right: -20px
    }
  }

  

/* Large Devicess */

@media only screen and (max-width : 1200px) {
    .block-4 .col-lg-5.offset-lg-1 {
        top: 0px;
    }
}

@media only screen and (max-width : 1366px) {

    .block-3 h2 {
        font-style: normal;
        font-weight: 700;
        font-size: 37px;
        line-height: 53px;
        color: #000000;
        padding-bottom: unset;
        margin-left: 0px;
    }

    .block-2 {
        padding-top: 60px;
    }
    .block-3 .image-container {
        background: none;
    }

    .block-4 .col-lg-5 {
        background: url("/userfiles/images/carrieres/bg-placeholder-mobile.png");
        background-repeat: no-repeat;
        background-position-y: 150px;
        background-position-x: 400px;
        background-size: 250px;
    }

    .section-4 {
        margin-top: unset;
    }

    .block-4 .image-container {
        height: 175px;
    }

    .arrow-img {
        bottom: 50px;
        left: 30px;
    }

    .block-7 .red-block {
        position: unset;
        width: 100%;
        padding: 40px 90px;
        background-color: #282829;

    }

    a.header-btn {
        font-size: 17.74px;
        line-height: 1.2;
        color: #FFFFFF;
    }

    .block-2 .btn {
        font-size: 17.74px;
        line-height: 1.2;
    }

    .btn {
        padding: 17px 25px;
    }

    h1.header-title {
        font-size: 31px;
        line-height: 1.2;
        max-width: 394px;
    }

    section.slider_wrapper .container {
        background: url("/userfiles/images/carrieres/header-bg.svg");
        background-repeat: no-repeat;
        background-position-y: 60px;
        background-size: 85%;
        background-position-x: 10px;
    }
    .block-6 .carousel-item .row {
        max-width: 900px;
        margin: 0px;
    }
}



/* Medium Devices */
@media only screen and (max-width : 768px) {
    .section-7 .container,
    .section-3 .col-sm-12{
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: unset;
    }

    .section-4 {
        margin-bottom: 0px;
    }

    .block-6 .carousel-text {
        margin-top: 0px;
        height: 240px;
    }

    .block-6 {
        background-image: url("/userfiles/images/accueil/cote.png");
        background-repeat: no-repeat;
        background-position-y: 0px;
        background-position-x: 55px;
        background-size: 320px;
    }

    .block-6 .carousel {
        padding-top: 12rem;
    }

    section.slider_wrapper .container {
        background-size: auto;
    }

}

/* Small Devices */
@media only screen and (max-width : 990px) {
    section.slider_wrapper {
        margin-top: -25px;
    }


    img.header-img {
        height: auto;
        position: relative;
        top: 7px
    }

    section.slider_wrapper .container {
        background-position-y: 0;
        background-size: 211%;
    }

    .btn {
        margin: 50px 30px;
    }

    .btn.header-btn {
        margin: 25px auto;
    }

    .btn a {
        font-style: normal;
        font-weight: 700;
        font-size: 17.7397px;
        line-height: 26px;
    }

    .bg-gray h2 {
        font-style: normal;
        font-weight: 700;
        font-size: 27px;
        line-height: 43px;
    }

    .bg-gray h2>span {
        font-size: 43px;
        font-style: normal;
        font-weight: 700;
        line-height: 43px;
        color: #EE1420;
    }

    .bg-gray p {
        font-family: 'Saira';
        font-style: normal;
        font-weight: 400;
        font-size: 17px;
        line-height: 27px;
        color: #FFFFFF;
    }

    .block-2>div {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .block-2 .double-arrow-container {
        display: none;
    }

    .double-arrow {
        width: 20px;
        margin: 20px;
    }

    .block-3 .col-lg-6 {
        padding: 15px;
        margin-top: 50px;
    }

    .block-4 .image-container {
        height: 125px;
    }

    .block-4 .col-lg-5 {
        padding: 0;
    }

    .arrow-img {
        width: 40px !important;
    }

    .section-5 {
        background: linear-gradient(to bottom, #FFF 10%, #F2F2F2 0%);
    }

    .block-4 li {
        font-style: normal;
        font-weight: 400;
        font-size: 19px;
        line-height: 22px;
    }

    .block-4 li:before {
        content: "+";
        display: inline-block;
        width: 1em;
        margin-left: -1em;
        font-size: 19px;
    }

    .block-5 h3 {
        font-style: normal;
        font-weight: 700;
        font-size: 29px;
        line-height: 35px;
        margin-top: 40px;
    }

    .block-5 .btn {
        font-style: normal;
        font-weight: 600;
        font-size: 17.7397px;
        line-height: 26px;
    }
    .block-6 h3 {
        font-style: normal;
        font-weight: 700;
        font-size: 33px;
        line-height: 27px;
    }

    .block-6 h4 {
        font-style: normal;
        font-weight: 700;
        font-size: 21px;
        line-height: 27px;
        color: #58595B;
        padding-bottom: 10px;
    }

    .block-6 p {
        font-style: italic;
        font-weight: 400;
        font-size: 15px;
        line-height: 21px;
    }

    .thumbnail {
        width: 210px;
        padding: 30px;
        margin: auto;
    }

    .block-6 .line {
       display: none;
    }

    .block-6 {
        background-repeat: no-repeat;
        background-position-y: 9rem;
        background-position-x: 2rem;
        background-size: 147px;
    }

    .block-7 h3 {
        font-size: 43px;
        line-height: 43px;
        margin-left: unset;
        margin-bottom: 0;
    }

    .block-6 .carousel-controls img {
        max-width: 50px;
    }

    .block-7 h3 img {
        display: none;
    }

    .block-7 h4 {
        font-size: 24px;
        line-height: 30px;
        margin-left: unset;
    }

    .block-7 p {
        font-size: 16px;
        line-height: 21px;
        margin-left: unset;
    }

    .block-7 a.btn {
        font-style: normal;
        font-weight: 700;
        font-size: 17.7397px;
        line-height: 26px;
        color: #EE1420;
        margin-left: auto;
    }

    .block-7 .red-block {
        position: unset;
        width: 100%;
        padding: 16px 18px 30px 18px;
        background-color: #282829;

    }

    .block-7 .img-mobile {
        display: block;
        width: 20px;
        margin: 20px 0;
    }

    .carousel-item .col-lg-8 {
        padding-left: 0px;
        padding-right: 0px;
    }

    .block-6 .carousel-controls img {
        max-width: 40px;
        margin-right: 25px;
    }
}
