/*
Theme Name: LicenseVerse Theme
Theme URI: https://example.com/
Description: Child theme for LicenseVerse
Author: Your Name
Author URI: https://example.com/
Template: buddyx
Version: 1.0.0
*/

/* Add your custom CSS below */

:root {
  --global-font-color: #505050;
  --global-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
  --global-font-size: 16 !important;
  --global-font-line-height: 1.4;
  --highlight-font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
  --content-width: 100%;
  --dropdown-symbol-width: 0.7em;
  --color-theme-primary: #98c849 !important;
  --color-theme-loader: #98c849 !important;
  --color-theme-secondary: #39b24c !important;
  --color-theme-red: #c0392b;
  --color-theme-green: #27ae60;
  --color-theme-blue: #2980b9;
  --color-theme-yellow: #f1c40f;
  --color-theme-black: #1c2833;
  --color-theme-grey: #95a5a6;
  --color-theme-white: #ecf0f1;
  --color-custom-daylight: #97c0b7;
  --color-custom-sun: #eee9d1;
  --color-site-title: #555 !important;
  --color-site-title-hover: #5bb848;
  --color-site-tagline: #757575;
  --color-theme-body: #f7f7f9;
  --color-layout-boxed: #fff;
  --color-theme-white-box: #fff;
  --global-body-lightcolor: #fafafa;
  --color-header-bg: #fff;
  --color-menu: #616161;
  --color-menu-hover: #5bb848 !important;
  --color-menu-active: #5bb848 !important;
  --color-subheader-title: #616161;
  --color-link: #555 !important;
  --color-link-hover: #98c849 !important;
  --color-link-active: #98c849 !important;
  --color-h1: #555 !important;
  --color-h2: #555 !important;
  --color-h3: #555 !important;
  --color-h4: #555 !important;
  --color-h5: #555 !important;
  --color-h6: #555 !important;
  --global-border-color: #e8e8e8;
  --button-text-color: #fff;
  --button-text-hover-color: #fff;
  --button-background-color: #98c849 !important;
  --button-background-hover-color: #39b24c !important;
  --button-border-color: #98c849 !important;
  --button-border-hover-color: #39b24c !important;
  --color-quote-border: #555 !important;
  --color-quote-citation: #6c7781;
  --color-footer-title: #555 !important;
  --color-footer-content: #505050;
  --color-footer-link: #555 !important;
  --color-footer-link-hover: #98c849 !important;
  --color-copyright-bg: #fff;
  --color-copyright-content: #505050;
  --color-copyright-link: #555 !important;
  --color-copyright-link-hover: #98c849 !important;
  --font-size-small: calc(16 / var(--global-font-size) * 1rem);
  --font-size-regular: calc(var(--global-font-size) / 16 * 1rem);
  --font-size-large: calc(36 / var(--global-font-size) * 1rem);
  --font-size-larger: calc(48 / var(--global-font-size) * 1rem);
  --container-width: 1230px !important;
  --container-sm: 540px;
  --container-md: 740px;
  --container-lg: 960px;
  --container-xl: 1200px !important;
  --container-xxl: 1400px;
  --grid-gutter-width: 30px;
  --el-spacing: 2rem;
  --global-border-radius: 8px;
  --button-border-radius: 6px;
  --form-border-radius: 6px;
  --textarea-border-radius: 6px;
  --line-clamp-title: 2;
  --line-clamp-with-media: 2;
  --line-clamp-no-media: 3;
  --line-clamp-big-title: 2;
  --line-clamp-big-text: var(--line-clamp-big-text);
  --bx-article-big-sm: 1rem;
  --bx-article-big-md: 1rem;
  --bx-article-big-lg: 1.25rem;
  --bx-article-big-title-sm: 1.5rem;
  --bx-article-big-title-md: 1.75rem;
  --bx-article-big-title-lg: 2.25rem;
  --line-clamp-list-title: 2;
  --line-clamp-list-text: var(--line-clamp-list-text);
  --bx-article-list-sm: 1rem;
  --bx-article-list-md: 1rem;
  --bx-article-list-lg: 1.15rem;
  --bx-article-list-title-sm: 1.31rem;
  --bx-article-list-title-md: 1.5rem;
  --bx-article-list-title-lg: 1.75rem;
  --line-clamp-card-title: 2;
  --line-clamp-card-text: var(--line-clamp-card-text);
  --bx-article-card-title-sm: 1.2rem;
  --bx-article-card-title-md: 1.5rem;
  --bx-article-card-title-lg: 1.5rem;
  --bx-article-list-card-sm: 1rem;
  --bx-article-list-card-md: 1rem;
  --bx-article-list-card-lg: 1.15rem;
  --line-clamp-grid-title: 2;
  --line-clamp-grid-text: var(--line-clamp-grid-text);
  --bx-article-grid-title-sm: 1.5rem;
  --bx-article-grid-title-md: 1.75rem;
  --bx-article-grid-title-lg: 2.25rem;
}

