/*----------  Custom start  ---------*/



/*body{ background-color: #1005E2 !important; }*/
@font-face {
    font-family: 'DIN-Light';
    src: url('/wp-content/themes/byd/fonts/DIN-Light.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/DIN-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN-neuzet-grotesk';
    src: url('/wp-content/themes/byd/fonts/DINNeuzeitGroteskStd-BdCond.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/DINNeuzeitGroteskStd-BdCond.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN-30640-Std';
    src: url('/wp-content/themes/byd/fonts/DINNeuzeitGroteskStd-BdCond.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/DINNeuzeitGroteskStd-BdCond.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'antoniobold';
    src: url('/wp-content/themes/byd/fonts/antonio-bold-webfont.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/antonio-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}


@font-face {
    font-family: 'antonioregular';
    src: url('/wp-content/themes/byd/fonts/antonio-regular-webfont.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/antonio-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'typo_din_light';
    src: url('/wp-content/themes/byd/fonts/d-din-webfont.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/d-din-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'd-dindin-bold';
    src: url('/wp-content/themes/byd/fonts/d-din-bold-webfont.woff2') format('woff2'),
        url('/wp-content/themes/byd/fonts/d-din-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

/* Import de la police DIN Light Regular */
@font-face {
    font-family: 'typo_din_light';
    src: url('../fonts/din-light-regular/DIN Light Regular/DIN Light Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body>div.content-page.contact>div>div {
    align-items: center !important;

    justify-content: space-around;
}

.content-page.contact .contact-left-byd form {

    max-width: 100% !important;


}

body>div.content-page.galerie>div>div {
    float: none !important;
}

body>div.content-page.about>div>div:nth-child(1)>div>img:nth-child(2) {

    width: 100% !important;
}

div#wpcf7-f29-o1 {
    width: 100%;
}

.content-page .row-home .hover-item p {
    text-align: left !important;
}

.clr {
    clear: both;
}

.container {}

.hide {
    display: none;
}

.content-none {
    min-height: 100vh;
}

.row.blc-content {
    margin: 0;
}

/*----- Accueil ------*/
.content-header {
    border-bottom: solid 20px #1005E2;
    background: url(/wp-content/themes/byd/img/by105_accueil_menu_depli-Recupere_02.jpg);
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-header.home {
    background: url(/wp-content/themes/byd/img/preload-home.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.content-header.home .header-top {
    max-width: 100%;
}

.content-header.home .header-top {
    height: auto;
    margin-bottom: -5px;
    min-height: 100%;
}

.content-header .header-top {
    display: block;
    height: 765px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.toogle-menu i {
    display: block;
    position: absolute;
    top: 35px;
    left: 55px;
    width: 35px;
    height: 25px;
    background: url(/wp-content/themes/byd/img/by105_accueil_menu_depli_06.png);
    background-repeat: no-repeat;
    background-size: cover;
}

a.link-inta {
    display: block;
    position: absolute;
    top: 30px;
    left: 10px;
    width: 35px;
    height: 35px;
    background: url(/wp-content/themes/byd/img/by105_accueil_menu_depli_03.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.content-header .menu-top-site {
    z-index: +2;
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    background: rgba(16, 05, 226, 0.9);
    position: fixed;
}

.content-header .menu-top-site.active {
    display: block;
}

.content-header .menu-top-site ul {
    display: block;
    width: 500px;
    margin: 40px auto;
}

.content-header .menu-top-site ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 35px;
}

.content-header .menu-top-site ul li a {
    color: #dafe1b;
    font-family: 'DIN-30640-Std', Arial;
    text-transform: uppercase;
    font-size: 45px;
}

.safari .item-right-img,
.safari .item-left-img {
    float: left;
}

.safari .item-left-img.small {
    max-width: 23% !important;
    width: 23% !important;
}

.safari .item-left-img.large {
    max-width: 72% !important;
    width: 72% !important;
}

.content-page .row-home .item-left-img:hover .hover-item {
    display: block;
    transition-property: width;
    transition-duration: 2s;
    transition-timing-function: ease-in;
    transition-delay: .5s;
}

.content-page .row-home .item-right-txt:hover .hover-item {
    display: block;
    transition-property: width;
    transition-duration: 2s;
    transition-timing-function: ease-in;
    transition-delay: .5s;
}

.content-page .row-home .item-right-img:hover .hover-item {
    display: block;
    transition-property: width;
    transition-duration: 2s;
    transition-timing-function: ease-in;
    transition-delay: .5s;
}

.content-page .row-home .hover-item {
    display: none;
    background-color: #FF0028;
    width: 100%;

    height: 100%;
    position: absolute;
    top: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

body>div.content-page>div:nth-child(1)>div.col-md-9.item-right-img.large>a,
body>div.content-page>div:nth-child(2)>div.col-md-3.item-right-img.small>a,
body>div.content-page>div:nth-child(3)>div.col-md-9.item-right-img.large>a {
    margin-left: 15px;

}

.content-page .row-home .hover-item div {
    display: block;
    position: absolute;
    max-height: 100px;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 25px;
}

.content-page .row-home .hover-item h2,
.content-page .row-home .item-right-txt.red .hover-item h2 {
    transform: scaleY(1.15);
    -webkit-transform: scaleY(1.6);
    -moz-transform: scaleY(1.6);
    -ms-transform: scaleY(1.6);
    -o-transform: scaleY(1.6);
    color: #dafe1b;
    text-transform: uppercase;
    font-family: 'DINNeuzeitGroteskStd-BdCond ', Arial;
    font-size: 28px;
}

.content-page .row-home .hover-item p {
    color: #dafe1b;
    text-transform: uppercase;
    margin-top: 30px;
    font: normal normal normal 13px/18px din-next-w01-light, din-next-w02-light, din-next-w10-light, sans-serif;
    transform: scaleY(1.15);
    -webkit-transform: scaleY(1.15);
    -moz-transform: scaleY(1.15);
    -ms-transform: scaleY(1.15);
    -o-transform: scaleY(1.15);
}

.content-page .row-home {
    border-bottom: solid 20px #1005E2;
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    background-color: #1005E2;
}

.content-page .row-home [class*='col-'] {
    min-height: 700px;
    max-height: 700px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.content-page .row-home .item-right-txt.red {
    background-color: #FF0028;
    border-left: solid 20px #1005E2;
}

.content-page .row-home .item-right-txt.red:hover {
    padding-left: 0;
    padding-right: 0;
}

.content-page .row-home .item-right-txt.red h2 {
    color: #dafe1b;
    font-family: 'DINNeuzeitGroteskStd-BdCond', Arial;
    font-size: 25px;
    text-transform: uppercase;
}

.content-page .row-home .item-right-txt.red .blc-txt {
    display: block;
    width: 200px;
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 200px;
}

.content-page .row-home .item-right-txt.red .blc-txt p {
    font-family: 'typo_din_light', Arial;
    text-transform: uppercase;
    color: #dafe1b;
}

.content-page .row-home .item-left-img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    position: relative;
}

.content-page .row-home .item-left-img,
.content-page .row-home .item-right-img {
    overflow: hidden;
    position: relative;
}

.content-page .row-home .item-left-img {
    padding-left: 0;
    padding-right: 0;
}

.content-page .row-home .item-left-img div.kg {
    display: block;
    position: relative;
    backgroun: url('/wp-content/themes/byd/img/4kg.png');
    background-repeat: no-repeat;
}

.content-page .row-home .item-right-img {
    padding-right: 0;
}

.content-page .row-home .item-right-img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.content-footer {
    background-color: #1005E2;
    padding-top: 75px;
    margin: 0 !important;
}

.content-footer .logo-footer {
    width: 225px;
    margin: 0 auto;
    max-width: 200px;
}

.content-footer p,
.content-footer ul li a {
    color: #fff;
}

.content-footer ul li a {
    font-family: "d-dindin-bold", Arial;
}

.content-footer .footer-wrapp {
    max-width: 1024px;
    margin: 0 auto;
}

.content-footer ul li {
    list-style: none;
    margin-bottom: 20px;
}

.content-footer .txt-footer {
    width: 250px;
}

.content-footer .txt-footer p {
    font-family: 'typo_din_light', Arial;
    text-align: left;
}

.content-footer .footer-wrapp .social-footer {
    display: block;
    width: 20px;
    float: right;
    margin-right: 30px;
}

.content-footer .footer-wrapp .social-footer ul li {
    width: 25px;
    height: 25px;
    overflow: hidden;
}

.content-footer .footer-wrapp .social-footer ul li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-footer .footer-wrapp p {
    margin: 10px 10px 10px 0;
    font-family: 'typo_din_light', Arial;
}

.content-footer .txt-footer p {
    margin: 0;
}

.content-footer #menu-menu-principal-1 {
    padding-left: 0;
}

.content-footer .footer-wrapp.first-row {
    display: table;
    width: 1024px;
    margin-bottom: 40px;
}

.link-second-footer {
    padding-left: 0;
}

.header-top ul.top-items-left li {
    display: inline-block;
    list-style: none;
    width: 35%;
    height: auto;
    overflow: hidden;
    position: relative;
    z-index: 1
}

.header-top ul.top-items-left li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.header-top ul.top-items-left li.close-menu {
    display: none;
}

.header-top ul.top-items-left li.close-menu.active {
    display: block;
    z-index: +2;
    position: fixed;
    width: 40px;
    height: 40px;
    left: 140px;
}

.header-top .top-items-left {
    position: absolute;
    top: 40px;
    display: flex;
    left: 0;
    align-items: center;
    justify-content: space-around;

}

.content-header.home .header-top .top-items-left {
    z-index: 1;
}

.content-header.home .header-top .top-items-left.close {
    z-index: +2;
}

/*----------  About ---------*/
.content-header.about {
    background-image: none;
    background-color: #FF0028;
    border-bottom: none;
}

.content-header.about .header-top {
    height: auto;
}

#menu-open-link {
    width: 40%;
}

.header-top ul.top-items-left li.logo-yellow {
    margin: 0;
    width: 35%;
    height: auto;

}

.content-page.about {
    background-color: #FF0028;
    border-bottom: none;
}

.content-page.about .blc-content {
    max-width: 1024px;
    margin: 0 auto;
}

.content-page.about .blc-content {}

.content-page.about .blc-content .txt-left p,
.content-page.about .blc-content .txt-right p {
    color: #fff;
    font-family: 'typo_din_light', Arial;
    font-size: 16px;
    line-height: 35px;
    margin-bottom: 20px;
    width: 85%;
    text-align: justify;
}

.content-page.about .blc-content .txt-left p:first-of-type {
    PADDING-LEFT: 150PX;
    padding-top: 120px;
    width: 135%;
}

.content-page.about .blc-content .txt-right {
    background: url(/wp-content/themes/byd/img/version-bleu-e-blanc.png);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 30%;
    background-size: contain;
}

.content-page.about .blc-content .txt-left {
    background: url(/wp-content/themes/byd/img/hachures.png);
    background-repeat: no-repeat;
    background-position: top right;
    padding-right: 46%;
    background-size: contain;
}

.content-page.about .blc-content .img-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.txt-bottom {
    margin-top: 40px;
    margin-bottom: 40px;
}

.txt-bottom p,
.txt-bottom a,
.txt-bottom a:hover {
    text-decoration: none;
    font-family: 'typo_din_light', Arial;
    color: #fff;
    font-size: 16px;
    line-height: 31px;
    text-align: justify;
}

.txt-bottom p b {
    font-family: 'd-dindin-bold', Arial;
    color: #fff;
}

.content-page.about .blc-content .txt-left p {
    padding-left: 150PX;
    font-family: 'typo_din_light', Arial;
    color: #fff;
    width: 135%;
}

.content-page.about .blc-content .txt-left p b {
    font-family: 'd-dindin-bold', Arial;
    color: #fff;
}

.content-footer.about {
    background-color: #FF0028;
}

.content-footer.about .footer-wrapp.first-row .col-md-4 {
    padding: 0;
}

/*----------  Engagements ---------*/
.txt-white p {
    color: #fff;
    font-family: 'typo_din_light', Arial;
    font-size: 16px;
    line-height: 35px;
    margin-bottom: 40px;
}

.txt-white p:first-of-type {
    padding-top: 120px;
}

.txt ul li {
    position: relatve;
    list-style: none;
    color: #fff;
    font-family: 'typo_din_light', Arial;
    font-size: 16px;
    line-height: 35px;
    text-transform: uppercase;
}

.txt ul li::before {
    width: 10px;
    height: 2px;
    content: '-';
    color: #fff;
    position: absolute;
    left: 15px;
}

.txt ul {
    padding-left: 0;
    margin-left: 25px;
}

.txt.align-right ul li {
    text-align: right;
}

.txt.align-right ul li::before {
    display: none;
}

.txt-white {}

.circle-yellow {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #DAFE1D;
    position: absolute;
    margin-top: 20%;
}

.content-img {
    position: relative;
}

.row-item {
    margin-bottom: 40px;
}

.col-md-12.txt {
    text-align: right;
}

.col-md-12.txt ul li::before {
    display: none;
}

.txt ul.align-left {
    margin-left: 60px;
}

.txt ul.align-left li {
    list-style: none;
    text-align: left;
}

.txt ul.align-left li::before {
    display: block;
    width: 10px;
    height: 2px;
    content: '-';
    color: #fff;
    position: absolute;
    left: 50px;
}

.btn-yellow {}

/*----- Contact ------*/
.content-map {
    display: block;
    width: 1024px;
    margin: 0 auto;
    padding-top: 65px;
    padding-bottom: 60px;
}

.content-map .col-md-12.no-padding {
    display: table;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    padding-top: 40px !important;
}

.content-map .col-md-12.no-padding .col-md-6 {
    display: flex;
    flex-direction: column;
}

#map {
    min-height: 600px;
}

.content-page.contact {
    background-color: #1005E2;
    height: auto;
    display: table;
    margin: 0 auto;
    width: 100%;
}

.content-page.contact .form-control {
    border-radius: 0;
    background-color: #0e04c0;
    color: #dafe1b;
    font-family: "typo_din_light", Arial;
    border: none;
}

.content-page.contact textarea.form-control {
    min-height: 180px;
}

.content-page.contact .form-control::placeholder {
    color: #dafe1b;
    font-family: "typo_din_light", Arial;
}

.no-padding {
    padding: 0 !important;
}

.col-md-6.contact-left-byd {
    padding: 0;
}

.btn-submit-byd {
    color: #dafe1b;
    background-color: #FF0028;
    display: table !important;
    width: auto;
    margin: 40px auto;
    font-family: 'd-dindin-bold', Arial;
    border-radius: 0 !important;
    min-width: 130px;
    padding: 0 !important;
}

ul.lst-contact-infos {
    position: relative;
    margin-left: 15px;

}

ul.lst-contact-infos li {
    list-style: none;
    text-align: left;
    padding-left: 20px;
    margin-bottom: 45px;
}

ul.lst-contact-infos li img {
    width: 25px;
    position: absolute;
    left: 0;
}

ul.lst-contact-infos li a,
ul.lst-contact-infos li p {
    color: #dafe1b;
    font-family: 'typo_din_light', Arial;
    font-size: 16px;
}

.content-page.contact h2 {
    color: #dafe1b;
    font-family: 'DINNeuzeitGroteskStd-BdCond', Arial;
    margin: 0 0 40px 0;
    text-align: left;
    font-size: 25px !important
}

.content-page.contact h2.red {
    color: #FF0028;
    /*margin-top:80px;*/
    margin: 0 0 35px 0;
    font-size: 25px !important
}



.content-page.contact .contact-right-byd::after {
    display: block;
    width: 200px;
    height: 209px;
    content: '';
    background: url(/wp-content/uploads/2020/09/by_105_2.gif);
    background-repeat: no-repeat;
    right: -75px;
    top: 0;
    background-size: contain;
}

/*--------- Référence ------------*/
.row.blc-content.content-reference {
    max-width: 1024px;
    margin: 0 auto;
}

.row.blc-content.content-reference h1 {
    color: #dafe1b;
    text-transform: uppercase;
    margin-top: 80px;
}

.blocks-gallery-grid,
.wp-block-gallery {
    margin-top: 90px;
}

.blocks-gallery-grid.is-cropped .blocks-gallery-image a,
.blocks-gallery-grid.is-cropped .blocks-gallery-image img,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img,
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
    object-fit: contain !important;
}

.twoj_slideshow__dot {
    background-color: #fff !important;
}

.img-grises {
    width: 100%;
    margin: 0 auto;
    float: none;
}

@media (max-width: 1099px) {
    .img-grises ul {
        padding-left: 0px;
        text-align: center;
    }
}

@media (min-width: 1100px) {
    .img-grises ul {
        padding-left: 30px;
    }
}

.img-grises .slick-list.draggable {
    /* position:absolute;
    left:0; */
}

.img-grises li {
    list-style: none;
    width: 150px;
    height: 150px;
    margin: 30px;
    display: inline-block;
}

.img-grises img {
    /* filter: grayscale(100%); */
    display: block;
    object-fit: contain;
    width: 100%;

    -webkit-transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -ms-transition: all 1.5s ease;
    -o-transition: all 1.5s ease;
    transition: all 1.5s ease;
    z-index: 40 !important;
}

ul.center li img {
    width: 100%;
    object-fit: contain;
}

.slick-prev.slick-arrow {
    background-size: 110px;
    display: block;
    width: 30px !important;
    height: 30px !important;
    background: url('/wp-content/themes/byd/img/by105_galerie_03.jpg') !important;
    background-size: cover !important;
}

.slick-next.slick-arrow {
    background-size: 110px;
    display: block;
    width: 35px !important;
    height: 35px !important;
    background: url('/wp-content/themes/byd/img/by105_galerie_05.jpg') !important;
    background-size: cover !important;
}

.slider-logo-byd .slick-prev,
.slider-logo-byd .slick-next {
    display: block;
    width: 30px !important;
    height: 30px !important;
    background-size: cover;
}

.slick-prev:before,
.slick-next:before {
    display: none;
}

.slick-next {
    background-position: -38px 0px !important;
}

.slider-logo-byd {
    margin-top: 60px;
}

.blc-content .galerie-byd {
    margin-top: 90px !important;
}

.galerie-byd .slick-next,
.slider-logo-byd .slick-next {
    background-position: 0 0 !important;
    background: url('/wp-content/themes/byd/img/by105_galerie_05.jpg') !important;
    background-size: cover !important;
}

.galerie-byd .slick-prev,
.slider-logo-byd .slick-prev {
    background: url('/wp-content/themes/byd/img/by105_galerie_03.jpg') !important;
    background-position: 0 0 !important;
    background-size: cover !important;
    z-index: 9;
}

/*----- Galerie ------*/
.content-page.galerie {
    background-color: #1005E2;
}

.blc-content .galerie-byd {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

.blc-content .galerie-byd .item-ative {
    margin-top: 40px;
    max-width: 1024px;
    max-height: 600px;
    /* min-height: 600px;*/
}

.blc-content .galerie-byd .item-ative img {
    object-fit: contain;
    width: 100%;
    display: block;
}

.blc-content .galerie-byd .lst-items {
    margin-top: 15px;
}

.blc-content .galerie-byd .lst-items ul {
    padding: 0;
}

.blc-content .galerie-byd .lst-items ul li {
    display: inline-block;
    list-style: none;
    margin: 5px;
    width: 115px;
    display: none;
}

.blc-content .galerie-byd .lst-items ul li:last-of-type {
    margin-right: 0;
}

.blc-content .galerie-byd .lst-items ul li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content-page.galerie .slider-logo-byd {
    max-width: 1024px;
    margin: 80px auto auto auto;
}

.content-page.galerie .slider-logo-byd ul li {
    list-style: none;
    display: inline-block;
    width: 200px;
    margin: 10px;
    height: 200px;
}

.content-page.galerie .slider-logo-byd ul li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: table;
}

/* .content-page.galerie{ background: url(/wp-content/themes/byd/img/Layer-2.jpg);background-repeat:no-repeat; } */
.slick-thumbs ul li {
    list-style: none;
    display: inline-block;
}

.galerie-byd .slick-dots li {
    width: 120px !important;
    margin: 10px 10px 10px 15px;
    height: 120px;
    overflow: hidden;
    position: relative;
}

.lst-items.slick-thumbs li.slick-active,
.lst-items.slick-thumbs li.slick-current.slick-center:after,
.lst-items.slick-thumbs li.slick-current.slick-active:after {
    display: none;
}

.content-page.galerie .lst-items ul li.slick-current:after {
    display: none;
}

.lst-items.slick-thumbs li:after {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    content: "";
    top: 0;
}

.galerie-byd .slick-dots li:first-of-type {
    margin-left: 33px;
}

.galerie-byd .slick-dots li:last-of-type {
    margin-right: 0;
}

.galerie-byd .slick-dots li img {
    height: 100%;
    object-fit: contain;
}

.galerie-byd .slick-dots li button {
    width: 100%;
    height: 100%;
}

.galerie-byd .slick-dots {
    display: none;
    bottom: -160px !important;
    left: 0 !important;
    max-height: 145px;
    overflow: hidden;
}

.galerie-byd .slick-list {
    max-height: 800px;
}

.galerie-byd .slick-prev,
.galerie-byd .slick-next {
    /*display:none !important;*/
    top: 90px;
    bottom: 0;
    margin: auto;
}

.galerie-byd .slick-next {
    right: -44px;
    top: 90px;
}

.fancybox-inner {
    /* width:100% !important; */
}

.lst-items .slick-next {
    right: -70px;
}

.fancybox-overlay-fixed,
.fancybox-overlay {
    background: rgba(16, 05, 226, 0.9) !important;
}

.fancybox-skin {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* .fancybox-opened{ min-width:900px;max-width:900px;height:100% !important;max-height:800px !important;   top: 80px !important;} */
/* .fancybox-opened{ min-width:900px;max-width:900px;height:100% !important;max-height:800px !important;     position: fixed !important;  top: 80px !important;}

.fancybox-opened .fancybox-skin{ height:100% !important;padding:0 !important;min-width:800px;max-width:800px; }
.fancybox-inner{ height:100% !important;  } */
/*

.fancybox-title-float-wrap{     position:relative !important;right: inherit !important;  left: -20px;  text-align: left !important;  margin-bottom: 45px!important; }
.fancybox-title-float-wrap .child{ background-color:transparent !important;white-space: break-spaces !important; }
*/
@media (min-width: 768px) and (max-width: 1024px) {
    .fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened {
        width: 100% !important;
        left: 0 !important;
    }
    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-next {
        right: 0 !important;
    }
    .fancybox-nav.fancybox-prev{
        left: 0 !important;
    }
    .fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened .fancybox-inner {
        width: 100% !important;
    }
}
.fancybox-title-float-wrap .child h3 {
    text-shadow: none;
    font-family: DIN-neuzet-grotesk;
    color: #dafe1b !important;
    text-transform: uppercase;
    text-align: left;
}

.fancybox-title-float-wrap .child p {
    text-shadow: none;
    font-family: DIN-Light;
    color: #dafe1b !important;
    text-transform: uppercase;
    opacity: 0.9;
    font: normal normal normal 15px/15px din-next-w01-light, din-next-w02-light, din-next-w10-light, sans-serif;
}

.fancybox-outer,
.fancybox-inner {
    /* width: 100% !important;
    height: auto !important;
    object-fit: cover;
    max-width: 815px;
    max-height: 750px;*/
}

#wpcf7-f29-o1>form>div.h-captcha {
    display: flex !important;
    justify-content: center;
}

.fancybox-close {
    background-image: url('/wp-content/themes/byd/img/close-menu.png') !important;
    background-size: cover !important;
    left: -60px;
}

.fancybox-inner {
    overflow: hidden !important;
}

body>div.content-page.contact>div {

    display: flex !important;
    justify-content: center;
    width: 50%;
    margin: 0 auto;
}

.fancybox-title-float-wrap .child h3 {
    font-size: 16pt;
    font-family: DIN-neuzet-grotesk;
    margin-top: -15px;
}

.fancybox-title-float-wrap {
    position: relative !important;
    position: relative;
    right: 0 !important;
    z-index: 8050;
    max-width: 800px;
    width: 800px;
    margin: 0 auto;
    display: block;
    text-align: left !important;
}

.fancybox-title-float-wrap.fancybox-title {
    margin-bottom: 0 !important;
    bottom: -35px !important;
}

.fancybox-title-float-wrap .child {
    background-color: transparent !important;
    white-space: normal !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.fancybox-title-float-wrap .child p {
    text-align: left;
    line-height: 14pt;
    font-size: 10pt;
}

.fancybox-title-float-wrap {
    bottom: -90px !important;
}

.fancybox-nav {
    width: 40px !important;
    height: 40px !important;
    margin: auto;
    bottom: 0;
}

.fancybox-nav.fancybox-prev {
    background: url(/wp-content/themes/byd/img/by105_galerie_03.jpg) !important;
    width: 30px !important;
    height: 30px !important;
    bottom: 0;
    margin: auto;
    background-size: 100% 100% !important;
    background-repeat: no-repeat;
    left: -85px;
}

.fancybox-nav.fancybox-next {
    background: url(/wp-content/themes/byd/img/by105_galerie_05.jpg) !important;
    bottom: 0;
    margin: auto;
    right: -85px;
    background-size: 100% 100% !important;
    width: 35px !important;
    height: 35px !important;
}

.fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened {
    /* width:800px !important; */
}

.fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened .fancybox-inner {
    /*  width:100% !important; */
}

.nav>li>a:focus,
.nav>li>a:hover {
    color: #fff !important;
    background-color: transparent !important;
}

.slick-initialized .slick-slide .col-md-3 {
    display: inline-block;
    width: 260px;
}

.safari .slick-initialized .slick-slide .col-md-3 {
    display: inline-block;
    width: 195px;
    margin: 2em;
}

.row-logos.second-row {
    margin-top: 50px;
}

.row-logos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}

.row-logos.row [class*='col-'] {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px 0;
}

.row-logos img {
    display: block;
    width: 100%;
    object-fit: contain;
    max-height: 70px;
    margin: 20px;
}

.safari .row-logos img {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: cover;
}

.safari .slider-logo-byd.desktop.slick-initialized.slick-slider .slick-list.draggable {
    margin-left: 41px
}

/* progress bar */
.slider-progress {
    width: 670px;
    min-height: 570px;
    /* transform: rotate(90deg);
    -webkit-transform: rotate(90deg); */
    right: -140px;
    position: absolute !important;
    display: block;
    top: 90px;
    /* background: url(/wp-content/themes/byd/img/bg-progress.png); */
    background-size: 40px auto;
}

.slider-progress img {
    width: 90px;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    top: -300px;
    position: absolute;
    left: 250px;
    height: 590px;
}

.slider-progress .progress {
    width: 0%;
    height: 3px;
    position: relative;
}

ui-slider-handle:focus {
    border: none !important;
}

.ui-widget.ui-widget-content {
    background: url(/wp-content/themes/byd/img/progress-bar.jpg) !important;
    width: 60px !important;
    border: none !important;
    background-size: cover;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
    background-color: #dafe1b !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    background-color: #dafe1b !important;
    background: #dafe1b !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    margin-left: 45px !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: none !important;
}

.boule {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    /* background-color: #dafe1b; */
    border-radius: 50%;
    position: absolute;
    bottom: 30px;
}

.fancybox-opened .fancybox-title {
    margin-left: 0;
}

.progress {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    /* background-color: #f5f5f5; */
    background-image: linear-gradient(to right, black, black);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size .4s ease-in-out;
    max-width: 560px;
}

.slick-initialized .slick-slide {
    width: 100%;
}

.item-menu-foot ul li {
    margin-bottom: 24px;
}

.content-page.galerie .lst-items {
    display: block;
    max-width: 1024px;
    margin: 5px auto 5px 10px;
}

.content-page.galerie .lst-items ul li {
    width: 120px !important;
    margin: 10px 10px 10px 15px;
    height: 120px;
    overflow: hidden;
    position: relative;
    display: block;
}

.content-page.galerie .lst-items ul li img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.content-page.galerie .slick-dots li button:before {
    display: none !important;
}

.lst-category {
    display: block;
    max-width: 1024px !important;
    margin: 40px auto 0 auto !important;
    background: none !important;
    border: none !important;
}

.lst-category li {
    list-style: none;
    display: inline-block;
    margin: 10px;
}

.lst-category li:first-of-type {
    margin-left: 40px;
}

.lst-category li a {
    color: #dafe1b;
    text-transform: uppercase;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    background-color: transparent !important;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
    color: #dafe1b !important;
    font-weight: bold;
    text-decoration: underline;
    border: solid 1px;
}

.ui-widget.ui-widget-content.ui-tabs {
    width: 100% !important;
    background: none !important;
}

.ui-tabs .ui-tabs-nav li {
    margin: 35px 35px 0 35px !important;
    background: none !important;
    float: none !important;
}

.slickslide {
    padding-left: 0 !important;
}

.slickslide .slick-prev {
    left: -60px !important;
}

.ui-slider .ui-slider-handle:hover,
.ui-slider .ui-slider-handle:focus {
    border: none !important;
    outline: none !important;
}

.ui-slider .ui-slider-handle {
    z-index: auto !important;
}


.fade-in {
    animation: fadeIn ease 20s;
    -webkit-animation: fadeIn ease 20s;
    -moz-animation: fadeIn ease 20s;
    -o-animation: fadeIn ease 20s;
    -ms-animation: fadeIn ease 20s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.fancybox-image {
    object-fit: cover;
    height: 100% !important;
    display: block;
}

.fancybox-image,
.fancybox-iframe {
    display: block;
    width: 100% !important;
    object-fit: cover;
}

.btn-yellow-byd {
    display: table !important;
    padding: 15px;
    border-radius: 10px;
    background-color: #DAFE1D;
    color: #000;
    text-transform: uppercase;
    margin: 40px auto !important;
    font-weight: bold !important;
}

.bx-pager {
    display: none;
}

.bx-wrapper {
    position: relative;
    display: table;
}

.bx-prev,
.bx-next {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    color: transparent;
}

.bx-next {
    right: 0 -38px 0px !important;
    background-position: 0 0 !important;
    background: url(/wp-content/themes/byd/img/by105_galerie_05.jpg) !important;
    background-size: cover !important;
}

.bx-prev {
    left: 0;
    background: url(/wp-content/themes/byd/img/by105_galerie_03.jpg) !important;
    background-position: 0 0 !important;
    background-size: cover !important;
}

.bx-next:hover,
.bx-next:focus {
    color: transparent;
}

.bx-prev:hover,
.bx-prev:focus {
    color: transparent;
}

.video-js {
    width: 100%;
    min-height: 690px;
}

.video-js .vjs-tech {
    width: unset !important;
    height: unset !important;
}

#video-container {
    width: 100%;
    overflow: hidden;
}

#video-container video {
    width: 100%;
    overflow: hidden;
}

.simple-sitemap-container code,
code {
    background-color: transparent !important;
}

.simple-sitemap-container .sitemap-item a {
    color: #fff;
    font-size: 21px;
}

.simple-sitemap-wrap h3.post-type {
    pointer-events: none;
    color: #fff;
    font-size: 28px;
}

.simple-sitemap-wrap h3.post-type code a {
    color: #fff !important;
}

.simple-sitemap-wrap {
    margin-top: 120px;
}

.sitemap-item.page_item.page-item-16 {
    margin-bottom: -20px;
    color: #FF0028;
}

.sitemap-item.page_item.page-item-343 {
    display: none;
}

.slider-logo-byd-mobile {
    display: none;
}

div.wpcf7-response-output {
    color: #ffffff !important;
    text-align: center !important;
}

@media (max-width: 767px) {
    .fancybox-image {
        width: 100% !important;
        height: auto !important;
        position: relative;
        top: 0;
        left: 0;
    }
}


@media (max-width: 768px) {
    #second-slider-referencees .slick-prev.slick-arrow {
        left: 15px;
        top: 200px;
        position: fixed;
        z-index: +1;
    }

    body>div.content-page.contact>div>div>div.col-md-6.row.contact-right-byd {
        display: block;
    }

    #second-slider-referencees .slick-next.slick-arrow {
        right: 0 !important;
        top: 200px;
        position: fixed;
    }

    #second-slider-referencees .slick-next.slick-arrow,
    #second-slider-referencees .slick-prev.slick-arrow {
        display: none !important;
    }

    #tabs- .slick-list.draggable {
        height: auto;
        margin-bottom: 35px;
    }

    .content-page.galerie .slider-logo-byd-mobile {
        width: 80%;
        margin: 0 auto;
        min-height: 145px;
        height: 40px;
    }

    .blc-content .galerie-byd .item-ative {
        min-height: auto;
    }

    .content-page.galerie .slider-logo-byd-mobile .logos {
        width: 80%;
        margin: 0 auto;
        max-height: 100%;
    }

    .content-page.galerie .slider-logo-byd-mobile .slick-prev {
        top: 65px;
        left: -50px;
    }

    .content-page.galerie .slider-logo-byd-mobile .slick-initialized .slick-slide {
        opacity: 0;
    }

    .content-page.galerie .slider-logo-byd-mobile .slick-initialized .slick-slide.slick-active {
        opacity: 1;
        height: 130px;
        align-content: center;
    }

    .content-page.galerie .slider-logo-byd-mobile .slick-initialized .slick-slide.slick-active img {
        display: block;
        width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    .slick-slide img {
        display: block;
    }

    .fancybox-outer {}

    .header-top .top-items-left {
        left: 0;
        top: 20px !important;
    }

    .safari .row-logos img {
        max-height: 145px;
        object-fit: cover;
        width: 180px !important;
        display: table;
        margin: 0 auto;
    }

    .blc-content .galerie-byd {
        max-width: 90% !important;
    }

    .content-page.galerie .lst-items ul li {
        width: 70px !important;
        height: 60px;
    }

    .row-logos.row [class*="col-"] {
        display: block;
        flex-direction: unset;
        margin: 0 0 20px 0;
        width: 100%;
    }

    .fancybox-opened {
        /* top:80px !important; */

    }

    .galerie-byd .slick-list {
        height: auto;
        max-height: auto;
    }

    .fancybox-inner {
        width: auto !important;
        height: auto !important;
    }

    .fancybox-outer,
    .fancybox-inner {
        width: 100% !important;
        /* position: relative;
        width: 100% !important;
        margin: 0 auto !important; */
    }

    .fancybox-opened .fancybox-title {
        width: 100% !important;
    }

    .fancybox-skin {
        height: auto;
        width: 100% !important;
    }

    .fancybox-opened .fancybox-title {
        /* width: 100%; */

    }

    .fancybox-close {
        left: 0;
        top: 20px;
    }

    .fancybox-wrap.fancybox-desktop.fancybox-type-image {
        opacity: 0;
    }

    .fancybox-title-float-wrap .child {
        display: block;
    }

    .fancybox-wrap.fancybox-type-image.fancybox-opened {
        top: 80px !important;
        left: 0 !important;
        -webkit-transition: opacity 2s ease-in-out;
        -moz-transition: opacity 2s ease-in-out;
        -o-transition: opacity 2s ease-in-out;
        transition: opacity 2s ease-in-out;
        width: 100% !important;
        /* top: 80px !important; */
        /*
        height: auto !important;
        left:0 !important; */
    }

    .fancybox-opened .fancybox-skin {}

    .fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened .fancybox-inner {
        /* min-height: 400px !important;
        max-height: 400px !important;
        height:400px !important;
        width:85% !important; */
    }

    .fancybox-nav.fancybox-prev {
        left: 0;
    }

    .fancybox-nav.fancybox-next {
        right: 0;
        width: 20px !important;
        height: 30px !important;
    }

    .blc-content .galerie-byd .lst-items ul #tabs- .slick-list.draggable {
        height: auto;
    }
}


@media (max-width: 768px) {
    .slider-logo-byd-mobile {
        display: block !important;
    }

    .slider-logo-byd.desktop {
        display: none !important;
    }



    .fancybox-wrap.fancybox-desktop.fancybox-type-image .fancybox-inner {
        width: 100% !important;
        max-height: 400px;
        opacity: 0;
        transition: opacity 0.1s;
        -webkit-transition: opacity 0.1s;
    }

    .fancybox-wrap.fancybox-desktop.fancybox-type-image.fancybox-opened .fancybox-inner {
        opacity: 1 !important;
        -moz-transition: all 0.1s ease;
        -o-transition: all 0.1s ease;
        -webkit-transition: all 0.1s ease;
        transition: all 0.1s ease;

    }

    .fancybox-title-float-wrap .child h3 {
        font-size: 16px;
    }

    .fancybox-title-float-wrap .child p {
        line-height: 13px;
        font-size: 12px;
    }

    ul.slick-dots,
    .slider-progress {
        display: none;
    }

    .slider-logo-byd {
        width: 100%;
        overflow: hidden;
    }

    .galerie-byd .slick-dots li {
        width: 10px !important;
        height: 10px !important;
    }

    .content-page.galerie .slider-logo-byd {
        width: 50%;
        margin: 0 auto;
    }

    .content-page.galerie .slider-logo-byd .slick-initialized .slick-slide {
        display: none;
    }

    .content-page.galerie .slider-logo-byd .slick-initialized .slick-slide.slick-current.slick-active {
        max-width: 150px;
        margin: 0 auto;
        width: 160px;
        float: none;
        display: block;
    }

    .content-page.galerie .slider-logo-byd-mobile .slick-initialized .slick-slide.slick-current.slick-active {
        /* max-width: 150px;
        margin: 0 auto;
        width: 160px;
        float: none;
        display: block;
        min-width: 150px;
        min-height: 150px; */
    }

    .content-page.galerie .slider-logo-byd {
        overflow: visible;
    }

    .footer-wrapp.first-row img {
        max-height: inherit !important;
    }

    .slider-logo-byd .slick-prev {
        left: -65px;
    }

    .slickslide .slick-prev {
        left: -30px !important;
        top: 37px;
        width: 35px !important
    }

    .slick-next.slick-arrow {
        right: -35px !important;
        top: 40px;
    }

    .row.logos.slick-initialized.slick-slider .slick-list.draggable .slick-track .slick-slide img {
        padding: 5px;
    }
}

/*----  Mobile  ----*/
@media only screen and (max-width: 1340px) {
    .slickslide {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .slider-progress {
        right: -360px;
    }

    .galerie-byd .slick-prev {
        left: -35px;
    }

    .galerie-byd .slick-next {
        right: -35px;
        z-index: +1;
    }

    .content-page.galerie .slider-logo-byd {
        margin: 80px auto auto auto;
    }

    .content-footer .footer-wrapp.first-row {
        width: 100%;
    }


}

@media only screen and (max-width: 1340px) and (min-width: 992px) {
    .galerie-byd .slick-dots li {
        width: 110px !important;
    }
}

@media only screen and (max-width: 992px) {
    .footer-wrapp.first-row .item-menu-foot {
        margin-top: 40px;
    }

    .footer-wrapp.first-row .item-logo-foot {
        margin-top: 80px;
    }

    .content-header.home .header-top {
        height: auto;
        min-height: inherit;
    }

    .content-page .row-home {
        border-bottom: solid 0px #1005E2;
    }

    .content-page .row-home .item-left-img {
        margin-bottom: 5px !important;
        margin-top: 5px !important;
        overflow: hidden;
        display: block;
        max-width: 100% !important;
        width: 100% !important;
        margin: 15px;
    }

    .content-page .row-home .item-right-img {
        margin-bottom: 5px !important;
        margin-top: 5px !important;
        width: 100%;
        overflow: hidden;
        margin: 15px;
        padding: 0;
    }

    .content-footer .footer-wrapp.first-row {
        width: 80%;
    }

    .content-footer .txt-footer {
        width: 80%;
        max-width: 300px;
        margin: 0 auto 40px auto;
    }

    .content-footer .footer-wrapp p {
        text-align: center;
    }

    .content-footer #menu-menu-principal-1 {
        text-align: center;
        margin: 40px auto;
    }

    .content-header .menu-top-site ul {
        display: block;
        width: 100%;
        margin: 40px auto;
        text-align: center;
        padding: 0;
    }

    .header-top ul.top-items-left li.close-menu.active {
        left: 10px;
    }

    .item-logo-foot img {
        display: block;
    }

    /* 
    .content-page.about .blc-content {
        width: 100%;
        padding-top: 95px;
    } */

    .content-page.about .blc-content .txt-left {
        padding: 0;
    }

    .content-page.about .blc-content .txt-left p:first-of-type {
        padding-top: 200px;
    }

    .content-page.about .blc-content .txt-right {
        padding: 0;
    }

    .galerie-byd .slick-dots li {
        width: 70px !important;
        margin: 10px 10px 10px 15px;
    }
}

@media (max-width: 480px) {
    .content-page .row-home .hover-item p {

        font: normal normal normal 16px / 18px din-next-w01-light, din-next-w02-light, din-next-w10-light, sans-serif !important;
    }

    .img-grises li {
        height: auto !important;
    }


    .content-page.about .blc-content .txt-left p,
    .content-page.about .blc-content .txt-right p {
        width: 100% !important;
    }


    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-prev {
        left: 0 !important;
        width: 20px !important;

    }

    .content-page .row-home .hover-item p {
        text-align: left !important;
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-next {

        right: 0 !important;
        width: 20px !important;

    }

    #slickslide->button.slick-prev.slick-arrow {

        left: -15px !important;
        top: 40px;
        z-index: 1 !important;
        width: 25px !important;
    }

    #slickslide->button.slick-next.slick-arrow {

        right: -15px !important;
        top: 40px;
        z-index: 1 !important;
        width: 25px !important;

    }

    body>div.content-page.galerie>div.slider-logo-byd-mobile>div>button.slick-next.slick-arrow {

        right: -50px !important;
        top: 65px;
        width: 30px !important;




    }

    body>div.content-page.about>div>div:nth-child(1) {
        padding-top: 20%
    }

    #propos {
        position: relative !important;
        top: -70px !important;
        right: 0 !important;
        font-size: 50px !important;
        font-family: 'DIN-neuzet-grotesk', sans-serif;
        font-weight: bold;

    }

    body>div.content-page>div:nth-child(1)>div.col-md-9.item-right-img.large>a,
    body>div.content-page>div:nth-child(2)>div.col-md-3.item-right-img.small>a,
    body>div.content-page>div:nth-child(3)>div.col-md-9.item-right-img.large>a {

        margin-left: 0px !important;
    }

    #wpcf7-f29-o1>form>input {
        margin-top: 0px !important;
        margin-bottom: 15px !important;
    }

    body>div.content-page.contact>div {
        width: 100% !important;
    }

    #slickslide->div.slick-list.draggable>div {

        /* padding-top: 15% !important; */
        /* width: 100% !important; */
    }

    body>div.content-page.about>div>div:nth-child(1)>div,
    body>div.content-page.about>div>div:nth-child(2)>div {
        background-image: none !important;
    }


    #imgFond {
        width: 100% !important;
        margin-right: 0px !important;
        margin-left: 0px !important;
        display: none;
    }

    body>div.content-page.contact>div>div {
        display: flex !important;
    }

    .content-page.contact .contact-right-byd::after {
        position: relative !important;
        right: 0px !important;
        top: 0px !important;
        left: 0px !important;
        text-align: center;
        width: 100% !important;

    }

    ul.lst-contact-infos,
    body>div.content-page.contact>div>div>div.col-md-6.row.contact-right-byd>ul {
        margin-top: 0px !important;


    }

    .col-md-6.contact-left-byd,
    body>div.content-page.contact>div>div>div.col-md-6.contact-left-byd {


        top: 0px !important;
    }

    #wpcf7-f29-o1>form>span.wpcf7-spinner,
    #wpcf7-f29-o1>form>p:nth-child(11) {

        display: none !important;
    }


    #wpcf7-f29-o1>form>div.h-captcha {

        text-align: center !important;
    }

    #wpcf7-f29-o1 {
        width: 100% !important;
    }

    body>div.content-page.contact>div>div>div.col-md-6.contact-left-byd {


        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-top: 40% !important;
        width: 100%;

    }

    .content-page.contact .contact-left-byd form {
        padding-right: 15px !important;
        max-width: 100% !important;
        padding-left: 15px !important;

    }

    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(7)>img:nth-child(2) {

        margin-left: 0px !important;
    }


    .content-page.about .blc-content .txt-left p:first-of-type,
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(7),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(1),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(2),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(3),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(4),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(5) {

        width: 100%;
        padding-left: 0px;
        padding-top: 0px !important;

    }

    body>div.content-page.contact>div>div>div.col-md-6.row.contact-right-byd {
        flex-direction: column !important;
    }

    #second-slider-referencees .slick-next.slick-arrow,
    #second-slider-referencees .slick-prev.slick-arrow {

        display: none !important;
    }

    #second-slider-referencees {
        padding: 0% !important;
    }

    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(7)>img:nth-child(2) {
        width: 100% !important;
    }

    body>div.content-page.about>div>div:nth-child(1)>div {

        padding-left: 0px !important;
        background-size: 100% !important;

    }

    body>footer>div>div.footer-wrapp.first-row>div:nth-child(2) {
        place-items: center !important;
    }

    .content-footer .logo-footer {
        width: 50% !important;
        max-width: 100% !important;
    }

    #jaune1 {
        position: relative !important;

        left: 83% !important;
        top: -50PX;
    }

    body>div.content-page.about>div>div:nth-child(1)>div>img:nth-child(2) {
        width: 100% !important;

    }

    body>footer>div>div.footer-wrapp.first-row>div:nth-child(1)>div {
        width: 90% !important;
        max-width: 100% !important;
    }

    body>footer>div>div.footer-wrapp.first-row {
        width: 100% !important;
        padding: 0 15px !important;
    }





    .content-header .menu-top-site ul li a {
        font-size: 25px;
    }

    .content-header .menu-top-site ul li {
        margin-bottom: 20px;
    }

    .content-page .row-home .item-left-img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-wrapp.first-row .item-menu-foot {
        width: 100%;
    }

    .footer-wrapp.first-row .item-logo-foot {
        width: 100%;
        margin-top: 0 !important;
    }

    .galerie-byd .slick-prev,
    .slider-logo-byd .slick-prev {
        z-index: 9;
    }

    .footer-wrapp.first-row .link-second-footer {
        padding-left: 0;
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .footer-wrapp.first-row img {
        width: 80%;
        margin: 0 auto;
        max-width: 200px;
        display: block;
        max-height: inherit !important;
    }

    .content-footer #menu-menu-principal-1 {
        margin: 10px auto;
    }

    /* .content-header.home .header-top{min-height: 500px;} */
    .header-top .top-items-left {
        left: -25px !important;
    }

}


