
.gallery {
  width: 100%;
	margin-bottom: 50px;
	position: relative;
	margin-top: 80px;
}
.gallery .main {
  width: 100%;
  height: 405px;
  /*margin-left: 100px;*/
}
.gallery .main li {
  width: 100%;
  height: 402px;
  display: none;
text-align: center;
}
.gallery .main li img {
  width: auto;
  height: 100%;
}
.gallery .main li:first-child {
  display: block;
}
.gallery .thumb {
  width: 100%;
  height: 200px;
}
.gallery .thumb li {
  width: 133px;
  height: 133px;
  display: block;
  float: left;
  cursor: pointer;
	overflow: hidden;
	margin-right: 3px;
	
}
.gallery .thumb li:last-child{
	margin-right: 0;
}
.gallery .thumb li img{
	width: 133px;
	height: 133px;
}
.gallery .thumb li.selected img {
  width: 129px;
  height: 129px;
  border: 2px solid #C00;
}
.gallery .thumb li img {
  cursor: pointer;
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.gallery .thumb li img:hover {
  opacity: 0.5;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=50)";
}
.gallery .indicator {
  width: 100%;
  height: 30px;
  text-align: center;
  font-size: 0;
  display: block;
}
.gallery .indicator li {
  cursor: pointer;
  color: #cccccc;
  height: 30px;
  line-height: 30px;
  font-size: 10px;
  width: 20px;
  text-align: center;
  display: inline-block;
}
.gallery .indicator li.selected {
  color: #999999;
}
.gallery nav {
  width: 100%;
  height: 50px;  
	position: absolute;
	top: 40%;
	z-index: 1;
}
.gallery nav div {
  width: 50px;
  height: 50px;
  line-height: 50px;
font-size: 20px;
  text-align: center;  
  /*letter-spacing: 0.2em;*/
  color: #fff;
  cursor: pointer;
	background-color: rgba(0, 0, 0, 0.78)
}
.gallery nav div.nextBtn {
  float: right;
  border-radius: 50px;
}
.gallery nav div.prevBtn {
  float: left;
  border-radius: 50px;
}
#gallery2 .thumbPages {
  width: 100%;
  height: 135px;
}
#gallery2 .thumbPages > li {
  width: 100%;
  height: 135px;
  display: none;
}
#gallery2 .thumbPages > li:first-child {
  display: block;
}
@media (max-width: 800px){
	.gallery .main {
  width: 100%;
  /*height: 302px;*/
  /*margin-left: 100px;*/
}
	.gallery .main li {
		width: auto;
		height: 302px;
		display: none;
		text-align: center;
	}
	.gallery .main li img {
		width: 100%;
		height: auto;
	}
	.gallery .thumb {
  width: 100%;
  height: auto;
}
	.gallery .thumb li {
		width: 19%;
		height: auto;
		display: block;
		float: left;
		cursor: pointer;
		overflow: hidden;
		margin-right: 6px;
		margin-top: 10px;

	}
	.gallery .thumb li img{
		width: 100%;
		height: 100%;
		border: 2px solid transparent;
	}
	.gallery .thumb li.selected img {
		width: 100%;
		height: auto;
		border: 2px solid #C00;
	}
	
	
	
}

@media (max-width: 480px){
	.gallery .main {
  width: 100%;
  /*height: 480px;*/
  /*margin-left: 100px;*/
		margin: auto;
}
	
	.gallery .thumb li {
		width: 60px;
		height: 60px;
		display: block;
		float: left;
		cursor: pointer;
		overflow: hidden;
		margin-right: 6px;
		margin-top: 10px;

	}
	.gallery .thumb li:last-child{
		margin-right: 0;
	}
	.gallery .thumb li img{
		width: 60px;
		height: 60px;
	}
	.gallery .thumb li.selected img {
		width: 56px;
		height: 56px;
		border: 2px solid #C00;
	}
	.gallery .main li {
		width: 100%;
		height: auto;
		display: none;
		text-align: center;
	}
	.gallery .main li img {
		width: 100%;
		height: auto;
	}
	
}