/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 7.1.2
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

#site-header.top-header {
  padding: 0px 0 15px 0;
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 70%, rgba(227,227,227,1) 100%);
}

.page-header {
  background: transparent;
}

#main #content-wrap #primary {
  width: 100%;
  border-color: transparent;
  padding-right: 0;
}

#main #content-wrap #right-sidebar {
  display: none;
}

#site-logo #site-logo-inner a:hover img {
  -moz-opacity: 1;
  -webkit-opacity: 1;
  opacity: 1;
}

#site-header-inner {
  display: none;
}

#bbpress-forums #bbp-search-form #bbp_search,
.bbp-search-form input[type=text] {
  border-radius: 0;
}

.bbp-search-form input[type=text] {
  width: calc(100% - 130px);
}

.bbp-search-form input[type=submit] {
    width: 120px;
}

/* Hide Guest email and website */
.bbp-topic-form #new-post p:nth-child(4),
.bbp-reply-form #new-post p:nth-child(3),
.bbp-reply-form #new-post p:nth-child(4) { 
  display: none; 
}

@media screen and (max-width: 768px) {
/* Fix horizontal scrolling */
  #bbpress-forums ul.bbp-forums, 
  #bbpress-forums ul.bbp-lead-topic, 
  #bbpress-forums ul.bbp-replies, 
  #bbpress-forums ul.bbp-search-results, 
  #bbpress-forums ul.bbp-topics {
    width: 100%;
    overflow: auto;
  }

  #bbpress-forums li.bbp-body, 
  #bbpress-forums li.bbp-footer, 
  #bbpress-forums li.bbp-header {
    width: 700px;
  }
/* /Fix horizontal scrolling */
}

@media screen and (max-width: 480px) {
  #bbpress-forums li.bbp-topic-freshness, li.bbp-forum-info, li.bbp-topic-title {
    width: 32% !important;
  }

  li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-topic-reply-count, li.bbp-topic-voice-count {
    width: 18% !important;
  }
}

/* Forum / Topic main message - Hide until content is fixed */
#bbpress-forums .bbp-template-notice.info,
.bbp-forum-description, .bbp-topic-description {
  display: none;
}
/*
.bbp-reply-post-date {
  display: none;
}
*/
.hide-time { 
  display: none;
}

.bbp-forum-description.active, .bbp-topic-description.active,
.bbp-reply-post-date.active {
  display: block;
}

#main {
  background: #E3E3E3;
}

#main #content-wrap {
  padding-top: 0;
}
#bbpress-forums {
  background: white !important;
  padding: 5px 20px;
}

.single-page-article h2.ls-blog-ttl {
  font-size: 1.75em;
  margin-bottom: 0;
  background: white;
  padding-left: 30px;
  color: black;
  padding: 10px 0 0 30px;
}

.bbp-search-form { 
  padding: 15px 0; 
}

.bbp-search-form form input#bbp_search { 
  background: white; 
}

#bbpress-forums .bbp-pagination,
#bbpress-forums .bbp-topic-meta {
  display: none;
}

#bbpress-forums li.bbp-body ul.forum, 
#bbpress-forums li.bbp-body ul.topic {
  padding: 8px 0 0 0;
  border-top: none !important;
  height: 35px;
}

.bbp-reply-revision-log,
.bbp-topics .bbp-header, 
#bbpress-forums li.bbp-body ul.forum .bbp-topic-voice-count, 
#bbpress-forums li.bbp-body ul.forum .bbp-topic-reply-count,
#bbpress-forums li.bbp-body ul.forum .bbp-topic-freshness,
#bbpress-forums li.bbp-body ul.topic .bbp-topic-voice-count, 
#bbpress-forums li.bbp-body ul.topic .bbp-topic-reply-count,
#bbpress-forums li.bbp-body ul.topic .bbp-topic-freshness,
#bbpress-forums .bbp-pagination-count {
  display: none;
}

#bbpress-forums li.bbp-body ul.forum .bbp-topic-title {
  float: none;
  width: 100%;
}

#bbpress-forums li a.bbp-topic-permalink {
  font-weight: bold;
  font-size: 1.365em;
  color: #cb4300;
  text-decoration: none;
}

#bbpress-forums li a.bbp-topic-permalink:hover {
  text-decoration: underline;
}

#bbpress-forums li.bbp-footer {
  border-top: none;
}


#bbpress-forums .bbp-threaded-replies {
  margin-bottom: 20px !important;
  background-color: #fff8ea !important; /* Light background similar to Reddit */
  
  border-left: 15px solid #dfe1e5; /* Add a left border to emphasize nesting */
}

#bbpress-forums .bbp-threaded-reply {
  margin-left: 20px; /* Indentation for nested replies */
}

.bbp-reply-header a.bbp-reply-permalink { display: none; }

/* Author role */
.bbp-author-role { display: none; }
