/*!
Theme Name: Marais Road Shul
Theme URI: http://underscores.me/
Author: Creative Peppers
Author URI: https://creativepeppers.com/
Description: Custom theme build for projects. It is lightweight and fast.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: marais
Tags: custom-logo, custom-menu, featured-images, threaded-comments

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

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

*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}
form.search-form {
    position: relative;
    max-width: 450px;
    margin: auto;
}

form.search-form > label {
    display: block;
    width: 100%;
}
form.search-form input.search-field {
    width: 100%;
    display: block;
    padding-right: 40px;
}
form.search-form input.search-submit {
    position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
    font-size: 0;
    width: 40px;
    background-color: transparent;
    border: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0ibTE2LjMyNSAxNC44OTlsNS4zOCA1LjM4YTEuMDA4IDEuMDA4IDAgMCAxLTEuNDI3IDEuNDI2bC01LjM4LTUuMzhhOCA4IDAgMSAxIDEuNDI2LTEuNDI2TTEwIDE2YTYgNiAwIDEgMCAwLTEyYTYgNiAwIDAgMCAwIDEyIi8+PC9zdmc+);
    background-position: center;
    background-repeat: no-repeat;
}
/* Interactive
	 ========================================================================== */

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	line-height: 1.2;
}

p {
	margin-bottom: 1rem;
}
p:last-of-type {
    margin-bottom: 0;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

ul,
ol {
	margin: 0 0 1em 1.2em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

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

/* Links
--------------------------------------------- */
a {
	color: #6DDAFF;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease-in-out;
}

a:visited {
	color: #6DDAFF;
}

a:hover,
a:focus,
a:active {
	color: #6DDAFF;
	border-color: #6DDAFF;
}

a:focus {
	outline: thin dotted;
}

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

/* 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);
	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: #000;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 3px 8px;
	display: block;
	height: 35px;
}

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

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

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


.container {
    max-width: 1330px;
    margin: 0 auto;
	padding: 0 15px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Default header styling */
header.site-header {
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: top 0.3s ease, transform 0.3s ease;
	background-color: #1e1e1e;
	padding: 35px 0;
/*     box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1); */
	position: sticky;
}

/* When scrolling starts, make header fixed */

body.elementor-page:not(.elementor-editor-active) header.site-header {
    position: fixed;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}
body.elementor-page:not(.home) header.site-header {
	background-color: #1e1e1e;
}
body header.site-header.header-fixed {
	background-color: #1e1e1e !important;
	padding: 10px 0;
}
header.site-header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	min-height: 50px;
}
header.site-header .site-branding {
    max-width: 137px;
	width: 60%;
}
header.site-header .site-branding h1.site-title {
    margin: 0;
}
header.site-header a.custom-logo-link {
    display: block;
    border-bottom: none;
}
header.site-header a.custom-logo-link img{
    display: block;
}
header.site-header .site-branding h1.site-title a {
    text-decoration: none;
}
.woo-icons {
    display: flex;
    gap: 10px;
	align-items: center;
}
.woo-icons a {
    text-decoration: none;
}
.woo-icons a svg {display: block;}
.header-contact {
    display: flex;
    gap: 20px;
}
.header-contact > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}
.header-contact > a:before {
    content: "";
    background-color: #000000;
    display: inline-block;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    margin-right: 6px;
    transition: all 0.3s ease-in-out;
}
.header-contact > a.header-email:before {
    mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyBmaWxsPSJub25lIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zIDV2LS41YS41LjUgMCAwIDAtLjUuNXptMTggMGguNWEuNS41IDAgMCAwLS41LS41ek0zIDUuNWgxOHYtMUgzek0yMC41IDV2MTJoMVY1ek0xOSAxOC41SDV2MWgxNHpNMy41IDE3VjVoLTF2MTJ6TTUgMTguNUExLjUgMS41IDAgMCAxIDMuNSAxN2gtMUEyLjUgMi41IDAgMCAwIDUgMTkuNXpNMjAuNSAxN2ExLjUgMS41IDAgMCAxLTEuNSAxLjV2MWEyLjUgMi41IDAgMCAwIDIuNS0yLjV6Ii8+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0ibTMgNWw5IDlsOS05IiBzdHJva2Utd2lkdGg9IjEiLz48L2c+PC9zdmc+) no-repeat center / contain;
	-webkit-mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyBmaWxsPSJub25lIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zIDV2LS41YS41LjUgMCAwIDAtLjUuNXptMTggMGguNWEuNS41IDAgMCAwLS41LS41ek0zIDUuNWgxOHYtMUgzek0yMC41IDV2MTJoMVY1ek0xOSAxOC41SDV2MWgxNHpNMy41IDE3VjVoLTF2MTJ6TTUgMTguNUExLjUgMS41IDAgMCAxIDMuNSAxN2gtMUEyLjUgMi41IDAgMCAwIDUgMTkuNXpNMjAuNSAxN2ExLjUgMS41IDAgMCAxLTEuNSAxLjV2MWEyLjUgMi41IDAgMCAwIDIuNS0yLjV6Ii8+PHBhdGggc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0ibTMgNWw5IDlsOS05IiBzdHJva2Utd2lkdGg9IjEiLz48L2c+PC9zdmc+) no-repeat center / contain;
}
.header-contact > a.header-phone:before {
    mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOS41IDIyYTEuNSAxLjUgMCAwIDAgMS41LTEuNVYxN2ExLjUgMS41IDAgMCAwLTEuNS0xLjVjLTEuMTcgMC0yLjMyLS4xOC0zLjQyLS41NWExLjUxIDEuNTEgMCAwIDAtMS41Mi4zN2wtMS40NCAxLjQ0YTE0Ljc3IDE0Ljc3IDAgMCAxLTUuODktNS44OWwxLjQzLTEuNDNjLjQxLS4zOS41Ni0uOTcuMzgtMS41M2MtLjM2LTEuMDktLjU0LTIuMjQtLjU0LTMuNDFBMS41IDEuNSAwIDAgMCA3IDNIMy41QTEuNSAxLjUgMCAwIDAgMiA0LjVDMiAxNC4xNSA5Ljg1IDIyIDE5LjUgMjJNMy41IDRIN2EuNS41IDAgMCAxIC41LjVjMCAxLjI4LjIgMi41My41OSAzLjcyYy4wNS4xNC4wNC4zNC0uMTIuNUw2IDEwLjY4YzEuNjUgMy4yMyA0LjA3IDUuNjUgNy4zMSA3LjMybDEuOTUtMS45N2MuMTQtLjE0LjMzLS4xOC41MS0uMTNjMS4yLjQgMi40NS42IDMuNzMuNmEuNS41IDAgMCAxIC41LjV2My41YS41LjUgMCAwIDEtLjUuNUMxMC40IDIxIDMgMTMuNiAzIDQuNWEuNS41IDAgMCAxIC41LS41Ii8+PC9zdmc+) no-repeat center / contain;
	-webkit-mask: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0xOS41IDIyYTEuNSAxLjUgMCAwIDAgMS41LTEuNVYxN2ExLjUgMS41IDAgMCAwLTEuNS0xLjVjLTEuMTcgMC0yLjMyLS4xOC0zLjQyLS41NWExLjUxIDEuNTEgMCAwIDAtMS41Mi4zN2wtMS40NCAxLjQ0YTE0Ljc3IDE0Ljc3IDAgMCAxLTUuODktNS44OWwxLjQzLTEuNDNjLjQxLS4zOS41Ni0uOTcuMzgtMS41M2MtLjM2LTEuMDktLjU0LTIuMjQtLjU0LTMuNDFBMS41IDEuNSAwIDAgMCA3IDNIMy41QTEuNSAxLjUgMCAwIDAgMiA0LjVDMiAxNC4xNSA5Ljg1IDIyIDE5LjUgMjJNMy41IDRIN2EuNS41IDAgMCAxIC41LjVjMCAxLjI4LjIgMi41My41OSAzLjcyYy4wNS4xNC4wNC4zNC0uMTIuNUw2IDEwLjY4YzEuNjUgMy4yMyA0LjA3IDUuNjUgNy4zMSA3LjMybDEuOTUtMS45N2MuMTQtLjE0LjMzLS4xOC41MS0uMTNjMS4yLjQgMi40NS42IDMuNzMuNmEuNS41IDAgMCAxIC41LjV2My41YS41LjUgMCAwIDEtLjUuNUMxMC40IDIxIDMgMTMuNiAzIDQuNWEuNS41IDAgMCAxIC41LS41Ii8+PC9zdmc+) no-repeat center / contain;
}
.header-contact > a:hover {
	color: #6DDAFF;
    border-color: #6DDAFF;
}
.header-contact> a:hover:before {
    background-color: #6DDAFF;
}
/* Header Tow */
header.site-header.header-two {
    padding-top: 0;
}
header.site-header.header-two > .container {
    padding-top: 10px;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
}
.header-two .header-top {
    padding: 5px 0;
    background-color: #f3f3f3;	
}

