/*
Theme Name: DigiSage, Inc. Beaver Builder Child Theme
Version: 1.0.1
template: bb-theme
*/

/* Abril Titling Regular */
body {
   font-family: abril-titling, serif;
   font-weight: 400;
   font-style: normal;
}
a.button {
   padding: 5px 12px;
   background: transparent !important;
}
a.button:hover {
   text-decoration: none;
   background: #8f5a28 !important;
}
h1,
h2,
h3 {
   font-family: abril-titling, serif;
}
blockquote {
   margin-top: 20px;
   border-left: 1px solid #d1dad8;
}
table {
   width: 100% !important;
   max-width: 100% !important;
   height: auto !important;
   margin-bottom: 20px;
}
table tr td {
   border: 1px solid #ccc;
   padding: 15px;
}

/* header */
#alert-bar {
   position: relative;
}
#alert-bar .fl-module-content span.alert-title {
   display: inline-block;
   margin-right: 10px;
   color: #fff;
   font-size: 34px;
}
#alert-bar .fl-module-content p {
   margin: 0 !important;
}
#alert-bar .fl-module-content a {
   font-size: 20px !important;
   text-decoration: underline;
}

header.fl-builder-content {
   position: relative;
}
#alert-bar::before,
header.fl-builder-content::before {
   display: block;
   content: '';
   position: absolute;
   z-index: 1;
   top: 0;
   left: -25px;
   width: calc((100% - 1400px) / 2);
   height: 100%;
   background: #8f5a28;
}
ul#ds-bb-menu > li {
   position: relative;
}
ul#ds-bb-menu > li:not(:last-child)::after {
   content: '';
   width: 1px;
   height: 30px;
   position: absolute;
   right: 0;
   top: 0;
   background: #c0ccca;
}
ul#ds-bb-menu > li a {
   position: relative;
   border-bottom: 8px solid transparent;
}
ul#ds-bb-menu > li.active a,
ul#ds-bb-menu > li a:hover {
   border-bottom-color: #4f5957;
}
ul#ds-bb-menu > li > ul.sub-menu {
   top: calc(100% + 17px) !important;
   left: -55px;
   border-left: 8px solid #8f5a28;
}
ul#ds-bb-menu > li.wide-dropdwon > ul.sub-menu {
   width: 560px !important;
   left: -80px;
}
ul#ds-bb-menu > li.wide-dropdwon > ul.sub-menu li {
   width: 50%;
   float: left;
}
ul#ds-bb-menu > li.wide-dropdwon > ul.sub-menu li a {
   padding-right: 20px !important;
}
ul#ds-bb-menu > li > ul.sub-menu li a:hover {
   text-decoration: underline;
}
@media (max-width: 1500px) {
   #alert-bar::before,
   header.fl-builder-content::before {
      top: 0;
      left: 0px;
      width: 20px;
   }
}
@media (max-width: 1300px) {
   ul#ds-bb-menu > li a {
      font-size: 16px;
   }
}
@media (max-width: 768px) {
   a#main-menu-toggle {
      right: 20px;
      top: -95px !important;
   }
   .fl-module-ds-navigation > .fl-module-content {
      margin: 0 !important;
   }
}

/* force template columns */
#primary {
   width: 70% !important;
}
#secondary {
   width: 30% !important;
}
@media (max-width: 768px) {
   #primary {
      width: 100% !important;
   }
   #secondary {
      width: 100% !important;
   }
}

/* footer */
#main-footer {
   background-color: #d7dfdd;
   background-image:
      linear-gradient(
         to right,
         #f0f3f2,
         #f0f3f2 50%,
         #9baeab 50%,
         #9baeab 100%
      ) !important;
}
.mailchimp-signup .gform_footer {
   justify-content: flex-end; /* moving submit button to right (align in module did not work) */
}
@media (max-width: 768px) {
   #main-footer {
      background-color: #f0f3f2;
      background-image: none !important;
   }
   .footer-last-col {
      background: #9baeab;
   }
}


/* home page content */

/* post results custom template */
.home-featured-post {
   position: relative;
}
.home-featured-post::before {
   content: '';
   display: block;
   position: absolute;
   z-index: 1;
   top: 20px;
   left: 20px;
   width: 1px;
   height: calc(100% - 60px);
   background: #9baeab;
}

