.template-5 .bx-wrapper .bx-pager,.template-5 .bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: 20px;
    z-index: 9999;
    width: 100%;
height: 50vh;
}
.template-5 ul.bx-slider li:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,0);
    top: 0;
    left: 0;
}
.template-5 .bx-pager a.bx-pager-link,.template-5 .bx-pager .active a.bx-pager-link  {
    background: none !important;
}


.template-5 .bx-wrapper .bx-pager {
    overflow: hidden;
    position: absolute;
    width: auto;
    right:30px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}

.template-5 .bx-wrapper .bx-pager .bx-pager-item {
	width:60px;
	height:60px;
	display:block;
	position:relative;
	margin:0 0 4px;
}

.template-5 .bx-wrapper .bx-pager .bx-pager-item a{
	font-size:22px;
    text-indent: 0;
	text-align:center;
	font-family: didot;
	color:#fff;
	font-weight:300;
	transition:0.3s ease;
	-moz-transition:0.3s ease;
	-ms-transition:0.3s ease;
	-webkit-transition:0.3s ease;
	line-height:60px;
	text-decoration:none;
}

.template-5 .bx-wrapper .bx-pager .bx-pager-item:hover a,
.template-5 .bx-wrapper .bx-pager .bx-pager-item.active a{
	font-size:36px;
	color:#ffffff;
}

.template-5 .bx-wrapper .bx-pager .bx-pager-item:after{
	width:2px;
	background-color:#fff;
	content:'';
	height:100%;
	display:block;
	right:0;
	top:0; 
	position:absolute;
}
.template-5 .bx-wrapper .bx-pager .bx-pager-item:before{
	width:2px;
	background-color:#ffffff;
	content:'';
	height:0%;
	display:block;
	right:0;
	top:0; 
	position:absolute;
	transition:height 0.5s;
	-moz-transition:height 0.5s;
	-webkit-transition:height 0.5s;
	-ms-transition:height 0.5s;
	z-index:9;
}

.template-5 .bx-wrapper .bx-pager .bx-pager-item.active:before,
.template-5 .bx-wrapper .bx-pager .bx-pager-item:hover:before{
	height:100%;
}