/*!
Theme Name: CBCF TwentyTwentyOne
Theme URI: http://underscores.me/
Author: MyMobileLyfe
Author URI: https://www.mymobilelyfe.com/
Description: CBCF website redesign launched in 2021.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cbcftwentytwentyone
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

CBCF TwentyTwentyOne is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 5px;
	background: #c8102e;
	color: #ffffff;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	/*border-color: #ccc #bbb #aaa;*/
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	/*border-color: #aaa #bbb #bbb;*/
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000000;
	border: 1px solid #e2e6ea;
	border-radius: 5px;
	padding: 0.6em 1em 0.4em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #e2e6ea;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}
/*
.main-navigation ul ul a {
	width: 200px;
}
*/
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* --------------------------------------------- BEGIN CBCF STYLE --------------------------------------------- */

/* TEMPLATE EFFECTS ------------------------------------------------------------- */
/* Rotate logo */
.rotate {
	position: absolute;
    width: 20%;
    -webkit-animation:spin 40s linear infinite;
    -moz-animation:spin 40s linear infinite;
    animation:spin 40s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* Show and hide rotating logo on gallery pagination */
#cbcf_avoicepdf_loading, #cbcf_avoiceimage_loading {
	display: none;
    z-index: 99;
}
#cbcf_avoicepdf_loading.show-loader-img, #cbcf_avoiceimage_loading.show-loader-img {
	display: block !important;
}

/* Text highlight color */
::selection {
  background: #c8102e;
  color: #ffffff;
}
::-moz-selection {
  background: #c8102e;
  color: #ffffff;
}

/* SPACING EDITS ------------------------------------------------------------- */
/* Fix list margin and padding */
.topbar-navigation ul, .footer-navigation ul {
	margin: 0;
	padding: 0;
}
/* Fix main element spacings */
.page-content, .entry-content, .entry-summary, .post, .page, .cbcf-footer-content .widget, .cbcf-footer-content p {
	margin: 0;
}
/* Fix SVG images in VC */

.wpb_single_image img[src*='svg'] {
	width: 100%;
}

/* VC GRID EDITS ------------------------------------------------------------- */
/* Fix equal height columns */
.row.row-o-equal-height>.col-has-fill {
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* TOPBAR ------------------------------------------------------------- */
/* Top nav links */
#mega-menu-wrap-menu-2 #mega-menu-menu-2 > li.mega-menu-item, #mega-menu-wrap-menu-5 #mega-menu-menu-5 > li.mega-menu-item {
	display: inline-block;
}

/* Search box */
#cbcfTopbarSearch {
	z-index: 9999;
	position: absolute;
}
#cbcfTopbarSearch .card {
	border-radius: 0 0 15px 15px;
}
#cbcfTopbarSearch .searchform {
	margin-bottom: 0;
}

/* Links */
.cbcf-topbarrow a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	margin-left: 20px;
}
.cbcf-topbarrow a, .cbcf-headerrow a {
	transition: all 0.25s !important;
}

/* CTA */
.cbcf-topmenu-cta {
	line-height: 50px;
	padding: 14px 24px;
}

/* HEADER ------------------------------------------------------------- */
/* Submenu dropdowns */
#mega-menu-wrap-menu-1 #mega-menu-menu-1 img {
	border-radius: 15px;
	box-shadow: 0 20px 30px 0 rgba(0,0,0,0.18);
}
span.mega-indicator:after {
	margin: 0 !important;
}