.tlb-post-result h3 {
   font-weight: 400;
}
.tlb-post-result.featured-post {
   padding-right: 50px;
}
.tlb-post-result.featured-post h3 {
   font-size: 36px;
   color: #000;
   line-height: 1.1;
   margin: 0 0 25px 0;
}
.tlb-post-result h3 a {
   color: #000;
}
.tlb-post-result h3 a:hover {
   color: #8f5a28;
}
.tlb-post-result .post-meta-wrap {
   font-size: 16px;
   overflow: hidden;
   font-family: 'Open Sans', sans-serif;
}
.tlb-post-result .post-meta-wrap .post-authors {
   margin-bottom: 10px;
}
.tlb-post-result .post-meta-wrap .post-authors a {
   text-decoration: underline;
}
.tlb-post-result .post-meta-wrap .post-authors a:hover {
   text-decoration: underline;
}
.tlb-post-result .post-meta-wrap .post-date-cat {
   margin-bottom: 20px;
   font-style: italic;
   display: inline-block;
   padding: 0 40px 0 0;
   border-top: 1px solid #d1dad8;
}
.tlb-post-result .post-meta-wrap .post-date-cat span {
   padding-top: 5px;
}
.tlb-post-result .post-meta-wrap .post-date-cat span.date {
   display: inline-block;
   margin-right: 20px;
   color: #848484;
}
.tlb-post-result .post-meta-wrap .post-date-cat span.terms {
   color: #9baeab;
}
.tlb-post-result .post-meta-wrap .post-date-cat span.terms a {
   color: #9baeab;
   text-decoration: underline;
}
.tlb-post-result .post-meta-wrap .post-date-cat span.terms a:hover {
   color: #656565;
   text-decoration: none;
}
.tlb-post-result .img-excerpt-row {
   display: flex;
   flex-wrap: nowrap;
}
.tlb-post-result .img-excerpt-row .fl-post-excerpt {
   flex: 1;
}
.tlb-post-result .img-excerpt-row .fl-post-excerpt p {
   margin: 0 0 25px 0;
}
.tlb-post-result .img-excerpt-row .fl-post-image {
   width: 30%;
   padding-right: 30px;
}
.tlb-post-result .img-excerpt-row .fl-post-image img {
   margin-top: 8px;
}
@media (max-width: 1200px) {
   .tlb-post-result.featured-post {
      padding-right: 0px;
   }
}

/* alternate styling for recent posts feed */
.recent-posts-feed .fl-post-feed-post {
   position: relative;
   margin-bottom: 0px !important;
   padding: 10px 50px 40px 0;
   border-bottom: none;
   overflow: visible !important;
}
.recent-posts-feed .fl-post-feed-post:nth-child(odd) {
   background: #f5f7f6;
}
.recent-posts-feed .fl-post-feed-post:nth-child(even) {
   background: #e6ebea;
}
.recent-posts-feed .fl-post-feed-post::before {
   content: '';
   display: block;
   position: absolute;
   z-index: 1;
   top: 0;
   left: -9999px;
   width: 9999px;
   height: 100%;
}
.recent-posts-feed .fl-post-feed-post:nth-child(odd)::before {
   background: #f5f7f6;
}
.recent-posts-feed .fl-post-feed-post:nth-child(even)::before {
   background: #e6ebea;
}
.recent-posts-feed .tlb-home-post h3 {
   font-size: 26px;
}
.recent-posts-feed .post-meta-wrap .post-date-cat span.date {
   background: #d1dad8 !important;
   padding: 2px 60px 2px 15px;
}
/* no post results message */
.recent-posts-feed .fl-post-grid-empty {
   padding: 20px 0 20px 20px;
}
@media (max-width: 1200px) {
   .recent-posts-feed .fl-post-feed-post {
      padding-right: 0;
   }
}
@media (max-width: 900px) {
   .recent-posts-feed .fl-post-feed-post h2 {
      line-height: 1.2;
   }
   .tlb-post-result .img-excerpt-row {
      display: block;
   }
   .tlb-post-result .img-excerpt-row .fl-post-image {
      width: 100%;
      margin-bottom: 15px;
      padding-right: 0px;
   }
}
@media (max-width: 768px) {
   .fl-post-feed-post.fl-post-feed-image-beside {
      max-width: 100% !important;
   }
}
@media (max-width: 600px) {
   .tlb-post-result .post-meta-wrap .post-date-cat {
      display: block;
      padding: 0;
      border-top: none;
   }
   .tlb-post-result .post-meta-wrap .post-date-cat span {
      display: block;
   }
   .recent-posts-feed .post-meta-wrap .post-date-cat span.date {
      padding: 2px 15px;
   }
}

