/* @override 
	https://tgwhf.local/wp-content/themes/tgwhf_2020/block-styles.css?* */

/*  
The Main Block Styling Stylesheet
Loaded on front-end and in the editor
*/

/* @group Registered Theme Colors */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*  .has-white-color {
	color: #FFFFFF;
} */

/* .has-white-background-color {
	background-color: #FFFFFF;
} */

.single-post-content .container.core-paragraph {
    max-width: 700px !important;
    padding-left: 15px;
    padding-right: 15px;
}

.single-post-header,
.single-post-content .core-heading,
.single-post-content .ybd-video,
.single-post-content .core-list,
.single-post-content .ybd-carousel {
	max-width: 700px;
}

/* .single-post .content {
	max-width: 1200px;
	margin: 0 auto;
} */

/* .single-post .container.core-paragraph,
.single-post .container.core-image,
.single-post .container.single-post-header {
	margin: 0 auto 0 0;
} */

.single-post-header div {
	text-align: left !important;
}

.single-post-content .core-image {
	max-width: 700px;
}

.has-dark-color {
	color: #000000;
} 

.has-dark-background-color {
	background-color: var(--primary);
}

/* .has-mustard-gold-color {
	color: #B7A66D;
}

.has-mustard-gold-background-color {
	background-color: #B7A66D;
}

.has-light-blue-color {
	color: #2A6EBB;
}

.has-light-blue-background-color {
	background-color: #2A6EBB;
}

.has-dark-blue-color {
	color: #002D72;
}

.has-dark-blue-background-color {
	background-color: #002D72;
}

.has-vibrant-teal-color {
	color: #00B2A9;
}

.has-vibrant-teal-background-color {
	background-color: #00B2A9;
} */

.has-yellow-color {
	color: #FFF200;
}

.has-yellow-background-color {
	background-color: #FFF200;
}

/* .has-dark-grey-background-color {
	background-color: #404040;
}  */

/* @end */

/* @group WordPress Blocks */

/* Max-width applied here */
.core-paragraph, .core-heading, .core-list, 
.single .accordion {
	max-width: 960px;
	margin: 0 auto;
	font-size: 1.25rem;
}

/* Max-width applied here */
.single .accordion, .single .ybd-card-grid, .single .wp-block-columns {
	max-width: 960px;
	margin: 0 auto;
}

.page .accordion, .page .ybd-card-grid, .page .wp-block-columns {
	max-width: 960px;
	margin: 0 auto;
}

.core-image.align-right{
	max-width: 960px;
}

.wp-block-image.aligncenter{
    margin: auto;
}

.single .core-image img {
	height: auto !important;
}



@media (max-width: 768px) { 
	.core-paragraph, .core-heading {
		font-size: 1.125rem;
	}

	.core-image.align-right .alignright{
		float: none;
    	margin: 0 auto;
	}
}


/* @group WordPress Buttons */

/* Nothing yet */

.wp-block-button a {
	border-radius: 0 !important;
}

/* @end */

/* @group WordPress HR */

hr.wp-block-separator.align-left {
	margin: 0;
}

hr.wp-block-separator.align-right {
	margin: 0 0 0 auto;
}

/* @end */

/* @end */

/* @group Custom ACF Blocks */

/* @group Accordion */

.accordion .card {
	border-color: var(--grey);
	margin-top: 15px;
	margin-bottom: 15px;
}

.accordion .card .card-header {
	background-color: var(--grey);
	border-color: var(--grey);
	position: relative;
	margin-top: 0;
}

.accordion .card .card-header button {
	display: block;
	width: 100%;
	font-size: 20px;
	text-transform: none;
	padding: 10px 0;
	outline: none !important;
	color: #192958 !important;
	font-weight: 500 !important;
}

.accordion .card .card-body {
	background-color: var(--grey);
	font-size: 18px;
}

.accordion .card .card-body .card-content {
	background-color: var(--grey);
	padding: 30px 15px;
}

.accordion .card .card-body .card-content img {
	max-width: 100%;
	height: auto;
}

