/*
 * List
 *****************************************************************************/

.ec-message {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f0f0f0;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}
.ec-message p:last-child {
    margin-bottom: 0;
}
.ec-message__meta {
    margin: 0 0 6px 0;
    line-height: 32px;
}
.ec-message__meta .ec-message__author {
    float: left;
    font-weight: bold;
}
.ec-message__meta .ec-message__date {
    float: left;
}
.ec-message__meta .ec-message__votes {
    float: right;
}
.ec-message__date {
    font-size: 12px;
    color: #999;
    padding-left: 20px;
}

.ec-message__reply {
    background: #fff;
    padding: 10px;
    margin-left: 20px;
}
.ec-message__reply p:last-child {
    margin-bottom: 0;
}
/*
 * Votes
 *****************************************************************************/
.ec-message__votes {
    position: relative;
    padding: 5px 15px;
    background: #ffffff;
    border-radius: 5px 5px 0 0;
}
.ec-message__votes-item {
    float: left;
    display: block;
}
.ec-message__votes-item + .ec-message__votes-item {
    margin-left: 15px;
}
.ec-message__votes-button {
    display: block;
    height: 22px;
    line-height: 22px;
    padding-left: 20px;
    cursor: default;

    color: #8b8b8b;
    text-decoration: none;
}
.ec-message__votes-button:hover,
.ec-message__votes-button:active,
.ec-message__votes-button:focus {
    text-decoration: none;
}
.ec-message__votes-button:hover,
.ec-message__votes-button:active,
.ec-message__votes-button:focus {
    color: #8b8b8b;
}
.ec-message__votes-button.enabled {
    cursor: pointer;
}
.ec-message__votes-button.enabled:hover,
.ec-message__votes-button.enabled:active,
.ec-message__votes-button.enabled:focus {
    color: #337ab7;
}
.ec-message__votes-button.active {
    color: #337ab7;
}
.ec-message__votes-button-like {
    background: url(../../img/web/ec-votes.png) 0 0 no-repeat;
}
.ec-message__votes-button-dislike {
    background: url(../../img/web/ec-votes.png) 0 -22px no-repeat;
}
.ec-message__votes-button-like.enabled:hover {
    background-position: 0 -88px;
}
.ec-message__votes-button-dislike.enabled:hover {
    background-position: 0 -110px;
}
.ec-message__votes-button-like.active {
    background-position: 0 -88px;
}
.ec-message__votes-button-dislike.active {
    background-position: 0 -110px;
}
.ec-message__votes-bar {
    display: block;
    position: absolute;
    height: 2px;
    bottom: -2px;
    left: 0;
    right: 0;
    background: #dddddd;
}
.ec-message__votes-bar span {
    display: block;
    width: 0;
    height: 2px;
    background: #337ab7;
}
/*
 * Form
 *****************************************************************************/
.ec-error {
    display: none;
}

.ec-antispam {
    display: none;
}

/*
 * Common, stars image
 *****************************************************************************/
.ec-rating-stars span,
.ec-stars,
.ec-stars span {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAA+CAYAAABHuGlYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAidJREFUeNrsmF1OwkAUhRnjAkjk2ZQdwKsxwSV0CbAC4grAFRhXIKxAloCJ8VV2QOMzJt0BnjHHpGLt/HinrTKT3FD6+/XO9NyZ0+nE5taU74XnT89j/Nzz7+T18mLROBiguvjZIrrclSP6gMulwE48r0sLUB1up5IZ8wWbWe6rD4xjKyk5lPBYYxmbeR4LB4aMpD9kq5i1tImMTYXO8ZMLysGA2dEx4pc3sLzvhhLyiMgYGxc5UQfdNOXDu4EEPSf0HSBXVSeeFrYfaqg0+oWvGMo4xth1rWofYOz7RY3PXTgNfmROF+VxaCgkYuL8VQaGs4KqkosQcNZQldMeYTgnKON8TAjOGcqmJC0FsrX0louqoiwAlhwV2EgAbBS7slEwSIVp7qXr6w0jN8jOQDJjiaEID6FPcx1621CYk9BgawLplXf2uVNvU0SHPOfXYMqw2n7hTfWs8xoPX1suWvRE8Jaz4YwvI7ZKj020ve12Y8SeIT5/U55QpW7PWa/3/90e34xtSyQgQ8b6jWWM46nU7ZEca0ooW+JZO3GEMro9POfI3B7Kgbjb4yIn6qCbanN7ALmyBdvXWTkAZnZ72HXtc3vY9+11e5C5WtweJMLd7QkMZwVVJRdB3B5bqMqSJAznBGWslUJwzlDR7YluT3R7/hQYpELM7bG4l6zbA32a62iN26MFE5EV5lYZRTS828M52he3Bw+3cntw7Te3R3KVHltZexdgAKbc7PVXeuxlAAAAAElFTkSuQmCC")
}
/*
 * Rating input
 *****************************************************************************/
