/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* 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;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-control-thumbs img {cursor:pointer;}
.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 {overflow:hidden; position: relative; z-index:2;}
.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; }
.carousel li { margin-right: 5px; }


/* Direction Nav */
.flexslider.main-slider .flex-direction-nav li a{position:absolute;z-index:300;top:50%;display:block;width:32px;height:32px;margin-top:-16px;font-family:FontAwesome;text-align:center}
.flexslider.main-slider .flex-direction-nav li a.flex-prev{left:15px}
.flexslider.main-slider .flex-direction-nav li a.flex-next{right:15px}
.flexslider.main-slider .flex-direction-nav li a:before {position:absolute;left:0;top:0;width:32px; height:32px; line-height:30px; font-size:38px; color:#ffffff; transition:all .3s ease-in-out; opacity:.5}
.flexslider.main-slider .flex-direction-nav li a.flex-prev:before {content:"\f053"; background:transparent; left:-15px}
.flexslider.main-slider .flex-direction-nav li a.flex-next:before{content:"\f054";background:transparent}
.flexslider.main-slider .flex-direction-nav li a:hover:before{color:#ffffff; font-size:45px;}
.flexslider.main-slider:hover .flex-direction-nav li a:before{opacity:1}

/* __________ Control Navigation __________ */
.flex-control-nav{position:absolute;z-index:300;left:50%;bottom:72px;width:1170px;margin-left:-585px;text-align:left}
.flex-control-nav li{display:inline-block;margin:0 5px;}
.flex-control-nav li a{display:block;width:17px;height:17px;border-radius:50%;box-shadow:0 0 0 2px #fff inset;font-size:0;cursor:pointer}
.flex-control-nav li a:hover{opacity:.6}
.flex-control-nav li a.flex-active{box-shadow:0 0 0 9px #fff inset;cursor:default}
.flex-control-nav li a.flex-active:hover {opacity:1;}

.flex-direction-nav {  text-align: center; width: auto; display: inline-flex; }
.flex-direction-nav li a:before { font-weight: 300; font-size: 13px; padding: 5px 9px; margin: 0 3px; float: left; transition:all 1s; -moz-transition:all 1s; -o-transition:all 1s; -webkit-transition:all 1s; background:  #02365a; color: #ffffff; }
.flex-direction-nav li a.flex-prev:before  {content: "\f053"; }
.flex-direction-nav li a.flex-next:before {content: "\f054"; }
.flex-direction-nav li a:hover:before { background: #051039; }

.flexslider.main-slider .flex-direction-nav {display: block;}


/* 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-thumbs{position:absolute;z-index:200;left:0;bottom:50px;width:100%;text-align:center}
.flex-control-thumbs li{overflow:hidden;position:relative;display:inline-block;width:100px;height:70px;margin:0 5px}
.flex-control-thumbs img{position:asbolute;width:auto;max-width:none;height:100%;display:block;cursor:pointer}
.flex-control-thumbs li img.flex-active:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;border:5px solid #fff}

/* Main Slider Caption */
#mainslider { position:absolute; width: 100%; height: 100%; top: 0; left: 0; }
#mainslider .flex-control-nav { bottom: 70px; height: 0; }
#mainslider .slideitem { width:100%; background-size:100% 100%; }
#mainslider .slides li { height:100%; }
.slidecaptions { display: flex; justify-content: center; align-items: center; flex-direction: column; width: 100%; height: 100%; background: url("../images/mask.png") repeat scroll 0 0 rgba(9,28,111,0.5);  }

.main-slider .flex_caption1 p { margin:3px auto; display: table; width: 100%; padding: 0 10px; text-align: center; }
.main-slider .itemleft .flex_caption1 p{ text-align: left; }
.main-slider .itemright .flex_caption1 p{ text-align: right; }
/*.main-slider .flex_caption2 { position:absolute; z-index:25; bottom:0; width:430px; height:400px; right:5%; background-repeat:no-repeat; background-size:100% auto; -webkit-background-size:100% auto; background-position:  right bottom; } */

.slide-links { width: 90%; top: 20px; display: block; position: relative; text-align: center; z-index: 110; }
.slide-links .sldbtnh { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.itemleft .slide-links .sldbtnh{ justify-content: flex-start; }
.itemright .slide-links .sldbtnh{ justify-content: flex-end; }
.slide-links .slide-btn { border: 1px solid #ffffff; color: #ffffff; display: inline-flex; font-size: 19px; font-weight: 400; margin: 0 10px; border-radius: 3px; padding: 10px 20px; transition:all .5s; }
.slide-links .slide-btn2 { border: 1px solid #0dade2; background-color: #0dade2;  }
.slide-links .slide-btn:hover{background-color: #ffffff !important; color: #051039; border-color: #ffffff !important; }

.main-slider .flex_caption1 { position:relative; z-index:30; width:90%;  font-size: 35px; font-weight: 500; color: #ffffff; top: 0; margin: 0 auto; text-align: center; line-height:1.25; }
.main-slider .flex-control-nav { margin:0 auto; left:auto; position: relative; display: block; width: 90%; text-align: center;  }

/* Flex Caption Effect */
.FadeIn, .FromTop, .FromRight, .FromBottom, .FromLeft {opacity: 0; transition: all 0.7s ease-in-out; -webkit-transition: all 0.7s ease-in-out;}
.captionDelay1 {transition-delay: 0.1s;}
.captionDelay2 {transition-delay: 0.2s;}
.captionDelay3 {transition-delay: 0.3s;}
.captionDelay4 {transition-delay: 0.4s;}
.captionDelay5 {transition-delay: 0.5s;}
.captionDelay6 {transition-delay: 0.6s;}
.captionDelay7 {transition-delay: 0.7s;}
.captionDelay8 {transition-delay: 0.8s;}
.captionDelay9 {transition-delay: 0.9s;}
.captionDelay10 {transition-delay: 1s;}
.captionDelay11{transition-delay: 1.1s;}
.captionDelay12 {transition-delay: 1.2s;}

.FadeInDelay { transition-delay: 1s; }

.flexslider li.flex-active-slide .FadeIn {opacity: 1;  }
.flexslider li .FromTop { transform: translateY(-100%); }
.flexslider li.flex-active-slide .FromTop {opacity: 1;transform: translateY(0);}
.flexslider li .FromBottom { -o-transform: translateY(100%);transform: translateY(100%);}
.flexslider li.flex-active-slide .FromBottom {opacity: 1;transform: translateY(0);}
.flexslider li .FromLeft { -o-transform: translateX(-100%);transform: translateX(-100%); }
.flexslider li.flex-active-slide .FromLeft {opacity: 1;transform: translateX(0); }
.flexslider li .FromRight { -o-transform: translateX(100%);transform: translateX(100%); }
.flexslider li.flex-active-slide .FromRight {opacity: 1;transform: translateX(0); }

.main-slider .title1 { font-size: 50px; }
.main-slider .title2 { font-weight: 900; font-size: 30px; }
.main-slider .title3 { font-size: 19px; }