
.social-box .box {
    box-shadow: var(--shadow-primary);
    border-radius: 0.3rem;
    background-color: var(--bs-white);
    border: 1px solid var(--gray-200);
}

.social-box .box .box-header {
    padding: 1rem;
    display: flex;
}

.social-box .box .box-header .box-header_info {
    padding-right: 5px;
    display: flex;
    flex-direction: column;
}

.social-box .box .box-header .box-header_info .box-header_title {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: .5rem;
}

.social-box .box .box-header .box-header_info .box-header_title .box-header_title-link {
    color: var(--gray-700);
    font-size: var(--size-xxl);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
}

.social-box .box .box-header .box-header_info .box-header_meta {
    display: flex;
    align-items: center;
}

.social-box .box .box-header .box-header_info .box-header_meta .box-header_meta-item {
    color: var(--gray-400);
    font-size: var(--size-sm);
    text-decoration: unset;
    transition: var(--transition);
}

.social-box .box .box-header .box-header_info .box-header_meta a.box-header_meta-item:hover {
    color: var(--gray-700);
}

.social-box .box .box-header .box-header_info .box-header_meta .box-header_meta-item + .box-header_meta-item:before {
    content: "-";
    margin-left: .5rem;
    padding-right: .5rem;
}

.social-box .box .box-header .template-dropdown .dropdown-button {
    margin-right: -8px;
    margin-top: -2px;
}

.social-box .box .box-header .template-dropdown .dropdown-list {
    right: calc(50% - 3px) !important;
}

