/* Forum Homepage Start */
.page-heading {
    border-top: 0;
    padding: 0 10px 20px 10px;
}

.forum-post-container .media {
    margin: 10px 10px 10px 10px;
    padding: 20px 10px 20px 10px;
    border-bottom: 1px solid #f1f1f1;
}
.forum-avatar {
    float: left;
    margin-right: 20px;
    text-align: center;
    width: 110px;
}
.forum-avatar .img-circle {
    height: 48px;
    width: 48px;
}
.author-info {
    color: #676a6c;
    font-size: 11px;
    margin-top: 5px;
    text-align: center;
}
.forum-post-info {
    padding: 9px 12px 6px 12px;
    background: #f9f9f9;
    border: 1px solid #f1f1f1;
}
.media-body > .media {
    background: #f9f9f9;
    border-radius: 3px;
    border: 1px solid #f1f1f1;
}
.forum-post-container .media-body .photos {
    margin: 10px 0;
}
.forum-photo {
    max-width: 140px;
    border-radius: 3px;
}
.media-body > .media .forum-avatar {
    width: 70px;
    margin-right: 10px;
}
.media-body > .media .forum-avatar .img-circle {
    height: 38px;
    width: 38px;
}
.mid-icon {
    font-size: 66px;
}
.forum-item {
    margin: 10px 0;
    padding: 10px 0 20px;
    border-bottom: 1px solid #f1f1f1;
}
[data-bs-theme="dark"] .forum-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.views-number {
    font-size: 24px;
    line-height: 18px;
    font-weight: 400;
}
.forum-item small {
    color: #999;
}
.forum-item .forum-sub-title {
    color: #999;
    margin-left: 50px;
}
.forum-title {
    margin: 15px 0 15px 0;
}
.forum-info {
    text-align: center;
}
.forum-desc {
    color: #999;
}
.forum-icon {
    float: left;
    width: 30px;
    margin-right: 20px;
    text-align: center;
}
a.forum-item-title {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}
.forum-icon .fa {
    font-size: 30px;
    margin-top: 8px;
    color: var(--primary);
}
@media (max-width: 992px) {
    .forum-info {
        margin: 15px 0 10px 0;
        /* Comment this is you want to show forum info in small devices */
        display: none;
    }
    .forum-desc {
        float: none !important;
    }
}
.ibox {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}
.ibox.collapsed .ibox-content {
    display: none;
}
.ibox.collapsed .fa.fa-chevron-up:before {
    content: "\f078";
}
.ibox.collapsed .fa.fa-chevron-down:before {
    content: "\f077";
}
.ibox:after,
.ibox:before {
    display: table;
}
.ibox-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 3px 0 0;
    color: inherit;
    margin-bottom: 0;
    padding: 14px 15px 7px;
    min-height: 48px;
}
.ibox-content {
    background-color: inherit;
    color: inherit;
    padding: 15px 20px 20px 20px;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 0;
}
.ibox-footer {
    color: inherit;
    border-top: 1px solid #e7eaec;
    font-size: 90%;
    background: #ffffff;
    padding: 10px 15px;
}

.message-input {
    height: 90px !important;
}
.form-control, .single-line {
    background-color: #FFFFFF;
    background-image: none;
    border: 1px solid #e5e6e7;
    border-radius: 1px;
    color: inherit;
    display: block;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    font-size: 14px;
}
.text-navy {
    color: #1ab394;
}
.mid-icon {
    font-size: 66px !important;
}
.m-b-sm {
    margin-bottom: 10px;
}
.forum-stats-wrapper > div { width: 50%; }
@media screen and (max-width: 575px) {
    .forum-stats-wrapper > div { width: 100%; }
}
.forum-stat-item {
    border-radius: 8px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #DFDFDF;
}
[data-bs-theme="dark"] .forum-stat-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #222222;
}
/* Forum Homepage End */

.user-item img{
    height: 50px;
    width: 50px;
}
s {
    text-decoration: unset;
}
.topic-content {
    word-break: break-word;
    overflow: hidden;
}
.topic-content img {
    object-fit: scale-down;
    min-height: auto;
    /* min-width: 50vh; */
    max-height: 80vh;
    /* max-width: 80vw;*/
    max-width: 100%;
    display: block;
}
.forum-global-alert {
    padding: 10px;
    background-color: #7d3e12;
    margin-top: 10px;
    color: white;
}
/* oembed css */
.ephox-summary-card {
    border: 1px solid #AAA;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    padding: 10px;
    overflow: hidden;
    margin-bottom: 1em;
}

