/*
 * jQuery FlexSlider v1.8
 * http://flex.madebymufffin.com
 *
 * Copyright 2011, Tyler Smith
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* Browser Resets */
.flex-container a:active, .flexslider a:active {
    outline: none;
}

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

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.flexslider .slides > li {
    display: none;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    display: block;
    max-width: 100%;
}

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

/* Clearfix for the .slides element */
.slides:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: ".";
    line-height: 0;
}

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

* 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 Default Theme
*********************************/
.flexslider {
    position: relative;
    max-width: 100%;
    width: 100%;
    zoom: 1;
}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides > li {
    position: relative;
}

.flexslider .slides > li > img {
    width: 100%;
}

/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {
    position: relative;
    zoom: 1;
}

/* Caption style */
/* IE rgba() hack */
.flex-caption {
    background: none;
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000, endColorstr=#4C000000);
    zoom: 1;
}

.flex-caption {
    position: absolute;
    bottom: 0;
    padding: 15px;
    width: 100%;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.flex-caption h1 a {
    font-size: 50px;
}

.wrapper div.six-blocks div.block .flex-caption {
    top: 0;
    padding-left: 20px;
    text-align: left;
    pointer-events: none;
}

.wrapper div.six-blocks div.block .flex-caption h1 {
    text-transform: uppercase;
    font-size: 21px;
    line-height: 1.2;
}

.wrapper div.six-blocks div.block .flex-caption h4 {
    padding-right: 20px;
    font-weight: 100;
    font-size: 18px;
    line-height: 1.2;
}

.flexslider.top .slides .flex-caption {
    bottom: 100px;
    left: 50%;
    margin-left: -610px;
    padding: 0;
    max-width: 1220px !important;
    text-align: left;
}

.flexslider.top .slides .flex-caption h1 {
    float: right;
    width: 800px;
    font-size: 40px;
    line-height: 1.2;
}

.flexslider.top .slides .flex-caption h4 {
    float: right;
    margin: 25px 0;
    width: 800px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2;
}

.flex-direction-nav li {
    position: absolute;
    top: calc(50% - 50px);
    left: 50%;
    margin-left: -59px;
}

.flex-direction-nav li .next {
    left: 25px;
}

.flex-direction-nav li .prev {
    display: none;
}

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

/* Control Nav */
.flex-control-nav {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

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

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

.flex-control-nav li a {
    position: relative;
    display: block;
    width: 25px;
    height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background: #fff;
    text-indent: -9999px;
    cursor: pointer;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.flex-control-nav li .active:after {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 12px;
    height: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background: #ff4800;
    content: '';
}

.flex-control-nav li a:hover {
    background-position: 0 -13px;
}

.flex-control-nav li a.active {
    background-position: 0 -26px;
    cursor: default;
}


