html {
    scroll-padding-top: 80px;
}

.FORUM {
    /* max-width: 1140px; */
    margin: auto;
}

.FORUM .SelectedTagsSection {
    padding: 5px;
    /* overflow-x: auto; */
    border-radius: 5px;
}
@media (max-width: 768px) {
    .FORUM .TabsSection {
        flex-wrap: wrap;
    }
}

.FORUM .TabsSection button {
    /* margin-bottom: 7px; */
    display: flex;
}

.FORUM .TabsSection button.btn-light {
    background-color: #E1ECF5 !important;
}
.FORUM .TabsSection button.btn-light {
    color: #103552 !important;
}
.SearchComponent.filled .form-control {
    min-height: 30px;
    height: 30px;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.SearchComponent.filled button {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

.FORUM .TopicCard {
    /* border-top: 4px solid #2D91E0; */
    /* border-bottom: 4px solid #2D91E0; */
    margin: 8px 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    /* background-color: #0ef7fc; */
}

.FORUM .TopicCard .card-body .bg-light.rounded {
    margin-left: 50px;
}

.FORUM .TopicCard * {
    position: relative;
    z-index: 2;
}

/* .FORUM .TopicCard .card-footer {
    background-color: #c0c0c0;
} */
/* .FORUM .TopicCard::before {
    content: '';
    background-image: url('/img/bgs/erp-project-bg.png');
    background-repeat: no-repeat;
    background-size: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    position: absolute;
    background-position: right bottom;
} */

/* .FORUM .TopicCard::after {
    content: '';
    background-image: url('/img/bgs/profile-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    position: absolute;
    transform: scale(1.1);
} */
.FORUM .TopicCard .TopicTitle {
    font-weight: 600;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    /* border-bottom: 1px solid #151414; */
    padding-bottom: 10px;
    padding-bottom: 0;
}

.FORUM .TopicCard a {
    width: calc(100% - 100px);
}

.FORUM .TopicCard .TopicDescription {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.FORUM .TopicCard .TopicTags {
    margin-bottom: 10px;
}

.FORUM .TopicCard .TopicBottom .TopicUserName {
    margin-bottom: 0px;
    font-weight: bold;
}

.FORUM .TopicCard .TopicBottom .TopicUserName+span {
    font-size: 10px;
    color: rgb(74, 75, 75);
}

.FORUM .TopicCard .TopicBottom .reactionCounts {
    justify-content: end;
}

.FORUM .TopicCard .TopicBottom .reactionCounts .btn {
    font-size: 18px;
    display: flex;
    gap: 7px;
    align-items: center;
    background-color: transparent;
}

.FORUM .TopicCard .TopicBottom .reactionCounts .btn svg {
    width: 20px;
    height: 20px;
}

.FORUM .TopicCard .TopicBottom .badge {
    border-color: #8F9397 !important;
    color: #8F9397 !important;
    box-shadow: inset 0 0 0 1px #8F9397 !important;
    max-width: 150px;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.FORUM .TopicCard .TopicBottom .badge+i {
    color: #8F9397 !important;
    margin: 0 1px !important;
    font-size: 12px;
}


/* Add Topic form page */
.FORUM .ADDTOPIC,
.FORUM .SuggestionCards,
.FORUM .MainTopicCard {
    /* border-top: 4px solid #2D91E0;
    border-bottom: 4px solid #2D91E0;
    border-radius: 15px; */
    /* background-color: #0ef7fc; */
}

.FORUM .SuggestionCards,
.FORUM .MainTopicCard {
    overflow: hidden;
}

/* .FORUM .MainTopicCard::after {
    content: '';
    background-image: url('/img/bgs/profile-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    position: absolute;
    transform: scale(1.1);
} */

/* .FORUM .MainTopicCard::before {
    content: '';
    background-image: url('/img/bgs/erp-project-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    position: absolute;
} */

.FORUM .MainTopicCard>* {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.FORUM .MainTopicCard .card-header {
    border-bottom: none;
}

.FORUM .ADDTOPIC .h4 {
    color: var(--bs-dark);
}

.FORUM .SuggestionCards h3 {
    margin-bottom: 1rem !important;
    color: black;
    font-weight: 600;
    font-size: 1.2rem !important;
}

.FORUM .SuggestionCards .IdenticalAllSuggestions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* padding: 1.5rem 0; */
}

.FORUM .SuggestionCards .IdenticalAllSuggestions .IdenticalSuggestion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #0B61DE;
    padding: 1rem 0 0 0;
}

.FORUM .SuggestionCards .IdenticalAllSuggestions .IdenticalSuggestion h5 {
    margin: 0;
    font-weight: 600;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.FORUM .SuggestionCards .IdenticalAllSuggestions .IdenticalSuggestion p {
    margin: 0;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.FORUM .SuggestionCards .IdenticalAllSuggestions .IdenticalSuggestion a {
    padding: 5px 0;
    width: fit-content;
    text-decoration: underline !important;
}

.FORUM .addReactionToMainTopic button,
.FORUM .CommentTopicCard .addReactionToComment button.reactBtn,
.addReactionToComment button.reactBtn,
.FORUM .ReplyTopicCard .addReactionToComment button,
.FORUM .CommentTopicCard button.reactBtn {
    border-radius: 25px;
    background-color: transparent;
    border: none;
    color: #000 !important;
    box-shadow: none !important;
    padding: 5px 0;
}

.FORUM .MainTopicCard {
    background-color: transparent;
    box-shadow: none !important;
}

.FORUM .MainTopicCard .card-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

.FORUM .MainTopicCard .TopicDetailUserName {
    font-size: 15px;
}

.FORUM .MainTopicCard .TopicDetailUserName img,
.FORUM .CommentedUserName img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 50%;
}

.FORUM .MainTopicCard .TopicDetailDateTime {
    color: #8F9397;
}

.FORUM .MainTopicCard .TopicDetailTitle {
    font-weight: 600;
}

.FORUM .CommentTopicCard .CommentedUserName,
.FORUM .ReplyTopicCard .CommentedUserName {
    font-weight: 600;
    font-size: 13px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.FORUM .CommentTopicCard .CommentedDateTime,
.FORUM .ReplyTopicCard .CommentedDateTime {
    color: cadetblue;
    font-size: 13px;
}

.FORUM .addReactionToComment,
.FORUM .addReactionToMainTopic {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.FORUM .addReactionToMainTopic span+i {
    margin: 0 1px !important;
    font-size: 12px;
}
.FORUM .addReactionToComment button span,
.FORUM .addReactionToMainTopic button span{
    font-size: 14px;
}
.acceptBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.acceptBtn .btn {
    border-radius: 25px
}

.FORUM .CommentTopicCard {
    /* border-top: 4px solid rgb(160, 160, 160); */
    /* border-bottom: 4px solid rgb(160, 160, 160); */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.FORUM .CommentTopicCard.card .card-header {
    border-color: #5e5e5e;
}

.FORUM .CommentTopicCard.card .card-footer {
    border: none !important;
}

/* .FORUM .CommentTopicCard::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-image: url('/img/bgs/profile-bg.png');
    scale: 1.2;
    z-index: -1;
} */
.FORUM .CommentTopicCard .card-header {
    background-color: transparent;
}

/* .FORUM .CommentTopicCard.acceptedCommented {
    border-top: 4px solid rgb(2, 161, 2);
    border-bottom: 4px solid rgb(2, 161, 2);
    border-radius: 15px;
    overflow: hidden;
} */

.FORUM .ReplyTopicCard {
    /* border-top: 4px solid rgb(214, 216, 214);
    border-bottom: 4px solid rgb(214, 216, 214); */
    border-radius: 10px;
    overflow: hidden;
}

/* .FORUM .commentsOnCards {
    border-bottom: 1px solid rgb(214, 216, 214);
} */
.FORUM .cardComments {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    margin-bottom: 5px;
}


.ReplyTopicCard .card-footer {
    border: none !important;
}

@media (max-width: 768px) {
    .FORUM .cardComments {
        -webkit-line-clamp: 2;
    }
}

.fs-20 {
    font-size: 20px;
}

.fs-16 {
    font-size: 16px !important;
}

#contentArea {
    min-height: 300px;
}

.dashboardOverflow {
    overflow-x: auto;
}

.dashboardOverflow>div {
    min-width: 1100px;
}

.FORUM .btn-primary, .FORUM .btn-outline-primary:hover {
    background-color: #2D91E0;
    color: #fff !important;
}

.FORUM .text-primary,
.FORUM .btn-foreground,
.FORUM .btn-outline-primary,
.FORUM .btn-foreground:not(:disabled):not(.disabled):focus,
.FORUM .btn-foreground:not(:disabled):not(.disabled).focus {
    color: #2D91E0 !important;
}

.FORUM .btn-outline-primary {
    border-color: #2D91E0;
}


.FORUM #AllAnswers {
    position: relative;
}

/* .FORUM #AllAnswers::before {
    content: '';
    width: 1px;
    height: 100%;
    background-color: #a0a0a0;
    left: 12px;
    position: absolute;
    display: block;
} */

.FORUM #AllAnswers>.row {
    position: relative;
}

/* .FORUM #AllAnswers > .row::before {
    content: '';
    position: absolute;
    left: 12px;
    height: 32px;
    width: 45px;
    border-radius: 22px;
    border: 2px solid #a0a0a0;
    border-top: none;
    border-right: none;
    border-left: none;
} */

.AnswrsCommentsSection {
    position: relative;
}

/* .AnswrsCommentsSection::before {
    content: '';
    width: 1px;
    height: 100%;
    background-color: #d4d1d1;
    left: 24px;
    position: absolute;
    display: block;
} */

.AnswrsCommentsSection>div {
    position: relative;
}

/* .AnswrsCommentsSection > div.pt-3.pb-2.ps-5::before {
    content: '';
    position: absolute;
    left: 0;
    height: 32px;
    width: 45px;
    border-radius: 22px;
    border: 2px solid #d4d1d1;
    border-top: none;
    border-right: none;
    border-left: none;
} */

/* .AnswrsCommentsSection > div.pt-3.pb-2.ps-5.lastItem::after,
.FORUM #AllAnswers > .row.lastItem::after {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% - 38px);
    bottom: 0;
    background-color: #f9f9f9;
    left: 0px;
} */

/* .FORUM #AllAnswers > .row.lastItem::after {
    left: 12px;
} */

.grayBgSection {
    background-color: #E1ECF5;
    padding: 10px !important;
    border-radius: 15px;
}

.FORUM .btn-foreground.text-black {
    color: black !important;
}

.AddForumQuestion {
    /* width: 100%;
    height: 100%; */
    /* font-size: 1.1rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ADDAnswerEditor {
    border-radius: 10px;
    border: 1px solid #8F9397;
    overflow: hidden;
}

.ADDAnswerEditor .w-md-editor-text {
    background-color: #F5F8FA;
}


.bgGraySection {
    background-color: #e5e9ec;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
}

.AddQuestionFormModal .btn-close {
    background-color: #E1ECF5;
    padding: 4px;
    color: #ED1C24;
}

.bg-light .react-select__control {
    background-color: var(--background-light) !important;
}

.modal-content .ADDTOPIC {
    box-shadow: none !important;
}

.modal-content .ADDTOPIC .react-select__control,
.modal-content .ADDTOPIC textarea {
    border-radius: 10px !important;
}

.SearchComponent.filled svg {
    top: 8px;
}

.SectionHeightScroll {
    height: calc(100vh - var(--main-spacing-vertical)*2 - 80px);
    /* height: 100%; */
    overflow-x: hidden;
    overflow-y: auto;
    /* max-height: 550px; */
}

.SectionHeightScroll::-webkit-scrollbar {
    width: 5px;
    border-radius: 4px;
}

.SectionHeightScroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.SectionHeightScroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #D3DDE5;
}

.SectionHeightScroll::-webkit-scrollbar-thumb:hover {
    background: #b2b1b1;
}

.ModalUI .btn-close {
    background-color: #F5E1E2;
    color: #ED1C24;
}

.ModalUI .react-select__control {
    background-color: #E1ECF5 !important;
}

.ModalUI .react-select__single-value,
.ModalUI .react-select__multi-value__label {
    color: #103552 !important;
}

.text-bold textarea {
    font-weight: bolder;
}


:root {
    --loadingBgColor: linear-gradient(to right, #fff 10%, #dddddd 18%, #fff 33%);
    ;
}


.bg-gray2 {
    background-color: #D9D9D9;
}
.loadingAnimation {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: darkgray;
    background-size: 1600px 104px !important;
    background: var(--loadingBgColor);
    position: relative;
}

.loadingAnimation.smallView {
    animation-duration: 3s;
    background-size: 800px 104px !important;
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -500px 0
    }

    100% {
        background-position: 800px 0
    }
}

.SearchComponent input {
    background-color: #E1ECF5 !important;
}
.SearchComponent input::placeholder{
    color: #4283B8;
    font-style: italic;
}

.SearchComponent button.btn-light {
    background-color: #184f7a !important;
    color: #fff !important;
}
.SearchComponent button.btn-light:hover {
    background-color: #badbf5 !important;
    color: #103552 !important;
}
.SearchComponent button.btn-light:disabled ,
.SearchComponent button.btn-light[disabled] {
    background-color: #93c9f5 !important;
    color: #103552 !important;
    opacity: 1;
}
.SearchComponent svg {
    stroke: #4283B8;
}

.AnimationDiv {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.checkmarkContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmarkContainer svg.checkMarkIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.checkmarkContainer svg.flowerBg {
    scale: 0.7;
    animation: flowerAnimation 1s ease-in-out infinite alternate-reverse none;
    rotate: 10deg;
}

.AnimationDiv {
    position: relative;
}

.AnimationDiv svg.checkMarkIcon {
    scale: 0.8;
    animation: showCheckMark 1s ease-in-out infinite alternate-reverse none;
    width: 0;
    height: 43px;
}

.AnimationDiv .DotsIcon {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    scale: 0.3;
    animation: getBigger 1s ease-in-out infinite alternate-reverse none;
    z-index: 0;
}

.AnimationDiv .DotsIcon.BigDotsIcon {
    animation: getBigger 0.6s ease-in-out 0.4s infinite alternate-reverse none;
}

.AnimationDiv .DotsIcon.MediumDotsIcon {
    animation: getBigger 0.8s ease-in-out 0.2s infinite alternate-reverse none;
}

.AnimationDiv .DotsIcon.SmallDotsIcon {
    animation: getBigger 1s ease-in-out infinite alternate-reverse none;
    /* animation: name duration timing-function delay iteration-count direction fill-mode; */
}

@keyframes flowerAnimation {
    0% {
        scale: 0.7;
        rotate: 10deg;
    }
    100% {
        scale: 1;
        rotate: 40deg;
    }
}

@keyframes showCheckMark {
    0% {
        scale: 0.8;
        rotate: -20deg;
        width: 0;
        height: 43px;
    }
    100% {
        scale: 1;
        rotate: 0deg;
        width: 59px;
        height: 43px;
    }
}

@keyframes getBigger {
    0%{
        scale: 0.3;
        opacity: 0;
        /* rotate: -20deg; */
    }
    100% {
        scale: 1;
        opacity: 1;
        /* rotate: 0deg; */
    }
}

.FORUM .TabsSection form{
    width: -webkit-fill-available;
}
.bookmarkOffcanvas .offcanvas-header {
    background-color: #E1ECF5;
}

.bookmarkOffcanvas .SectionHeightScroll {
    min-height: 93vh;
}

.BookmarkOffcanvasLaunchButton {
    position: fixed;
    top: 50%;
    right: 0;
    transform: rotate(-90deg) translateY(258%);
    z-index: 2;
    width: 220px;
}

.BookmarkOffcanvasLaunchButton:not(:hover) {
    background-color: #103552 !important;
}

.BookmarkOffcanvasCloseButton {
    position: absolute;
    top: 50%;
    left: 0;
    transform: rotate(90deg) translateY(258%);
    z-index: 2;
    width: 220px;
}

.BookmarkOffcanvasCloseButton:not(:hover) {
    background-color: #7B92A4 !important;
}
.FORUM a .btn-light:hover {
    background-color: #103552 !important;
    color: #fff !important;
}
.FORUM a.active .btn-primary:not(:hover) {
    background-color: #103552;
}