/* forum style */
.forum-header, .tag-header {
    width: 100%;
    z-index: 10;
    position: fixed;
    top: var(--headerHeight);
    min-height: var(--headerHeight);
    height: auto;
}

.forum-header {
    background-color: var(--sponser-bg);
}

.forum-sticky-header {
    width: 100%;
    z-index: 10;
    position: sticky;
    top: var(--headerHeight);
    background-color: var(--sponser-bg);
}


.dropdown-content-wrapper {
    display: none;
    max-height: 50vh;
    overflow: scroll;
}

.dropdown-content-wrapper.open {
    right: 0.125rem;
    top: 1rem;
    z-index: 30;
    width: auto;
    display: flex;
    position: absolute;
    background: transparent;
    border-radius: 0.5rem;
    overflow: auto;
}

/*.dropdown-content-wrapper.open::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 1rem;
    height: 1rem;
    width: 1rem;
    background-color: var(--sponser-bg-xlighter);
    border-top: 1px solid solid 1px var(--sponser-bg-darker);
    border-left: 1px solid solid 1px var(--sponser-bg-darker);
    transform: rotate(45deg);
    z-index: 32;
    opacity: 1;
    transition-delay: 0.3s;
}*/

.dropdown-content > ul {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 0;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 33;
    padding: .5rem .75rem .5rem 1.5rem;
}

.dropdown-content > ul li {
    width: 100%;
    padding-bottom: .5rem;
}

.dropdown-content {
    margin-top: .65rem;
    border-radius: 0.5rem;
    background-color: var(--sponser-bg-xlighter);
    border: solid 1px var(--sponser-bg-darker);
    overflow-y: auto;
    width: 9rem;
}

.dropdown-content a {
    font-size: .875rem;
}

.s-margin-forum-header {
    margin-top: var(--headerHeight);
}

.forum-item-header {
    margin-top: .25rem;
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
}

li.load-more {
    height: var(--headerHeight);
}

.load-more-btn {
    width: 100%;
    overflow: hidden;
    padding: 0.625rem;
    border-radius: 0.5rem;
    padding: 5px 12px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    background-color: var(--sponser-purple);
    color: var(--sponser-white);
    border: 1px solid var(--sponser-purple);
}


details {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    transition: all .3s;

    background: var(--sponser-gray-darker);
    border-bottom: solid 1px var(--sponser-gray-darker);
    overflow: hidden;
}

@keyframes details-show {
    from {
        margin-bottom: -80%;
        opacity: 0;
        transform: translateY(-100%);
    }
}

details > *:not(summary) {
    /*animation: details-show 500ms ease-in-out;*/
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    color: transparent;
    overflow: hidden;
}

details[open] > *:not(summary) {
    color: inherit;
}

details[open] > summary:before {
    transform: rotate(90deg);
    transition: 0.45s transform ease;
}

details[open] {
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%) !important;


}

details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: .25rem .625rem;
}

summary:focus {
    outline: none;
}

summary:focus::after {
    content: "";
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

details summary::-webkit-details-marker {
    display: none;
}


details .control-icon {
    color: var(--sponser-text);
    transition: .1s ease;
    pointer-events: none;

}

details[open] .control-icon {
    transform: rotate(45deg);
    transition: transform ease .1s;
}

/*
details .control-icon-close {
    display: none;
}

details[open] .control-icon-close {
    display: initial;
    transition: .3s ease;
}

details[open] .control-icon-expand {
    display: none;
}
*/


.forum-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--sponser-white-bg);
    background-clip: border-box;
    /*border: 1px solid rgba(0, 0, 0, 0.125);*/
    outline: solid 1px transparent;
}

.forum-card.rounded {
    border-radius: 0.5rem;
    overflow: hidden;
}

.forum-card.with-shadow {
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%) !important;
}