.ec-rating {

}
.ec-rating-stars {
    float:left;
    margin-right: 20px;
}
.ec-rating-stars span {
    background-position: 0 -32px;
    background-repeat: no-repeat;
    width: 34px;
    height: 32px;
    float:left;
    display:block;
    margin: 0;
    cursor:pointer;
}
.ec-rating-stars span.active {
    background-position: 0 0;
}
.ec-rating-stars span.active2 {
    background-position: 0 0;
}
.ec-rating-stars span.active-disabled {
    background-position: 0 -32px;
}
.ec-rating-description {
    float:left;
    padding-top: 1px;
    color:#999;
}

/*
 * Stars
 *****************************************************************************/
.ec-stars {
    background-position: 0 -32px;
    background-repeat: repeat-x;
    margin: 10px 0;
    width: 184px;
    height: 32px;
}
.ec-stars span{
    background-position: 0 0;
    background-repeat: repeat-x;
    display: block;
    height: 32px;
    width: 0;
}

.ec-stars span.rating-0{width: 0px;}
.ec-stars span.rating-1{width: 38px;}
.ec-stars span.rating-2{width: 76px;}
.ec-stars span.rating-3{width: 114px;}
.ec-stars span.rating-4{width: 152px;}
.ec-stars span.rating-5{width: 190px;}

/*
 * Detailed Rating
 *****************************************************************************/
.ec-d-rating {
    width: 100%;
    max-width: 500px;
    background: #eee;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e3e3e3;
    display: flex;
}
.ec-d-rating:after {
    content: "";
    clear: both;
    display: table;
}
.ec-d-rating__col-info {
    width: 130px;
    padding-top: 12px;
}
.ec-d-rating__col-lines {
    width: 250px;
    width: calc(100% - 130px);
}
@media(max-width: 768px) {
    .ec-d-rating__col-lines {
        width: 100%;
    }
}
.ec-d-rating__value {
    font-size: 50px;
    line-height: 1;
    color: #333333;
}
.ec-d-rating__stars {

}
.ec-d-rating__desc {
    margin-top: 12px;
    color: #8b8b8b;
}

.ec-d-rating__lines {

}
.ec-d-rating__line {
    position: relative;
    line-height: 1;
    color: #8b8b8b;
    margin: 30px 0;
}
.ec-d-rating__line:after {
    content: "";
    clear: both;
    display: table;
}
.ec-d-rating__line-rate {
    float: left;
    text-align: left;
    padding-left: 5px;
}
.ec-d-rating__line-progress {
    position: absolute;
    left: 30px;
    right: 60px;
    top: 50%;
    margin-top: -2px;
    background-color: #dddddd;
}
.ec-d-rating__line-progress > span {
    display: block;
    height: 4px;
    background-color: #41464b;
}
.ec-d-rating__line-volume {
    float: right;
    width: 60px;
    text-align: right;
}

/*
 * Clearfix
 *****************************************************************************/
.ec-clearfix:before,
.ec-clearfix:after {
    content: " ";
    display: table;
}
.ec-clearfix:after {
    clear: both;
}
.ec-clearfix {
    *zoom: 1;
}