/*banner*/
.ym_banner{position:relative;height:420px;overflow:hidden;} /*banner容器高度可随意设置*/
.ym_banner ul{padding:0px;margin:0px;}
.ym_banner .slides{position:relative;z-index:1;height:inherit; width:inherit;}
.ym_banner .slides li{text-align:center;background-position:center center; background-repeat:no-repeat;height:100%;width:100%;}
.ym_banner .slides li a{display:block;height:100%;width:100%;}
.ym_banner .flex-control-nav{position:absolute;bottom:10px;z-index:2;width:100%;text-align: center;}
.ym_banner .flex-control-nav li{display:inline-block;width:18px;height:18px;margin:0 6px;*display:inline;zoom:1;}
.ym_banner .flex-control-nav a{display:inline-block;width:18px;height:18px;line-height:18px;overflow:hidden;}
.ym_banner .flex-control-nav .flex-active{background-position:0 0;}
.ym_banner .flex-direction-nav{position:absolute;z-index:3;width:100%;top:40%;list-style:none;}
.ym_banner .flex-direction-nav li a{display:block;width:50px;height:50px;overflow:hidden;cursor:pointer;position:absolute;}
.ym_banner .flex-direction-nav li a.flex-prev{left:40px;background:url() center center no-repeat;opacity: 0.3;}
.ym_banner .flex-direction-nav li a.flex-next{right:40px;background:url() center center no-repeat;opacity: 0.3;}
.ym_banner .flex-direction-nav li a.flex-prev:hover,
.ym_banner .flex-direction-nav li a.flex-next:hover{opacity: 0.8;}



/*banner*/
.ym_banner-small{position:relative;height:222px;width:320px;overflow:hidden;} /*banner容器高度可随意设置*/
.ym_banner-small ul{padding:0px;margin:0px;}
.ym_banner-small .slides{position:relative;z-index:1;height:inherit; width:inherit;}
.ym_banner-small .slides li{text-align:center;background-position:center center; background-repeat:no-repeat;height:100%;width:100%;}
.ym_banner-small .slides li a,
.ym_banner-small .slides li img{display:block;height:100%;width:100%;}

.ym_banner-small .flex-control-nav{position:absolute;bottom:10px;z-index:2;width:100%;text-align: center;}
.ym_banner-small .flex-control-nav li{display:inline-block;width:25px;height:25px;margin:0 2px;*display:inline;zoom:1;}
.ym_banner-small .flex-control-nav a{display:inline-block;width:25px;height:25px;line-height:25px;overflow:hidden;background:url(../images/banner/dot-11.png) right 0 no-repeat;cursor:pointer;color:#fff;}
.ym_banner-small .flex-control-nav .flex-active{background-position:0 0;}
.ym_banner-small .flex-direction-nav{position:absolute;z-index:3;width:100%;top:40%;list-style:none;}
.ym_banner-small .flex-direction-nav li a{display:block;width:50px;height:50px;overflow:hidden;cursor:pointer;position:absolute;}
.ym_banner-small .flex-direction-nav li a.flex-prev{left:40px;background:url() center center no-repeat;opacity: 0.3;}
.ym_banner-small .flex-direction-nav li a.flex-next{right:40px;background:url() center center no-repeat;opacity: 0.3;}
.ym_banner-small .flex-direction-nav li a.flex-prev:hover,
.ym_banner-small .flex-direction-nav li a.flex-next:hover{opacity: 0.8;}