.forum-card .news {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.forum-card .news > img {
    flex: 3;
    aspect-ratio: 4/3 !important;
    height: 100%;
    width: 37%;
}

.forum-card .news > figcaption {
    flex: 5;
}

.forum-card > figure > img {
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.forum-card .hide-comment {
    /*display: none;*/
}

.forum-card .comments-counter {
    font-size: 1rem;
}


.forum-title {
    font-size: 1rem;
    font-weight: 700;
}


/*.forum-body__container {
    display: none;
}*/

.forum-subTitle {
    font-size: 1rem;
    white-space: pre-line;
}

.forum-subTitle.less {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-rtl-ordering: revert;
}

.forum-subTitle.more {
    -webkit-line-clamp: 999;
}

.forum-tag {
    display: block;
    color: var(--sponser-purple);
    font-weight: 500;
    font-size: 0.925rem;
    text-decoration: none;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;

}

.forum-card figure.articleCard {
    /* border-bottom-left-radius: 12px;
     border-bottom-right-radius: 12px;*/
    background-color: var(--sponser-bg-lighter);
}

.forum-card figure.articleCard figcaption {
    padding: .25rem .5rem;
    font-size: .875rem;
    font-weight: 700;
}

.forum-tag__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


.forum-tag__item a, .forum-tag__title a {
    color: var(--sponser-orange-dark);
    font-size: 0.85rem;
    /*border-radius: 0.25rem;
    padding: 0 3px 1px;
    line-height: 0.85rem;*/
}

ul.forum-tag__container li.forum-tag__item:not(:last-child) {
    margin-left: .5rem;
}

/*

.forum-tag__item:not(:last-child):after {
    display: inline-block;
    position: relative;
    margin: 0 0.25rem;
    color: var(--color-twitch-purple-13);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f111";
    font-size: 3px;
    vertical-align: middle;
}
*/

.forum-footer {
    border-top: solid 1px var(--sponser-purple-soft);
    padding: 1rem .625rem;
}

.forum-footer i {
    font-size: 1rem
}

.forum-image__cover {
    object-fit: cover;
    width: 100%;
    border: 0;
}

.forum-comments__container .border-top {
    border-top: solid 1px var(--sponser-purple-soft);


}

.forum-comments__container {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.forum-comments__container li.hide-comment {
    display: none;
}

.forum-comments__container li.hide-comment.show-more {
    display: list-item;
    animation: table_show 1s ease;
}

.msg-highlight {
    background-color: var(--sponser-purple-soft) !important;
    border: solid 1px var(--sponser-purple-pastel-border);
    box-shadow: var(--sponser-purple-pastel-shadow);
}

@keyframes table_show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.border-pulse {
    -webkit-animation: border-pulse 1s ease-out;
    -webkit-animation-iteration-count: 5;
    animation-direction: alternate;
}

@keyframes border-pulse {
    0% {
        outline-color: rgba(234, 30, 99, 1);

    }

    25% {
        outline-color: rgba(234, 30, 99, .75);

    }
    50% {
        outline-color: rgba(234, 30, 99, .5);

    }
    75% {
        outline-color: rgba(234, 30, 99, .25);

    }
    100% {
        outline-color: rgba(234, 30, 99, 0);

    }
}

.pulsate-infinite {
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    animation-direction: alternate;
}

@-webkit-keyframes pulsate {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.forum-comments__item {
    position: relative;
    width: 100%;
}

.forum-comments__guideline {
    border-right: solid;
    border-right-width: 1px;
    border-right-color: var(--sponser-gray-dark); /*rgba(229, 231, 235, 0.7);*/
}

.forum-comments__container {
    outline: solid 1px transparent;
    margin-top: .5rem;
}

.forum-comments__container > li:not(:first-child) {
    /*margin-top: 1rem;*/
}

li.forum-comments__item article {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    flex-direction: column;
    background-color: var(--sponser-bg);
    border: solid 1px var(--sponser-bg-darker);
}

li.forum-comments__item article:not(:last-child) {
    margin-bottom: 0;
}

.forum-comments__toolbar-container {
    width: 100%;
}

.forum-comments__toolbar-container:not(:last-child) {
    /*margin-bottom: 2rem;*/
}

.forum-actions-toolbar {
    display: grid;

    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: end;
}

.forum-comments__toolbar {
    display: flex;
    width: 100%;
    border-top: solid 1px var(--sponser-bg-darker);
}


.forum-container-meta {
    opacity: .75;
    font-size: .875rem;
    margin-bottom: 0.25rem;
}

.forum-container-meta ul > li {
    display: flex;
    align-items: center;
}

.forum-container-meta > ul > li:not(:last-child) {
    margin-left: 1rem;
}

.forum-container-meta ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: .875rem;
}

.forum-container-meta address {
    font-weight: 700;
    font-size: .75rem;

}

.forum-container-meta time {
    font-size: .75rem;
}

.forum-container-meta time:not(.only-time):before {
    position: relative;
    content: "|";
    margin: 0 .125rem;
    vertical-align: top;
}

ul.header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

ul.header-icons li {
    margin-right: 1rem;
}


.message-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: .75;
    font-size: .875rem;
}

.message-meta i {
    margin-left: .125rem;
}

.s-forum-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.s-forum-link a {
    color: var(--sponser-orange-dark);
    text-decoration: none;
    font-size: .875rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.s-forum-link a i {
    opacity: .75;
    font-size: .875rem;
    margin-left: .25rem;
    color: var(--sponser-text);
}

/* new message overlay*/

.msg-overlay-bubble-container {
    position: fixed;
    z-index: 101;
    bottom: 0;
    right: 0;
    width: 100%;
}

.msg-overlay-container {
    /* height: 0;
     position: fixed;
     z-index: 101;
     bottom: 0;
     right: 0;
     overflow: visible;
     display: flex;
     flex-direction: row-reverse;
     flex-wrap: nowrap;
     align-items: flex-end;
     width: 100%;*/
    background-color: var(--sponser-white-bg);
}

.msg-overlay-list-bubble {
    display: flex;
    flex-direction: column;
    height: calc(calc(100vh - env(safe-area-inset-bottom) - env(safe-area-inset-top)) - 62px);
    flex: 0 0 100%;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    background-color: var(--sponser-white-bg);
    border-radius: 0;

    box-shadow: 0px 8px 10px 1px rgb(0 0 0 / 14%), 0px 3px 14px 2px rgb(0 0 0 / 12%), 0px 5px 5px -3px rgb(0 0 0
        / 20%);
    transform: translateY(0);
    transition: all 350ms ease;

}

.msg-overlay-list-bubble.is-minimized {
    transform: translateY(100%) translateY(-4rem);
    transition: all 350ms ease;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;

}


.msg-overlay-bubble-header .msg-overlay-bubble-header-icon {
    opacity: 70%;
    margin-left: .25rem;

}

.msg-overlay-bubble-header .msg-overlay-bubble-header-close {
    display: inline-block;
}

.msg-overlay-list-bubble.is-minimized .msg-overlay-bubble-header-close {
    display: none;
}

.msg-overlay-bubble-header {
    height: 4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
    background-color: var(--sponser-white-bg);
    border-bottom: solid 1px var(--sponser-gray-dark);
}

.msg-overlay-bubble-header-title {

}

.msg-overlay-list-bubble {
    height: calc(100vh - 62px);
}

.msg-overlay-list-bubble.is-minimized {
    height: 4rem;
}

.msg-overlay-list-bubble.is-minimized .msg-overlay-bubble-header-title {
    border: solid 1px var(--sponser-gray-dark);
    overflow: hidden;
    padding: .25rem .625rem;
    border-radius: .25rem;
}

.msg-overlay-bubble-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    /*padding: .625rem;*/
    position: relative;
}


.user-like-post .svg-icon {
    font-weight: 700;
    color: var(--sponser-pink);

}

.user-like-post.active span i {
    animation: like 0.5s 1;
}

[class^="likes_counter_"] {
    font-weight: 400;
    color: var(--sponser-text);
}


@-webkit-keyframes like {
    0% {
        transform: scale(1);
    }
    90% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.1);
    }
}

