/*
Theme Name: Medway Public Library
Version: 1.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");





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



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
	scroll-behavior: smooth;
	scroll-padding-top: 100px; 
}

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

.skip-to:focus, 
.skip-to:focus-within, 
.skip-to:active {
	background-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:focus-visible {
	outline-color: var(--wp--custom--secondary--main);
}

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





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



/***  TEXT & LINKS  ***/

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

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

main a:not([class]) {
	border-bottom: 1px dotted var(--wp--custom--primary--light);
}

main a:not([class]):hover {
	border-bottom: 1px solid var(--wp--custom--primary--main);
}

main figure a:not([class]), 
main figure a:not([class]):hover {
	border-bottom: none;
}



/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: black;
}

h1 {font-size: 3em;}
h2 {font-size: 1.75em;}
h3 {font-size: 1.45em;}
h4 {font-size: 1.15em;}
h5 {font-size: 1em;}
h6 {font-size: 0.85em;}



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

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0.75em 2.25em;
	border-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:hover,
.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

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

/*btn-secondary*/
.button.btn-secondary{
	background-color: var(--wp--custom--secondary--main);
	border-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--dark--1);
}

.button.btn-secondary:hover{
	background-color: var(--wp--custom--secondary--dark);
	border-color: var(--wp--custom--secondary--dark);
	color: white;
}

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

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

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

/* Icon Backgrounds */

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

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

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

/* Icon Borders */

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

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

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

a i.fal,
a i:before{
	color: inherit;
}



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

/* 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;
	transition: all 300ms ease-in-out;
}

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

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

.scroll-bar :focus-visible {
outline-color: var(--wp--custom--secondary--main);
}

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

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



/***  TOP BAR  ***/

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

.top-bar :focus-visible {
	outline-color: var(--wp--custom--secondary--main);
}

@media screen and (min-width:901px) {
	.top-bar .wp-block-column:nth-child(2):not(:last-child){
		text-align: left !important;
	}
}

@media screen and (min-width: 900px) and (max-width: 1000px) {
	.top-bar .btn-secondary {
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

.top-bar .contact-list li{
	margin-bottom:0;
	display: inline-block;
	margin-right: 10px;
}

.top-bar .contact-list li:before{
	color: white;
}

.top-bar .button {
	margin-left: 15px;
	padding: 0.4em 1.2em;
}

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

.top-bar a{
	color: white;
}

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



/***  HEADER  ***/

@media screen and (min-width:901px){
	.header-masthead{
		padding-top: 0;
		padding-bottom: 0;
	}	
}

.header-logo {
	max-height: 110px;
	border-radius: 100%;
}

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

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

@media screen and (max-width:900px) {
	.header .menu-button{
		top: 70px;
	}
}



/***  NAVBAR  ***/

.navbar {
	border-top: 5px solid var(--wp--custom--secondary--main);
	background-color: var(--wp--custom--primary--main);
}

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



/***  NAV MENUS  ***/

.nav-menu > li {
	position: relative;
	padding: 0;
}

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

.nav-menu > li.menu-item-has-children > a, 
.nav-menu > li.menu-item-has-children > span {
	padding-right: 40px;
}

.nav-menu > li.menu-item-has-children > button {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.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 {
	color: var(--wp--custom--primary--dark);
	background-color: var(--wp--custom--secondary--main);
}

.nav-menu  > li > :focus-visible {
	outline-color: var(--wp--custom--secondary--main);
}

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

.nav-menu > li > button > [class*="fa-"] {
	color: white;
}

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

@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--light--2);
	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: 40px;
	color: black;
}

.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 {
	color: var(--wp--custom--primary--dark);
	background-color: var(--wp--custom--secondary--main);
}

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

/* Nested Dropdowns */

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



/***  MOBILE NAV  ***/

.hidden-nav {
	background-color: var(--wp--custom--secondary--dark);
}

.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--main);
	color: white;
}

.hidden-menu li.menu-item-has-children > button > [class*="fa-"] {
	color: white;
}

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

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

