nav {
  z-index: 2000;
  width: 100%;
  letter-spacing: 0.5px;
  background: var(--fond-menu);
}
nav ul {
  margin: 0;
}
nav li {
  margin: 0;
  padding: 0;
}
nav .wrapper {
  position: relative;
  padding: 0px 10px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--fond-menu);
  z-index: 1000;
}
.wrapper .nav-links {
  display: inline-flex;
}
.nav-links li {
  list-style: none;
}
.nav-links li:not(:last-of-type) .mobile-item:after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #1d1d1b;
  border-bottom-color: #fff;
  border-left-color: #fff;
  transform: rotate(45deg);
  position: relative;
  left: 0;
  float: right;
  margin: 23px 20px 0 0;
  border-width: 2px 2px 0 0;
}
nav .brands > div {
  border: 1px solid #c9c9c9;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04), 0 2px 4px 0 rgba(0, 0, 0, 0.03);
  text-align: center;
  background-color: #fff;
  width: auto;
  margin: 0 10px 10px 0;
  padding: 2px 10px;
}
.nav-links > li > a, .nav-links > li > span {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  padding: 5px 35px 5px 0px;
  letter-spacing: 0.02em;
}
.nav-links > li > a:hover {
  text-decoration: none !important;
}
.nav-links > li > a > img {
	height: 23px;
	width: auto;
	padding-right: 6px;
}
nav .brands span {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #000;
  height: auto;
}
.nav-links .mobile-item {
  display: none;
}
.nav-links .drop-menu {
  position: absolute;
  background: #242526;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.nav-links li:hover .drop-menu, .nav-links li:hover .mega-box {
  top: 33px;
  opacity: 1;
  visibility: visible;
}
.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 0 0 0;
  opacity: 0;
  visibility: hidden;
  border-bottom: 1px solid #000;
}
.mega-box .content {
  background: var(--fond-menu);
  padding: 15px 20px 10px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.nav-links li:nth-child(2) .mega-box .content {
  background: #ffece4;
}
.nav-links li:nth-child(3) .mega-box .content {
  background: #e7faf6;
}
.nav-links li:nth-child(4) .mega-box .content {
  background: #fffeee;
}
.nav-links li:nth-child(5) .mega-box .content {
  background: #ccf7ff;
}
.nav-links li:nth-child(6) .mega-box .content {
  background: #ddf8f4;
}
.nav-links li:nth-child(7) .mega-box .content {
  background: #e1eaff;
}
.nav-links li:nth-child(8) .mega-box .content {
  background: #e1eaff;
}
.mega-box .content .row {
  width: calc(80% - 25px);
  line-height: 45px;
}
.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.mega-box .content .row:nth-child(1) {
  width: 20%;
  line-height: 45px;
}
.content .row:nth-child(1) img {
  /*
	width: 100%;
	height: 100%;
	object-fit: cover;
	*/
}
.content .row header {
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.row .mega-links li {
  padding: 0 20px;
}
.row .mega-links li a {
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover {
  color: #f2f2f2;
}
.wrapper .btn_menu {
  color: #000;
  cursor: pointer;
  display: none;
}
.wrapper .btn_menu.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  width: 30px;
}
nav input {
  display: none;
}
.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}
.body-text div {
  font-size: 45px;
  font-weight: 600;
}
.detail_piece *:hover {
  text-decoration: none;
}
.choix_courroie {
  font-size: 1.7rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: flex-start;
}
.choix_courroie div {
  width: 49%;
}
.choix_courroie div p {
  margin: 0;
}
.fleche a svg {
  width: 30px;
  display: block;
}
nav .menu_pieces > div {
	width: calc(16.66% - 20px);
	margin: 0 0 20px 0;
	box-shadow: none;
}
nav .menu_pieces > div:nth-child(8n) {
  margin-right: 0;
}
nav .menu_pieces div span {
  padding: 0;
}
nav .menu_pieces div span img {
  padding: 10px;
}
nav .brands div p, nav .menu_pieces div p {
  font-size: 0.9rem;
}
nav .menu_img {
  height: 16px;
  width: auto;
}
.nav-links > li:last-child > a {
  padding: 0;
}
.nav-links li:last-child .desktop-item a img {
  height: 18px;
  width: auto;
}

.header-headline-moteur            { display: none; }
.header-headline-moteur.is-visible { display: block; }

@media (max-width: 970px) and (min-width: 768px) {
  .client {
    width: 80px;
  }
  nav .brands {
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 10px 0;
  }
  nav .menu_pieces > div {
    margin: 0px 3px 10px 3px;
    width: calc(16.67% - 10px);
  }
  nav .brands div p {
    display: none;
  }
  .fleche a svg {
    width: 20px;
  }
  .content .row:nth-child(1) img {
    max-height: 160px;
  }
  nav .brands div a p {
    display: none;
  }
  nav .brands div span img {
    max-height: 36px;
    padding: 3px 5px;
  }
  nav .brands div p {
    font-size: 0.9rem;
    padding: 2px;
  }
  nav .menu_pieces div span {
    padding: 0;
  }
  .mega-box .content {
    padding: 10px 10px 10px 10px;
  }
  nav .brands div p, nav .menu_pieces div p {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 767px) {
  .mega-box {
    padding: 10px 0 0 0;
    padding: 0;
  }
  .mega-box .content .row:nth-child(1) {
    display: none;
  }
  nav .brands div span {
    height: auto;
    line-height: 1;
  }
  nav .menu_pieces > div {
    width: calc(33.33% - 10px);
    margin: 0px 3px 10px 3px;
  }
  nav .brands div p {
    display: none;
  }
  nav .brands div p, nav .menu_pieces div p {
    font-size: 1.2rem;
    padding: 3px 0 0 0;
  }
  .nav-links li:nth-child(1) .mega-box .content, .nav-links li:nth-child(2) .mega-box .content, .nav-links li:nth-child(3) .mega-box .content, .nav-links li:nth-child(4) .mega-box .content, .nav-links li:nth-child(5) .mega-box .content, .nav-links li:nth-child(6) .mega-box .content, .nav-links li:nth-child(7) .mega-box .content, .nav-links li:nth-child(8) .mega-box .content {
    background: #fff;
  }
  nav .wrapper {
    border-top: none;
    border-bottom: none;
    padding: 0;
  }
  .wrapper .btn_menu {
    display: block;
  }
  nav .brands {
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .fleche a svg {
    width: 15px;
  }
  .wrapper .nav-links {
    position: fixed;
    height: 80vh;
    width: 100%;
    top: 0;
    left: -100%;
    margin: 0;
    background: #fff;
    display: block;
    padding: 10px 0 0 0;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn_menu.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn_menu.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 0;
    padding: 0;
  }
  .nav-links li a {
    padding: 0;
    display: inline;
  }
  .nav-links .drop-menu {
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
  }
  #showDrop:checked ~ .drop-menu, #showMega:checked ~ .mega-box, #showMega_1:checked ~ .mega-box, #showMega_2:checked ~ .mega-box, #showMega_3:checked ~ .mega-box, #showMega_4:checked ~ .mega-box, #showMega_5:checked ~ .mega-box, #showMega_6:checked ~ .mega-box, #showMega_7:checked ~ .mega-box, #showMega_8:checked ~ .mega-box, #showMega_9:checked ~ .mega-box, #showMega_10:checked ~ .mega-box, #showMega_11:checked ~ .mega-box, #showMega_12:checked ~ .mega-box, #showMega_13:checked ~ .mega-box, #showMega_14:checked ~ .mega-box, #showMega_15:checked ~ .mega-box, #showMega_16:checked ~ .mega-box {

    max-height: unset;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;
  }
  .drop-menu li {
    margin: 0;
  }
  .drop-menu li a {
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    max-height: 0px;
    overflow: hidden;
  }
  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 0;
  }
  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-box .content .row:nth-child(1), .mega-box .content .row:nth-child(2) {
    border-top: 0px;
  }
  .content .row .mega-links {
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li {
    margin: 0;
  }
  .content .row header {
    font-size: 19px;
  }
}