a,
button {
  transition: 0.3s all;
}

html body .site-header-wrapper {
  padding: 20px 0;
}

html body #buddypress #header-cover-image,
html body #cover-image-container {
  height: 250px;
}

html body .item-header-cover-image-wrapper {
  margin: -100px 0 0;
}

html body #primary,
html body .site-wrapper {
  min-height: calc(100vh - 500px);
}

html body .site-sub-header {
  background: #97c93f;
  color: #fff;
  padding: 20px 0;
}
html body .site-sub-header a {
  color: #fff;
}
html body .site-sub-header h1 {
  font-size: 1.25em;
  font-weight: 500;
  color: #fff !important;
}
html body nav#object-nav.vertical a {
  padding-top: 15px;
  padding-bottom: 15px;
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
}
html body nav#object-nav.vertical .selected > a,
html body nav#object-nav.vertical a:hover {
  background: rgba(152, 200, 73, 0.1) !important;
  border-top: 1px solid rgba(152, 200, 73, 0.3) !important;
  border-bottom: 1px solid rgba(152, 200, 73, 0.3) !important;
}

html
  body
  .bp-single-vert-nav
  .item-body:not(#group-create-body)
  #subnav:not(.tabbed-links)
  li
  a {
  padding: 15px 20px !important;
  font-weight: bold;
}

html body .site-info {
  display: none;
}

footer.site-footer {
  background: #262626;
  color: #9e9e9e;
  font-size: 0.875em;
}
footer.site-footer a {
  color: #9e9e9e;
}
footer.site-footer a:hover {
  color: #fff;
}

#pinned-activities > li {
  background: rgba(152, 200, 73, 0.1) !important;
  border-color: rgba(152, 200, 73, 0.3) !important;
}
ul.activity-list > .groups.activity_update > .activity-card-head {
  display: none;
}

ul.activity-list.bp-list > li.activity-item {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: 8px solid #ddd !important;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.03);
}

.cma-question-table tbody {
  background: #fff;
  border: 1px solid #e8e8e8 !important;
  border-left: 8px solid #ddd !important;
}

.cma-answers-wrapper table.cma-answers-list {
  margin-bottom: 10px !important;
}
.cma-answers-wrapper .cma-backlink-wrapper {
  margin-bottom: 30px !important;
}

.cma-answers-list tbody {
  background: #fff;
  border: 1px solid #e8e8e8 !important;
  border-top: 0 !important;
  border-left: 8px solid #ddd !important;
}

.activity-content .button {
  font-size: 0.75em !important;
}
.my-bp-unpin,
.my-bp-pin {
  float: right;
  margin-top: -50px;
  margin-right: 15px;
  position: relative;
  z-index: 200;
  padding: 9px 15px !important;
}
.my-bp-pin {
  color: rgba(0, 0, 0, 0.5) !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
}

