:root {
  --font-size-base: 1.25rem;
  --title-color:#153257;    
  --font-weight-bold: 700; 
  --font-size-regular: 1rem;  
  --font-weight-regular: 400;
  --background-color: #E4E5E6;
  --text-color-muted: #9D9FA2;
  --medium-font: 500;
  --orange-color: #F89D33;
  --bold-font: 500;
  --light-bg: #F7F8F9;
  --black: #000000;
  --font-12: 12px;
}
.ql-editor strong, 
.ql-editor b {
    font-weight: bold !important;
}
.custom-topic-wrapper .reactions.responsive {
    display: none;
}
 .page-id-0 {
    padding: 0px !important;
}
 .page-id-0 .top_panel.with_bg_image:before{
z-index:99;
}
.logged-out-user .reply-comment-count{
	cursor: not-allowed !important;
}

.logged-out-user .reply-btn {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.logged-out-user .reply-comment-count{
	cursor: not-allowed !important;
}

/* .top_panel.with_bg_image .sc_layouts_row:not(.sc_layouts_row_fixed_on) {
    background-color: #fff;
    top: 0;
    position: fixed;
} */
/* 28-4-25 */
.custom-topic-wrapper .comment-body img {
    height: 200px;
    object-fit: contain;
}
.custom-topic-wrapper .user-meta {
    display: flex;
    gap: 25px;
}
/* 25-4-25 */
.custom-topic-wrapper  .comment-three-dots {
    display: flex;
    flex-direction: column;
    gap: 4px;
	cursor:pointer;
}
.custom-topic-wrapper .comment-dropdown a {
    color: var(--title-color);
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
	display:flex;
    gap:10px;
	align-items:center;
}
.mention-dropdown-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 0px;
   border-bottom: 1px solid #e0e0e0;
   cursor: pointer;
   transition: background-color 0.2s ease;
}

.ql-mention-list-item:before {
	display: none !important;
}

.mention-dropdown-item:last-child {
	border-bottom: 0px !important;
}

.ql-mention-list .ql-mention-list-item {
	padding: 0px !important;
}

.mention-dropdown-item:hover {
   background-color: #f5f5f5;
}

.mention-avatar img {
   width: 40px;
   height: 40px;
   border-radius: 50%;
   object-fit: cover;
}
.topic-comment-form .ql-tooltip.ql-editing, .topic-reply-editor .ql-tooltip.ql-editing{
	left: 10px !important;
	z-index: 99;
}
.child-replies .comment-body a, .custom-comment-card .comment-body a, .custom-topic-wrapper .topic-content a {
	color: inherit !important;
    text-decoration: underline !important;
}

.child-replies .comment-body a:hover, .custom-comment-card .comment-body a:hover, .custom-topic-wrapper .topic-content a:hover {
	color: var(--blue-color) !important;
}

.mention-username {
   font-weight: 500;
   font-size: 16px;
   color: #1a1a1a;
}

.topic-reply-editor.reply-editor {
    margin-left: 40px;
}

.custom-topic-wrapper .topic-dropdown a {
color: var(--title-color);
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
}
.show-preloader{
	opacity: 0.5 !important;
	display: block !important;
}
.custom-topic-wrapper .topic-menu-container {
    position: relative;
    height: 100%;
	cursor:pointer;
}
.comment-body p strong {
    font-weight: bold !important;
}

.custom-topic-wrapper .topic-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom-topic-wrapper .topic-dropdown img, .custom-topic-wrapper .comment-dropdown img {
    width: 15px !important;
    object-fit: contain;
    height: 15px !important;
	padding:0px !important;
}

.custom-topic-wrapper  .comment-menu-container {
    position: relative;
    height: 100%;
}
.custom-topic-wrapper .topic-dropdown , .custom-topic-wrapper .comment-dropdown {
   position:absolute;
    right: 0;
      top: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid #EEEFF0;
    padding: 20px;
    border-radius:8px;
    box-shadow: 2px 2px 15px 0 #00000026;
    display:none;
    min-width: 150px;
    height: fit-content;
	z-index:999999;
	background-color:#fff;
  
  }
