/*
 * jQuery FlexSlider v2.4.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 * 
 */
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus { outline: none; }
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.flex-pauseplay span { text-transform: capitalize; }
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider { margin: 0 auto; width: 100%; 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: 0 0 60px; background: #ffffff; border: 4px solid #ffffff; position: relative; zoom: 1; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2); }*/
.flexslider .slides { zoom: 1; }
.flexslider .slides img { height: auto; }
.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: 300px; }
.carousel li { margin-right: 60px; }
#proimg_min li { margin-right: 20px; }
.flex-direction-nav { *height: 0; }
.flex-direction-nav a { text-decoration: none; text-indent: 100px; display: block; text-indent: 999em; overflow: hidden; width: 60px; height: 60px; margin: -20px 0 0; position: absolute; background: url(../Images/ico_banner_prev.png) no-repeat left center; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0, 0, 0, 0.8); text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); -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; -moz-opacity: 0.80; -khtml-opacity: 0.80; -webkit-opacity: 0.80; opacity: 0.80; }
.flex-direction-nav .flex-prev { left: -70px; background: url(../Images/ico_banner_prev.png) no-repeat left center; }
.flex-direction-nav .flex-next { right: -70px; text-align: right; background: url(../Images/ico_banner_next.png) no-repeat right center; }
.flexslider:hover .flex-direction-nav .flex-prev { opacity: 0.7; left: 5%; }
.flexslider:hover .flex-direction-nav .flex-prev:hover { opacity: 1; }
.flexslider:hover .flex-direction-nav .flex-next { opacity: 0.7; right: 5%; }
.flexslider:hover .flex-direction-nav .flex-next:hover { opacity: 1; }
#procommend .flex-direction-nav .flex-prev { left: -10%; background: url(../Images/btn_prev.png) no-repeat left center; }
#procommend .flex-direction-nav .flex-next { right: -10%; background: url(../Images/btn_next.png) no-repeat right center; }
#servicebox .flex-direction-nav .flex-prev { left: -10%; background: url(../Images/btn_prev.png) no-repeat left center; }
#servicebox .flex-direction-nav .flex-next { right: -10%; background: url(../Images/btn_next.png) no-repeat right center; }
#abouthonor .flex-direction-nav .flex-prev { left: -50px; background: url(../Images/btn_prev.png) no-repeat left center; }
#abouthonor .flex-direction-nav .flex-next { right: -50px; background: url(../Images/btn_next.png) no-repeat right center; }
#abouthonor:hover .flex-direction-nav .flex-prev { opacity: 0.7; left: 2%; }
#abouthonor:hover .flex-direction-nav .flex-prev:hover { opacity: 1; }
#abouthonor:hover .flex-direction-nav .flex-next { opacity: 0.7; right: 2%; }
#abouthonor:hover .flex-direction-nav .flex-next:hover { opacity: 1; }
#aboutteam .flex-direction-nav .flex-prev { left: -50px; background: url(../Images/btn_prev.png) no-repeat left center; }
#aboutteam .flex-direction-nav .flex-next { right: -50px; background: url(../Images/btn_next.png) no-repeat right center; }
#aboutteam:hover .flex-direction-nav .flex-prev { opacity: 0.7; left: 2%; }
#aboutteam:hover .flex-direction-nav .flex-prev:hover { opacity: 1; }
#aboutteam:hover .flex-direction-nav .flex-next { opacity: 0.7; right: 2%; }
#aboutteam:hover .flex-direction-nav .flex-next:hover { opacity: 1; }
#newsabout .flex-direction-nav .flex-prev { left: -40px; background: url(../Images/btn_prev.png) no-repeat left center; }
#newsabout .flex-direction-nav .flex-next { right: -40px; background: url(../Images/btn_next.png) no-repeat right center; }
#proimg_min .flex-direction-nav .flex-prev { width: 40px; height: 40px; left: -5%; background: url(../Images/btn_prev_min.png) no-repeat left center; }
#proimg_min .flex-direction-nav .flex-next { width: 40px; height: 40px; right: -5%; background: url(../Images/btn_next_min.png) no-repeat right center; }
.newshot .flex-direction-nav .flex-prev { width: 44px; height: 44px; bottom: 0px; top: auto; left: 0px; background: url(../Images/btn_news_prev.png) no-repeat left center; }
.newshot .flex-direction-nav .flex-next { width: 44px; height: 44px; bottom: 0px; top: auto; right: auto; left: 50px; background: url(../Images/btn_news_next.png) no-repeat right center; }
.newshot .flex-direction-nav .flex-prev:hover { background-image: url(../Images/btn_news_prev_hover.png); }
.newshot .flex-direction-nav .flex-next:hover { background-image: url(../Images/btn_news_next_hover.png); }

