/*
Theme Name: T.A.C.T.E. Theme - Child theme for Beaver Builder
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for T.A.C.T.E.
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/*** Define Variables ***/
:root {
	--white: #fcfcfd;
}

/*** MISC ***/
/* 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 */
/* Button: White */
#fl-main-content .btn-white a.fl-button {
	background: transparent;
	border-color: var(--white);
}

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

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

#fl-main-content .btn-white a.fl-button:hover span {
	color: #23408f;
}

/* Button: Red */
#fl-main-content .btn-red a.fl-button {
	background: #d2232a;
	border-color: #d2232a;
}

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

#fl-main-content .btn-red a.fl-button:hover {
	background: var(--white);
}

#fl-main-content .btn-red a.fl-button:hover span {
	color: #d2232a;
}

/* Remove Form Shadows */
body .gform_wrapper .gform-body input,
body .gform_wrapper .gform-body input[type="submit"],
body .gform_wrapper .gform-body textarea,
body .gform_wrapper .gform-body button,
body .gform_wrapper .gform-body button[type="submit"],
body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type="submit"] {
	box-shadow: none !important;
	filter: none !important;
}

/* UL to Columns */
.ul-to-cols ul {
	column-count: 3;
	column-gap: 20px;
	list-style-type: none;
	text-align: center;
}

@media screen and (min-width: 769px) and (max-width: 992px) {
	.ul-to-cols ul {
		column-count: 2;
	}
}

@media screen and (max-width: 768px) {
	.ul-to-cols ul {
		column-count: 1;
	}
}

/*** Header ***/
@media screen and (min-width: 769px) {
	.fl-module-menu .fl-menu .menu > li.mobile-only {
		display: none;
	}
}

/*** Footer ***/
/* Newsletter Form */
#footer-form_newsletter .gform_wrapper .gform_footer {
	display: none !important;
}

#footer-form_newsletter .gform-theme--foundation .gform_fields {
	row-gap: 20px;
}

@media screen and (max-width: 768px) {
	footer .gform-theme--foundation .gform_fields {
		row-gap: 10px;
	}
	
	footer .gform-theme--foundation #field_submit {
		justify-content: center;
	}
}