.cma-question-form-container,
.cma-answer-form-container,
.cma-filter {
  padding: 20px !important;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.cma-question-form-container .cma-cancel-editing-question {
  margin-top: 16px;
  padding: 10px !important;
}

.cma-filter {
  margin-bottom: 20px;
}
.cma-filter .cma-nav-bar {
  margin: 0;
}

.cma-question-form-container.cma-form-container form input[type="submit"],
.cma-answer-form-container.cma-form-container form input[type="submit"] {
  font-family: inherit;
  font-size: medium;
  color: var(--button-text-color);
  background: var(--button-background-color) !important;
  border-radius: var(--button-border-radius) !important;
  padding: 8px 20px;
  font-weight: 500 !important;
  font-style: normal;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  line-height: 1.3;
  border: 1px solid var(--button-border-color) !important;
  outline: 0;
  vertical-align: middle;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.cma-question-form-container.cma-form-container form input[type="submit"]:hover,
.cma-answer-form-container.cma-form-container form input[type="submit"]:hover {
  background: var(--button-background-hover-color) !important;
  border: 1px solid var(--button-border-hover-color) !important;
  color: var(--button-text-hover-color) !important;
}

.cma-thread-list-body .cma-thread-snippet {
  display: flex;
  flex-wrap: wrap;
  border: none;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #e8e8e8;
  margin-bottom: 20px;
  justify-content: space-between;
}

.cma-thread-list-body .cma-thread-snippet .cma-thread-title {
  order: 1;
  flex: 1 1 100%;
  min-width: 100%;
  margin-bottom: 10px;
}
.cma-thread-list-body .cma-thread-snippet .cma-thread-unanswered {
  order: 2;
  flex: 1 1 100%;
  min-width: 100%;
  margin-top: -5px;
  margin-bottom: 10px;
  font-size: 0.75em;
  font-style: italic;
  opacity: 0.7;
  line-height: 1;
}
.cma-thread-list-body .cma-thread-snippet .cma-thread-meta {
  order: 3;
  float: none;
  margin: 0;
}
.cma-thread-list-body .cma-thread-snippet .cma-thread-meta .cma-thread-numbers {
  border-width: 1px;
  border-color: #e8e8e8;
}
.cma-thread-list-body .cma-thread-snippet .cma-thread-summary-right {
  order: 4;
  float: none;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: right !important;
  line-height: 1.25;
}
.cma-thread-list-body .cma-thread-snippet .cma-thread-summary-right * {
  text-align: right;
  line-height: 1.5;
  font-style: italic;
}

.cma-thread-resolve-form input[type="submit"],
.cma-thread-resolve-form button[type="submit"] {
  font-size: 12px;
}
.cma-question-content .cma-question-meta,
.cma-answer-content .cma-answer-meta {
  float: none;
  width: 100% !important;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding: 10px;
  border-top: 1px solid var(--global-border-color);
  border-bottom: 1px solid var(--global-border-color);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.02);
  box-shadow: none;
}
.cma-question-content .cma-question-meta .cma-question-author,
.cma-answer-content .cma-answer-meta .cma-answer-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.group-button.leave-group {
  background: none !important;
  border-color: transparent !important;
  color: var(--color-theme-primary) !important;
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 400 !important;
}

ul.groups-list .list-wrap .groups-meta.action {
  margin-top: 5px !important;
}

.gamipress_rank_display {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
  margin-top: -10px;
  padding: 8px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}
.gamipress_rank_display .gamipress-user-rank {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
.gamipress_rank_display .gamipress-buddypress-points-type > span {
  margin-bottom: 0;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
.gamipress_rank_display .gamipress-buddypress-ranks {
  display: none !important;
}
.cma-thread-resolve-form,
.cma-checkbox-thread-resolved,
.cma-social-box {
  display: none !important;
}

article.report {
  padding: 40px 0;
}

.report-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.report-details .report-details-sidebar {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 300px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.report-details .report-details-sidebar .entry-members {
  flex-direction: column;
}
.report-details .report-details-sidebar .entry-members .entry-members-reported,
.report-details .report-details-sidebar .entry-members .entry-members-reporter {
  padding: 10px;
}
.report-details .report-details-sidebar .entry-members .entry-members-reported {
  background-color: rgba(152, 200, 73, 0.2);
}
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reported
  .entry-members-details-name,
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reporter
  .entry-members-details-name {
  font-size: 18px;
  font-weight: bold;
}
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reported
  h3,
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reporter
  h3 {
  font-size: 16px;
  margin-bottom: 15px;
}
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reported
  .entry-members-avatar,
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reporter
  .entry-members-avatar {
  margin: 0 !important;
}
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reported
  .entry-members-avatar
  img,
.report-details
  .report-details-sidebar
  .entry-members
  .entry-members-reporter
  .entry-members-avatar
  img {
  border-radius: 50%;
  overflow: hidden;
}

.report-details
  .report-details-sidebar
  #bptk-frontend-moderation-panel
  .button {
  margin: 0 !important;
}

.report-details .report-details-main {
  flex: 1;
}

.single-report .entry-meta {
  font-size: 16px;
  line-height: 1.66;
  padding-bottom: 30px !important;
  margin-bottom: 30px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.single-report .report-details-main h3 {
  color: var(--color-theme-primary);
}
.report-notes {
  padding-top: 30px !important;
  margin-top: 30px !important;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.report-notes .comments-title {
  display: none !important;
}
.report-notes #comments {
  margin-top: 0 !important;
}
.report-notes #comments .comment-list {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}
.report-notes #comments .comment-list li {
  margin: 0 0 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 20px 0;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
.report-notes #comments .comment-list li .comment-body > * {
  margin-left: 0 !important;
}
.single-report .report-details-main #reply-title {
  font-size: 18px !important;
}

.reports.archive-report .report {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 10px 20px;
  background: rgba(152, 200, 73, 0.1);
  color: var(--color-theme-primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-weight: bold;
}
.reports.archive-report .report .entry-title {
  color: var(--color-theme-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reports.archive-report .report .entry-title::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--color-theme-primary);
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
#buddypress
  .activity-list
  .activity-item
  .activity-content
  > .activity-meta.action
  .button.bptk-report-activity-button {
  margin-top: 15px;
}

ul.cma-controls.controls {
  display: flex;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  gap: 30px;
}

ul.cma-controls.controls li {
  margin: 0;
}
ul.cma-controls.controls li a {
  color: var(--color-theme-primary);
}
.menu-icons-wrapper #searchform input[type="search"] {
  text-transform: none !important;
}

@media (min-width: 1250px) {
  html body .container {
    width: 100%;
    max-width: 1230px;
  }
}
@media (max-width: 768px) {
  .report-details {
    flex-direction: column;
  }
  .report-details .report-details-sidebar {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}
