/* Browser Resets
*********************************/
.ctpl4-flex .flex-container a:active,
.ctpl4-flex .flexslider a:active,
.ctpl4-flex .flex-container a:focus,
.ctpl4-flex .flexslider a:focus  {outline: none;}
.ctpl4-flex .slides,
.ctpl4-flex .flex-control-nav,
.ctpl4-flex .flex-direction-nav {margin: 0; padding: 0; list-style:none}

 .ctpl4-flex  ul,.ctpl4-flex  ol ,.ctpl4-flex  li {padding:0;margin:0;list-style:none}
 .ctpl4-flex ul,.ctpl4-flex  ol{float:none!important;margin:0}
.ctpl4-flex .flex-direction-nav a,.ctpl4-flex .flex-direction-nav a :hover {padding:0!important;background-color:transparent!important}
div#main-container #header .ctpl4-flex  .flex-viewport ul,div#main-container #header .ctpl4-flex  ul{margin-top:0!important;margin-right:0!important}
.ctpl4-flex .flexslider-img-content{opacity:0;visibility:hidden;}
.ctpl4-flex.flexslider-img-preloader{background:url(../images/loading.gif) no-repeat center center;min-width:100px;min-height:100px;display:block;overflow:hidden}
.ctpl4-flex.flexslider-img-preloader .flexslider{min-width:100px;min-height:100px;display:block}
/* Browser Resets */
.ctpl4-flex .flex-container a:active,
 a:active,
.ctpl4-flex .flex-container a:focus,
 a:focus  {outline: none;}
.ctpl4-flex .slides,
.ctpl4-flex .flex-control-nav,
.ctpl4-flex .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 
.ctpl4-flex .flex-control-nav,.ctpl4-flex .flex-control-nav a,.ctpl4-flex .flex-direction-nav,.ctpl4-flex .flex-direction-nav a,.ctpl4-flex .flex-pauseplay ,.ctpl4-flex .flex-pauseplay a{z-index:3}
.ctpl4-flex  .flex-caption{margin:0px; 

  padding:10px;
  color:#fff;

  }
