.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  z-index: 999999;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.color-default {
  color: #242746;
}

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 60px;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 60px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller .nav {
  color: rgba(255, 255, 255, 0.75);
}

.nav-scroller .nav-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.nav-scroller .nav-link:hover {
  color: #007bff;
}

.nav-scroller .active {
  font-weight: 500;
  color: #343a40;
}

.bg-purple {
  background-color: #6f42c1;
}

.navbar-nav {
  flex-direction: row;
}

.collapse ul li a:link {
  color: #242746;
  text-decoration: none;
}

/* Add Owl Carousel Css */
.main-content {
  position: relative;
}
.main-content .owl-theme .custom-nav {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
}
.main-content .owl-theme .custom-nav .owl-prev,
.main-content .owl-theme .custom-nav .owl-next {
  position: absolute;
  height: 100px;
  color: inherit;
  background: none;
  border: none;
  z-index: 100;
}
.main-content .owl-theme .custom-nav .owl-prev i,
.main-content .owl-theme .custom-nav .owl-next i {
  font-size: 2.5rem;
  color: #ff9a4f;
}
.main-content .owl-theme .custom-nav .owl-prev {
  left: 0;
}
.main-content .owl-theme .custom-nav .owl-next {
  right: 0;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none !important;
  color: #ff9a4f !important;
}

/* Responsive Carlendar */
/* Responsive iFrame */
.responsive-iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.responsive-iframe-container iframe,
.vresponsive-iframe-container object,
.vresponsive-iframe-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Add underline in menu */
.omenu .bottom__line {
  position: absolute;
  top: 20px;
  left: 37px;
  width: 48px;
  height: 2px;
  background-color: #d94f5c;
}
.omenu .bottom__active {
  transform: translate3d(0%, 0, 0);
  transition: all linear 240ms;
}
.omenu .bottom__active1 {
  transform: translate3d(185%, 0, 0);
  transition: all linear 240ms;
}
.omenu .bottom__active2 {
  transform: translate3d(375%, 0, 0);
  transition: all linear 240ms;
}
.omenu .bottom__active3 {
  transform: translate3d(565%, 0, 0);
  transition: all linear 240ms;
}
.omenu .bottom__active4 {
  transform: translate3d(755%, 0, 0);
  transition: all linear 240ms;
}
.omenu .color,
.omenu .color1,
.omenu .color2 {
  color: #d94f5c;
  transition: all linear 100ms;
}

/* delete underline in menu */
.omenu ul li a {
  text-decoration: none;
}

/* list-style color red */
.collapse ul {
  line-height: 1.5em;
  list-style-image: url(http://test-awxhzn.masa-th.net/testfrontend/images/li-redio.png);
}

/* ขีดเส้นราคา */
.line_through {
  color: #242746;
  text-decoration: line-through;
}

/* product card */
.prd-card .card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #242746;
  margin-bottom: 0.5rem;
}

.prd-card .card .card-text {
  font-size: 1rem;
  font-weight: 400;
  color: #242746;
  margin-bottom: 0.5rem;
}

.prd-card .card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

.prd-card a {
  text-decoration: none;
}

/* END product card */

.dropdown-menu hr {
  margin: 0 0.5rem 0;
}
