html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 6rem;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 70px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #153d0c;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .display-3 {
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1.2;
}
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  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); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.nav-link {
  font-size: 1.5em;
}

.navbar-brand {
  font-size: 2em;
}

.navbar.fixed-top {
  border-radius: 0 25px 0 0/25px 0 25px 255px;
  border-width: 0 0 2px 0;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.lead {
  font-size: 1.5rem;
}

.btn-success {
  background-color: #153d0c;
  border-color: #153d0c;
}

.card-text-shop {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
}

.form-quantity {
  width: 20%;
}

.my-form-control {
  height: calc(1.5em + 0.75rem + 4px);
  /*padding: 0.375rem 0.75rem;*/
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #555;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #333;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.cart-input-qty {
  width: 35%;
}

@media (min-width: 576px) {  
  .display-5 {
    font-size: 0.5rem;
    line-height: 1.25;
  }
  .h1 {
    font-size: 1.5rem
  }
}
 
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {  
  .display-5 {
    font-size: 0.5rem;
    line-height: 1.25;
  }
  .h1 {
    font-size: 1.5rem
  }
}
 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  .display-5 {
    font-size: 0.5rem;
    font-weight: 200;
    line-height: 1.25;
  }
  .h1 {
    font-size: 2.5rem
  }
}
 
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {  
  .display-5 {
    font-size: 1.75rem;
    font-weight: 200;
    line-height: 1.25;
  }
  .h1 {
    font-size: 2.5rem
  }
}

.borderless td, .borderless th {
  border: none;
}