/**
Theme Name: Hidden Brain
Author: Demian Perry
Author URI: mailto:demian@hiddenbrain.org
Description: Built on the awesome Astra project, I have tried to restrict changes as much as possible.  One major variant is the handling of audio urls and the incorporation of a persistent player in the footer.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidden-brain
Template: astra
*/

.site-footer {
    margin-bottom: 30px !important;
}

figcaption {
  font-size: .8rem;
  color: gray;
  font-style: italic;
  caption-side: bottom;
}

img[class^="wp-image-"] {
    border: 1px solid gray;
}

#primary, #secondary {
  margin-top: 30px;
}

.ub-post-grid-items article {
  padding-bottom: 30px !important;
}

.ub-post-grid-items img {
  border: 1px solid gray;
}

.featured {
  background: #F4F1DE;
  padding: 20px;
}

article h2 {
  margin-top: 50px;
  font-weight: bold;
}

#latest-episodes {
  margin-top: 0px;
}

.featured h2 {
  margin-top: 0px;
}

aside {
  margin-bottom: 20px !important;
}

aside img {
  padding-top: 20px;
}

aside article {
  border-top: 1px solid lightgray;
}

.related_excerpt {
  line-height: 1rem;
  color: black;
  padding-bottom: 40px;
  display: none;
}

.related_title {
  margin-top: 20px;
  margin-bottom: 50px;
  font-weight: bolder;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 30px;
}
#primary, #secondary {
  border: none !important;
}

.post-thumb img {

  border: 1px solid lightgray;
}

@media only screen and (min-width: 921px){
   .tight {
    margin-top: -1.5rem;
 }
}

@media only screen and (max-width: 921px){
 #primary, #secondary {
   margin-top: 0px;
 }
  .entry-header > .post-thumb {
    margin-top: -1.7rem;
 }
 .tight {
    margin-top: -1.7rem;
 }
 .post-thumb img {
    margin-left: -50vw;
    margin-right: -50vw;
    right: 50%;
    left: 50%;
    border: none !important;
    position: relative;
    min-width: 100vw;
 }
}

@media only screen and (max-width: 544px){
 .entry-header > .post-thumb {
    margin-top: -1.7rem;
 }
  .tight {
    margin-top: -1.7rem;
 }
}

.tight img {
  border: none !important;
}

/*
@media screen and (min-width: 1200px){
#primary {
  padding-top: 50px;
}
}

#ast-mobile-header {
  margin-bottom: 20px;
}

#ast-desktop-header {
  margin-bottom: 20px;
} 
*/

.wp-block-latest-posts li {
  border-top: 1px solid lightgray;
  line-height: 1;
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
  text-decoration: none;
}

footer {
  margin-top: 30px;
}

.site-primary-footer-wrap {
  background-color: black !important;
}

.ast-footer-copyright p, .ast-footer-copyright a {
  color: white !important;
}

.ast-icon {
  color: white !important;
}

.sub-menu {
  border: none !important;
}

.ast-menu-toggle {
  color: white;
}

.ast-builder-grid-row-container-inner {
  padding-right: 10px;
  padding-left: 10px;
}

#rank-math-faq {
  background-color: white;
  border: none;
  padding: 0px;
}

.rank-math-block {
  border: 1px solid;
  padding: .5rem;
  background-color: #f8f9fa;
  margin-bottom: 1.5rem;
}

.noborder img {
  border: none !important;
}

.site-below-footer-wrap {
  background-color: black;
  color: white;
  font-size: 15px;
}

.site-below-footer-wrap a {
  color: white;
}

.sub-menu li {
  margin: 0px;
  padding: 0px;
}

.sub-menu .menu-link {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.menu-item {
  background-color: #080e5d;
}

.menu-subscribe-container .menu-link {
  background-color: white;
}

.tight-list {
  margin-left:auto;
  list-style-type: none;
}

.tight-list li {
  padding: 0;
  font-size: .7rem;
}

.box {
  background-color: #f1f1f1;
  border: 1px solid lightgray;
  padding: 10px;
  margin-bottom: 20px;
}

.box .wp-block-columns {
  margin: 0px;
}

#primary-menu {
  background-color: #080e5d;
}

.main-header-bar-navigation {
  padding-top: 0px !important;
}

.menu-link {
  background-color: #080e5d;
  text-align: left;
  font-weight: 700;
  line-height: 2;
}

.list-style-none {
  list-style: none;
}

li {
  padding-bottom: .5rem;
  padding-top: .5rem;
}

.shadow {
  box-shadow: 5px 5px 5px  rgba(0, 0, 0, 0.35) !important;
}

.wp-block-ub-content-toggle-accordion-content-wrap {
  background-color: #ededed !important;
}

.wp-block-ub-content-toggle-accordion-content-wrap ul {
  margin: 0px !important;
}

.wp-block-ub-content-toggle-accordion-content-wrap li {
  border-top: 1px solid lightgray !important;
  list-style: none !important;
}

.main-header-bar {
  background-color: #080e5d;
}

.primary-audio {
  margin-bottom: 50px;
}

.cn-button.bootstrap {
  background: #580c24;
}

.ast-archive-description{
  display: none;
}

.entry-title {
  font-weight: 700;
}

.menu-link {
  color: white !important;
}

.menu-item-object-page {
  background-color: #080e5d !important;
  text-align: right !important;
  font-weight: 700 !important;
}

.menu-item-object-custom {
  text-align: left;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
  border: none;
}

#primary-menu {
  border: none;
}
