/* start Nav bar scroll */

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* 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 .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
  top: 35px;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;

}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: #6f42c1; }
/* end Nav bar scroll */
a.bbb:hover, a.bbb:active {
  font-weight: bold;
  color: blue!important;
  border-bottom: 4px ridge!important;
}
/* s:pager */
.pagin a, .pagin span {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 8px 16px;
    margin-right: 2px;
    border-radius: 10px;
    text-decoration: none;
}
/* e:pager */
/* lazy image load */
.lazy-hidden{background:url("/static/custom/jp/img/loader.svg") 50% 50% no-repeat #eee}
/* lady image load */



hr.style-eight {
overflow: visible; /* For IE */
padding: 0;
border: none;
color: #333;
text-align: center;
}
hr.style-eight:after {
content: "∞";
display: inline-block;
position: relative;
top: -0.7em;
font-size: 1.5em;
padding: 0 0.25em;
background: white;
}
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .photo-carousel {
      height: 100%!important;
      width: 100%;
      object-fit: cover;
  }

}

.border-3 {
border-radius: 50% 10%!important;
}

/* custom scrollbar */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
  height:150px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}

/* custom scrollbar */

/* callout */
.bs-callout-success {
    border-left-color: #5cb85c!important;
}
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bg-light {
    background-color: #f8f9fa!important;
}
/* callout */

.photo-carousel {
    height: 600px!important;
    width: 100%;
    object-fit: cover;
}

.photo-grid {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

/* Ordering */
#id_snackbar {
  visibility: hidden;
  position: fixed;
  z-index: 1;
  left: 5px;
  bottom: 58px;
}

#id_snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
/* floating buttons */
.go-item-fav-btn {
    right: 0;
    bottom: 15rem;
}
.go-search-btn {
    right: 0;
    bottom: 12rem;
}
.go-top-btn {
    right: 0;
    bottom: 9rem;
}
.qik-btn {
    display: none;
    z-index: 1000;
    position: fixed;
}
/* Search form and menu scroll */
div.scrollmenu {
  overflow: auto;
  white-space: nowrap;
}

div.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

.input-search {
    outline: 0;
    border-width: 0 0 2px;
    border-color: #000;
    background: inherit;
    width: 100%;
}

.small_line {
    outline: 0;
    border-width: 0 0 1px;
    border-color: #c8c8c8;
    background: inherit;
    width: 58px;
}

.thumbnail-mobile {
      min-height: 200px!important;
      min-width: 200px!important;
}

@media (max-width:767px)
{
    .thumbnail-mobile {
      min-height: 80px!important;
      min-width: 80px!important;
    }
        
}