/*
Theme Name: Meerkins Library
Version: 6.0
Theme URI: http://www.cyberoptik.net
Description: Customizable responsive Wordpress theme created by CyberOptik
Author: CyberOptik
Author URI: http://www.cyberoptik.net
Template: optik-theme
*/




/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/

@import url("../optik-theme/style.css");

/***	Montserrat	***/

/* Normal */
@font-face {
	font-family: 'Montserrat';
	font-weight: normal;
	src: url('fonts/Montserrat/Montserrat-Regular.ttf');
}

/* Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: normal;
	src: url('fonts/Montserrat/Montserrat-Italic.ttf');
}

/* Medium */
@font-face {
	font-family: 'Montserrat';
	font-weight: 500;
	src: url('fonts/Montserrat/Montserrat-Medium.ttf');
}

/* Medium Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: 500;
	src: url('fonts/Montserrat/Montserrat-MediumItalic.ttf');
}

/* Semibold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 600;
	src: url('fonts/Montserrat/Montserrat-SemiBold.ttf');
}

/* Semibold Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: 600;
	src: url('fonts/Montserrat/Montserrat-SemiBoldItalic.ttf');
}

/* Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: bold;
	src: url('fonts/Montserrat/Montserrat-Bold.ttf');
}

/* Bold Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: bold;
	src: url('fonts/Montserrat/Montserrat-BoldItalic.ttf');
}

/***	Alegreya	***/

/* Normal */
@font-face {
	font-family: 'Alegreya';
	font-weight: normal;
	src: url('fonts/Alegreya/Alegreya-Regular.ttf');
}

/* Italic */
@font-face {
	font-family: 'Alegreya';
	font-style: italic;
	font-weight: normal;
	src: url('fonts/Alegreya/Alegreya-Italic.ttf');
}


/* Bold */
@font-face {
	font-family: 'Alegreya';
	font-weight: bold;
	src: url('fonts/Alegreya/Alegreya-Bold.ttf');
}

/* Bold Italic */
@font-face {
	font-family: 'Alegreya';
	font-style: italic;
	font-weight: bold;
	src: url('fonts/Alegreya/Alegreya-BoldItalic.ttf');
}



/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/


/***  UNIVERSAL STYLES  ***/

html {
	font-size: 18px;
}

body {
	line-height: 1.38em;
	font-family: var(--wp--custom--font--1);
	color: var(--wp--custom--dark--1);
}

p { line-height: inherit; }

:focus-visible { outline-color: black; }



/***  BACK TO TOP BUTTON  ***/

.btt-button [class*="fa-"] {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--tertiary--main);
	color: black;
}

.btt-button:hover [class*="fa-"] {
	background-color: var(--wp--custom--quartary--main);
	color: black;
	transform: translateY(-3px);
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--tertiaty--light); text-decoration:none;
}

.section.main a:not([class]),
.entry-list .entry-link { 
	border-bottom: 2px dotted var(--wp--custom--tertiary--main);
 }

.section.main a:not([class]):hover,
.entry-list .entry-link:hover { 
	border-bottom: 2px solid var(--wp--custom--quartary--main);
 }

.section.main .normal-links a:not([class]) { border-bottom: none; }

.section.main .hover-links a { transition: all 300ms ease-in-out; }

.section.main .hover-links a:hover { transform: translateY(-3px); }


/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	color: var(--wp--custom--primary--dark);
	font-family: var(--wp--custom--font--2);
	font-weight: 600;
	letter-spacing: 0.07em;
}

h1 {font-size: 2.67em;}
h2 {font-size: 1.78em;}
h3 {font-size: 1.56em;}
h4 {font-size: 1.29em;}
h5 {font-size: 1.07em;}
h6 {font-size: 0.76em;}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 { font-size: 2.40em; }
  h2 { font-size: 1.60em; }
  h3 { font-size: 1.40em; }
  h4 { font-size: 1.26em; }
  h5 { font-size: 0.96em; }
  h6 {font-size: 0.74em;}
}