/* PAGE TITLE ------------------------------------------------------------- */
/* Style for post headers */
.cbcfpostheader.row {
	padding: 115px 0;
}
.cbcfpageheaderrow h1, .cbcfpageheaderrow h2 {
	margin: 0;
}
.cbcfpageheaderrow .wpb_text_column {
	margin-top: 0.5rem;
}
.cbcfpageheaderrow {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-top: 11rem !important;
	padding-bottom: 11rem !important;
}
.cbcfpostheader.cbcfpostheader-fellows.row, .cbcfpostheader.row {
	background-image: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/Group-2866.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding-top: 11rem !important;
	padding-bottom: 11rem !important;
}
.cbcfpostheader h1, .cbcfpostheader h2 {
	color: #c8102e;
}
.cbcfpageheaderrow .vc_column-inner, .cbcfhomepagehero .vc_column-inner {
	flex: 0 0 50% !important;
}
@media all and (max-width: 767px) {
	.cbcfpostheader.cbcfpostheader-fellows.row, .cbcfpostheader.row, body:not(.home) .cbcf-bodyrow .entry-content > .vc_row:first-child, .cbcfpageheaderrow {
		padding-top: 4rem !important;
		padding-bottom: 4rem !important;
	}
	.cbcfpageheaderrow {
		background-position: 55% 50%;
	}
	.cbcfpageheaderrow .vc_column-inner, .cbcfhomepagehero .vc_column-inner {
		padding-top: 0 !important;
		flex: 0 0 75% !important;
	}
}

/* MAIN CONTENT AREA ------------------------------------------------------------- */
/* H tag spacing */
.h1, .h2, .h3, .h4, .h5, .h6 {
	margin-bottom: 1.5rem;
}

/* Homepage */
.cbcfhomepagebar {
	color: #ffbf3f !important;
}
.cbcfhomepagebar:hover, .cbcfhomepagebar:focus {
	color: #ffffff !important;
}
@media all and (min-width: 768px) {
	.cbcfhomepagebar-container .vc_column_container>.vc_column-inner {
		border-bottom: 0 !important;
	}
}
@media all and (max-width: 767px) {
	.cbcfhomepagebar-container .vc_column_container>.vc_column-inner {
		border-right: 0 !important;
	}
}

