/*
Theme Name: Abfonderie
Author: allbyweb*
Author URI: allbyweb.fr
*/

/* fonts */
@font-face {
    font-family: 'Century-Gothic';
    src: url('assets/fonts/Century-Gothic.ttf') format('truetype');
}
@font-face {
    font-family: 'Century-Gothic-Bold';
    src: url('assets/fonts/GOTHICB0.TTF') format('truetype');
}
@font-face {
    font-family: 'OpenSans';
    src: url('assets/fonts/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-ExtraBold';
    src: url('assets/fonts/OpenSans-ExtraBold.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-Light';
    src: url('assets/fonts/OpenSans-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-Medium';
    src: url('assets/fonts/OpenSans-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-SemiBold';
    src: url('assets/fonts/OpenSans-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'OpenSans-Bold';
    src: url('assets/fonts/OpenSans-Bold.ttf') format('truetype');
}

body * {
    font-family: 'OpenSans';
    color: #363636;
    font-size: 16px;
}
body img {
    display: block;
    width: 100%;
    object-fit: cover;
}
h2 {
    font-size: 30px;
    margin-bottom: 26px;
    font-family: 'Century-Gothic-Bold';
    text-align: center;
}
h2.h2-red {
    color: #CC0102;
}

b{
    font-family: 'OpenSans-Bold';
}
.red-title {
    font-size: 24px;
    color: #CC0102;
    font-family: 'OpenSans-Bold';
    text-align: center;
}
.AB-btn-primary {
    font-size: 20px;
    color: #fff;
    background-color: #CC0102;
    border-radius: 15px;
    padding: 1.5rem 3rem;
    display: block;
    margin: 54px auto;
    cursor: pointer;
    width: max-content;
    font-family: 'OpenSans-SemiBold';
    transition: all 300ms;
}
.AB-btn-primary:hover {
    background-color: #8d1515;
    color: #fff;
}
.AB-btn-dark {
    background-color: #363636;
    border-radius: 15px;
    padding: 14px 42px;
    color: #fff;
    font-family: 'OpenSans-SemiBold';
    outline: none;
    border: none;
    transition: all 250ms;
}
.AB-btn-dark:hover {
    color: #fff;
    background-color: #141414;
}
.container {
    max-width: 1680px;
}

.img-text img {
    width: 152px;
    height: 152px;
    margin: auto;
    margin-bottom: 30px;
}
.img-text p {
    font-size: 24px;
    color: #CC0102;
    text-align: center;
    font-family: 'OpenSans-Bold';
}
.red-encart {
    background-color: #CC0102;
    border-radius: 143px;
    padding: 50px 120px;
    margin-top: 24px;
}
.red-encart div img {
    width: 120px;
    margin: 0 44px 0 auto;
}
.red-encart div p {
    color: #fff;
    font-size: 16px;
}
/* header */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
header + section {
    margin-top: 152px;
}
header .top-bar {
    background-color: #CC0102;
    padding: 8px 0;
    height: 66px;
    display: flex;
}
header .top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .top-bar .menu-top-header, header .menu-top-header-item a {
    display: flex;
    align-items: center;
    justify-content: center;
}
header .top-bar .menu-top-header {
    padding-right: 10px;
}
header .menu-top-header-item:first-child {
    margin-right:  45px;
}
header .menu-top-header-item img {
    width: 36px;
    height: 36px;
    margin-right: 15px;
}
header .menu-top-header-item p { 
    font-size: 16px;
    white-space: nowrap;
    color: #fff;
    font-family: 'OpenSans-SemiBold';
}
header .menu-top-header-item > a {
    transition: all 200ms;
    transform: scale(1);
}
header .menu-top-header-item > a:hover {
    transform: scale(1.05);
}

header .headerBar {
    height: 90px;
    background: #fff;
    box-shadow: 0px 11px 22px #00000029;
    display: flex;
    align-items: center;
}
header.fixed .headerBar {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 100;
}
header .logo-bcs {
    width: 44px;
    height: 44px;
    display: block;
    transition: all 250ms;
    transform: scale(1);
}
header .logo-top-header:hover .logo-bcs {
    transform: scale(1.15);
}
header .AB-logo {
    width: 220px;
}
header .navbar-expand-lg .navbar-nav .menu-item > a {
    padding: 6px 0px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 20px;
    color: #363636;
    position: relative;
    font-size: 18px;
    font-family: 'OpenSans-SemiBold';
}
header .navbar-expand-lg .navbar-nav .menu-item > a::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #363636;
    width: 100%;
    height: 3px;
    left: 0;
    right: 0;
    top: calc(100% - 6px);
    visibility: hidden;
    opacity: 0;
    transition: 300ms;
}
header .navbar-expand-lg .navbar-nav .menu-item:hover > a::after,
header .navbar-expand-lg .navbar-nav .menu-item.current_page_item > a::after
 {
    visibility: visible;
    opacity: 1;
}
header .navbar-expand-lg .navbar-nav .menu-item:hover > a {
    color: #363636;
}
header .menu-item {
    margin-left: 45px;
}
header #AB-navBar > div {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

/* custom nav-icon */
header .navbar-toggler #custom-nav-icon {
    width: 32px;
    height: 26px;
    position: relative;
    margin: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.navbar-toggler #custom-nav-icon span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #CC0102;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.navbar-toggler #custom-nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.navbar-toggler #custom-nav-icon span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.navbar-toggler #custom-nav-icon span:nth-child(3) {
    top: 21px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.navbar-toggler[aria-expanded="true"] #custom-nav-icon span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

.navbar-toggler[aria-expanded="true"] #custom-nav-icon span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] #custom-nav-icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 20px;
    left: 8px;
}
header .navbar-toggler:focus, header .navbar-toggler:active {
      outline: none;
      box-shadow: none;
}


/* footer */
footer {
    background-color: #F5F5F5;
    padding: 30px 0 6px;
}
footer a, footer p {
    font-size: 20px;
    font-family: 'OpenSans-SemiBold';
}
footer .footer-contact a {
    font-size: 20px;
    font-family: 'OpenSans-SemiBold';
}
footer a {
    transition: 250ms;
}
footer a:hover {
    color: #CC0102;
}
footer .footer-mail .AB-btn-dark {
    margin-top: 15px;
}
footer .footer-mail input[type="email"], footer .footer-mail input[type="email"]::placeholder {
    font-family: 'OpenSans-SemiBold';
}
footer .footer-mail .Linkedin-link img {
    width: 34px;
    height: 34px;
    transform: scale(1);
    transition: 250ms;
}
footer .footer-mail .Linkedin-link:hover img {
    transform: scale(1.2);
}
.copyright-section {
    background-color: #363636;
}
.copyright-section a, .copyright-section p {
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    transition: 200ms;
}
.copyright-section ul li:hover a {
    color: #C82329;
}
.copyright-section ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright-section ul li {
    display: flex;
    align-items: center;
}

footer .footer-logos {
    max-width: 480px;
}
footer .footer-logos img{
    width: 100%;
    object-fit: contain;
}
footer .footer-logos img.prefet-img{
    width: 70%;
}
footer .footer-logos .AB-logo-footer{
    width: 300px;
}
footer .footer-logos .grand-lyon-img{
    width: 200px;
}
footer .footer-wrapper {
    display: flex;
    align-items: center;
}
footer .footer-menu, footer .footer-contact, footer .footer-mail {
    width: 33%;
    height: 240px;
    padding-right: 45px;
}
footer .footer-menu > ul, footer .footer-contact > ul, footer .footer-mail > ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
footer div:not(.footer-logos) ul li:not(:last-child) {
    margin-bottom: 10px;
}
footer .footer-menu ul li {
    padding-bottom: 6px;
}
footer .footer-menu li.menu-item > a {
    text-transform: uppercase;
}
footer .footer-contact .adresse {
    padding-right: 45px;
    font-family: 'OpenSans';
}
footer .footer-contact ul li > a:not(.contact-link),
footer .footer-contact ul li > p {
    font-family: 'OpenSans';
    font-size: 16px;
}
footer .form-group br {
    display: none;
}
/* section full-width-bg-image */
#full-width-bg-image {
    background-size: cover;
    background-position: top;
    height: 55vh;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
#full-width-bg-image.small-height-bg {
    height: 320px;
    background-position: center;
}
#full-width-bg-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur noire semi-transparente */
}
#full-width-bg-image div:not(.overlay) {
    z-index: 1;
}
#full-width-bg-image h1 {
    font-size: 40px;
    color: #fff;
    font-family: 'Century-Gothic-Bold';
    z-index: 1000;
    text-transform: uppercase;
}

