ul.ap_pagination *, ul.ap_pagination:before *, ul.ap_pagination:after *{
	box-sizing:border-box;
}
ul.ap_pagination {
	background: none repeat scroll 0 0 #FFF;
	border-bottom: 1px solid rgba(0,0,0,0.1);
	padding: 0px 0px 20px 0px;
	border-top: 0;
	width: 100%;
	clear: both;
	margin: 10px 0;
	
}
ul.ap_pagination li{
	padding:8px 10px;
	margin:0px;
}
ul.layout_V.ap_pagination {
	overflow: hidden;
	width: 28px;	
}
ul.layout_V.ap_pagination li{
	padding:2px 2%;
	margin:0px;
	width:98%;
}
ul.ap_pagination li {
	background-color:transparent;
	border: 0 none;


	margin-bottom: 4px;
	margin-right: 4px;
	padding: 0;
	width:36px;
	position:relative;
	
	font-size: 14px;
	line-height: 24px;
	color:#fff;			
	border:1px solid rgba(0,0,0,0.1);
	min-height:auto;
}
ul.ap_pagination li:hover{
	border: 0;
	background-color:transparent;
	background-position: center;
	background-repeat:no-repeat;	
}
ul.ap_pagination li:a { cursor: pointer; }
ul.ap_pagination li a,
ul.ap_pagination li small {
	box-shadow: 0 none;
	color: #767677;
	display: block;
	font-size: 14px;
	font-weight: bold;
	padding: 0;
	text-shadow: 0.2px 0.2px #999999;
	line-height:26px;
	width: auto;
}
ul.ap_pagination li:active, 
ul.ap_pagination li:visited{
	background-color: #e78e1b;
}
ul.ap_pagination li a:hover:after, 
ul.ap_pagination li a.selected:after {
	background-color: transparent;
	background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALgAAABBCAMAAABVcJ4kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATtQTFRF////dnZ3Ozw8CwsLbW1tcnJzZ2doPj8/RkZHQ0REUFBRS0tMTk5PSElJZWRkYmFiXl5fc3R1cG9wcXFydXV2bm5vbGtsamlqaWhpZmVmDQ0OEhISQEFBOjo8GRkZLS0uU1NUISEiVlZXPDw9Y2Nj1dbePT4+WVlZXFxcdXZ3UlNUXF1eYGBhWVtca2prcHBxc3N0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a1peBOvqESbCRUE1BbN1dyZuummoHeLLuSZ+FaGQjc5deNWbhujhju/nvSGF5w038BBgCip5aVy02O0AAAAABJRU5ErkJggg==');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 96% auto;
	content: "";
	display: block;
	min-height: 26px;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1;
}

ul.ap_pagination li a:active, 
ul.ap_pagination li a:visited,
ul.ap_pagination li a:hover,
ul.ap_pagination li a.selected{
    text-decoration:none;
	border: 0;
	box-shadow: none;
	background-color:transparent;
	z-index:0;
	color:#fff;		
}
ul.ap_pagination li a:visited{
	color: #767677;	
}
ul.ap_pagination li > a.selected,
ul.ap_pagination li a:active,
ul.ap_pagination li a:visited:hover{
	color: #fff;
	text-shadow: none;		
} 
ul.ap_pagination li.ap-empty {
	line-height: 26px;
	opacity: 0.8;
	
	color:#ccc;	
}
@media screen and (max-width: 480px) {
   ul.ap_pagination{
		min-height:90px;   
	}
   ul.ap_pagination li {
	  margin-bottom: 12px;
	  margin-right: 6.5px;
	  width: 9%;
	}
	ul.ap_pagination li a{
		line-height: 18px;
		padding:2px 0;	
	}
	ul.ap_pagination li a:hover:after, 
	ul.ap_pagination li a.selected:after{
		min-height: 20px;
	}
}