/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

html > body .compact-design {
  padding: 0 300px;
}

html > body .hero-headings {
  max-width: 980px;
  margin: 0 auto;
  background: #36363669;
  padding: 40px 20px;
  border-radius: 15px;
  /* 	  border-style: dashed;
	  border-color: #a21a5e;
	  border-width: 2px; */
}

html > body .banner-shadow {
  /* 	background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%); */
}

html > body.single-post .page-title.solid-bg {
  background-color: transparent;
}

html > body.single-post .page-title-head .entry-title {
  color: #1f1f1f !important;
  border-bottom: 6px solid;
  border-image-source: linear-gradient(
    90deg,
    #9d1659 0,
    #f40a7f 20%,
    #ff0529 20%,
    #ff02e3 40%,
    #fc09e2 40%,
    #d695d2 60%,
    #e084fa 60%,
    #f1bc00 80%,
    #f8bc0a 80%,
    #66e753 100%
  );
  border-image-slice: 1;
  border-top: 6px solid;
}

html > body.single-post .page-title .wf-wrap {
  min-height: unset;
  padding-top: 30px;
  padding-bottom: 30px;
}

html > body.single-post #main {
  padding: 0px 0 70px 0;
}

html > body.single-post .page-title-breadcrumbs {
  display: none;
}

html > body .homeschooling-services {
  background: #f2f2f2;
  padding: 40px 20px;
  margin-bottom: 30px;
  min-height: 300px;
  display: block;
}

html > body .homeschooling-services .text-icon .icon-inner {
  margin-bottom: 10px;
}

html > body .ez-toc-sticky-fixed {
  width: 20%;
}

html
  > body
  .ez-toc-sticky-fixed
  .ez-toc-sidebar
  .ez-toc-sticky-title-container
  .ez-toc-sticky-title {
  color: #fff;
}

html
  > body
  .ez-toc-sticky-fixed
  .ez-toc-sidebar
  .ez-toc-sticky-title-container {
  background-color: #9c1d5e;
  border-bottom: 1px solid #9c1d5e;
}

html > body #ez-toc-sticky-container a {
  color: #9c1d5e;
}

#ez-toc-sticky-container a:visited {
  color: #958e92;
}

html .custom-page-toc {
  background: rgba(0, 0, 0, 0.04);
  padding: 20px 40px;
  margin-bottom: 60px;
}

html .custom-page-toc ul li {
  font-size: 20px;
  margin-bottom: 12px;
}

html > body .zoom-social-icons-list {
  margin: 0px;
}

body .lwptoc {
  margin: 0;
  max-height: 500px;
  overflow-y: scroll;
}

body .lwptoc-transparent .lwptoc_i {
  border: none;
  padding: 0;
}

body .lwptoc_header,
body .sidebar .widget-title {
  color: #fff !important;
  margin-bottom: 25px;
  background: #363636;
  padding: 5px 10px;
  font-size: 18px !important;
  margin-top: 20px;
  border-radius: 4px;
  display: inline-block;
}

body .lwptoc_item a {
  color: #1a1a1a !important;
  font-size: 14px !important;
  line-height: 26px !important;
}

body .lwptoc_item a:hover,
body .lwptoc_item a:visited {
  color: #9c1d5e !important;
}

body.single-portfolio #main {
  padding: 20px 0 70px 0;
}

body.single-portfolio header .post-navigation .nav-previous {
  /* position: sticky;
  left: 0;
  top: 120px; */

  max-width: 600px;

  padding: 15px;
  word-wrap: break-word;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: left;
  margin: 0;
}

body.single-portfolio header .post-navigation .nav-next {
  /* position: sticky;
  right: 0;
  top: 120px; */

  max-width: 600px;

  padding: 15px;
  text-align: right;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin: 0;
  justify-content: end;
}

body.single-portfolio header .post-navigation span.post-title {
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  order: 2;
}
.post-navigation .nav-next .post-title {
  align-self: center;
}
.post-navigation .nav-previous .post-title {
  align-self: center;
}

body.single-portfolio header .post-navigation span.post-title:hover {
  color: #f0f0f0 !important;
  background: unset !important;
  text-decoration: underline;
}