/* section histoire */
#histoire {
    position: relative;
    margin: 230px auto 190px;
}
#histoire .histoire-content {
    display: block;
    border: 4px solid #CC0102;
    padding: 60px 105px 44px 204px;
}
#histoire .histoire-content p {
    font-size: 16px;
    font-family: 'OpenSans';
    margin-bottom: 30px;
}
#histoire .histoire-content h2 {
    text-align: left;
}
#histoire .histoire-bg-absolute {
    position: absolute;
    top: -134px;
    left: 112px;
    width: 444px;
    height: 674px;
}
/* section chiffres */
#chiffres {
    background-color: #363636;
    padding: 45px 0 48px;
}
#chiffres .counter , #chiffres .counter * {
    font-size: 50px;
    font-family: 'OpenSans-ExtraBold';
    color: #CC0102;
    white-space: nowrap;
    text-align: center;
    line-height: normal;
}
#chiffres .counter + p {
    font-size: 18px;
    color: #fff;
    padding: 0 36px;
    text-align: center;
}
#chiffres .chiffres-list li figure {
    max-width: 64px;
    margin: auto;
}
#chiffres .chiffres-list {
    justify-content: space-around;
}
#chiffres .chiffres-list li > div {
    display: flex;
    flex-direction: column;
    width: min-content;
    justify-content: center;
}
#confiance {
    padding-top: 36px;
}
#confiance img {
    width: 60%;
    margin: auto;
}
#confiance .logo-confiance {
    margin: 84px 0;
}
/* section valeurs */
#valeurs {
    padding: 90px 0;
}
#valeurs figure {
    max-width: 88px;
    min-height: 98px;
    margin: 0 auto;
}
#valeurs figure img {
    height: 100%;
}
/* section question */
#question .question-item {
    box-shadow: 0px 11px 22px #00000029;
    border-radius: 15px;
    padding: 38px 40px 60px;
    height: 100%;
    background: #F9F9F9;
}
#question .question-item b{
    font-family: 'OpenSans-SemiBold';
}
#question .question-item a:hover{
    color: #CC0102;
}
#question .question-item img {
    width: 60px;
    height: 60px;
    margin: auto;
    margin-bottom: 14px;
}
#question .red-title + p {
    text-align: center;
    margin-top: 14px;
    font-family: 'OpenSans';
}
#question .col-lg-6 {
    padding: 36px;
}
#question .red-subtitle, #question .red-subtitle * {
    font-size: 18px;
    color: #CC0102;
}
#question .red-subtitle {
    margin-top: 22px;
}
#question .red-subtitle a {
    font-weight: 700;
    font-family: "OpenSans-SemiBold";
}
#question .red-link {
    font-family: 'OpenSans-Bold';
}

/* page - moyens et savoir faire */
/* section production */
#production {
    margin: 60px 0 80px;
}

/* section atelier */
#full-width-bg-image.small-height-bg.section-atelier {
    height: auto;
    padding: 40px 0;
}
.section-atelier h2 {
    color: #fff;
    margin-bottom: 34px;
}
.section-atelier li img {
    width: 34px;
    height: 34px;
    margin-right: 14px;
}
.section-atelier li p {
    color: #fff;
    font-size: 16px;
    text-align: left;
    font-family: 'OpenSans-SemiBold';
}
.section-atelier ul li {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.section-atelier .atelier-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0 110px;
}
.section-atelier .atelier-list > li {
    width: 50%;
    padding-right: 20px;
}
.section-atelier .atelier-img img {
    height: 100%;
    width: auto;
    z-index: 101;
    position: relative;
    cursor: initial;
}
.section-atelier .atelier-img {
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translate(-50%, 0) scale(0);
    width: auto;
    height: 80vh;
    z-index: 10;
    transform-origin: center;
    opacity: 0;
    visibility: hidden;
    transition: 300ms;
}
.section-atelier .atelier-img.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}
.section-atelier .atelier-img .atelier-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    background-color: #00000075;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: 300ms;
    opacity: 0;
    visibility: hidden;
    cursor: initial;
}
.section-atelier .atelier-img.show .atelier-overlay {
    opacity: 1;
    visibility: visible;
}
.section-atelier .close-atelier-img {
    height: 44px;
    width: 44px;
    display: block;
    position: absolute;
    top: -20px;
    right: -5px;
    z-index: 102;
    cursor: pointer;
    transition: 250ms;
    z-index: 1000;
}
.section-atelier .close-atelier-img:hover {
    transform: scale(1.2);
}
#full-width-bg-image div.atelier-img {
    z-index: 100;
}

.section-atelier li.has_img {
    cursor: pointer;
}
.section-atelier li.has_img:hover p {
    color: #C82329;
}
.section-atelier li.has_img:hover > img {
    filter: invert(56%) sepia(96%) saturate(3428%) hue-rotate(342deg) brightness(72%) contrast(141%);
}

