/********************************************************			Templatemela Custom Styles********************************************************/
.tm-carousel {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    margin: 0;
    -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    float: left;
    width: 100%;
}

.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;
}

.owl-carousel .owl-item .manu_image a {
    display: inline-block;
}

.owl-carousel .owl-item .manu_image a img {
    max-width: 100%;
}

.owl-carousel .owl-item:hover a img {
    border-color: blue;
}

.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 */
.grabbing {
    cursor: url("../img/megnor/grabbing.png") 8 8, move;
}

.customNavigation {
    position: relative;
    z-index: 959;
    width: 100%;
    direction: ltr !important;
    text-align: center;
    clear: both;
    margin-bottom: 40px;
}

.brands .customNavigation {
    margin: 0;
}

#tmtestimonialcmsblock .customNavigation {
    position: absolute;
    left: 0;
    top: 51%;
}

.btn.prev.testim_prev {
    position: absolute;
    left: 60px;
    border: none;
}

.btn.next.testim_next {
    position: absolute;
    right: 60px;
    border: none;
}

.customNavigation a {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    line-height: 32px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.customNavigation a:hover {
    border-color: #000;
}

.customNavigation a:hover:before {
    color: #000;
}

.customNavigation a.prev {
    background: transparent url(../img/megnor/Arrow.png) no-repeat scroll 0 0;
    height: 11px;
    width: 20px;
    display: inline-block;
    position: relative;
    border: none;
}

.customNavigation a.prev:hover {
    background-position: 0 -41px;
}

.customNavigation a.next {
    background: transparent url(../img/megnor/Arrow.png) no-repeat scroll -47px 0;
    height: 11px;
    width: 20px;
    display: inline-block;
    position: relative;
    border: none;
}

.customNavigation a.next:hover {
    background-position: -47px -41px;
}

@media (max-width: 991px) {
    .btn.prev.testim_prev {
        left: 10px;
    }

    .btn.next.testim_next {
        right: 10px;
    }

    .customNavigation {
        margin-bottom: 30px;
    }

    .customNavigation a.prev {
        left: 0px;
    }

    .customNavigation a.next {
        right: 0px;
    }

    #main .images-container .js-qv-mask {
        margin: 0px;
    }
}

@media (max-width: 767px) {
    .customNavigation {
        margin-bottom: 20px;
    }

    .btn.prev.testim_prev {
        left: 10px;
    }

    .btn.next.testim_next {
        right: 10px;
    }
}

.additional_slider .customNavigation .btn.next:before {
    padding-left: 3px;
}

#tmleftbanner img,
#tmrightbanner img {
    max-width: 100%;
}

/******* Subbanner *******/
#tmsubbanner {
    float: left;
    margin: 30px 0;
}

#tmsubbanner li {
    float: left;
    width: 50%;
}

#tmsubbanner li a {
    display: block;
}

#tmsubbanner li img {
    width: 100%;
}

#tmsubbanner li:first-child,
#tmsubbanner li:last-child {
    padding-right: 10px;
}

@media (min-width: 768px) {
  /* Verrouille l'emplacement de l'image produit */
  .product-cover {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 760 / 1000 !important;
    background-color: #f5f5f5; /* Évite le flash blanc */
  }
  img.js-qv-product-cover {
    width: 100% !important;
    height: auto !important;
  }

  /* Verrouille l'emplacement du logo header */
  img#logoheader {
    width: 200px !important;
    height: 113px !important;
    aspect-ratio: 200 / 113 !important;
  }
}

.search-widget form button[type=submit] {
    display: none !important;
}