/* Header Three */
.head-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
header.site-header.header-three .header-contact {
    justify-content: flex-end;
}
header.site-header.header-center {
    border-bottom: 1px solid #dddddd;
}

/* Header Search */
header.site-header button.search-toggle {
    background-color: #fff0;
    border: none;
    border-radius: 0;
    font-size: 0;
    height: 30px;
    width: 30px;
    display: block;
    margin: auto 0 auto 15px;
    color: #000;
}
.header-search {
    position: absolute;
    top: calc(100% - 40px);
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #ebebeb;
    height: 40px;
    visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}
.header-search.active {
    top: calc(100% + 1px);
    visibility: visible;
	opacity: 1;
}
.header-search form.search-form {
    max-width: 100%;
}
.header-search form.search-form input.search-field {
    border-radius: 0;
    border: none;
	height: 39px;
}
.header-search form.search-form input.search-submit {
    height: 40px;
    border-radius: 0;
    background-color: transparent !important;
    border: none !important;
}
.header-center .header-search {
    padding: 0 30px;
}
header.site-header.header-center button.search-toggle {
    margin-left: 0;
}
@media (min-width: 768px) {
	/* When scrolling down, hide header */
/* 	header.site-header.hide-on-scroll {
		transform: translateY(-100%);
	} */
	header.site-header > .container {
		min-height: 60px;
	}
	/* 	Header Four */
	.header-center .logo-container nav.main-navigation, .header-center .logo-container .right-head {
		width: 100%;
	}
	.header-center .logo-container {
		width: 100%;
		display: flex;
		justify-content: center;
		padding: 0 30px;
	}
	.header-center .logo-container .site-branding {
		text-align: center;
		padding: 0 20px;
		width: auto;
		white-space: nowrap;
	}
	.header-center .logo-container nav.main-navigation {
        justify-content: flex-start;
        align-items: center;
    }
	.header-center .header-contact {
		gap: 10px;
		font-size: 0.9rem;
	}
	.header-center .logo-container .right-head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
	
	.facilities-tab .e-n-tabs-heading {
    display: block !important;
    column-count: 4;
}

.facilities-tab .e-n-tabs-heading button {
 width: 100%;
	padding: 15px 20px;
}

.facilities-tab .e-n-tab-title-text {
       justify-content: center;   
}
	

	
}
@media (max-width: 1023px) {
	.header-center .main-navigation ul#primary-menu {
		gap: 10px;
	}
	.header-center .header-contact{display: none;}
	.header-center .logo-container .site-branding {order: 0; padding-left:0;}
	.header-center .logo-container .main-navigation {order: 1;}
	.header-center .logo-container .right-head {order: 2; width: auto;}
	header.site-header { padding: 10px 0;}
}
@media (max-width: 767px) {
	header.site-header .site-branding {
		max-width: 100px
	}
	.header-two .header-top {
		padding: 3px 0;
	}
	.header-contact {
		gap: 10px;
		justify-content: center;
		font-size: 14px;
	}
	.header-contact > a:before {
		height: 18px;
		width: 18px;
		margin-right: 3px;
	}
	header.site-header.header-three {
		padding-top: 40px;
	}
	header.site-header.header-three .header-contact {
		background-color: #f3f3f3;
		position: absolute;
		padding: 3px 0;
		left: 0;
		right: 0;
		top: 0;
		justify-content: center;
	}
	.header-center .logo-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
		padding: 0 15px;
	}
	.header-center .logo-container .main-navigation { order: 2;}
	 .header-center .logo-container .right-head {
        order: 1;
        margin-left: auto;
        display: flex;
    }
}
/* Navigation
--------------------------------------------- */
.main-navigation {
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul#primary-menu {
    display: flex;
    justify-content: flex-end;
    column-gap: 20px;
	align-items: center;
}