@media (min-width: 480px) and (max-width: 768px) {




    #jaune1 {
        position: relative !important;
        left: 83% !important;
        top: -48PX;
    }
    .content-page .row-home .hover-item p {

        font: normal normal normal 16px / 18px din-next-w01-light, din-next-w02-light, din-next-w10-light, sans-serif !important;
    }

    .img-grises li {
        height: auto !important;
    }

    .content-page.about .blc-content .txt-left p,
    .content-page.about .blc-content .txt-right p {
        width: 100% !important;
    }

    #propos {
        position: relative !important;
        top: -100px !important;
   
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-prev {
        left: -10px !important;
        width: 20px !important;

    }

    body>div.content-page.about>div>div:nth-child(1) {
        padding-top: 15% !important;
    }

    .content-page .row-home .hover-item p {
        text-align: left !important;
    }

    body>div.content-page>div:nth-child(1)>div.col-md-9.item-right-img.large>a,
    body>div.content-page>div:nth-child(2)>div.col-md-3.item-right-img.small>a,
    body>div.content-page>div:nth-child(3)>div.col-md-9.item-right-img.large>a {

        margin-left: 0px !important;

    }

    #slickslide->button.slick-prev.slick-arrow {

        left: -20px !important;
        top: 40px;
        z-index: 1 !important;
        width: 25px !important;
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-prev {
        left: -15px !important;
    }

    #slickslide->button.slick-next.slick-arrow {

        right: -20px !important;
        top: 40px;
        z-index: 9 !important;
        width: 25px !important;

    }

    body>div.content-page.galerie>div.slider-logo-byd-mobile>div>button.slick-next.slick-arrow {

        right: -50px !important;
        top: 65px;
        width: 30px !important;




    }


    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>div {
        padding-top: 20px !important;
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>a {

        top: 0px !important;
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-prev {
        left: 0px !important;
    }

    .galerie-byd .slick-list {
        max-height: 100% !important;
    }

    body>div.content-page.contact>div>div>div.col-md-6.row.contact-right-byd {
        flex-direction: column !important;
    }

    body>div.content-page.contact>div {
        width: 100% !important;
    }

    #wpcf7-f29-o1>form>input {
        margin-top: 0px !important;
        margin-bottom: 15px;
    }

    /******************************************/
    #slickslide->div.slick-list.draggable>div {

        /* padding-top: 10% !important; */
        /* width: 100% !important; */
    }

    #slickslide->button.slick-next.slick-arrow.__web-inspector-hide-shortcut__ {


        display: block !important;
    }

    .img-grises li {

        list-style: none;
        width: 70%;
        height: 150px;
        padding: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .img-grises .slick-list.draggable {
        top: 30px;
    }


    .content-page.about .blc-content .txt-right,
    .content-page.about .blc-content .txt-left,
    body>div.content-page.about>div>div:nth-child(1)>div,
    .content-page.about .blc-content .txt-right {

        background-image: none !important;
    }

    #imgFond {
        width: 100% !important;
        margin-right: 0px !important;
        margin-left: 0px !important;
        display: none;
    }

    .content-page.about .blc-content .txt-left p:first-of-type,
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(7),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(1),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(2),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(3),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(4),
    body>div.content-page.about>div>div:nth-child(2)>div>p:nth-child(5) {

        width: 100%;
        padding-left: 0px;


    }

    .content-page.about .blc-content .txt-left p:first-of-type {
        padding-top: 0px !important;
    }


    #wpcf7-f29-o1>form>span.wpcf7-spinner,
    #wpcf7-f29-o1>form>p:nth-child(11) {

        display: none !important;
    }

    .col-md-6.contact-left-byd,
    body>div.content-page.contact>div>div>div.col-md-6.contact-left-byd,
    .col-md-6.contact-left-byd {


        top: 0px !important;
    }

    #wpcf7-f29-o1>form>input {
        margin-top: 0px !important;
    }

    body>div.content-page.contact>div>div>div.col-md-6.contact-left-byd,
    .col-md-6.contact-left-byd {
        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-top: 40% !important;
        width: 100%;
    }

    body>div.content-page.contact>div>div {
        flex-direction: column;

    }

    .content-footer .footer-wrapp.first-row,
    .content-footer .txt-footer,
    #wpcf7-f29-o1 {
        width: 100% !important;
        max-width: 100% !important;
    }


    .content-page.contact .contact-left-byd form {
        padding-right: 15px !important;
        max-width: 100% !important;
        padding-left: 15px !important;

    }


    body>div.content-page.contact>div>div {
        display: flex !important;
    }

    body>div.content-page.about>div>div:nth-child(1)>div {

        padding-left: 0px !important;
        background-size: 100% !important;

    }

    ul.lst-contact-infos,
    body>div.content-page.contact>div>div>div.col-md-6.row.contact-right-byd>ul {
        margin-top: 0px !important;
    }



    #wpcf7-f29-o1>form>span.wpcf7-spinner,
    #wpcf7-f29-o1>form>p:nth-child(11) {

        display: none !important;
    }
}