/* title bars that extend to left edge of screen */
.home-green-bar {
   position: relative;
   background: #9baeab;
}
.home-green-bar::before {
   display: block;
   content: '';
   position: absolute;
   z-index: 1;
   top: 0;
   left: -9999px;
   width: 9999px;
   height: 100%;
   background: #9baeab;
}
.home-green-bar:first-of-type {
   margin-top: 25px;
}

/* featured posts at bottom of page */
.home-feature-bottom .pp-content-grid-post-text {
   padding: 0 0 10px 0 !important;
}
.home-feature-bottom h3 {
   font-size: 26px !important;
   margin-bottom: 15px !important;
}
.home-feature-bottom h3 a {
   color: #000;
}
.home-feature-bottom h3 a:hover {
   color: #8e5928;
}
.home-feature-bottom .pp-post-meta {
   color: #656565;
}
.home-feature-bottom .pp-post-meta a {
   color: #8e5928 !important;
   text-decoration: underline;
}
.home-feature-bottom .pp-post-meta a:hover {
   text-decoration: none !important;
}
.home-feature-bottom .pp-content-grid-post:nth-of-type(5),
.home-feature-bottom .pp-content-grid-post:nth-of-type(6) {
   border-bottom: none !important;
}

/* home sidebar */
.sidebar-heading {
   border-bottom: 1px solid #9baeab;
}
.sidebar-text-light-bg ul li {
   margin: 0 0 20px 0;
}
.sidebar-text-light-bg p {
   margin: 0 0 20px 0;
}

/* contributor page  */
.tlb-contributor-row .tlb-contrib-photo-col                    { width: 15%; }
.tlb-contributor-row .tlb-contrib-photo-col > .fl-col-content  { margin-top: 10px; }
.tlb-contributor-row .tlb-contrib-photo-col .fl-photo          { text-align: left; }
.tlb-contributor-row .tlb-contrib-photo-col .fl-photo-img,
.tlb-contributor-row .tlb-contrib-photo-col .fl-photo-content  { width: 150px; }
.tlb-contributor-row .tlb-contrib-bio-col                      { width: 85%; }
.tlb-contributor-row .tlb-contrib-bio-col h2                   { margin-top: 0px; }
.tlb-contributor-row .tlb-contrib-bio-col > .fl-module-content { margin-top: 0px; }