.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	font-weight: 300;
	transition: all 0.3s ease-in-out;
	padding: 8px;
	color: #ffffff;
	letter-spacing: 0.8px;
	border-bottom: none;
}
.main-navigation a:hover, .main-navigation li.current-menu-item a {
    color: #6DDAFF;
}
.main-navigation li.button-menu a {
    background-color: #6DDAFF;
	border: 2px solid #6DDAFF;
    color: #000;
	padding: 8px 20px;
	text-transform: uppercase;
	font-weight: 600;
}
.main-navigation li.button-menu a:hover {
    background-color: transparent;
    color: #6DDAFF;
	border-color: #6DDAFF;
}
/* Small menu. */
header.site-header #site-navigation .menu-toggle {
	display: none;
	font-size: 0;
	background-color: transparent;
	border: none;
	position: relative;
	height: 30px;
    width: 40px;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
header.site-header.header-center #site-navigation .menu-toggle{
	position: absolute;
    right: 15px;
    top: 18px;
}
/* Initial state of the menu toggle icon (3 lines) */
.menu-toggle:after, .menu-toggle:before {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    top: 8px;
    border-radius: 3px;
	transition: all 0.2s ease-in-out;
}
.menu-toggle:before {
    width: 60%;
    top: auto;
    bottom: 8px;
}
.main-navigation.toggled .menu-toggle:after, .main-navigation.toggled .menu-toggle:before {
	width: 80%;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}