body.single-portfolio header .post-navigation span.meta-nav {
  color: #fff;
  text-decoration: underline;
  font-size: 13px;
  margin-bottom: 0;

  order: 1;
}

body.single-portfolio header .post-navigation .nav-previous span.meta-nav {
  margin-right: 10px;

  order: 2;
}

body.single-portfolio header .post-navigation .nav-next span.meta-nav {
  order: 1;
}

body.single-portfolio header .post-navigation .nav-links svg {
  fill: #fff;
  position: relative;
  width: 20px;
  top: 0;
  transform: translateY(0%);
  order: 2;
  margin-right: 10px;
}

body.single-portfolio header .post-navigation .nav-next svg {
  order: 2;
}

body.single-portfolio header .post-navigation .nav-previous svg {
  fill: #fff;
  position: relative;
  width: 20px;
  top: 0;
  transform: translateY(0%);
  order: 2;
  margin-right: 0px;
}
#fancy-header {
  display: block !important;
}

.fancy-title-head {
  max-width: 80% !important;
}

.nav-links {
  justify-content: space-between;
  border: 0px !important;
}

#fancy-header .wf-wrap {
  align-content: center !important;
}

#fancy-header {
  background-color: #9c1d5e;
  padding: 20px 0px 0px 0px;
}

.sidebar-right .post-content a {
  font-size: 13px;
  color: #39383d;
  line-height: 20px;
}

.sidebar-right .post-content time {
  font-size: 13px;
  color: #8b8d94;
  line-height: 20px;
}

.post-navigation .nav-links {
  padding: 0 !important;
}

#fancy-header .wf-service_header .fancy-title {
  color: white;
  text-align: center;
}

#fancy-header .wf-service_header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto !important;
  padding: 20px;
}

#fancy-header .wf-service_header .breadcrumbs {
  display: none !important;
}

body .post-short-details {
  text-align: center;
  color: #fff;
}

.author-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.author-info p {
  display: flex;
  justify-content: center;
  color: white;
  gap: 10px;
  font-size: 16px;
}

.author-info p svg {
  width: 15px;
}

.user_profile img {
  border-radius: 100px;
}

#author-information p,
#author-information span {
  font-size: 16px;
  margin-top: 10px;
}

.author-bio {
  color: black !important;
}

#author-information span {
  font-size: 16px;
  font-weight: bold;
}
/* Container styles

/* Left Sidebar */
.leftsidebar {
  position: sticky; /* Initially sticky */
  top: 80px; /* Matches content */
  width: 250px;
  max-height: calc(100vh - 80px);
  overflow: auto; /* Hides scrollbar */
  background: #fff;

  border-right: 1px solid #eee;
  transition: top 0.3s ease-in-out;
}

/* Sidebar becomes fixed when user scrolls */
.leftsidebar.fixed {
  position: fixed;
  top: 80px; /* Fixed position */
}

/* Sidebar becomes sticky only when it reaches its final content */
.leftsidebar.sticky {
  position: absolute;
  top: auto;
  bottom: 0;
}

/* Content Area */
#content {
  flex: 1;
  min-height: 100vh;
}

body.single-post #content {
  background: #ffffff94;
  padding: 0 15px;
}

/* Right sidebar styles */
.sidebar-right {
  width: 300px; /* Adjust based on your design */
  flex-shrink: 0;
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari) */
.leftsidebar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for Firefox */
.leftsidebar {
  scrollbar-width: none;
}

/* Hide scrollbar for Edge, IE */
.leftsidebar {
  -ms-overflow-style: none;
}

/* Optional: Add shadow to sidebar for depth */
.leftsidebar {
  border-right: 1px solid #eee;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .leftsidebar {
    width: 100%; /* Hide sidebar on mobile */
  }
}

.sidebar-right .widget-title,
body .wp-block-search .wp-block-search__label {
  background-color: #363636;
  color: white;
  padding: 5px;
  font-size: 18px;
  border-radius: 4px;
  display: inline-block;
}

body.single-post {
  position: relative;
  margin: 0;
}

body.single-post:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url('https://raisingprecious.com/wp-content/uploads/2025/02/main-rp-body-bg-scaled.jpg') no-repeat 100% 0/contain; */
  opacity: 0.2;
  z-index: -1;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 100% 0;
}

