.slider img { width: 100%; }

.slider-pager {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

.small-border {
	display: block;
	width: 150px;
	margin: 0 auto;
	height: 1px;
	background: #e9e9e9;
}

/*  Portfolio mode */
.bx-pager-item { display: inline-block; }
.bx-pager-link {
	display: inline-block;
	text-indent: -999em; 
	width: 12px; 
	height: 12px;
	margin: 0 5px;
	background: url('../images/pager.png') no-repeat top center;
	background-size: 12px 24px; 
}

.project-gallery-next .bx-next, .project-gallery-prev .bx-prev { 
	position: absolute; 
	top: 35%; 
	opacity: .5; 
	filter: alpha(opacity=50); 
	right: auto;
	left: auto;
	text-indent: -999em;
	width: 34px;
	height: 36px;
	margin-top: -18px;
}

.project-gallery-next .bx-next  { 
	background: #fff url('../images/project-gallery-next.png') no-repeat center center; 
	background-size: 22px 22px; 
	right: 15px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	   -moz-border-radius-topleft: 3px;
	   -moz-border-radius-bottomleft: 3px;
			border-top-left-radius: 3px;
			border-bottom-left-radius: 3px;
}

.project-gallery-prev .bx-prev  { 
	background: #fff url('../images/project-gallery-prev.png') no-repeat center center; 
	background-size: 22px 22px; 
	left: 15px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	   -moz-border-radius-topright: 3px;
	   -moz-border-radius-bottomright: 3px;
			border-top-right-radius: 3px;
			border-bottom-right-radius: 3px; 
}

.bx-pager-link.active { background: url('../images/pager-active.png') no-repeat top center; background-size: 12px 12px; }
.bx-pager-link:hover { background-position: bottom; }	

/* Gallery mode */
ul.gallery, .post-body ul.gallery { margin-bottom: 0; } /* override post-body ul from template */
.post-body ul.gallery li:before, .post-body ul.slider li:before { content: ""; }
.gallery-next, .gallery-prev { position: absolute; z-index: 100; display: block; bottom: 10px; }
.gallery-next { right: 10px; }
.gallery-prev { right: 37px; }
.gallery-next .bx-next, .gallery-prev .bx-prev { 
	position: static; 
	width: auto; 
	height: auto; 
	top: auto; 
	opacity: 1; 
	filter: alpha(opacity=100); 
	right: auto;
	left: auto;
	text-indent: -999em;
	width: 22px;
	height: 22px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.gallery-next .bx-next  { background: #060606 url('../images/next.png') no-repeat; background-size: 22px 22px;}
.gallery-prev .bx-prev  { background: #060606 url('../images/prev.png') no-repeat; background-size: 22px 22px;}

.bx-next, .bx-prev {
	position: absolute;
	display: block;
	text-indent: -999em;
	top: 60%;
	width: 20px;
	height: 48px;
	cursor: pointer;
	opacity: .5;
    filter: alpha(opacity=50);
}
/* Targets Retina Enabled Devices */
@media 
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (   -moz-min-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
	.gallery-next .bx-next  { background: #060606 url('../images/next@2x.png') no-repeat; background-size: 22px 22px;}
	.gallery-prev .bx-prev  { background: #060606 url('../images/prev@2x.png') no-repeat; background-size: 22px 22px;}
	.bx-pager-link { background: url(../images/pager@2x.png) no-repeat top center; background-size: 12px 24px; }
	.bx-pager-link.active { background: url(../images/pager-active@2x.png) no-repeat top center; background-size: 12px 12px; }
}