.social-box .box .box-header.box-form {
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-box .box .box-header.box-form .box-form_avatar {
    width: 35px;
}

.social-box .box .box-header.box-form .box-form_title {
    text-decoration: none;
    font-size: calc(var(--size-lg) + 1px);
    color: var(--gray-700);
    font-weight: 700;
}

.social-box .box .box-header.box-form .box-form_text {
    width: 100%;
    margin-top: .25rem;
    font-size: calc(var(--size-md) + 1px);
    color: var(--gray-500);
}

.social-box .box .box-body {
    padding: 0 1rem 1rem;
    font-size: calc(var(--size-md) + 1px);
    color: var(--gray-600);
    line-height: 1.5;
}

.social-box .box .box-body_content .box-body_content-overflow {
    overflow: hidden;
}

.social-box .box .box-body_content .button-readmore {
    font-size: calc(var(--size-md) - 0.5px);
}

.social-box .box .box-body_content .button-readmore > i {
    font-size: var(--size-lg);
    top: 1px;
}

.social-box .box .box-body_hashtags {
    margin-top: .5rem;
}

.social-box .box .box-body_hashtags > a {
    text-decoration: unset;
    font-size: calc(var(--size-md) - 0.5px);
    display: inline-block;
    margin-right: .75rem;
}

.social-box .box .box-body_images {
    margin: .5rem -.5rem -.5rem;
    display: flex;
    flex-wrap: wrap;
}

.social-box .box .box-body_images .box-body_images-item {
    width: 100%;
    padding: .5rem;
}

.social-box .box .box-body_images.box-body_images-2 .box-body_images-item {
    width: 50%;
}

.social-box .box .box-body_images.box-body_images-3 .box-body_images-item,
.social-box .box .box-body_images.box-body_images-4 .box-body_images-item {
    width: 33.33333%;
}

.social-box .box .box-body_images.box-body_images-4 .box-body_images-item:first-child {
    width: 100%;
}

.social-box .box .box-body_images .box-body_images-item-bg {
    width: 100%;
    position: relative;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

.social-box .box .box-body_images .box-body_images-item-bg:before {
    display: block;
    padding-top: calc(9 / 16 * 100%);
    content: "";
}

.social-box .box .box-body_images .box-body_images-item-bg .box-body_images-item-count {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(2.4 * var(--size-md));
    color: var(--bs-white);
    z-index: 2;
}

.social-box .box .box-body_images .box-body_images-item-bg.lazy .box-body_images-item-count {
    display: none;
}

.social-box .box .box-reactions {
    padding: .5rem 1rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    margin: 0 -.375rem;
}

.social-box .box .box-reactions .box-reactions_item {
    position: relative;
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button {
    padding: .5rem 1rem;
    background-color: transparent;
    border-radius: .35rem;
    border: 0;
    color: var(--gray-700);
    transition: var(--transition);
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button .box-reactions_item-icon {
    font-size: var(--size-xl);
    color: var(--gray-600);
    position: relative;
    top: 1px;
    margin-right: 2px;
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-icon .box-reactions_item-button.reaction-bookmark .box-reactions_item-icon {
    margin-right: 0;
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-like.is-active,
.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-bookmark.is-active {
    color: var(--primary-color);
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-like.is-active .box-reactions_item-icon,
.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-bookmark.is-active .box-reactions_item-icon {
    color: var(--primary-color);
}

.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-like.is-active .box-reactions_item-icon i:before,
.social-box .box .box-reactions .box-reactions_item .box-reactions_item-button.reaction-bookmark.is-active .box-reactions_item-icon i:before {
    font-weight: 900;
}

.social-box .box .box-reactions .box-reactions_item .template-dropdown .dropdown-list {
    right: 50% !important;
}

.social-box .box .box-reactions .box-reactions_item + .box-reactions_item {
    margin-left: 5px;
}

.social-box .box .box-comment {
    padding: 1rem;
}

.social-box .box .box-comment_item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
}

.social-box .box .box-comment_item .comment-avatar {
    width: 32px;
    flex-shrink: 0;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
    position: relative;
}

.social-box .box .box-comment_item .comment-avatar:before {
    display: block;
    padding-top: 100%;
    content: "";
}

.social-box .box .box-comment_item .comment-content {
    width: calc(100% - 32px - 1rem);
    display: flex;
    flex-direction: column;
}

.social-box .box .box-comment_item .comment-content .comment-content_bg {
    background-color: #F0F2F5;
    padding: 8px 12px;
    border-radius: 18px;
    margin-bottom: .5rem;
}

.social-box .box .box-comment_item .comment-content .comment-content_header {
    display: flex;
    align-items: center;
    margin-bottom: .25rem;
}

.social-box .box .box-comment_item .comment-content .comment-content_header .comment-content_header-title {
    font-size: calc(var(--size-lg) - 1px);
    font-weight: 700;
    color: var(--gray-600);
    text-decoration: none;
    white-space: nowrap;
}

.social-box .box .box-comment_item .comment-content .comment-content_header .comment-content_header-time {
    font-size: var(--size-sm);
    color: var(--gray-400);
    padding-top: 1px;
}

.social-box .box .box-comment_item .comment-content .comment-content_header .comment-content_header-time:before {
    content: "-";
    margin-left: 10px;
    padding-right: 10px;
}

.social-box .box .box-comment_item .comment-content .comment-content_body {
    font-size: var(--size-md);
    color: var(--gray-600);
    line-height: 1.5;
}

.social-box .box .box-comment_item .comment-content .comment-content_footer {
    display: flex;
    align-items: center;
}

.social-box .box .box-comment_item .comment-content .comment-content_footer .comment-content_footer-item {
    font-size: var(--size-sm);
    padding: 0;
    border: 0;
    background-color: transparent;
    color: var(--secondary-color);
}

.social-box .box .box-comment_item .comment-content .comment-content_footer .comment-content_footer-item:hover {
    color: var(--secondary-hover);
}

.social-box .box .box-comment_item .comment-content .template-dropdown .dropdown-list {
    right: 50% !important;
}

.social-box .box .box-comment_item .comment-content .comment-content_footer > * + * {
    margin-left: 20px;
}

.social-box .box .box-comment_form .comment-content .comment-content_input {
    width: 100%;
    height: 38px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    padding: 0.5em 85px 0.5em 0.85em;
    color: #131516;
    font-size: var(--size-md);
    transition: .3s all ease-in-out;
    line-height: 1.4;
    resize: none;
    overflow: hidden;
}

.social-box .box .box-comment_form {
    align-items: center;
}

.social-box .box .box-comment_form .comment-content .comment-content_input:focus {
    outline: none;
}

.social-box .box .box-comment_form .comment-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.social-box .box .box-comment_form .comment-button .comment-button_item {
    border: 0;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: transparent;
    color: #65676b;
    font-size: var(--size-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s all ease-in-out;
    padding: 0;
}

.social-box .box .box-comment_form .comment-button .comment-button_item > i {
    line-height: 0;
}

.social-box .box .box-comment_form .comment-button .comment-button_item:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.social-box .box .box-comment_item .box-comment_item {
    margin-top: 1rem;
    width: 100%;
    padding-left: calc(32px + 1rem);
}

.social-box .box .box-comment_item .box-comment_item-button {
    color: var(--gray-500);
    font-weight: 500;
    text-decoration: none;
    font-size: calc(var(--size-sm) + 1px);
    letter-spacing: .25px;
}

.social-box .box .box-comment_item .box-comment_item-buttons .box-comment_item-button:hover {
    text-decoration: underline;
}

.social-box .box .box-comment_item + .box-comment_item {
    margin-top: 1rem;
}

.social-box .box .box-comment_hidden {
    --transition-comment: .3s ease-in-out opacity, .3s ease-in-out visibility;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 0;
    padding: 0;
    transition: var(--transition-comment);
    width: 100%;
}

.social-box .box .box-comment_hidden.open-comment {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    height: auto;
}

.social-box .box .box-comment.box-comment_hidden.open-comment {
    padding: 1rem;
}

.social-box .box + .box {
    margin-top: 1.5rem;
}

.frmPost-box {
    background-color: var(--bs-white);
}

.frmPost-box .box-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.frmPost-box .box-form .box-form_avatar {
    width: 40px;
}

.frmPost-box .box-form .box-form_title {
    text-decoration: none;
    font-size: calc(var(--size-lg) + 1px);
    color: var(--gray-700);
    font-weight: 700;
    width: calc(100% - 40px - 1rem);
}

.frmPost-box .box-form .box-form_input {
    width: 100%;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.frmPost-box .box-form .frmPost-input {
    border: 0;
    border-radius: 0;
    min-height: 100px;
    max-height: 100px;
    overflow-y: auto;
    outline: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    width: 100%;
    resize: none;
    line-height: 1.5;
    font-size: calc(var(--size-md) + 1px);
    color: var(--gray-800);
}

.frmPost-box .box-form .frmPost-input::placeholder {
    color: var(--gray-400);
}

.frmPost-box .box-form .frmPost-input::-webkit-scrollbar {
    width: 5px;
    background-color: #f8f9fa;
}

.frmPost-box .box-form .frmPost-input::-webkit-scrollbar-track {
    background: #f8f8f8;
}

.frmPost-box .box-form .frmPost-input::-webkit-scrollbar-thumb {
    background: #acacac;
    border-radius: 20px;
}

.frmPost-box .box-form .frmPost-input::-webkit-scrollbar-thumb {
    background: #acacac;
    border-radius: 20px;
}

.frmPost-box .box-form .frmPost-images {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    display: none;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0.5rem;
}

.frmPost-box .box-form .frmPost-images.is-show {
    display: flex;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box {
    width: 100%;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner {
    width: 100%;
    min-height: 118px;
    max-height: 228px;
    position: relative;
    background-color: #F7F8FA;
    display: flex;
    flex-wrap: wrap;
    border-radius: 8px;
    margin-right: -3px;
    padding-right: 3px;
    overflow-y: auto;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner::-webkit-scrollbar {
    width: 4px;
    background-color: #f8f9fa;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner::-webkit-scrollbar-thumb {
    background-color: #bbbbbb;
    border-radius: 20px;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item {
    width: 100%;
    max-width: 25%;
    padding: .25rem;
    position: relative;
    overflow: hidden;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item .frmPost-images_item-wrap {
    border-radius: 8px;
    overflow: hidden;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item .frmPost-images_item-close {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 5px;
    transition: var(--transition);
    background: var(--bs-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gray-100);
    box-shadow: none;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    padding: 0;
    font-size: var(--size-lg);
    color: var(--gray-500);
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item .frmPost-images_item-close:hover {
    background-color: var(--gray-200);
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item.frmPost-images_item-button {
    max-width: 100%;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item.frmPost-images_item-button .frmPost-images_item-button-wrap {
    height: 100%;
    min-height: 108px;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item.frmPost-images_item-button .frmPost-images_item-button-wrap .frmPost-images_item-label {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item.frmPost-images_item-button .frmPost-images_item-button-wrap .frmPost-images_item-label .icon {
    font-size: var(--size-xxl);
    height: 40px;
    width: 40px;
    background: rgb(230, 236, 238);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner .frmPost-images_item.frmPost-images_item-button .frmPost-images_item-button-wrap .frmPost-images_item-label .text {
    font-size: var(--size-md);
    color: var(--gray-700);
    font-weight: 700;
    margin-top: .5rem;
}

.frmPost-box .box-form .frmPost-images .frmPost-images_box .frmPost-images_inner.is-img .frmPost-images_item.frmPost-images_item-button {
    max-width: 25%;
}

.frmPost-box .box-form .box-form_add {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.frmPost-box .box-form .box-form_add .form-add_title {
    font-size: var(--size-md);
    color: var(--gray-700);
    font-weight: 700;
}

.frmPost-box .box-form .box-form_add .form-add_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: -.5rem;
}

.frmPost-box .box-form .box-form_add .form-add_actions .form-add_actions-item {
    border: 0;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: #65676b;
    font-size: var(--size-xxl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s all ease-in-out;
    padding: 0;
}

.frmPost-box .box-form .box-form_add .form-add_actions .form-add_actions-item i {
    line-height: 0;
}

.frmPost-box .box-form .box-form_add .form-add_actions .form-add_actions-item:hover {
    background-color: var(--gray-100);
}

.frmPost-box .box-form .box-form_add .form-add_actions .form-add_actions-item.form-add_actions-images {
    color: var(--bs-success);
}

.frmPost-box .box-form .box-form_add .form-add_actions .form-add_actions-item.form-add_actions-emoji {
    color: var(--primary-color);
}

.frmPost-box .box-form .box-form_button {
    width: 100%;
    margin-top: 1rem;
}

.frmPost-box .box-form .box-form_button .button-theme {
    padding-top: 8px;
    padding-bottom: 7px;
    font-weight: 500;
    letter-spacing: 0.25px;
}

.emoji-floating {
    position: absolute;
    background: #fff;
    -webkit-box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 12px 28px rgb(0 0 0 / 20%);
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 12px 28px rgb(0 0 0 / 20%);
    overflow: hidden;
    border-radius: 4px;
    z-index: 1056;
    width: 20em;
    height: 16em;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.emoji-floating.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.emoji-floating .emoji-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em 1em;
    background-color: var(--bs-white);
    box-shadow: 0 0 4px rgb(0 0 0 / 20%);
}

.emoji-floating .emoji-tab .emoji-tab_item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #131516;
    font-weight: 700;
    font-size: .9em;
    text-transform: uppercase;
    cursor: pointer;
    padding: .5rem .75rem;
    border-radius: 6px;
    position: relative;
    transition: .3s all ease-in-out;
    text-decoration: none;
    width: calc(50% - 4px);
}

.emoji-floating .emoji-tab .emoji-tab_item:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.emoji-floating .emoji-tab .emoji-tab_item.active {
    background-color: var(--primary-color);
    color: #fff;
}

.emoji-floating .emoji-content .emoji-content_item {
    -webkit-animation: fadeEffect .2s;
    animation: fadeEffect .2s;
}

.emoji-floating .emoji-content .emoji-content_item .emoji-content_body {
    padding: .5em 1em;
    max-height: calc(16em - 50px);
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
}

.emoji-floating .emoji-content .emoji-content_item .emoji-content_body::-webkit-scrollbar {
    width: 7px;
    background-color: #f8f9fa;
}

.emoji-floating .emoji-content .emoji-content_item .emoji-content_body::-webkit-scrollbar-thumb {
    background-color: #bbbbbb;
    border-radius: 20px;
}

.emoji-floating .emoji-grid {
    display: flex;
    flex-wrap: wrap;
}

.emoji-floating .emoji-grid .emoji-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    width: calc(100% / 8);
    padding: 5px;
    cursor: pointer;
    user-select: none;
}

@media screen and (max-width: 768px) {
    .social-box .box {
        border-radius: 0;
        border: 0;
    }

    .social-box .box .box-header .box-header_info .box-header_title .box-header_title-link {
        font-size: var(--size-xl);
        line-height: 1.25;
    }

    .social-box .box .box-body_images {
        margin: 0.25rem -0.25rem -0.25rem;
    }

    .social-box .box .box-body_images .box-body_images-item {
        padding: 0.25rem;
    }

    .social-box .box .box-body_images .box-body_images-item-bg .box-body_images-item-count {
        font-size: calc(1.6 * var(--size-md));
    }
}

@media screen and (max-width: 525px) {
    .page-social .container-sm {
        padding-left: 0;
        padding-right: 0;
    }

    .page-social .container-sm .section-breadcrumb {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .social-box .box .box-comment_item .comment-content .comment-content_header .comment-content_header-time:before {
        padding-right: 0;
        margin-left: 10px;
    }
}