.t-center{text-align:center!important;}
.clearfix{clear:both}  
.ctpl4-flex  .flex-caption h1,.ctpl4-flex  .flex-caption h2,.ctpl4-flex  .flex-caption h3,.ctpl4-flex  .flex-caption h4,.ctpl4-flex  .flex-caption h5 ,.ctpl4-flex  .flex-caption h6, .ctpl4-flex  .flex-caption p ,.ctpl4-flex  .flex-caption{color:#fff!important}
/* FlexSlider Necessary Styles
*********************************/
.ctpl4-flex .flexslider {margin: 0; padding: 0;}
.ctpl4-flex .flexslider .slides > li {display: none; position:relative} /* Hide the slides before the JS is loaded. Avoids image jumping */
.ctpl4-flex .flexslider .slides img.flex-slide-img {width: auto; display: block;margin:0 auto}
.ctpl4-flex .flex-pauseplay span {text-transform: capitalize;}
.ctpl4-flex .flex-caption{position:absolute;left:20%;right:20%;bottom:-100%;padding:10pxx;color:#fff;
text-align:center;
    display: block;
    margin: 0 auto;

}
.ctpl4-flex .flex-caption p{margin:0}
/* Clearfix for the .slides element */
.ctpl4-flex .slides:after {content: ""; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .ctpl4-flex .slides {display: block;}
* html .ctpl4-flex .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 .ctpl4-flex .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.ctpl4-flex.flexslider-img-preloader{ zoom: 1;}
.ctpl4-flex  .flexslider { margin: 0;  position: relative;}
.ctpl4-flex .flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.ctpl4-flex .loading .flex-viewport { max-height: 300px; }
.ctpl4-flex .flexslider .slides { zoom: 1; }
.ctpl4-flex .carousel li { margin-right: 0px; }

/* Direction Nav */
/*arrows-image*/
.ctpl4-flex.arrows-image  .flex-direction-nav a {width: 36px; height: 39px; margin: -20px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.ctpl4-flex.arrows-image  .flex-direction-nav .flex-next {background-position: 0 -39px; right: -0px;}
.ctpl4-flex.arrows-image .flex-direction-nav .flex-prev {left: -0px;}
.ctpl4-flex.arrows-image:hover .flex-next {opacity: 1; right: 0;}
.ctpl4-flex.arrows-image:hover .flex-prev {opacity: 1; left: 0;}
.ctpl4-flex.arrows-image  .flex-direction-nav .disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/*fonticon*/
.ctpl4-flex.arrows-font-icon .flex-direction-nav {*height: 0;}
.ctpl4-flex.arrows-font-icon .flex-direction-nav a  { display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; opacity: 0; cursor: pointer; color: #eee!important;  -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease;background:transparent;line-height:40px }
.ctpl4-flex.arrows-font-icon .flex-direction-nav li {line-height:1}
.ctpl4-flex.arrows-font-icon .flex-direction-nav .flex-prev { left: -50px; }
.ctpl4-flex.arrows-font-icon  .flex-direction-nav .flex-next { right: -50px; text-align: right; }
.ctpl4-flex.arrows-font-icon .flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.ctpl4-flex.arrows-font-icon  .flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.ctpl4-flex.arrows-font-icon  .flexslider:hover .flex-next:hover,.ctpl4-flex.arrows-font-icon .flexslider:hover .flex-prev:hover { opacity: 1; }
.ctpl4-flex.arrows-font-icon  .flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.ctpl4-flex.arrows-font-icon .flex-direction-nav a:before  { font-family: 'flexslider'; font-size: 40px; display: inline-block; content: '\e601'; }
.ctpl4-flex.arrows-font-icon .flex-direction-nav a.flex-next:before  { content: '\e600'; }

/* Pause/Play */
.ctpl4-flex .flex-pauseplay a { display: block; width: 40px; height: 40px; position: absolute; top:50%; left: 50%; opacity: 0; z-index: 10;  cursor: pointer; color: #eee!important;margin:-20px 0 0 -20px ;-webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease;line-height:40px }
.ctpl4-flex .flex-pauseplay a:before  { font-family: 'flexslider'; font-size: 40px; display: inline-block; content: '\e605'; }
.ctpl4-flex:hover .flex-pauseplay a  { opacity: 1; }
.ctpl4-flex .flex-pauseplay a.flex-play:before { content: '\e604'; }

/* Control Nav */
.ctpl4-flex .flex-control-nav {width: 100%; position: absolute; top: 10px; text-align:center;padding:0;right:21px;width:20px;}
.ctpl4-flex .flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;position:relative}
.ctpl4-flex .flex-control-paging li a {width: 11px; height: 11px; display: block;background:#eee; background:rgba(0, 0, 0, 0.1);  cursor: pointer; text-indent: 9999px; -webkit-border-radius:50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%;border:2px solid #eee  }
.ctpl4-flex .flex-control-paging li a:hover { border:2px solid #1580BA;width: 15px; height: 15px;background:#1580BA; background:rgba(0, 0, 0, 0.1); }
.ctpl4-flex .flex-control-paging li a.flex-active { border:2px solid #1580BA; cursor: default;width: 15px; height: 15px; background:#1580BA; background:rgba(0, 0, 0, 0.1);}

.ctpl4-flex .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.ctpl4-flex .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.ctpl4-flex .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.ctpl4-flex .flex-control-thumbs img:hover {opacity: 1;}
.ctpl4-flex .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
.ctpl4-flex .flex-caption{background:rgba(0,0,0,0.5);}
@media screen and (max-width: 767px) {
.ctpl4-flex .flex-caption,.ctpl4-flex .flex-caption p{font-size:10px;}
.ctpl4-flex .flex-caption h1{font-size:17px;}
.ctpl4-flex .flex-caption h2{font-size:16px;}
.ctpl4-flex .flex-caption h3{font-size:15px;}
.ctpl4-flex .flex-caption h4,.ctpl4-flex .flex-caption h5, .ctpl4-flex .flex-caption h6{font-size:12px;}

.ctpl4-flex .flex-control-nav{display:none!important}

.ctpl4-flex .flex-caption{padding:0}
}
@media screen and (max-width: 767px) {
.ctpl4-flex .flex-caption.t-center > p{display:none!important}
}

.ctpl4-flex .flex-caption.t-center > p {
    font-size: 19px;
}