/********************************************************
			Coderplace Custom Styles
********************************************************/
.tm-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.cp-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  display: flex !important;
  flex-wrap: wrap;
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow-x: clip;
  position: relative;
  float: left;
  width: 100%;
  padding: 0;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out; 
}
.owl-carousel .owl-item {
  float: left;
  height: auto;
  display: flex;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.customNavigation {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 50%;
	direction: ltr !important;
	right: 0;
	left: auto;
  opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
.products .customNavigation {
	top: 48%;
}
.tmcategorylist .customNavigation, 
.testimonial-block-part .customNavigation {
	top: 50%;
}
.tmcategorylist:hover .customNavigation {
	opacity: 1;
	-khtml-opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
}
.customNavigation a.prev::before {
	content: "\E314";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	right: 5px;
	top: -1px;
	color: #757575;
}
.customNavigation a.next::before {
	content: "\E315";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	position: absolute;
	right: 3px;
	top: -1px;
	color: #757575;
}
#tmtestimonialcmsblock .customNavigation {
  top: -24px;
  z-index: 5;
  right: 15px;
}
#index #tmtestimonialcmsblock .customNavigation {
  top: -40px;
  right: 0;
}
.special-products .customNavigation {
	top: 42%;
}
.homepage-latest-blog:hover .customNavigation, 
.sidebar-latest-blog:hover .customNavigation, 
.ets-blog-related-posts:hover .customNavigation, 
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part .container:hover .customNavigation,
.tmblog-latest:hover .customNavigation, 
#tminstagramblock:hover .customNavigation,
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation{
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}
.lastest_block .customNavigation {
	top: 44%;
}
.customNavigation i {
	color: #000000 !important;
	cursor: pointer;
	font-size: 0;
	font-weight: 500;
	height: 38px;
	line-height: 32px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 38px;
	background: transparent;
	border-radius: 0;
	font-style: unset;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.11);
}

.customNavigation i.prev {
	background: transparent;
	right: auto;
	background: #fff;
	border-radius: 50%;
	left: -5px;
}
.customNavigation i.next {
	background: transparent;
	right: 0px;
	background: #fff;
	border-radius: 50%;
	right: -5px;
}
.tmcategorylist .customNavigation i.prev, 
.testimonial-block-part .customNavigation i.prev, 
#tminstagramblock .btn.prev.instagram_prev,
.btn.prev.accessories_prev {
	left: -20px;
}
.tmcategorylist .customNavigation i.next, 
.testimonial-block-part .customNavigation i.next, 
#tminstagramblock .btn.next.instagram_next,
.btn.next.accessories_next  {
  right: -20px;
}
.customNavigation i.prev::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-left.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-left.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
#tmtestimonialcmsblock .customNavigation i.prev::before {
  right: 1px;
  font-weight: 500;
}
#tmtestimonialcmsblock .customNavigation i.next::before {
  right: 0;
  font-weight: 500;
}
.customNavigation i.next::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-right.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-right.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next:hover::before,.customNavigation i.prev:hover::before  {
  color: #fff;
}
#cpleftbanner1 img,
#cpleftbanner2 img {
  max-width: 100%;
}
#cpleftbanner1 li,
#cpleftbanner2 li {
  overflow: hidden;
  position: relative;
  float: left;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.footer-container .links.lastest_block .customNavigation i.prev:hover {
  color: #9bbab1 !important;
}
.footer-container .links.lastest_block .customNavigation i.next:hover {
  color: #9bbab1 !important;
}

@media (max-width: 1449px) {
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev,
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: -15px;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: -15px;
  }
  .customNavigation i.next {
    right: 0;
  }
  .customNavigation i.prev {
    left: 0;
  }
}
@media (max-width: 1199px) {
  #tmtestimonialcmsblock .customNavigation {
    top: -36px;
    z-index: 5;
    right: -18px;
  }
}