.flex-direction-nav .flex-disabled { opacity: 1 !important; filter: alpha(opacity=1); cursor: default; }
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover { opacity: 1; }
.flex-pauseplay a .flex-play:before { content: '\f003'; }
.flex-control-nav { width: 100%; position: absolute; left: 0px; bottom: 5%; text-align: center; }
.flex-control-nav li { margin: 0 10px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-paging li a { width: 14px; height: 14px; display: block; background: #666; background: #bfbfbf; cursor: pointer; text-indent: 999em; overflow: hidden; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; }
.flex-control-paging li a:hover { background: #fff; }
.flex-control-paging li a.flex-active { background: #bfbfbf; cursor: default; width: 39px; }
#abouthonor .flex-control-nav { width: 100%; margin-top: 15px; position: relative; text-align: center; }
#abouthonor .flex-control-nav li { margin: 0 7px; display: inline-block; zoom: 1; *display: inline; }
#abouthonor .flex-control-paging li a { width: 14px; height: 14px; display: block; background: #666; background: #bfbfbf; cursor: pointer; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; }
#abouthonor .flex-control-paging li a:hover { background: #4cbcf1; }
#abouthonor .flex-control-paging li a.flex-active { background: #0861dc; cursor: default; width: 14px; }
#aboutteam .flex-control-nav { width: 100%; margin-top: 15px; position: relative; text-align: center; }
#aboutteam .flex-control-nav li { margin: 0 10px; display: inline-block; zoom: 1; *display: inline; }
#aboutteam .flex-control-paging li a { width: 14px; height: 14px; display: block; background: #666; background: #bfbfbf; cursor: pointer; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; }
#aboutteam .flex-control-paging li a:hover { background: #4cbcf1; }
#aboutteam .flex-control-paging li a.flex-active { background: #0861dc; cursor: default; width: 14px; }
#newsabout .flex-control-nav { width: 100%; margin-top: 15px; position: relative; text-align: center; }
#newsabout .flex-control-nav li { margin: 0 10px; display: inline-block; zoom: 1; *display: inline; }
#newsabout .flex-control-paging li a { width: 14px; height: 14px; display: block; background: #666; background: #bfbfbf; cursor: pointer; text-indent: -9999px; -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3); -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; }
#newsabout .flex-control-paging li a:hover { background: #4cbcf1; }
#newsabout .flex-control-paging li a.flex-active { background: #0861dc; cursor: default; width: 14px; }
.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: 0.7; cursor: pointer; -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; }

.flex-slide { padding: 10px; }
.flex-slide li { border: 2px solid #eee; }
.flex-slide li.flex-active-slide { border: 2px solid #4cbcf1; }

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev { opacity: 1; left: 10px; }
    .flex-direction-nav .flex-next { opacity: 1; right: 10px; }
}
@media screen and (max-width: 768px) {
    .flex-control-paging li a { width: 10px; height: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
    .flex-control-paging li a.flex-active { width: 30px; }
    #abouthonor .flex-control-paging li a { width: 10px; height: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
    #abouthonor .flex-control-paging li a.flex-active { width: 10px; }
    #aboutteam .flex-control-paging li a { width: 10px; height: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
    #aboutteam .flex-control-paging li a.flex-active { width: 10px; }
    #newsabout .flex-control-paging li a { width: 10px; height: 10px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
    #newsabout .flex-control-paging li a.flex-active { width: 10px; }
}

@media screen and (max-width: 640px) {
    #banner .flex-direction-nav .flex-prev { display: none; }
    #banner .flex-direction-nav .flex-next { display: none; }
}

@media (max-width:480px) {
    .flex-control-paging li a { width: 6px; height: 6px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
    .flex-control-paging li a.flex-active { width: 22px; }
    #abouthonor .flex-control-paging li a { width: 6px; height: 6px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
    #abouthonor .flex-control-paging li a.flex-active { width: 6px; }
    #aboutteam .flex-control-paging li a { width: 6px; height: 6px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
    #aboutteam .flex-control-paging li a.flex-active { width: 6px; }
    #newsabout .flex-control-paging li a { width: 6px; height: 6px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
    #newsabout .flex-control-paging li a.flex-active { width: 6px; }
    #banner .flexslider .slides img { float: left; width: 140%; margin-left: -20%; }
    .flex-direction-nav a{top:40%;}
    .flex-control-nav { bottom: 3%;}
}
