body {text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;}
hr {border-top: 1px solid rgba(0,0,0,0.1);}
a {text-decoration: none;}
.clear {clear: both; float: none;}
.faded {opacity: 0.5;}

.invert, .invert h1, .invert h2, .invert h3, .invert h4, .invert h5, .invert h6, .invert a, .invert strong, .invert em {
	color:#fff!important;
}

.max-2000 {max-width: 2000px;} .max-1950 {max-width: 1950px;} .max-1900 {max-width: 1900px;} .max-1850 {max-width: 1850px;} .max-1800 {max-width: 1800px;} .max-1750 {max-width: 1750px;} .max-1700 {max-width: 1700px;} .max-1650 {max-width: 1650px;} .max-1600 {max-width: 1600px;} .max-1550 {max-width: 1550px;} .max-1500 {max-width: 1500px;} .max-1450 {max-width: 1450px;} .max-1400 {max-width: 1400px;} .max-1350 {max-width: 1350px;} .max-1300 {max-width: 1300px;} .max-1250 {max-width: 1250px;} .max-1200 {max-width: 1200px;} .max-1150 {max-width: 1150px;} .max-1100 {max-width: 1100px;} .max-1050 {max-width: 1050px;} .max-1000 {max-width: 1000px;} .max-950 {max-width: 950px;} .max-900 {max-width: 900px;} .max-850 {max-width: 850px;} .max-800 {max-width: 800px;} .max-750 {max-width: 750px;} .max-700 {max-width: 700px;} .max-650 {max-width: 650px;} .max-600 {max-width: 600px;} .max-550 {max-width: 550px;} .max-500 {max-width: 500px;} .max-450 {max-width: 450px;} .max-400 {max-width: 400px;} .max-350 {max-width: 350px;} .max-300 {max-width: 300px;} .max-250 {max-width: 250px;} .max-200 {max-width: 200px;} .max-150 {max-width: 150px;} .max-100 {max-width: 100px;} .max-50 {max-width: 50px;} .max-base {max-width: var(--main-narrow-col);}
.centered {margin: 0 auto;}

/*****************************************************************************/
/**************************** IMAGE ASPECT RATIO *****************************/ 
/*****************************************************************************/

.img-tall .fl-photo img, .img-wide .fl-photo img, .img-square .fl-photo img,
.img-tall img, .img-wide img, .img-square img,
.img-tall.fl-post-image img, .img-wide.fl-post-image img, .img-square.fl-post-image img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    position: absolute;
}

.img-tall .fl-photo-content, .img-wide .fl-photo-content, .img-square .fl-photo-content,
.img-tall .ar-photo, .img-wide .ar-photo, .img-square .ar-photo,
.fri-meta-featured.img-tall,
.img-tall .fri-meta-featured, .img-wide .fri-meta-featured, .img-square .fri-meta-featured {
	position: relative; 
	display: block;
}

.img-circle .fl-photo-content, .img-circle img {border-radius: 50%;}

.img-tall .fl-photo-content::after,
.img-tall .ar-photo::after,
.img-tall .fri-meta-featured::after, 
.fri-meta-featured.img-tall::after {
    display: block;
    content: '';
    padding-bottom: 120%;
}

.img-wide .fl-photo-content::after,
.img-wide .ar-photo::after,
.img-wide .fri-meta-featured::after,
.fri-meta-featured.img-wide::after {
    display: block;
    content: '';
    padding-bottom: 66%;
}

.img-square .fl-photo-content::after,
.img-square .ar-photo::after,
.img-square .fri-meta-featured::after,
.fri-meta-featured.img-square::after {
    display: block;
    content: '';
    padding-bottom: 100%;
}

.img-circle .fl-photo-content::after,
.img-circle .ar-photo::after,
.img-circle .fri-meta-featured::after,
.fri-meta-featured.img-circle::after {
    display: block;
    content: '';
}

/*****************************************************************************/
/******************************** BB FIXES ***********************************/ 
/*****************************************************************************/

.fl-page .fl-page-nav-right .fl-page-header-wrap {border-bottom: 0px;}
p {margin-bottom: 1em;}
blockquote p:last-of-type {margin-bottom: 0px;}
.fl-col.centered {float: none;}
.icon-top .fl-icon {vertical-align: top;}
.fl-rich-text h1:first-of-type, .fl-rich-text h2:first-of-type, .fl-rich-text h3:first-of-type, .fl-rich-text h4:first-of-type, .fl-rich-text h5:first-of-type, .fl-rich-text h6:first-of-type {margin-top: 0px;}
footer .menu .sub-menu {display: none!important;}

/*****************************************************************************/
/************************** GENERAL MEDIA QUERIES ****************************/ 
/*****************************************************************************/

@media only screen and (min-width: 768px) {
	.mobile-only {display: none!important;}
}

@media only screen and (max-width: 767px) {
	.desktop-only {display: none!important;}
    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse ul.navbar-nav>li.mobile-nav-search {border: none;}
    .search-form {
        display: flex;
        gap: 15px;
    }
    li.mobile-nav-search {margin-top: 10px;}
}