.avatar {
    border-radius: 50%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-color: var(--grey-ultralight);
    position: relative;
    min-width: 45px;
    width: 90px;
    max-width: 100%;
    background-image: url(../images/avatar1.jpg);
}

.avatar.brother, 
.avatar.winner { overflow: visible}

.avatar.winner:before {
    position: absolute;
    inset: -8%;
    /* background: red; */
    z-index: 1;
    border-radius: 50%;
    background-image: url(../images/winner.svg);
    content: '';
}

.avatar.brother:before {
    position: absolute;
    inset: -8%;
    /* background: red; */
    z-index: 1;
    border-radius: 50%;
    background-image: url(../images/brother.svg);
    content: '';
}

.avatar.winner.brother:before {
    position: absolute;
    inset: -8%;
    /* background: red; */
    z-index: 1;
    border-radius: 50%;
    background-image: url(../images/winner-brother.svg);
    content: '';
}

@media (max-width: 767px) {
    .avatar {
        max-width: 45px
    }
}

.new-comment .avatar,
.commentsholder .avatar {
    width: 45px;
}

.avatar-big {
    width: 100%;
}

.avatar-mini {
    max-width: 30px
}

.avatar-test-1 {
    background-image: url(../images/avatar1.jpg);
}

.avatar-test-2 {
    background-image: url(../images/avatar2.jpg);
}

.avatar-test-3 {
    background-image: url(../images/avatar3.jpg);
}

.avatar:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.gridview .communitysideholder {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100% !important
}

.gridview .communityholder {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100% !important
}

.gridview .masonry {
    margin-left: -5px;
    margin-right: -5px;
    transition: height ease .3s;
    z-index: 3;
}

.gridview .masonry .communityitem {
    width: calc(100% - 10px);
    margin-left: 5px;
    margin-right: 5px
}

@media (min-width: 992px ) {
    .communitycontainer.gridview .communityside-item {
        width: 50%;
        max-width: 50%;
        flex: 0 0 50%;
    }

    /*
    .gridview .communityoverviewcol {
        width: 50% !important;
        flex: 0 0 50%;
        max-width: 50% !important;
        float: left;
    }
     */
    .gridview .masonry .communityitem {
        width: calc(50% - 10px);
        margin-left: 5px;
        margin-right: 5px
    }
}

@media (min-width: 1600px ) {
    .gridview .masonry .communityitem {
        width: calc(33.33333% - 10px);
        margin-left: 5px;
        margin-right: 5px
    }
}

.btn-masonry.active {
    color: var(--blue)
}


.communityoverview,
.communityitem {
    display: block;
    box-shadow: var(--shadow);
    padding: var(--padding);
    margin-bottom: var(--padding);
    transition: var(--transition-shadow);
    color: var(--black);
    position: relative;
}

.communityitem {
    padding-bottom: var(--padding-half);
    background-color: var(--white);
}

@media (min-width: 768px) {
    .communityoverview,
    .communityitem {
        padding: var(--padding-double);
    }

    .communityitem {
        padding-bottom: var(--padding);
    }
}

.communityitem.item-post {
    border-top: 6px solid var(--grey-dark);
}

.communityitem.special {
    margin-bottom: 60px !important;
}
/*
.communityitem.special:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    border-bottom: 1px solid var(--grey-light);
}
*/
.communityoverview:hover,
.communityitem:hover {
    box-shadow: var(--shadow-hover);
}

.communityitem:last-child {
    margin-bottom: 0
}

.communityoverview dl dt {
    color: var(--blue)
}

.additional-infos,
.subcomments-stats,
.like-stats,
.comments-stats,
.tinycommunityitem a.user-action {
    color: var(--grey);
    font-size: var(--font-small);
    display: block;
}

a.user-action:hover {
    color: var(--blue-hover) !important
}

.commentitem.liked a.user-action.like-action,
.communityitem.liked a.user-action.like-action {
    color: var(--blue);
    font-weight: bold;
}

.communityitem.commented a.user-action.comments-action {
    color: var(--blue);
    font-weight: bold;
}

.communityitem-actions.user-actions {
    border-top: 1px solid var(--grey-ultralight);
    border-bottom: 1px solid var(--grey-ultralight);
    padding: var(--padding) var(--padding);
    text-align: center;
}