body.single-post.random-bg::before {
  background-image: var(--random-bg);
}

body .wp-block-search__inside-wrapper {
  flex-direction: column;
}

body .wp-block-search__inside-wrapper .wp-block-search__button {
  display: inline-block;
  margin: 0;
}

.nav-links .disabled {
  opacity: 0;
}
.project-info-box .portfolio-categories {
  margin-top: 60px;
}

#main {
  width: 100% !important;
}

/**Right Sidebar code*/

.sidebar-left .wf-container-main {
  display: block !important;
}

.sidebar-left .wf-wrap {
  padding: 10px !important;
}

/* Dual Sidebar Layout */
#main {
  display: flex;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  justify-content: space-between;
}

#main.with-dual-sidebar #content {
  flex: 1;
  min-width: 0;
  order: 2;
  width: 60%;
}
.sidebar-left .sidebar-content {
  padding-right: 0 !important;
}

#main .sidebar-left {
  width: 20%; /* Adjust width as needed */
  flex-shrink: 0;
  order: 0;
}

#main .sidebar-right {
  width: 20%; /* Adjust width as needed */
  flex-shrink: 0;
  order: 3;
}

@media screen and (max-width: 1200px) {
  #main {
    gap: 30px;
  }

  .compact-design {
    padding: 0 !important;
  }
  #main .sidebar-left,
  #main .sidebar-right {
    width: 250px;
  }
}

@media screen and (max-width: 991px) {
  #main {
    flex-direction: column;
  }

  #main .sidebar-left,
  #main .sidebar-right {
    width: 100%;
    margin-bottom: 30px;
  }

  #main.with-dual-sidebar #content {
    order: 1;
  }

  #main .sidebar-left {
    order: 2;
  }

  #main .sidebar-right {
    order: 3;
  }
}

/* Additional styling for widgets */
.sidebar-left .widget,
.sidebar-right .widget {
  margin-bottom: 30px;
  padding: 20px;
  background: #f5f5f5; /* Optional: adds background to widgets */
}

.widget-title {
  margin-bottom: 15px;
}

.post-navigation .post-title,
.post-navigation .post-title {
  font-size: 14px !important;
}
.project-info-box {
  margin-bottom: 50px !important;
}

@media (max-width: 1230px) {
  .fancy-title-head {
    max-width: 60% !important;
  }
  .fancy-header .fancy-title {
    font-size: 40px !important;
    line-height: 50px !important;
  }
}

@media (max-width: 800px) {
  .nav-links {
    margin-top: 0;
  }
  .fancy-header .hgroup,
  .page-title .hgroup {
    overflow: visible;
  }
}

@media (max-width: 500px) {
  .post-navigation .nav-links {
    flex-direction: row;
  }
  .fancy-title-head {
    max-width: 100% !important;
  }
  .fancy-header .fancy-title {
    font-size: 33px !important;
    line-height: 40px !important;
  }
  .author-info {
    flex-direction: column;
    gap: 0px;
  }
  body.single-portfolio header .post-navigation .nav-previous {
    margin-top: 20px;
  }
}

.project-info-box {
  display: none;
}
#content .dt_portfolio .nav-previous {
  display: none;
}
#content .dt_portfolio .nav-next {
  width: 100%;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background-color: #9c1d5e;
  padding: 20px;
}

#content .dt_portfolio .nav-next svg {
  position: relative;
  top: 0;
  transform: translateY(0%);
  order: 2;
  color: white;
  fill: rgba(255, 255, 255);
  width: 20px !important;
}
#content .dt_portfolio .nav-next .meta-nav {
  margin-bottom: 0;
  order: 1;
  color: white;
}
#content .dt_portfolio .nav-next .post-title {
  color: white;
}
#content .dt_portfolio .nav-next .post-title {
  color: white !important;
}

.blog_post h2 {
  margin-top: 35px;
  margin-bottom: 10px;
}

.blog_post ul{
 margin: 15px 0px;
 margin-left: 30px;
}
.blog_post h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.blog_post h3 {
  margin-top: 35px;
  margin-bottom: 10px;
} 