.main-navigation.toggled .menu-toggle:after {
    transform: rotate(-45deg);
}
.main-navigation.toggled .menu-toggle:before {
    transform: rotate(45deg);
}
.main-navigation li.menu-item button.submenu-toggle {
    display: none;
    position: absolute;
    right: 0;
    top: 5px;
    padding: 0;
    background-color: #fff0;
    color: #000;
    font-size: 25px;
    box-shadow: 0 0 0 0;
    border: none;
    width: 30px;
    height: 30px;
    margin: auto;
    font-family: sans-serif;
}
@media (min-width: 981px) {

.main-navigation ul ul {
    box-shadow: 0 1px 5px rgb(0 0 0 / .1);
    position: absolute;
    top: 120%;
    left: 0;
    z-index: 99999;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;	
	transition: all 0.2s ease-in-out;
}

.main-navigation ul ul ul {
	left: auto;
	right: 100%;
	top: 0;
}

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

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

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	top: 100%;
	opacity: 1;
	visibility: visible;
}
	
#forminator-module-716 input, #forminator-module-716 textarea, #forminator-module-716 .select2-selection .select2-selection__rendered {
    padding: 12px 18px !important;
}	
	
#forminator-module-716 .forminator-row {
    margin-bottom: 10px;
}	
	
#forminator-module-716 .forminator-button-submit {
    padding: 8px 20px !important;
}	
	
	p.terms-condition { margin-top: 30px; }	
	
}
@media (max-width: 1200px) {
.main-navigation ul#primary-menu {
    column-gap: 10px;
}
}
@media (max-width: 980px) {
	.header-center .main-navigation {
		width: 40px;
		height: 30px;
	}
	header.site-header #site-navigation .menu-toggle {
		display: block;
		order: 1;
	}
	header.site-header button.search-toggle {
		order: 0;
		width: 24px;
		margin-right:10px;
	}
	header.site-header.header-center button.search-toggle {
		margin-right:0px;
	}
	header.site-header #site-navigation.main-navigation.toggled .menu-toggle {
		position: fixed;
		right: 10px;
		top: 10px;
		z-index: 9;
	}
	.main-navigation .primary-menu-container {
        position: fixed;
        right: 100%;
        width: 100%;
        top: 0;
        padding: 60px 30px 30px;
        background-color: rgb(0 0 0 / 80%);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease-in-out;
        height: 100vh;
        overflow: auto;
    }
	.main-navigation.toggled .primary-menu-container{
		right: 0%;
	}
	.main-navigation ul#primary-menu {
		flex-direction: column;
        row-gap: 5px;
        height: 100%;
        justify-content: flex-start;
		align-items: stretch;
	}
	.main-navigation li.menu-item button.submenu-toggle {
		display: block;
	}
    .menu-item-has-children > ul {
        display: none;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    .menu-item-has-children.submenu-open>ul {
        display: block;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
    }
}

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

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

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

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