#newMsgForm {
    width: 100%;
}

#newMsgForm > ul {
    padding: .625rem .625rem 0;
}

#newMsgForm li.input {
    border-color: var(--sponser-gray-dark);
    border-width: 1px;
    border-style: solid;
    border-radius: .25rem;
    overflow: hidden;
}

#newMsgForm li.input:not(:last-child) {
    margin-bottom: .9375rem;
}


#newMsgForm .input:focus-within {
    border-color: var(--sponser-purple-soft);
    -webkit-box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
    box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
}

.select2-search__field {
    padding: 7px 7px 0 !important;
    font-size: .875rem;
    font-weight: 400;
    margin: 0 !important;
}

#newMsgForm textarea, #newMsgForm input:not(.select2-search__field) {
    box-sizing: border-box;
    background-color: var(--sponser-white-bg);
    display: block;
    width: 100%;
    padding: 7px;
    outline: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--sponser-text);
    font-size: 16px !important;
    font-size: .875rem;
    font-weight: 400;
    resize: none;
}

#newMsgForm #newMsgLink {
    text-align: left;
    direction: ltr;
}

#newMsgForm input[type=url] {
    text-align: left;
    direction: ltr;
}

#newMsgForm textarea.title {
    resize: none;
    overflow: hidden;
}