/* Page réalisation */
/* section produits */
#produits {
    margin: 44px 0 0;
}
#produits h2 {
    margin-bottom: 44px;
    text-transform: uppercase;
}
#produits .fixed-height {
    max-height: 100vh;
    align-items: center;
    overflow: hidden;
}

#produits p {
    padding: 18px 30px 75px;
    font-family: 'OpenSans-SemiBold';
    font-size: 20px;
    text-align: right;
}
#produits .produit-img {
    position: relative;
}
#produits .produit-video video {
    width: 100%;
}
#produits .produit-video {
    margin-bottom: 16px;
}

#produits .play-icon {
    width: 8vw;
    display: block;
    height: 8vw;
    position: absolute;
    top: 50%;
    left: calc(10% + 4vw);
    transform: translateY(-50%);
}
#produits .btn.AB-btn-primary {
    display: flex;
    align-items: center;
    margin: 12px auto 50px;
}
#produits .btn.AB-btn-primary img {
    width: 12px;
    margin-right: 10px;
}
#produits .produit-img.has_link {
    position: relative;
    overflow: hidden;
}
#produits .produit-img.has_link img {
    transition: 250ms;
    transform: scale(1);
}
#produits .produit .produit-title.has_link {
    transition: 250ms;
}
#produits .produit:hover .produit-img.has_link img {
    transform: scale(1.05);
}
#produits .produit:hover .produit-title.has_link {
    color: #C82329;
}


/* Page contact */
/* section .localisation */

#localisation{
    margin: 120px 0 180px;
    padding-top: 20px;
}
#localisation h2.h2-margin {
    margin: 80px auto 100px;
}
#localisation .localisation-banner {
    background-color: #CC0102;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
}
#localisation .localisation-banner img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    padding: 4px;
    margin-right: 16px;
}
#localisation .localisation-banner ul {
    margin-left: 45px;
}
#localisation .localisation-banner ul li:not(:last-child) {
    margin-bottom: 24px;
}
#localisation .localisation-banner ul li p {
    font-family: 'OpenSans-SemiBold';
    font-size: 18px;    
    color: #fff;
    max-width: 440px;
}
#localisation .map {
    height: 500px;
    width: 732px;
    z-index: 1;
    position: relative;
    flex-shrink: 0;
}
/* section contact-form */
#contact-form form input[type="text"], #contact-form form input[type="email"], #contact-form form input[type="tel"], #contact-form form textarea,
#satformcode form input[type="text"], #satformcode form input[type="email"], #satformcode form input[type="tel"], #satformcode form textarea {
    outline: none;
    border: none;
    box-shadow: 0px 11px 22px #00000029;
    padding: 16px 20px 16px 20px;
    color: #CC0102;
    font-family: 'OpenSans';
    font-size: 20px;
    border-radius: 15px;
    background-color: #F9F9F9;
}
#contact-form form input[type="text"]::placeholder,
#contact-form form input[type="email"]::placeholder,
#contact-form form input[type="tel"]::placeholder,
#contact-form form textarea::placeholder,
#satformcode form input[type="text"]::placeholder,
#satformcode form input[type="email"]::placeholder,
#satformcode form input[type="tel"]::placeholder,
#satformcode form textarea::placeholder {
    color: #CC0102;
}
#contact-form form textarea,
#satformcode form textarea {
    resize: none;
    height: 186px;
}
#contact-form .custom-dropdown-btn,
#satformcode .custom-dropdown-btn {
    color: #CC0102;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0px;
    padding-right: 40px;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    text-align: right;
    font-family: "OpenSans-SemiBold";
}
#contact-form .objet-input[type="text"],
#satformcode .objet-input[type="text"] {
    padding-right: 280px;
}
#contact-form .dropdown-item,
#satformcode .dropdown-item{
    cursor: pointer;
}
#contact-form .dropdown-item.active, #contact-form .dropdown-item:active,
#satformcode .dropdown-item.active, #satformcode .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #CC0102;
}
#contact-form .dropdown-item:focus, #contact-form .dropdown-item:hover,
#satformcode .dropdown-item:focus, #satformcode .dropdown-item:hover {
    color: #fff;
    background-color: #CC0102;
}
#contact-form .dropdown-item,
#satformcode .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 20px;
}
#contact-form .wpcf7-not-valid-tip, 
#recrutement-form .wpcf7-not-valid-tip,
#satformcode .wpcf7-not-valid-tip {
    color: #dc3232;
    font-weight: normal;
    display: block;
    font-size: 12px;
    position: relative;
    margin: 8px;
    margin-bottom: 0;
}
#contact-form .form-select,
#satformcode .form-select {
    display: block;
    width: 100%;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right 35px center;
    background-size: 16px 12px;
    box-shadow: 0px 11px 22px #00000029;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: right;
    border-radius: 15px;
    font-size: 20px;
    color: #CC0102;
    padding: 16px 20px 16px 15px;
    padding-right: 60px;
    font-weight: 700;
    outline: none;
    border: none;
    background-color: #F9F9F9;
    background-image: url(assets/img/red-down-arrow.png);
    text-align-last: right;
    cursor: pointer;
}
#contact-form .form-select option,
#satformcode .form-select option {
    font-size: 18px;
    text-align: left;
    padding: 8px;
    background-color: #fff;
}
#contact-form .form-select option:hover,
#satformcode .form-select option:hover {
    background-color: #CC0102;
    color: #fff;
}

#contact-form form .objet-input,
#satformcode form .objet-input {
    position: relative;
}
#contact-form form .objet-input .objet-label,
#satformcode form .objet-input .objet-label {
    position: absolute;
    top: 50%;
    left: 32px;
    z-index: 1;
    transform: translateY(-50%);
}
#contact-form form .objet-input .objet-label p,
#satformcode form .objet-input .objet-label p {
    color: #CC0102;
    font-size: 20px;
}
/* Page realisation-1 */
#categories {
    padding: 40px 0;        
}
#categories .categorie {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}
#categories .categorie-link {
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    font-family: 'OpenSans-SemiBold';
    color: #fff;
    font-size: 22px;
    background-color: #36363675;
    padding: 16px 0;
    cursor: pointer;
    transition: 250ms;
}
#categories .categorie:hover .categorie-link {
    background-color: #CC010275;
}
#categories .col-md-4 {
    padding: 20px;
}

