/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


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


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

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

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 5px; background: #fff; border: 0px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;  }
.flex-direction-nav a  { line-height: 1; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; cursor: pointer; color: rgba(0,0,0,0.8); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: 40px; }
.flex-direction-nav .flex-next { right: 40px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 1; left: 40px; }
.flexslider:hover .flex-next { opacity: 1; right: 40px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "iconfont"; font-size: 40px; display: inline-block; content: '\e602'; color: #fff;}
.flex-direction-nav a.flex-next:before  { content: '\e601'; }

/* Pause/Play */
.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: "iconfont"; font-size: 20px; display: inline-block; content: '\f004';}
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center; display:none;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -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); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.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%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
  .Mycontainer{height: 400px;}
}
/*  首页banner      */
		.Mycontainer{
				position: relative;
				max-width: 100%;
				height:850px;
				background: url(../bg-dv.png) no-repeat;
				background-size: 100% 100%;
				overflow:hidden;
			}
			.Mycontent{
				z-index: 10;
				position: relative;
				text-align: center;
				top: 10px;
				animation:myfirst 4s;
               -moz-animation:myfirst 4s; /* Firefox */
               -webkit-animation:myfirst 4s; /* Safari and Chrome */
               -o-animation:myfirst 4s; /* Opera */
				}
				.Mycontent img,.Myfoot img,.Mybox img{
					max-width: 100%;
					height: auto;
				}
@keyframes myfirst
{
    0%   { left:0; top:20px;}
    25%  {left:0; top:80px;}
    50%  { left:0; top:80px;}
    75%  {left:0; top:80px;}
    100% { left:0; top:10px;}
}

@-moz-keyframes myfirst {
	0%   { left:15%; top:0px;}
    50%  { left:15%; top:80px;}
    100% { left:15%; top:10px;}
}
@-webkit-keyframes myfirst{
	0%   { left:15%; top:0px;}
    50%  { left:15%; top:80px;}
    100% { left:15%; top:10px;}
}
@-o-keyframes myfirst{
	0%   { left:0; top:0px;}
    50%  { left:0; top:80px;}
    100% { left:0; top:10px;}
}
.Myfoot{   
				position: relative;
				text-align: center;
				bottom:-250px;
				animation:two 4s;
               -moz-animation:two 4s; /* Firefox */
               -webkit-animation:two 4s; /* Safari and Chrome */
               -o-animation:two 4s; /* Opera */
                
			}
@keyframes two
{
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:20px;}
50%  {left:0; bottom:20px;}
75%  {left:0; bottom:20px;}
100% { left:0; bottom:-250px;}
}
@-moz-keyframes two
{
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:20px;}
50%  {left:0; bottom:20px;}
75%  {left:0; bottom:20px;}
100% { left:0; bottom:-250px;}
}
@-webkit-keyframes two
{
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:20px;}
50%  {left:0; bottom:20px;}
75%  {left:0; bottom:20px;}
100% { left:0; bottom:-250px;}
}
@-o-keyframes two
{
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:20px;}
50%  {left:0; bottom:20px;}
75%  {left:0; bottom:20px;}
100% { left:0; bottom:-250px;}
}
	.Mybox{
		
		        text-align: center;
				position: relative;
				z-index: 2;
				bottom: 270px;	
				animation:three 4s;
               -moz-animation:three 4s; /* Firefox */
               -webkit-animation:three 4s; /* Safari and Chrome */
               -o-animation:three 4s; /* Opera */
			}