/* Footer
 * ------------------------------------------ */
footer.site-footer:not(.no-widget) {
    padding-top: 115px;
}
footer.site-footer {
    background-color: #1E1E1E;
    color: #fff;
}
footer.site-footer .container {
    max-width: 1110px;
}
footer.site-footer a {
	color: #ffffff;
}
footer.site-footer ul {
	list-style: none;
	margin: 0;
}
.site-footer ul.menu li {
    margin-bottom: 8px;
}
footer.site-footer a:hover {
	color: #6DDAFF;
}
footer ul.foot-social {
    margin-top: 50px;
    display: flex;
    gap: 10px;
}
footer ul.foot-social a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background-color: #6DDAFF;
    color: #000;
	border: 1px solid #6DDAFF;
}
footer ul.foot-social a:hover {
    color: #6DDAFF;
    background-color: transparent;
}
.site-footer img.footer-logo {
    display: block;
    margin: 0 auto 55px;
}
.site-footer .foot-tagline {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    display: block;
}
footer.site-footer .footer-widgets {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px;
    gap: 40px;
}
footer.site-footer .footer-widgets .footer-widget-col {
    width: 100%;
}
footer.site-footer .footer-widgets .footer-widget-col:nth-child(1), footer.site-footer .footer-widgets .footer-widget-col:nth-child(2) {
    width: 60%;
}
.site-footer .footer-widget-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 5px;
}
.copyright-foot {
    padding: 10px 10px 40px;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    letter-spacing: 0.4px;
}
footer.site-footer .copyright-foot a {color: rgba(255, 255, 255, 0.5);}
.copyright-foot p {
    margin-bottom: 0;
}
@media (max-width: 980px) {
	footer.site-footer:not(.no-widget) { padding-top: 40px;}
	footer.site-footer .footer-widgets {
		flex-wrap: wrap;
		gap: 30px;
	}
	footer.site-footer .footer-widgets .footer-widget-col, footer.site-footer .footer-widgets .footer-widget-col:nth-child(1), footer.site-footer .footer-widgets .footer-widget-col:nth-child(2) {
		width: calc(50% - 20px);
	}
	.copyright-foot {padding-bottom: 10px;}
}
@media (max-width: 767px) {
	footer.site-footer .footer-widgets {
		gap: 20px;
		padding-left: 10px;
        padding-right: 10px;
	}
	footer.site-footer .footer-widgets .footer-widget-col, footer.site-footer .footer-widgets .footer-widget-col:nth-child(1) {
		width: 100%;
	}
	footer.site-footer .footer-widgets .footer-widget-col:nth-child(2) {width: 35%;	}
	footer.site-footer .footer-widgets .footer-widget-col:nth-child(3) {
		width: calc(65% - 20px);
	}
	.site-footer .foot-tagline {
		font-size: 18px;
	}
	.site-footer .footer-widget-title {
		font-size: 24px;
	}
	.site-footer img.footer-logo {
		display: block;
		margin-bottom: 30px;
		margin-left: auto;
        margin-right: auto;
	}
	footer.site-footer .footer-widgets .footer-widget-col:nth-child(1) {text-align: center;}
}
/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

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

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

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.entry-meta > span {
    display: inline-block;
    position: relative;
}
.entry-meta > span:not(:last-child):after {
    content: "|";
    position: absolute;
    right: -8px;
}
footer.entry-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
aside#secondary {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Page Not found */
section.not-found {
    padding: 20px 0 50px;
    text-align: center;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.not-found form.search-form {
    margin-top: 30px;
}

/*  page */
main#primary {
    margin: 40px 0;
	min-height: 100vh;
}
.single h1.entry-title {
    margin-top: 0;
}
.post-single {
    padding: 0 15px;
}
.listing-block, .post-single {
    display: flex;
    gap: 40px;
}
.left-primary {width: calc(80% - 40px);}
.listing-block .left-primary {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
	align-content: flex-start;
    align-items: stretch;
}
.listing-block .left-primary article {
    width: calc(33.33% - 20px);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #efefef;
    overflow: hidden;
}
.listing-block .left-primary article a.post-thumbnail {
    display: block;
    margin: -15px -15px 0;
}
.listing-block .left-primary article .entry-summary {
    margin-top: 15px;
}
.listing-block .left-primary article a.read-more {
    display: inline-block;
    margin-top: 15px;
}
.home-slider .elementor-background-slideshow__slide__image.elementor-ken-burns {
    transition-duration: 4s !important;
}
/* Service time table home */
.service-time-table h3 {
    font-size: 19px;
    font-weight: 800;
    color: #6DDAFF;
    line-height: 22px;
    margin: 0;
}
.service-time-table ul.service-time-list {
    margin-left: 0;
    list-style: none;
    line-height: 22px;
}
.service-time-table ul.service-time-list li {
    position: relative;
    padding-right: 30%;
}
.service-time-table ul.service-time-list li strong {
    font-weight: 500;
    width: 55px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.coarse-list img {
	width: 100%;
}


/* Membership Fees */

ul.service-time-list.membership-list {
    line-height: 36px;
}

ul.service-time-list.membership-list li {
    font-weight: 700;
}

p.terms-condition {
    font-weight: 400 !important;
	font-size: 13px;
	line-height: 25px;
}

ul.service-time-list.membership-list li strong {
    width: 122px;
}

.forminator-button-submit { border-radius: 0px !important; }

.forminator-ui#forminator-module-478.forminator-design--default .forminator-button-submit {
    border-radius: 0px !important;
    font-weight: 600 !important;
    padding: 8px 30px 10px 30px !important;
    letter-spacing: 0.5px !important;
}