/* 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: white;
 }
 
 .banner a:hover {
	 color: white;
	 text-decoration: underline;
 }
 
 
 
 /***  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;
	 padding: 10px 15px;
	 background-color: var(--wp--custom--light--2);
	 color: var(--wp--custom--dark--2);
   -webkit-transition: all 300ms ease-in-out;
   -moz-transition: all 300ms ease-in-out;
   transition: all 300ms ease-in-out;
 }

 .sidebar .entry-menu li:hover > a{
	background-color: var(--wp--custom--dark--2);
	color: white;
 }
 
 .sidebar .entry-menu li.current-menu-item > a {
	 background-color: var(--wp--custom--secondary--main);
	 color:var(--wp--custom--dark--1);
	 font-weight:700;
 }


 .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--2);
	 overflow: hidden;
	 color: var(--wp--custom--dark--2);
 }
 
 .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 {color: var(--wp--custom--secondary--dark);}
 
 .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: 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--main);
	font-size: 0.9em;
	color: white;
}

.footer :focus-visible {
	outline-color: var(--wp--custom--secondary--main);
}

.footer h1, 
.footer h2, 
.footer h3, 
.footer h4, 
.footer h5, 
.footer h6 {
	color: white;
}

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

.footer a {
	color: white;

}

.footer a:hover {
	color: var(--wp--custom--secondary--main);
}

.footer a:not([class]) {
	border-bottom: 1px dotted white;
}

.footer a:not([class]):hover {
	border-bottom: 1px solid var(--wp--custom--secondary--main);
}

.footer .menu a, 
.footer a [class*="fa"] {
	color: white;
}

.footer .menu a:hover, 
.footer a:hover [class*="fa"] {
	color: var(--wp--custom--secondary--main);
}

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

.footer figure a, 
.footer figure a:hover, 
.footer .menu a, 
.footer .menu a:hover, 
.footer .contact-list a, 
.footer .contact-list a:hover {
	border-bottom: none;
}

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

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

@media screen and (min-width: 1199px) {
	.footer #menu-library-information,
	.footer #menu-library-information-2 { columns: 2; }
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--primary--main);
	border-top: 1px solid var(--wp--custom--secondary--main);
	font-size: 0.9em;
	color: white;
}

.bottom-bar :focus-visible {
	outline-color: var(--wp--custom--secondary--main);
}

.bottom-bar a {
	color: white;

}

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

.bottom-bar a:not([class]) {
	border-bottom: 1px dotted white;

}

.bottom-bar a:not([class]):hover {
	border-bottom: 1px solid var(--wp--custom--secondary--main);
}

.bottom-bar figure a, 
.bottom-bar figure a:hover {
	border-bottom: none;
}

.bottom-bar .menu a {
	color: white;
	border-bottom: none;
}

.bottom-bar .menu a:hover {
	color: var(--wp--custom--secondary--main);
	border-bottom: none;
}





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



.arrow-list ul, .check-list ul, .check-circle-list ul, .icon-list ul, .contact-list ul{list-style: none;}

tbody{vertical-align: top;}

a:not([class]) img{transition: all 300ms ease-in-out;}

a:not([class]):hover img{transform: scale(1.05);}



/***  HOURS  ***/

.hours-open {color: var(--wp--custom--primary--main);}

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

.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(--light-3);
	border-radius: var(--radius-1);
	-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(--primary-lt);
}

