/*!
Theme Name:   IAMC-Line 3
Template:     playground-for-beaver-themer
Version:      1.0.0

Theme URI:    https://github.com/webmandesign/child-theme/
Author:       Poho Studio
Author URI:   mailto:info@poho.studio
License:      GPL-3.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-3.0-standalone.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

IMPORTANT:
Read the instructions in https://github.com/webmandesign/child-theme/blob/master/readme.md

Child theme CSS styles:
*/

/* Typeography */

body {
	background: #FFF;
	font-family: 'Manrope', sans-serif;
	font-optical-sizing: auto;
}

p, li, dt {
	font-weight: 600!important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'brandon-grotesque', sans-serif;
	font-weight: 900;
}

.cit-style ol {
	font-size: 12px;
	counter-reset: item;
	margin-left: 0;
	padding-left: 0;
}

.cit-style li {
	display: block;
	margin-bottom: .5em;
	margin-left: 2em;
}

.cit-style li::before {
	display: inline-block;
	content: "[" counter(item) "]";
	counter-increment: item;
	width: 2em;
	margin-left: -2em;
}

li {
	padding: 2px 0px 2px 5px;
}

.highlight {
	color: #86bbcd!important;
}

#tor h3.fl-heading {
	color: #016D89;

	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.highlight-title {
	color: #fa9d1a!important;

	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.annex-a th,.annex-a td {
	padding: 2px;
}

.former-members th,.former-members td {
	padding: 2px 10px 2px 2px;
	vertical-align: top;
	font-size: 14px;
}

hr.wp-block-separator {
	border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #cccccc;
    max-width: 100%;
    margin: auto;
}

/* Added Mobile Styles */
@media (max-width: 768px) {

	.site {
		overflow-x: hidden;
	    position: relative;
	}

	.cit-style{
		max-width: 300px!important;
		overflow-wrap: break-word;
		word-wrap: break-word;
		word-break: break-word;
	}

	.footer-logo {
		position: absolute;
	  	bottom: 0;
	  	left: 0;
	}

	.com-bio .alignleft {
		float: none;
		box-shadow: 20px 20px;
		color: rgba(255,255,255,0);
		margin: 0 0 20px 0!important;
		text-align: center;
	}

	.com-bio .alignright {
		float: none;
		box-shadow: 20px 20px;
		color: rgba(255,255,255,0);
		margin: 0 0 20px 0!important;
		text-align: center;
	}

	.com-bio .aligncenter {
		float: none;
		box-shadow: 20px 20px;
		color: rgba(255,255,255,0);
		margin: 0 0 20px 0!important;
	}

	.com-bio p:has(> .aligncenter) {
		text-align: center;
	}

}

/* Images */

.logo {
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.mfp-figure:after {
	box-shadow: 20px 20px;
	color: rgba(255,255,255,0);
}

.zoom img {
	box-shadow: 20px 20px;
	color: rgba(255,255,255,0);
}

/* Ensure smooth scaling for the entire .zoom container */
.zoom {
    transition: transform 0.3s ease; /* Smooth effect */
}

.zoom:hover {
    transform: scale(0.95); /* Scaling the entire container on hover */
}

.com-bio .zoom img:hover {
	transform: scale(0.95);
}

/* Add consistent scaling for the image and caption within .zoom */
.zoom img, .fl-photo-caption-hover {
    transition: transform 0.3s ease; /* Smooth effect for inner elements */
}

/* Ensure the caption appears on hover but doesn't affect the scaling */
.fl-photo-caption-hover {
    background: #ed482e;
    font-weight: 600;
    opacity: 0; /* Hide caption by default */
    transition: opacity 0.3s ease; /* Smooth opacity transition */
}

/* Display the caption on hover and scale it with the parent */
.zoom:hover .fl-photo-caption-hover {
    opacity: 1; /* Show caption on hover */
    transform: scale(1); /* Maintain same scale as parent */
}

/*.hero-row {
	overflow-x: hidden;
	position: relative;
}*/

.hero-img {
	clip-path: path("M483.48,614.28c-125.3.82-409.82-10.17-469.89-187.58-40.33-119.11,18.91-245.73,90.98-302C275.74-8.98,817.37-121.03,943.99,271.01c126.62,392.04-317.01,342.33-460.51,343.27Z");
	/*-webkit-clip-path: path("M483.48,614.28c-125.3.82-409.82-10.17-469.89-187.58-40.33-119.11,18.91-245.73,90.98-302C275.74-8.98,817.37-121.03,943.99,271.01c126.62,392.04-317.01,342.33-460.51,343.27Z");*/
	/*clip-path: polygon( 50.102% 99.883%,50.102% 99.883%,45.751% 99.84%,40.649% 99.531%,35.034% 98.806%,29.145% 97.512%,23.22% 95.5%,17.498% 92.619%,12.217% 88.717%,7.616% 83.644%,3.934% 77.25%,1.408% 69.382%,1.408% 69.382%,0.455% 63.548%,0.067% 57.716%,0.19% 51.963%,0.771% 46.365%,1.754% 40.998%,3.088% 35.936%,4.716% 31.258%,6.587% 27.038%,8.645% 23.352%,10.836% 20.276%,10.836% 20.276%,17.228% 13.939%,25.435% 8.284%,34.968% 3.781%,45.339% 0.901%,56.061% 0.115%,66.644% 1.894%,76.6% 6.708%,85.44% 15.027%,92.678% 27.323%,97.823% 44.067%,97.823% 44.067%,100.077% 61.116%,99.326% 74.335%,96.112% 84.206%,90.976% 91.208%,84.459% 95.822%,77.102% 98.529%,69.447% 99.807%,62.034% 100.139%,55.406% 100.004%,50.102% 99.883% );*/
}

/*@media (max-width: 768px) {
	.hero-img {
		transform: scale(0.6)!important;
	}
}*/

.footer-fox {
	position: absolute;
  	bottom: -60px;
  	left: 50%;
  	transform: translate(-50%);
    z-index: 10;
}

.footer-logo {
	position: absolute;
  	bottom: 0;
  	right: 0;
}

/* Committee Bio Images */

.com-bio .alignleft {
	box-shadow: 20px 20px;
	color: rgba(255,255,255,0);
	margin: 0 40px 20px -7%;
}

.com-bio .alignright {
	box-shadow: 20px 20px;
	color: rgba(255,255,255,0);
	margin: 0 -7% 20px 40px;
}

.com-bio .aligncenter {
	box-shadow: 20px 20px;
	color: rgba(255,255,255,0);
	margin: 0 0 20px 0;
}

.com-bio p:has(> .aligncenter) {
	text-align: center;
}

/* Lightbox Photos */

/* overlay at start */
.mfp-with-zoom.mfp-bg {
	opacity: 0;

	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
/* overlay animate in */
.mfp-with-zoom.mfp-bg.mfp-ready {
	opacity: 0.8;
}
/* overlay animate out */
.mfp-with-zoom.mfp-bg.mfp-removing {
	opacity: 0;
}

/* content at start */
.mfp-with-zoom.mfp-wrap .mfp-content {
	opacity: 0;

	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
/* content animate it */
.mfp-with-zoom.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
/* content animate out */
.mfp-with-zoom.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

.mfp-image-holder .mfp-content {
    max-width: 60%;
}

.mfp-bg {
	background: #fff;
}

.mfp-figure:after {
	width: 99.7%;
	background: #fff;
}

.mfp-bottom-bar {
	margin-top: -30px;
	text-align: right;
	padding-left: 50%;
}

.mfp-title {
	margin-right: 5px;
	padding: 0;
	color: #fff;
	font-weight: 600;
	background: #ed482e;
	display: inline;
	text-align: right;
	line-height: normal;
	box-shadow: 5px 0 0 #ed482e, -5px 0 0 #ed482e;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.mfp-preloader {
	margin: 0 auto;
	padding: 0px 5px 0px 5px;
	color: #fff;
	font-weight: 600;
	background-color: #ed482e;
	line-height: normal;
	width: fit-content;
}

img.mfp-img {
	padding: 40px 0 40px;
}

/* Links */

.fl-builder-content .fl-node-3fljxiq8b71m .fl-rich-text, .fl-builder-content .fl-node-3fljxiq8b71m .fl-rich-text *:not(b, strong) {
	font-weight: 700;
}

a:link, a:visited {
	color: #ED482E;
	text-decoration: underline 0.15em rgba(237, 72, 46, 0);
	text-underline-offset: 0.1em;
	transition: text-decoration-color 300ms, text-undey7866giguyotuhtouiyoiu8iuyturrterwefgwgsbdnndm,//.kjhgfdsaASDEWRHGJFHGHGFHrline-offset 300ms;
	font-weight: 700;
}

a:hover, a:active {
	color: #F9B03C;
	text-decoration-color: #F9B03C;
	text-underline-offset: 0.3em;
	transition: all .3s;
}

a, i, i::before {transition: all .3s;}

/* Breadcrumbs */

.fbc-page .fbc-wrap .fbc-items li {
	padding-top: 0;
	padding-bottom: 0;
}

.fbc-page .fbc-wrap .fbc-items li:first-child {
	padding-left: 0;
}

@media (max-width: 768px) {
	.fbc-page .fbc-wrap .fbc-items {
	    padding: 0;
	}
}

/* Menus */

.hamburger {
	float: right;
}

/* Header Menu – Default and visited link styles */
.header-menu a:link,
.header-menu a:visited {
    color: #fff;
    text-decoration: none;
    transition: all .3s;
}

/* Header Menu – Hover style */
.header-menu li a:hover {
    background-color: #86bbcd!important;
}

/* Header Menu – Active link style */
.header-menu .current-menu-item a,
.header-menu .current_page_item a {
    color: #000;
    text-decoration-color: #000;
    text-underline-offset: 0.3em;
}

.header-menu .current-menu-item a:hover,
.header-menu .current_page_item a:hover {
    color: #F9B03C;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
}

/* Main Menu – Default and visited link styles */
.main-menu a:link,
.main-menu a:visited {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-decoration-color: rgba(237, 72, 46, 0);
    text-underline-offset: 0.1em;
    transition: text-decoration-color 300ms, text-underline-offset 300ms;
}

/* Main Menu – Hover style */
.main-menu a:hover {
    color: #F9B03C;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
    transition: all .3s;
}

/* Main Menu – Active link style */
.main-menu .menu > li.current_page_item > a,
.main-menu .menu > li.current-menu-item > .fl-has-submenu-container > a,
.main-menu .menu > li.current-menu-parent > .fl-has-submenu-container > a,
.main-menu .menu ul.sub-menu > li.current-menu-item > a,
.main-menu .menu ul.sub-menu > li.current-menu-item > .fl-has-submenu-container > a {
	color: #F9B03C!important;
}

.main-menu .current-menu-item a:hover,
.main-menu .current_page_item a:hover {
    color: #F9B03C;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
}

/* Main Menu Dropdown */

.main-menu .menu .fl-has-submenu .sub-menu {
	position: absolute;
	background-color: rgba(255,255,255,0);
    text-align: right;
    margin-right: 25px;
    box-shadow: none;
    webkit-box-shadow: none;
}

.main-menu .fl-menu .menu .sub-menu > li {
    font-size: 16px;
    line-height: 1.3!important;
}

.main-menu .menu .sub-menu a {
	padding: 5px;
}

/* Footer Menu – Default and visited link styles */
.footer-menu a:link,
.footer-menu a:visited {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-decoration-color: rgba(237, 72, 46, 0);
    text-underline-offset: 0.1em;
    transition: text-decoration-color 300ms, text-underline-offset 300ms;
}

/* Footer Menu – Hover style */
.footer-menu a:hover {
    color: #F9B03C!important;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
    transition: all .3s;
}

/* Footer Menu – Active link style */
.footer-menu .current-menu-item a,
.footer-menu .current_page_item a {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-decoration-color: #fff;
    text-underline-offset: 0.3em;
}

.footer-menu .current-menu-item a:hover,
.footer-menu .current_page_item a:hover {
    color: #F9B03C;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
}

/* Posts Menu – Default and visited link styles */
.posts-menu a:link,
.posts-menu a:visited {
    color: #ED482E;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-decoration-color: rgba(237, 72, 46, 0);
    text-underline-offset: 0.1em;
    transition: text-decoration-color 300ms, text-underline-offset 300ms;
}

/* Posts Menu – Hover style */
.posts-menu a:hover {
    color: #F9B03C;
    text-decoration-color: #F9B03C;
    text-underline-offset: 0.3em;
    transition: all .3s;
}

/* Posts Menu – Active link style */
.posts-menu .menu > li.current-menu-item > .fl-has-submenu-container > a,
.posts-menu .menu ul.sub-menu > li.current-menu-item > a,
.posts-menu .menu ul.sub-menu > li.current-menu-item > .fl-has-submenu-container > a {
	color: #F9B03C !important;
}

.posts-menu .current-menu-item a:hover {
	color: #F9B03C;
	text-decoration-color: #F9B03C;
	text-underline-offset: 0.3em;
}

.posts-menu .fl-menu a {
	display: inline-block;
}

.posts-menu .sub-menu li {
	list-style: disc;
	margin-left: 14px;
}

@media (max-width: 768px) {
	.posts-menu ul.sub-menu {
		display: inline-block!important;
	}
}

/* Ajax Search Pro */
li.aspm-container {
	margin-left: 7px;
}

/* Button Style (light) */

.fl-builder-content .light-button a.fl-button,
.fl-builder-content .light-button a.fl-button:visited,
.fl-builder-content .light-button .fl-slide a.fl-button, 
.fl-builder-content .light-button .fl-slide a.fl-button:visited  {
	padding: .62em 1.38em;
	color: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

.fl-builder-content .light-button a.fl-button:hover, 
.fl-builder-content .light-button a.fl-button:focus,
.fl-builder-content .light-button .fl-slide a.fl-button:hover,
.fl-builder-content .light-button .fl-slide a.fl-button:focus {
	color: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0;
}

.fl-builder-content .light-button a.fl-button *, 
.fl-builder-content .light-button a.fl-button:visited,
.fl-builder-content .light-button .fl-slide a.fl-button * {
	color: #fff;
}

.fl-builder-content .light-button a.fl-button:hover *, 
.fl-builder-content .light-button a.fl-button:focus * {
	color: #fff;
}

.fl-builder-content .light-button a.fl-button::after {
	display: block;
	content: '';
	border-bottom: solid 3px #fff;  
	transform: scaleX(0);  
	transition: transform 250ms ease-in-out;
}

.fl-builder-content .light-button a.fl-button:hover::after {
	transform: scaleX(1);
}

/* Button Style (dark) */

.fl-builder-content .dark-button a.fl-button,
.fl-builder-content .dark-button a.fl-button:visited,
.fl-builder-content .dark-button .fl-slide a.fl-button, 
.fl-builder-content .dark-button .fl-slide a.fl-button:visited  {
	padding: .62em 1.38em;
	color: #000;
	border: 0;
	border-radius: 0;
	box-shadow: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

.fl-builder-content .dark-button a.fl-button:hover, 
.fl-builder-content .dark-button a.fl-button:focus,
.fl-builder-content .dark-button .fl-slide a.fl-button:hover,
.fl-builder-content .dark-button .fl-slide a.fl-button:focus {
	color: #F9B03C;
	border: 0;
	border-radius: 0;
	box-shadow: 0;
}

.fl-builder-content .dark-button a.fl-button *, 
.fl-builder-content .dark-button a.fl-button:visited,
.fl-builder-content .dark-button .fl-slide a.fl-button * {
	color: #000;
}

.fl-builder-content .dark-button a.fl-button:hover *, 
.fl-builder-content .dark-button a.fl-button:focus * {
	color: #F9B03C;
}

.fl-builder-content .dark-button a.fl-button::after {
	display: block;
	content: '';
	border-bottom: solid 3px #F9B03C;  
	transform: scaleX(0);  
	transition: transform 250ms ease-in-out;
}

.fl-builder-content .dark-button a.fl-button:hover::after {
	transform: scaleX(1);
}

/* Box Button */
.box-button {
	transition: transform 0.3s ease;
}

.box-button:hover {
	cursor: pointer;
    transform: scale(1.03);
}

/* Box Button Hover Behavior for Light and Dark Buttons */
.box-button:hover .light-button a.fl-button::after,
.box-button:hover .dark-button a.fl-button::after {
    transform: scaleX(1);
}

.box-button:hover .light-button a.fl-button,
.box-button:hover .dark-button a.fl-button {
    color: #fff;
}

.box-button:hover .light-button a.fl-button *,
.box-button:hover .dark-button a.fl-button * {
    color: #fff;
}

/* Sticky Columns */

/*.stickytext {
	position: sticky;
	top: -1px;
	visibility: hidden;
}

.stickytext.is-pinned {
 	visibility: visible;
}*/

@media ( min-width: 992px ){
	.sticky {
		position: sticky; /* IE, Edge 15 and earlier versions do not support sticky positioning */
		position: -webkit-sticky; /* for Safari */
		top: 0; /* need either top, right, bottom or left for sticky positioning to work */
		align-self: flex-start;
	}
}

@media ( min-width: 992px ){
	.sticky-pad {
		position: sticky; /* IE, Edge 15 and earlier versions do not support sticky positioning */
		position: -webkit-sticky; /* for Safari */
		top: 20px; /* need either top, right, bottom or left for sticky positioning to work */
		align-self: flex-start;
	}
}

@media (min-width: 992px) {
	.sticky-tor {
		position: sticky; /* IE, Edge 15 and earlier versions do not support sticky positioning */
		position: -webkit-sticky; /* for Safari */
		top: 20px; /* need either top, right, bottom or left for sticky positioning to work */
		align-self: flex-start;
		max-height: calc(100vh - 20px); /* Adjust height to avoid clipping by the top offset */
		overflow-y: auto;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none;  /* Internet Explorer 10+ */
		z-index: 99!important;
	}

	.sticky-tor::-webkit-scrollbar { /* WebKit */
		width: 0;
		height: 0;
	}
}

@media ( min-width: 769px ){
	.sticky-row {
		position: sticky;
		top:0;
		z-index:99;
	}
}

@media ( min-width: 769px ){
	.posts-table-above {
		position: sticky;
		top:0;
		z-index:99;
		background-color: #fff;
		padding: 20px 0 5px 0;
		width: 100%;
		margin: 0 -100px 0 -100px;
	}

	.posts-table-above::before {
		content: "";
		background-color: #fff;
		position: absolute;
		top: 0;
		bottom: 0;
		right: calc((100vw - 100%) / -2);
		left: calc((100vw - 100%) / -2);
	}
}

.dataTables_filter {
	z-index: 10;
}

/* Clickable Columns */

.fl-col-group-equal-height {
	flex-wrap: nowrap;
}

.fl-col.clickable-col {
	overflow: hidden;
	margin: 0 20px 20px auto;
}

.force-left {
	margin-left: 20px!important;
}

@media (max-width: 768px) {
	.fl-col-small:not(.fl-col-small-full-width) {
		max-width: none;
	}
}

.clickable-col .fl-col-content:hover{
	transform: scale(1.05);
}

.clickable-col .fl-col-content{
	background-size: cover;
    transition: all 0.3s ease-in-out;
}

.clickable-col .fl-col-content:hover a.fl-button:after {
	transform: scaleX(1);
}

/* Posts Styling */

.updates .fl-post-wrapper {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	align-items: flex-start;
	margin-bottom: 2rem;
	flex-wrap: nowrap;
}

.updates .fl-post-sidebar {
	flex: 0 0 150px;
	font-size: 0.9rem;
}

.updates .fl-post-category {
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.updates .fl-post-main {
	flex: 1;
	min-width: 350px;
}

.updates h3.fl-post-title {
	line-height: 1;
}

.updates .fl-post-more-link {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 1rem;
}

.updates .fl-post-image {
	flex: 0 0 330px;
	width: 100%;
	flex-shrink: 1;
	min-width: 200px;
	max-width: 330px;
}

.updates .fl-post-image img {
	clip-path: polygon( 50.102% 99.883%,50.102% 99.883%,45.751% 99.84%,40.649% 99.531%,35.034% 98.806%,29.145% 97.512%,23.22% 95.5%,17.498% 92.619%,12.217% 88.717%,7.616% 83.644%,3.934% 77.25%,1.408% 69.382%,1.408% 69.382%,0.455% 63.548%,0.067% 57.716%,0.19% 51.963%,0.771% 46.365%,1.754% 40.998%,3.088% 35.936%,4.716% 31.258%,6.587% 27.038%,8.645% 23.352%,10.836% 20.276%,10.836% 20.276%,17.228% 13.939%,25.435% 8.284%,34.968% 3.781%,45.339% 0.901%,56.061% 0.115%,66.644% 1.894%,76.6% 6.708%,85.44% 15.027%,92.678% 27.323%,97.823% 44.067%,97.823% 44.067%,100.077% 61.116%,99.326% 74.335%,96.112% 84.206%,90.976% 91.208%,84.459% 95.822%,77.102% 98.529%,69.447% 99.807%,62.034% 100.139%,55.406% 100.004%,50.102% 99.883% );
	object-fit: cover;
	aspect-ratio: 9.5 / 6;
	max-width: 100%;
	height: auto;
	display: block;
	opacity: 1;
	transition: opacity 0.2s ease-in-out;
}

.updates .fl-post-image img:hover {
	opacity: 0.75;
}

@media (max-width: 768px) {
	.updates .fl-post-wrapper {
		flex-direction: column;
		gap: 0;
	}

	.updates .fl-post-sidebar,
	.updates .fl-post-main,
	.updates .fl-post-image {
		flex: none;
		max-width: 100%;
	}

	.updates .fl-post-sidebar {
		margin-bottom: 1rem;
		order: 1;
	}

	.updates .fl-post-image {
		margin-bottom: 1.5rem;
		order: 2;
	}

	.updates .fl-post-main {
    	order: 3;
	}
}

/* Doc Styling */

.doc-lib {
	overflow: visible;
	font-weight: 600;
}

.doc-lib .posts-table-wrapper {
	margin-top: 0!important;
}

/*.col-file_size, .col-content {
	font-weight: 100!important;
}*/

.posts-table-below, .dlp-grid-footer {
	font-size: 12px;
	text-transform: uppercase;
}

/* Doc Table Links */

.doc-lib table tbody {
	border-collapse: separate; 
	border-spacing: 0px;
}

.doc-lib table tr {
	display: flex;
	flex-direction: row;
}

.doc-lib table,
.doc-lib table td {
    border-bottom: none!important;
}

.doc-lib table tbody tr {
	margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(184, 184, 184, 0.5);
    border-radius: 5px;
    overflow: hidden;
    width: 100%; /* Ensure rows stretch to full width */
    transition: transform 0.3s ease;
}

.doc-lib table tbody tr:hover {
    background-color: #f0f0f0;
    transform: scale(1.03);
}

.doc-lib table tbody tr {
	padding: 20px;
}

.doc-lib table tbody td {
    flex: 1;
}

.doc-lib table thead tr th {
	flex: 1;
	border-bottom: 0;
}

.doc-lib table thead tr {
    flex-grow: 1;
    flex-basis: 0;
    /*padding: 0 20px 0 20px;*/
}

.doc-lib table td.col-link,
.doc-lib table th.col-link {
	flex: 0;
	white-space: nowrap;
}

.doc-lib table td.col-file_size,
.doc-lib table th.col-file_size {
	white-space: nowrap;
}

.doc-lib table td.col-title,
.doc-lib table th.col-title {
	flex: 4;
}

.doc-lib table td.col-content,
.doc-lib table th.col-content {
	flex: 2;
}

.doc-lib table td.col-doc_tags,
.doc-lib table th.col-doc_tags {
	flex: 2;
}

.doc-lib table td.col-date_modified,
.doc-lib table th.col-date_modified {
	white-space: nowrap;
}

.doc-lib table tbody tr::after {
    content: "⬇";
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #ED482E;
    font-size: 14px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Add transition for opacity */
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.doc-lib table tbody tr:hover::after {
    opacity: 1; /* Fade in on hover */
}

.doc-lib table tbody tr:hover td.col-title {
	color: #ED482E;
}

.doc-lib table tbody tr:active {
	transform: scale(1.02);
}

.doc-lib table tbody tr:active::after {
    color: #F9B03C;
}

.doc-lib table tbody tr:active td.col-title {
	color: #F9B03C;
}

/* Doc Grid Links */

.dlp-grid-card {
	position: relative;
    transition: transform 0.3s ease; /* Adding transition for smooth effect */
}

.dlp-grid-card:hover {
    transform: scale(1.03); /* Scaling the element on hover */
}

.dlp-grid-card::after {
    content: "⬇";
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: #ED482E;
    font-size: 14px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* Add transition for opacity */
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.dlp-grid-card:hover::after {
    opacity: 1; /* Fade in on hover */
}

.dlp-grid-card-content.no-image:hover {
	background-color: #f0f0f0;
}

.dlp-grid-card-content.no-image {
    border: 1px solid rgba(204, 204, 204, 0.5)!important;
    border-radius: 5px!important;
}

.dlp-grid-card-content:hover .dlp-grid-card-title {
	color: #ED482E;
}

.dlp-grid-card-excerpt {
	font-size: 12px;
	text-transform: uppercase;
}

.dlp-grid-card-document-link-wrap {
	padding-top: 5px!important;
}

.dlp-grid-card-info .dlp-grid-card-categories span {
	color: #ED482E;
	background: none!important;
}

.dlp-grid-card-content:active .dlp-grid-card-categories span {
	color: #F9B03C;
}

.dlp-grid-card-content:active .dlp-grid-card-title {
	color: #F9B03C;
}

.dlp-grid-card:active {
    transform: scale(1.02);
}

.dlp-grid-card:active::after {
    color: #F9B03C;
}

/* Doc Grid Archive Links */

.archive-docs .dlp-grid-header {
	display: none;
}

.archive-docs .dlp-grid-card {
    border: 1px solid rgba(184, 184, 184, 0.5)!important;
    border-radius: 8px!important;
    aspect-ratio: 10 / 6;
}

.archive-docs .dlp-grid-card-inner {
	flex-direction: row;
}

.archive-docs .dlp-grid-card-inner:hover {
	background-color: #f0f0f0;
}

.archive-docs .dlp-grid-card-inner:hover .dlp-grid-card-title {
	color: #ED482E;
}

.archive-docs .dlp-grid-card-featured-img,
.archive-docs .dlp-grid-card-featured-img img {
	border-radius: 8px 0 0 8px;
	object-fit: cover;
}

.archive-docs .dlp-grid-card-featured-img {
	background-color: #ED482E;
}

.archive-docs .dlp-grid-card-content {
	border: 0px solid rgba(184, 184, 184, 0.5);
    border-left: 1px solid rgba(184, 184, 184, 0.5);
    border-radius: 0 8px 8px 0;
}

.archive-docs .dlp-grid-card-title {
	display: flex;
    align-items: center;
    height: 100%;
    font-size: calc(1vw + 1vh);
}

@media only screen and (max-width: 768px) {
    /* Target the doc library grid for mobile */
    .dlp-grid-documents.grid-columns.columns-2 {
        display: grid;
        grid-template-columns: 1fr !important; /* Set to 1 column */
    }
}

@media only screen and (min-width: 769px) {
    /* Target the first grid card to be 80% wide and centered */
    .dlp-grid-documents.grid-columns.columns-2 .dlp-grid-card:first-child {
        width: 75%;          /* Set the width to 80% */
        margin-left: 0;    /* Align to the left */
        margin-right: auto;   /* Align to the right */
        grid-column: span 2;  /* Make it span across 2 columns to keep the rest intact */
    }
}

/* Events */

dd {
	/*white-space: nowrap;*/
	margin-inline-start: 0;
}

.dlp-grid-card-categories {
	font-weight: 800;
}

.main-events .tribe-events-l-container {
	padding: 0!important;
}

.tribe-events-calendar-list__event-featured-image-wrapper img,
.tribe-events-calendar-latest-past__event-featured-image-link img,
.event-post-img img{
	clip-path: polygon( 50.102% 99.883%,50.102% 99.883%,45.751% 99.84%,40.649% 99.531%,35.034% 98.806%,29.145% 97.512%,23.22% 95.5%,17.498% 92.619%,12.217% 88.717%,7.616% 83.644%,3.934% 77.25%,1.408% 69.382%,1.408% 69.382%,0.455% 63.548%,0.067% 57.716%,0.19% 51.963%,0.771% 46.365%,1.754% 40.998%,3.088% 35.936%,4.716% 31.258%,6.587% 27.038%,8.645% 23.352%,10.836% 20.276%,10.836% 20.276%,17.228% 13.939%,25.435% 8.284%,34.968% 3.781%,45.339% 0.901%,56.061% 0.115%,66.644% 1.894%,76.6% 6.708%,85.44% 15.027%,92.678% 27.323%,97.823% 44.067%,97.823% 44.067%,100.077% 61.116%,99.326% 74.335%,96.112% 84.206%,90.976% 91.208%,84.459% 95.822%,77.102% 98.529%,69.447% 99.807%,62.034% 100.139%,55.406% 100.004%,50.102% 99.883% );
	object-fit: cover;
	aspect-ratio: 9.5 / 6;
}

.tribe-events-meta-group {
	padding: 0;
	width: auto;
}

.tribe-events-meta-group {
	font-size: 14px;
}

.tribe-common .tribe-common-h1,
.tribe-common .tribe-common-h2,
.tribe-common .tribe-common-h3,
.tribe-common .tribe-common-h4,
.tribe-common .tribe-common-h5,
.tribe-common .tribe-common-h6 {
	--tec-font-family-sans-serif:'brandon-grotesque', sans-serif;
	--tec-font-family-base:'brandon-grotesque', sans-serif;
	font-weight: 900;
}

h2.tribe-events-single-section-title {
	--tec-font-family-sans-serif:'brandon-grotesque', sans-serif;
	font-size: var(--tec-font-size-5)!important;
	font-weight: 900!important;
}

.event-docs .dlp-grid-header {
	display: none;
}

.archive-events .tribe-events-l-container {
	padding: 0!important;
}
.archive-events .tribe-events-header__top-bar {
	display: none!important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
 	width: max-content;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
 	background-color: #ED482E!important;
}

.tribe-events-page-template .tribe-events-c-top-bar__nav button {
 	background-color: transparent!important;
}

/* Responsive Grids */

@media (min-width:992px){/* 992px is BB default width */
	.row-res-grid .fl-col {
		width: 50% !important;
	}
}

/* Directional Hover Effect */

.cubic .fl-post-image-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
}

.cubic .fl-post-image img {
	object-fit: cover;
	height: 100%;
}

.cubic .fl-post-link {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.cubic .fl-post-title a {
	color: #fff;
	text-decoration: none;
	font-size: 30px;
	padding: 0;
	margin: 0;
}

.cubic .fl-post-title {
	padding: 5px 0px 0px 0px;
}

.cubic .fl-post-head {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.cubic .fl-post-sub {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 800;
}

.cubic .fl-post-gallery-post {
	border: 1px solid #fff;
	height: 100%!important;
	aspect-ratio: 1 / 1!important;
	padding: 0;
	overflow: hidden;
	-webkit-perspective: 480px; /* fallback for 1920px screen width */
	    -ms-perspective: 480px; /* fallback for 1920px screen width */
	        perspective: 480px; /* fallback for 1920px screen width */
	-webkit-perspective: 25vw;
	    -ms-perspective: 25vw;
	        perspective: 25vw;
}

	.cubic .fl-post-image {
		height: 100%;
		-webkit-transition: all .4s;
		        transition: all .4s;
		-webkit-transform: scale( 1.15 );
		    -ms-transform: scale( 1.15 );
		        transform: scale( 1.15 );
	}
		.cubic .fl-post-gallery-post:hover .fl-post-image {
			-webkit-transform: scale( 1.05 );
			    -ms-transform: scale( 1.05 );
			        transform: scale( 1.05 );
		}

		/**
		 * Unfortunate fix for Safari.
		 *
		 * @link  https://support.webmandesign.eu/forums/topic/cubix-effect-case-result-doesnt-work-on-safari/
		 * @link  https://stackoverflow.com/questions/16348489/is-there-a-css-hack-for-safari-only-not-chrome
		 */
		@media not all and (min-resolution:.001dpcm) { @media {
			.cubic .fl-post-image {
				-webkit-transition: none;
				        transition: none;
				-webkit-transform: none;
				        transform: none;
			}
			.cubic .fl-post-gallery-post:hover .fl-post-image {
				-webkit-transform: none;
				        transform: none;
			}
		} }

	.cubic .fl-post-elements-container {
		display: flex;
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		padding: 0;
		margin: 0;
		opacity: .9;
		overflow: hidden;
		z-index: 30;
		background-color: #ED482E;
		justify-content: center;
		align-items: center;
		text-align: center;
		-webkit-transform-origin: 50% 0%;
		        transform-origin: 50% 0%;

		-webkit-transform: rotateX( -120deg );
		    -ms-transform: rotateX( -120deg );
		        transform: rotateX( -120deg );

		-webkit-animation-duration: .4s;
		        animation-duration: .4s;

		-webkit-animation-fill-mode: forwards;
		        animation-fill-mode: forwards;
	}

		.fl-post-gallery.cubic .image { margin: 0; }

		.cubic h2,
		.cubic h3 { color: inherit; }

/* Mouse in */

	.in-top .fl-post-elements-container {
		-webkit-transform-origin: 50% 0%;
		    -ms-transform-origin: 50% 0%;
		        transform-origin: 50% 0%;

		-webkit-animation-name: in-top;
		        animation-name: in-top;
	}
	.in-right .fl-post-elements-container {
		-webkit-transform-origin: 100% 50%;
		    -ms-transform-origin: 100% 50%;
		        transform-origin: 100% 50%;

		-webkit-animation-name: in-right;
		        animation-name: in-right;
	}
	.in-bottom .fl-post-elements-container {
		-webkit-transform-origin: 50% 100%;
		    -ms-transform-origin: 50% 100%;
		        transform-origin: 50% 100%;

		-webkit-animation-name: in-bottom;
		        animation-name: in-bottom;
	}
	.in-left .fl-post-elements-container {
		-webkit-transform-origin: 0% 50%;
		    -ms-transform-origin: 0% 50%;
		        transform-origin: 0% 50%;

		-webkit-animation-name: in-left;
		        animation-name: in-left;
	}

	@-webkit-keyframes in-top {
		0% { -webkit-transform: rotateX( -120deg ); }
		100% { -webkit-transform: rotateX( 0deg ); }
	}
	@-webkit-keyframes in-right {
		0% { -webkit-transform: rotateY( -120deg ); }
		100% { -webkit-transform: rotateY( 0deg );  }
	}
	@-webkit-keyframes in-bottom {
		0% { -webkit-transform: rotateX( 120deg ); }
		100% { -webkit-transform: rotateX( 0deg ); }
	}
	@-webkit-keyframes in-left {
		0% { -webkit-transform: rotateY( 120deg ); }
		100% { -webkit-transform: rotateY( 0deg ); }
	}

	@keyframes in-top {
		0% {
			-ms-transform: rotateX( -120deg );
			    transform: rotateX( -120deg );
		}
		100% {
			-ms-transform: rotateX( 0deg );
			    transform: rotateX( 0deg );
		}
	}
	@keyframes in-right {
		0% {
			-ms-transform: rotateY( -120deg );
			    transform: rotateY( -120deg );
		}
		100% {
			-ms-transform: rotateY( 0deg );
			    transform: rotateY( 0deg );
		}
	}
	@keyframes in-bottom {
		0% {
			-ms-transform: rotateX( 120deg );
			    transform: rotateX( 120deg );
		}
		100% {
			-ms-transform: rotateX( 0deg );
			    transform: rotateX( 0deg );
		}
	}
	@keyframes in-left {
		0% {
			-ms-transform: rotateY( 120deg );
			    transform: rotateY( 120deg );
		}
		100% {
			-ms-transform: rotateY( 0deg );
			    transform: rotateY( 0deg );
		}
	}

/* Mouse out */

	.out-top .fl-post-elements-container {
		-webkit-transform-origin: 50% 0%;
		    -ms-transform-origin: 50% 0%;
		        transform-origin: 50% 0%;

		-webkit-animation-name: out-top;
		        animation-name: out-top;
	}
	.out-right .fl-post-elements-container {
		-webkit-transform-origin: 100% 50%;
		    -ms-transform-origin: 100% 50%;
		        transform-origin: 100% 50%;

		-webkit-animation-name: out-right;
		        animation-name: out-right;
	}
	.out-bottom .fl-post-elements-container {
		-webkit-transform-origin: 50% 100%;
		    -ms-transform-origin: 50% 100%;
		        transform-origin: 50% 100%;

		-webkit-animation-name: out-bottom;
		        animation-name: out-bottom;
	}
	.out-left .fl-post-elements-container {
		-webkit-transform-origin: 0% 50%;
		    -ms-transform-origin: 0% 50%;
		        transform-origin: 0% 50%;

		-webkit-animation-name: out-left;
		        animation-name: out-left;
	}

	@-webkit-keyframes out-top {
		0% { -webkit-transform: rotateX( 0deg ); }
		100% { -webkit-transform: rotateX( -120deg ); }
	}
	@-webkit-keyframes out-right {
		0% { -webkit-transform: rotateY( 0deg ); }
		100% { -webkit-transform: rotateY( -120deg ); }
	}
	@-webkit-keyframes out-bottom {
		0% { -webkit-transform: rotateX( 0deg ); }
		100% { -webkit-transform: rotateX( 120deg ); }
	}
	@-webkit-keyframes out-left {
		0% { -webkit-transform: rotateY( 0deg ); }
		100% { -webkit-transform: rotateY( 120deg ); }
	}

	@keyframes out-top {
		0% {
			-ms-transform: rotateX( 0deg );
			    transform: rotateX( 0deg );
		}
		100% {
			-ms-transform: rotateX( -120deg );
			    transform: rotateX( -120deg );
		}
	}
	@keyframes out-right {
		0% {
			-ms-transform: rotateY( 0deg );
			    transform: rotateY( 0deg );
		}
		100% {
			-ms-transform: rotateY( -120deg );
			    transform: rotateY( -120deg );
		}
	}
	@keyframes out-bottom {
		0% {
			-ms-transform: rotateX( 0deg );
			    transform: rotateX( 0deg );
		}
		100% {
			-ms-transform: rotateX( 120deg );
			    transform: rotateX( 120deg );
		}
	}
	@keyframes out-left {
		0% {
			-ms-transform: rotateY( 0deg );
			    transform: rotateY( 0deg );
		}
		100% {
			-ms-transform: rotateY( 120deg );
			    transform: rotateY( 120deg );
		}
	}

	@media only screen and (max-width: 1024px) {

		.cubic .fl-post-gallery-post {
			-webkit-perspective: 480px;
			    -ms-perspective: 480px;
			        perspective: 480px;
		}

		.cubic .fl-posts-elements-container {
			width: 82%;
			height: 82%;
			padding: 1rem;
			margin: 9%;
			opacity: .75;
			-webkit-transform: none;
			    -ms-transform: none;
			        transform: none;
			-webkit-animation: none;
			        animation: none;
		}

	} /* /(max-width: 1024px) */