.ephox-summary-card a {
    text-decoration: none;
    color: inherit;
}

.ephox-summary-card a:visited {
    color: inherit;
}

.ephox-summary-card-title {
    font-size: 1.2em;
    display: block;
}

.ephox-summary-card-author {
    color: #999;
    display: block;
    margin-top: 0.5em;
}

.ephox-summary-card-website {
    color: #999;
    display: block;
    margin-top: 0.5em;
}

.ephox-summary-card-thumbnail {
    max-width: 180px;
    max-height: 180px;
    margin-left: 2em;
    float: right;
}

.ephox-summary-card-description {
    margin-top: 0.5em;
    display: block;
}
/* end oembed css */
.forum-main-icon {
    border: 1px solid #989898cf;
    padding: 3px;
    border-radius: 4px;
    background-color: #e2e2e2cf;
    color: #4a4848e6;
    margin-right: 5px;
}
.guidelines-banner{
    padding:10px;
    background-color: #80808087;
}
.latest-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: inline-block;
    max-width: 450px;
}
.latest-date {
    font-size: 0.7em;
    margin-left: 10px;
    float:right;
}
.post-time {
    font-size: 12px;
    margin-left: 5px;
}
.forum-anchor-name {
    color: unset;
    font-weight: 600;
}
#editingMsg {
    font-weight: 400;
    font-size: 12px;
    text-align: right;
}
.op-flag {
    margin-right: 5px;
    background-color: #1f2458ba;
    color: white;
    padding: 2px;
    border-radius: 5px;
    font-size: 12px;
    cursor:default;
}
.table {
    margin-bottom: unset;
}
.small-anchor:hover {
    text-decoration: none;
}
.last-edited {
    margin-top: .5em;
    color: #6e7072;
    font-size: 0.8rem;
    text-align: right;
    padding: 0 12px 12px;
}
#paging1, #paging2 {
    max-width: 100%;
}
.paging-ellipsis {
    margin-right: 5px;
    font-size: 20px;
}
.topic-hr hr {
    border-top: 1px solid rgb(0 0 0 / 29%);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.topic-pagination a {
    text-decoration: none;
}
.topic-view {
    margin-bottom: 15px;
}
.topic-username a {
    color: #7d3e12;
    font-weight: bold;
}
.adminname a {
    color: #ff0000d1;
}
.forum-paging-button {
    border: 1px solid #c4c4c4;
    margin-right: 5px;
    padding: .3em .6em;
    border-radius: 5px;
    background-color: #00000000;
    color: black;
    cursor: pointer;
}
.forumselected {
    font-weight: bold;
    background-color: #7d3e12;
    color:white;
}
.forumnotselected:hover {
    background-color: #7d3e12;
    color: white;
}
.forum-breadcrumb a{
    color:white;
    font-weight: bold;
}
.forum-breadcrumb {
    border-radius: 5px;
    border: 1px solid #adacac;
    padding: 5px;
    background-color: #7d3e12;
    color: white;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.quoteUser {
    font-weight: 500;
    color: #252323de;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
blockquote {
    margin: 0 0 1rem;
    border: 1px solid #adacac;
    padding: 5px;
    background-color: #0506061a;
    border-radius: 5px;
}
blockquote blockquote {
    margin-bottom: 5px;
}
blockquote p{
    margin-bottom: 0px;
}
[data-bs-theme="dark"] blockquote {
    border: 1px solid #555;
    background-color: #2b2b2b;
}
.topic-postnum {
    margin-right: 5px;
    font-size: 18px;
    color: #313131b5;
    font-weight: 700;
    line-height: normal;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.topic-overview-name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.forum-area{
    margin-top:20px;
}
.forum-stat{
    text-align: center;
}
.forum-thread-desc {
    display: block;
    font-size: 12px;
    color: #4a4848e6;
    margin-top: 5px;
}
.forum-table tbody td {
    border: 1px solid #00000030;
    padding: 10px;
}
.forum-table {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.forum-heading {
    background-color: #7d3e12;
    color: white;
    padding: 5px;
}
.forum-center {
    text-align: center;
}
.topic-overview-avatar {
    height: 25px;
    width: 25px;
    border: 1px solid #000;
    border-radius: 5px;
    object-fit: fill;
}

#submitmsg {
    text-align: center;
    color: red;
    margin-bottom: 2px;
    margin-top: 10px;
}
.form-input {
    display: block;
    margin: 10px;
}
.form-input input, .form-input textarea{
    padding:10px;
}
input, textarea{
    max-width: 100%;
}
.topic-icons {
    text-align: right;
}
.replyPostSpan{
    margin-left:0px;
    margin-right:0px;
}
.topic-user {
    display: flex;
    justify-content: space-between;
}
.quoteButton{
    padding: 5px;
    border: 1px solid #8080801c;
    border-radius: 5px;
    background-color: #8080801c;
    cursor: pointer;
    margin-right: 5px;
}
#replyTopicButton, #createTopicButton {
    margin-top: 10px;
}
.topic-user-avatar{
    width: 60px;
    height: 60px;
    border: 1px solid #000;
    border-radius: 5px;
    object-fit: fill;
    background-color: #000;
}
.topic-display {
    border: 1px solid #0000003b;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    background-color: #ebebeb;
}
@media screen and (max-width: 900px) {
    .topic-icons{ font-size:12px; }
    .user-name-id {font-size: 14px;}
    .op-flag {font-size: 11px;margin-left: 5px;}
    .topic-postnum {font-size: 14px;}
}
@media screen and (max-width: 770px) {
    .topic-user-avatar{ height: 40px;width:40px; }
    .forum-paging-button { margin-right: 3px;padding: .2em .3em;}
    .latest-content { max-width: 150px;}
    .forum-table {table-layout: fixed;}
}

/* relevant viewforum and viewtopic css */
.forum-topic-wrapper { width: 50%; }
@media screen and (max-width: 991px) {
    .forum-topic-wrapper { width: 100%; }
}
.forum-topic-body, .forum-topic-post-item {
    border-radius: 8px;
    border: 1px solid #dfdfdf;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
}
.forum-topic-body {
    height: 200px;
    transition: background-color 0.2s ease-in-out, border 0.2s ease-in-out;
}
[data-bs-theme="dark"] .forum-topic-body,
[data-bs-theme="dark"] .forum-topic-post-item {
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.forum-topic-body:hover {
    background-color: #ededed;
    border: 1px solid #1ab394;
}
[data-bs-theme="dark"] .forum-topic-body:hover { background-color: #121212; }
.forum-topic-avatar, .forum-reply-avatar {
    width: 24px;
    height: 24px;
    border: 1px solid var(--primary);
    object-fit: cover;
    background-color: #000;
}
.forum-reply-avatar {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
}
.forum-topic-sm-txt { font-size: 13px; opacity: 0.7; }
.forum-topic-stats {
    border: 1px solid #ccc;
    padding: 0 8px;
    background: #dfdfdf;
    font-size: 14px;
    border-radius: 100px;
}
[data-bs-theme="dark"] .forum-topic-stats {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(84, 84, 85, 0.5);
}
.forum-topic-title, .forum-topic-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.forum-topic-title {
    min-height: 26px;
    font-size: 20px;
    line-height: 1.2;
}
.forum-topic-content {
    font-size: 14px;
    -webkit-line-clamp: 3;
    opacity: 0.7;
}
@media screen and (max-width: 575px) {
    .forum-topic-content { -webkit-line-clamp: 1; }
}
.premium-badge {
    font-size: 11px;
    font-weight: 500;
    background-color: gold;
    border-radius: 10px;
    padding: 5px 5px;
    text-align: center;
    color: #000;
}
[data-bs-theme="dark"] .premium-badge { background-color: goldenrod; }
@keyframes lightModeGlowOnce {
    0% { border: 1px solid #dfdfdf; }
    20% { border: 1px solid #1ab394; background-color: #ededed; }
    70% { border: 1px solid #1ab394; background-color: #ededed; }
    100% { border: 1px solid #dfdfdf; }
}
@keyframes darkModeGlowOnce {
    0% { border: 1px solid rgba(255, 255, 255, 0.1); background-color: #222; }
    20% { border: 1px solid #1ab394; background-color: #121212; }
    70% { border: 1px solid #1ab394; background-color: #121212; }
    100% { border: 1px solid rgba(255, 255, 255, 0.1); background-color: #222; }
}
.highlight-post { animation: lightModeGlowOnce 2s ease-in-out; }
[data-bs-theme="dark"] .highlight-post { animation: darkModeGlowOnce 2s ease-in-out; }
/* relevant viewforum and viewtopic css */