@media screen and (max-width: 600px){
h1 {font-size: 2.14em;;}
h2 {font-size: 1.42em; }
h3 {font-size: 1.25em;  }
h4 {font-size: 1.10em;}
h5 {font-size: 0.86em;}
h6 {font-size: 0.72em;}
}

.subheading:is(h1, h2, h3, h4, h5, h6),
.subheading *:is(h1, h2, h3, h4, h5, h6) { font-weight: 500; }


/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
	clear: both;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0.75em 2.25em;
	border-color: var(--wp--custom--secondary--main);
	border-radius: var(--wp--custom--radius--xl);
	background-color: var(--wp--custom--secondary--main);
	font-weight: 700;
	letter-spacing: 0.07em;
	color: black;
}

.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	color: white;
	transform: translateY(-3px);
}

.button [class*="fa-"], 
.wp-block-button__link [class*="fa-"], 
.button:hover [class*="fa-"], 
.wp-block-button__link:hover [class*="fa-"] {
	color: inherit !important;
}

/* Outlined Button */

.button-outline, 
.is-style-outline .wp-block-button__link {
	background: none;
	color: var(--wp--custom--primary--main);
}

.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background: none;
	color: var(--wp--custom--secondary--main);
}



/***  ICONS  ***/

/* Icon Colors */

.fa {font-weight: 300;}

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--secondary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: var(--wp--custom--secondary--main);
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: var(--wp--custom--secondary--light);
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--light);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--secondary--main);
}

