/*!
 * Copyright 2023 youngmonkeys.org
 * 
 * Licensed under the ezyplatform, Version 1.0.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     https://youngmonkeys.org/licenses/ezyplatform-1.0.0.txt
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/

:root {
    --color-background-brand-culture: #833E8D;
    --Background-Brand-Noon: #FFCE47;
    --color-background-global-primary: #FAFAFA;
    --color-background-utilities-scrim: #FEFDF933;
    --color-button-default-secondary: #FFDA71;
    --On-Background-Brand-Culture-Primary: #6D3474;
    --On-Background-Global-Primary: #272727;
    --color-culture-950: #39153D;
    --color-elevated-reg: #FEFDF94D;
    --On-Background-Global-Secondary: #676767;
    --color-on-background-inverse-primary: #FEFDF9;
    --color-on-background-utilities-primary: #363636;
    --color-on-surface-fixed-primary: #FAFAFA;
    --color-stroke-primary: #DFDFDF;
    --color-success: #26aa6c;
    --Font-Sans: Lexend;
    --Font-Weight-Bold: 600;
    --Headline-Size-BASE: 18px;
    --Headline-Size-Large: 32px;
    --Headline-Size-Medium: 24px;
    --spacer: 4px;
}

body {
    font-family: Crimson Text;
    font-size: 24px;
    background-color: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: normal;
}

code {
    white-space: pre-wrap;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 18px;
    font-weight: 700;
    font-family: Lexend;
}

h1 {
    color: var(--On-Background-Global-Primary, #272727);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;
    font-family: var(--Font-Sans, Lexend);
    font-size: var(--Headline-Size-Large, 32px);
    font-style: normal;
    font-weight: var(--Font-Weight-Bold, 600);
    line-height: 125%; /* 40px */
    letter-spacing: -1.28px;
}

