.gdrts-rating-list {
    .gdrts-likes-theme-balloon {
        .gdrts-like {
            .gdrts-like-count {
                display: inline-block;
                background: #FFF;
                border-radius: 4px;
                position: relative;
                border: #333 solid 1px;
                vertical-align: top;
                height: calc(1em + 10px);
                padding: 0 5px;
                margin: 0 0 0 12px;

                span {
                    vertical-align: text-bottom;
                }

                &:after {
                    content: '';
                    position: absolute;
                    border-style: solid;
                    border-width: 6px 6px 6px 0;
                    border-color: transparent #FFF;
                    display: block;
                    width: 0;
                    z-index: 1;
                    margin-top: -6px;
                    left: -6px;
                    top: 50%;
                }

                &:before {
                    content: '';
                    position: absolute;
                    border-style: solid;
                    border-width: 6px 6px 6px 0;
                    border-color: transparent #333;
                    display: block;
                    width: 0;
                    z-index: 0;
                    margin-top: -6px;
                    left: -7px;
                    top: 50%;
                }
            }
        }
    }

    table {
        background: #FFF;
        border: 2px solid #EEE;
        margin: 1em 0;
        table-layout: auto;
        width: 100%;

        thead {
            background: #EEE;

            tr {
                th {
                    padding: .5em;
                    display: table-cell;
                    vertical-align: middle;
                }
            }
        }

        tbody {
            tr {
                th {
                    padding: .5em;
                    display: table-cell;
                    vertical-align: middle;
                    font-weight: bold;
                    font-size: .9em;
                    color: #222;
                }

                td {
                    padding: .5em;
                    display: table-cell;
                    vertical-align: middle;
                }
            }

            &:nth-of-type(2n) {
                background: #FAFAFA;
            }
        }

        &.gdrts-grid-minimal {
            .gdrts-grid-thumbnail {
                img {
                    min-width: 32px;
                }
            }

            .gdrts-grid-item {
                width: 99%;
            }

            .gdrts-grid-likes {
                white-space: nowrap;
            }

            .gdrts-grid-likes {
                .gdrts-block-like {
                    display: block;
                    text-align: right;
                }
            }

            .gdrts-grid-rating-stars {
                min-width: 80px;
            }
        }
    }

    ol {
        margin: 0;
        list-style: none;

        li {
            &.gdrts-rating-item {
                list-style: none;
                overflow: auto;
            }
        }
    }

    &.gdrts-method-stars-rating {
        table {
            &.gdrts-grid-minimal {
                th {
                    &.gdrts-grid-rating {
                        min-width: 20%;
                    }
                }
            }
        }
    }
}


.gdrts-rating-users-list {
    font-size: 85%;
    line-height: 20px;
    margin: 5px 0 0;

    .gdrts_users_lists {
        display: inline-block;

        a {
            text-decoration: none;
            box-shadow: none;
        }
    }

    .gdrts_user_single {
        display: inline-block;
        line-height: 20px;
    }
}

.gdrts_users_lists_grouped {
    ul,
    ul li {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    div {
        display: inline-block;
    }
}

.gdrts-thumbnail-float-left {
    .gdrts-rating-item {
        .gdrts-item-thumbnail {
            float: left;
            margin: 0 8px 0 0;

            + .gdrts-item-information {
                margin: 0 0 0 72px;
            }
        }
    }
}
