

/* ====================================================================================================================
 * 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{}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
 .flexslider {
  margin: 0;
  padding: 0;
  position: relative;
  background: #111;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  height: 100vh;
  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::after
{
  content: '';
  bottom: 0px;
  height: 100px;
  width: 100%;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  box-shadow: 0 0 30px #000;
}
.flexslider .slides {
  zoom: 1;

}
.flexslider .slides img { 

  -moz-user-select: none;
border-bottom: 2px solid #fff;
}
.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: 47%;
  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%;
 bottom: ;

}
.flex-direction-nav .flex-next {
  right: 2%;
  text-align: right;
  background-position: 100% 0;
}

.flex-control-nav {
  /* width: 100%; */
  position: absolute;
  bottom: 2%;
  left: 9%;
  z-index: 99;
}

.flex-control-nav li {
  margin: 5px 5px;
  display:inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
 width: 15px;
 height: 15px;
 display: block;
 border-radius: 20px;
 background: white;
 cursor: pointer;  
 text-indent: -9999px;
 z-index: 99;
 background: rgba(255,255,255,.4); 
 border: 2px solid rgba(255,255,255,.2);
 position: relative; 
 transition: all .8s ease-in-out;
 -webkit-transition: all .8s ease-in-out;
}
.flex-control-paging li a:hover {
  background: #ed3237;
  border-color: #e67817; 
  transition: all .8s ease-in-out;
  -webkit-transition: all .8s ease-in-out;
}
.flex-control-paging li a.flex-active {
background: #ed3237;
 border-color:  #fff; 
  cursor: default;
  transition: all .8s ease-in-out;
  -webkit-transition: all .8s ease-in-out;
  /*transform: rotate(45deg);
-webkit-transform: rotate(45deg);*/
}
.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: #493989;  
 line-height: 1;
 letter-spacing: 1px;
 position: relative;
 z-index: 999;
 font-size: 1.8rem;
 font-family:;
 text-transform: uppercase;

}
.slides .st1
{
  position:absolute;
  top: 45%;
  left: 9%;
  display: block;
  overflow: hidden;
  padding: 2px 10px 7px;
  z-index: 999;
  border-radius: 5px;
}

.slides p
{
  font-size: 4rem;
  line-height: 1em;
  letter-spacing: 1px;
  text-transform: capitalize;
  font-family: 'Kanit', sans-serif;
 text-shadow: 1px 3px 5px rgba(0,0,0,0.35);
  color: rgba(255,255,255,1);/*transparent;*/
  font-weight: 400;
}
.slides p span
{
  display: block;
  font-weight: 700;
  line-height: 2;
  font-size: 6rem;
  font-weight: 500;
   
}

.slides .st-p
{
  position: absolute;
  top: 38%;
  left: 9%;
  display: block;
  overflow: hidden;
  z-index: 99;
  padding: 10px;
}
/* ----------reverse animation----------- */
.slides .st1 {
  animation: nonanimatetxtTop 1s ease;
}
@keyframes nonanimatetxtTop {
  from {top: 45%;}
  to {top: 0%;}
}
.slides .st-p {
  animation: nonanimateSubTxtTop 1s ease;
}
@keyframes nonanimateSubTxtTop {
  from {left: 9%;}
  to {left: 0%;}
}

/*---------animation-----------*/
.flex-active-slide  .st1 {
  animation: animatetxtTop 1s ease;
}
@keyframes animatetxtTop {
  from {top: 0%;}
  to {top: 45%;}
}
.flex-active-slide  .st-p {
  animation: animateSubTxtTop 1s ease;
}
@keyframes animateSubTxtTop {
  from {left: 0%;}
  to {left: 9%;}
}
/* ====================================================================================================================
 * 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;
  }
}