@keyframes three
{
 0% { left:0; bottom:-400px;}
 25%{left:0; bottom:-400px;}
 50%{left:0; bottom:-400px;}
100% { left:0; bottom:270px;}
}
@-moz-keyframes three{
 0%   { left:36%; bottom:-400px;}
 25%  {left:36%; bottom:-400px;}
 50%  {left:36%; bottom:-400px;}
 100% { left:36%; bottom:270px;}
}
@-webkit-keyframes three{
 0%   { left:36%; bottom:-400px;}
 25%  {left:36%; bottom:-400px;}
 50%  {left:36%; bottom:-400px;}
 100% { left:36%; bottom:270px;}
}
@-o-keyframes three{
 0%   { left:36%; bottom:-400px;}
 25%  {left:36%; bottom:-400px;}
 50%  {left:36%; bottom:-400px;}
 100% { left:36%; bottom:270px;}
}
/*    移动端样式       */
@media (max-width: 414px){
	.Mycontainer{
		
		max-height: 300px;
	}
	.Mycontent img{
		width:90%;
	}
	@keyframes myfirst
{
0%   { left:0; top:30px;}
25%  {left:0; top:50px;}
50%  { left:0; top:50px;}
75%  {left:0; top:50px;}
100% { left:0; top:10px;}
}
.Myfoot{
	bottom: -100px;
}
.Myfoot img{
	width: 70%;
}
	@keyframes two
{
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:-5px;}
50%  {left:0; bottom:-5px;}
75%  {left:0; bottom:-5px;}
100% { left:0; bottom:-100px;}

}
   .Mybox{
   	bottom: 40.5%;	
   }
	.Mybox img{
		width: 52%;
		
	}
	@keyframes three
{
  0%{ left:0; bottom:-120px;}
 25%{left:0; bottom:-120px;}
 50%{left:0; bottom:-120px;}
100% { left:0; bottom:40.5%;}

}
}
/* 小屏幕手机   */
@media only screen and (max-width: 320px) {
	.Mycontainer{
		
		max-height: 250px;
	}
}

/*平板样式*/
@media (min-width: 768px) and (max-width: 1021px){
 	.Mycontainer{
 		
 		max-height:700px;
 	}

 	@keyframes two
 {
0%   { left:0; bottom:0px;}
25%  { left:0; bottom:20px;}
50%  {left:0; bottom:20px;}
75%  {left:0; bottom:20px;}
100% { left:0; bottom:-250px;}
}
 	.Mybox img{
 		width: 68%;
}
}

/*产品中心轮播图 */
.js-silder img{
	border: 0;
	display: block;
	max-width: 100%;
	vertical-align: middle;
}
.js-silder{
	position: relative;	
	min-width: 320px;
}
.silder-scroll{
	width: 100%;
	overflow: hidden;
}
.silder-main{
	position: relative;
	width: 100%;
	overflow: hidden;
}
.silder-main-img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.silder-main-img img{
	width: 100%;
}
.js-silder-ctrl{
	width: 100%;
	text-align: center;
}
.silder-ctrl-prev,
.silder-ctrl-next{
	position: absolute;
	top: 0;
	width: 8%;
	height: 100%;
	vertical-align: middle;
	cursor: pointer;
	color: #fff;
	font-family: "宋体";
	font-size: 52px;
	font-weight: 600;
	text-shadow: #666 2px 2px 5px;
}
.silder-ctrl-prev{
	left: 0;
	text-align: left;
}
.silder-ctrl-next{
	right: 0;
	text-align: right;
}
.silder-ctrl-prev>span,
.silder-ctrl-next>span{
	position: absolute;
	top: 50%;
	margin-top: -40px;
}
.silder-ctrl-prev>span{
	left: 0;
}
.silder-ctrl-next>span{
	right: 0;
}
.silder-ctrl-con{
	display: inline-block;
	width: 4%;
	padding: 10px 0;
	margin: 0 10px;
	cursor: pointer;
}
.silder-ctrl-con>span{
	display: block;
	line-height: 0;
	text-indent: -9999px;
	overflow: hidden;
	padding: 5px 0;
	cursor: pointer;
	background-color: #e4e4e4;
}
.silder-ctrl-con.active>span{
	background-color: #7bbedf;
}

@media (max-width: 768px){
	.silder-ctrl-prev,
	.silder-ctrl-next{
		width: 10%;
		font-size: 26px;
		margin-top: -25px;
	}
	.silder-ctrl-con{
		width: 14px;
		height: 14px;
		padding: 0;
		margin: 0 5px;
	}
	.silder-ctrl-con>span{
		display: block;
		width: 100%;
		height: 100%;
		border-radius: 50%;
		padding: 0;
	}
}
@media(max-width:414px){
	.silder-ctrl-prev>span,
    .silder-ctrl-next>span{
    	top: 76%;
    }
}
