/* Example wrapper */
.gallery_sly {
	position: relative;
	margin: 3em 0;
}

/* Frame */
.gallery_sly .frame {
	height: 370px;
	line-height: 370px;
	overflow: hidden;
}
@media (max-width: 420px){
  .gallery_sly .frame {height:300px; line-height:300px;}
}
.gallery_sly .frame ul {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 50px;
}
.gallery_sly .frame ul li {
	float: left;	
    width:370px;
	height: 100%;
	margin: 0 1px 0 0;
	padding: 0;
	background: none;	
	text-align: center;
	cursor: pointer;
}
@media (max-width: 420px){
  .gallery_sly .frame ul li {
    width:300px;
  }
}
.gallery_sly .frame ul li.active {
	color: #fff;
	background: none;
}

/* Scrollbar */
.gallery_sly .scrollbar {
	margin: 0 auto 1em auto;
	height: 2px;
	background: #ccc;
	line-height: 0;
	width:50%;
}
.gallery_sly .scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #292a33;
	cursor: pointer;
}
.gallery_sly .scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
}

/* Pages */
.gallery_sly .pages {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	text-align: center;
}
.gallery_sly .pages li {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 4px;
	text-indent: -999px;
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.gallery_sly .pages li:hover {
	background: #aaa;
}
.gallery_sly .pages li.active {
	background: #666;
}

/* Controls */
.gallery_sly .controls { margin: 25px 0; text-align: center; }

.gallery_sly .controls .prevPage {
    background:none;
	background-color:#fff;
	border:1px solid #5D5C5A;
	width:/*35px*/40px;	
	height:/*35px*/40px;
    position: absolute;
    top:170px;
	left:/*2%*/-20px;	
	border-radius:20px;
	}
/*.gallery_sly .controls .prevPage.disabled {display:none}*/
.gallery_sly .controls .nextPage {
     background:none;
	 background-color:#fff;
	 border:1px solid #5D5C5A;
	 width:/*35px*/40px;	
	height:/*35px*/40px;
    position: absolute;
	top:170px;
	right:/*2%*/-20px;	
	border-radius:20px;
	}
/*.gallery_sly .controls .nextPage.disabled {display:none}*/

@media (max-width: 900px) {
/*.gallery_sly .controls .prev {left:50px;}
.gallery_sly .controls .next {right:50px;}*/
.gallery_sly .scrollbar {width:90%; }
}
@media (max-width: 767px) {
  .gallery_sly .controls .prevPage {left:-10px;}
  .gallery_sly .controls .nextPage {right:-10px;}
}
@media (max-width: 400px) {
  .gallery_sly .controls .prevPage, .gallery_sly .controls .nextPage {top:135px;}
}


