

/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
 .flex-container a:hover,
 .flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;  
}
.slides,
.slides > li{height: 100%;}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
 .flexslider {
  margin: 0;
  padding: 0;
  position: relative;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {

/* ====================================================================================================================
  width: 100%;
  display: block;
 * ====================================================================================================================*/
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}

/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
 .flexslider {
  margin: 0px;
  position: relative;
  zoom: 1;  
  /* overflow: hidden; */
}

.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img { 
  height:100%; 
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 400px;
}

.carousel li {
  margin: 0 5px;
  float: left;
  display: block;
}
.flex-direction-nav {
  *height: 0;
}
.carousel .flex-direction-nav a 
{
  display: none;
}
.flex-direction-nav a {

  bottom: 50%;
  z-index: 99;
  cursor: pointer;
  text-indent: -9999px;
  opacity: .85;
  text-decoration: none;
  /* display: none;  */
  width: 25px;
  height: 25px;
  margin: -20px 0 0;
  position: absolute;
  background: url('../../images/slider-arrows.png') no-repeat 0 0; 
  background-size: cover;
  cursor: pointer;  
  text-indent: -9999px;
  color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}
.flex-direction-nav a:hover
{  
  background-color:transparent;
  opacity: 1;
}

.flex-direction-nav .flex-prev {
 left: 2%; 
 background-position: -15% 0;
}
.flex-direction-nav .flex-next {
  right: 2%;
  text-align: right;
  background-position: 120% 0;
}

.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -15%;
  right: 0%;
  z-index: 99;
  text-align: center;
}
.flex-control-nav li {
  margin: 10px 5px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 20px;
  background: #DEF1FF;
  cursor: pointer;  
  text-indent: -9999px;
  z-index: 99;
  position: relative; 
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: all .7s ease-in-out;
  -webkit-transition: all .7s ease-in-out;
}
.flex-control-paging li a:hover {
  background:#115CC0; 
  transition: all .7s ease-in-out;
  -webkit-transition: all .7s ease-in-out;
}
.flex-control-paging li a.flex-active {

  background: #115CC0;
  cursor: default;
  transition: all .7s ease-in-out;
  -webkit-transition: all .7s ease-in-out;
}
.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%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
.slides h2
{
 padding: 0px 0px;
 margin: 0;  
 color: #115CC0;  
 line-height: 1;
 letter-spacing: 1px;
 position: relative;
 z-index: 999;
 text-transform: capitalize;
 font-size: 3rem;
 font-weight: 600;
 font-family: 'Josefin Sans';
 
}
.slides .st1
{
  position:absolute;
  top: 35%;
  right: 7%;
  display: block;
  overflow: hidden;
  padding: 2px 10px 7px;
  z-index: 999;
  border-radius: 5px;
}
.slides h2 span
{
  color: #0156D3;
  text-shadow: none;
}
.slides p
{
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 1px;
  text-transform: capitalize;
}
.slides .st-p
{
  position: absolute;
  top: 45%;
  right: 7%;
  display: inline-block;
  overflow: hidden;
  z-index: 99;
  padding: 10px;
  text-align: right;
}
.slides a
{
  display: inline-block;
position: absolute;
margin: 0px;
padding: 5px 40px 5px 10px;
background: #115CC0;
color: #fff;
font-size: 13px;
text-transform: capitalize;
transition: all ease-in-out .7s;
-webkit-transition: all ease-in-out .7s;
border: 1px solid #fff;
border-radius: 18px;
right: 8%;
bottom: 25%;
}
.slides a i 
{
    position: absolute;
    width: 30px;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    padding: 8px 0;
    border-left: 1px solid #fff;
}
.slides a:hover
{
  background: #fff;
  color: #115CC0;
  border-color: #115CC0;
}
.slides a:hover i
{
  border-color: #115CC0;
}
/* ----------reverse animation----------- */
.slides .st1 {
  animation: nonanimatetxtTop 1s ease;
}
@keyframes nonanimatetxtTop {
  from {top: 35%;}
  to {top: 0%;}
}
.slides .st-p {
  animation: nonanimateSubTxtTop 1s ease;
}
@keyframes nonanimateSubTxtTop {
  from {right: 7%;}
  to {right: 0%;}
}
.slides  a {
  animation: nonanimatebtn 1s ease;
}
@keyframes nonanimatebtn {
  from {bottom: 25%;}
  to {bottom: 0%;}
}

/*---------animation-----------*/
.flex-active-slide  .st1 {
  animation: animatetxtTop 1s ease;
}
@keyframes animatetxtTop {
  from {top: 0%;}
  to {top: 35%;}
}
.flex-active-slide  .st-p {
  animation: animateSubTxtTop 1s ease;
}
@keyframes animateSubTxtTop {
  from {right: 0%;}
  to {right: 7%;}
}
.flex-active-slide  a {
  animation: animatebtn 1s ease;
}
@keyframes animatebtn {
  from {bottom: 0%;}
  to {bottom: 25%;}
}
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
 @media screen and (max-width: 960px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 0px;
  }
}
@media screen and (max-width: 700px) {

  /* ----------reverse animation----------- */


}