.accordion .card .card-header span {
	position: absolute;
	top: calc(50% - 11px);
	right:  15px;
	font-size: 22px;
	line-height: 0;
    color: var(--primary);
    transition: .25s;
    transform: rotate(90deg);
}

.accordion .card .card-header button.btn {

}

.accordion .card .card-header .collapsed span {
    transform: rotate(0);
}

@media (max-width: 768px) {
	.accordion .card .card-header button {
		font-size: 18px;
		padding: 10px 20px;
	}
	
	.accordion .card .card-header span {
		top: calc(50% - 9px);
		right:  15px;
		font-size: 18px;
		line-height: 0;
	}
	.accordion .card .card-body {
		background-color: var(--grey);
		font-size: 16px;
	}
}

/* @end */

/* @group Board Chair, Board Members */

#board-chair-modal .modal-content, #board-member-modal .modal-content  {
	border-radius: 0px !important;
	box-shadow: 0px 0px 6px rgba(0,0,0,.4);
}

#board-chair-modal .modal-header, #board-member-modal .modal-header  {
	border: 0;
}

.board-member a {
	outline: none !important;
}

#board-chair-modal .member-content, #board-member-modal .member-content {
	font-size: 20px;
}

/* @end */

/* @group Leadership Members */

.leadership-member img {
	height: auto;
}

/* @end */

/* @group Call To Action */

.ybd-call-to-action {
	/* background: #eee; */
	text-align: center;
	padding: 40px 20px;
}

.ybd-call-to-action p {
	display: inline;
	font-size: 18px;
	font-weight: 600;
}

.ybd-call-to-action a.btn {
	color: #000;
	background-color: #FFF200;
	font-size : 22px;
	margin-left: 30px;
	padding: 15px 100px;
}

.ybd-call-to-action a.btn:hover {
    color: #fff;
	background-color: #1F384A;
}

/* @end */

/* @group Card Grid */

.ybd-card-grid .card {
	border-radius: 0px;
	border: 1px solid #97999B;
	box-shadow: 1px 2px 6px rgba(0,0,0,.3);
	min-height: 300px;
	overflow: hidden;
}

.ybd-card-grid .card .card-body {
	min-height: 80px;
	background-color: #fff;
	transform: translate3d(0, 20px, 0);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	transition: transform .1s ease-in-out 0s;
}

.ybd-card-grid .card .card-body  a{
	color: #000;
}

.ybd-card-grid .card .card-body  a:hover{
	color: #1f394a;
}

.ybd-card-grid .card .card-body.has-text {
	min-height: 173px;
	background-color: #fff;
	transform: translate3d(0, 65%, 0);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	transition: transform .1s ease-in-out 0s;
}

.ybd-card-grid .card:hover .card-body {
	transform: translate3d(0, 0, 0);
}

.ybd-card-grid .card .fa-chevron-right {
	position: relative;
	top: 1px;
	transform: scale(.7 );
}

.ybd-card-grid .image-wrap {
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 300px;
	background-position: center center;
}

.ybd-card-grid .card a {
		font-weight: bold;
}

.ybd-card-grid .card .card-text a {
	font-weight: normal;
	display: block;
	min-height: 96px;
	color: #000;
	text-decoration: none;
}