#forminator-module-478 .forminator-row:nth-child(2) {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    justify-content: flex-start !important;
}

#forminator-module-716 input, #forminator-module-716 textarea, #forminator-module-478 input {
    border-radius: 0px !important;
}	

#forminator-module-478 input, #forminator-module-478 span.select2-selection  {
    height: 33px !important;
}

#forminator-module-478 .forminator-row {
    margin-bottom: 10px !important;
}

.facilities-tab .e-n-tabs-heading button[aria-selected="true"]:before {
    content: '';
    background-color: #00000000;
    position: absolute;
    width: 0px;
    height: 0px;
    border-top: 10px solid #6DDAFF;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -10px;
}

.m-bottom-25 { margin-bottom: 25px; }

h2.border-right {
    margin: 0px;
    overflow: hidden;
    font-size: 35px;
    line-height: 72px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2.border-right:after {
    content: "";
    display: inline-block;
    height: 1em;
    vertical-align: bottom;
    width: 100%;
    margin-right: -100%;
    margin-left: 26px;
    border-top: 2px solid #DADADA;
}



.current-events h3 {
    transition: all 0.3s ease-out;
    background-color: #6DDAFF;
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    margin: 0px;
    cursor: pointer;
}

.current-events h3:hover {
    background-color: #1e1e1e;
    color: #fff;
}

a.telephone-link, a.mail-link {
    display: inline-block;
    color: #1e1e1e;
}

a.telephone-link {
    margin: 5px 0px;
}


a.telephone-link:hover,  a.mail-link:hover {
    border-color: #6DDAFF;
    color: #6DDAFF;
}


.image-overlay-text {
    height: 100%;
}
.image-overlay-text .elementor-image-box-wrapper {
    padding: 50px 40px 45px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
	background-color: #000000;
	height: 100%;
}
.image-overlay-text figure.elementor-image-box-img img {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.image-overlay-text figure.elementor-image-box-img {
    display: inline;
}
.image-overlay-text .elementor-image-box-content {
    position: relative;
    z-index: 9;
    padding-top: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
	justify-content: space-between;
	pointer-events: none;
}
.image-overlay-text a:not(.elementor-button) { border: none;}
.image-overlay-text.top-border .elementor-image-box-content {
    border-top: 1px solid #fff;
}
.image-overlay-text .elementor-image-box-content .elementor-image-box-title {
    margin-bottom: 0;
	max-width: 200px;
}
.image-overlay-text .elementor-image-box-content .elementor-image-box-description {
    margin-top: 10px;
}
.image-overlay-text .elementor-image-box-content .elementor-button {
    background-color: transparent;
    color: #fff;
    margin-top: 30px;
}
.image-overlay-text:hover .elementor-image-box-content .elementor-button, 
.image-overlay-text .elementor-image-box-content .elementor-button:hover {
    background-color: #6DDAFF;
	border-color: #6DDAFF;
    color: #000;
}
.tiny-left-border .elementor-heading-title {
    position: relative;
    padding-left: 30px;
}
.tiny-left-border .elementor-heading-title:before {
    content: "";
    width: 14px;
    height: 3px;
    background-color: #6DDAFF;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.elementor-image-carousel-wrapper .swiper-slide img.swiper-slide-image {
    display: block;
}

/* Profile block */
.elementor-widget-link-in-bio .e-link-in-bio {
    padding: 0;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content {
    text-align: left;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    width: 100%;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__identity {
    margin-top: 0;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__identity-image {
    margin: 0;
    width: 100%;
	max-height: 100%;
    border-radius: 20px;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__identity-image img.e-link-in-bio__identity-image-element {
	min-height: 250px;
    aspect-ratio: 1 / 1.1;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__bio {
    padding: 8px;
}
.maddies-team .elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__bio .e-link-in-bio__heading {
	display: inline-block;
    margin-bottom: 10px;
}
.elementor-widget-link-in-bio.bigger-names .e-link-in-bio .e-link-in-bio__bio .e-link-in-bio__heading {
    max-width: 180px;
    width: auto;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__icons, .elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__ctas {
    display: none;
}
.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__bio .e-link-in-bio__description {
    position: absolute;
    top: 0;
    padding: 15px;
    height: calc(100% - 98px);
    background-color: #6DDAFF;
    margin-top: 0;
    border-radius: 20px;
    left: 0;
    color: #000;
    right: 0;
    display: flex;
    align-items: center;
    opacity: 0;
	transition: all 0.3s ease-in-out;
	overflow: auto;
}
.maddies-team .elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__bio .e-link-in-bio__title {
    display: none;
    padding: 8px;
    background-color: #6DDAFF;
    font-size: 12px !important;
}
.elementor-widget-link-in-bio:hover .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__bio .e-link-in-bio__description {
    opacity: 1;
}


/* Shul Events grid */
.mrs-events-grid {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
	justify-content: center;
}
.mrs-event-item {
    width: calc(25% - 14px);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.mrs-event-item .mrs-event-overlay {
    background-color: #000;
    display: block;
}
.mrs-event-item img {
    width: 100%;
    display: block;
    opacity: 0.75;
    transition: all 0.3s ease-in-out;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.mrs-event-item:hover img {
    transform: scale(1.1);
}
.mrs-event-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    color: #fff;
    font-size: 25px;
    letter-spacing: -1px;
    line-height: 27px;
    padding: 0 0 20px;
	pointer-events: none;
}
.mrs-event-item .mrs-event-year {
    display: block;
}

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}
/* Woocommerce */
main#main.site-main {
    max-width: 1320px;
    padding: 50px 15px;
    margin: 0 auto;
}


.forminator-ui#forminator-module-79.forminator-design--default .forminator-button-submit{
        border: 2px solid #6DDAFF !important;
}

.fancybox-inner .fancybox-button, .fancybox-inner .fancybox-button:link, .fancybox-inner .fancybox-button:visited {
    padding: 10px !important;
}

/* .office-team-carousel.swiper {
	display: block;
} */

.office-team-carousel .swiper-pagination {
    display: none;
}




.office-team-carousel {
	position: relative !important;
	overflow: hidden !important;
}

.office-team-carousel {
    padding: 0px 49px !important;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    font-size: 25px !important;
}

/* .maddies-team img {
    min-height: 320px !important;
}

.maddies-team p.e-link-in-bio__description {
    height: 320px !important;
} */


.mrs-events-grid.swiper {
    padding: 0px 40px;
}


body .fancybox-container .fancybox-slide--iframe .fancybox-content {
    width: 90%;
    max-width: calc(100% - 30px);
}
body .elementor-image-box-title a {
    border: none;
}
.leadership-team h2.e-link-in-bio__heading {
    margin-bottom: 10px;
}

/* .grecaptcha-badge {
    visibility: hidden;
} */

.leadership-team h3.e-link-in-bio__title, .office-team-carousel .e-link-in-bio__title {
    color: #6DDAFF;
    font-weight: 900 !important;
}

/* Media Queries */

@media (min-width: 980px) {
	.forminator-row.forminator-row-last {
    float: right !important;
}
	.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__bio .e-link-in-bio__heading {
		width: min-content;
	}
.heading-width h2.e-link-in-bio__heading {
    width: 80% !important;
}
}


@media (min-width: 768px) { 
.sticky-top {
	position: sticky !important;
	top: 100px;
}
}
@media (max-width: 980px) { 
	section.not-found svg {
		width: 128px;
		height: 128px;
	}
	.listing-block .left-primary article {
		width: calc(50% - 15px);
	}
	.mrs-event-item {width: calc(50% - 9px);}
	
	h2.border-right {
    font-size: 25px;
    line-height: 51px;
	}
	
	h2.border-right:after { margin-left: 13px; }
	
	ul.service-time-list.membership-list li {
    font-size: 14px;
}
	
	ul.service-time-list.membership-list li strong {
    width: 95px;
}
	.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__content .e-link-in-bio__bio .e-link-in-bio__description {
		height: calc(100% - 69px);
	}
}
@media (max-width: 767px) {
	body {
		font-size: 14px;
	}
	.listing-block, .post-single {
		flex-direction: column;
	}
	.left-primary, aside#secondary{
		width: 100%;
	}
	.post-single {
		padding: 30px 15px;
	}
	.office-team-carousel {
    padding: 0px 20px !important;
	}
	.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: -6px !important;  
	}
	.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: -6px !important;
	}
	.mrs-events-grid.swiper {
    padding: 0px 30px;
	}
/* 	.leadership-team .e-link-in-bio__bio {
    display: flex;
    align-items: center;
    justify-content: space-between;
	}
	.leadership-team h3.e-link-in-bio__title {
    white-space: nowrap;
} */
	
}
@media (max-width: 480px) {
	.listing-block .left-primary article {width: 100%;}
	.mrs-event-item {width: 100%;}
	.mrs-event-item h3 {font-size: 20px; letter-spacing: normal;}
	.maddies-team .elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__bio {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.elementor-widget-link-in-bio .e-link-in-bio .e-link-in-bio__bio .e-link-in-bio__title{
		display: inline-block;
	}
}