.custom-topic-wrapper #topic-delete img {
    width: 10px;
    height: 10px !important;
    padding: 0px !important; 
}
.custom-topic-wrapper .topic-three-dots {
    gap: 4px;
    display: flex;
    flex-direction: column;
}
.custom-topic-wrapper .dropdown {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 6px;
    box-shadow: 0 4px 12px var(--dropdown-shadow);
    padding: 10px 0;
    min-width: 150px;
    z-index: 10;
    transition: all 0.3s ease;
}
.custom-topic-wrapper .ql-editor img {
    height: 200px;
    object-fit: contain;
}
.custom-topic-wrapper .upload-msg {
    color:var(--title-color) !important;
}
.topic-comment-editor form#conversationForm{
	overflow: visible;
}
.custom-topic-wrapper .upload-size span {
    font-size: var(--font-12);
    color: var(--black);
    font-weight: var(--font-weight-regular) !important;
}
.custom-topic-wrapper .upload-success-msg::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    background-image: url(https://community.prostate.org.au/wp-content/uploads/2025/06/correct.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.custom-topic-wrapper .delete-upload.delete-upload-success::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(https://community.prostate.org.au/wp-content/uploads/2025/05/delete_svg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.custom-topic-wrapper .delete-upload.delete-upload-success {
    font-size: 0px !important;
}
.custom-topic-wrapper .delete-upload {
    color: #071D36 !important;
    font-size: 21px !important;
    font-weight: var(--font-weight-regular) !important;
}
.custom-topic-wrapper  #upload-status-list div {
    color:var(--title-color) !important;
}
.custom-topic-wrapper .delete-upload {
    padding-top: 0px !important;
    padding-right: 0px !important;
}
.custom-topic-wrapper .upload-entry {
    margin: 20px 0px;
	align-items:flex-start !important;
}
.custom-topic-wrapper .reply-active .ql-editor img {
    height: 150px;
    object-fit: contain;
}
.custom-topic-wrapper .reply-focus  .post-reply-button:disabled {
   background-color: var(--light-bg) !important;
}
.custom-topic-wrapper .reply-focus  {
    background-color: #fff !important;
	 outline: 2px solid #D3E9F9  !important;
	  border: 2px solid #0389CF !important;
}
.custom-topic-wrapper .ql-toolbar {
    border: none;
}
.custom-topic-wrapper .topic-reply-toolbar-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.custom-topic-wrapper .topic-reply-editor {
    border: 1px solid #EEEFF0;
    padding: 20px;
    border-radius: 24px;
    background-color: #F7F8F9;
}
.toggle-content-btn{
    background: transparent !important;
    border: none !important; 
    color: #153257 !important;
}

.custom-topic-wrapper .user-avatar img {
    width: 30px;
    height: 30px;
    }
.custom-topic-wrapper .nested-replies .child-replies.level-1 {
    margin-left: 40px;
}
.custom-topic-wrapper .nested-replies {
    margin: 20px 0px;
}
.custom-topic-wrapper .load-replies-link {
	color: var(--title-color);
	font-weight:var(--bold-font);
	font-size:var(--font-size-regular);
	margin-bottom:20px;
}
.custom-topic-wrapper .reply-btn {
    background: transparent !important;
	color: var(--title-color) !important;
	font-weight:var( --medium-font) !important;
	font-size:var(--font-size-regular) !important;
	padding:5px !important;
	cursor:pointer !important;
	border-style: none !important;
}
.custom-topic-wrapper .comment-icon img{
   width: 15px;
    height: 100%;
    object-fit: contain;
    display: flex;
}
.custom-topic-wrapper .reply-comment-reaction {
    display: flex;
    gap: 10px;
	margin:20px 0px 24px 0px;
}
.custom-topic-wrapper .reply-comment-count {
	cursor:pointer;
}

