/* BT Slider */
@keyframes slider-item-in {
    from {
        opacity: .3;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bt_slider {
    position: relative;
    overflow: hidden;
}
.bt_slider .image-bg {
    background-size: auto;
}
.bt_slider .bt_slider_item {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 0;
    visibility: hidden;
}
.bt_slider .bt_slider_item.active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    animation: slider-item-in .3s ease-in;
}

.bt_slider nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 6px;
    box-sizing: content-box;
    padding: 10px;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.bt_slider nav button {
    height: 100%;
    width: 50px;
    background-color: rgba(255,255,255,.5);
    box-shadow: none;
    border: 0;
    outline: none;
    margin: 0 5px;
}
.bt_slider nav button.active {
    background-color: #ff6600;
}

/* BT product slider */
.bt_product_slider {
    display: flex;
    align-items: center;
}
.bt_product_slider .bt_productslider_frame {
    overflow: hidden;
}
.bt_product_slider .bt_productslider_frame .bt_product_wrapper {
    display: flex;
    transition: transform .2s ease-out;
}
.bt_product_slider .bt_productslider_frame .bt_product_wrapper .bt_product_item {
    box-sizing: border-box;
}

/* BT Carousel */
@-webkit-keyframes lightbox-frame-in {
    from {
      max-height: 0;
    }
    to {
      max-height: 100%;
    }
  }
  @keyframes lightbox-frame-in {
    from {
      max-height: 0;
    }
    to {
      max-height: 100%;
    }
  }
  @-webkit-keyframes lightbox-image-in {
    from {
      -webkit-transform: scale(0.8);
              transform: scale(0.8);
      opacity: 0;
    }
    to {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  @keyframes lightbox-image-in {
    from {
      -webkit-transform: scale(0.8);
              transform: scale(0.8);
      opacity: 0;
    }
    to {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  /* carousel styling */
  .bt-carousel {
    position: relative;
    min-height: 500px;
  }
  .bt-carousel .bt-carousel-mainitem-frame {
    height: calc(75% - 15px);
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
  }
  .bt-carousel .bt-carousel-mainitem-frame .bt-carousel-main-image {
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: pointer;
  }
  .bt-carousel .bt-carousel-mainitem-frame .bt-carousel-main-image img {
    display: inline-block;
    height: 100%;
    max-width: auto;
  }
  .bt-carousel .bt-carousel-mainitem-frame:hover .gal-mainitem-nav {
    opacity: 1;
  }
  .bt-carousel .bt-carousel-extras {
    min-height: 25%;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .bt-carousel .bt-carousel-extras .gal-extras-wrapper {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
  }
  .bt-carousel .bt-carousel-extras .gal-extras-wrapper .wrapper-item {
    display: none;
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    text-align: center;
    cursor: pointer;
  }
  .bt-carousel .bt-carousel-extras .gal-extras-wrapper .wrapper-item img {
    height: 100%;
    padding: 0 8px;
  }
  .bt-carousel .bt-carousel-extras .gal-extras-wrapper .wrapper-item.on {
    display: block;
  }
  .bt-carousel .bt-carousel-extras .gal-extras-wrapper .wrapper-item.on.active {
    opacity: 0.5;
  }
  .bt-carousel .bt-carousel-extras .gal-wrapper-nav {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    outline: none;
    border: 0;
    -webkit-box-shadow: 0;
            box-shadow: 0;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
  }
  .bt-carousel .bt-carousel-extras .gal-wrapper-nav#gal-wrapper-left {
    left: 0;
    font-size: 1.5em;
  }
  .bt-carousel .bt-carousel-extras .gal-wrapper-nav#gal-wrapper-left:after {
    content: "<";
  }
  .bt-carousel .bt-carousel-extras .gal-wrapper-nav#gal-wrapper-right {
    right: 0;
    font-size: 1.5em;
  }
  .bt-carousel .bt-carousel-extras .gal-wrapper-nav#gal-wrapper-right:after {
    content: ">";
  }
  .bt-carousel .bt-carousel-extras:hover .gal-wrapper-nav {
    opacity: 1;
  }
  .bt-carousel .gal-wrapper-nav,
  .bt-carousel .gal-mainitem-nav {
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    outline: none;
    border: 0;
    -webkit-box-shadow: 0;
            box-shadow: 0;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
  }
  .bt-carousel .gal-wrapper-nav#gal-wrapper-left, .bt-carousel .gal-wrapper-nav#gal-mainitem-left,
  .bt-carousel .gal-mainitem-nav#gal-wrapper-left,
  .bt-carousel .gal-mainitem-nav#gal-mainitem-left {
    left: 0;
    font-size: 1.5em;
  }
  .bt-carousel .gal-wrapper-nav#gal-wrapper-left:after, .bt-carousel .gal-wrapper-nav#gal-mainitem-left:after,
  .bt-carousel .gal-mainitem-nav#gal-wrapper-left:after,
  .bt-carousel .gal-mainitem-nav#gal-mainitem-left:after {
    content: "<";
  }
  .bt-carousel .gal-wrapper-nav#gal-wrapper-right, .bt-carousel .gal-wrapper-nav#gal-mainitem-right,
  .bt-carousel .gal-mainitem-nav#gal-wrapper-right,
  .bt-carousel .gal-mainitem-nav#gal-mainitem-right {
    right: 0;
    font-size: 1.5em;
  }
  .bt-carousel .gal-wrapper-nav#gal-wrapper-right:after, .bt-carousel .gal-wrapper-nav#gal-mainitem-right:after,
  .bt-carousel .gal-mainitem-nav#gal-wrapper-right:after,
  .bt-carousel .gal-mainitem-nav#gal-mainitem-right:after {
    content: ">";
  }
  
  /* lightbox */
  #lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    overflow: hidden;
  }
  #lightbox .lightbox-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #lightbox .lightbox-container .lightbox-image {
    position: relative;
    z-index: 2;
    max-height: 85vh;
    max-width: 90vw;
    -webkit-animation: lightbox-image-in 0.3s ease-out;
            animation: lightbox-image-in 0.3s ease-out;
  }
  #lightbox .lightbox-container .lightbox-shade {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
    -webkit-animation: lightbox-frame-in 0.3s ease-out;
            animation: lightbox-frame-in 0.3s ease-out;
  }
  #lightbox .lightbox-container .lightbox-counter {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    z-index: 4;
    font-size: 0.8em;
    font-weight: 400;
    color: #fff;
    text-align: center;
  }
  #lightbox .lightbox-container .lightbox-counter span {
    font-size: 1.2em;
  }
  #lightbox .lightbox-container #lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 2.5em;
    line-height: 1em;
    color: rgba(255, 255, 255, 0.6);
    z-index: 4;
  }
  #lightbox .lightbox-container #lightbox-close:hover {
    color: #fff;
  }
  #lightbox .lightbox-container #lightbox-close:after {
    content: "x";
  }
  #lightbox .lightbox-container .nav-prev {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    left: 15px;
    z-index: 4;
    width: 80px;
    height: 80px;
  }
  #lightbox .lightbox-container .nav-prev button:after {
    content: "<";
  }
  #lightbox .lightbox-container .nav-next {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    right: 15px;
    z-index: 4;
    width: 80px;
    height: 80px;
    text-align: right;
  }
  #lightbox .lightbox-container .nav-next button:after {
    content: ">";
  }
  #lightbox .lightbox-container button {
    border: 0;
    outline: 0;
    -webkit-box-shadow: 0;
            box-shadow: 0;
    background: none;
    color: #fff;
    font-size: 2rem;
  }