a .fa-br {
	border-color: var(--wp--custom--secondary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--light);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before {
	color: var(--wp--custom--secondary--main);
}



/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	border-radius: var(--wp--custom--radius--xs);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

input[type="text"]:focus-visible, input[type="email"]:focus-visible, input[type="number"]:focus-visible, 
input[type="password"]:focus-visible, input[type="search"]:focus-visible, input[type="tel"]:focus-visible, 
input[type="url"]:focus-visible, input[type="date"]:focus-visible, input[type="datetime-local"]:focus-visible, 
input[type="month"]:focus-visible, input[type="time"]:focus-visible, input[type="week"]:focus-visible, 
textarea:focus-visible, select:focus-visible, input[type="radio"]:focus-visible, input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible, input[type="button"]:focus-visible {
	outline: 2px solid var(--wp--custom--primary--main);
	outline-offset: 2px;
}

/* Buttons */

input[type="submit"], input[type="reset"], input[type="button"] {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

input[type="Submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

input[type="Submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}

.toggle-form .toggle-submit:focus-visible, 
.search-form .search-submit, 
.filter-form .filter-submit:focus-visible {
	outline-color: var(--wp--custom--primary--main) !important;
}

/* Ninja Forms */

.nf-form-fields-required {display: none;}

.nf-field-element input[type="button"], 
.nf-field-element input[type="submit"] {height: 50px;}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--primary--main);
	border-bottom:3px solid var(--wp--custom--primary--dark);
}

.scroll-bar-container {
	max-width: none;
	padding: 0;
}

.scroll-logo {
	max-height: 70px;
}



/***  TOP BAR  ***/

.top-bar {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: var(--wp--custom--secondary--main);
	font-size: 0.9em;
	color: black;
}

.top-bar .button {
	background-color: var(--wp--custom--primary--main);
	border-color: var(--wp--custom--primary--main);
	margin-left: 15px;
  padding: 0.4em 1.2em;
	color: white;
}

.top-bar .button:hover {
	background-color: var(--wp--custom--primary--dark);
	border-color: var(--wp--custom--primary--dark);
}

.top-bar a .fab {
	margin-left: 2px;
	margin-right: 2px;
}

.top-bar a .fal {
	color:inherit;
}

.top-bar a {
	color: inherit;
}

.top-bar a:not([class]):hover { text-decoration: underline; }

@media screen and (max-width: 900px) {
	.top-bar .wp-block-group { justify-content: center; }
}


/***  HEADER  ***/

@media screen and (min-width: 901px) {
	.header-masthead { width: 50%; }

	.masthead-link { justify-content: flex-end; }
}

.header-logo {
	max-height: 120px;
}

.header-right {
	padding-top: 15px;
	padding-bottom: 15px;
}


@media screen and (max-width: 900px) {
.header-right {padding-top: 0;}
}


@media screen and (min-width: 901px) {
	.header-right { 
		width: 50%; 
		padding-left: 48px;
	}
}

/* Menu Button */

.header .menu-button [class*="fa-"], 
.header .menu-button:hover [class*="fa-"] {
	color: var(--wp--custom--dark--1);
}

.header .menu-button.active [class*="fa-"] {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
	background-color: var(--wp--custom--primary--main);
	border-bottom:3px solid var(--wp--custom--primary--dark);
}

.navbar-container {
	max-width: none;
	padding: 0;
}



/***  NAV MENUS  ***/

.nav-menu > li {
	margin: 0 8px;
	padding: 0;
}

.nav-menu > li > a, 
.nav-menu > li > span {
  padding: 18px;
	color: white;
	font-weight: 500;
}

.single-service .nav-menu > li.services-link > a, 
.single-service .nav-menu > li.services-link > span, 
.single-product .nav-menu > li.products-link > a, 
.single-product .nav-menu > li.products-link > span, 
.single-member .nav-menu > li.members-link > a, 
.single-member .nav-menu > li.members-link > span, 
.single-post .nav-menu > li.posts-link > a, 
.single-post .nav-menu > li.posts-link > span, 
.category .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > span, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-page-ancestor > a, 
.nav-menu > li.current-page-ancestor > span, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li.current-menu-item > span {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

.nav-menu > li:hover > a, 
.nav-menu > li:hover > span {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

@media screen and (max-width: 1400px) {
.nav-menu > li > a, 
.nav-menu > li > span {
	padding-left: 10px;
	padding-right: 10px;
}
}

/* Nav Button */

.nav-menu > li.nav-button > a > span {
	padding: 0.75em 1.5em;
	margin-top: -0.75em;
	margin-bottom: -0.75em;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button:hover > a > span {
	background-color: var(--wp--custom--primary--light);
}



/***  DROPDOWN MENUS  ***/

.nav-menu li ul {
	background-color: var(--wp--custom--primary--main);
	width: 250px;
}

.nav-menu li ul li:first-child {
	padding-top: 15px;
}

.nav-menu li ul li:last-child {
	padding-bottom: 15px;
}

.nav-menu li ul li > a, 
.nav-menu li ul li > span {
	padding-left: 20px;
	padding-right: 20px;
	color: white;
}

.nav-menu li ul li > span {
	padding: 0;
}

.nav-menu li ul li span [class*="fa-"], 
.nav-menu li ul li a [class*="fa-"] {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.nav-menu li ul li.current-menu-item > a {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

.nav-menu li ul li:hover > a {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -15px;
}



/***  MOBILE NAV  ***/

.hidden-nav {
	background-color: var(--wp--custom--primary--main);
}

.hidden-menu li > a, 
.hidden-menu li > span, 
.hidden-menu li a + [class*="fa-"], 
.hidden-menu li span + [class*="fa-"] {
	color: white;
}

.hidden-menu li.current-menu-item > a {
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

.hidden-nav::-webkit-scrollbar {
	width: 10px;
	background-color: var(--wp--custom--primary--main);
}

.hidden-nav::-webkit-scrollbar-thumb {
	border: 0;
	background-color: var(--wp--custom--primary--main);
}

.hidden-nav .fa {
	color:white;
}

/* Sub Menu */

.hidden-menu li ul {
	background-color: rgba(0,0,0,0.15);
}

.hidden-menu > li > ul {
	font-size: 0.9em;
}





/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  BANNER  ***/

.banner {
	background-color: var(--wp--custom--dark--1);
}

.banner-inner {
	min-height: 220px;
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner-tall .banner-inner {
	min-height: 380px;
}

.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner a {
	color: var(--wp--custom--primary--main);
}

.banner a:hover {
	color: var(--wp--custom--primary--light);
}

.banner h1 {text-shadow: 2px 2px 7px var(--wp--custom--dark--1);}

/***  HEADLINE BAR  ***/

.headline-bar {
	padding-top: var(--wp--custom--spacer--sm);
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main-boxed, 
.main-sidebar {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xs, 
.spaced-xs-top {
	padding-top: var(--wp--custom--spacer--xs);
}

.spaced-xs, 
.spaced-xs-btm {
	padding-bottom: var(--wp--custom--spacer--xs);
}

.spaced-sm, 
.spaced-sm-top {
	padding-top: var(--wp--custom--spacer--sm);
}

.spaced-sm, 
.spaced-sm-btm {
	padding-bottom: var(--wp--custom--spacer--sm);
}

.spaced, 
.spaced-top, 
.spaced-md, 
.spaced-md-top {
	padding-top: var(--wp--custom--spacer--md);
}

.spaced, 
.spaced-btm, 
.spaced-md, 
.spaced-md-btm {
	padding-bottom: var(--wp--custom--spacer--md);
}

.spaced-lg, 
.spaced-lg-top {
	padding-top: var(--wp--custom--spacer--lg);
}

.spaced-lg, 
.spaced-lg-btm {
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xl, 
.spaced-xl-top {
	padding-top: var(--wp--custom--spacer--xl);
}

.spaced-xl, 
.spaced-xl-btm {
	padding-bottom: var(--wp--custom--spacer--xl);
}

/* Sidebar */

.sidebar .entry-menu {
	padding: 0;
	margin: 0; 
	list-style: none;
}

.sidebar .entry-menu li:not(:last-child) {margin-bottom: 5px;}

.sidebar .entry-menu li a {
	position: relative;
	display: block;
	font-weight: 500;
	padding: 10px 15px;
	background-color: var(--wp--custom--light--2);
	color: var(--wp--custom--dark--1);
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.sidebar .entry-menu li.current-menu-item > a {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.sidebar .entry-menu li a:hover {
	background-color: var(--wp--custom--primary--main);
	text-decoration: none;
	color: white;
}

.sidebar .entry-menu li a [class*="fa-"], 
.sidebar .entry-menu li a:hover [class*="fa-"] {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0ms ease-in-out;
	color: inherit !important;
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--custom--light--3)!important;
	overflow: hidden;
	color: var(--wp--custom--dark--1);
}

.entry-cols .entry-link:hover {transform: translateY(-3px);}

.entry-cols .entry-icon-wrap:first-child {padding: 30px 30px 0;}

.entry-cols .entry-icon svg {
	width: 60px;
	fill: var(--wp--custom--primary--main);
}

.entry-cols .entry-link .entry-title, 
.entry-cols .entry-link:hover .entry-title {
	font-weight: 500;
	color: var(--wp--custom--dark--1)!important;
}

.entry-cols .entry-text-wrap {padding: 30px;}

.includes-link-text .entry:not(.col-full) .entry-text-wrap {padding-bottom: 70px;}

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {color: var(--wp--custom--primary--main);}

.entry-cols .entry-link:hover .entry-link-text {color: var(--wp--custom--primary--light);}

/* Paging Nav */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--light--1);
	background: white;
  color: var(--wp--custom--secondary--dark);
}

.archive-pagination a:hover {
	background-color: var(--wp--custom--primary--main);
  color: white;
}

.archive-pagination a i { color: inherit !important; }



/***  SINGLE  ***/





/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  CTA BAR  ***/

.cta-bar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {color: white;} 




/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.footer h1, 
.footer h2, 
.footer h3, 
.footer h4, 
.footer h5, 
.footer h6 {
	color: var(--wp--custom--light--1);
}

.footer h4:first-child {
	margin-bottom: 30px;
}

.footer a {
	color: white;
}

.footer a:hover {
	color: white;
	text-decoration: underline;
}

.footer a .fab {
	margin-left: 2px;
	margin-right: 2px;
}

/* Footer Icon List */

.footer .icon-list li:before, 
.footer .arrow-list li:before, 
.footer .check-list li:before, 
.footer .check-circle-list li:before, 
.footer .contact-list li:before {color: var(--wp--custom--secondary--light);}

.footer .icon-list li a, 
.footer .arrow-list li a, 
.footer .check-list li a, 
.footer .check-circle-list li a, 
.footer .contact-list li a {
	color: white;
}

.footer .contact-list .map-marker a {display: block;}

.footer .icon-list li a:hover, 
.footer .arrow-list li a:hover, 
.footer .check-list li a:hover, 
.footer .check-circle-list li a:hover, 
.footer .contact-list li a:hover {
	color: white;
}

.footer-logo {
	width:250px;
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--secondary--main);
	color: black;
}

.bottom-bar a {
	color: inherit;
	line-height: 1;
}

.bottom-bar a:hover {
	text-decoration: underline;
}


/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/

/***  BOX COLS  ***/

.boxs-cols .wp-block-column {
 display:block;
 padding: 30px 15px!important;
  border: 3px solid var(--wp--custom--primary--main);
  background-color: var(--wp--custom--light--1);
  border-radius: var(--wp--custom--radius--md);
  height:270px;
}

.nav-menu > li > button > [class*="fa-"] {
    color: var(--wp--custom--light--1);
}

/***  HOURS  ***/

.opening-hours {
	width: 100%;
	margin-top: -3px;
}

.opening-hours tr th, 
.opening-hours tr td {
	padding-top: 3px;
	padding-bottom: 3px;
}

.opening-hours tr:not(:last-child) {
	border-bottom: 1px solid rgba(222,222,222,0.1);
}

.opening-hours .day-name {text-align: left;}

.opening-hours .hours {text-align: right;}



/***  EVENTS  ***/

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container, 
#tribe-events, 
#tribe-events-pg-template, 
.tribe-events-pg-template, 
#tribe-events-content {
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: none;
}

.tribe-events-single-event-title {
	display: none;
	visibility: hidden;
}

.tribe-block__venue {font-family: var(--font-1);}

.tribe-block__venue .tribe-block__venue__meta .tribe-block__venue__name h3 {
	font-size: 1.15em;
	font-weight: bold;
}

.tribe-common .tribe-common-g-row {
    align-items: center;
}

.tribe-events-calendar-list__event-featured-image {
    max-height: 300px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Event List */

.event-list, 
.event-list .event {
	margin-left: 0;
	list-style: none;
}

.event-list .event:not(:last-child) {margin-bottom: 0.5em;}

.event-list .event-title {
	font-weight: bold;
}

.event-list .event-date {
	color: var(--dark-3);
	font-size: 0.94em;
}



/***  HP COLS  ***/

.hp-box-cols .wp-block-column {
	background-color: var(--wp--custom--light-3);
	border-radius: var(--wp--custom--radius-md);
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.hp-box-cols .wp-block-column:hover {
	background-color: var(--wp--custom--primary-lt);
	cursor: pointer;
}

.hp-box-cols a, 
.hp-box-cols a:hover {
	display: block;
	color: var(--wp--custom--dark-1);
	text-decoration: none;
}

.hp-box-cols img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.hp-box-cols .wp-block-image a {padding: 30px 20px 0;}

.hp-box-cols .wp-block-heading {margin: 0; font-weight: 600;}

.hp-box-cols .wp-block-heading a {padding: 10px 20px 30px;}



/***  HP INFO COLS  ***/

.hp-info-cols {margin-top: var(--wp--custom--spacer-md) !important;}

.hp-info-cols .wp-block-column {
	position: relative;
	padding-bottom: 50px;
}

.hp-info-cols .wp-block-buttons {
	position: absolute;
	bottom: 0;
	left: 0;
}



/*** POSTS  ***/

/* Post Cols */

.post-cols .post-meta {
	color: var(--wp--custom--dark--3);
	font-size: 0.94em;
}

.post-cols .post-cats {
  position: absolute;
  top: 30px;
  left: 30px;
}

.post-cols .post-cats span {
  border-radius: var(--wp--custom--radius--lg);
  padding: 5px 10px;
  margin: 0;
  margin-right: 4px;
  background: rgba(0,0,0,0.4);
  color: white;
}

/* Post List */

.post-list, 
.post-list .post {
	margin-left: 0;
	list-style: none;
}

.post-list .post:not(:last-child) {margin-bottom: 0.5em;}

.post-list .post-title {
	font-weight: bold;
}

.post-list .post-date {
	color: var(--dark-3);
	font-size: 0.94em;
}



/***  TEAM  ***/

.member-cols .member-position {
	font-weight: 600;
	color: var(--wp--custom--primary--dark);
}



/***  HOMEPAGE ICON COLS  ***/

.hp-icon-cols .wp-block-column,
.hp-icon-cols .wp-block-group {
	background-color: var(--wp--custom--primary--main);
	padding: 40px 15px !important;
  border-radius: var(--wp--custom--radius--md);
  color:var(--wp--custom--dark--1);
  text-align: center;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
	.hp-icon-cols .wp-block-column,
	.hp-icon-cols .wp-block-group { font-size: 0.8em; }
}

.hp-icon-cols .wp-block-column:hover,
.hp-icon-cols .wp-block-group:hover {
  transform: translateY(-4px);
  color: white;
  cursor: pointer;
}

.hp-icon-cols {
	text-align: center;
}

.hp-icon-cols a {
	display: block;
	border-bottom:1px solid transparent!important;
}

.hp-icon-cols .wp-block-outermost-icon-block {
	justify-content: center;
}

.hp-icon-cols a:hover {text-decoration: none;}

.hp-icon-cols a:hover p {text-decoration: underline;}

.hp-icon-cols .wp-block-heading:not(:first-child) {margin-top: 0.25em;}

.hp-icon-cols .wp-block-heading {color:white; font-weight: 500;}

/** Resouces **/

.eresource-link	{
	color: var(--wp--custom--primary--dark);
}

.eresource-title {
	color: var(--wp--custom--primary--main)!important;
}

.eresource-excerpt-wrap {
	color: var(--wp--custom--dark--1)!important;
}

.eresource-cols .eresource-thumb { width: 100%; }

/***  BOX COLS  ***/

.box-cols .wp-block-column {
 display:block;
  position:relative;
 padding: 30px 25px!important;
  background-color: var(--wp--custom--light--3);
 -webkit-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

/** BORDER BOX **/

.border-box {
	border-top: 2px solid var(--wp--custom--light--1);
}

/***  INFO COLS  ***/

.info-cols {margin-top: var(--spacer-md) !important;}

.info-cols .wp-block-column,
.info-col.wp-block-column {
	padding: 25px !important;
	background-color:var(--wp--custom--light--1);
	-webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.info-cols .wp-block-buttons,
.info-col.wp-block-column {
	position: absolute;
	bottom: 0;
	left: 0;
}

.info-cols .wp-block-column:hover,
.info-col.wp-block-column:hover {
  transform: translateY(-4px);
}

/** Media Queries

/* Tablets (Portrait & Landscape) */
@media screen and (min-width: 601px) and (max-width: 1024px) {

}

/* iPad Mini & iPad Air (Portrait) */
@media screen and (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
}

/* Mobile */

@media screen and (max-width: 600px){
}

/* Teams */
/* Teams */
.member-box {
    background-color: var(--wp--preset--color--light-3);
    padding: 20px 15px;  /* Reduced padding for a more compact box */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* Aligns the content towards the top */
    height: auto;  /* Removes the fixed height */
    box-sizing: border-box;  /* Ensures padding is included in the box height */
}

/* Remove hover effects on the box */
.member-box:hover {
    transform: none !important;
    box-shadow: none !important;
}

.member-box .entry-title a:hover {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default;
}

.staff-grid .entry {
    display: flex;
    flex-direction: column;
    height: auto; 
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
}

body:not(.active) .sub-menu .menu-item-has-children {
	position: relative !important;
}
body:not(.active) .sub-menu .menu-item-has-children button{
	position: absolute;
    right: 10px;
	top:4px;
}
body:not(.active) .sub-menu .menu-item-has-children:last-child button, body:not(.active) .sub-menu .menu-item-has-children:first-child button{
	top:19px;
}

.nav-menu li button {
    background: none;
    border: none;
    padding: 0;
}

.nav-menu li button .fa{
	color:#fff;
}

/** Event **/
/* body.post-type-archive-tribe_events .banner:before {
  background-image: url('/wp-content/uploads/meekins-library-fall-2022.jpg') !important;
} */
/* WOWBRARY */

#wowbrary a { border-bottom: none !important; }

#wowbrary img { width: revert-layer; }

#wowbrary table tr:last-child td:last-child {padding-bottom: 24px;}

#wowbrary table tr:first-child td:last-child {padding: 6px;}

.friends-lib > .menu-item-inner {
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;  /* ensure it respects padding */
}
/* Remove hover effects on trustee cards */
.trustees-wrapper a:hover,
.trustees-wrapper .et_pb_blurb:hover {
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/** Media Queries **/

@media screen and (min-width: 601px) and (max-width: 900px) {
	.section-reverse {
    flex-direction: column-reverse;
}
	.hp-icon-cols {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem; /* adjust spacing as needed */
  }
 .eresources .wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem;
  }

  .eresources .wp-block-column {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

}

/* Mobile */

@media screen and (max-width: 600px){
	.section-reverse {
    flex-direction: column-reverse;
}
	.main-boxed, .main-sidebar {
    padding-top: var(--wp--custom--spacer--md);
    padding-bottom: var(--wp--custom--spacer--md);
}
}


.wp-block-social-links {
 gap:5px;		
}

/* Stack Columns */
@media screen and (max-width: 900px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}

@media screen and (min-width: 601px) {
	.stack-on-sm.wp-block-columns,
	.stack-on-sm .wp-block-columns { flex-wrap: nowrap !important; }
}

/* Font Weight */

.fw-400,
.fw-400 * { font-weight: 400; }

.fw-500,
.fw-500 * { font-weight: 500; }

.fw-600,
.fw-600 * { font-weight: 600; }

.fw-700,
.fw-700 * { font-weight: 700; }

/* Thumb Firefox Fix */
[class*="thumb-size-"] { width: 100%; }

/* Logo Carousel */
.wp-block-lcb-logo-carousel a:hover img { transform: translateY(-3px); } 

/* Rounded Inherit */

figure.rounded img,
figure.rounded-md img { border-radius: var(--wp--custom--radius--md) !important; }

figure.rounded-xs img { border-radius: var(--wp--custom--radius--xs) !important; }

figure.rounded-sm img { border-radius: var(--wp--custom--radius--sm) !important; }

figure.rounded-lg img { border-radius: var(--wp--custom--radius--lg) !important; }

figure.rounded-xl img { border-radius: var(--wp--custom--radius--xl) !important; }


/*
 * END OF
 * CUSTOMIZABLE CSS
 */