@charset "utf-8";
body{background: #fff;}


#main{
	#margin-top: 75px;
	min-height: 700px;
	padding-top: 20px;
	overflow: hidden;
}
#main .list{
	padding-top: 8px;
}
#main .list ul{
	margin:0 -10px;
}
#main .list ul li{
	width: 25%;
	float: left;
	margin-bottom: 20px;
	line-height: 0;
	position: relative;
	top: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;		
}
@media screen and (max-width: 1050px) {
	#main .list ul li{
		width: 33.3%;
	}
}
#main .list ul li:hover{
	top: -5px;
}
#main .list ul li .block{
	margin: 0 10px;
	position: relative;
}

#main .list ul li .pic img{
	z-index: 1;
	position: relative;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;	
	
    display: inline-block;
    max-width: 100%;
}
#main .list ul li:hover .pic{
	box-shadow: 0 5px 10px rgba(155,160,239,0.2);
}
#main .list ul li .pic img.b{
	z-index: 0;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
#main .list ul li:hover .pic img.b{
	position: absolute;
	z-index: 2;
	left: 0;
	top: 0;
	opacity: 1;
}
#main .list ul li a.link{
	background: #73a0ef;
	padding: 6px 5px;
	line-height: 18px;
	margin-bottom:1px;
	display: block;
	text-align: center;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
  
  overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
#main .list ul li a.link:hover{
	background: #5888ea;
}
#main .list ul li:hover a.link{
	box-shadow: 0 5px 10px rgba(155,160,239,0.2);
}
#main .list ul li .window_buy{
	display: none;
	width: 100%;
	background: rgba(0,0,0,0.8);
	height: 100%;
	position: fixed;
	left: 0;
	z-index: 9;
	top: 0;
}
#main .list ul li .window_buy .con{
	width: 300px;
	background: #fff;
	box-shadow: 0 3px 25px rgba(50,50,50,0.1);
	position: absolute;
	left: 50%;
	top: 50%;
	margin:-80px 0 0 -150px;
	padding: 30px;
}
#main .list ul li .window_buy a.cancel{
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	right: 2px;
	top: 2px;
	background: #999;
	line-height: 20px;
	text-align: center;
	box-shadow: none;
}
#main .list ul li .window_buy a.cancel:hover{
	background: #555;
}

#main .list ul li .window_buy i{
	font-style: normal;
	text-align: center;
	line-height: 24px;
	min-height: 50px;
	display: block;
}
#main .list ul li .window_buy form{
	overflow: hidden;
}
#main .list ul li .window_buy button,
#main .list ul li .window_buy a{
	background: #73a0ef;
	line-height: 36px;
	margin-bottom:1px;
	width: 100%;
/*	float: left;
*/	padding: 0;
	border:0;
	display: block;
	text-align: center;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;		
}
#main .list ul li .window_buy button:hover{
	background: #5888ea;
}
/*#main .list ul li .window_buy a{
	background: #bbb;
	margin-right: 0;
}
#main .list ul li .window_buy a:hover{
	background: #aaa;
}*/
#main .list ul li:hover  .window_buy form a{
	box-shadow: none;
}

.window_msg{
	display: none;
	width: 100%;
	background: rgba(0,0,0,0.8);
	height: 100%;
	position: fixed;
	left: 0;
	z-index: 9;
	top: 0;
}
.window_msg .con{
	width: 300px;
	background: #fff;
	box-shadow: 0 3px 25px rgba(50,50,50,0.1);
	position: absolute;
	left: 50%;
	top: 50%;
	margin:-80px 0 0 -150px;
	padding: 30px;
}
.window_msg a.cancel{
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	right: 2px;
	top: 2px;
	background: #999;
	line-height: 20px;
	text-align: center;
	box-shadow: none;
}
.window_msg a.cancel:hover{
	background: #555;
}
.window_msg i{
	font-style: normal;
	text-align: center;
	line-height: 24px;
	min-height: 50px;
	display: block;
}
.window_msg form{
	overflow: hidden;
}
.window_msg  button,
.window_msg  a{
	background: #73a0ef;
	line-height: 36px;
	margin-bottom:1px;
	width: 100%;
/*	float: left;
*/	padding: 0;
/*	margin-right: 2%;
*/	border:0;
	display: block;
	text-align: center;
	color: #fff;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;		
}
.window_msg  button:hover{
	background: #5888ea;
}
.window_msg form a{
	box-shadow: none;
}
@media screen and (max-width: 768px) {


#main{
	margin-top: 60px;
	min-height: 700px;
	padding-top: 5px;
	overflow: hidden;
}

#main .list ul{
	margin:0 -5px;
}
#main .list ul li{
	width: 50%;
	float: left;
	margin-bottom: 10px;
	line-height: 0;
	position: relative;
	top: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;		
}
#main .list ul li .block{
	margin: 0 5px;
	position: relative;
}

}