#actus {
    background-image: url(../img/pat21.png);
    padding: 22px 0;
}
#full-width-bg-image.actus-banner {
    height: 280px;
}
#actus .actus-container {
    max-width: 1050px;
    margin: auto;
}
#actus .actus-item {
    width: calc(33.33% - 18px);
    margin: 0 9px 18px;
    background-color: #fff;
    padding-bottom: 20px;
}
#actus .blog-media {
    position: relative;
    overflow: hidden;
}
#actus .blog-category {
    text-transform: uppercase;
    font-size: 11px;
    padding: 0px 14px;
    line-height: 27px;
    margin-left: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    background: #C82329;
    z-index: 12;
}
#actus .blog-title {
    font-size: 20px;
    font-family: "OpenSans-Bold";
}
#actus .blog-title:hover, #actus .blog-more:hover {
    color: #C82329;
}
#actus .blog-details span {
    font-size: 12px;
}
#actus .blog-content * {
    font-size: 15px;
}
#actus .blog-more {
    font-size: 12px;
    text-transform: uppercase;
}
#actus .blog-top, #actus .blog-bottom, #actus .blog-media-bottom {
    padding-left: 25px;
    padding-right: 25px;
}
#actus .blog-top {
    padding-top: 20px;
}
#actus .blog-bottom {
    padding-top: 15px;
}
#actus .blog-content {
    border-top: 1px solid #ebebeb;
    padding-top: 10px;
}
#actus .blog-more {
    position: relative;
    margin-top: 18px;
    display: block;
}
#actus .actus-single {
    background-color: #fff;
    padding-bottom: 20px;
}
#actus .blog-media-bottom {
    margin: 20px 0 0;
}
#actus .blog-media-bottom div iframe {
    width: 100%;
}
#actus h1 {
    font-family: 'OpenSans-Bold';
    font-size: 32px;
    text-align: center;
    margin: 50px 0;
}
.ab-pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 42px auto 30px;
}
.ab-pagination .page-numbers {
    font-size: 15px;
    padding: 0 15px;
}
.ab-pagination .page-numbers:not(.current):hover {
    color: #CC0102;
}
#recrutement-form {
    padding: 80px 0;
}
#recrutement-form input:not([type="checkbox"]), #recrutement-form input:not(.AB-btn-primary), #recrutement-form textarea {
    outline: none;
    border: none;
    box-shadow: 0px 11px 22px #00000029;
    padding: 16px 16px 16px 20px;
    color: #CC0102;
    font-family: 'OpenSans';
    font-size: 20px;
    border-radius: 15px;
    background-color: #F9F9F9;
    width: 100%;
}
#recrutement-form form {
    margin: 34px 0;
}
#recrutement-form input::placeholder,
#recrutement-form textarea::placeholder {
    color: #CC0102;
}
#recrutement-form textarea {
    height: 200px;
    resize: none;
}
#recrutement-form .sous-titre {
    margin: 60px 0 40px;
    font-size: 18px;
}

#recrutement-form h1 {
    margin-bottom: 24px;
    font-family: 'OpenSans-Bold';
    font-size: 32px;
    text-align: center;
}
#recrutement-form .wpcf7-form-control.wpcf7-submit.AB-btn-primary {
    font-size: 22px;
    color: #fff;
    background-color: #CC0102;
    border-radius: 15px;
    padding: 1rem 3rem;
    display: block;
    margin: 82px auto;
    cursor: pointer;
    width: max-content;
    font-family: 'OpenSans-SemiBold';
    transition: all 300ms;
}
.custom-checkbox .wpcf7-list-item > label {
display: block;
}

.custom-checkbox .wpcf7-list-item > label input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.custom-checkbox .wpcf7-list-item > label input + span {
    position: relative;
    cursor: pointer;
}

.custom-checkbox .wpcf7-list-item > label input + span:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #C82329;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
}

.custom-checkbox .wpcf7-list-item > label input:checked + span:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 8px;
    width: 8px;
    height: 14px;
    border: solid #C82329;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.custom-checkbox .wpcf7-list-item-label, .custom-checkbox p, .custom-checkbox p * {
    font-size: 16px;
}
.custom-checkbox .politique-lien {
    color: #C82329;
    font-weight: 700;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    margin-top: 22px;
}
.custom-checkbox .wpcf7-list-item {
    display: inline-block;
    margin: 0 8px 0 36px;
}
#recrutement-form .wpcf7-form-control.wpcf7-submit.AB-btn-primary {
    margin: 38px auto 0;
}
#recrutement-form .wpcf7 form .wpcf7-response-output, #contact-form .wpcf7 form .wpcf7-response-output {
    margin: 0.5em auto 2rem;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    font-size: 16px;
    text-align: center;
    border-radius: 7px;
    width: max-content;
    max-width: 100%;
}
#recrutement-form .wpcf7 form.sent .wpcf7-response-output,
    #contact-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
}
.page-standard {
    padding: 84px 0 60px;
}
.page-standard * {
    font-size: 22px;
}
.page-standard h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 100px;
    font-weight: 700;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
.page-standard h1::before,
.page-standard h1::after {
    content: "";
    display: block;
    position: relative;
    width: 40px;
    height: 4px;
    background-color: #CC0102;
    margin: 0 30px;
}
.page-standard h2 {
    margin: 42px auto;
    font-size: 34px;
}
.page-standard h3 {
    margin: 24px auto;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
}
.page-standard h4 {
    text-align: center;
    margin: 20px auto;
    font-weight: 600;
}
.page-standard p {
    margin-bottom: 20px;
}
.page-standard .container{
    padding: 0 50px;
}
.page-standard ul {
    padding-left: 34px;
}
.page-standard ul li {
    list-style: disc;
}
.page-standard a {
    color: #C82329;
}


/* new moyens styles */

/* Page moyens-et-savoir-faire-2 */
/* section processus */

#processus {
    margin-bottom: 124px;
}
#processus div p {
    font-size: 24px;
    font-family: 'OpenSans';    
}
#processus .img-text p {
    font-size: 22px;
    font-family: 'OpenSans-Bold';
}
/* .AB-card {
    padding: 90px 62px 0;
    box-shadow: 0px 11px 22px #00000029;
    background-color: #F9F9F9;
    border-radius: 15px;
    margin: 0;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    right: 0;
    height: 0;
    width: calc(100% * 3 + 174px);
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 500ms, opacity 500ms, visibility 500ms;
} */
.AB-card.show {
    opacity: 1;
    visibility: visible;
    height: calc(100% * 2 + 80px);
}
.AB-card > .row:nth-of-type(2) {
    margin-top: 3rem;
}
/* .item-id-2 .AB-card,
.item-id-5 .AB-card,
.item-id-8 .AB-card,
.item-id-11 .AB-card {
    left: 50%;
    transform: translateX(-50%);
}
.item-id-3 .AB-card,
.item-id-6 .AB-card,
.item-id-9 .AB-card,
.item-id-12 .AB-card {
    left: initial;
    right: 0;
}
.item-id-10 .AB-card,
.item-id-11 .AB-card,
.item-id-12 .AB-card {
    top: initial;
    bottom: 0;
} */
.process-list .to_right::after, .process-list  .to_down::before {
    display: block;
}
.process-list.open .to_right::after, .process-list.open  .to_down::before {
    display: none;
}
#processus div:not(.img-text) img {
    border-radius: 15px;
}
#production .bloc .process-content {
    max-height: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 1;
    display: flex;
    align-items: flex-end;
    padding-right: 20px;
}
#production .bloc .process-content::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

