/*
Theme Name: Bannockburn Theme
Theme URI: https://bannockburnchurch.com/
Author: Amanda McElvain
Author URI: https://bannockburnchurch.com
Description: Official WordPress theme for Bannockburn Church.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bannockburn-theme
Tags: translation-ready

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

bannockburn-theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Home
	## Posts and pages
	## Events
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
:root {
	--orange: #f08016;
	--bright-blue: #2ebff0;
	--teal: #1d80a0;
	--dark-teal: #145970;
	--gray: #f9fafa;
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 75rem;
	/*padding-top: 4.5rem;*/
	padding-top: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2.44em;
	margin: 0.67em 0;
	line-height: 1.4;
}

h2 {
	font-size: 1.95em;
	line-height: 1.4;
}

h3 {
	font-size: 1.56em;
	line-height: 1.4;
}

h4 {
	font-size: 1.25em;
	line-height: 1.5;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 0.8em;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

.is-style-rounded img {
	border-radius: 20px;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 0.875rem;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #191e23;
	font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica,
	Arial, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #191e23;
	clear: both;
}

.entry-header .entry-title {
	font-size: 2.44em;
	line-height: 1.4;
	margin: 1em 0 1rem;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 0.8em 1em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 0.875rem;
}

.allcaps {
	text-transform: uppercase;
}

.lowercase {
	text-transform: lowercase;
}

.bold {
	font-weight: 700;
}

@media screen and (min-width: 600px) {
	code,
	kbd,
	tt,
	var {
		font-size: 0.8125rem;
	}
}

p > code {
	padding: 2px;
	border-radius: 2px;
	background: #f3f4f5;
	font-size: inherit;
}

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

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

big {
	font-size: 125%;
}

.archive .site-header {
	margin-bottom: 3.5em;
}

.site-title {
	margin: 0.4375em 0 0;
	font-size: 38px;
	font-weight: bold;
	line-height: 1.2;
	color: #333332;
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-branding {
	margin-bottom: 1.75em;
}

.site-description {
	margin: 0.4375em 0 0;
	font-size: 17px;
	font-weight: inherit;
	line-height: 1.4;
	word-wrap: break-word;
	color: #6c7781;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

blockquote,
q {
	quotes: "" "";
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

hr {
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

.orange-border {
	border: 2px solid var(--orange);
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.fixed-top {
	background: transparent !important;
}

.bbckids .navbar-dark {
	background: var(--bright-blue) !important;
}

.bbckids .navbar-dark .navbar-nav .active > .nav-link {
	color: var(--dark-teal) !important;
}

.fixed-top.scrolled {
	background: rgba(20, 89, 112, 1) !important;
	transition: background-color 200ms linear;
}

.archive .fixed-top {
	background: var(--dark-teal) !important;
}

.navbar-dark .nav-link {
	color: #fff !important;
}

.dropdown-toggle::after {
	border: none;
	font: normal normal normal 14px/1 FontAwesome;
	vertical-align: middle;
}

.navbar-dark a[aria-expanded="true"].dropdown-toggle::after {
	content: "\f106";
}

.navbar-dark a[aria-expanded="false"].dropdown-toggle::after {
	content: "\f107";
}

.navbar-dark .navbar-nav .active > .nav-link {
	color: var(--bright-blue) !important;
}

.bbckids .navbar-dark .current-menu-item a {
	color: var(--dark-teal) !important;
	font-weight: 800;
}

.bbckids .navbar-dark .highlight {
	background: var(--orange);
	border-radius: 5px;
	font-weight: 800;
}

.bbckids .navbar-dark .highlight:hover a,
.bbckids .navbar-dark .highlight:focus a {
	color: var(--dark-teal) !important;
}

.bbckids .navbar-dark .highlight a {
	padding-left: 1rem;
	padding-right: 1rem;
}

.bbckids .navbar-dark .nav-link:hover,
.bbckids .navbar-dark .nav-link:focus {
	color: var(--dark-teal) !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus {
	color: var(--bright-blue) !important;
}

.fixed-top.scrolled .nav-link:hover,
.fixed-top.scrolled .nav-link:focus {
	color: var(--bright-blue) !important;
}

.navbar .dropdown-menu li a:hover,
.navbar .dropdown-menu li a:focus,
.navbar .dropdown-menu li.current-menu-item a,
.navbar .dropdown-menu .dropdown:hover .dropdown-menu a:hover,
.navbar .dropdown-menu .dropdown:hover .dropdown-menu a:focus {
	background: var(--dark-teal) !important;
	color: #fff !important;
}

.navbar .dropdown-menu .dropdown:hover .dropdown-menu a {
	background: #fff !important;
	color: #212529 !important;
}

.navbar .dropdown-menu .dropdown .dropdown-menu {
	display: none;
	padding-top: 0;
}

.navbar .dropdown-menu .dropdown:hover .dropdown-menu {
	bottom: 0;
	display: block;
	margin-left: 20px;
	position: relative;
	top: 180%;
}

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu {
		display: block;
		margin-top: 0;
		opacity: 0;
		transition: 0.3s;
		visibility: hidden;
	}
	.navbar .dropdown-menu {
		background: var(--teal);
		border: none;
		border-radius: 0;
	}
	.navbar .dropdown-menu .dropdown-item {
		color: #fff;
	}
	.navbar .dropdown-menu .dropdown-item:hover,
	.navbar .dropdown-menu .dropdown-item:focus {
		background: var(--dark-teal) !important;
	}
	.navbar .nav-item:hover .nav-link {
		color: #fff;
	}
	.navbar .dropdown-menu.fade-down {
		top: 80%;
		transform: rotateX(-75deg);
		transform-origin: 0% 0%;
	}
	.navbar .dropdown-menu.fade-up {
		top: 180%;
	}
	.navbar .nav-item:hover .dropdown-menu {
		opacity: 1;
		top: 100%;
		transform: rotateX(0deg);
		transition: 0.3s;
		visibility: visible;
	}
}

.offcanvas-header {
	display: none;
}

@media (max-width: 992px) {
	.offcanvas-header {
		display: block;
		margin-top: 1rem;
		position: relative;
		z-index: 9;
	}
	.offcanvas-header .btn-close {
		background: var(--dark-teal);
		border: 2px solid var(--dark-teal);
		color: #fff;
	}
	.offcanvas-header .btn-close:hover,
	.offcanvas-header .btn-close:focus {
		background: transparent;
		color: var(--dark-teal);
	}
	.navbar-collapse {
		background: #f2f2f2;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 100%;
		overflow-y: auto;
		padding-left: 1rem;
		padding-right: 1rem;
		transition: visibility 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
		visibility: hidden;
		width: 100%;
	}
	.navbar-collapse.show {
		transform: translateX(-100%);
		visibility: visible;
	}
	.navbar-dark .navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}
	.navbar-nav {
		margin-top: 5rem;
	}
	.navbar-nav li {
		border-bottom: 1px solid #ccc;
		padding: 1rem 0;
	}
	.navbar .dropdown-menu li {
		border-bottom: none;
		padding: 0;
	}
	.navbar-nav li:last-of-type {
		border-bottom: none;
	}
	.navbar-dark .nav-link {
		color: #333 !important;
		font-size: 1.4rem;
		font-weight: 500;
	}
	.navbar-dark a[aria-expanded="false"].dropdown-toggle::after {
		font-size: 20px;
	}
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: var(--bright-blue);
}

a:hover,
a:focus,
a:active {
	color: #00a0d2;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	margin: 0 auto;
	max-width: 580px;
	text-align: center;
}

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

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

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

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation li {
	position: relative;
}

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

.menu-toggle {
	padding: 1em;
}

@media screen and (max-width: 37.5em) {
	/* Small menu. */
	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
		margin: 0 auto;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}

	.main-navigation a {
		padding: 0 0.5em;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	border-bottom: 1px solid #e2e4e7;
	margin: 0 auto 60px;
	max-width: 580px;
	overflow: hidden;
	padding-bottom: 60px;
}

.nav-links {
	display: flex;
}

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

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

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

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

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft,
.alignright {
	max-width: 580px !important; /* Let's work to make this !important unnecessary */
}

.alignleft img,
.alignright img,
.alignleft figcaption,
.alignright figcaption {
	max-width: 50%;
	width: 50%;
}

.alignleft figcaption {
	clear: left;
}

.alignright figcaption {
	clear: right;
}

.alignleft img,
.alignleft figcaption {
	float: left;
	margin-right: 1.5em;
}

.alignright img,
.alignright figcaption {
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area {
	width: 25%;
}

.widget {
	/* margin: 0 0 1.5em;
	 Make sure select elements fit in widgets. */
}

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

.footer-widgets {
	background: #f9f9f9;
	bottom: 0;
	left: 0;
	padding: 20px;
	position: relative !important;
	right: 0;
	z-index: 99;
}

.footer-widgets .wrap {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1000px;
	width: 100%;
}

.footer-widgets p {
	font-size: 14px;
	margin-bottom: 0;
}

.footer-widgets .widget:first-of-type {
	text-align: left;
}

.footer-widgets .widget:last-of-type {
	text-align: right;
}

.footer-widgets .widget:last-of-type a.social {
	margin-right: 5px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#page {
	margin: 0 auto;
	max-width: 100%;
}

.hide-title .entry-header {
	display: none;
}

.site-branding {
	text-align: center;
	margin: 5px 0;
	max-width: 276px;
	width: 100%;
}

.site-footer {
	display: none;
	margin: 1em 0;
	color: #6c7781;
	font-size: 90%;
}

/*--------------------------------------------------------------
## Home
--------------------------------------------------------------*/
.home .entry-header {
	display: none;
}

.home .hentry,
.home .entry-content {
	margin: 0;
}

.entry-content > .alignfull.home-hero {
	bottom: 0;
	left: 0;
	margin-top: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

.home-hero h2 {
	font-weight: 300;
}

.home-hero a {
	font-size: 16px;
	margin-top: 1.5rem;
}

.homehero {
	background: #f9f9f9;
}

.home-location {
	transition: all 0.2s ease-in-out;
}

.home-location:hover {
	transform: translateY(-5%);
}

body.home {
	padding-top: 0;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
body.full-page-hero {
	padding-top: 0;
}

.full-page-hero .entry-content > .alignfull.page-hero,
.full-page-hero .hentry,
.full-page-hero .entry-content {
	margin: 0;
}

.entry-content > .alignfull.no-mar-btm {
	margin-bottom: 0;
}

.entry-content > .alignfull.no-mar-top {
	margin-top: 0;
}

.sticky {
	display: block;
}

.hentry {
	/*margin: 60px 0;*/
	margin: 0 0;
}

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

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

.entry-content {
	margin: 0 0 0;
}

.entry-meta {
	color: #6c7781;
	font-size: 90%;
}

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

.entry-header,
.page-header,
.entry-footer,
.site-info,
.posts-navigation,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
	margin: 1.5em auto;
	padding-left: 14px;
	padding-right: 14px;
	max-width: 580px;
}

.entry-header .wp-post-image {
	margin-bottom: 1.5em;
}

.entry-footer span {
	margin-right: 1em;
}

.entry-footer {
	color: #6c7781;
	font-size: 90%;
	padding-bottom: 40px;
	border-bottom: 1px solid #e2e4e7;
}

footer.entry-footer {
	display: none;
}

@media screen and (min-width: 608px) {
	.entry-header,
	.page-header,
	.entry-footer,
	.site-info,
	.posts-navigation,
	.post-navigation,
	.page-navigation,
	.comments-area,
	.not-found .page-content,
	.search .entry-summary {
		padding-left: 0;
		padding-right: 0;
	}
}

/*--------------------------------------------------------------
## Events
--------------------------------------------------------------*/
.entry-content ul.ecs-event-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	justify-content: space-between;
	margin-block-start: 0;
	max-width: 100%;
	padding-inline-start: 0;
	width: 100%;
}

ul.ecs-event-list li {
	align-items: center;
	display: flex;
	flex: 0 0 33%;
	flex-direction: column;
	justify-content: center;
	margin-left: 0;
}

.women ul.ecs-event-list li,
.men ul.ecs-event-list li {
	flex: 1;
}

ul.ecs-event-list li img {
	margin-bottom: 20px;
}

ul.ecs-event-list li h4.entry-title {
	margin-bottom: 0;
}

ul.ecs-event-list li span.duration.time {
	color: var(--dark-teal);
	font-weight: 700;
}

ul.ecs-event-list p.ecs-excerpt {
	margin-top: 10px;
}

.tribe-events-event-image {
	float: left;
	margin-right: 30px;
	max-width: 500px;
	width: 100%;
}

.single-tribe_events .tribe-events-event-meta {
	background: var(--gray);
}

.tribe-events-meta-group .tribe-events-single-section-title {
	color: var(--dark-teal);
	font-size: 20px;
}

.single-tribe_events .tribe-events-event-meta {
	font-size: 16px;
}

.tribe-common .tribe-common-c-btn {
	background-color: var(--teal);
}

.tribe-common .tribe-common-c-btn:hover,
.tribe-common .tribe-common-c-btn:focus {
	background-color: var(--dark-teal);
}

.tribe-events .tribe-events-c-ical__link {
	border: 1px solid var(--teal);
	color: var(--teal);
}

.tribe-events .tribe-events-c-ical__link:hover,
.tribe-events .tribe-events-c-ical__link:focus {
	background-color: var(--bright-blue);
	border: 1px solid var(--bright-blue);
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

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

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

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

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

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

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

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.3333333333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.6666666667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.2857142857%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.1111111111%;
}

.gallery-caption {
	display: block;
}
/* my customcss | junaid */
/* mobile devices only */
@media only screen and (max-width: 600px) {
  .my-custom-staff-imgs .wp-block-image img {
    height: auto;
    max-width: 100%;
    width: 100% !important;
    vertical-align: bottom;
}
.my-custom-staff-imgs figure.aligncenter.size-medium {
    margin: 0px !important;
    width: 100% !important;
}
	.my-custom-staff-imgs .wp-block-image .aligncenter {
    width: 100% !important;
    
}
	
}
/* desktop only */
@media only screen and (min-width: 600px) {
.staff-pagee .wp-container-30.wp-block-column figure img, .staff-pagee .wp-container-38.wp-block-column figure img{
    max-height: 300px !important;
   
}
	.staff-pagee .wp-container-47.wp-block-columns img{
		height:285px !important;
		
	}
	.staff-pagee .wp-container-47.wp-block-column img, .staff-pagee .wp-container-48.wp-block-column img {
    height: 270px !important;
}
	
	figure.marg-right {
    margin-right: 30px !important;
}
	
}

