.hpiSlider {
    width: 100%;
    color: #fff;
}

.hpiSlider a{
    display: block;
    text-decoration: none;
    color: #fff;
}

.hpiSlider .ps-current {
    width: 100%;
    overflow: hidden;
    height: inherit;
    position: relative;
    /*font-size: 1rem;*/
}

.hpiSlider.listOnTheLeft .ps-current {
    float: right;
}

.hpiSlider .ps-current ul {
    width: 100%;
}

.hpiSlider .ps-current li {
    width: 100%;
    z-index: 1;
    opacity: 0;
    display: none;
}

.hpiSlider .ps-current img {
    max-width: 100%;
    min-width: 100%;
    height: auto;
    display: block;
    transition: margin-top 250ms linear;
}

.hpiSlider .ps-caption {
    position: absolute;
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
    left: 0;
    bottom: 0;
    display: none;
    z-index: 3;
}

ul.hpiSlider,
.hpiSlider  ul {
    float: right;
    width: 25%;
    padding: 0;
    list-style: none;
    margin: 0;
}

ul.hpiSlider.listOnTheLeft,
.hpiSlider.listOnTheLeft > ul {
    float: left;
}

ul.hpiSlider > li,
.hpiSlider > .ps-list > li {
    height: 50px;
    /*margin-bottom: 6px;*/
    overflow: hidden;
    position: relative;
    opacity: 0.6;
    filter: alpha(opacity=60);
    font-size: 0.8rem;
    transition: opacity 200ms linear;
}

ul.hpiSlider > li,
.hpiSlider > .ps-list > li div#homepageImageTextDiv {
	display:none;
}

ul.hpiSlider > li:last-child,
.hpiSlider > ul > li:last-child {
    margin-bottom: 0;
}

ul.hpiSlider > li span,
.hpiSlider > .ps-list > li span {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 5px;
    background: rgba(0, 0, 0, 0.7);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*ul.hpiSlider > li:hover,
.hpiSlider > ul > li:hover {
    opacity: 1 !important;
	border:5px solid #4E5156;
	background:white!important;
	
}*/

ul.hpiSlider > li img,
.hpiSlider > ul > li img {
    width: 100%;
    min-height: 100%;
    display: block;
    transition: margin-top 250ms linear;
}

.hpiSlider .ps-prevIcon {
    border-color:transparent #fff transparent;
    border-style: solid;
    border-width: 13px 13px 13px 0;
    display: block;
}

.hpiSlider .ps-prevIcon:after {
	border-bottom: 13px solid transparent;
    border-right: 13px solid #4E5156;
    border-top: 13px solid transparent;
    bottom: 0;
    content: "";
    height: 0;
    left: 2px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
	}

.hpiSlider .ps-nextIcon {
    border-color:transparent #fff transparent;
    border-style: solid;
    border-width: 13px 0 13px 13px;
    display: block;
}

.hpiSlider .ps-nextIcon:after {
	border-bottom: 13px solid transparent;
    border-left: 13px solid #4E5156;
    border-top: 13px solid transparent;
    bottom: 0;
    content: "";
    height: 0;
    left: -2px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
}
	
.hpiSlider .ps-current .ps-prev {
    background: #4e5156;
	filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
	
    border-left: 0 none;
    border-radius: 50px;
    bottom: 0;
    cursor: pointer;
    height: 52px;
    left: -10px;
    margin: auto;
    padding: 13px 20px;
    position: absolute;
    top: 0;
    z-index: 1000;
}

.hpiSlider .ps-current .ps-next {
    background: #4e5156;
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
	
    border-left: 0 none;
    border-radius: 50px;
    bottom: 0;
    cursor: pointer;
    height: 52px;
    margin: auto;
    padding: 13px 21px;
    position: absolute;
    right: -10px;
    top: 0;
	z-index: 1000;
}

/*
 * The media-queries are not used because IE8 doesn't support them.
 */
ul.hpiSlider.wide > li,
.hpiSlider.wide > ul > li {
    width: 100% !important;
}

.hpiSlider.narrow .ps-current {
    margin-bottom: 0px;
    font-size: 0.8rem;
}

.hpiSlider.narrow .ps-current img {
    width: 100%;
    min-height: inherit;
}

.hpiSlider.narrow .ps-current,
ul.hpiSlider.narrow,
.hpiSlider.narrow > ul {
    width: 100%;
}

ul.hpiSlider.narrow > li,
.hpiSlider.narrow > .ps-list > li {
    /*float: left;*/
    min-height: 50px;
    max-height: 70px;
    /*min-width: 15%;*/
    font-size: 0.7rem;
    margin-bottom: 0;
}

ul.hpiSlider.narrow.listOnTheLeft > li,
.hpiSlider.narrow.listOnTheLeft > ul > li {
    float: right;
}

.hpiSlider.narrow .ps-caption {
    padding: 8px;
}

.hpiSlider.narrow .ps-current .ps-prev {
   /* padding: 15px 15px 15px 12px;*/
    top: 40%;
}

.hpiSlider.narrow .ps-current .ps-next {
    /*padding: 15px 12px 15px 15px;*/
    top: 40%;
}




/*MEDIA QUERIES*/

@media only screen and ( max-width: 81.25em ) /* 1300 */ {

/*.hpiSlider .ps-current {font-size: .9rem;}*/

#homepageImageTextDivWrapperOuter {max-width:1100px;}
}
@media only screen and ( max-width: 72em ) /* 1152 */ {

.hpiSlider .ps-current .ps-prev, .hpiSlider .ps-current .ps-next {display:none !important;}

.hpiSlider .ps-current {font-size: .9rem;}
}

@media only screen and ( max-width: 64em ) /* 1024 */{
	.hpiSlider .ps-current {font-size: 0.85rem;}	
#homepageImageTextDivWrapperOuter {max-width:1100px;}
}

@media only screen and ( max-width: 61.25em ) /* 980 */ {

.hpiSlider .ps-current {/*overflow:visible;*/ font-size: 0.8rem;}


}