.custom-topic-wrapper .reply-reaction-count , .custom-topic-wrapper .reply-comment-count {
 
    align-items: center;
    border: 1px solid #153257;
    padding: 0px 10px;
    border-radius: 50px !important;
    font-weight: var(--font-weight-bold);
    color: var(--title-color);
    display: flex;
    height: 100%;

}
.comment-user-header {
    display: flex;
    justify-content: space-between;
}
.comment-body p {
	 color: var(--title-color);
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
	margin: 20px 0px;
}
.comment-active button#post-comment-btn, .reply-active .post-reply-button {
    background-color: var( --orange-color) !important;
	color: var(--title-color) !important;
	padding:10px;
	border-radius:50px !important;
	cursor:pointer;
}

#conversationForm button#post-comment-btn {
	border-radius:50px !important;
}

.custom-topic-wrapper .comment-focus .text-editor{
background-color:#fff;
}
.custom-topic-wrapper .comment-focus button#post-comment-btn:disabled {
    background-color: #F7F8F9 !important;
}
.custom-topic-wrapper .topic-comment-filter p {
	  color: var(--title-color);
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper #editor-toolbar button:hover {
    background-color: transparent;
}
.custom-topic-wrapper select#comment-filter {
    border: none;
    box-shadow: none;
	  color: var(--title-color);
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper select#comment-filter:hover{
  border: none;
    box-shadow: none;
}
.custom-topic-wrapper .select_container:before{
  color: var(--title-color) !important;
	font-weight:var( --medium-font);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper .select_container:hover {
    box-shadow: none;
}
.select_container:after{
  color: var(--title-color) !important;
}
.custom-topic-wrapper .topic-comment-filter {
    display: flex;
    justify-content: space-between;
    padding: 14px 0px 24px;
}
.custom-topic-wrapper .ql-editor.ql-blank::before {
    font-style: normal;
	font-weight:var( --font-weight-regular);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper .ql-editor p {
	color:var(--title-color);
	font-style:normal;
	font-weight:var( --font-weight-regular);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper .ql-editor::placeholder{
color:var(--text-color-muted);
}
.custom-topic-wrapper .text-editor:focus {
    border: 2px solid #0389CF !important;
}
.custom-topic-wrapper .text-editor:focus-within {
    outline: 2px solid #D3E9F9  !important;
	  border: 2px solid #0389CF !important;
}
.custom-topic-wrapper .post-reply-button:disabled {
    background: transparent !important;
    color: var(--text-color-muted) !important;
	font-weight:var( --font-weight-regular);
    padding: 10px;
    display: flex;
    align-items: center;
    height: 100%;
	border-radius:50px;
	
}
/* 24-4-25-start */
.custom-topic-wrapper button#post-comment-btn:disabled {
    background: transparent !important;
    color:var(--text-color-muted) !important;
    padding: 10px;
    display: flex;
    align-items: center;
    height: 100%;
}
.custom-topic-wrapper div#editor-toolbar, .custom-topic-wrapper .reply-toolbar-10161 {
    border: none;
}
.custom-topic-wrapper .ql-container.ql-snow {
    border: none;
}
.custom-topic-wrapper .text-editor {
    border: 1px solid #EEEFF0 !important;
    padding: 20px !important;
    border-radius: 24px !important;
    background-color: #F7F8F9 !important;
}
.custom-topic-wrapper .topic-editor-toolbar {
    display: flex;
    justify-content: space-between;
    border: none;
}
.custom-topic-wrapper .reaction-icon img {
    width: 20px;
    height: 100%;
    object-fit: contain;
    display: flex;
}
.custom-topic-wrapper .comment-count img{
    width: 15px;
    height: 100%;
    object-fit: contain;
    display: flex;
}
.custom-topic-wrapper .topic-body p {
  color: var(--title-color);
	font-weight:var(--font-weight-regular);
	font-size:var(--font-size-regular);
}
.custom-topic-wrapper .menu-div {
    display: flex;
    align-items: center;
}
  .custom-topic-wrapper .menu-container {
      position: relative;
    }

   .custom-topic-wrapper .three-dots {
     width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    color: var(--title-color);
    }

   .custom-topic-wrapper .dot {
      width: 5px;
      height: 5px;
      background-color:  var(--title-color);
      border-radius: 50%;
    }

    .custom-topic-wrapper .dropdown {
      display: none;
      position: absolute;
      top: 80px;
      right: 0;
      background-color: var(--dropdown-bg);
      box-shadow: var(--dropdown-shadow);
      padding: 10px;
      border-radius: 8px;
      z-index: 100;
    }

    .custom-topic-wrapper .dropdown a {
      display: block;
      text-decoration: none;
      color: #000;
      padding: 5px 0;
    }

   .custom-topic-wrapper .dropdown a:hover {
      color: var(--dot-color);
    }

    .custom-topic-wrapper .show {
      display: block;
    }
.custom-topic-wrapper  .posted-date {
    color: var(--title-color);
	font-weight:var(--font-weight-regular);
}
.custom-topic-wrapper .topic-category a {
    color: var(--title-color);
	font-weight:var(--font-weight-bold);
}
.custom-topic-wrapper .topic-header-dec {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.custom-topic-wrapper .topic-title {
  font-size: var(--font-size-base) !important;
  color: var(--title-color);
}
.custom-topic-wrapper .sidebar_right .content_wrap>.content{
float:unset;
}
.custom-topic-wrapper .topic-reaction {
    display: flex;
    gap: 10px;
}
/* .custom-topic-wrapper .reaction-count {
    border: 1px solid #153257;
    padding: 0px 10px;
    border-radius: 50px;
	font-weight:var(--font-weight-bold);
	color: var(--title-color);
	display:flex;
	height:100%;
} */
.custom-topic-wrapper .comment-count {
    border: 1px solid #153257;
    padding: 0px 10px;
    border-radius: 50px !important;
	font-weight:var(--font-weight-bold);
	color: var(--title-color);
	display:flex;
	height:100%;
    cursor: pointer;
}
/* 24-4-25-start */
#item-header,#item-nav,#bbpress-forums h2,.sidebar{
	display: none;
}
.custom-topic-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2.75em 2.75em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 32px;
    font-family: var(--pcfa-font-family) !important;
}

