/*====ma-banner7=================*/

/* Browser Resets */
.ma-banner7-container .flex-container a:active,
.ma-banner7-container .flexslider a:active,
.ma-banner7-container .flex-container a:focus,
.ma-banner7-container .flexslider a:focus  {outline: none;}
.ma-banner7-container .slides,
.ma-banner7-container .flex-control-nav,
.ma-banner7-container .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.ma-banner7-container .flexslider {margin: 0; padding: 0;}
.ma-banner7-container .flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position: relative; } /* Hide the slides before the JS is loaded. Avoids image jumping */
.ma-banner7-container .flexslider .slides img {width: 100%; display: block;}
.ma-banner7-container .flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.ma-banner7-container .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .ma-banner7-container .slides {display: block;} 
* html .ma-banner7-container .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 .ma-banner7-container .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.nivo-directionNav{/* opacity: 0; */}
.ma-banner7-container .flexslider {padding: 0; position: relative; zoom: 1;}
.ma-banner7-container .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.ma-banner7-container .loading .flex-viewport {max-height: 300px;}
.ma-banner7-container .flexslider .slides {zoom: 1;}

.ma-banner7-container .carousel li {margin-right: 5px}


/* Direction Nav */
.ma-banner7-container .flex-direction-nav {*height: 0;}
.nivo-directionNav{
}
.ma-banner7-container:hover .nivo-directionNav{ }
.ma-banner7-container .flex-direction-nav a,
.nivo-directionNav a { 
    width: 30px;
    height: 30px;
    font-size: 0;
    color: transparent;
    cursor: pointer;
    position: absolute;
    top: 50%; margin-top: -15px; 
    z-index: 9; cursor: pointer;
    display: block;
    color: transparent;
    line-height: 30px;
    text-align: center;
}
.nivo-directionNav a{
width:43px;height:43px;border:1px solid #246aa6;
position:absolute;top:50%;margin-top:-21.5px;
left:30px;background:#fff;
transition:all 0.3s ease-in-out;
-webkit-transition:all 0.3s ease-in-out;
-moz-transition:all 0.3s ease-in-out;
-o-transition:all 0.3s ease-in-out;
color:#246aa6;
line-height:41px;
opacity:0;
}
.nivo-directionNav a.nivo-nextNav{
left:inherit;right:30px;
}

.nivo-directionNav a i{ 

    display:none;
}
.nivo-directionNav a:before{
content:"\f053";font-family:FontAwesome;display:inline-block;vertical-align:top;
font-size:24px;
}
.nivo-directionNav a.nivo-nextNav:before{
content:"\f054";
}
.nivo-directionNav a:hover{ color:#fff;background:#246aa6;}
.flexslider:hover .nivo-directionNav a{opacity:1;left:0;}
.flexslider:hover .nivo-directionNav a.nivo-nextNav{left:inherit;right:0;}
.ma-banner7-container .flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}
 .ma-banner7-container{
    position :relative;
 }