/*** Home Page ***/
/* Home Slides */
.home_slide-large_img {
	height: 100%;
	width: 55%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.home_slide-large_container .row {
	width: 1100px;
	max-width: 100%;
	margin: 0 auto;
	min-height: 450px;
	padding: 40px 0;
}

.home_slide-large_container .home_slide-large_content {
	position: relative;
	z-index: 5;
	text-align: right;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 20px;
	padding-left: 5%;
}

.home_slide-pre-title {
	text-transform: uppercase;
	font-size: 1.3rem;
	letter-spacing: 0.1rem;
}

.home_slide-large h2 {
	color: var(--white);
	font-size: 4rem;
	line-height: 1em;
}

.home_slide-button_group {
	margin-top: 10px;
}

.home_slide-button_group a {
	margin-left: 20px;
}

.home_slide .btn {
	border: 1px solid var(--white);
	padding: 6px 18px;
	border-radius: 10px;
	font-weight: 500;
}

.home_slide .btn-white:hover {
	background: var(--white);
	color: #23408f;
}

.home_slide .btn-red {
	background: #d2232a;
}

.home_slide .btn-red:hover {
	background: var(--white);
	color: #d2232a;
}

.home_slide-columns .fl-post-feed {
	display: flex;
}

.home_slide-columns .home_slide-small {
	width: 50%;
	margin: 0 10px;
}

.home_slide-small .home-slide-img {
	width: 100%;
	height: 250px;
	display: block;
	background-size: cover;
	background-position: center;
	margin-bottom: 10px;
}

.home_slide .home_slide-small {
	background: #23408f;
	padding: 20px;
	border-radius: 10px;
}

.home_slide .home_slide-small h2 {
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.home_slide,
.home_slide a {
	color: var(--white);
}

.home_slide a {
	text-decoration: none;
}

.home_slide h2 a:hover {
	text-decoration: underline;
}

.home_slide-small .col-md-12:last-child {
	text-align: center;
}

@media screen and (min-width: 769px) {
	.home_slide-large_container::after {
		content: '';
		background: #23408f;
		height: 100%;
		width: 52%;
		position: absolute;
		top: 0;
		right: 0;
		clip-path: polygon(7% 0, 100% 0, 100% 100%, 0% 100%);
		z-index: 1;
	}
}

@media screen and (min-width: 769px) and (max-width: 992px) {
	.home_slide-large h2 {
		font-size: 3rem;
	}
}

@media screen and (max-width: 768px) {
	.home_slide-large h2 {
		font-size: 3.5rem;
	}
	
	.home_slide-large_img {
		width: 100%;
		height: 50vw;
		margin-bottom: 30px;
		display: block;
		position: relative;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
	
	.home_slide-large_container .row {
		height: auto;
		padding: 0 0 30px;
		min-height: auto;
	}
	
	.home_slide-large_container .home_slide-large_content {
		text-align: center;
	}
	
	.home_slide-columns .fl-post-feed {
		flex-direction: column;
	}
	
	.home_slide-columns .home_slide-small {
		width: 100%;
		margin: 10px auto;
	}
}

/* Job Board */
@media screen and (min-width: 769px) {
	#row-home-job_board .fl-row-content-wrap::after {
		content: '';
		width: 40%;
		height: 100%;
		position: absolute;
		top: 0;
		right: 0;
		background-image: url(https://tacte.org/wp-content/uploads/iStock-1341251394-scaled.jpg);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: right center;
	}
}

/*** Interior Pages ***/
/* Board of Directors */
.bod-item {
	border: 0;
}

.bod-img {
	width: 100%;
	height: 250px;
	display: block;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.bod-text {
	padding: 5px;
}

.bod-item h2 {
	font-size: 1.4rem;
	margin-bottom: 0;
}

.bod-item h2 a {
	text-decoration: none;
}

.bod-item h2 a:hover {
	text-decoration: underline;
}

/* Past Presidents */
.table-past_presidents table {
	width: 100%;
}

.table-past_presidents th,
.table-past_presidents td {
	text-align: center;
	padding: 8px 0;
	border: 1px solid #ddd;
}

.table-past_presidents th {
	color: #000;
	border-bottom-color: #000;
}

/* Resources */
.fl-accordion .fl-accordion-button-icon {
	text-decoration: none;
	opacity: 1;
}

.fl-accordion .fl-accordion-content p:last-child {
	padding: 10px 0 5px;
}

#resources-list .fl-accordion-content a {
	background: #d2232a;
	color: var(--white);
	padding: 12px 24px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 500;
	border: 1px solid #d2232a;
}

#resources-list .fl-accordion-content a:hover {
	color: #d2232a;
	background: var(--white);
}

/* Non-Trad Gallery */
.nt-gallery-link {
	font-size: 1.2rem;
}

.nt-gallery-link a {
	text-decoration: none;
}

.nt-gallery-link a:hover {
	text-decoration: underline;
}

#nt-gallery .fl-row-content {
	display: flex;
	flex-wrap: wrap;
}

@media screen and (min-width: 993px) {
	#nt-gallery .fl-row-content > .fl-col-group {
		width: 25%;
	}
}

@media screen and (min-width: 769px) and (max-width: 992px) {
	#nt-gallery .fl-row-content > .fl-col-group {
		width: 33%;
	}
}

@media screen and (max-width: 768px) {
	#nt-gallery .fl-row-content > .fl-col-group {
		width: 100%;
	}
}

/* Job Board */
#job-board .job-item {
	border: 2px solid #23408f;
	padding: 20px;
	border-radius: 10px;
}

#job-board .job-item h2 {
	font-size: 2rem;
}

#job-board .job-item .job-college,
#job-board .job-item .job-type {
	font-size: 1.1rem;
}

#job-board .job-item .job-desc {
	margin-top: 10px;
}

#job-board .job-item a.btn-red {
	color: var(--white);
	background: #d2232a;
	text-decoration: none;
	border: 1px solid #d2232a;
	padding: 12px 24px;
	font-size: 1.1rem;
}

#job-board .job-item a.btn-red:hover {
	background: var(--white);
	color: #d2232a;
}

/* Membership Form */
#fl-main-content .membership-list_names {
	font-size: 1.2rem;
	font-weight: 600;
	color: #23408f;
}


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

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

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