/*
 * 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-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
#banner-slider{height: 514px; width: 98%; } 

.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-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 { /*max-width: 2000px; */margin: 0px auto 0px; position: relative; zoom: 1; z-index: 1; }
.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; }



/* Pause/Play */
.flex-pauseplay a { 
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
  background: #fff;
  padding: 8px;
  text-align: center;
  font-size: 0px; }

.flex-pauseplay a:before  { font-family: "FontAwesome"; font-size: 20px; display: inline-block; content: '\f04c'; }
.flex-pauseplay a:hover, .flex-pauseplay a:focus  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f04b'; }

/* Control Nav */
.flex-control-nav li {margin: 0px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a { display: block; cursor: pointer; text-indent: -9999px;  }

.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, .flex-control-thumbs img:focus {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}


.news-video.w-33 iframe {
    height: auto;
}



#banner-slider .news-video iframe {
    min-height: 514px;
}


.news-video  {
    margin-right: 20px;
    //background-color: rgba(0, 0, 0, .1);
    /* padding-top: 80px; */
    //padding-bottom: 50px;
    min-height: 470px;
max-width:1012px;
margin:0 auto;
}

#banner .flexslider .slides a img {
  display: block;
 -webkit-transition: all 0.6s;
 -moz-transition: all 0.6s;
 -o-transition: all 0.6s;
 transition: all 0.6s;
}

#banner .flexslider .slides a:hover img, #banner .flexslider .slides a:focus img {
 -webkit-transform: translate3d(0, 0, 0);
 -webkit-perspective: 0;
 -webkit-backface-visibility: hidden;
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
 -moz-transform: scale(1.05) rotate(0.1deg);
}



#main-slider .slides .image {
    max-height: 550px;
    overflow: hidden;    
    -webkit-transition: max-width .5s ease-out;  /* Saf3.2+, Chrome */
    -moz-transition: max-width .5s ease-out;  /* FF4+ */
    -ms-transition: max-width .5s ease-out;  /* IE10? */
    -o-transition: max-width .5s ease-out;  /* Opera 10.5+ */
    transition: max-width .5s ease-out;
}
 
    #main-slider .slides .image img {
        width: 100%;
        -webkit-transition: margin-top .5s ease-out;  /* Saf3.2+, Chrome */
        -moz-transition: margin-top .5s ease-out;  /* FF4+ */
        -ms-transition: margin-top .5s ease-out;  /* IE10? */
        -o-transition: margin-top .5s ease-out;  /* Opera 10.5+ */
        transition: margin-top .5s ease-out;
    }

.newscaption h4 {

margin-bottom: -1.09em;
font-size: 17px;
}

.news-image {
    position: relative;
    display: block;
    float: left;
margin-right: 20px;
min-height: 400px;
}

.newscaption {
    //float: left;
    position: relative;
    text-align: left;
    background-color: #fff;
   padding: 20px;
color: #142d6b;
//min-height: 85px;
max-width:1012px;
margin:0 auto;
margin-top:15px;
font-size: 20px;
    font-weight: 700;
margin-bottom:20px;
}

.newscaption h3 {
    margin-bottom: 40px;
}

#banner-slider .inner-slide {
  width: 100%;
  position: relative;
  height: 514px;
  float: left;
}

#banner-slider .banner-caption {
  background: rgba(255,255,255,0.9);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 18px;
  font-size: 18px;
}

#banner-slider .flex-control-nav {
display: none;
}


.flex-direction-nav .flex-prev { float: left; margin-left: 10px;}
.flex-direction-nav .flex-next { float: right; margin-right: 10px;}



#banner-slider .flex-direction-nav li {
  display: inline-block;
  position: absolute;
  left: 0; }

#banner-slider .flex-direction-nav li.flex-nav-next {
  right: 0;
  left: auto; }

#banner-slider .flex-direction-nav a {
 color: #FFF;
 font-size: 30px;
 text-decoration: none;
  width: 48px;
  height: 46px;
 background-repeat: no-repeat;
}

#banner-slider .flex-direction-nav a:hover,
#banner-slider .flex-direction-nav a:focus {
 color: #b5a996;
}

.news-video.w-33 {
    margin-right: 20px;
     background-color: rgba(0, 0, 0, .1);
    padding-top: 80px;
    padding-bottom: 50px;
    min-height: 196px;
}


.caption .link-news {
 float: left;
 display: block;
 margin-top: 15px;
margin-bottom: 7px;
}



.link-news a span:after {
 content: '';
    width: 0; 
   height: 0; 
   border-style: solid; 
    border-width: 5px 0 5px 5px; 
    border-color: transparent transparent transparent #FFF;
    position: absolute;
    margin-left: 8px;
    margin-top: 3px;
}





.link-news a span {
 display: block;
 padding: 5px 25px 5px 5px;
 background: transparent;
 font-size: 80%;
}


.newscaption p {
    line-height: 1.8em;
    font-size: 17px;
    width: 88%;
    font-family: 'latoregular';
}

.video-controls{
max-width: 1012px;
background:#000;
margin: 0 auto;
    
position: relative;
}

.videoControls a {
    color: #142d6b;
    font-size: 30px;
    text-decoration: none;
    padding: 0px 0px 0px 11px;
}

.videoControls a:hover,
.videoControls a:focus {
    opacity:0.7;
}

.video-controls li {
    display: inline;
}




.carousel-caption p, .link-news a, .link-news a span {
-webkit-transition: background .4s ease-out;
  -moz-transition: background .4s ease-out;
  -o-transition: background .4s ease-out;
  transition: background .4s ease-out;
}


.inner-slide:hover .carousel-caption p,
.inner-slide:focus .carousel-caption p {
 background-color: #ffffff;
}



#banner-slider .flex-direction-nav {
  /* width: auto; */
  position: absolute;
  bottom: 55%;
  /* text-align: right; */
  /* max-width: 1012px; */
  /* padding: 0px 20px 0px 40px; */
  left: 0px;
  right: 0px;
  /* margin: 0 auto; */
  z-index: 99;
}


#banner-slider .flex-direction-nav li a {
 text-align: left;
color: #142d6b;
 transition:all .2s ease-in-out;  
      -o-transition:all .2s ease-in-out;  
      -moz-transition:all .2s ease-in-out;  
      -webkit-transition:all .2s ease-in-out;
}

.flex-control-paging li a:hover, .flex-control-paging li a:focus { background: #06317E; }
.flex-control-paging li a.flex-active { background: #06317E; }

.flex-direction-nav {
 display: block;
}

.flexslider.loading {
 transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
-webkit-animation-delay: 5s;
-moz-animation-delay: 5s;
animation-delay: 5s;
 opacity: 0;
}

.flexslider {
 opacity: 1;
}

.videoControls {
    /* width: 37%; */
 float: left; 
    text-align: right;
    position: absolute;
    right: 0px;
    bottom: -26px;
}



@media screen and (max-width: 960px) {
//.newscaption { padding: 15px;}

.contentTitles.news {
    width: 60%;
    float: left;
}




}



@media screen and (max-width: 800px) {
//.newscaption { padding: 5px;}
}



@media screen and (max-width: 640px) {
//.newscaption { padding: 25px;}
}