h2 {
    color: var(--On-Background-Global-Primary, #272727);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;
    font-family: var(--Font-Sans, Lexend);
    font-size: var(--Headline-Size-Medium, 24px);
    font-style: normal;
    font-weight: var(--Font-Weight-Bold, 600);
    line-height: 125%; /* 30px */
    letter-spacing: -0.96px;
}

h3 {
    color: var(--On-Background-Global-Primary, #272727);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;
    font-family: var(--Font-Sans, Lexend);
    font-size: var(--Headline-Size-BASE, 18px);
    font-style: normal;
    font-weight: var(--Font-Weight-Bold, 600);
    line-height: 125%; /* 22.5px */
    letter-spacing: -0.72px;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

p {
    margin: 0 0 20px 0;
}

pre {
    white-space: pre-wrap;
    line-break: anywhere;
}

a {
    text-decoration: none;
    color: #272930;
}

a.blue {
    color: #2d6ff7;
}

a.blue:hover {
    color: #272930;
}

img {
    max-width: 100%;
}

.avatar-20 {
    width: 20px !important;
    height: 20px !important;
}

.bold {
    font-weight: 700;
}

.btn-block {
    display: block;
    width: 100%;
}

.bg-gray {
    background-color: #f9f9f9;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-link {
    text-decoration: none;
    color: var(--On-Background-Brand-Culture-Primary);
}

.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-primary {
    background-color: var(--Background-Brand-Noon);
    color: var(--On-Background-Brand-Culture-Primary);
    border-width: 0px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-outline-primary:hover {
    opacity: 0.8;
    background-color: var(--Background-Brand-Noon);
    color: var(--On-Background-Brand-Culture-Primary);
    border-color: var(--Background-Brand-Noon);
}

.btn-secondary {
    border-width: 0px;
}

.btn-outline-primary {
    color: var(--On-Background-Brand-Culture-Primary);
    border-color: var(--Background-Brand-Noon);
}

.btn-signup {
    background-color: var(--color-elevated-reg);
    color: var(--color-on-background-inverse-primary);
    border-width: 0px;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-menu-md {
    max-width: 250px;
    min-width: 200px;
    padding: 0px;
}

.dropdown-menu-lg {
    max-width: 500px;
    min-width: 320px;
    padding: 0px;
}

.form-control {
    font-size: inherit;
}

.form-group {
  margin-bottom: 1rem;
}

.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.form-row > .col {
  padding-left: 5px;
  padding-right: 5px;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

.text-primary {
    color: var(--On-Background-Brand-Culture-Primary) !important;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-flow: column;
}

/*****************/*
.author-header {
    background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0,#373940),color-stop(.5,#494B52)) !important;
    background-color: #272930;
    padding: calc(var(--spacer) * 12);
}

.author-header .user-item-counts {
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: end;
}

.author-count-item {
    background-color: #FFF;
    color: #7c7f85;
    border-radius: 2px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    font-size: 20px;
}

.contact-us, .terms-of-service, .privacy-policy, .faqs-container {
    margin-bottom: 2rem !important;
}

.error-page {
    margin: 50px auto 0;
    width: 600px;
}

.error-page>.headline {
    float: left;
    font-size: 100px;
    font-weight: 300;
}

.error-page>.error-content {
    display: block;
    margin-left: 190px;
}

.err-message {
    border-radius: 2px;
    width: 100%;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #F00;
    background-color: #fcc;
}

/*** overlay ***/
.overlay {
    position: relative;
}

.overlay:after {
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
}

.overlay img {
    width: 100%;
}
/* logo start */
.logo img {
    max-width: 170px;
    vertical-align: middle;
}

.pt-5rem {
    padding-top: 5rem;
}

.small-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.w-250px {
    width: 250px;
}
/* logo end */

/* header start */
.header {
    background-color: var(--color-background-brand-culture);
    padding: calc(var(--spacer) * 4) 0;
    font-family: Lexend;
    font-size: 16px;
}

.header .navbar-toggler {
    display: none;
}

.header .navbar {
    width: 60%;
    z-index: 10;
}

.header .navbar .nav-item:not(:last-child) {
    margin-right: 10px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: center;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    max-width: 1500px;
}

.header-content .navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 8px 7px;
}

.header-content .navbar-light .navbar-nav .nav-link.active {
    border-bottom: var(--Background-Brand-Noon) solid 3px;
}
/* header end */

/* search-box start*/
.search-box {
    position: relative;
}

.btn-search {
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    color: #fff;
    font-size: 19px;
}

.input-search {
    font-size: 12px;
    font-style: italic;
    border: none;
    border-radius: 999px;
    background-color: var(--color-background-utilities-scrim);
    width: 375px;
    display: inline-block;
    height: 48px;
    padding: 0 0 0 10px;
    color: #fff;
    margin-bottom: 0;
}

.input-search::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.input-search::placeholder {
    color: #fff;
}

.input-search.form-control:focus {
    border: 1px solid #e1e3e3;
    box-shadow: none;
    background-color: var(--color-background-utilities-scrim);
    color: #fff;
}
/* search-box end*/

/* action button start*/
.account-action {
    display: flex;
    gap: calc(var(--spacer) * 4);
}

.account-action .btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.06rem;
}

.account-action .btn:last-child {
    margin-right: 0;
}

.account-action .btn:hover {
    background-color: #f05555;
    border-color: #f05555;
}
/* action button end*/

/* form style */
.form-group .form-input {
    margin-bottom: 20px;
}

.form-group .form-input .form-label {
    color: #7c7f85;
    font-size: 12px;
}

.form-group .required {
    color: #f00;
    margin-left: 5px;
}

.form-group .form-input .input-text {
    width: 100%;
}

.login-modal {
    font-size: 20px;
}

.login-left {
    background-color: var(--color-background-brand-culture) !important;
}

.login-left h3 {
    color: #fff;
}

.login-form .form-input {
    position: relative;
}

.login-form .form-input .input-text {
    padding: 11px;
    padding-left: 30px;
    color: #677075;
    background: #fff;
    border: 1px solid #e1e3e3;
    border-radius: 2px;
    font-size: 13px;
    height: 40px;
}

.login-form .form-input i {
    position: absolute;
    left: 10px;
    top: 36px;
    font-size: 15px;
    color: #999;
}

.checkbox-input input[type="checkbox"] {
    background: #fff;
    border: 1px solid #e1e3e3;
    border-radius: 2px;
    margin: 0;
    display: inline-block;
    margin-right: 10px;
    height: 17px;
    width: 17px;
    line-height: 17px;
    position: relative;
    top: 3px;
    float: left;
    vertical-align: baseline;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.checkbox-input input[type="checkbox"]:checked::before {
    -webkit-margin-start: 0;
    font-family: "entypo";
    content: "\2713";
    font-size: 14px;
    height: 17px;
    display: block;
    position: relative;
    top: 0;
    text-align: center;
}

.checkbox-span {
    font-size: 13px;
    color: #7c7f85;
}

.checkbox-span a {
    color: #272930;
    text-decoration: none;
}

.login-form .lost-password {
    margin-bottom: 20px;
    font-size: 12px;
    color: #272930;
    text-decoration: none;
}

.login-form  .form-submit {
    width: 100%;
    text-align: center;
    letter-spacing: 0.8px;
    color: #fff;

}

.login-form  .form-submit button {
    background-color: #2d6ff7;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    padding: 8.5px;
    width: 100%;
}

/*Search Bar Mobile*/
.mobile-bar {
    padding: 0 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;

}

.mobile-bar.active {
    display: block;
}

.mobile-bar-search > a, .mobile-bar-ask > a {
    font-size: 20px;
}

.main-search-form, .mobile-bar.active .mobile-bar-search a, .mobile-bar.active .mobile-bar-ask {
    display: none;
}

.mobile-bar.active .main-search-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-search-form .live-search {
    height: 40px;
    font-size: 13px;
    padding: 11px;
    border-radius: 2px;
    border: 1px solid #e1e3e3;
    color: #677075;
    width: 100%;
}

.main-search-form .icon-left-open {
    font-size: 14px;
    padding: 0 10px;
    color: #707885;
    outline: none;
}

/*Top Banner*/
.button-default {
    font-weight: 700;
    font-size: 14px;
    padding: 8px 54px;
    border: 1px solid transparent;
    letter-spacing: 0.8px;
}

.btn-primary.button-default {
    border: 1px solid transparent;
}

.button-default:hover {
    background-color: #7c7f85;
}

.main-content {
    flex-grow: 1;
}

.main-content-home {
    margin-top: 30px;
}

.notification-content {
    max-width: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.filter-lists {
    gap: calc(var(--spacer) * 4);
}

.filter-lists li {
    color: var(--On-Background-Global-Primary, #272727);
    font-feature-settings: 'salt' on;

    /* Single Line/Normal/Strong */
    font-family: var(--Font-Display-Sans, Lexend);
    font-size: var(--Single-Line-Size-BASE, 16px);
    font-style: normal;
    font-weight: var(--Font-Weight-Medium, 500);
    line-height: 125%; /* 20px */
    letter-spacing: -0.32px;
}

.filter-lists li a {
    color: #7c7f85;
}

.filter-lists li.active-tab, .filter-lists li.active-tab a {
    color: #26333b;
}

.filter-lists li:last-child {
    margin-right: 0px;
}

/* post content */
.post-content-wrapper {
    display: flex;
    gap: calc(var(--spacer) * 2);
    padding: calc(var(--spacer) * 8) calc(var(--spacer) * 4);
    border-bottom: 1px solid var(--color-stroke-primary);
}

.left-post-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-post-content .author-avatar {
    width: 38px;
}

.right-post-content {
    width: 100%;
    display: flex;
    flex-flow: column;
    gap: calc(var(--spacer) * 2);
}

.right-top-post-content {
    display: flex;
    align-items: center;
    gap: calc(var(--spacer) * 3);
}

.main-post-content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacer) * 4);
}

.post-content a {
    color: #2d6ff7;
}

.post-content a:hover {
    color: #f95eff;
}

.post-content ul {
    list-style-type: square;
    padding-left: 32px;
}

.right-post-content h1, .right-post-content h2, .right-post-content h3 {
    font-weight: normal !important;
    font-size: 1.5rem !important;
}

.author-avatar {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
}

.author-avatar-20 {
    width: 20px;
    height: 20px;
    padding: 12px;
    margin-right: 15px;
    margin-top: 4px;
}

.author-avatar-72 {
    width: 72px !important;
    height: 72px !important;
    margin-bottom: 0px;
}

.author-avatar img {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    width: 38px;
    height: 38px;
    object-fit: cover;
}

.comment-main-content {
    border-top: 1px solid #e1e3e3;
}

.comment-check {
    font-size: 26px;
    font-weight: 700;
    padding: 0 10px 0 10px;
    vertical-align: super;
}

.comment-details-content {
    display: flex;
    margin-bottom: 0px;
}

.comment-details-content .bottom-post-content {
    background-color: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
}

.comment-details-content .vote-area .vote-number {
    font-size: 18px;
}

.author-name {
    color: var(--color-on-background-global-primary);
    display: inline-block;
    letter-spacing: 0.8px;
    font-size: 20px;
    font-family: Lexend;
}

.author-name:hover {
    color: #26333b;
}

.vote-area span {
    color: #677075;
    font-size: 26px;
}

.vote-area span i {
    margin-right: unset;
    cursor: pointer;
}

.vote-area span i:hover {
    color: #272930;
}

.vote-area .vote-number {
    font-size: 20px;
    margin: -5px auto;
}

.badge-title {
    background-color: #0d0e11;
    color: #FFF;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    padding: 2px 4px 2px 4px;
    font-size: 16px;
    display: inline-block;
    white-space: nowrap;
}

/*
.badge-contributor {
    background-color: #de2b2b;
}

.badge-trusted_author {
    background-color: #ffbf00;
}

.badge-insight_author {
    background-color: #30a96f;
}

.badge-professional {
    background-color: #6b3de4;
}

.badge-enlightened {
    background-color: #d9a34a;
}
*/

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 2px;
    font-weight: 700;
}

.post-date,
.post-category {
    color: var(--On-Background-Global-Secondary);
}

.post-date a,
.post-category a {
    color: var(--On-Background-Brand-Culture-Primary);
}

.post-title {
    color: var(--On-Background-Global-Primary, #272727);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;
    font-family: var(--Font-Sans, Lexend);
    font-size: var(--Headline-Size-Large, 32px);
    font-style: normal;
    font-weight: var(--Font-Weight-Bold, 600);
    line-height: 125%;
    letter-spacing: -1.28px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post-content {
    overflow: hidden;
    color: var(--On-Background-Global-Primary, #272727);
    text-overflow: ellipsis;

    /* Paragraph/Default/Normal */
    font-family: var(--Font-Serif, "Crimson Text");
    font-size: var(--Reader-Size-Medium, 24px);
    font-style: normal;
    font-weight: var(--Font-Weight-Regular, 400);
    line-height: 160%; /* 38.4px */
    letter-spacing: -0.12px;
}

.post-tag li {
    color: #7c7f85;
    border: 1px solid #e1e3e3;
    border-radius: 2px;
    font-size: 16px;
    padding: 0 6px;
    line-height: 22px;
}

.bottom-post-content {
    display: flex;
    justify-content: space-between;
    line-height: 15px;
    border-radius: 2px;
    width: 100%;
    clear: both;
    float: left;
}

.post-meta {
    gap: calc(var(--spacer) * 8);
}

.post-meta li i {
    color: var(--On-Background-Global-Secondary);
    margin-right: calc(var(--spacer) * 1);
}

.post-meta li.meta-best-comment {
    border-color: var(--color-success);
}

.bottom-post-content li i {
    color: var(--On-Background-Global-Secondary);
}

.publication-modification-buttons {
    gap: calc(var(--spacer) * 8);
}

.publication-modification-buttons li i {
    color: var(--On-Background-Global-Secondary);
    margin-right: calc(var(--spacer) * 1);
}

.best-comment-mark {
    color: #26aa6c !important;
    border: 1px solid #26aa6c;
    padding: 2px;
}

.best-comment-meta {
    border-color: #26aa6c !important;
}

.best-comment-meta a, .best-comment-meta a i {
    color: #26aa6c !important;
}

.best-comment-meta a:hover {
    color: #7c7f85;
}

.meta-comment {
    color: #fff;
    background-color: #272930;
    border-radius: 2px;
    font-size: 14px;
    padding: 6px 12px;
    letter-spacing: 0.8px;
}

.meta-comment:hover {
    background-color: #2d6ff7;
    color: #fff;
}

@media (max-width: 479.8px) {
    .post-meta li i {
        margin-right: 3px;
    }
    .publication-modification-buttons li i {
        margin-right: 0px;
    }
}

/*Sidebar*/
.sidebar .widget {
    margin-bottom: 15px;
}

.sidebar .new-article-button-wrapper {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacer) * 8);
}

.sidebar .new-article-button-wrapper .description-title {
    color: var(--On-Background-Utilities-Primary, #363636);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;
    font-family: var(--Font-Display-Sans, Lexend);
    font-size: var(--Title-Size-Medium, 24px);
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 31.2px */
    letter-spacing: -0.48px;
}

.sidebar .new-article-button-wrapper .description-content {
    color: var(--On-Background-Global-Secondary, #676767);
    font-family: var(--Font-Sans, Lexend);
    font-size: var(--Body-Sans-Size-Small, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.42px;
}

.widget-ask .wpqa-publication {
    padding: var(--spacers-2-5, 10px) var(--spacers-5, 20px);
    justify-content: center;
    align-items: center;
    gap: var(--spacers-1, 4px);
    align-self: stretch;

    border-radius: 9999px;
    background: var(--Background-Brand-Noon, #FFCE47);

    display: block;
    color: var(--On-Background-Brand-Culture-Primary, #6D3474);
    font-feature-settings: 'salt' on;

    /* Single Line/Large/Normal */
    font-family: var(--Font-Display-Sans, Lexend);
    font-size: var(--Single-Line-Size-Large, 18px);
    font-style: normal;
    font-weight: var(--Font-Weight-Regular, 400);
    line-height: 125%; /* 22.5px */
    letter-spacing: -0.72px;
}

.widget-status {
    background: #fff;
    padding: 20px;
}

.status-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.status-card-item {
    width: 50%;
    border: 1px solid #e1e3e3;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 12px 15px;
    margin: 0;
    text-align: center;
    position: relative;
    height: 75px;
    font-size: 12px;
}

.status-card-item .stats-text {
    display: block;
    margin-bottom: 5px;
}

.status-card-item .stats-value {
    font-size: 25px;
    font-weight: 700;
    display: block;
}

.status-card-item:before, .cat-sections:before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    height: 45px;
    width: 2px;
}

.status-card-item.status-publication:before, .status-card-item.status-user:before {
    background-color: #2d6ff7;
}

.status-card-item.status-publication .stats-text, .status-card-item.status-user .stats-text {
    color: #2d6ff7;
}

.status-card-item.status-user:before {
    left: auto;
    right: 0;
}

.status-card-item.status-comments:before {
    background-color: #f05555;
    right: 0;
    left: auto;
}

.status-card-item.status-comments .stats-text {
    color: #f05555;
}

.status-card-item.status-best-comments:before {
    background-color: #1fae5b;
}

.status-card-item.status-best-comments .stats-text {
    color: #1fae5b;
}

.widget:not(.widget-ask) {
    background: #fff;
    padding: 20px;
}

.widget-tabs .nav-tabs {
    margin: 0 -20px 0 -19px;
    padding: 0 20px;
    border-bottom: 1px solid #e1e3e3;
    margin-left: -21px;
}

.widget-tabs .nav-tabs .nav-item:focus-visible {
    outline: none;
}

.widget-tabs .nav-tabs .nav-link {
    color: #7c7f85;
    background-color: #F9F9F9;
    border: 1px solid #e1e3e3;
    border-radius: 0;
    padding: 10px;
    outline: none;
    font-size: 16px;
    font-family: Lexend;
}

.widget-tabs .nav-tabs .nav-item:hover .nav-link {
    color: #2d6ff7;
}


.widget-tabs .nav-tabs .nav-link:focus {

}

.widget-tabs .nav-tabs .nav-link.active {
    color: #26333b;
    background: transparent;
    border-bottom: none;
    position: relative;
}

.widget-tabs .nav-tabs .nav-link.active:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
}

.widget-tabs .tab-content {
    padding: 20px 0 0;
    background: #fff;
}

.publication-status {
    font-size: 16px;
    font-family: Lexend;
    color: #fff;
    padding: 2px 6px 2px 2px;
    border-radius: 999px;
}

.publication-new_publication {
    background-color: #ff503f;
}

.publication-no_comments_yet {
    background-color: #6c757d;
}

.publication-voted {
    background-color: #92d6b2;
}

.publication-comment_posted {
    background-color: #5cc48f;
}

.publication-best_comment_selected {
    background-color: #26aa6c;
}

.publications-card ul li:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e3e3;
}

.publications-card ul li .publication-content h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.publications-card ul li .publication-content h3 a {
    display: block;
    margin-bottom: 7px;
}

.publications-card ul li .publication-content h3 .post-meta-comment {
    color: #7c7f85;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.publications-card ul li .publication-content h3 .post-meta-comment i {
    color: #677075;
    margin-right: 10px;
    font-size: 15px;
}

.publication-tag {
    background-color: lightgray;
    padding: 0px 3px 0px 5px;
    border-radius: 5px;
    margin-top: 2px;
    margin-right: 3px;
    cursor: pointer;
}

.comments-list ul li:not(:last-child) {
    margin: 0 0 10px;
    padding: 0 0 10px;
}

.comments-list .comment-content {
    font-size: 16px;
    color: #656c77;
}

.comments-list .comment-content .author-name {
    margin-right: 0;
    font-size: 16px;
}

.comments-list .comment-content .comment-date {
    display: block;
    color: var(--On-Background-Global-Secondary);
    font-size: 16px;
    margin-top: 5px;
}

.activities-widget p {
    margin-bottom: 0;
    color: #656c77;
    font-size: 12px;
}

.reply-content {
    padding: 10px 0 0 10px;
    margin: 10px 0 0 0;
    border-top: 1px solid #e1e3e3;
}

.reply-content p {
    margin: 0;
}

.widget-title {
    color: var(--On-Background-Brand-Culture-Primary, #6D3474);
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'case' on;

    /* Title/X-Small */
    font-family: var(--Font-Display-Sans, Lexend);
    font-size: var(--Title-Size-Small, 20px);
    font-style: normal;
    font-weight: var(--Font-Weight-Medium, 500);
    line-height: 140%; /* 28px */
    letter-spacing: -0.4px;
}

.widget-title i {
    margin-right: 15px;
    font-weight: normal;
    font-size: 19px;
}

.activity-item {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
    border-bottom: 1px solid #e4e6e6;
    padding-bottom: 10px;
}

.activity-item i {
    font-size: 20px;
    margin-right: 15px;
    color: #677075;
    line-height: 1;
}

.activity-content a,
.activity-content span {
    display: block;
}

.activity-content span {
    color: #7c7f85;
    font-size: 11px;
    margin-top: 5px;
}

.top-member-item:not(:last-child) {
    padding: 0 0 15px;
    margin: 0 0 15px;
}

.top-member-item .author-avatar {
    margin-right: 20px;
}

.top-member-info {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.top-member-info .author-point {
    font-size: 16px;
    color: var(--On-Background-Global-Secondary);
    margin-right: 5px;
}

.top-member-info .author-name {
    font-size: 16px;
}

.trending-list a {
    color: var(--On-Background-Global-Secondary);
    border: 1px solid #e1e3e3;
    border-radius: 2px;
    font-size: 16px;
    margin-bottom: 6px;
    margin-right: 6px;
    padding: 3px 6px;
}

.trending-list a:hover {
    border-color: #2d6ff7;
    background-color: #2d6ff7;
    color: #fff;
}

.load-more {
    padding: calc(var(--spacer) * 12);
    padding-bottom: calc(var(--spacer) * 4);
}

.load-more a {
    display: block;
    padding: calc(var(--spacer) * 2);
    font-weight: 700;
}

.load-more a:hover {
    opacity: 0.8;
    background-color: var(--Background-Brand-Noon);
    color: var(--On-Background-Brand-Culture-Primary);
}

/* post content */

/* footer start */
.main-content-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacer) * 8);
    background-color: var(--color-culture-950);
    color: var(--color-on-surface-fixed-primary);
    padding: calc(var(--spacer) * 12);
    font-family: Lexend;
    font-size: 16px;
    margin-top: calc(var(--spacer) * 12);
}

.main-content-footer .social-icons {
    display: flex;
    gap: calc(var(--spacer) * 6);
}

.main-content-footer .social-icons li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-button-default-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content-footer .social-icons li:hover {
    opacity: 0.8;
}

.main-content-footer .social-icons li a {
    display: flex;
    align-items: center;
}

.main-content-footer .social-icons li a i {
    color: var(--On-Background-Brand-Culture-Primary);
    font-size: 18px;
}

.main-content-footer .about-links,
.main-content-footer .privacy-links {
    display: flex;
    gap: calc(var(--spacer) * 6);
}

.main-content-footer .about-links li,
.main-content-footer .privacy-links li {
    text-align: center;
}

.main-content-footer .about-links li a,
.main-content-footer .privacy-links li a {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-on-surface-fixed-primary);
}

.main-content-footer .copyright {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
}

.main-content-footer .company-information {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacer) * 2);
}

.main-content-footer .company-information .company-name {
    font-weight: 700;
    text-align: center;
}

.add-new-publication-button {
    display: none;
}

@media (max-width: 576px) {
    .main-content-footer {
        padding-left: calc(var(--spacer) * 3);
        padding-right: calc(var(--spacer) * 3);
    }
}

/*** users ***/
.user-item {
    display: flex;
    flex-flow: column;
    align-items: center;
    font-weight: 700;
    border: 1px solid #e1e3e3;
    margin: 8px 0 8px 0;
    padding: 10px;
    background-color: #fff;
}

.user-item .badge-title {
    margin: 5px 0 0 0;
    padding: 5px 10px 5px 10px;
}

.user-item .author-avatar img {
    width: 75px;
    height: 75px;
}

.user-item label {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.pagination-arrows {
    display:flex;
    align-items: center;
    justify-content: center;
}

.pagination-arrows span {
     display:flex;
     align-items: center;
     justify-content: center;
     padding: 15px;
     cursor: pointer;
}

.pagination-arrows a {
    padding: 15px;
}

.pagination-arrows span:hover {
    text-decoration: none;
    color: #2d6ff7;
}

.pagination-arrows span:nth-child(1), .pagination-arrows span:nth-child(5) {
  background: lightgray;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-width: 1px;
  border-color: gray;
}

@media (min-width: 999px) {
    .header .navbar-close,
    .header .right-header,
    .header .widget-ask,
    .header .btn-search span {
        display: none;
    }

    .mobile-bar {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .header .container,
    .main-content .container,
    .main-content-home .container {
        width: 1170px;
    }
}


@media (max-width: 1199px) {
    .header .container,
    .main-content .container,
    .main-content-home .container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 999px) {
    .header .container,
    .main-content .container,
    .main-content-home .container {
        width: 100%;
        max-width: 100%;
    }

    .header .navbar-toggler {
        order: 3;
        display: block;
        color: #fff;
        font-size: 25px;
        box-shadow: none;
    }

    .header .logo {
        order: 1;
        border: none;
    }

    .header .user-header {
        order: 2;
    }

    .header .account-action {
        order: 2;
        font-size: 25px;
    }

    .header .account-action .sign-in-lock {
        color: #fff;
        border: none;
        background: none;
        outline: none;
        box-shadow: none;
    }

    .header .account-action .btn,
    .header .btn-search i {
        display: none;
    }

    .header .navbar {
        position: fixed;
        top: 0;
        left: -500px;
        height: 100%;
        transition: all 0.3s ease-in-out;
        background-color: var(--color-background-global-primary);
        padding: 30px;
        max-width: 400px;
        color: #272930;
        border-right: none;
    }

    .header .navbar.toggle {
        display: block;
        left: 0;
    }

    .header .navbar .btn,
    .header .navbar .nav-link,
    .header .search-box input {
        transition: none;
    }

    .header .navbar .navbar-collapse {
        flex-direction: column;
    }

    .header-content .navbar-light .navbar-nav {
        width: 100%;
        margin-bottom: 20px;
    }

    .header-content .navbar-light .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-content .navbar-light .navbar-nav .nav-link {
        color: #272930;
        display: block;
        padding: 15px 50px 15px 0;
        font-size: 15px;
        letter-spacing: 0.8px;
        font-weight: 700;
    }

    .header-content .navbar-light .navbar-nav .nav-link.active {
        background-color: transparent;
    }

    .header .navbar-close {
        border: none;
        color: #272930;
        font-size: 25px;
        opacity: 0.7;
        position: relative;
        top: -15px;
        left: -15px;
        background-color: var(--color-background-global-primary);
    }

    .header .widget-ask {
        width: 100%;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .header .widget-ask a {
        text-transform: capitalize;
        display: block;
        font-weight: 700;
    }

    .header .search-box {
        flex-direction: column;
        width: 100%;
    }

    .header .search-box input,
    .header .search-box span {
        width: 100%;
    }

    .header .btn-search {
        border-radius: 2px;
    }

    .header .btn-search span {
        display: block;
        padding: 9.5px 12px;
        letter-spacing: 0.8px;
        font-size: 14px;
    }

    /* post-content start */
    .left-post-content {
        display: flex;
        align-items: flex-start;
    }
    /* post-content end*/

    /* side-bar start */
    .widget-ask .wpqa-publication,
    .widget-ask .new-article-button-wrapper {
        display: none;
    }
    /* side-bar end */
}

@media (max-width: 992px) {
    .modal-footer a {
        color: #2d6ff7;
        text-decoration: none;
    }

    .banner-content {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .author-header {
        padding: calc(var(--spacer) * 4) calc(var(--spacer) * 2);
    }

    .author-header .container .user-item-counts {
        padding-top: calc(var(--spacer) * 4);
    }

    .dropdown-menu-lg {
        min-width: 250px;
    }

    .notification-content {
        max-width: 100px;
    }

    .post-content-wrapper {
        flex-flow: column;
    }

    .left-post-content {
        flex-flow: row;
        align-items: center;
        margin-right: 0;
    }

    .author-avatar {
        margin: 0px;
    }

    .vote-area {
        margin: 0 10px 0 0;
    }

    .main-content-footer .privacy-links {
        flex-direction: column;
    }

    .add-new-publication-button {
        position: fixed;
        right: 16px;
        bottom: 16px;
        display: flex;
        padding: 12px;
        justify-content: center;
        align-items: center;
        border: none;
        border-radius: 9999px;
        background: var(--Background-Brand-Noon, #FFCE47);
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10),
                  0px 1px 2px 0px rgba(0, 0, 0, 0.06);
        z-index: 1000;
    }

    .add-new-publication-button i {
        width: 24px;
        height: 24px;
        font-size: 24px;
        color: var(--On-Background-Brand-Culture-Primary);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/***** ads *******/
.ads-image-container {
    max-width: 12vw;
}
.ads-image-container img {
    position: fixed;
    max-width: 12vw;
    object-fit: cover;
}
.ads-image-container-horizontal {
    margin-bottom: 30px;
}
.ads-image-container-horizontal img {
    height: 150px;
    object-fit: cover;
}
.ads-left-image {
    left: 50px;
}
.ads-right-image {
    right: 50px;
}
@media (max-width: 1660px) {
    .ads-image-container {
        width: 150px;
    }
    .ads-image-container img {
        width: 150px;
    }
    .ads-left-image {
        left: 0px;
    }
    .ads-right-image {
        right: 0px;
    }
}
@media (max-width: 500px) {
    .ads-image-container-horizontal img {
        height: 120px;
    }
}

/*** publishing ***/
#avatarImage {
    height: 100%;
    object-fit: cover;
}

#createPublicationEditorContainer,
#editPublicationEditorContainer {
    background-color: #fff;
}

/*** account ***/
.user-profile-content .btn {
    font-size: 24px;
}

#accountAvatarImageWrapper .btn {
    color: var(--On-Background-Brand-Culture-Primary);
}

.media-modal,
.media-details-modal {
    font-size: 20px;
}

.term-of-services-title,
.privacy-policy-title,
.faqs-title,
.post-details-title {
    padding-top: calc(var(--spacer) * 8);
    font-size: 32px;
    text-align: center;
}

.faqs-content .card .card-header h5 button {
    color: #000;
    font-size: 20px;
}

.inbox-container .btn-link {
    font-size: 20px;
}

.inbox-container #letterListBody {
    font-size: 20px;
}

.inbox-container #inboxLettersForm input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

/*** editor ***/
.ce-popover-item__title {
    font-size: 16px;
}

.ce-popover-item__icon svg {
    width: 24px;
    height: 24px;
}

.ce-popover--inline .ce-popover-item__icon svg {
    width: 24px;
    height: 24px;
}

.ce-inline-tool svg {
    width: 24px;
    height: 24px;
}