.hp-box-cols a, 
.hp-box-cols a:hover {
	display: block;
	color: var(--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;}

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



/***  HP INFO COLS  ***/

.hp-info-cols {margin-top: var(--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:not(.member-full-true) .member.active .member-box, 
.member-cols:not(.member-full-true) .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--dark);
}

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

.member-cols .member-meta a i{
	padding: 6px 8px;
	border-radius: 2px;
	background-color:var(--wp--custom--light--1);
	color: var(--wp--custom--secondary--dark);
	transition: all 300ms ease-in-out;
}

.member-cols .member-meta a:hover i{
	background-color:var(--wp--custom--primary--main);
	color:white;
}


/***  HOMEPAGE ICON COLS  ***/

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

.hp-icon-cols .wp-block-column {
	display: block;
	padding: 30px;
	background-color: var(--wp--custom--light--1);
	border-radius: var(--wp--custom--radius--sm);
	transition: all 300ms ease-in-out;
}

.hp-icon-cols a, 
.hp-icon-cols a:hover {
	border: none !important;
}

.hp-icon-cols  .wp-block-column:hover{
	background-color: var(--wp--custom--secondary--light);
	transform: translateY(-3px);
}

.hp-icon-cols .wp-block-column:hover path{fill: var(--wp--custom--primary--main);}

.hp-icon-cols .wp-block-column:hover .wp-block-heading {color: var(--wp--custom--primary--main);}

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

.hp-icon-cols .wp-block-column:hover {text-decoration: none;}

.hp-icon-cols .wp-block-column:hover p {text-decoration: underline;}

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


.link-boxes .wp-block-column {
	cursor: pointer;
}



a:hover .social-icons.fab{
	background-color: var(--wp--custom--secondary--dark)!important;
	color: white!important;
}

/*.toggle-form-wrap*/
.toggle-form-wrap{
	padding: 1em;
	background-color: var(--wp--custom--secondary--light);
	border-radius: var(--wp--custom--radius--md);
}

@media screen and (max-width:900px) {
	.toggle-form-wrap{
		max-width: unset;
		width: calc(100% + 10px);
	}
}

form.toggle-form{margin-bottom: 5px;}

/*fixed-button*/


.fixed-buttons-main-container{
	align-items: flex-start!important;
	position: relative;
}

.fixed-buttons-main-container > .wp-block-column:first-of-type{
	position: sticky;
	top: 20px;
}

.fixed-buttons-main-container > .wp-block-column:last-of-type{flex: 1;}

.fixed-button{
	gap: 10px!important;
}

.fixed-button .wp-block-button,
.fixed-button .wp-block-button__link{width: 100%;}

/*gallery-stack-mobile*/
@media screen and (max-width:600px) {
.gallery-stack-mobile .wp-block-image{width: 100%!important;}
}

/*meeting minutes list*/
.page-id-18180 .page li a{text-transform: capitalize;}

/*new-arrivals*/
.new-arrivals table{margin: auto;}

/*events calendar*/
.tribe-embed a,
.tribe-events-event-meta a,
.tribe-events-single a{
	color: var(--wp--custom--primary--light);
}

.tribe-embed a:hover,
.tribe-events-event-meta a:hover,
.tribe-events-single a:hover{
	color: var(--wp--custom--primary--main);
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border{
	border-color: var(--wp--custom--primary--main);
	color: var(--wp--custom--primary--main);
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover{
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.tribe-events .datepicker .day.active,
.tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus,
.tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active,
.tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus,
.tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active,
.tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus,
.tribe-events .datepicker .year.active:hover,
.tribe-events .datepicker .day.focused,
.tribe-events .datepicker .day:focus,
.tribe-events .datepicker .day:hover,
.tribe-events .datepicker .month.focused,
.tribe-events .datepicker .month:focus,
.tribe-events .datepicker .month:hover,
.tribe-events .datepicker .year.focused,
.tribe-events .datepicker .year:focus,
.tribe-events .datepicker .year:hover{
	background-color: var(--wp--custom--secondary--main);
	color: var(--wp--custom--dark--1);
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:focus,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link:hover{
	color: var(--wp--custom--secondary--dark)!important;
}

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

li.gutena-tab-title:not(:last-of-type){border-right: none!important;}

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

/* TOC Plugin */
#ez-toc-container { border-radius: 0; }

/* HTML Sitemap */
.html_sitemap ul { list-style: none; }

.html_sitemap ul li { position: relative; }

.html_sitemap ul li:not(:last-child) { margin-bottom: 0.5em; }

.html_sitemap ul li:before {
	content: "\f105";
	position: absolute;
	top: 0.33em;
	left: -1.75em;
	width: 1.3em;
	height: 1.3em;
	display: block;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 300;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;
	font-size: 1em;
	text-align: center;
	color: var(--wp--custom--primary--main);
}





/*
 * END OF
 * CUSTOMIZABLE CSS
 */