/*
Plugin Name: iB Five Stars Reviews (fivestars)
Version: 1.0
Author: Igot B.
*/

.testimonial .ib-review-h_meta {
    position: absolute;
    color: transparent;
    z-index: -100;
}

.reviewslider {
	position: relative;
}

.reviewslider .container_wrap {
	border: none;
}

.ibr-reviews {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    white-space: nowrap;
}

#ibr-wrapper {
    /*width: 67%;
    margin: 0 auto;
    padding: 20px 0;*/
}

.star-rating .star-1,
.star-rating .star-2,
.star-rating .star-3,
.star-rating .star-4,
.star-rating .star-5 {
    background: #007f4e;
    float: left;
    line-height: 1;
    padding: 3px;
    border-radius: 3px;
    margin: 0 3px 0 0;
}

.star-1 img,
.star-2 img,
.star-3 img,
.star-4 img,
.star-5 img {
	width: 16px;
    height: auto;
}

.ibr-review.notransition {
    transition: none !important;
}
.ibr-wrapper .ibr-review {
    width: calc(100% / 4 - 30px);
}
.ibr-single-wrapper .ibr-single-review {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
    padding: 30px 0;
}
.ibr-review {
    position: absolute;
    width: 200px;
    height: 180px;
    margin: 0 auto;
    padding: 4px 25px 0;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    overflow: hidden;
    transition: all 2s ease;
}

.ibr-review .date,
.ibr-single-review .date {
	float: right;
    margin-top: -1em;
    font-size: 10px;
    color: #aaa;
    display: none; /*temporary hide*/
}
.ibr-review .header,
.ibr-single-review .header {
	font-size: 14px;
    font-weight: bold;
    color: #000;
    margin: 10px 0;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ibr-review .text,
.ibr-single-review .text {
	font-size: 12px;
    line-height: initial;
}
.ibr-review .name,
.ibr-single-review .name {
	font-size: 10px;
    margin: 10px 0;
    line-height: initial;
    color: #000;
}



.ibr-review-next,
.ibr-review-prev {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.ibr-review-prev {
    left: 0;
}
.ibr-review-next {
    right: 0;
}


.ibr-review-next .arrow,
.ibr-review-prev .arrow {
    position: absolute;
    top: calc(100% / 2 - 40px);
    width: 23px;
    height: 35px;
    background-image: url('../sprite_arrow.png');
    background-image: url('../sprite_arrow.svg');
    background-size: 45px auto;
    background-repeat: no-repeat;
}
.ibr-review-prev .arrow {
    /*background-position: 0 -35px;*/
}
.ibr-review-next .arrow {
    right: 8px;
    background-position: -23px 0;
}


@media all and (-ms-high-contrast:none) {
	*::-ms-backdrop, .ibr-review .text, .ibr-single-review .text {line-height: 1.4em;} /* IE11 */
}



/**************************************** MOBILE CSS ***************************************/

@media only screen and (max-width: 767px) {

	.ibr-single-wrapper .ibr-single-review {padding: 0;}

}