.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid var(--med-gray-color);
}

.user-meta {
    margin-left: 8px;
}

.username {
    font-weight: 500;
    color: #0A2540;
}

.posted-date {
    font-size: 14px;
    color: #8A8A8A;
}

.topic-category {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.topic-options {
    background: none;
    border: none;
    cursor: pointer;
}

.topic-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: #0A2540;
}

.topic-body {
    margin-top: 10px;
    color: #333;
    line-height: 1.6;
}

.topic-footer {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.reaction-icon,
.comment-icon {
    margin-right: 6px;
}

/******************************************* 01-05-25 starts *******************************/
.custom-topic-wrapper .topic-reaction .reaction-count{
   margin-top: 0px;
}
.custom-topic-wrapper .reaction-popup-container button .reaction-total-count{
   padding: 0px;
   font-size: 15px;
   background-color: transparent;
   color: #153257;
}
.custom-topic-wrapper .reaction-popup-container button .button-icon {
    display: flex;
    align-items: center;
}
.custom-topic-wrapper .reaction-popup-container button {
    border: 1px solid #153257;
    padding: 0px 10px;
    border-radius: 50px;
    font-weight: var(--font-weight-bold);
    color: var(--title-color);
    display: flex;
    height: 100%;
    background: transparent;
    font-size: 15px;
    color: #153257;
}
/******************************************* 01-05-25 Ends *******************************/
@media (max-width: 768px) {
.page-id-0 .page_content_wrap {
    padding:0px !important;
	}
	.custom-topic-wrapper{
border-radius:0px;
}
}
@media (max-width: 575px) {
.custom-topic-wrapper .menu-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
	.custom-topic-wrapper .topic-header-dec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
    flex-direction: column-reverse;
}
	.custom-topic-wrapper .topic-header {
    display: flex;
    justify-content: left !important;
    align-items: center;
    width: 100%;
}
	.custom-topic-wrapper .user-meta {
    gap: 0px;
    flex-direction: column;
}
}