/* founding editors (short code) */
.founder-card {
   display: flex;
   flex-wrap: nowrap;
   margin-bottom: 10px;
   background: #f8f7f7;
   border-left: 10px solid #8f5a28;
}
.founder-card .bio-img {
   width: 140px;
   background-repeat:        no-repeat;
   background-position:      center top;
   -webkit-background-size:  cover;
   -moz-background-size:     cover;
   -o-background-size:       cover;
   background-size:          cover;
}
.founder-card .user-meta {
   width: calc( 100% - 140px);
   padding: 15px;
   line-height: 2;
   font-family: 'Open Sans', arial;
}
.founder-card .user-meta .institution {
   line-height: 1.4 !important;
}
.founder-card .user-meta h4 {
   margin: 0;
   padding: 0;
   font-size: 18px;
   font-weight: 500;
   color: #656565;
   font-family: 'Open Sans', arial;
}
.founder-card .user-meta .institution {
   font-size: 16px;
   font-style: italic;
   height: 60px;
}
.founder-card .user-meta a.ema {
   font-size: 14px;
   display: block;
   color: #656565;
   line-height: 1;
   margin-bottom: 7px;
}
.founder-card .user-meta a.ema span:nth-child(2) {
   display: none;
}
.founder-card .user-meta a.twitter {
   font-size: 14px;
   display: block;
   color: #2aa4dd;
}
.founder-card .user-meta a.twitter i {
   font-size: 20px;
   vertical-align:middle;
}
.founder-card .user-meta .user-links {
   font-size: 14px;
}
.founder-card .user-meta .user-links a {
   color: #656565;
   text-decoration: underline;
}
.founder-card .user-meta .user-links a:hover {
   text-decoration: none;
}
@media (max-width: 1400px) {
   .founder-card .user-meta a.ema span:nth-child(1) {
      display: none;
   }
   .founder-card .user-meta a.ema span:nth-child(2) {
      display: block;
   }
}
@media (max-width: 1200px) {
   .founder-card .user-meta .institution {
      height: auto;
   }
   .founder-card .bio-img {
      width: 100px;
   }
   .founder-card .user-meta {
      width: calc( 100% - 100px);
   }
}
@media (min-width: 768px) and (max-width: 1100px) {
   .founder-card {
      display: block;
   }
   .founder-card .bio-img {
      width: 130px;
      height: 160px;
   }
   .founder-card .user-meta {
      width: 100%;
   }
}
@media (max-width: 768px) {
   .founder-card {
      display: flex;
   }
   .founder-card .bio-img {
      width: 140px;
   }
   .founder-card .user-meta {
      width: calc(100% - 140px);
   }
}
@media (max-width: 370px) {
   .founder-card {
      display: block;
   }
   .founder-card .bio-img {
      width: 130px;
      height: 160px;
   }
   .founder-card .user-meta {
      width: 100%;
   }
}

/* guest authors (short code) */
.guest-author-card {
   margin: 0 0 30px 0;
   font-family: 'Open Sans', arial;
}
.guest-author-card h4 {
   margin: 0;
   color: #000;
   font-size: 18px;
}
.guest-author-card .institution {
   font-size: 16px;
   color: #656565;
   font-style: italic;
}
.guest-author-card a {
   display: inline-block;
}
.guest-author-card a.twitter {
   color: #2aa4dd;
   font-size: 16px;
}
.guest-author-card a.bio,
.guest-author-card a.posts {
   font-size: 14px;
   color: #656565;
   text-decoration: underline;
}
.guest-author-card a.bio:hover,
.guest-author-card a.posts:hover {
   text-decoration: none;
}

/* sidebar podcast cards */
.podcast-card {
   position: relative;
   padding: 20px;
   background: #e6ebea;
   font-family: 'Open Sans', arial;
}
.podcast-card h4 {
   font-size: 16px !important;
   color: #000;
   margin: 0 0 10px 0;
   padding: 0 60px 0 0;
   font-family: 'Open Sans', arial;
}
.podcast-card .pp-post-meta {
   font-size: 14px !important;
   padding: 0 60px 0 0;
}
.podcast-card .pp-post-meta a {
   color: #8f5a28;
   text-decoration: underline;
}
.podcast-card .pp-post-meta a:hover {
   text-decoration: none;
}
.podcast-card a.play-btn {
   display: block;
   position: absolute;
   overflow: hidden;
   text-indent: -999px;
   top: 17px;
   right: 15px;
   width: 44px;
   height: 44px;
   background: #9baeac;
   -moz-border-radius:     50%;
   -webkit-border-radius:  50%;
   border-radius:          50%;
   -khtml-border-radius:   50%;
}
.podcast-card a.play-btn::before {
   content: '';
   display: block;
   width: 0;
   height: 0;
   position: absolute;
   top: 10px;
   left: 16px;
   border-top:    12px solid transparent;
   border-bottom: 12px solid transparent;
   border-left:   18px solid #ec1c23;
}
.podcast-card a.play-btn:hover {
   background: #aec1bf;
}
.podcast-card a.play-btn:hover::before {
   border-left-color: #fff;
}

/* contributors */
.sidebar-contributors {
   font-size: 16px;
}
.sidebar-contributors h4 {
   font-size: 18px;
   color: #000;
   margin: 0;
   font-family: 'Open Sans', arial;
}
.sidebar-contributors p {
   margin-bottom: 30px;
}
.sidebar-contributors strong {
   font-size: 18px;
}
.sidebar-contributors a {
   color: #746661;
   text-decoration: underline;
}
.sidebar-contributors a:hover {
   text-decoration: none;
}
.sidebar-contributors a[target="_blank"] {
   color: #2aa4dd;
   font-weight: bold;
   text-decoration: none;
}