#production .bloc .process-content::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

#production .bloc .process-content::-webkit-scrollbar-thumb
{
	background-color: #CC0102;
}
#production .bloc .process-content li br {
    display: none;
}
#production .bloc .process-content ul li {
    margin-bottom: 16px;
}
h2.h2-margin {
    margin: 60px auto 60px;
}
#production .bloc .process-media {
    height: 430px;
    /* overflow: hidden; */
    width: 100%;
}
#production .bloc .process-media {
    width: 853px;
    height: 480px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
#production .bloc .AB-card.show .process-media.no_media {
    visibility: hidden;
}
#production .bloc .AB-card.show .process-media {
    visibility: visible;
}
#production .bloc .process-media p {
    height: 100%;
}
#production .bloc .process-media p img {
    height: 100%;
    object-fit: contain;
}
#production .bloc .process-media .wp-video{
    width: auto;
    height: 100%;
    margin: auto;
}
#production .bloc .process-media .mejs-container,
#production .bloc .process-media .mejs-mediaelement,
#production .bloc .process-media video {
    height: 100% !important;
}



/* .bloc {
    width: 473px;
    height: 473px;
    box-shadow: 0px 11px 22px #00000029;
    position: relative;
    padding: 90px 40px 0;
    border-radius: 15px;
    background-color: #F9F9F9;
    margin-bottom: 80px;
    cursor: pointer;
} */
.to_right::after {
    content: "";
    position: absolute;
    display: block;
    width: 200px;
    height: 5px;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    background-image: url(assets/img/Ligne.png);
    background-size: 420%;
}
.to_down::before {
    content: "";
    position: absolute;
    display: block;
    width: 5px;
    height: 200px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(assets/img/Ligne-Verticale.png);
    background-size: 80%;
}



#production .list.process-list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#production .flex-item {
    flex: 1 0 30%;
    height: auto;
    color: #fff;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: flex 0.3s ease-in-out, height 0.3s ease-in-out;
    margin-bottom: 40px;
  }

/* #production .list.process-list .bloc.clicked {
    flex: 1 0 100%;
    height: 200px;
  } */

#production .container {
    max-width: 1080px;
}
#production .bloc {
    max-width: 280px;
    width: 100%;
    box-shadow: 0px 11px 22px #00000029;
    position: relative;
    background-color: #fff;
    padding: 0;
    border-radius: 15px;
    background-color: #F9F9F9;
    height: 280px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}
#production .flex-item.clicked .bloc {
    box-shadow: none;
}

#production .flex-item.clicked {
    flex: 1 0 100%;
    height: 770px;
}
#production .flex-item.clicked:not(.has_media) {
    height: 320px;
}
#production .flex-item.clicked:not(.has_media) .AB-card.show{
    height: 320px;
}
#production .flex-item.clicked .bloc {
    max-width: calc(100% - 64px);
    width: 100%;
}
#production .img-text img {
    width: 90px;
    height: 80px;
    margin: auto;
    margin-bottom: 20px;
}
#production .img-text p {
    font-size: 16px;
    color: #CC0102;
    text-align: center;
    font-family: 'OpenSans-Bold';
}
#production .bloc, #production .img-text img, #production .img-text p {
    transition: all 200ms;
}
#production .bloc:hover {
    box-shadow: 0px 14px 22px #C8232965;
}
#production .bloc:hover > .img-text img {
    transform: scale(1.2);
}
#production .list.process-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
#production .AB-card-row {
    display: flex;
    align-items: flex-end;
    height: 260px;
    padding: 34px 0;
}
#production .AB-card {
    box-shadow: 0px 11px 22px #00000029;
    background-color: #F9F9F9;
    border-radius: 15px;
    margin: 0;
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 0;
    right: 0;
    height: 0;
    width: 100%;
    transform: translateX(-50%);
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: height 500ms, opacity 500ms, visibility 0s step-start;
    padding: 0;
}
#production .AB-card.show {
    opacity: 1;
    visibility: visible;
    height: 770px;
}
#production .AB-card .img-text {
    width: 100%;
    flex-grow: 1;
    max-width: 386px;
    min-width: 320px;
}
#production .flex-item.clicked .bloc > .img-text {
    visibility: hidden;
    opacity: 0;
}




/* force container */
@media screen and (min-width: 1441px) {
    #valeurs .container,
    #localisation .container
     {
        max-width: 1440px;
    }
    
    #question .container,
    #categories .container,
    #produits .container,
    #contact-form .container,
    #recrutement-form .container,
    .section-atelier .container
    {
        max-width: 1280px;
    }
    #produits .container{
        padding: 0;
    }
    #produits .container {
        max-width: 1024px;
    }
}


