/*
 * jQuery FlexSlider v2.0 (Optimized Fix)
 */

/* =========================
   RESET
========================= */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
    outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================
   CORE SLIDER BEHAVIOR
========================= */
.flexslider {
    margin: 0;
    padding: 0;
    position: relative;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
    width: 100%;
    height: auto;
    display: block;

    /* 🔥 FIX BLUR ON UPSCALING */
    image-rendering: auto;
    object-fit: contain;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* clearfix */
.slides:after {
    content: "";
    display: block;
    clear: both;
}

/* =========================
   FALLBACK
========================= */
.no-js .slides > li:first-child {
    display: block;
}

/* =========================
   SLIDER CONTAINER
========================= */
.flexslider {
    background: #fff;
    border: 0;
    position: relative;
}

/* smoother transitions */
.flex-viewport {
    max-height: 2000px;
    transition: all 0.6s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

/* =========================
   NAVIGATION ARROWS
========================= */
.flex-direction-nav {
    *height: 0;
}

.flex-direction-nav a {
    width: 38px;
    height: 38px;
    margin: -19px 0 0;

    display: block;
    background: url(//cdn10.bigcommerce.com/r-cf8dc1a36e37ca22115036b22a6b2976a6384be1/themes/BrightAndBold/images/bg_direction_nav.png) no-repeat;

    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;

    text-indent: -9999px;
    opacity: 0;

    transition: all 0.25s ease;
}

/* positions */
.flex-direction-nav .flex-next {
    background-position: 100% 0;
    right: 10px;
}

.flex-direction-nav .flex-prev {
    left: 10px;
}

/* hover behavior */
.flexslider:hover .flex-next,
.flexslider:hover .flex-prev {
    opacity: 0.85;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
    opacity: 1;
}

/* disabled state */
.flex-direction-nav .flex-disabled {
    opacity: 0.3 !important;
    cursor: default;
}

/* =========================
   PAGINATION DOTS
========================= */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -35px;
    text-align: center;
}

.flex-control-nav li {
    margin: 0 5px;
    display: inline-block;
}

.flex-control-paging li a {
    width: 10px;
    height: 10px;
    display: block;

    background: rgba(0,0,0,0.35);
    border-radius: 50%;

    cursor: pointer;
    text-indent: -9999px;

    transition: background 0.2s ease;
}

.flex-control-paging li a:hover {
    background: rgba(106,135,172,0.7);
}

.flex-control-paging li a.flex-active {
    background: rgba(106,135,172,0.95);
    cursor: default;
}

/* =========================
   THUMBNAILS
========================= */
.flex-control-thumbs {
    margin: 5px 0 0;
    overflow: hidden;
}

.flex-control-thumbs li {
    width: 25%;
    float: left;
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;

    opacity: 0.75;
    cursor: pointer;

    /* 🔥 FIX THUMB BLUR */
    object-fit: cover;
}

.flex-control-thumbs img:hover {
    opacity: 1;
}

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}

/* =========================
   MOBILE FIX
========================= */
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 5px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 5px;
    }
}