@media (max-width: 991px) {
  #cpleftbanner1 li img,
  #cpleftbanner2 li a {
    width: auto;
  }
}
@media (max-width: 767px) {
  .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  .tmcategorylist .customNavigation i.prev, 
  .testimonial-block-part .customNavigation i.prev, 
  #tminstagramblock .btn.prev.instagram_prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 0;
  }
  .tmcategorylist .customNavigation i.next, 
  .testimonial-block-part .customNavigation i.next,
   #tminstagramblock .btn.next.instagram_next, 
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 0;
  }
  .quickview .mask.additional_slider .customNavigation i.prev {
    left: -10px !important;
  }
  .quickview .mask.additional_slider .customNavigation i.next {
    right: -10px !important;
  }
  .btn.next.brand_next {
    left: auto;
    right: 0;
    position: absolute;
  }
  .btn.prev.brand_prev {
    left: 0;
    right: auto;
  }
  .customNavigation i.next {
    left: auto;
    right: 0;
  }
}
@media (max-width: 480px) {
}


/* =========================
   Ajustements GEM-SUITE
   ========================= */
#cpcmsbanner1 .cms-block .offer-icon {
  margin: 90px 0px 20px !important;
}

#cpcmsbanner1 .cms-block .offer-button {
  margin-bottom: 60px !important;
}

/* ==================================================
   EN-TÊTE ORDINATEUR : logo + menu principal
   ================================================== */

@media (min-width: 992px) {

  .header-top .sub-container {
    display: flex;
    align-items: center;
  }

  /* La zone centrale est maintenant vide :
     on l'empêche de réserver de l'espace */
  .header-top .header-center {
    display: none;
  }

  /* Hamburger + logo + navigation */
  .header-top .header-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  /* Le logo garde ses proportions */
  .header-top #_desktop_logo {
    flex: 0 0 auto;
    width: 165px;
    margin: 0 45px 0 35px;
  }

  .header-top #_desktop_logo img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
  }

  /* Le module de navigation récupère l'espace disponible */
  .header-top .header-left .menu {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .header-top .header-left .top-menu {
    width: 100%;
  }

  /* Recherche, compte et panier restent à droite */
  .header-top .header-right {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }
}

@media (min-width: 992px) {

  /* Donne davantage de place réelle au menu */
  .header-top .header-left {
    flex: 1 1 0;
  }

  .header-top .header-left .menu {
    flex: 1 1 0;
    min-width: 0;
  }

@media (min-width: 992px) {

  /* Seulement la première rangée du menu principal */
  .header-top .header-left > .menu > .top-menu[data-depth="0"] {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    white-space: nowrap;
  }

  .header-top .header-left > .menu > .top-menu[data-depth="0"] > li {
    flex: 0 0 auto;
  }

  .header-top .header-left > .menu > .top-menu[data-depth="0"] > li > a {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Les sous-menus reprennent leur disposition normale */
  .header-top .header-left .sub-menu .top-menu {
    display: block;
    width: auto;
    white-space: normal;
  }

  .header-top .header-left .sub-menu .top-menu > li {
    display: block;
    width: 100%;
  }
}

  .header-top .header-left .top-menu[data-depth="0"] > li {
    flex: 0 0 auto;
  }

  /* Réduit légèrement l’espace entre les onglets */
  .header-top .header-left .top-menu[data-depth="0"] > li > a {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Gagne un peu d’espace autour du logo */
  .header-top #_desktop_logo {
    width: 155px;
    margin-left: 28px;
    margin-right: 28px;
  }

  /* Évite que la zone de droite prenne trop de largeur */
  .header-top .header-right {
    flex: 0 0 auto;
    width: auto;
    min-width: auto;
  }
}

/* ==================================================
   EN-TÊTE TABLETTE ET MOBILE
   ================================================== */

@media (max-width: 991px) {

  .header-top .header-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 18px;
  }

  /* Empêche le logo de s'écraser */
  .header-top #_desktop_logo {
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    margin: 0;
  }

  .header-top #_desktop_logo img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: none;
    object-fit: contain;
  }
}

/* Petits téléphones */
@media (max-width: 430px) {

  .header-top .header-left {
    gap: 10px;
  }

  .header-top #_desktop_logo {
    flex-basis: 135px;
    width: 135px;
    min-width: 135px;
    max-width: 135px;
  }
}

/* Très petits téléphones */
@media (max-width: 375px) {

  .header-top #_desktop_logo {
    flex-basis: 120px;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }
}