.ybd-card-grid .icon-wrap {
	background-image: radial-gradient(circle at center center, #1F384A, #1F384A);
    background-color:rgba(31,52,106, .9);
    background: #000;
	color: #fff;
	font-size: 80px;
	min-height: 300px;
	line-height: 0;
	padding-top: calc(80px);
}

/* SM */
@media (max-width: 768px) {
	.ybd-card-grid .card {
		min-height: 390px;
		overflow: hidden;
	}
	.ybd-card-grid .card .card-body {
		min-height: auto !important;
		transform: translate3d(0, 0, 0);
	}
	.ybd-card-grid .card .card-body.has-text {
		transform: translate3d(0, 0, 0);
	}
	.ybd-card-grid .card .card-text a {
		min-height: auto;
	}
	.ybd-card-grid .icon-wrap {
		padding-top: 100px;	
	}
}

/* @end */

/* @group Hero & Events Hero */

/* Events Hero */
.ybd-hero-events.bg-image, .ybd-hero-events.bg-image .container, .ybd-hero-events.bg-image .row {
	min-height: 60vw !important;
}

.ybd-hero p, .ybd-hero-events p {
	font-size: 20px;
}

.hero-mobile {
	color: #fff;
	background-image: radial-gradient(circle at top center, #000, #000);
}

@media (max-width: 576px) {
	.hero-mobile h1 {
		font-size: 44px;
	}
	.hero-mobile p {
		font-size: 18px;
	}
	hero-mobile a.btn {
		width: 100%;
	}
}

/* @end */

/* @group Signature Events */

.ybd-signature-events {
	font-size: 18px;
}

	.ybd-signature-events .container .event img {
		border: 2px solid #FFF200;
		max-width: 100%;
	}
	
		.ybd-signature-events .container a {
			font-weight: bold;
			text-decoration: underline;
		}

/* @end */



/* @group Community Events */

.ybd-community-events .row {
	overflow: hidden;
}

.ybd-community-events .date {
	/* font-family: 'PT Serif', serif !important; */
	font-size: 28px;
	font-weight: bold;
	position: relative;
	right: -10px;
}

.ybd-community-events .details:before {
	z-index: 1;
	position: absolute;
	left: 0;
	top: 0;
	content: '';
	width: 0; 
	height: 100%; 
	border-right: 0px solid red;
	border-left: 20px solid #002D72; 
	border-top: 0px solid blue;
	border-bottom: 200px solid transparent; 
  
}

.ybd-community-events .details {
	background: #e6e6e6;
	padding: 20px 20px 20px 40px;
}

.ybd-community-events .details a {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.ybd-community-events .details:before {
		display: none;
	}
	
	.ybd-community-events .date {
		font-size: 20px;
	}
	
 }

/* @end */

/* @group BG Image w/ Block Content */

.ybd-bgimage-content .inner-block {
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.ybd-bgimage-content h2 {
	font-size: 40px;
}

@media (max-width: 768px) {
	.ybd-bgimage-content h2 {
		font-size: 32px;
	}
}



/* @end */

/* @group Split Image Content */

.ybd-split-content h2 {
	font-size: 40px;
	margin-bottom: 20px;
}

.ybd-split-content .order-md-1 hr {
	margin: 0;
}

/* @end */

/* @group Stay Connected / Join Our Online Community */

.ybd-block-form form {
	vertical-align: top;
}

.ybd-block-form form .empty-label {
	display: none;
}

.ybd-block-form input {
	border: 0 !important;
	/* font-family: 'PT Serif', serif; */
	height: 44px;
	padding: 4px;
	margin-bottom: 0px !important;
	width: 100% !important;
	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
}

.ybd-block-form .btn {
	margin-bottom: 0px !important;
	box-shadow: 0px 3px 5px rgba(0,0,0,.3);
}

.ybd-block-form .edit-link {
	display: none;
}

.ybd-block-form .yikes-easy-mc-success-message {
	text-align: c;
	margin: 0;
	background-color: #002D72;
	color: #fff;
	border-radius: 2px;
}


@media (max-width: 768px) { 
	.ybd-block-form form .btn {
		width: 98%;
	}
}


/* @end */

/* @group Stories */

.ybd-stories {
	overflow: hidden;
	background-image: radial-gradient(circle at center center, #1F384A, #000);
}

.ybd-stories .icon-wrap {
	background-color: #fff;
	position: absolute;
	top: 0;
	right: 10px;
	text-align: center;
	height: 56px;
}

.ybd-stories .icon-wrap img {
	width: 58px !important;
	height: auto !important;
}

.ybd-stories .icon-wrap::after {
	position:absolute;
	content: ' ';
	display:block;
	left:0;
	bottom: -8px;
	border-style: solid;
	border-width: 0 58px 8px 0;
	border-color: transparent #fff transparent transparent;
}

.ybd-stories h2 {
	color: #fff;
}

.ybd-stories hr {
	border-color: #fff;
}

.ybd-stories .card {
	border: 0px;
	border-radius: 0px;
	min-height: 500px;

}

.ybd-stories .card h5 {
	font-size: 130%;
    font-weight: bold;
	min-height: 80px;
}

.ybd-stories .card > a {
	padding: 0;
	margin: 0;
	min-width: auto;
	height: 240px;
	display: inline-block;
	background-size: cover;
	background-position: center center;
}

.ybd-stories .card-body a {
	padding: 0;
	margin: 0;
	min-width: auto;
	overflow: hidden;
}

.ybd-stories .card img {
	height: 200px;
	width: auto;
	min-width: 100%;
	border: 0px;
	border-radius: 0px;
}

.ybd-stories .carousel-inner {
	min-height: 450px;
}

.ybd-stories .carousel-item {
	transition: transform .27s ease-in-out;
}

.ybd-stories .carousel-item img {
	height: 65vw;
	width: auto;
	min-width: 100%;
	border: 0px;
	border-radius: 0px;
}

.ybd-stories .carousel-indicators {
	position: relative;
	z-index: 1000;
	margin-top: 30px;
}

.ybd-stories .carousel-indicators li {
	margin-left: 5px;
	margin-right: 5px;
	height: 12px;
	width: 12px;
	border: 0px;
	border-radius: 50px;
}

/* Reset our fancy ol li stuff in style.css */
.ybd-stories .carousel-indicators li::before {
	display: none;
}

.ybd-stories .d-md-flex {
	margin: 0 auto;
	max-width: 992px;
}

.ybd-stories .d-md-flex .card {
	box-shadow: 0px 1px 3px rgba(0,0,0,.5);
	transform: scale(1);
	transition: transform .2s ease-in-out 0s;
    height: 100%;
}

.ybd-stories .d-md-flex .card:hover {
	transform: scale(1.025);
}

/* @end */

/* @group Other Programs */

.ybd-other-programs {
	overflow: hidden;
		background-color: rgba(151, 153, 155, 0.4);
}

.ybd-other-programs .icon {
	background-color: #fff;
	position: absolute;
	top: 0;
	right: 10px;
	font-size: 1.7em;
	padding: 16px 8px 8px;
	width: 50px;
	text-align: center;
	line-height: 1em;
}

.ybd-other-programs .icon::after {
position:absolute;
  content: ' ';
  display:block;
  left:0;
  bottom: -8px;
  border-style: solid;
  border-width: 0 50px 8px 0;
  border-color: transparent #fff transparent transparent;
}

.ybd-other-programs hr {
	border-color: #fff;
}

.ybd-other-programs .card {
	border: 0px;
	border-radius: 0px;
	min-height: 500px;
	overflow: hidden;

}

.ybd-other-programs .card h5 {
    font-weight: bold;
}

.ybd-other-programs .card a {
	padding: 0;
	margin: 0;
	min-width: auto;
}

.ybd-other-programs .card img {
	height: 200px;
	min-width: 100%;
	width: auto;
	border: 0px;
	border-radius: 0px;
}

.ybd-other-programs .carousel-inner {
	min-height: 450px;
}

.ybd-other-programs .carousel-item {
	transition: transform .33s ease-in-out;
}

.ybd-other-programs .carousel-indicators {
	position: relative;
	z-index: 1000;
	margin-top: 30px;
}

.ybd-other-programs .carousel-indicators li {
	margin-left: 5px;
	margin-right: 5px;
	height: 12px;
	width: 12px;
	border: 0px;
	border-radius: 50px;
}

/* Reset our fancy ol li stuff in style.css */
.ybd-other-programs .carousel-indicators li::before {
	display: none;
}

.ybd-other-programs .d-md-flex {
	margin: 0 auto;
	max-width: 992px;
}

.ybd-other-programs .d-md-flex .card {
	box-shadow: 0px 1px 3px rgba(0,0,0,.5);
	transform: scale(1);
	transition: transform .2s ease-in-out 0s;
}

.ybd-other-programs .d-md-flex .card:hover {
	transform: scale(1.025);
}

/* @end */

/* @group Related Content */

.ybd-related-content {
	overflow: hidden;
	background-color: rgba(151, 153, 155, 0.4);
}

.ybd-related-content .icon-wrap {
	background-color: #fff;
	position: absolute;
	top: 0;
	right: 10px;
	text-align: center;
	height: 56px;
}

.ybd-related-content .icon-wrap img {
	width: 58px !important;
	height: auto !important;
}

.ybd-related-content .icon-wrap::after {
	position:absolute;
	content: ' ';
	display:block;
	left:0;
	bottom: -8px;
	border-style: solid;
	border-width: 0 58px 8px 0;
	border-color: transparent #fff transparent transparent;
}

.ybd-related-content hr {
	border-color: #fff;
}

.ybd-related-content .card img{
	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ybd-related-content .card {
	border: 0px;
	border-radius: 0px;
	min-height: 550px;
	overflow: hidden;

}

.ybd-related-content .card h5 {
	font-size: 130%;
	min-height: 80px;
    font-weight: bold;
}

.ybd-related-content .card > a {
	padding: 0;
	margin: 0;
	min-width: auto;
	/* height: 240px; */
	display: inline-block;
	background-size: cover;
	background-position: center center;
}

.ybd-stories .card-body a {
	padding: 0;
	margin: 0;
	min-width: auto;
	overflow: hidden;
}

.ybd-related-content .carousel-inner {
	min-height: 450px;
}

.ybd-related-content .carousel-item {
	transition: transform .33s ease-in-out;
}

.ybd-related-content .carousel-item a{
	height: 65vw;
}

.ybd-related-content .carousel-item img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
	border: 0px;
	border-radius: 0px;
}

.ybd-related-content .carousel-indicators {
	position: relative;
	z-index: 1000;
	margin-top: 30px;
}

.ybd-related-content .carousel-indicators li {
	margin-left: 5px;
	margin-right: 5px;
	height: 12px;
	width: 12px;
	border: 0px;
	border-radius: 50px;
}

/* Reset our fancy ol li stuff in style.css */
.ybd-related-content .carousel-indicators li::before {
	display: none;
}

.ybd-related-content .d-md-flex {
	margin: 0 auto;
	max-width: 992px;
}

.ybd-related-content .d-md-flex .card {
	box-shadow: 0px 1px 3px rgba(0,0,0,.5);
	transform: scale(1);
	transition: transform .2s ease-in-out 0s;
}

.ybd-related-content .d-md-flex .card:hover {
	transform: scale(1.025);
}

/* @end */

/* @group Title */

/* @end */

/* @group Learn More */

.ybd-learn-more {
	padding: 60px 20px;
}

.ybd-learn-more h3 {	
	text-align: center;
	margin: 0 auto 40px;
	font-size: 30px;
}

.ybd-learn-more h3.content {
	color: white !important;
}

.ybd-learn-more p {
	display: inline;
	font-size: 18px;
}

.ybd-learn-more a {
	font-size: 18px;
	color: var(--white) !important;
	text-decoration: underline;
}

/* @end */

/* @group Inline Links */

.ybd-inline-links .col-auto {
	margin-bottom: 10px;
	/*border-right: 2px solid #444;*/
}

.ybd-inline-links .col-auto:after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 0%;
  height: 65%;
  border-right: 2px solid #444;
}

.ybd-inline-links .col-auto:last-child:after {
	border-right: none;
}

/* @end */

/* @group White Background Content */

.ybd-whitebg-content p {
	font-size: 20px;
}

.ybd-whitebg-content h2 {
	font-size: 40px;
	text-transform: uppercase;
}

/* @end */

/* @end */

/* Can copy/paste these responsive media queries as needed */

/* XS */
@media (max-width: 576px) { }
/* SM */
@media (max-width: 768px) { }
/* MD */
@media (max-width: 992px) { }
/* LG */
@media (max-width: 1200px) { }


.ratio {
    position: relative;
    width: 100%;
}
.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
}
  
.ratio-1x1 {
    --bs-aspect-ratio: 100%;
}
  
.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio-3x2 {
    --bs-aspect-ratio: 66.6667%;
}
  
.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}
  
.ratio-21x9 {
    --bs-aspect-ratio: 42.8571428571%;
}