#newMsgForm .counter {
    font-size: .8rem;
    color: var(--sponser-text);
    pointer-events: none;
    width: calc(4 * 0.8rem);
    margin-right: .5rem;
    text-align: left;
    opacity: 80%;
}


/* svg icons */
.svg-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.svg-icon svg {
    fill: var(--sponser-text);
    width: 1rem;
    height: 1rem;
}

i[class*=" flaticon-"], i[class^=flaticon-] {
    display: inline-flex;
    line-height: 1;
}

#newMsgForm footer ul {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    margin-top: 1rem;
}

#newMsgForm footer li:not(:last-child) {

    margin-left: 1rem;
}


/* select 2 */
.select2-container--default .select2-selection--multiple {
    border: unset !important;
    border-radius: unset !important;

}

.select2-results__options {
    background: var(--sponser-gray-light);
    -webkit-box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
    box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
    border-radius: 0 0 0.5rem 0.5rem;
    overflow: hidden;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--sponser-purple) !important;
    color: var(--sponser-white) !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    -webkit-box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
    box-shadow: 0 1px 4px rgb(26 26 67 / 10%);
    /* border: 1px solid var(--sponser-purple-soft) !important;*/
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--sponser-gray-light) !important;
    border-color: var(--sponser-gray-dark);
}


/* */

#forum-msg-menu ul.forum-share-msg li:not(:last-child) {
    margin-left: 2rem;
}

#forum-msg-menu .circle-icon {
    background: var(--sponser-bg);
    padding: 5px;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#forum-msg-menu .circle-icon.twitter {
    background-color: #1da1f2 !important;
    color: var(--sponser-white);
}

#forum-msg-menu .circle-icon.facebook {
    background-color: #1877f2 !important;
    color: var(--sponser-white);
}

#forum-msg-menu .circle-icon.whatsapp {
    background-color: #25d366 !important;
    color: var(--sponser-white);
}

#forum-msg-menu .circle-icon.email {
    background-color: var(--sponser-purple) !important;
    color: var(--sponser-white);
}

#forum-msg-menu .circle-icon i {
    font-size: 1.3rem;
}

.viewport-debug {
    z-index: 1;
    height: 1px;
    width: 100%;
    position: fixed;
    background: var(--sponser-pink);

}

.news-container {
    & > li:not(:nth-child(-n+ 2)) {
        display: none;
    }
}