.communityitem .singleimage {
    overflow: hidden;
    margin-bottom: 5px !important
}

.communityitem .singleimage img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.communityitem .singleimage,
.communityitemgallery {
    margin: 0 calc(var(--padding) * -1)
}

.communityitem .singleimage img,
.communityitemgallery img {
    max-height: 400px;
    height: 400px;
}

@media (min-width: 768px) {
    .communityitem .singleimage,
    .communityitemgallery {
        margin: 0 calc(var(--padding-double) * -1)
    }

}

@media (max-width: 767px) and (orientation: portrait) {
    .communityitem .singleimage img,
    .communityitemgallery img {
        max-height: 25vH;
    }
}


.comment-collapse.show + a.comments-stats.user-action {
    display: none !important
}

.card {
    border: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
}

.new-comment {
    padding: var(--padding-half);
    padding-right: 0;
}

.commentinner {
    padding: var(--padding-half);
    background-color: var(--white-grey);
    font-size: var(--font-small);
}

a.user-action.comment-action[aria-expanded="true"] {
    color: var(--blue)
}

.commentitem {
    margin-bottom: 5px !important
}

.commentitem .subcomments-stats,
.commentitem .comments-stats,
.commentitem .like-stats {
    color: var(--grey);
}

.commentitem.liked a.user-action.like-action i {
    display: none
}

.commentitem.liked a.user-action.like-action i {
    display: none
}

.commentitem.liked .like-stats {
    color: var(--blue)
}

.subcommentsholder {
    /* margin-top: -15px;
     margin-bottom: 15px*/
}

.subcommentsholder,
.commentitem-comments {
    padding-left: 50px
}

.subcommentitem {
    margin-bottom: 2px;
}

.commentitem-stats {
    padding-left: 55px;
}

.tinycommunityitem {
    border-bottom: 1px solid var(--grey-ultralight);
    display: block;
    padding: 5px 0;
}

.subcomments-stats.user-action[aria-expanded="true"] {
    display: none
}

.subcomment-collapse .card-body {
    padding-top: 2px
}

.subcomment-collapse .commentitem:last-child {
    margin-bottom: 0 !important
}

.uploadfield {
    /* padding-bottom: 56%; */
    position: relative;
    display: block;
    /* height: 200px; */
    padding: 30px;
    margin-bottom: 15px;
    border: 1px solid var(--grey-light);
    background-color: var(--white-grey);
}

.uploadfield input.form-control {
    padding: 0;
    line-height: unset;
    height: auto;
    margin-top: 10px;
}

.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
}

.grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";

    /* This is how textarea text behaves */
    white-space: pre-wrap;

    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
}

.grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none;

    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden;
}

.grow-wrap > textarea,
.grow-wrap::after {
    /* Identical styling required!! */
    border: 1px solid var(--grey-light);
    padding: 0.5rem;
    padding-left: 1rem;
    font: inherit;

    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;

    overflow: auto;
    padding-top: 20px;
    max-height: 45px;
    line-height: 1.125;
}

.form-group.filled .grow-wrap > textarea, .grow-wrap::after,
.form-group.active .grow-wrap > textarea, .grow-wrap::after {
    max-height: 200px;
}

.grow-wrap > textarea::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.grow-wrap > textarea::-webkit-scrollbar-track {
    background: var(--grey-light);
}

/* Handle */
.grow-wrap > textarea::-webkit-scrollbar-thumb {
    background: var(--grey);
}

/* Handle on hover */
.grow-wrap > textarea::-webkit-scrollbar-thumb:hover {
    background: var(--grey-dark)
}


.newcommentitem {
    display: block;
    box-shadow: var(--shadow);
    padding: var(--padding-double);
    margin-bottom: var(--padding);
    transition: var(--transition-shadow);
    color: var(--black)
}

a.like-action.user-action.active {
    color: var(--blue);
}

.loadMoreCommunityBtn {
    z-index: 1
}

.community-feedback-box {
    position: fixed;
    bottom: 15px;
    right: 15px;
    max-width: 350px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, .85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 0.25rem;
    font-size: 14px !important;
    animation-name: commpost;
    animation-play-state: running;
    animation-delay: 10s;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    pointer-events: none;
    z-index: 100;
}

