/*
Theme Name: Allen Park 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	***/

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

/* 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');
}

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

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



/***	JOST	***/

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

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

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

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



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



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
}

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

.skip-to {
	background-color: black;
	color: white;
}



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

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

.btt-button:hover [class*="fa-"] {
	background-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--dark--1);
}





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



/***  TEXT & LINKS  ***/

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

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

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

.section.main a:not([class]):hover,
.entry-list .entry-link:hover { 
	border-bottom: 1px solid var(--wp--custom--primary--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 {
	font-weight: 600;
	color: var(--wp--custom--primary--dark);
	font-family: var(--wp--custom--font--2);
}

h1 {font-size: 3.2em;}
h2 {font-size: 2em;}
h3 {font-size: 1.65em; font-weight: 500;}
h4 {font-size: 1.45em;}
h5 {font-size: 1.2em;}
h6 {font-size: 0.85em;}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.75em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.25em; }
  h5 { font-size: 1.125em; }
  h6 { font-size: 1em; }
}

@media screen and (max-width: 600px){
h1 {font-size: 1.75em;;}
h2 {font-size: 1.5em; }
h3 {font-size: 1.25em;  }
h4 {font-size: 1.125em;}
h5 {font-size: 1em;}
h6 {font-size: 0.875em;}
}
/***  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--dark);
	border-radius: var(--wp--custom--radius--xl);
	background-color: var(--wp--custom--secondary--dark);
	font-weight: 600;
	color: white;
}

.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--dark--1);
	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--xl);
	color: white;
	transition: all 300ms ease-in-out;
}

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

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--light);
	border-bottom:3px solid var(--wp--custom--primary--main);
	color: var(--wp--custom--dark--1);
}

.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--primary--dark);
	font-size: 0.9em;
	color: white;
}

.top-bar .button {
	background-color: var(--wp--custom--secondary--light);
	border-color: var(--wp--custom--secondary--light);
	color: var(--wp--custom--dark--1);
	margin-left: 15px;
    padding: 0.4em 1.2em;
}

.top-bar .button:hover {
	background-color: var(--wp--custom--secondary--dark)!important;
	border-color: var(--wp--custom--secondary--dark)!important;
	color: white!important;
}

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

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

.top-bar a {
	color: white;
}

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

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

/***  HEADER  ***/

.header {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.3)), url(/wp-content/uploads/allen-park-background.png);
	background-repeat:no-repeat;
	background-position:top center;
	background-size: cover;
}

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

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


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

/* Menu Button */

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

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



/***  NAVBAR  ***/

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

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



/***  NAV MENUS  ***/

.nav-menu > li > a, 
.nav-menu > li > span {
  padding: 18px;
	color: var(--wp--custom--dark--1);
	font-weight: 500;
}


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


.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: 8px;
	padding-right: 8px;
	font-size:.93em;
}
}

/* 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--secondary--dark);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button:hover > a > span {
	background-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--dark--1);
}



/***  DROPDOWN MENUS  ***/

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

.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: 10px;
	padding-right: 40px;
	color: var(--wp--custom--dark--1);

}

.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--light);
}

.hidden-menu li > a, 
.hidden-menu li > span, 
.hidden-menu li a + [class*="fa-"], 
.hidden-menu li span + [class*="fa-"] {
	color: var(--wp--custom--dark--1);
}

.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: var(--wp--custom--dark--1);
}

/* 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--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

.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 35px 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--dark);
	color: white;
}

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

.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 {
    background-color: var(--wp--custom--light--3)!important;
    border-radius: var(--wp--custom--radius--sm);
	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 img {
    margin-left: auto;
	margin-right:auto;
    display: inherit;
}

.entry-cols .entry-link .entry-title, 
.entry-cols .entry-link:hover .entry-title {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--dark);}

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

/* Paging Nav */

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

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



/***  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--dark);
	font-size: 0.9em;
	color: white;
}

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

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

.footer a {
	color: white;
}

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

.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: var(--wp--custom--secondary--light);
}

.footer-logo {
	width:250px;
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--primary--dark);
	font-size: 0.9em;
	color: white;
}

.bottom-bar a {
	color: white;
}

.bottom-bar a:hover {
	color: var(--wp--custom--secondary--light);
	text-decoration: none;
}





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

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


/***  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;
}


/***  HOURS  ***/

.hours-open {color: white;}

.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;
}

/* 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.active .member-box, 
.member-cols .member-box:hover {transform: translateY(-3px) scale(1.05);}

.member-cols .member-portrait {border-radius: var(--wp--custom--radius--xs);}

.member-cols .member-title {
	color: var(--wp--custom--secondary--main);
}

.member-cols .member-box:hover .member-title {color: var(--wp--custom--secondary--main);}

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



/***  HOMEPAGE ICON COLS  ***/

.hp-icon-cols .wp-block-column {
	background-color: var(--wp--custom--primary--dark);
	padding: 40px 15px !important;
  border-radius: var(--wp--custom--radius--sm);
  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;
}

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

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

.hp-icon-cols a {
	display: block;
	border-bottom:1px dotted 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: none;}

.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;
}

/***  BOX COLS  ***/

.box-cols .wp-block-column {
 display:block;
 padding: 30px 15px!important;
  background-color: var(--wp--custom--light--1);
  border-radius: var(--wp--custom--radius--sm);
  height:280px;
}


/** BORDER BOX **/

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

/***  INFO COLS  ***/
.info-cols .wp-block-column,
.info-col.wp-block-column {
 position: relative;
 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;
 min-height: 250px;
 display: flex;
 flex-direction: column;
 justify-content: center; 
 align-items: center;     
 text-align: center;      
}

