/* Comments */

.loading {
    background: #fff !important;
    min-height: 600px;
    position: relative;
    transition: height 10s;
    -webkit-transition: height 10s;
}

.loading * {
    display: none !important;
}

.loading:after {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    width: 100px;
    height: 100px;
    background: url(../img/mobile/rolling.svg) no-repeat 50% 50% #fff;
    content: '';
}

.comments {
    margin-top: 15px
}

.profile-avatar {
    width: 32px;
    height: 32px;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    margin-right: 10px;
}

.profile-avatar:hover, .profile-avatar:focus, .profile-avatar:active {
    text-decoration: none;
}

.avatar-letter {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    text-decoration: none;
}

.all__comments__container {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
}

.no__comments {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.comments .title__category {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
}

.comments__view__container {
    position: relative;
}

.news__comments__title {
    font-size: 18px;
    color: #000
}

.comments__header {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px 0;
}

.comments__header .alert {
    align-self: flex-end;
    flex-grow: 1;
}

.comments__footer {
    margin: 5px 0 0 0;
}

.comments__user__info {
    display: flex;
    align-items: center;
}

.comments__user__content {
    display: inline-block;
}

.comments__name {
    font-weight: 700;
    display: inline-block;
}

.comments__user__name {
    display: inline-block;
    font-size: 14px
}

.comments__vote__container {
    margin-top: 10px;
}

.comments__user__image {
    display: inline-block;
    width: 32px;
    height: 32px;
    overflow: hidden;
    margin-right: 10px
}

.comments__user__rank {
    font-weight: normal;
    font-size: 12px;
    display: block;
}

.comments__content {
    word-wrap: break-word;
    font-size: 14px;
}

.comments__text a {
    color: #000;
    font-size: 14px;
}

.comments__text a span {
   color: #337ab7
}

.comments__actions {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px
}

.comments__actions a {
    color: #337ab7 !important;
    font-size: 12px !important;
    text-decoration: none;
}


.comments__actions div:first-child {
    padding-right: 5px;
    display: inline-block;
}

.comments__actions div:last-child {
    padding-right: 0;
    display: inline-block;
    margin-left: auto;
}

.comments__reply {
    border-left: 2px solid #ddd;
    padding-left: 15px
}

.comments__view__2 {
    border-left: 2px solid #ddd;
}

.comments__view__2:last-child {
    border-left: 2px solid #fff;
}

.comments__view__2 .comments__view__container {
    padding-left: 15px;
}

.comments__view__2 .comments__view__container:before {
    content: '';
    left: -2px;
    top: 0;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ddd;
    z-index: 1;
    border-radius: 0 0 0 10px
}

.comments__view__2 .comments__view__container:after {
    content: '';
    left: 0px;
    top: -2px;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #fff;
    z-index: 2;
    border-radius: 0 0 0 10px
}


.comments__view__3 {
    margin-left: 15px;
    border-left: 2px solid #ddd;
}

.comments__view__3:last-child {
    border-left: 2px solid #fff;
}

.comments__view__3 .comments__view__container {
    padding-left: 15px;
}

.comments__view__3 .comments__view__container:before {
    content: '';
    left: -2px;
    top: 0;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ddd;
    z-index: 1;
    border-radius: 0 0 0 10px
}

.comments__view__3 .comments__view__container:after {
    content: '';
    left: 0px;
    top: -2px;
    position: absolute;
    width: 15px;
    height: 15px;
    background: #fff;
    z-index: 2;
    border-radius: 0 0 0 10px
}

.add__comment__container {
    margin: 0 0 15px 0;
}

#newCommentModal {
    z-index: 10000;
}

.comments__see__more {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 15px;
    text-align: center;
}

.comments__see__more a {
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
    color: #337ab7;
    text-decoration: none;
    font-size: 14px;
}

.comments__align__center {
    justify-content: center !important;
}

@media (max-width: 320px) {
    .comments__see__more {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

.comments .alert {
    padding: 10px;
    margin-bottom: 0
}

.comments__user__vote {
    border-radius: 5px;
    border: 1px solid #ddd;
    height: 100%;
    padding: 5px 10px;
    overflow: hidden;
}

.btn__vote {
    font-size: 14px;
    color: #888888;
    display: flex;
    align-content: center;
    align-items: center;
}

.btn__vote:focus, .btn__vote:hover, .btn__vote:active{
    text-decoration: none;
    color: #888;
}

.icon__vote {
    background-image: url(../img/mobile/vote/icon-vote.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 5px
}

.user__reactions {
    margin-right: 5px;
    display: inline-block;
}

.icon-reactions {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin: 0 auto;
}

.vote__number {
    font-size: 14px
}

.icon-reactions-1 {
    background-image: url(../img/mobile/vote/icon-reaction-5.svg);
}
.icon-reactions-2 {
    background-image: url(../img/mobile/vote/icon-reaction-4.svg);
}
.icon-reactions-3 {
    background-image: url(../img/mobile/vote/icon-reaction-3.svg);
}
.icon-reactions-4 {
    background-image: url(../img/mobile/vote/icon-reaction-2.svg);
}
.icon-reactions-5 {
    background-image: url(../img/mobile/vote/icon-reaction-1.svg);
}

.comments__user__voted  {
    padding: 8px 10px 5px 10px
}

.comments__user__voted .icon__vote {
    width: 16px;
    height: 16px
}

.comments__user__voted .icon-reactions {
    width: 18px;
    height: 18px
}

.votes__container {
    display: flex;
    align-content: center;
}

.rections__box__voted {
    margin: 0 5px;
}

.vote__people {
    font-size: 14px;
    color: #888;
}

.popover__wrapper {
    position: relative;
    display: block;
}

.popover__content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -60px;
    left: 0;
    transform: translate(0, 10px);
    background-color: #fff;
    padding: 10px;
    width: 265px;
    border: 1px solid #ddd;
    border-radius: 5px
}

.popover__wrapper .popover__show {
    z-index: 10;
    opacity: 1;
    visibility: visible;
    transform: translate(0, -20px);
    transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.comments .loading {
    min-height: 100%;
    background: transparent !important;
}

.comments .loading * {
    display: inherit !important;
    visibility: hidden;
}

.comments .loading:after {
    width: 64px;
    height: 64px;
    background: url(../img/mobile/rolling.svg) no-repeat 50% 50% transparent;

}