@media screen and (max-width: 1720px) {
    .container {
        max-width: 1440px;
    }
    header .menu-item{
        margin-left: 35px;
    }
    footer .footer-menu, footer .footer-contact, footer .footer-mail {
        height: 245px;
        padding-right: 20px;
    }
    /* #production .bloc {
        width: 410px;
        padding: 50px 30px 0;
        height: 410px;
    } */
    #localisation .map,
    #localisation .map iframe {
        height: 500px;
        width: 600px;
    }
    .AB-card {
        padding: 50px 56px 0;
        width: calc(100% * 3 + 140px);
    }
    #histoire .histoire-bg-absolute {
        top: -84px;
        left: 38px;
    }
}
@media screen and (max-width: 1440px) {
    .container {
        max-width: 1280px;
    }
    #produits .container {
        max-width: 1024px;
    }
    header .menu-item {
        margin-left: 25px;
    }
    header .navbar-expand-lg .navbar-nav .menu-item > a {
        letter-spacing: 1px;
    }
    footer .footer-logos {
        max-width: 320px;
    }
    footer .footer-logos .AB-logo-footer {
        width: 280px;
    }
    footer .footer-logos .grand-lyon-img {
        width: 180px;
    }
    footer .footer-menu, footer .footer-contact, footer .footer-mail {
        height: 245px;
        padding-right: 6px;
    }
    header .top-bar .container {
        padding: 0 35px;
    }
    #histoire .histoire-bg-absolute {
        top: -46px;
        left: 70px;
        overflow: hidden;
        width: 340px;
    }
    #histoire .histoire-bg-absolute img {
            object-fit: contain;
    }
    #histoire .histoire-content {
        padding: 36px 35px 52px 140px;
    }
    #processus div p {
        font-size: 20px;
    }
    .red-encart {
        background-color: #CC0102;
        border-radius: 143px;
        padding: 30px 40px;
        width: 96%;
        margin: auto;
        margin-top: 24px;
    }
    
    .section-atelier .atelier-list {
        padding: 0;
    }
    .section-atelier li p {
        font-size: 16px;
    }
    #produits .fixed-height {
        max-height: calc(58vw);
    }
    .AB-card {
        width: calc(100% * 3 + 134px);
        padding: 50px 50px 0;
    }
}
@media screen and (max-width: 1366px) {
    .container {
        max-width: 1280px;
    }
    header .AB-logo {
        width: 270px;
    }
    header .headerBar {
        height: 100px;
    }
    header + section {
        margin-top: 164px;
    }
    #full-width-bg-image h1 {
        font-size: 40px;
    }
}
@media screen and (max-width: 1280px) {
    footer .footer-logos {
        max-width: 390px;
    }
    header + section {
        margin-top: 164px;
    }
    header .AB-logo {
        width: 230px;
    }
    .section-atelier .atelier-list {
        padding: 0 50px;
    }
    /* .AB-card {
        width: calc(100% * 3 + 48px);
    } */
    .AB-card.show {
        height: calc(100% * 2 + 22%);
    }
    .copyright-section a, .copyright-section p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1240px) {
    header .menu-item {
        margin-left: 16px;
    }    
    footer .footer-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .footer-logos {
        max-width: 100%;
    }
    footer .footer-logos img {
        margin: auto;
    }
    footer .footer-menu, footer .footer-contact, footer .footer-mail {
        height: auto;
        padding-right: 6px;
        width: 100%;
        text-align: center;
    }
    footer div:not(.footer-logos) ul li:not(:last-child) {
        margin-bottom: 8px;
    }
    footer .footer-contact .adresse {
        padding-right: 0;
    }
    footer .footer-menu ul li {
        padding-bottom: 4px;
    }
    footer .footer-mail input[type="email"] {
        width: 400px;
        margin: 0 auto;
    }
    footer .footer-mail .AB-btn-dark {
        margin-top: 14px;
    }
    footer .footer-logos .prefet-img {
        padding: 0 92px;
    }
    header .navbar-expand-lg .navbar-nav .menu-item > a {
        font-size: 18px;
        letter-spacing: 0;
    }
    /* footer .footer-menu {
        text-align: center;
    } */
    #categories .categorie-link {
        font-size: 20px;
    }
    #categories {
        padding: 60px 0;
    }
    #histoire .histoire-bg-absolute {
        top: -85px;
        left: 20px;
        width: 400px;
        height: auto;
    }
    h2 {
        font-size: 30px;
        margin-bottom: 24px;
    }
    #histoire .histoire-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    #histoire .histoire-content {
        padding: 80px 35px 52px 180px;
    }
    #chiffres .chiffres-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    #chiffres .chiffres-list li {
        width: 33%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin: 30px 0;
    }
    #chiffres .counter + p {
        width: max-content;
        font-size: 24px;
        color: #fff;
        padding: 0 22px;
        text-align: center;
        margin: auto;
    }
    #chiffres {
        padding: 32px 0 50px;
    }
    #processus .AB-card {
        padding: 60px 40px 50px;
        margin-bottom: 68px;
    }
    h2.h2-margin {
        margin: 30px auto;
    }
    #processus .img-text p {
        font-size: 18px;
    }
    #processus div p {
        font-size: 18px;
    }
    .bloc {
        padding: 50px 30px;
        margin-bottom: 35px;
    }
    .img-text p {
        font-size: 19px;
    }
    #localisation .localisation-banner ul li p {
        font-size: 22px;
    }
    #localisation .localisation-banner img {
        width: 48px;
        height: 48px;
        margin-right: 16px;
    }
    #localisation .map, #localisation .map iframe {
        height: 400px;
        width: 50vw;
    }
    #localisation .localisation-banner ul {
        margin-left: 8px;
    }
    #contact-form form input[type="text"], #contact-form form input[type="email"], #contact-form form input[type="tel"], #contact-form form textarea, #contact-form form .custom-dropdown-btn {
        padding: 18px 18px 18px 20px;
        font-size: 18px;
    }
    #contact-form .form-select, #contact-form form .objet-input .objet-label p {
        font-size: 18px;
    }
    #contact-form .form-select {
        padding: 18px 62px 18px 20px;
    }
    #contact-form .dropdown-item {
        font-size: 18px;
    }
    .AB-card {
        width: calc(100% * 3 + 106px);
    }
    .AB-card.show {
        height: calc(100% * 2 + 38px);
    }
    .red-encart div p {
        color: #fff;
        font-size: 16px;
    }
    #localisation {
        margin: 60px 0 60px;
    }
}
@media screen and (max-width: 1024px) {
    #chiffres .counter , #chiffres .counter * {
        font-size: 44px;
    }
    .section-atelier li p {
        font-size: 14px;
    }
    .section-atelier .atelier-list > li {
        margin-bottom: 20px;
    }
    .img-text img {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    #localisation h2.h2-margin {
        margin: 40px auto;
    }
    .AB-card.show {
        height: calc(100% * 2 + 36px);
    }
    .img-text p {
        font-size: 17px;
    }
    #production .process-content p {
        font-size: 16px;
    }
    #production .bloc {
        width: 260px;
        height: 260px;
        padding: 24px 16px 0;
    }
    .AB-card.show {
        height: calc(100% * 2 + 36px);
    }
    .AB-card {
        width: calc(100% * 3 + 162px);
        padding: 24px 28px 0;
    }
    #production .process-content p,
    #production .process-content ul li {
        font-size: 16px;
    }
    #recrutement-form input:not([type="checkbox"]), #recrutement-form input:not(.AB-btn-primary), #recrutement-form textarea {
        font-size: 18px;
        padding: 16px 8px 15px 18px;
    }
    #recrutement-form h1 {
        margin-bottom: 0;
        font-size: 28px;
    }
    #recrutement-form .sous-titre {
        margin: 20px 0 20px;
        font-size: 16px;
        padding-left: 12px;
    }
    #recrutement-form input::placeholder,
#recrutement-form textarea::placeholder,
    #recrutement-form input,