.info-cols-2 .wp-block-column,
.info-col-2.wp-block-column {
 padding: 50px;
 background-color: var(--wp--custom--light--3);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Teams */

.member-box {
    background-color: var(--wp--preset--color--light-3);
    padding: 20px 15px;  
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    height: auto;  
    box-sizing: border-box;  
}

/* 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)); 
}

/** homework **/

.eresource-side-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.eresource-item-side {
	display: flex;
}

.entry-cols-side .entry-link {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	flex-direction: row;
	border: 3px solid var(--wp--custom--primary--main);
	background-color: var(--wp--custom--light--3) !important;
	border-radius: var(--wp--custom--radius--md);
	overflow: hidden;
	color: var(--wp--custom--dark--1);
	text-decoration: none;
	padding: 1rem;
	width: 100%;
}

.eresource-thumb img {
	width: 150px;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
}

.eresource-content-side {
	flex: 1;
}

.eresource-title-side {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.eresource-excerpt-side{
	color: #555;
}

.eresource-button-side {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.5em 1em;
	background-color: var(--wp--custom--primary--main);
	color: #fff;
	border-radius: var(--wp--custom--radius--sm);
	font-size: 0.9rem;
	text-align: center;
}



/** Hide Featured image on event list **/
.tribe-events-calendar-list__event-featured-image-wrapper.tribe-common-g-col {
    display: none;
}
body.post-type-archive-tribe_events .banner:before {
  background-image: url('/wp-content/uploads/allen-park-public-library.jpg') !important;
}

/** 500 Books **/
/* Center the figure container */
.page-id-18238 .entry-content {
  text-align: center !important;
}

.page-id-18238 .wp-block-image.500books {
  margin-left: auto;
  margin-right: auto;
  max-width: 400px; /* match the image width or desired max */
}

.page-id-18238 .wp-block-image.500books img {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, var(--wp--custom--secondary--main));
}


/** Eresources **/

.eresource-link {
	padding-top:20px;
}

.wp-block-social-links {
	gap:5px;
}
/** Calendar **/
 .responsive-iframe-wrapper {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
  }

  .responsive-iframe-wrapper iframe {
    width: 1000px; /* match source site’s min width */
    max-width: 100%;
    border: none;
    height: 800px; /* adjust as needed */
  }

/** Media Queries **/

/* Tablets (Portrait & Landscape) */
@media screen and (min-width: 768px) and (max-width: 1366px) {
  .top-bar .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .top-bar .wp-block-column {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

	  /* Font Awesome external link icon spacing */
  .fa-external-link::before {
    content: "\f08e";
    margin-left: 15px;
  }

}
/* iPad Mini & iPad Air (Portrait) */
@media screen and (min-width: 744px) and (max-width: 819px) and (orientation: portrait) {
	.section-reverse {
    flex-direction: column-reverse;
}
	.top-bar .wp-block-columns {
        flex-wrap: nowrap !important;
    }
	
	 /* Font Awesome external link icon spacing */
  .fa-external-link::before {
    content: "\f08e";
    margin-left: 15px;
  }
	/* Image Resize for Tablets */
	/*
  .wp-block-image img {
    max-width: 80% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
	*/
  /* Contact us split to two columns */
  body.page-id-68 .wp-block-columns {
    flex-wrap: nowrap !important;
  }
  /* Library Hours: split to two columns */
  .wp-block-column.library_hours.is-layout-flow.wp-block-column-is-layout-flow{
    column-count: 2 !important;
  }

	 /* Home icons to two column*/
	.hp-icon-cols {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}
/* Online Service*/
.page-id-18260 .entry-content.page-content .wp-block-columns.is-layout-flex {
  display: flex !important;
  flex-wrap: nowrap !important;
}
.responsive-iframe-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.responsive-iframe-wrapper iframe {
  width: 1000px;
  max-width: 100%;
  border: none;
  height: 500px;
}
}


/* Mobile (max-width 600px) */
@media screen and (max-width: 600px) {
  .section-reverse {
    flex-direction: column-reverse;
  }

  .fa-external-link::before {
    content: "\f08e";
    margin-left: 15px;
  }
	img.wp-image-18930.size-full {
    width: 80%;
   }

}


/* Password Protected Form */
.post-password-form input[type="submit"] {
	vertical-align: bottom;
	margin-top: 1em;
}

/*gutena tabs*/
li.gutena-tab-title{
	margin-left:0;
}

.gutena-tab-title{
	min-width: unset!important;
}

@media screen and (max-width:1200px){
    li.gutena-tab-title{
    	flex:1;
    }
}

/* Custom Gut Slider */

.custom-gutslider .gutslider-content-inner { box-sizing: border-box; }

/* Mailchimp Subscribe Form */
#mc-embedded-subscribe-form #mc-embedded-subscribe {
	border-color: var(--wp--custom--primary--main);
    background-color: var(--wp--custom--primary--main);
    border-radius: var(--wp--custom--radius--xl);
    color: white;
	transition: all 300ms ease-in-out;
}

#mc-embedded-subscribe-form #mc-embedded-subscribe:hover {
	border-color: var(--wp--custom--primary--dark);
    background-color: var(--wp--custom--primary--dark);
    color: white;
    transform: translateY(-3px);
}

/* Media & Text Block */

 @media screen and (max-width:600px){
	 .wp-block-media-text__media img {
		 width:auto;
		 max-width: 100%;
		 margin-bottom: 1em;
	 }
 
	 .wp-block-media-text>.wp-block-media-text__content{ padding:0; }
 }

/* Top Bar CTA */
.top-bar-cta a { 
	display: inline-block; 
	transition: all 300ms ease-in-out;
}
.top-bar-cta a:hover { transform: translateY(-3px); }
.fa-youtube:before { margin-left: -1px; }

/*
 * END OF
 * CUSTOMIZABLE CSS
 */