.otzyv {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
        position: relative;
}

.otzyv .moder_panel {display:block;
    position:absolute;top:10px;right:10px;
        opacity: 0;
        transition: all 0.5s;
}

.otzyv:hover .moder_panel {opacity:1;}

.otzyv .otkogoinf {
    display:block;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 20px;
}

.otkogoist a {color: #5eb948;}
.otzyv .otkname:hover,
.otkogoist a:hover {color: #e30013;}

.otkogoist i {
        margin-right: 5px;
    color: #5eb948;
}

.otkogoist span {margin-right:10px;}
.otkogoist span:last-child {margin-right: 0px;}

.otzyv .otkname {
    font-weight: 500;
    color: #000;
    font-size: 16px;
        display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.otzyv .otidopinf {
    margin-top: 2px;
}

.otzyv .otidopinf div.rstars {margin-top:1px;    margin-left: -1px;}

.otzyvtext {
    display: block;
    font-size: 14px;
    line-height: 24px;
    margin-top: 0px;
    background: #f5fbff;
    padding: 15px 20px;
    border-radius: 12px;
    position: relative;
}

.dopolotz {
    display: table;
    position: absolute;
    bottom: 15px;
    left: 20px;
    width: calc(100% - 40px);

}

.otzyvtext a {
    float: none;
    display: table-cell;
    background: #f5fbff;
    width: 100px;
    white-space: nowrap;
}

.otzyvtext p {
    margin: 0px;
    padding: 0px;
    height: 96px;
    overflow: hidden;
    text-align: left;
    position: initial;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.fullotz {
    background: linear-gradient(to left, #f5fbff, transparent);
    height: 24px;
    display: table-cell;
}

.otzyvtext::after {
    content: '';
    position: absolute;
    left: 8px;
    top: -15px;
    border: 8px solid transparent;
    border-bottom: 8px solid #f5fbff;
}

.otzyv.otzoffic {
    background: #fff79b;
}

.otzoffic .otzyvtext a,
.otzoffic .otzyvtext {
    background: #fffcd5;
}

.otzoffic .fullotz {
    background: linear-gradient(to left, #fffcd5, transparent);
}

.otzoffic .otzyvtext::after {
    border-bottom: 8px solid #fffcd5;
}

.otzoffic .u-star-rating-16 li.u-current-rating {
    background: url(/whole/image/icon/5.jpg) left bottom;
}

/* РРєРѕРЅРєРё */

.freelance {background-image: url(/whole/icon/otzyvy/briefcase.png);}
.outsourcing {background-image: url(/whole/icon/otzyvy/outsourcing.png);}
.document {background-image: url(/whole/icon/otzyvy/folder.png);}

/* РђРґР°РїС‚Р°С†РёСЏ РІ РїСЂР°РІРѕРј Р±Р»РѕРєРµ */

.last_otzyvy {
height:calc(100% - 51px);
 padding-right:0px;
 width:calc(100% - 0px);
}

.last_otzyvy .otzyv_style {padding-bottom:20px;}
.last_otzyvy .otzyv_style .otzyv {padding:0px;}

.last_otzyvy .otzyv_style:last-child {padding-bottom:0px;}

.last_otzyvy .otzyv_style .otzyv .otkname {font-size:14px;}
.last_otzyvy .otzyv_style .otzyv .otidopinf {margin-top:2px;}
.last_otzyvy .otzyvtext p {max-height:96px;height:auto;-webkit-line-clamp:2;}


/* РђРґР°РїС‚Р°С†РёСЏ РїРѕРґ РјРѕР±РёР»СЊРЅС‹Рµ */

@media only screen and (max-width:699px) {
    .otzyvtext p {
        max-height: 96px;
    height: auto;
        }
    
    .slick-slide .otzyvtext p {
        height: 96px;
        }
}