#recrutement-form textarea {
    font-size: 16px;
}
.AB-btn-primary {
    font-size: 20px;
    padding: 1rem 3rem;
    margin: 60px auto;
}
.copyright-section a {
    font-size: 14px;
}
.page-standard h1 {
    font-size: 28px;
    margin-bottom: 40px;
}
.page-standard * {
    font-size: 18px;
}
#recrutement-form .wpcf7-form-control.wpcf7-submit.AB-btn-primary {
    font-size: 18px;
    padding: 1rem 3rem;
}
header + section {
    margin-top: 164px;
}
#actus .blog-media-bottom div iframe {
    width: 100%;
    height: 54vw;
}
}
@media screen and (max-width: 992px) {
    header .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
}
@media screen and (max-width: 991px) {
    header #AB-navBar > div {
        justify-content: flex-start;
        flex-grow: 0;
    }
    header .menu-item {
        margin-left: 10px;
    }
    .copyright-section ul > li {
        margin: 0 10px;
        width: 25%;
        padding: 6px 0;
        justify-content: center;
    }
    .copyright-section ul > li > a {
        display: block;
        text-align: center;
    }
    .copyright-section ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    header .navbar-expand-lg .navbar-nav {
        align-items: flex-start;
    }
    header .headerBar {
        height: auto;
    }
    header + section {
        margin-top: 148px;
    }
    header .menu-top-header-item p {
        font-size: 18px;
    }
    header .menu-top-header-item img {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    #categories .col-md-4 {
        padding: 12px;
    }
    #chiffres .chiffres-list li {
        width: 50%;
    }
    #histoire .histoire-bg-absolute {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: auto;
        position: absolute;
    }
    #histoire .histoire-content {
        padding: 436px 50px 30px;
    }
    #histoire {
        margin: 70px auto 60px;
    }
    h2 {
        font-size: 32px;
    }
    #histoire .histoire-content p {
        font-size: 16px;
    }
    #valeurs {
        padding: 60px 0;
    }
    #full-width-bg-image.small-height-bg {
        height: 385px;
    }
    #processus .AB-card .img-text {
        margin-bottom: 24px;
    }
    #processus .AB-card {
        padding: 36px 28px 40px;
        margin-bottom: 56px;
    }
    .section-atelier .atelier-list {
        padding: 0 10px;
    }
    .section-atelier h2 {
        margin-bottom: 30px;
    }
    #confiance .logo-confiance {
        margin: 20px 0;
    }
    #confiance .logo-confiance > div[class*="col"]{
        margin: 20px 0;
    }
    .AB-card {
        padding: 22px 34px;
        width: 76.2vw;
    }
    .item-id-1 .AB-card,
    .item-id-3 .AB-card,
    .item-id-5 .AB-card,
    .item-id-7 .AB-card,
    .item-id-9 .AB-card,
    .item-id-11 .AB-card {
        left: 0;
        right: initial;
        transform: translateX(0);
    }
    .item-id-2 .AB-card,
    .item-id-4 .AB-card,
    .item-id-6 .AB-card,
    .item-id-8 .AB-card,
    .item-id-10 .AB-card,
    .item-id-12 .AB-card {
        left: initial;
        right: 0;
        transform: translateX(0);
    }
    .item-id-11 .AB-card,
    .item-id-12 .AB-card {
        top: initial;
        bottom: 0;
    }
    header .navbar-expand-lg .navbar-nav .menu-item > a::after {
        display: none;
    }
    header .navbar-expand-lg .navbar-nav .menu-item.current_page_item a {
        color: #C82329;
    }
    #categories .categorie-link {
        font-size: 17px;
    }
    #produits p {
        font-size: 18px;
    }
    .to_right::after {
        width: 270px;
        background-size: 260%;
    }
    .to_down::before {
        background-size: 55%;
    }
    .AB-card .img-text img {
        width: 80px;
        height: 80px;
        margin-bottom: 4px;
    }
    .AB-card .img-text p {
        margin-bottom: 8px;
    }
    .AB-card > .row:nth-of-type(2) {
        margin-top: 1rem;
    }
    #production .process-content p, #production .process-content ul li {
        font-size: 15px;
    }
    #production .bloc .process-content ul li * {
        font-size: 15px;
    }
    #contact-form form .objet-input .objet-label {
        left: 32px;
    }
    #actus .blog-title {
        font-size: 16px;
    }
    #actus .blog-content * {
        font-size: 14px;
    }
    #production .img-text p {
        font-size: 16px;
    }
    #production .bloc .process-content {
        align-items: initial;
    }
}
@media screen and (max-width: 768px) {
    .AB-card {
        width: 84vw;
    }
    .custom-checkbox {
        flex-direction: column;
        margin-top: 22px;
    }
}
@media screen and (max-width: 767px) {
    header .menu-top-header-item p {
        display: none;
    }
    header .menu-top-header-item img {
        margin-right: 0;
    }
    header .menu-top-header-item:first-child {
        margin-right: 12px;
    }
    header .top-bar .menu-top-header {
        padding-right: 0;
    }
    header .logo-bcs {
        width: 55px;
        height: 55px;
    }
    header .top-bar {
        height: 68px;
    }
    header .menu-top-header-item:nth-child(2) img {
        padding-top: 5px;
    }
    header + section {
        margin-top: 150px;
    }
    #full-width-bg-image.small-height-bg {
        height: 230px;
    }
    #full-width-bg-image h1 {
        font-size: 50px;
    }
    footer .footer-logos .prefet-img {
        padding: 0 20px;
    }
    footer div:not(.footer-logos) ul li:not(:last-child) {
        margin-bottom: 4px;
    }
    .navbar>.container-fluid {
        padding: 0;
    }
    #categories {
        padding: 42px 0;
    }
    footer .footer-contact a {
        font-size: 16px;
    }
    .copyright-section ul > li {
        margin: 0 6px;
        padding: 4px 0;
        width: 100%;
    }
    .copyright-section ul > li > a {
        font-size: 14px;
    }
    #chiffres .chiffres-list li {
        width: 100%;
        margin: 26px 0;
    }
    #chiffres .chiffres-list li figure {
        max-width: 46px;
    }
    #chiffres .counter , #chiffres .counter * {
        font-size: 40px;
    }
    #chiffres .counter + p {
        font-size: 20px;
        padding: 0 8px;
    }
    #histoire .histoire-content {
        padding: 430px 26px 30px;
    }
    h2 {
        font-size: 30px;
    }
    #histoire .histoire-content p,
    #histoire .histoire-content p b {
        font-size: 16px;
    }
    #full-width-bg-image h1 {
        font-size: 30px;
    }
    #valeurs div .col-md-4 {
        margin-bottom: 42px;
    }
    #valeurs {
        padding: 55px 0;
    }
    #question .red-title + p,
    #question .red-title + p * {

        margin-top: 16px;
        font-size: 16px;
    }
    #question .question-item {
        padding: 26px 20px;
    }
    #question .col-lg-6 {
        padding: 24px;
    }
    .AB-btn-primary {
        font-size: 16px;
        margin: 48px auto;
    }
    #question .red-subtitle, #question .red-subtitle * {
        font-size: 15px;
        color: #CC0102;
    }
    #question .red-subtitle {
        margin-top: 20px;
    }
    .img-text img {
        width: 130px;
        height: 130px;
        margin-bottom: 20px;
    }
    .red-encart {
        padding: 40px 20px 55px;
        border-radius: 72px;
    }
    .section-atelier .atelier-list > li {
        width: 100%;
        padding-right: 0px;
    }
    .section-atelier li img {
        width: 30px;
        height: 30px;
        margin-right: 12px;
    }
    h2.h2-margin {
        margin: 54px auto;
    }
    .img-text p {
        font-size: 16px;
    }
    #localisation .map, #localisation .map iframe {
        height: 360px;
        width: 100%;
    }
    #localisation .localisation-banner {
        height: auto;
        padding: 30px 0;
    }
    #localisation .localisation-banner ul {
        margin-left: 20px;
        margin-top: 32px;
    }
    #localisation .localisation-banner ul li p {
        font-size: 20px;
    }
    #localisation .localisation-banner img {
        width: 36px;
        height: 36px;
        margin-right: 15px;
        flex-shrink: 0;
    }
    #localisation {
        margin-bottom: 60px;
    }
    .AB-card {
        width: calc(100%);
    }
    #produits p {
        font-size: 18px;
    }
    #production .bloc {
        width: 80%;
        height: 260px;
    }
    #production .process-content p, #production .process-content ul li, #production .bloc .process-content ul li * {
        font-size: 14px;
    }
    .custom-checkbox .wpcf7-list-item-label, .custom-checkbox p, .custom-checkbox p * {
        font-size: 14px;
    }
    #recrutement-form .sous-titre {
        font-size: 16px;
        padding-left: 6px;
    }
    #recrutement-form {
        padding: 30px 0;
    }
    #recrutement-form .wpcf7 form .wpcf7-response-output, #contact-form .wpcf7 form .wpcf7-response-output {
        font-size: 14px;
    }
    #contact-form .form-select option {
        font-size: 16px;
    }
    #actus .actus-item {
        width: 95%;
        margin: 0 auto 18px;
        padding-bottom: 20px;
    }
    .page-standard .container {
        padding: 0 12px;
    }
    .page-standard * {
        font-size: 14px;
    }
    .page-standard h2 {
        margin: 22px auto;
        font-size: 20px;
    }
    .page-standard h3 {
        margin: 14px auto;
        font-size: 16px;
    }
    #production .flex-item {
        flex: 1 0 100%;
        margin-bottom: 30px;
    }
    #production .bloc {
        max-width: 90%;
    }
    #production .bloc .process-media {
        width: 100%;
        height: 42vw;
    }
    #production .AB-card.show {
        height: 580px;
    }
    #production .flex-item.clicked {
        height: 580px;
    }
    #production .AB-card-row {
        display: flex;
        align-items: center;
        height: auto;
        padding: 34px 0 12px;
        flex-direction: column;
    }
    #production .bloc .process-content {
        max-height: 140px;
        height: 100%;
        align-items: initial;
        padding: 0 14px;
    }
    #production .flex-item.clicked:not(.has_media) .AB-card.show {
        height: 320px;
    }
    #production .flex-item.clicked:not(.has_media) {
        height: 320px;
    }
    #production .bloc .process-media .mejs-container, #production .bloc .process-media .mejs-mediaelement, #production .bloc .process-media video {
        height: 100% !important;
        width: 100% !important;
    }
    #production .AB-card .img-text {
        max-width: 386px;
        min-width: 90%;
    }
    .section-atelier .atelier-img {
        height: 55vh;
    }
    #actus h1 {
        font-size: 28px;
        margin: 30px 0;
    }
    .section-atelier .atelier-img .atelier-overlay {
        height: 150vh;
    }
}
@media screen and (max-width: 424px) {
    .red-title {
        font-size: 22px;
    }
    footer .footer-mail input[type="email"] {
        width: 90vw;
        margin: 0 auto;
    }
    #question .question-item img {
        width: 60px;
        height: 60px;
    }
    #valeurs figure {
        max-width: 80px;
        min-height: 98px;
    }
    header .AB-logo {
        width: 220px;
    }
    .headerBar .container {
        padding: 0;
    }
    header + section {
        margin-top: 135px;
    }
    #full-width-bg-image {
        height: 210px;
    }
    #histoire .histoire-bg-absolute {
        width: 250px;
    }
    #histoire .histoire-content {
        padding: 390px 26px 30px;
    }
    h2 {
        font-size: 25px;
    }
    #full-width-bg-image h1 {
        font-size: 28px;
    }
    #processus div p, #production .red-encart p {
        font-size: 15px;
    }
    .section-atelier li p {
        font-size: 14px;
    }
    .img-text img {
        width: 90px;
        height: 90px;
        margin-bottom: 10px;
    }
    #localisation .localisation-banner ul {
        margin-left: 8px;
        margin-top: 26px;
    }
    #localisation .localisation-banner ul li p {
        font-size: 16px;
    }
    #localisation .map, #localisation .map iframe {
        height: 280px;
    }
    #contact-form form input[type="text"], #contact-form form input[type="email"], #contact-form form input[type="tel"], #contact-form form textarea, #contact-form form .custom-dropdown-btn {
        padding: 14px 14px 14px 18px;
        font-size: 16px;
    }
    #contact-form .dropdown-item {
        font-size: 16px;
    }
    #produits p {
        padding: 12px 14px 24px;
        font-size: 14px;
    }
    #production .bloc {
        width: 100%;
        height: 260px;
        padding: 24px 12px 0;
    }
    #production .bloc .process-media {
        height: 200px;
        max-width: 100%;
        margin-top: 24px;
    }
    #production .bloc .process-content {
        max-height: 140px;
    }
    #recrutement-form h1 {
        font-size: 26px;
    }
    #contact-form .form-select, #contact-form form .objet-input .objet-label p {
        font-size: 14px;
    }
    #actus .blog-top, #actus .blog-bottom, #actus .blog-media-bottom {
        padding-left: 10px;
        padding-right: 10px;
    }
    #actus .blog-top {
        padding-top: 12px;
    }
    #production .flex-item.clicked .bloc {
        max-width: 100%;
        width: 100%;
    }
}
@media screen and (max-width: 374px) {
    #full-width-bg-image h1 {
        font-size: 24px;
    }
    .section-atelier li p {
        font-size: 13px;
    }
    h2.h2-margin {
        margin: 42px auto;
    }
}