html {
  scroll-behavior: smooth;
}

.top-20 {
  top: 5rem;
}

/* hero slider next and prev btn */
.swiper-button-next,
.swiper-button-prev {
  height: 2rem;
  width: 2rem;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(209 213 219);
  background-color: rgb(254 254 255);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  color: rgb(113 113 122);
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
  color: rgb(63 63 70);
}

/* show and hide next and prev hero slider btn */
@media only screen and (max-width: 768px) {
    .gap-x-5{
        column-gap : 0.4rem
    }
    .pr-5{
        padding-right:.1rem
    }
    .pl-5{
        padding-left: 1rem;
    }
  .swiper-button-next {
    display: none;
  }
  .swiper-button-prev {
    display: none;
  }ext
  .swiper-btn-next {
    display: none;
  }
  .swiper-btn-prev {
    display: none;
  }
    .txt-slider{
        font-size: 14px;
        font-weight: bold
    }
    .btn-slider{
        color: white;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }
}



.shadow-medium{
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.shadow-large{
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
@media only screen and (min-width: 768px){
    .txt-slider{
        font-size: 30px;
        font-weight: bold
    }
    .btn-slider{
        color: white;
        padding-right: 30px;
        padding-left: 30px
    }
    .m_slider{
        margin-top: 10px;
    }
}
.na-imgbox {
    position: relative;
}
.na-overlay-img, .na-mainimg {
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.c-product-box:hover .na-mainimg {
    opacity: 0;
    visibility: hidden;
}
.c-product-box:hover .na-overlay-img {
    opacity: 1;
    visibility: visible;
}
.na-overlay-img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}
.na-overlay-img, .na-mainimg {
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.c-product-box:hover .na-mainimg {
    opacity: 0;
    visibility: hidden;
}
.c-product-box:hover .na-overlay-img {
    opacity: 1;
    visibility: visible;
}
.cmn-blog-imgwrap img.img-fluid {
    width: 100%;
}


.e-td-inner {
    position: relative;
}

.e-td-img {
    overflow: hidden;
    border-radius: 1rem;
}
.e-td-img > img {
    width: 100%;
    transition: all .5s;
}
.e-td-inner:hover .e-td-img > img {
    transform: scale(1.07) rotate(-1deg);
}
