/*
Theme Name: Eastern Washington History - Child Theme for Beaver Builder
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for Eastern Washington History
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/*** Define Variables ***/
:root {
	--white: #fff;
	--charcoal: #333;
	--green: #10403a;
	--seafoam: #107369;
	--brown: #592e1e;
	--red: #a62203;
	--lbrown: #8b5230;
	--lgreen: #85a665;
	--lseafoam: #8599a6;
}

/*** MISC ***/
h3 {
	color: var(--brown);
}

h4 {
	color: var(--lbrown);
}

h5 {
	color: var(--green);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	text-decoration: underline;
}

ol.wp-block-list li {
	margin-bottom: 10px;
}

iframe {
	margin-bottom: 10px;
}

/* Link With No Underline */
.link-no_underline a {
	text-decoration: none;
}

/* Button Push */
.btn-push .fl-col-content {
	display: flex;
	flex-direction: column;
}

.btn-push .fl-col-content .fl-module-button {
	margin-top: auto;
}

/* Remove Bottom Margin From Last P in BB Text Module */
.fl-rich-text p:last-child {
   margin-bottom: 0;
}

/* BB Button Alternate Styles */

/* Light Green */
#fl-main-content .btn-light_green a.fl-button {
	background: transparent;
	border-color: var(--lseafoam);
}

#fl-main-content .btn-light_green a.fl-button span {
	color: var(--seafoam);
}

#fl-main-content .btn-light_green a.fl-button:hover {
	background: var(--green);
	border-color: var(--green);
}

#fl-main-content .btn-light_green a.fl-button:hover span {
	color: var(--white);
}

/* Bright Green */
#fl-main-content .btn-bright_green a.fl-button {
	background: var(--green);
	border-color: var(--lgreen);
}

#fl-main-content .btn-bright_green a.fl-button span {
	color: var(--white);
}

#fl-main-content .btn-bright_green a.fl-button:hover {
	background: var(--lgreen);
	border-color: var(--lgreen);
}

#fl-main-content .btn-bright_green a.fl-button:hover span {
	color: var(--white);
}

/* Inverse */
#fl-main-content .btn-inverse a.fl-button {
	background: var(--white);
	border-color: var(--green);
}

#fl-main-content .btn-inverse a.fl-button span {
	color: var(--green);
}

#fl-main-content .btn-inverse a.fl-button:hover {
	background: var(--green);
	border-color: var(--green);
}

#fl-main-content .btn-inverse a.fl-button:hover span {
	color: var(--white);
}

/* Subscribe Row */
#subscribe-form .gform-theme--framework .gform_validation_errors .gform_submission_error,
#subscribe-form .gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
#subscribe-form .gform-theme--framework .gform_validation_errors .gform-icon {
	color: #f33;
	border-color: #f33;
}

#subscribe-form .gform-theme--framework .gform_validation_errors {
	border: 0;
	padding: 0;
}

/*** Header ***/
/* Responsive Dropdown */
@media screen and (max-width: 992px) {
	#menu-main-menu ul.sub-menu {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/*** Footer ***/
.cc-license a {
	text-decoration: none;
}

/*** Home Page ***/
h1 span.sitename-eastern {
	color: var(--white);
}

h1 span.sitename-washington {
	color: var(--white);
}

h1 span.sitename-history {
	color: var(--white);
}

#home-articles #ha-primary h3 {
	padding: 10px 0 0;
}

#home-icons a {
	text-decoration: none;
}

#home-icons a:hover {
	text-decoration: underline;
}

/*** Interior Pages ***/
.wp-block-gallery.has-nested-images figure.wp-block-image::before {
  content: none !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  background: none !important;

  color: #555 !important;
  font-size: 13px;
  font-weight: normal;
  text-shadow: none !important;

  text-align: center;
  margin-top: 0.5em !important;
  padding: 0 !important;
  line-height: 1.4;
}

/* Audio Player */
.audio-narration {
	margin: 20px 20px 10px;
}

.audio-narration .mejs-container {
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: none;
  border: 0;
}

/* Category List */
.post-categories ul {
	columns: 3;
}

@media screen and (max-width: 768px) {
	.post-categories ul {
		columns: 2;
	}
}

/* Posts */
.articles-list .fl-post-feed {
	display: flex;
	flex-wrap: wrap;
}

.articles-list .post-item {
	max-width: calc(50% - 20px);
	margin-right: 20px;
	margin-bottom: 40px;
}

.post-item {
	border-bottom: 0;
}

.post-image {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}

@media screen and (max-width: 768px) {
	.fl-post-feed-post.fl-post-feed-image-beside {
		max-width: 100%;
		width: 100%;
	}
	
	.articles-list .post-item {
		max-width: 100%;
		margin-right: 0;
	}
	
	.post-image {
		margin-bottom: 10px;
	}
}

#articles-by-subject ul > li {
	border-bottom: 0;
}




/*
@media screen and (min-width: 993px) {}

@media screen and (min-width: 769px) and (max-width: 992px) {}

@media screen and (max-width: 768px) {}
*/