@keyframes commpost {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

.image-col img {
    aspect-ratio: 4/3;
    object-fit: cover;
    overflow: hidden;
    object-position: center;
}


.communityitem.long-content .item-content {
    overflow: hidden;
    height: 300px;
    position: relative;
}

.communityitem.long-content .item-content:before {
    content: '';
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), transparent);
    z-index: 100;
}

.communityitem.long-content .item-content {
    cursor: pointer;
}

.communitycontainer.gridview .image-col {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.filter-box ul {
    padding-left: 0;
    list-style: none;
}

.filter-box li {
    float: left;
    margin-right: 7px;
    margin-bottom: 7px;
}

.filter-box li.sub {
    display: none;
}
.filter-box a.btn-default.sub,
.filter-box li.sub a.btn-default {
    padding: 0 var(--padding-half);
    font-size: var(--font-small);
}

.filter-box li.sub.in {
    display: inline;

}

li.top + li.sub.in {
    clear: left;
}

.communityitem.long-content .item-content {
    overflow-y: hidden;
    height: 300px;
}

.communityitem.long-content .item-content:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), transparent);
}

.communityitem.long-content .item-content {
    cursor: pointer;
}

.communitystats {
    padding-bottom: var(--padding);
    color: var(--grey-light)
}

.metainfos {
    border-top: 1px solid var(--grey-light);
    padding-top: var(--padding);
    color: var(--grey-light)
}

.catlink {
    padding: var(--padding-half);
    background-color: var(--grey);
    color: #fff;
}

.catlink.tag {
    background-color: var(--grey-light)
}

.catlink:focus,
.catlink:hover {
    background-color: var(--blue-hover);
    color: #fff;
}

.communityoverview.community-notifications {
    display: none;
}

.communityoverview.community-notifications.in {
    display: block;
}

.communityoverview.community-notifications {
    display: none;
}

.communityoverview.community-notifications.in {
    display: block;
}

.overview-item-holder {
    display: none;
}

.overview-item-holder.in {
    display: block;
}

.active .active-icon {
    display: inline-block !important;
}

.active .inactive-icon {
    display: none;
}

.active-icon {
    display: none !important;
}

.inactive-icon {
    display: inline-block
}

.masonry-holder .community-loading-overlay {
    display: none;
}

.masonry-holder.loading .community-loading-overlay {
    display: block;
    z-index: 101;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .86);
}

@media (max-width: 991px) {
    .tinycommunityitem h5 {
        font-size: 1.4rem
    }
}

.overview-item-holder .communityitem {
    border-top: 6px solid var(--blue);
}
.communityitem.item-community.question:after {
    /* content: ''; */
    width: 50px;
    height: 100%;
    /* background: red; */
    position: absolute;
    left: 0;
    top: 0;
    border-right: 1px solid #ddd;
}

.communityitem.item-community.question {
    margin-left: 50px;
    border-left: 2px solid var(--blue);
}

.gridview .masonry .communityitem.question {
    width: calc(33.33333% - 55px);
}

.communityitem.question:before {
    content: "\f059";
    position: absolute;
    top: 15px;
    right: 100%;
    background-color: var(--blue);
    color: #fff;
    /* padding: 10px; */
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 40px;
    width: 40px;
    text-align: center;
    height: 40px;
}

.community-seperator {
    display: block;
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.community-seperator:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--grey);
    z-index: -1;
}

.community-seperator h2 {
    display: inline-block;
    background: #fff;
    padding: 0 5px;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    color: var(--grey);
}

.community-seperator.first h2 {
    color: var(--blue);
}
.community-seperator.first:after {
    border-color: var(--blue);
}

.commentitem.chosen-answer {
    border-left: 2px solid var(--blue);
    margin-left: 30px;
    position: relative;
}

.commentitem.chosen-answer:before {
    content: "\f058";
    position: absolute;
    right: 100%;
    top: 15px;
    width: 30px;
    height: 30px;
    background: var(--blue);
    text-align: center;
	 font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 30px;
    color: #fff;
	font-size: 14px
		
}

.tags {     
	display: flex;
    justify-content: end;
	column-gap:5px;
	row-gap: 5px;
	
}
.tags .tag { 
	padding: 3px 6px; font-size:12px; background-color:var(--grey-ultralight); 
}
.tags .tag:hover { background-color: var(--grey-dark); color:#fff;}