/* Archive and post pages */
body.archive .cbcf-bodyrow > .col-12 {
	background-image: url(https://www.cbcfinc.org/wp-content/uploads/2021/08/Group-2858.svg);
	background-size: 300px;
	background-position: 0% 100%;
	background-repeat: no-repeat;
}
body.archive .cbcf-bodyrow .rounded-start {
    border-top-left-radius: 15px !important;
	border-top-right-radius: 15px !important;
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}
body:not(.page) .site-main {
	padding: 40px 0;
}
body.archive article, body.search article {
	border-bottom: solid 1px #e2e6ea;
	padding-bottom: 3rem;
}
body.archive .entry-header, body.search .entry-header {
	margin: 0 0 20px;
}
body.error404 input[type="text"], body.search input[type="text"], .cbcf-topbarrow input[type="text"] {
    padding: 0.5em 2em;
    height: 58px;
    width: 100%;
}
body.error404 .cbcfnonvcprimarybutton.cbcfsearchbutton, body.search .cbcfnonvcprimarybutton.cbcfsearchbutton, .cbcf-topbarrow .cbcfnonvcprimarybutton.cbcfsearchbutton {
    border: none;
    padding: 0.5em 1.5em;
    height: 58px;
    right: 0px;
    position: absolute;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
body.error404 .searchform, body.search .searchform {
	margin-bottom: 3rem;
}
@media all and (min-width: 768px) {
	body.archive .cbcf-bodyrow .rounded-start {
		border-top-left-radius: 15px !important;
		border-top-right-radius: 0px !important;
		border-bottom-left-radius: 15px !important;
		border-bottom-right-radius: 0px !important;
	}
}

/* Fix border radius */
.wpb_single_image.shadow, .wpb_single_image.shadow-lg, .wpb_single_image .vc_single_image-wrapper.vc_box_rounded, .wpb_single_image .vc_single_image-wrapper.vc_box_rounded img, .cbcfsingleimg, body.archive .cbcf-bodyrow .card {
	border-radius: 15px !important;
}

/* Post archive intro */
.cbcfpostintro {
	background-color: #f7f6f3;
	padding-top: 40px;
	padding-bottom: 150px;
}
.post-type-archive-publications .site-main {
	margin-top: -100px;
}

/* Single post edits */
body.single .entry-title {
	color: #c8102e;
}
body.single .entry-cbcfsubtitle {
	margin-top: 1.5rem;
}
body.single .entry-meta {
    margin: 1.5rem 0;
}
body.single .wp-post-image {
	margin-bottom: 1.5rem;
}
.entry-meta span {
    display: inline-block;
    margin-right: 20px;
}
.entry-meta span a {
    color: #000000 !important;
}
.entry-meta span a:hover, .entry-meta span a:focus {
    color: #c8102e !important;
}
.cbcfposttag:not(:last-child):after {
    content: ",";
}

/* Row background color overlay and background graphics */
.cbcf-rowcoloroverlay, .cbcf-rowbggraphic01, .cbcf-rowbggraphic02 {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	background-repeat: no-repeat;
}
@media all and (max-width: 576px) {
	.cbcf-rowbggraphic01, .cbcf-rowbggraphic02 {
		background-size: 50px !important;
	}
}

/* Blockquotes */
.cbcf-blockquote-bg {
	background-image: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/blockquote-bg.png);
	background-position: 0% 0%;
	background-size: initial;
	background-repeat: no-repeat;
}
.cbcf-blockquote-bg-white {
	background-image: url(https://www.cbcfinc.org/wp-content/uploads/2021/08/quote-white.png);
	background-position: 0% 0%;
	background-size: initial;
	background-repeat: no-repeat;
}

/* Fix CTA box word wrap */
.vc_general.vc_cta3 {
	word-wrap: initial !important;
	}

/* Line heights */
.cbcf-bodyrow .site-main p, .cbcf-bodyrow .site-main ol, .cbcf-bodyrow .site-main ul {
	line-height: 1.9;
}

/* List styles */
.cbcf-bodyrow .wpb_text_column ul {
	list-style: none;
	padding-left: 10px;
	margin-left: 10px;
}
.cbcf-bodyrow .wpb_text_column ol {
	padding-left: 10px;
	margin-left: 10px;
}
.cbcf-bodyrow .wpb_text_column ul li {
	display: table-row;
}
.cbcf-bodyrow .wpb_text_column ul li:before {
	content: '\25cf';
    color: #c8102e;
    font-weight: 900;
	padding-right: 10px;
	display: table-cell;
}
.cbcf-bodyrow .wpb_text_column ul li ul li::before {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* VC image gallery */
.wpb_gallery .wpb_flexslider .flex-control-paging {
	display: none;
}

/* Top subhead */
.cbcf-topsubhead {
	letter-spacing: 3px;
	text-transform: uppercase;
}

/* VC accordion */
.vc_tta-color-white.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title>a {
    color: #c8102e !important;
}
.vc_tta-color-white.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a {
    color: #000000 !important;
}
.vc_tta-color-white.vc_tta-style-classic .vc_tta-controls-icon::after, .vc_tta-color-white.vc_tta-style-classic .vc_tta-controls-icon::before {
    border-color: #000000 !important;
}
.vc_tta-color-white.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title>a>.vc_tta-controls-icon::before {
    border-color: #c8102e !important;
}

/* CTA animation */

.vc_btn3:hover, .vc_btn3:focus, .cbcfnonvcprimarybutton:not(.cbcfsearchbutton):hover, .cbcfnonvcprimarybutton:not(.cbcfsearchbutton):focus, .btn:hover, .btn:focus, .cbcf-bodyrow .navigation.post-navigation a:hover, .cbcf-bodyrow .navigation.post-navigation a:focus, .cbcf-bodyrow .navigation.posts-navigation a:hover, .cbcf-bodyrow .navigation.posts-navigation a:focus  {
	transform: translate3d(0, -10px, 0);
}

/* Primary CTA button - flat */
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat {
	background-color: #c8102e !important;
	color: #ffffff !important;
}
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:disabled {
    background-color: #a0a0a0 !important;
}
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:disabled:hover {
    transform: translate3d(0, 0, 0) !important;
	background-color: #a0a0a0 !important;
}
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:focus {
	background-color: #000000 !important;
}
.cbcfnonvcprimarybutton {
	border-radius: 5px;
	background-color: #c8102e;
	color: #ffffff !important;
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	overflow-wrap: break-word;
	padding: 13px 19px;
	text-align: center;
	text-decoration: none;
	transition: all 0.25s;
	vertical-align: middle;
}
.cbcfnonvcprimarybutton:hover, .cbcfnonvcprimarybutton:focus {
	background-color: #000000 !important;
	color: #ffffff !important;
}

/* Secondary CTA button - flat */
.vc_btn3.vc_btn3-color-black.vc_btn3-style-flat {
	background-color: #000000 !important;
	color: #ffffff !important;
}
.vc_btn3.vc_btn3-color-black.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-black.vc_btn3-style-flat:focus {
	background-color: #c8102e !important;
}

/* Orange CTA button - flat */
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat {
	background-color: #ffbf3f !important;
	color: #000000 !important;
}
.vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat:hover, .vc_btn3.vc_btn3-color-orange.vc_btn3-style-flat:focus {
	background-color: #000000 !important;
	color: #ffbf3f !important;
}

/* Inline link text CTA */
.cbcf-smalltextcta {
	font-weight: bold;
}
.cbcf-smalltextcta, .cbcf-bodyrow .site-main a {
	text-decoration: none;
	transition: all 0.25s;
}
.cbcf-smalltextcta:hover, .cbcf-smalltextcta:focus, .cbcf-bodyrow .site-main a:hover, .cbcf-bodyrow .site-main a:focus {
	color: #000000;
}

/* Custom post display: cards with background images */
.cbcfcustompostdisplay_cardswbgimg .cbcfcardsbgimage {
	background-size: cover;
    border-radius: 1rem;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardsoverlay {
	background-color: rgba(0,0,0,0.65);
	height: 100%;
    border-radius: 1rem;
	min-height: 600px;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer {
	width: 100%;
    padding: 30px;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer .catlabel {
	padding: 5px 15px;
	border-radius: 5px;
	font-size: 12px;
	text-transform: uppercase;
	color: #ffffff;
	display: inline-block;
    text-align: center;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer h3 {
	margin: 20px 0;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer h3, .cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer p {
	color: #ffffff !important;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer p i[class*="fa-"] {
	margin-right: 10px;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer .btn {
	color: #ffffff;
	border: solid 2px #ffffff;
}
.cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer .btn:hover, .cbcfcustompostdisplay_cardswbgimg .cbcfcardscontainer .btn:focus {
	color: #000000;
	background-color: #ffffff;
	border: solid 2px #ffffff;
}

/* Custom post display: cards with image on top */
.cbcfcustompostdisplay_cardswimgtop .card {
	border-radius: 1rem;
}
.cbcfcustompostdisplay_cardswimgtop .card-img-top {
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
}
.cbcfcustompostdisplay_cardswimgtop .catlabel {
	padding: 5px 15px;
	border-radius: 5px;
	font-size: 12px;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #c8102e;
	position: absolute;
    top: 1rem;
    left: 1rem;
}
.cbcfcustompostdisplay_cardswimgtop h3 {
	margin: 20px 0;
}
.cbcfcustompostdisplay_cardswimgtop p i[class*="fa-"] {
	margin-right: 10px;
}
.cbcfcustompostdisplay_cardswimgtop .btn {
	color: #c8102e;
	border: solid 2px #c8102e;
}
.cbcfcustompostdisplay_cardswimgtop .btn:hover, .cbcfcustompostdisplay_cardswimgtop .btn:focus {
	color: #000000;
	border: solid 2px #000000;
}

/* Custom post display: blocks */
.cbcfcustompostdisplay_blocks .cbcfblocksmodallink {
	color: inherit !important;
	cursor: pointer;
}
.cbcfcustompostdisplay_blocks .cbcfblockscontainer {
	text-align: center;
	border: solid 1px #e2e6ea;
	border-radius: 5px;
	transition: all 0.25s;
	display: flex;
    flex-flow: column;
    height: 100%;
}
.cbcfblocksmodallink .cbcfblockscontainer:hover, .cbcfblocksmodallink .cbcfblockscontainer:focus {
	border: solid 1px #c8102e;
}
.cbcfcustompostdisplay_blocks .cbcfblocksimage {
	display: block;
	width: 100%;
	height: 300px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
    border-radius: 5px 5px 0 0;
}
.cbcfcustompostdisplay_blocks .cbcfpersonneltitle {
	text-transform: uppercase;
	margin-top: 10px;
	display: block;
}
.cbcfcustompostdisplay_blocks h3 {
	font-size: 20px;
	margin-top: 10px !important;
}
.cbcfcustompostdisplay_blocks p {
	margin-bottom: 10px;
}
.cbcfcustompostdisplay_blocks .cbcfpersonneltitle, .cbcfcustompostdisplay_blocks h3, .cbcfcustompostdisplay_blocks p {
	padding: 0 10px;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalclosebg {
	background-color: #000000;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.4rem;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav {
	position: absolute;
    bottom: 0;
    right: 0;
	display: none;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav button {
	background-color: #000000;
    color: #ffffff;
    border: none;
	padding-left: 12px;
    padding-right: 12px;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav button i {
	transition: all 0.25s;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav button i:hover, .cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav button i:focus {
	opacity: 0.5;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalclosebg .btn-close {
	opacity: 1;
	transition: all 0.25s;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalclosebg .btn-close:hover, .cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalclosebg .btn-close:focus {
	opacity: 0.5;
}
.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .modal-content {
	max-height: 50%;
	border-radius: 0;
	border: solid 1px #707070;
}

@media all and (min-width: 768px){
	.cbcfcustompostdisplay_blocks .modal-dialog-scrollable  .cbcfmodalbiocolumn {
		overflow-y: scroll;
		max-height: 380px;
		padding-bottom: 150px;
	}
	.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .cbcfmodalnav {display: block;}
	.cbcfcustompostdisplay_blocks .modal-dialog-scrollable .modal-body {
		overflow-y: hidden;
	}
}

/* Custom post display: Press Release Cards */
.cbcfcustompostdisplay_pressreleasecards .card {
	border-radius: 15px;
}
.cbcfcustompostdisplay_pressreleasecards .catlabel {
	padding: 5px 15px;
	border-radius: 5px;
	font-size: 12px;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #c8102e;
	display: inline-block;
    text-align: center;
}

.cbcfcustompostdisplay_pressreleasecards .cbcf-topsubhead {
	color: #c8102e;
}
.cbcfcustompostdisplay_pressreleasecards h4 a {
	color: #000000 !important;
}
.cbcfcustompostdisplay_pressreleasecards h4 a:hover, .cbcfcustompostdisplay_pressreleasecards h4 a:focus {
	color: #c8102e !important;
}

/* Career listings VC widget */
.cbcfcareerlistings .col, .cbcfcareerlistingscol .cbcfcareerlistings {
	background-color: #7e2d40;
	border-radius: 15px;
}
.cbcfcareerlistings .cbcfcareerlistings-container {
	background-image: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/Intersection-1.svg);
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: contain;
	padding: 30px;
}
.cbcfcareerlistings .cbcfcareerlistingscategory {
	color: #ffd75e;
	text-transform: uppercase;
	letter-spacing: 3px;
}
.cbcfcareerlistings h4 {
	color: #ffffff;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: solid 1px #ffffff;
}
.cbcfcareerlistings p {
	color: #ffffff;
}
.cbcfcareerlistings p:nth-last-child(2) {
	padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: solid 1px #ffffff;
}
.cbcfcareerlistings .cbcfwhiteoutlinebutton {
	border-radius: 5px;
	border: solid 2px #ffffff;
	color: #ffffff !important;
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	overflow-wrap: break-word;
	padding: 13px 19px;
	text-align: center;
	text-decoration: none;
	transition: all 0.25s;
	vertical-align: middle;
}
.cbcfcareerlistings .cbcfwhiteoutlinebutton:hover, .cbcfcareerlistings .cbcfwhiteoutlinebutton:focus {
	background-color: #ffffff !important;
	color: #656565 !important;
}

/* CBCF Cards VC widget */
.cbcfcards {
	border-radius: 15px !important;
}
.cbcfcards .card-header:first-child, .cbcfcards .card-img-top {
	border-radius: 15px 15px 0 0 !important;
}
.cbcfcards .card-header {
	padding: 1.5rem 2rem;
}
.cbcfcards .card-header img {
	display: inline;
	margin-right: 20px;
	max-width: 70px;
	float: left;
}
.cbcfcards .card-header h3 {
	color: #ffffff;
	display: inline;
	vertical-align: middle;
	margin: 0;
}
.cbcfcards .card-body a {
	margin-right: 20px;
	transition: all 0.25s
}
.cbcfcards .card-body a.vc_btn3-style-outline-custom:hover, .cbcfcards .card-body a.vc_btn3-style-outline-custom:focus  {
	border-color: #000000 !important;
	color: #000000 !important;
}

/* CBCF Text Link with Icon VC widget */
.cbcftextlinkwithicon {
	display: inline-block;
	cursor: pointer !important;
	margin: 0 30px 30px 0;
}
.cbcftextlinkwithicon_hovercolor_black:hover, .cbcftextlinkwithicon_hovercolor_black:focus {
	color: #000000 !important;
}
.cbcftextlinkwithicon_hovercolor_white:hover, .cbcftextlinkwithicon_hovercolor_white:focus {
	color: #ffffff !important;
}
.cbcftextlinkwithicon_hovercolor_red:hover, .cbcftextlinkwithicon_hovercolor_red:focus {
	color: #c8102e !important;
}

/* Fellows profiles */
body.personnel-template-default .card {
	border-radius: 15px;
}
body.personnel-template-default .card-img, body.personnel-template-default .card-img-top {
	border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.card-text.cbcfpersonneldetails i {
	color: #c8102e;
	display: table-cell;
	width: 30px;
}
.card-text.cbcfpersonneldetails .detailslabel {
	font-weight: bold;
	text-transform: uppercase;
	display: table-cell;
	line-height: 1.2;
}
.card-text.cbcfpersonneldetails .detailsdata {
	display: block;
    padding-left: 54px;
	margin-top: 10px;
}
.card-text.cbcfpersonneldetails .detailsdata img {
	max-width: 150px;
}
.cbcfpersonnelname {
	color: #c8102e;
}
div#comments {
    display: none;
}

/* YouTube modals */
.cbcfmodalYT .modal-content {
	border: none;
	border-radius: 0;
	background-color: rgba(0,0,0,0);
}
.cbcfmodalYT-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.cbcfmodalYT-container iframe, .cbcfmodalYT-container object, .cbcfmodalYT-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
}
@media all and (max-width: 767px) {
	.cbcfmodalYT-container {
		
	}
}

/* Post navigation */
.comment-navigation .nav-previous a, .posts-navigation .nav-previous a, .post-navigation .nav-previous a, .comment-navigation .nav-next a, .posts-navigation .nav-next a, .post-navigation .nav-next a {
	border-radius: 5px;
	background-color: #c8102e;
	color: #ffffff !important;
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	overflow-wrap: break-word;
	padding: 13px 19px;
	text-align: center;
	text-decoration: none;
	transition: all 0.25s;
	vertical-align: middle;
}
.comment-navigation .nav-previous a:hover, .posts-navigation .nav-previous a:hover, .post-navigation .nav-previous a:hover, .comment-navigation .nav-next a:hover, .posts-navigation .nav-next a:hover, .post-navigation .nav-next a:hover, .comment-navigation .nav-previous a:focus, .posts-navigation .nav-previous a:focus, .post-navigation .nav-previous a:focus, .comment-navigation .nav-next a:focus, .posts-navigation .nav-next a:focus, .post-navigation .nav-next a:focus {
	background-color: #000000 !important;
}

/* Timeline */
.page-id-84278 .timelineleft:before {
	content: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/cbcf-timeline-triangle-rtl.svg);
    position: absolute;
    left: -40px;
    top: calc(50% - 20px);
}
.page-id-84278 .timelineright:before {
	content: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/cbcf-timeline-triangle.svg);
    position: absolute;
    right: -40px;
    top: calc(50% - 20px);
}
.timelinerow-line .vc_custom_1627171434486:before {
	content: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/cbcf-timeline-triangle-rtl.svg);
    position: absolute;
    left: -40px;
    top: 50%;
}
.timelinerow-line .vc_custom_1627171443419:before {
	content: url(https://www.cbcfinc.org/wp-content/uploads/2021/07/cbcf-timeline-triangle.svg);
    position: absolute;
    right: -40px;
    top: 50%;
}

/* CTA footers */
.cbcffootercta-primary .vc_btn3.vc_btn3-color-white.vc_btn3-style-outline {
	background-color: #c8102e;
}
.cbcffootercta-darkred .vc_btn3.vc_btn3-color-white.vc_btn3-style-outline {
	background-color: #7e2d40;
}
.cbcffootercta-gray .vc_btn3.vc_btn3-color-white.vc_btn3-style-outline {
	background-color: #343a40;
}

/* FOOTER ------------------------------------------------------------- */
/* Row divider lines */
.cbcf-footer-content .row:not(:first-child) {
	border-top: solid 1px #707070;
}

/* Footer text and links */
.cbcf-footer-content .widget.widget_media_image img {
	max-width: 250px !important;
}
.cbcf-footer-content {
	font-size: 16px;
	line-height: 34px;
}
.cbcf-footer-content a {
	text-decoration: none;
	transition: all 0.25s;
}
.cbcf-footer-content a:hover, .cbcf-footer-content a:focus {
	color: #FFBF3F;
}
.cbcf-footer-content .widget_cbcftwentytwentyone_widget_sociallinks a:not(:first-child) {
	margin-left: 10px;
}

/* EVENTS ------------------------------------------------------------- */
/* TEC template style */
.tribe-common *, .tribe-events-single * {
	font-family: Poppins, Arial !important;
}
.tribe-common [class*="tribe-common-h"], .tribe-events-calendar-month__day-date-daynum, .tribe-events-single h1, .tribe-events-single h2, .tribe-events-single h3, .tribe-events-single h4, .tribe-events-single h5, .tribe-events-single h6 {
	font-family: paralucent-bold-2, Poppins, Arial !important;
}
.tribe-common:not( .tribe-events-view--shortcode ) .tribe-common-c-btn, .tribe-common:not( .tribe-events-view--shortcode ) a.tribe-common-c-btn {
	border-radius: 0;
}
.tribe-common:not( .tribe-events-view--shortcode ) a.tribe-common-c-btn:hover, .tribe-common:not( .tribe-events-view--shortcode ) .tribe-common-c-btn:hover, .tribe-common:not( .tribe-events-view--shortcode ) a.tribe-common-c-btn:focus, .tribe-common:not( .tribe-events-view--shortcode ) .tribe-common-c-btn:focus {
	background-color: #000000 !important;
}
#tribe-events-pg-template, .tribe-events-pg-template, div[class*="tribe-common"] {
	max-width: initial !important;
}
div[class*="tribe-common"] button {
	border: 0;
    padding: 0.5rem 1rem;
	transition: all 0.25s;
}
.tribe-events .tribe-events-c-top-bar__nav-link {
	padding: 0.5rem 1rem;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button {
	height: 100%;
}
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
	font-size: 1rem;
}
li[class*="tribe-"]:before {
	margin: 0;
	content: "" !important;
}
a[class*="tribe-events"] {
	color: #c8102e;
	text-decoration: none;
	transition: all 0.25s
}
a[class*="tribe-events"]:hover, a[class*="tribe-events"]:focus {
	color: #000000;
}
.tribe-common .tribe-common-anchor-thin-alt {
	border-color: #c8102e !important;
}
.tribe-common .tribe-common-anchor-thin-alt:active, .tribe-common .tribe-common-anchor-thin-alt:focus, .tribe-common .tribe-common-anchor-thin-alt:hover{
	border-color: #c8102e !important;
	color: #c8102e !important;
}

/* PUBLICATIONS PAGE ------------------------------------------------------------- */
/* Publications search filter */
.cbcfpubsearchnoresults {
    margin: 50px auto;
    display: inline-block;
    background-color: #ffffff;
    padding: 10px 15px;
    font-weight: bold;
	border-radius: 15px;
}
.cbcfpubsearchfilter #cbcf_search_loading {
	display: none;
	z-index: 99;
}
.cbcfpubsearchfilter .show-loader-img {
	display: block !important;
}
.cbcfpubsearchfilter label {
	display: block;
	font-weight: bold;
}
.cbcfpubsearchfilter input, .cbcfpubsearchfilter select {
	margin-top: 20px;
	padding: 10px 0;
    border: none;
    background: initial;
    border-bottom: solid 1px #d1ccbd;
    border-radius: 0;
	width: 100%;
}
.cbcfpubsearchfilter input:focus-visible, .cbcfpubsearchfilter select:focus-visible {
	outline: none;
}
.cbcfpubsearchfilter input::placeholder {
	color: #7a7e83;
	font-style: italic;
}

/* AVOICE EXHIBIT GALLERIES ------------------------------------------------------------- */
.cbcfavoice-doc-title {
    font-size: 0.95rem;
    line-height: 1.25rem !important;
    padding-top: 0.5rem;
}
.cbcfavoice-doc-date {
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.avoicegalleryitemcol .card, .avoiceimggalleryitemcol .card {
	transition: all 0.25s;
}
.avoicegalleryitemcol .card:hover, .avoicegalleryitemcol .card:focus, .avoiceimggalleryitemcol .card:hover, .avoiceimggalleryitemcol .card:focus {
	border: solid 1px #c8102e;
}
.modal-header .close {
	border-radius: 50rem;
    border: none;
	transition: all 0.25s;
}
.modal-header .close:hover, .modal-header .close:focus {
	background: #000000;
}
.cbcfavoice-doc-modal-caption {
	line-height: 1.5rem !important;
}
.cbcfavoice-doc-modal-date {
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.cbcfavoice-doc-modal-creator {
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.cbcfavoice-doc-modal-location {
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.cbcfavoice-doc-modal-accessconditions {
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.cbcfavoice-doc-modal-label {
	color: #c8102e;
	display: block;
	padding-bottom: 0.25rem;
    font-weight: 900;
}
.cbcfavoice-doc-modal-label i {
	padding-right: 0.5rem;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
}
.cbcfavoicelabel-inline {
	display: inline;
}
.cbcfavoice-modallink {
	color: #000000 !important;
	font-size: 0.8rem;
    line-height: 1rem !important;
}
.cbcfavoice-modallink:hover, .cbcfavoice-modallink:focus {
	color: #c8102e !important;
}
.avoice_media_tags .cbcfavoice-modallink:not(:last-child):after {
	content: ', ';
}

/* POPUP SCROLLBOX ------------------------------------------------------------- */
.dgd_stb_box {
	box-shadow: 0 0 30px rgba(0,0,0,0.175);
}
.dgd_stb_box p {
	margin-bottom: 0;
}
.dgd_stb_box .stb_social {
	display: none;
}
.dgd_stb_box_close {
	color: #ffffff;
    background-color: #c8102e;
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.25s;
    padding: 0.1rem 0.5rem;
    top: -5px;
    right: -5px;
}
.dgd_stb_box_close:hover, .dgd_stb_box_close:focus {
	background-color: #000000;
	color: #ffffff;
}