/* #jQuery FlexSlider v2.2
================================================== */


/* Browser Resets
*********************************/

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
    outline: none;
}

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

ul.slides li {
    border: none;
    padding: 0;
    margin-bottom: 0;
    position: relative;
}


/* FlexSlider Necessary Styles
*********************************/

html[xmlns] .slides {
    display: block;
}

.flexslider {
    margin: 0;
    padding: 0;
    z-index: 0;
}

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


/* Hide the slides before the JS is loaded. Avoids image jumping */

.flexslider .slides img {
    display: block;
}

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


/* Clearfix for the .slides element */

.slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

* html .slides {
    height: 1%;
}


/* No JavaScript Fallback */


/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */

.no-js .slides>li:first-child {
    display: block;
}

.flexslider .slides img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#homepage_slider .slides img {
    width: 100%;
}


/* FlexSlider Default Theme
*********************************/

.flexslider {
    position: relative;
    zoom: 1;
    clear: both;
    overflow: hidden
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

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

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides li {
    text-align: center;
    position: relative;
}

.carousel li {
    margin-right: 5px;
    border: 0
}

.flex-caption {
    margin: 0;
    width: 100%;
    position: absolute;
    top: 25%;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .05), 0 1px 2px rgba(0, 0, 0, .3);
}

.flexslider .headline {
    font-size: 40px;
    margin-bottom: 0.2em;
    line-height: 45px;
    font-weight: normal;
    position: relative;
    letter-spacing: 2px;
}

.flexslider p.subtitle {
    font-size: 14px;
    line-height: 1.5em;
    font-weight: lighter;
    position: relative;
}

.flex-caption .action_button {
    padding: 12px 32px;
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
    position: relative;
}

.flex-caption .action_button:hover {
    background-color: rgba(255, 255, 255, .2) !important;
    border-color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .6);
}


/* Direction Nav */

.flex-direction-nav {
    *height: 0;
}

.flex-direction-nav a {
    width: 60px;
    height: 60px;
    margin: -20px 0 0;
    display: block;
    z-index: 10;
    background: url(//cdn.shopify.com/s/files/1/0861/9430/t/9/assets/arrow_sprite.png?5631608289031021199) no-repeat 0 0;
    position: absolute;
    top: 50%;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
}

.flex-direction-nav .flex-next {
    background-position: 0 -120px;
    right: -36px;
}

.flex-direction-nav .flex-prev {
    background-position: 0 -60px;
    left: -36px;
}

.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 15px;
}

.flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 15px;
}

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

.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}


/* Control Nav */

.flex-control-nav {
    position: absolute;
    bottom: 40px;
    text-align: center;
    width: 100%;
    z-index: 10;
}

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

.flex-control-nav li:first-child {
    margin: 0;
}

.flex-control-nav li a {
    width: 40px;
    height: 1px;
    display: block;
    opacity: 0.3;
    cursor: pointer;
    text-indent: -9999em;
    border: 3px solid #fff;
    background: #fff;
    overflow: hidden;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    -o-border-radius: 1px;
    border-radius: 1px;
}

.flex-control-nav li a.flex-active {
    opacity: 0.8;
    cursor: default;
}

.flex-control-thumbs {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-thumbs li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex-control-thumbs {
    position: static;
    overflow: hidden;
}

.flex-control-thumbs li,
.flex-control-thumbs li:first-child {
    width: 16%;
    vertical-align: top;
    margin: 15px 5% 0 0;
}

.flex-control-thumbs li:nth-child(5n) {
    margin: 15px 0 0;
}

.flex-control-thumbs img {
    width: 100%;
    display: block;
    opacity: .7;
    cursor: pointer;
}

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

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

.product_slider .flex-active-slide a:hover {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
}

.product_slider {
    margin-bottom: 2em
}

.product_slider .slides img {
    width: auto !important;
}

.flexslider a.action_button {
    width: initial;
}

@media only screen and (max-width: 767px) {
    .flex-control-nav {
        bottom: 10px
    }
    .flex-caption {
        top: 10%;
    }
    .flex-caption .headline {
        font-size: 1.5em;
        line-height: 1.5em;
        position: relative;
    }
    .flex-caption p.subtitle {
        font-size: 1.1em;
        line-height: 1.5em;
        position: relative;
    }
}

@media only screen and (max-width: 479px) {
    .flex-caption .headline,
    .flex-caption p.subtitle {
        font-size: 1.1em;
        line-height: 1.1em;
    }
    .flex-caption p.subtitle {
        font-size: 0.8em;
        line-height: 1.5em;
        margin-bottom: 1em;
    }
    .flex-caption .action_button {
        padding: 4px 15px;
        font-size: 12px;
    }
    .flex-direction-nav .flex-prev {
        display: none;
    }
    .flex-direction-nav .flex-next {
        display: none;
    }
}