/*TABLETTE A PROPOS*/
@media screen and (min-width: 768px) and (max-width: 991px) {
    .content-page .row-home .hover-item p {
        text-align: left !important;
    }

    body>div.content-page>div:nth-child(1)>div.col-md-9.item-right-img.large>a,
    body>div.content-page>div:nth-child(2)>div.col-md-3.item-right-img.small>a,
    body>div.content-page>div:nth-child(3)>div.col-md-9.item-right-img.large>a {

        margin-left: 0px !important;
    }

    .content-page.about .blc-content .txt-right {

        padding-left: 19% !important;
    }

    .content-page.about .blc-content .txt-left p:first-of-type {
        PADDING-LEFT: 0PX;

        width: 60%;
    }

    .content-page.about .blc-content .txt-left p {
        padding-left: 0PX;

        width: 60%;
    }

    #imgFond {
        margin-left: 0% !important
    }

    #jaune2 {

        right: 24% !important;
    }

}





/**/
@media screen and (min-width: 768px) and (max-width: 991px) {
    .col-md-6.contact-left-byd {

        TOP: 110PX !important;
    }


    ul.lst-contact-infos {
        position: relative;
        margin-left: 65px !important;
        ;

    }


    .content-page.contact .contact-right-byd::after {

        MARGIN-LEFT: -185PX;
        width: 0%;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .galerie-byd .slick-next {
        right: 6px;
        z-index: +1;
        top: -89px;
    }

    .fancybox-nav.fancybox-next {

        right: 123px;
    }

    body>div.fancybox-overlay.fancybox-overlay-fixed>div>div>div.fancybox-outer>a.fancybox-nav.fancybox-next {
        right: 0;
    }
    .fancybox-nav.fancybox-prev{
        left: 0;
    }
}

/*-----------------------------*/


/* --- RÉORGANISATION LOGOS TABLETTE (HORIZONTAL) --- */
@media screen and (max-width: 1024px) {

    /* On force le conteneur Slick à rester en ligne */
    .slider-logo-byd .slick-track {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    /* Chaque slide doit garder sa structure horizontale interne */
    .slider-logo-byd .slick-slide {
        display: block !important;
        height: auto !important;
    }

    /* On aligne les lignes de logos (row-logos) horizontalement */
    .slider-logo-byd .row-logos {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* Empêche le retour à la ligne */
        justify-content: space-around !important;
        margin-bottom: 20px !important;
    }

    /* On réduit la taille des colonnes pour que les 4 logos tiennent */
    .slider-logo-byd .col-md-3 {
        width: 25% !important;
        /* 4 logos = 25% chacun */
        max-width: 25% !important;
        flex: 0 0 25% !important;
        padding: 5px !important;
        display: flex !important;
        justify-content: center !important;
    }

    /* On réduit la taille des images pour qu'elles ne se touchent pas */
    .slider-logo-byd img {
        max-width: 80% !important;
        height: auto !important;
    }

    /* Positionnement des flèches pour qu'elles ne cachent pas les logos */
    .slider-logo-byd .slick-arrow {
        z-index: 100 !important;
    }

    .blc-content .galerie-byd .item-ative {
        margin-top: 63px;

    }

    .fancybox-close {

        left: 32px !important;
        MARGIN-TOP: -27PX !important;
    }
}






/* --- SÉCURITÉ POUR LA GALERIE --- */

/* On force l'opacité à 0 par défaut UNIQUEMENT pour la galerie */
.slickslide li a.fancybox .hover-item {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s ease-in-out !important;
}

/* On force l'opacité à 1 UNIQUEMENT au survol dans la galerie */
.slickslide li a.fancybox:hover .hover-item {
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- SÉCURITÉ POUR L'ACCUEIL --- */

/* On s'assure que l'accueil reste caché par défaut */
.content-page .row-home .hover-item {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* On s'assure que l'accueil s'affiche au survol du parent */
.content-page .row-home>div:hover .hover-item {
    opacity: 1 !important;
    visibility: visible !important;
}


/*-----------*/
/* --- ADAPTATION TABLETTE (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {

    /* On force le conteneur principal à empiler les colonnes */
    body>div.content-page.contact>div>div,
    .col-md-12.no-padding[style*="display : flex"] {
        flex-direction: column !important;
        display: block !important;
        /* On repasse en bloc pour l'empilement standard */
    }

    /* Le formulaire prend toute la largeur */
    .contact-left-byd {
        width: 100% !important;
        float: none !important;
        padding: 40px 15px !important;
        display: block !important;
    }

    /* Le bloc des infos (droite) passe en dessous */
    .contact-right-byd {
        width: 100% !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        /* On centre les infos pour un meilleur look */
        padding: 40px 15px !important;
        margin-top: 20px !important;
        /* Ajout du GIF en fond comme demandé précédemment */
        background: url(/wp-content/uploads/2020/09/by_105_2.gif) no-repeat center bottom !important;
        background-size: contain !important;
        padding-bottom: 150px !important;
    }

    /* On s'assure que les listes d'infos sont lisibles */
    .lst-contact-infos {
        text-align: left !important;
        margin: 0 auto !important;
    }

    /* Ajustement du titre */
    .contact-left-byd h2 {
        text-align: center !important;
        font-size: 28px !important;
    }
}