/* Control Nav */
.ma-banner7-container .flex-control-nav,
.nivo-controlNav {width: 100%; position: absolute; bottom: 10px; text-align: center;}
.ma-banner7-container .flex-control-nav li { margin: 0 6px; display: inline-block; zoom: 1; *display: inline; }
.ma-banner7-container .flex-control-paging li a,
.nivo-controlNav a {width: 11px; height: 11px; display: block; background: #aaa; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3); z-index: 9; }
.ma-banner7-container .flex-control-paging li a:hover,
.ma-banner7-container .flex-control-paging li a.flex-active,
.nivo-controlNav a:hover,
.nivo-controlNav a.active {background: #ffb708; cursor: pointer;}


.ma-banner7-container .flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.ma-banner7-container .flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.ma-banner7-container .flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.ma-banner7-container .flex-control-thumbs img:hover {opacity: 1;}
.ma-banner7-container .flex-control-thumbs .flex-active {opacity: 1; cursor: default;}
.ma-nivoslider {
    overflow: hidden;
}
.nivoslider {
position: relative;
overflow: hidden;
height: auto;
width: 100%; 
}
.nivoslider img {
position: absolute;
top: 0;
left: 0;
display: none;
}
.nivo-controlNav {
    text-align: center;
}
.nivo-controlNav a {
border: 0 none;
display: inline-block;
height:11px;
margin: 0 3px;
text-indent: -9999px;
width:11px;
line-height: 11px;
cursor: pointer;
position: relative;
z-index: 9;
background-color: #fff;
border-radius: 100%
}
.banner7-caption {
position: absolute;
left:0; 
top:0;  
width: 100%;
background: none;
color: #fff;
font-size: 16px;
z-index: 999;
}
.ma-banner7-container .ma-loading {
    width: 16px;
    height: 16px;
    position: absolute;
    z-index: 99;
    background: url(../images/loader.gif) no-repeat ;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
}
/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
    width:100%;
    height:auto;
    overflow: hidden;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    max-width: none;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:6;
    display:none;
    background:white; 
    filter:alpha(opacity=0); 
    opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
    top:0;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    overflow:hidden;
}
.nivo-box img { display:block; }

.nivo-caption {
  position:absolute;
    left:0; 
    top:0;  
    color:#fff;
    width:100%;
    height: 100%;
    z-index:8;
}
.nivo-html-caption {
    display: none;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:6;
    display:none;
    background:white; 
    filter:alpha(opacity=0); 
    opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
    top:0;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    overflow:hidden;
}


.nivo-caption {
  position:absolute;
    left:0; 
    top:0;  
    color:#fff;
    width:100%;
    z-index:8;
    height: 100%;
}
.nivo-html-caption {
    display: none;
}
@-webkit-keyframes myfirst {
  from {width: 0;}
  to {width: 100%;}
 }
 @keyframes myfirst {
  from {width: 0;}
  to {width: 100%;}
 }
 .timethai.pos_hover{
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
  
 }

/*===================================================Content-banner7===========================================================*/
.nivoSlider {
    position:relative;
    width:100%;
    height:auto;
    overflow: hidden;
}
.banner7-content{ position: relative;}

.banner7-content{ margin: 0 auto;width: 100%;height: 100%;}
.bannerslideshow{position:absolute;top:20px;right:20px;text-align:right;}
.slider-2 .bannerslideshow{left: 45px;top:inherit;bottom: 31px;right:inherit;text-align:left;}
.slider-3 .bannerslideshow{text-align:left;left:5%;top:50%;margin-top: -123px;}
.banner7-content h1,
.banner7-content h2,
.banner7-content h3{}
.banner7-content h1{font-size: 70px;color: #e27b4c; margin-bottom: 0;font-weight: 700;text-transform: capitalize;line-height: normal;}
.banner7-content h2{font-size: 60px;color: #454545;font-weight: 300;display: inline-block;vertical-align: top;position: relative;  margin-bottom: 5px;line-height: 30px;}
.slider-1 h2:before{content:"";width:70%;height:1px;background:#454545;top:0;right:0;position: absolute;}
.banner7-content h3{ font-size: 20px; color: #e84c3d; font-weight: 400; text-transform: none}
.banner7-content .banner7-des{ max-width: 70%; margin: 0 auto}
.banner7-readmore{margin-top: 25px;}
.banner7-content .banner7-readmore a{
    color: #fff;
    font-size: 34px;
    background: #ffb708;
    font-weight: 700;
    line-height: 47px;
    padding: 0 11px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
}
.slider-2 .banner7-readmore a{background: #ff7253;}
.banner7-content .banner7-readmore a:hover{background: #e84c3d; color: #fff;}

.slider-1{}

.slider-2 h1{font-size: 60px;color: #fff; position: relative;}
.slider-2 h2{font-size: 24px;text-transform: uppercase;color: #fff; font-weight: 400; margin-bottom: 0;}
.slider-2 h2 span span{ text-transform: uppercase; color: #e84c3d; font-weight: 700;}
.slider-2 h3{ color: #3c3c3c; font-size: 14px; }
.slider-3 h1{font-size: 60px;color: #fff; position: relative;}
.slider-3 h2{font-size: 24px;text-transform: uppercase;color: #fff; font-weight: 400;margin-bottom: 23px;display: block;}
.slider-3 h2 span span{ text-transform: uppercase; color: #e84c3d; font-weight: 700;}
.slider-3 h3{text-transform:capitalize;color: #fff;font-size: 28px;line-height: 44px;background: #fb5f21;display: inline-block;vertical-align: top;margin-bottom: 0;}
.slider-3 h3 .word1,.slider-3 h3 .word2{background:#fff;line-height:40px;color:#fb5f21;font-size: 28px;display: inline-block;vertical-align: top;margin-top: 2px;}
.slider-3 h3 .word1{font-weight:300;padding-left:22px;margin-left: 2px;}
.slider-3 h3 .word2{margin-left: -7px;padding: 0 22px 0 12px;font-weight: 600;}
.slider-3 h3 .word3{margin-left:15px}
.slider-3 h3 span:last-child{margin-right:22px;}
.slider-1 h1{
    -webkit-animation: bounceInDown 1200ms ease-in-out;
    -moz-animation: bounceInDown 1200ms ease-in-out;
    -ms-animation: bounceInDown 1200ms ease-in-out;
    animation: bounceInDown 1200ms ease-in-out;
}
.slider-1 h2{
    -webkit-animation: bounceInRight 1700ms ease-in-out;
    -moz-animation: bounceInRight 1700ms ease-in-out;
    -ms-animation: bounceInRight 1700ms ease-in-out;
    animation: bounceInRight 1700ms ease-in-out;
}
.slider-1 h3{
    -webkit-animation: bounceInLeft 2000ms ease-in-out;
    -moz-animation: bounceInLeft 2000ms ease-in-out;
    -ms-animation: bounceInLeft 2000ms ease-in-out;
    animation: bounceInLeft 2000ms ease-in-out;
}
.slider-1 .banner7-des{
    -webkit-animation: bounceInDown 2000ms ease-in-out;
    -moz-animation: bounceInDown 2000ms ease-in-out;
    -ms-animation: bounceInDown 2000ms ease-in-out;
    animation: bounceInDown 2000ms ease-in-out;
}
.slider-1 .banner7-readmore a{ 
    -webkit-animation: bounceInDown 2300ms ease-in-out;
    -moz-animation: bounceInDown 2300ms ease-in-out;
    -ms-animation: bounceInDown 2300ms ease-in-out;
    animation: bounceInDown 2300ms ease-in-out;
}
.slider-1 img.img1 {
    position:absolute;
    bottom:0px;
    left:0px;
    max-width: none;
    -webkit-animation: fadeInRight 1500ms ease-in-out;
    -moz-animation: fadeInRight 1500ms ease-in-out;
    -ms-animation: fadeInRight 1500ms ease-in-out;
    animation: fadeInRight 1500ms ease-in-out;
}
.slider-1 img.img2 {
    position:absolute;
    bottom:0px;
    right:0px;
    max-width: none;
    -webkit-animation: fadeInLeft 1500ms ease-in-out;
    -moz-animation: bounceInDown 1500ms ease-in-out;
    -ms-animation: bounceInDown 1500ms ease-in-out;
    animation: bounceInDown 1500ms ease-in-out;
}
.slider-2 h1{
    -webkit-animation: bounceIn 1500ms ease-in-out;
    -moz-animation: bounceIn 1500ms ease-in-out;
    -ms-animation: bounceIn 1500ms ease-in-out;
    animation: bounceIn 1500ms ease-in-out;
}
.slider-2 h2{
    -webkit-animation: bounceIn 1600ms ease-in-out;
    -moz-animation: bounceIn 1600ms ease-in-out;
    -ms-animation: bounceIn 1600ms ease-in-out;
    animation: bounceIn 1600ms ease-in-out;
}
.slider-2 h3{
    -webkit-animation: bounceIn 1800ms ease-in-out;
    -moz-animation: bounceIn 1800ms ease-in-out;
    -ms-animation: bounceIn 1800ms ease-in-out;
    animation: bounceIn 1800ms ease-in-out;
}
.slider-2 .banner7-des{
    -webkit-animation: bounceIn 2000ms ease-in-out;
    -moz-animation: bounceIn 2000ms ease-in-out;
    -ms-animation: bounceIn 2000ms ease-in-out;
    animation: bounceIn 2000ms ease-in-out;
}
.slider-2 .banner7-readmore a{
    -webkit-animation: bounceIn 2500ms ease-in-out;
    -moz-animation: bounceIn 2500ms ease-in-out;
    -ms-animation: bounceIn 2500ms ease-in-out;
    animation: bounceIn 2500ms ease-in-out;
}
.slider-2 img.img1 {
    position:absolute;
    bottom:0px;
    left:0px;
    max-width: none;
    -webkit-animation: bounceInDown 1500ms ease-in-out;
    -moz-animation: bounceInDown 1500ms ease-in-out;
    -ms-animation: bounceInDown 1500ms ease-in-out;
    animation: bounceInDown 1500ms ease-in-out;
}
.slider-2 img.img2 {
    position:absolute;
    bottom:0px;
    right:0px;
    max-width: none;
    -webkit-animation: fadeInRight 1500ms ease-in-out;
    -moz-animation: fadeInRight 1500ms ease-in-out;
    -ms-animation: fadeInRight 1500ms ease-in-out;
    animation: fadeInRight 1500ms ease-in-out;
}
.slider-3 h1{
    -webkit-animation: fadeInRight 1500ms ease-in-out;
    -moz-animation: fadeInRight 1500ms ease-in-out;
    -ms-animation: fadeInRight 1500ms ease-in-out;
    animation: fadeInRight 1500ms ease-in-out;
}
.slider-3 h2{
    -webkit-animation: fadeInRight 1800ms ease-in-out;
    -moz-animation: fadeInRight 1800ms ease-in-out;
    -ms-animation: fadeInRight 1800ms ease-in-out;
    animation: fadeInRight 1800ms ease-in-out;
}
.slider-3 h3{
    -webkit-animation: fadeInRight 2200ms ease-in-out;
    -moz-animation: fadeInRight 2200ms ease-in-out;
    -ms-animation: fadeInRight 2200ms ease-in-out;
    animation: fadeInRight 2200ms ease-in-out;
}
.slider-3 .banner7-des{
    -webkit-animation: fadeInRight 2000ms ease-in-out;
    -moz-animation: fadeInRight 2000ms ease-in-out;
    -ms-animation: fadeInRight 2000ms ease-in-out;
    animation: fadeInRight 2000ms ease-in-out;
}
.slider-3 img.img1 {
    position:absolute;
    bottom:0px;
    left:0px;
    max-width: none;
    -webkit-animation: rotateIn 1500ms ease-in-out;
    -moz-animation: rotateIn 1500ms ease-in-out;
    -ms-animation: rotateIn 1500ms ease-in-out;
    animation: rotateIn 1500ms ease-in-out;
}
.slider-3 img.img2 {
    position:absolute;
    bottom:0px;
    right:0px;
    max-width: none;
    -webkit-animation: bounceIn 1500ms ease-in-out;
    -moz-animation: bounceIn 1500ms ease-in-out;
    -ms-animation: bounceIn 1500ms ease-in-out;
    animation: bounceIn 1500ms ease-in-out;
}
@media (max-width: 1199px){
.banner7-content h1{font-size:50px}
.banner7-content h2{font-size:40px}
.banner7-content .banner7-readmore a{font-size:24px;line-height:34px;}
.slider-2 h1{font-size:40px;}
.slider-2 h2{font-size:20px}
.slider-2 .bannerslideshow{bottom: 23px;}
.slider-3 h1{font-size:40px}
.slider-3 h2{font-size:20px;margin-bottom: 15px;}
.slider-3 .bannerslideshow{margin-top:-98px;}
}
@media (max-width: 991px){
.slider-2 h1{font-size:30px;}
.slider-2 h2{font-size:15px;line-height:25px}
.slider-2 .bannerslideshow{bottom: 10px;}
.banner7-readmore{margin-top:20px}
}
@media (max-width: 640px){
.banner7-content h1{font-size:30px}
.banner7-content h2{font-size:20px}
.banner7-content .banner7-readmore{margin-top:10px;}
.banner7-content .banner7-readmore a{font-size:16px;line-height:24px;}
.slider-1 .bannerslideshow{right:40px}
.slider-2 h1{font-size:30px;}
.slider-2 h2{font-size:15px;line-height:25px}
.slider-2 .bannerslideshow{bottom: 10px;}
.slider-3 h1{font-size:24px}
.slider-3 h2{font-size:14px;line-height:20px;margin-bottom: 15px;}
.slider-3 h3{
    font-size: 16px;
    line-height: 30px;
}
.slider-3 h3 .word1, .slider-3 h3 .word2{line-height:26px;font-size:16px}
.slider-3 h3 .word1{padding-right:2px;padding-left:7px}
.slider-3 h3 .word2{margin-left:-5px;padding-left:3px;}
.slider-3 h3 .word3{margin-left:5px}
.slider-3 h3 span:last-child{margin-right:7px;}
.slider-3 .bannerslideshow{margin-top:-64px;}
.nivo-directionNav{display:none;}
}
@media (max-width: 479px){
.banner7-content{display:none;}
}
/*====end-ma-banner7=================*/