/* single post */
#post-featured-image {
   display: block;
   width: auto !important;
   max-width: 427px !important;
   float: right;
   text-align: center;
   font-size: 0.8em;
   padding: 0 0 15px 15px;
}
#post-featured-image img {
   display: block;
   width: auto !important;
   height: auto !important;
   max-height: 427px !important;
}
#post-featured-image p {
   margin: 0 20px 0 20px;
}
@media (max-width: 950px) {
   #post-featured-image {
      max-width: 300px !important;
   }
   #post-featured-image img {
      max-height: 300px !important;
   }
}
@media (max-width: 500px) {
   #post-featured-image {
      width: 100%;
      max-width: none !important;
      padding: 0 0 15px 0;
   }
   #post-featured-image img {
      max-height: none !important;
   }
}

.single-post-date .fl-module-content {
   width: 380px;
   max-width: 100%;
   border-bottom: 1px solid #d1dad8;
}
.single-post-nav .nav-links a {
   width: 170px;
   padding: 1px 12px 2px 12px;
   text-align: center;
   color: #656565;
   border: 1px solid #656565;
}
.single-post-nav .nav-links a:hover {
   color: #fff;
   background: #656565;
   text-decoration: none;
}
.fl-node-rhyebs1cwfpz .nav-links .nav-next {
   text-align: left !important;
}
/* sidebar author cards */
.post-author-card {
   padding: 30px 0;
   font-family: 'Open Sans', arial;
}
.post-author-card h4 {
   margin: 0 0 5px 0;
   padding: 0 0 0 20px;
   font-size: 18px;
   color: #8f5a28;
   font-family: 'Open Sans', arial;
}
.post-author-card .institution {
   font-size: 16px;
   font-style: italic;
   color: #656565;
   margin: 0 0 10px 0;
   padding: 0 0 10px 20px;
   border-bottom: 1px solid #9baeab;
}
.post-author-card a.ema {
   display: block;
   font-size: 14px;
   color: #656565;
   padding: 0 0 5px 20px;
}
.post-author-card a.twitter {
   display: block;
   font-size: 14px;
   color: #2aa4dd;
   padding: 0 0 0 20px;
}
.post-author-card a.twitter i {
   font-size: 20px;
   vertical-align: middle;
}
.post-author-card a.twitter:hover {
   color: #8f5a28;
   text-decoration: none;
}

/* archive */
.archive .fl-post-feed-post,
.blog .fl-post-feed-post {
   border-bottom: none !important;
}

@media print {
   body,
   h1, h2, h3, h4, h5, h6, p {
      color: #000 !important;
   }
   #secondary,                      /* sidebar (global with Founders, etc.) */
   .fl-builder-content-151,         /* alert notice bar */
   header.fl-builder-content-37,    /* main header */
   .fl-node-d8ek6f3xprmy,           /* prev / next post button on single */
   footer.fl-builder-content-109,   /* main footer */
   .single-post-feat-img,           /* post featured image */
   .fl-node-2ew9qtb3a80u,           /* border post bottom */
   .fl-node-3hlg1wvmnxyf,           /* post topics */
   .fl-node-4dz0ba2l7ygr,           /* post tags */
   .fl-node-fpo416imq359,           /* post bottom border */
   .fl-node-d8ek6f3xprmy,           /* return home button */
   .fl-node-2n4kpwer8t9q,           /* related posts */
   .fl-node-9ikmwdnrbotu,           /* post sidebar */
   .fl-node-ndkvj8a0zmr5            /* social share buttons */
   {
      display: none !important;
   }
   #primary {
      width: 100% !important;
   }
   .fl-node-cybdwkm5jn7g > .fl-row-content-wrap {
      padding: 0 !important;
   }
   .single-post-date .fl-module-content {
      border-bottom: none;
      margin-bottom: 0 !important;
   }

   /* Requested 6-23-2022 by Bill
      Override base BB theme to stop URL's from printing after link */
   a[href]:after {
      content: none !important;
   }
   /* Requested 6-23-2022 by Bill
      Match the blockquote styles */
   pre, blockquote {
      border-top: none;
      border-bottom: none;
      border-right: none;
   }

}

