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

/*** Define Variables ***/
:root {
  --charcoal: #333;
	--dark-blue: #38489a;
	--light-blue: #f0f1f8;
	--lightest-blue: #cdd1e6;
	--bluish-gray: #f0f1f8;
	--orange: #c17b11;
	--yellow: #f6df41;
	--wave-bg: 20%;
  --wave8-h: 110px;
  --wave8-url: url('https://spokanetribalnetwork.org/wp-content/uploads/2025/10/wave-8.svg');
}

/*** MISC ***/
h3, h4, h5, h6 {
	color: var(--dark-blue);
}

/* Visually Hidden */
body:not(.fl-builder-edit) .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

/* BB Button Base Styles */
#fl-main-content a.fl-button:not(:hover) {
	background: transparent;
}

/* BB Button Alternate Styles */
#fl-main-content .btn-yellow a.fl-button,
#footer .btn-yellow a.fl-button {
	background: transparent;
	border-color: var(--yellow);
}

#fl-main-content .btn-yellow a.fl-button span,
#footer .btn-yellow a.fl-button span {
	color: var(--yellow);
}

#fl-main-content .btn-yellow a.fl-button:hover,
#footer .btn-yellow a.fl-button:hover {
	background: var(--yellow);
}

#fl-main-content .btn-yellow a.fl-button:hover span,
#footer .btn-yellow a.fl-button:hover span {
	color: var(--dark-blue);
}

/* Color Span */
#fl-main-content .color-light_blue {
	color: #9ca3cd;
}

/* Video Box */
.video-box {
	border: 25px solid var(--orange);
	border-radius: 10px;
}

/* Blue Boxes */
.blue-box {
	background: var(--dark-blue);
	padding: 20px;
	border-radius: 10px;
	height: 100%;
}

.blue-box,
.blue-box h2,
.blue-box h3,
.blue-box h4,
.blue-box h5,
.blue-box h6 {
	color: #fff;
}

/* Rotated Images */
.photo-turn {
	position: relative;
}

.photo-turn img {
	border: 5px solid #fff;
}

.photo-turn::before {
	content: '';
	background: var(--orange);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: -1;
}

.photo-turn.turn-ccw {
	transform: rotatez(-6deg);
	margin-right: 40px;
}

.photo-turn.turn-ccw::before {
	transform: rotatez(12deg);
}

.photo-turn.turn-cw {
	transform: rotatez(6deg);
	margin-left: 40px;
}

.photo-turn.turn-cw::before {
	transform: rotatez(-12deg);
}

/*** Header ***/
#header-above_nav .fl-col-content {
	flex-direction: row;
	justify-content: right;
	align-items: center;
}

#main-menu-mobile.fl-menu-mobile-clone {
	width: 100%;
}

@media screen and (max-width: 768px) {
	#header-above_nav .fl-col-content {
		justify-content: center;
	}
}

/*** Footer ***/
#pre-footer {
	position: relative;
}

#pre-footer::before {
	content: '';
	width: 100%;
	height: 2px;
	background: var(--dark-blue);
	position: absolute;
	bottom: 0;
	z-index: 2;
}

/*** Home Page ***/
@media screen and (min-width: 769px) {
	#masthead .fl-builder-shape-layer {
		z-index: 1;
	}

	#masthead .fl-row-content-wrap::before {
		content: '';
		height: 100%;
		width: 60%;
		position: absolute;
		top: 0;
		right: 0;
		flex: 0 0 55%;
		background-image: var(--masthead-img);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}

	#masthead .fl-row-content-wrap::after {
		content: '';
		height: 100%;
		width: 60%;
		position: absolute;
		top: 0;
		left: 0;
		background: linear-gradient(92deg, rgba(56, 72, 154, 1) 0%, rgba(56, 72, 154, 1) 75%, rgba(56, 72, 154, 0) 95%);
	}
}

/* Home Events */
#home-events .fl-post-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

#home-events .fl-post-column, #home-events .fl-post-feed {
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(193, 123, 17, 1) 100%);
	padding: 15px;
	border-radius: 10px;
}

#home-events .fl-post-feed article{
	background-color: #fff;
	border: 3px solid var(--yellow);
	padding: 1.5rem;
}

#home-events .fl-post-column article {
	border: 3px solid var(--yellow);
	padding: 10px;
}

#home-events .home_event-text {
	padding: 0 20px 20px;
}

#home-events h3 {
	font-size: 1.5rem;
	line-height: 1.2em;
	font-weight: 600;
	margin: 0 0 5px;
}

#home-events h3 a {
	text-decoration: none;
	color: var(--dark-blue);
}

#home-events .home_event-date {
	color: #9ca3cd;
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 10px;
}

#home-events .home_event-link {
	color: var(--dark-blue);
}

/* Home Videos */
.home-video-embed {
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(193, 123, 17, 1) 100%);
	padding: 15px;
	border-radius: 10px;
}

.home-video-embed .embed-container {
	border: 3px solid var(--yellow);
}

/*** Interior Pages ***/

/* Programs Overview */
body.page-id-25 #fl-main-content {
	overflow: hidden;
}

.program-text {
  position: relative;
  z-index: 0;
}

/* Blue Strip */
.program-text .fl-col-content::before{
  content: '';
	display: block;
  position: absolute;
  bottom: 0;
	left: 0;
  transform: translateX(-50%);
  width: 200vw;
  height: 75%;
  background: var(--dark-blue);
  z-index: -2;
  pointer-events: none;
}

/* Wavy Top Edge */
.program-text .fl-col-content::after{
  content: '';
	display: block;
  position: absolute;
  top: 1px;
	left: 0;
  transform: translateX(-50%);
  width: 200vw;
  height: var(--wave8-h);
  background-image: var(--wave8-url);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 70px;
  z-index: -1;
  pointer-events: none;
}

.program-photo {
	position: relative;
	z-index: 10;
}

/* Background Wave Row */
.bg-wave-row .fl-row-content-wrap::before {
	content: '';
	width: 100%;
	height: var(--wave-bg);
	position: absolute;
	bottom: 0;
	background: var(--bluish-gray);
}

.bg-wave-row .fl-row-content-wrap .fl-builder-bottom-edge-layer {
	bottom: var(--wave-bg);
}

/* Bottom of Content Area Wave */
#interior-page-bottom-wave .fl-builder-bottom-edge-layer {
	z-index: 100;
}

#interior-page-bottom-wave .fl-builder-bottom-edge-layer svg {
	height: 100% !important;
}

/* Staff & Board */
.staff-item {
	border-bottom: 0;
}

.staff-photo img {
	border: 3px solid var(--orange);
	border-radius: 10px;
}

.staff-text h3 {
	color: var(--dark-blue);
	margin-bottom: 0;
}

.staff-position {
	color: var(--dark-blue);
	margin-bottom: 10px;
	font-size: 1.2rem;
}




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

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

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