/* -----------------------------------
	Flex Slide
------------------------------------- */


/* 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 {margin: 0; padding: 0; list-style: none;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/flexslider-icon.woff') format('woff'),
		url('fonts/flexslider-icon.ttf') format('truetype'),
		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;position:relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */

.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[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; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px;zoom: 1;overflow:hidden;}
.flexslider.portfolio,.flexslider.simple_slide_show{-webkit-border-radius: 0px; -moz-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px;}
.flex-viewport { max-height: 450px; -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; }
.carousel li { margin-right: 5px; }
[class*="slide_caption"]{
	position:absolute;
	z-index:1;
	height:100%;
	top:0;
}
.flex-direction-nav a{
	display:block;
	position:absolute !important;
	top:50%;
	margin-top:-30px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
}
.flex-direction-nav .flex-prev{
	left:20px;
}
.flex-direction-nav .flex-next{
	right:20px;
}

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: 5px; text-align: center;}
.flex-control-nav li {margin: 0 4.5px; display: inline-block; zoom: 1; *display: inline;position:relative;}
.flex-control-paging li a {width: 10px; height: 10px; display: block; background:rgba(250, 251, 251, 0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%;  }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 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;}
.slider_divider{
	height:2px;
	width:100px;
	border:none;
        padding: 0px;
        margin: 0px;
}
@media only screen and (max-width:1024px) {
    .flex-direction-nav .flex-prev { opacity: 1; left: 70px;}
    .flex-direction-nav .flex-next { opacity: 1; right: 70px;}
    #title_font {
        position: relative;
        left: -15px;
        margin-top: 0px;
        font-size: 2.5em;
        font-weight: 600;
        line-height: 1.15em;
        max-width: 710px;
    }
    #description_font {
        position: relative;
        left: -15px;
        margin-top: 15px;
        font-size: 1.25em;
        font-weight: 200;
        line-height: 1.35em;
        max-width: 420px;
    }
    .slider_divider{
        position: relative;
        left: -15px;
    }
}
@media only screen and (max-width:992px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -45px;
        margin-top: 0px;
        font-size: 2.25em;
        font-weight: 600;
        line-height: 1.25em;
        max-width: 770px;
    }
    #description_font {
        position: relative;
        left: -45px;
        margin-top: 15px;
        font-size: 1.25em;
        font-weight: 200;
        line-height: 1.5em;
        max-width: 450px;
    }
    .slider_divider{
        position: relative;
        left: -45px;
    }
}
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -85px;
        top: -25px;
        font-size: 1.95em;
        font-weight: 600;
        line-height: 1.15em;
        max-width: 640px;
    }
    #description_font {
        position: relative;
        left: -85px;
        top: -30px;
        margin-top: 10px;
        font-size: 1.15em;
        font-weight: 200;
        line-height: 1.25em;
        max-width: 400px;
    }
    .slider_divider{
        position: relative;
        left: -85px;
        top: -30px;
    }
}
@media only screen and (max-width:768px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -85px;
        top: -25px;
        font-size: 1.75em;
        font-weight: 600;
        line-height: 1.25em;
        max-width: 600px;
    }
    #description_font {
        position: relative;
        left: -85px;
        top: -30px;
        margin-top: 10px;
        font-size: 1.1em;
        font-weight: 200;
        line-height: 1.25em;
        max-width: 400px;
    }
    .slider_divider{
        position: relative;
        left: -85px;
        top: -30px;
    }
}
@media only screen and (max-width:640px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -90px;
        top: -30px;
        font-size: 1.5em;
        font-weight: 600;
        line-height: 1.35em;
        max-width: 460px;
    }
    #description_font {
        position: relative;
        left: -90px;
        top: -35px;
        margin-top: 10px;
        font-size: 1.05em;
        font-weight: 200;
        line-height: 1.25em;
        max-width: 350px;
    }
    .slider_divider{
        position: relative;
        left: -90px;
        top: -35px;
    }
}
@media only screen and (max-width:568px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -90px;
        top: -30px;
        font-size: 1.5em;
        font-weight: 600;
        line-height: 1.35em;
        max-width: 460px;
    }
    #description_font {
        position: relative;
        left: -90px;
        top: -35px;
        margin-top: 10px;
        font-size: 1.05em;
        font-weight: 200;
        line-height: 1.25em;
        max-width: 350px;
    }
    .slider_divider{
        position: relative;
        left: -90px;
        top: -35px;
    }
}
@media only screen and (max-width:480px) {
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -100px;
        top: -35px;
        font-size: 1.15em;
        font-weight: 600;
        line-height: 1.25em;
        max-width: 350px;
    }
    #description_font {
        position: relative;
        left: -100px;
        top: -40px;
        margin-top: 5px;
        font-size: 0.75em;
        font-weight: 200;
        line-height: 1.1em;
        max-width: 300px;
    }
    .slider_divider{
        position: relative;
        left: -100px;
        top: -40px;
    }
}
@media only screen and (max-width:393px){
    .flex-direction-nav .flex-prev { display: none;}
    .flex-direction-nav .flex-next { display: none;}
    #title_font {
        position: relative;
        left: -110px;
        top: -45px;
        font-size: 1.15em;
        font-weight: 600;
        line-height: 1.25em;
        max-width: 300px;
    }
    #description_font {
        position: relative;
        left: -110px;
        top: -50px;
        margin-top: 5px;
        font-size: 0.75em;
        font-weight: 200;
        line-height: 1.1em;
        max-width: 250px;
    }
    .slider_divider{
        position: relative;
        left: -110px;
        top: -50px;
    }
}