/*!
Theme Name: Bet Am Shalom
Theme URI: http://underscores.me/sc
Author: Adam Rayches
Author URI: http://arayches.com
Description: A custom WordPress them for Bet Am Shalom
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bet-am-shalom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, 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.

Bet Am Shalom 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.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* 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%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
    padding: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 {
	-webkit-box-sizing: content-box;
	        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;
}

/* sc - for Torah La'am calendar title, hide Events-> and change page heading to be closer to monthly heading */
.tribe-events .tribe-events-c-breadcrumbs__list a.tribe-events-c-breadcrumbs__list-item-link, .tribe-events-c-breadcrumbs__list-item-icon-svg {
  display:none !important;
}

.tribe-events li.tribe-events-c-breadcrumbs__list-item {
font-family: "Fira Sans", "Helvetica Neue", sans-serif;
text-transform: uppercase;
display: block;
font-weight: 700;
margin: 0em;
color: #1E649C;
}



/* 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;
	-webkit-text-decoration: underline dotted;
	        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;
}

/**
 * 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 {
	-webkit-box-sizing: border-box;
	        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"] {
	-webkit-box-sizing: border-box;
	        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;
}

/* 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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@import url('//fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');

@import url('//fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('//fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Fira Sans", "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
    font-family: 'PT Serif', 'Times New Roman', serif;
}

.entry-content h3{
    color: #868F43;
    font-weight: bold;
    font-size:1.5em;
}

.entry-content h3.has-light-gray-color {
  color: #f5f5f5;
}

p {
	/*margin-bottom: 1.5em;*/
}

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;
	font-size: 0.9375rem;
	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;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/* 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/ */
*,
*::before,
*::after {
	-webkit-box-sizing: inherit;
	        box-sizing: inherit;
}

html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
    margin-top: -0.5em;
}

ol {
	list-style: decimal;
        margin-top: -0.5em;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.wp-block-table table{
    border-spacing: 0px;
}

.wp-block-table table thead{
    background-color:#1e649c;
    color:#fff;
    padding:15px 10px;
    font-size:1.25em;
}

.wp-block-table table td,
.wp-block-table table th{
    word-break: normal;
    padding:15px 10px;
    border-bottom: 1px solid #707070;
}
article.post-31562 .wp-block-table table td { /* sc added for high holiday table */
	border-bottom:none;
	padding-top:0;
	padding-bottom:7px;
	width:50%;
	padding-right:0;
}

article.post-31562 .wp-block-table table { /* sc added for high holiday table */
 margin-bottom:0;
 max-width: 600px;
}

article.post-44324 .entry-content { /* sc, center content on Discovery page */
 text-align:center;
}

.wp-block-table table .has-fixed-layout{
    white-space: nowrap !important;
}

#swpm-editprofile-form table td:first-child {
    width:10em;
}

.wp-block-image figcaption {
    margin-top: .5em;
    margin-bottom: 1em;
    font-size: 0.8em;
    font-style: italic;
}

/*--------------------------------------------------------------
# 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: 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%;
}

#masthead{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    

    
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

#navigation{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #1E649C;
    text-decoration: none;
}

a:visited {
	color: #1E649C;
}

a:hover,
a:focus,
a:active {
	color: #1E649C;
    text-decoration: underline;
}

a:focus {
	outline: none;
    text-decoration: underline;
    
}

a:hover,
a:active {
	outline: 0;
    color: #1E649C;
    text-decoration: underline;
}

a.wp-block-button__link:visited, a.wp-block-button__link:active { /* added by sc 1/19/23 */
	color: #f5f5f5;
	text-decoration:
}

a.wp-block-button__link:hover {
	text-decoration:none;
}

.tribe-events-content a.wp-block-button__link, .tribe-events-content a.wp-block-button__link:active, .tribe-events-content a.wp-block-button__link:focus, .tribe-events-content a.wp-block-button__link:hover {  /* added by sc 1/19/23 */
	color: #f5f5f5;
	text-decoration: none;
	border-bottom:none;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	display: block;
	width: 100%;
    float: right;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
    
}

.main-navigation ul ul,
.top-navigation ul ul{
    display:none;
    margin: 1px 0px;
}

.main-navigation ul ul ul{
    display:none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
}

.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: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 50%;
	        flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	-webkit-box-flex: 1;
	    -ms-flex: 1 0 50%;
	        flex: 1 0 50%;
}

/*Theme Specific Menu*/

.menu-main-menu-container{
    float:right;
    padding:5px 0px 0px 0px;
}

.main-navigation {
    /*font-family: 'Open Sans', sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
   
}

.main-navigation ul{
 
}

.main-navigation ul li a:link,
.main-navigation ul li a:visited{
    text-decoration: none;
    padding: 10px 20px 10px 20px;
    font-size:1.25em;
    position: relative;
    display:block;
}

.four-column ul.sub-menu{
    -webkit-column-count: 4 !important;
            column-count: 4 !important;
}

.single-column-menu ul.sub-menu{
    -webkit-column-count: 1 !important;
            column-count: 1 !important;
    text-align: right;
}

.main-navigation .sub-menu ul li a:link,
.main-navigation .sub-menu ul li a:visited,
.top-navigation .sub-menu ul li a:link,
.top-navigation .sub-menu ul li a:visited{
      padding: 0px;
}

.main-navigation .sub-menu ul,
.main-navigation .sub-menu ul li a:visited,
.top-navigation  .sub-menu ul,
.top-navigation .sub-menu ul li a:visited{
      padding: 0px;
}

.main-navigation .sub-menu .sub-menu,
.top-navigation .sub-menu .sub-menu{
       /* margin-top: -0.5em;*/
        -webkit-column-count: 1 !important;
                column-count: 1 !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li a:active{
    text-decoration: none;
    font-size:1.25em;
    color: #092D4A;
}

.main-navigation ul li a:hover::after,
.main-navigation ul li a:active::after,
.top-navigation ul li a:hover::after,
.top-navigation ul li a:active::after{
    content:"";
    height:2px;
    width:1.5em;
    background-color: #092D4A;
    margin-top:10px;
    position: absolute;
    bottom:0;
    left:35%;
    
}

.main-navigation li:hover:after > a,
.top-navigation li:hover:after > a{
    content:"";
    width:2px;
    height:1.5em;
    background-color: #092D4A;
    margin-top:10px;
    position: absolute;
    top:0;
    left:0;
    display:block;
}


.main-navigation li:hover > a,
.top-navigation li:hover > a{ 
    background-color: transparent;
    color: #092D4A;
}

.main-navigation li.menu-item-has-children:hover >  a::after,
.top-navigation li.menu-item-has-children:hover >  a::after { 
    content:"";
    width:2px;
    height:1.5em;
    background-color: #092D4A;
    margin-top:10px;
    position: absolute;
    top:0;
    left:0;
    display:block;
}

.main-navigation li {
    position: static;
    color:#1E649C;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    padding-bottom:10px;
}



.main-navigation li ul li,
.top-navigation li ul li{
    display: block;
    width: 100%;
        -webkit-column-break-inside: avoid;
               break-inside: avoid;
    padding-bottom:0px;
     
}

.main-navigation .sub-menu-image{
    height:100% !important;
    color:#fff;
    font-family: 'PT Serif', 'Times New Roman', serif;
    text-transform: none;
    font-weight: normal;
	padding-bottom: 30%;
}

.column-break{
    -webkit-column-break-after: column;
    break-after: column;
}

.main-navigation .sub-menu-image span,
.top-navigation .sub-menu-image span{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    display:block;
    font-size:2em;
    font-weight: 700;
    color:#fff;
    line-height: 0.95em;
}

.main-navigation .sub-menu-image .sub-menu-image-display{
    width:100%;
    height:200px;
    margin-bottom:10px;
    background-position: center;
    background-size: cover;
}

.main-navigation .sub-menu-image-wrapper{
    -webkit-column-break-inside: avoid;
               break-inside: avoid;
    -webkit-column-break-after: column !important;   
        break-after: column !important;
}

ul.sub-menu li.menu-item-45184 { /* On Firefox, Discovery menu link should be in column 2, not column 1; Chrome is OK (sc). Firefox ignores column break */
 break-before: always !important; 
}


.main-navigation ul li:hover ul,
.top-navigation ul li:hover ul {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
}

.main-navigation ul li:hover ul li ul,
.four-column ul.sub-menu li ul,
.top-navigation ul li:hover ul li ul{
    display: inherit;
    position: relative;
    left: 0;
    padding:3px 0px;
    padding-left:20px;
    -webkit-column-count: 1;
            column-count: 1;
}

.main-navigation ul li:hover ul li,
.top-navigation ul li:hover ul li{
 
    position: static;
    display: block;
    padding-top: 1em;
}


.main-navigation ul li:hover ul li ul li,
.top-navigation ul li:hover ul li ul li{
    float: none;
    padding-top: 0;
    padding:3px 0px;
}



.main-navigation ul li:hover ul,
.top-navigation ul li:hover ul{
    display: inherit;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #092D4A;
    padding:10px 50px 50px 50px;
    -webkit-column-count: 3;
            column-count: 3;
    -webkit-column-fill: balance;
            column-fill: balance;  
    z-index: 5;
}




.main-navigation ul li ul.dropdown-show,
.top-navigation ul li ul.dropdown-show{
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
}

.main-navigation ul li ul.dropdown-show li ul,
.top-navigation ul li ul.dropdown-show li ul{
    display: inherit;
    position: relative;
    left: 0;
    padding:3px 0px;
    padding-left:20px;
}

.main-navigation ul li ul.dropdown-show li,
.top-navigation ul li ul.dropdown-show li {
 
    position: static;
    display: block;
    padding-top: 1em;
}


.main-navigation ul li ul.dropdown-show li ul li,
.top-navigation ul li ul.dropdown-show li ul li{
    float: none;
    padding-top: 0;
    padding:3px 0px;
}

.main-navigation ul li ul.dropdown-show,
.top-navigation ul li ul.dropdown-show{
    display: inherit;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #092D4A;
    padding:10px 50px 50px 50px;
    -webkit-column-count: 3;
            column-count: 3;
    -webkit-column-fill: balance;
            column-fill: balance;  
    z-index: 5;
}

.sub-menu .sub-menu-image-display{
    margin-bottom:20px !important;
    display: block;
}

.main-navigation ul li ul li ul,
.top-navigation ul li ul li ul{
     -webkit-column-count: 1;
             column-count: 1;
}

.main-navigation ul ul li a:link,
.main-navigation ul ul li a:visited{
    color: #fff;
    font-size:1.1em;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none !important;
}

.top-navigation ul ul li a:link,
.top-navigation ul ul li a:visited{
    color: #fff;
    text-decoration: none !important;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:active{
    color: #fff;
    font-size:1.1em;      
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline !important;
}

.top-navigation ul ul li a:hover,
.top-navigation ul ul li a:active{
    color: #fff;
    text-decoration: underline !important;
}

.main-navigation ul ul li ul li a:link,
.main-navigation ul ul li ul li a:visited,
.top-navigation ul ul li ul li a:link,
.top-navigation ul ul li ul li a:visited{
    color: #fff;
    text-transform: none;
    text-decoration: none;
    font-family: 'PT Serif', 'Times New Roman', serif;
    font-weight: normal;
    font-size:1em;
    
}
.main-navigation ul ul li ul li a,
.top-navigation ul ul li ul li a {
    padding-left: 0em;
    padding-top: 0;
}


.menu-image-title-after > .menu-item{
    height:100%;
    padding-right:40px !important;
    background-color:yellow;
}

/*Top Menu*/

#top-navigation{
    margin:0px 0px 10px 0px;
}

.top-navigation {
	display: block;
	width: 100%;
    float: right;
    font-family: 'PT Serif', 'Times New Roman', serif;
}

.top-navigation ul {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
	list-style: none;
	margin: 0;
	padding-left: 0;
    float:right;
    
}

.top-navigation li {
    position: static;
    color:#6C6C6C;
    text-decoration: none;
    font-weight: 600;
}

.top-navigation ul li a:link,
.top-navigation ul li a:visited{
    text-decoration: none;
    padding: 10px 10px 10px 10px;
    color:#6C6C6C;    
}

.top-navigation ul li a:hover,
.top-navigation ul li a:active{
    text-decoration: none;
    padding: 10px 10px 10px 10px;
    color:#6C6C6C;
    font-style: italic;
    font-weight: normal;
    
}

.top-navigation li:last-of-type {
    padding: 0px 10px 0px 0px;
}

.top-navigation li:hover:after > a{
    content:"";
    width:2px;
    height:1.5em;
    background-color: #092D4A;
    margin-top:10px;
    position: absolute;
    top:0;
    left:0;
    display:block;
}


/*Responseive Menu*/

#responsive-menu-icon{
    
    display:none;
    visibility: collapse;
    text-align:right;
    margin:0px;
    float:right;
    font-size:2em;
    width:30%;
    
}

.fa-chevron-down{
    display: none !important;
}

.res-menu-indicator{
    display:none;
    visibility: collapse;
}


/*General Page Styles*/

#page-header{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding:0px 20px;
  
    color:#092D4A;
   
}

#page-header.featured-image{
    min-height:60vh;

}

#page-header.featured-image h1{
    width:50%;
    text-shadow: 5px 3px 10px rgba(0,0,0,0.6);
    color:#fff;
}

#page-header h1{
     font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    display:block;
    font-size:4em;
    font-weight: 700;
    margin:0em;
    line-height: 1em;
    color:#1E649C;
}

#page-header span{
    font-size:0.5em;
    display:block;
    font-family: 'PT Serif', 'Times New Roman', serif;
    text-transform: none;
    margin-top:-0.5em;
}

#page-header.featured-image span{
    color:#fff;
}

#page-header .button-white{
    width:20%;
    margin:10px 0;
}

#page-header .button{
    width:20%;
    margin:10px 0;
}

#breadcrumbs{
    margin:20px 20px;
    text-transform: uppercase;
    color:#6C6C6C;
   
}

#breadcrumbs a:link,
#breadcrumbs a:visited{
    color:#6C6C6C !important;
}

#breadcrumbs .breadcrumb_last{
   color:#1E649C; 
}

article{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

.side-section-navigation{
    padding: 0px 0px 0px 50px;
    margin-left: 50px;
    border-left: 2px solid #6C6C6C;
    width: 25%;
}


.side-section-navigation h2{
    margin:0px;
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    color:#1E649C;
    
}

.side-section-navigation .member-logout{
    padding-bottom:20px;
    margin:10px 0px 20px 0px !important;
    display: block;
    
    border-bottom: 2px solid #6C6C6C;
}

.side-section-navigation a:link,
.side-section-navigation a:visited{
    text-decoration: none;
    color:#6C6C6C;
}

.side-section-navigation a:hover,
.side-section-navigation a:active{
    text-decoration: underline;
}

.side-section-navigation ul,
.side-section-navigation ul ul,
.side-section-navigation ul li{
    list-style: none;
    margin:0px;
    padding:0px;
    line-height: 1.25em;
    
}

.side-section-navigation ul li{
  font-family: 'PT Serif', 'Times New Roman', serif;
    margin-bottom:20px;
    font-weight: bold;
}



.side-section-navigation ul ul li{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    margin:10px 0px;
     font-weight: normal;
    margin-left: 1.125em;
}

.side-section-navigation ul ul li::before{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    margin:0px;
    content:"›";
    padding:0px 10px 0px 0px;
    color:#6C6C6C;
    margin-left:-1em;
}

.side-section-navigation .sub-menu-image{
    display: none;
}

.side-section-navigation .current_page_item{
    font-weight: bold;
}

.side-section-navigation .res-menu-indicator{
    display: none;
}

    .image-overlay-wrapper{
        display: inline-block;
        padding: 20px;
    }

  .image-overlay{
        height:250px; 
        width:250px; 
        display: -webkit-box; 
        display: -ms-flexbox; 
        display: flex; 
        -webkit-box-pack: center; 
            -ms-flex-pack: center; 
                justify-content: center; 
        -webkit-box-align: center; 
            -ms-flex-align: center; 
                align-items: center;
        color:#fff;
        text-decoration: none !important;
        background-size: cover;
        background-position: center;
    }
    
    .image-overlay:hover{
        text-decoration: none !important;
        color:#fff;
        opacity: 0.9;
    }
    
    .image-overlay span{
        font-size: 1.5em;
        font-weight: bold;
        text-decoration: none !important;
        z-index: 4;
        display: block;
        position: absolute;
        color:#fff;
        text-align: center;
        padding:10px 0px;
        
    }

.image-overlay::before {
        content: "";
        background-color: #000;
        opacity: 0.45;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
}

.wp-block-pb-accordion-item h4{
    
    color:#1E649C;
    text-decoration: underline;
    outline: none !important;
    clear: both;
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    
}

.wp-block-pb-accordion-item:hover h4{
    
    color:#1E649C;
    text-decoration: none;
    
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	        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;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	        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;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	width:80%;
    margin-left: auto;
    margin-right: auto;
}

.tribe-events-page-template .entry-content{
	width:100%;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# 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;
	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;
}

.gallery-page-wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.gallery-block-wrapper {
   width: 33.333%;
    padding: 0px 10px 10px 10px;
    margin-bottom: 30px;
    height: 250px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

.gallery-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
}

.feature-gallery-block{
    width: 261px;
    height: 200px;
    background-position: center;
    background-size: cover;
}

/*--------------------------------------------------------------
## Editor Color Palette
--------------------------------------------------------------*/

.has-bet-am-blue-background-color {
    background-color: #1E649C;
}
 
.has-bet-am-blue-color {
    color: #1E649C;
}

.has-light-blue-background-color {
    background-color: #69CEF5;
}
 
.has-light-blue-color {
    color: #69CEF5;
}

.has-teal-background-color {
    background-color: #188EA8;
}
 
.has-teal-color {
    color: #188EA8;
}

.has-dark-blue-background-color {
    background-color: #092D4A;
}
 
.has-dark-blue-color {
    color: #092D4A;
}

.has-olive-background-color {
    background-color: #868F43;
}
 
.has-olive-color {
    color: #868F43;
}

.has-orange-background-color {
    background-color: #DD7F26;
}
 
.has-orange-color {
    color: #DD7F26;
}

.has-light-gray-background-color {
    background-color: #f5f5f5;
}
 
.has-light-gray-color {
    color: #f5f5f5;
}

.has-medium-gray-background-color {
    background-color: #999;
}
 
.has-medium-gray-color {
    color: #999;
}

.has-dark-gray-background-color {
    background-color: #333;
}
 
.has-dark-gray-color {
    color: #333;
}

/*--------------------------------------------------------------
## Site Specific Styles
--------------------------------------------------------------*/

.site-logo{
    width: 460px;
    margin-top: 15px;
    padding: 20px 0 50px 2vw;
}

/*--------------------------------------------------------------
## Footer Styles
--------------------------------------------------------------*/

footer.site-footer{
    background-color: #092D4A;
    color:#fff;
    padding:50px 30px;
    margin-top:20px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

footer .footer-content{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
        -ms-flex-direction:row;
            flex-direction:row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-family: 'PT Serif', 'Times New Roman', serif;
}

footer .footer-content strong{
    text-transform: uppercase;
    /*font-family: 'Open Sans', sans-serif;*/
font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    padding:0 0 10px 0;
}

footer .footer-content .footer-left{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

footer .footer-content .footer-contact{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-right:50px;
   
}

footer .footer-content .footer-contact a:link,
footer .footer-content .footer-contact a:visited{
    padding-bottom:20px;
    color:#fff;
    text-decoration: none;
}

footer .footer-content .footer-contact a:hover,
footer .footer-content .footer-contact a:active{
    padding-bottom:20px;
    color:#fff;
    text-decoration: underline;
}

footer.site-footer .copyright{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-transform: uppercase;
    font-size:0.75em;
   
}

footer .footer-content .footer-social img{
    width:30px;
    margin:10px 20px 0px 0px;
}

footer .footer-content .footer-logos{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    
}

footer .footer-content .footer-logos img{
    height:70px;
    padding-bottom:10px;
}

footer img:hover{
    opacity: 0.6;
}

/*
.swpm_mda_profile-image{
    border-radius: 50%;
    margin: 25px 0;
    min-height: 128px;
    min-width: 128px;
    max-height: 128px;
    max-width: 128px;
}

.swpm_mda_profile-image img{
      border-radius: none !important;
    margin: none !important;
    min-height: none !important;
    min-width: none !important;
    max-height: none !important;
    max-width: none !important;
}
*/

.swpm-fieldset{
    border:0px;
}

.swpm-legend{
    border-bottom: 2px solid #6C6C6C; 
}

.swpm-form-builder ul, .entry-content .swpm-form-builder ul, .comment-content .swpm-form-builder ul, .mu_register .swpm-form-builder ul, .swpm-form-builder ol, .entry-content .swpm-form-builder ol, .comment-content .swpm-form-builder ol, .mu_register .swpm-form-builder ol{
    font-size: inherit;
}

form.swpm-form-builder li.swpm-item{
    margin: 10px 0px 10px 0px !important;
}

label.swpm-desc{
    color:#1e649c;
}

.swpm_mda_profile-button button{
    background-color:#1e649c !important;
    font-family: "Fira Sans", "Helvetica Neue", sans-serif !important;
    cursor: pointer !important;
    
}

/*--------------------------------------------------------------
## Content Wrappers
--------------------------------------------------------------*/

#primary{
    max-width:90%;
    padding:10px 0px;
    margin-left:auto !important;
    margin-right:auto !important;
    min-height:100vh;
    
}


.wrapper{
     width:90%;
     margin-left:auto;
    margin-right:auto;
}

/*--------------------------------------------------------------
## Button Styles
--------------------------------------------------------------*/

.button{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#1E649C;
    text-transform: uppercase;
    border:2px solid #1E649C;
    padding:10px 20px;
    text-decoration: none;
    margin-top:40px;
    text-align: center;
}

.button:hover{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#fff;
    background-color:#1E649C;
    text-transform: uppercase;
    border:2px solid #1E649C;
    padding:10px 20px;
    text-decoration: none;
    
}

.button-white{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#FFF !important;
    text-transform: uppercase;
    border:2px solid #FFF;
    padding:10px 20px;
    text-decoration: none;
    margin-top:40px;
    text-align: center;
}

.button-white:hover{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#1E649C !important;
    background-color:#FFF;
    text-transform: uppercase;
    border:2px solid #FFF;
    padding:10px 20px;
    text-decoration: none;
    
}

.button-teal{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#67BCCD !important;
    text-transform: uppercase;
    border:2px solid #67BCCD;
    padding:10px 20px;
    text-decoration: none;
    margin-top:40px;
    text-align: center;
}

.button-teal:hover{
    /*font-family: "Open Sans", "Helvetica Neue", sans-serif;*/ font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color:#fff !important;
    background-color:#67BCCD;
    text-transform: uppercase;
    border:2px solid #67BCCD;
    padding:10px 20px;
    text-decoration: none;
    
}

#responsive-check {
   display:none;
    visibility: hidden;
}


/*--------------------------------------------------------------
## Homepage Styles
--------------------------------------------------------------*/

.homepage-content-section{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width:100%;
 
}

.homepage-primary-section{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.homepage-primary-section .homepage-content-section-image{
    height:90vh;
}

.homepage-content-section-text{
    width:45%;
    padding:40px 50px;
    background-color:rgba(247,247,247,0.9);
    color:#707070;
    font-family: 'PT Serif', 'Times New Roman', serif;
    -ms-flex-item-align: center;
        align-self: center;
    min-height: 25em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}



.homepage-content-section-text h1{
    font-size:1.25rem;
      line-height: 2em;
}

.homepage-content-section-text p{
    padding:10px 0px;
}

.homepage-content-section-text hr{
    width:20%;
    margin:0px;
    background-color:#1E649C;
    height: 2px;
    
}

.homepage-content-section-text h1 span{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    display: block;
    color:#1E649C;
    text-transform: uppercase;
    font-size:2em;
}

.homepage-content-section-image{
    width: 70% !important;
    height: 100vh !important;
    margin-left: -100px !important;
    z-index: -2 !important;
    background-size: cover;
    background-position: center;
}

.homepage-content-section-image .swiper-slide{
    background-size: cover;
    background-position: center;
}

#homepage-eventbar{
    background-color:rgba(247,247,247,0.9);
    margin: 5vw auto 0vw auto;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    color:#707070;
    -webkit-column-count: 5;
            column-count: 5;
    
    
}

#homepage-eventbar .homepage-eventbar-wrapper{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#homepage-eventbar .event-slider-wrapper{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}

#homepage-eventbar .homepage-event-header{
    background-color:#1E649C;
    padding: 20px 30px;
   
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    background-image:url(/wp-content/uploads/2020/05/cropped_bas7075_alternate.jpg);
    background-position: -200px center;
    background-size:cover;
    background-blend-mode: soft-light;
    position: relative;
   
    
    
}

#homepage-eventbar .homepage-event-header:after{
    background-color:#1E649C;
    position:absolute;
    content:"";
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity: 0.5;
}

#homepage-eventbar .homepage-event-header h2{
    color:#fff;
    z-index: 1;
}

#homepage-eventbar .homepage-event-header .button-white{
    z-index:1;
}

#homepage-eventbar .homepage-event-header h2 span{
    display: block;
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    font-size:2em;
    line-height: 1em;
}

#homepage-eventbar .homepage-event{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 20px 15px;
    min-width:25%;
    width:33%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    
}

#homepage-eventbar .homepage-event time{
    font-family: 'PT Serif', 'Times New Roman', serif;
    padding:0;
    margin:0;
}

#homepage-eventbar .homepage-event h4{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-weight: 700;
    color:#1E649C;
    padding:0;
    margin:5px 0px;
    font-size:1.5em;
}

#homepage-eventbar .homepage-event p{
    font-family: 'PT Serif', 'Times New Roman', serif;
    padding:5px 0px;
    margin:0;
}

#homepage-eventbar .no-events{
    width:100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    
}

.tribe-events-single-event-title{
    color:#868F43 !important;
}

.homepage-content-section-second{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width:100%;
    margin-top:4vw;
    margin-bottom:2vw;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-line-pack: center;
        align-content: center;
}

.homepage-content-section-second .homepage-content-section-text{
    min-width:45%;
    max-width: 120% !important;
    background-color:rgba(86,170,190,0.9);
    color:#fff;
    font-family: 'PT Serif', 'Times New Roman', serif;
    margin-left:-50px;
    z-index: 2;
    
}

.homepage-content-section-second .homepage-content-section-text h2{
    font-size:1.25rem;
      line-height: 2em;
    color:#fff;
}

.homepage-content-section-second .homepage-content-section-text hr{
    width:20%;
    margin:0px;
    background-color:#fff;
    height: 2px;
    
}

.homepage-content-section-second .homepage-content-section-text h2 span{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    display: block;
    color:#fff;
    text-transform: uppercase;
    font-size:2em;
}

.homepage-content-section-second .homepage-content-section-image{
    width:70%;
    min-height:70vh;
    background-size: cover;
    background-position: center;
}

.homepage-content-section-callouts{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    color:#707070;
}

.homepage-content-section-callouts .wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.homepage-content-section-callouts .homepage-content-callout{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin:4vw 2vw 0 2vw;
    width: 75%;
}

.homepage-content-section-callouts .homepage-content-callout:first-of-type{
    margin-left:0;
    margin-right:2vw;
}

.homepage-content-section-callouts .homepage-content-callout:last-of-type{
    margin-left:2vw;
    margin-right:0;
}

.homepage-content-section-callouts-image{
    width:100%;
    min-height:50vh;
    background-size: cover;
    background-position: center;
}

.homepage-content-section-callouts .homepage-content-section-callouts-text{
    width:100%;
    font-family: 'PT Serif', 'Times New Roman', serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    height: 80%;
}

.homepage-content-section-callouts .homepage-content-section-callouts-text .button-teal{
    margin-top:30px;
}

.homepage-content-section-callouts-text p {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.homepage-content-section-callouts .homepage-content-section-callouts-text span{

  
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    display: block;
    color:#67BCCD;
    text-transform: uppercase;
    font-size:1.5em;
    line-height: 1.2em;
    margin:0.1em 0px;
    
}

.homepage-content-section-callouts .homepage-content-section-callouts-text hr{
    width:20%;
    margin:0px;
    background-color:#67BCCD;
    height: 2px;
    
}

.homepage-content-section-callouts .homepage-content-section-callouts-text p{
    margin:20px 0 0px 0;
}


.homepage-content-section-third{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width:100%;
    margin-top:6vw;
    margin-bottom:1vw;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-line-pack: center;
        align-content: center;
}

.homepage-content-section-third .homepage-content-section-text{
    width:45%;
    background-color:rgba(24,142,168,0.9);
    color:#fff;
    font-family: 'PT Serif', 'Times New Roman', serif;
    z-index: 2;
    
}

.homepage-content-section-third .homepage-content-section-text h2{
    font-size:1.25rem;
      line-height: 2em;
    color:#fff;
}

.homepage-content-section-third .homepage-content-section-text hr{
    width:20%;
    margin:0px;
    background-color:#fff;
    height: 2px;
    
}

.homepage-content-section-third .homepage-content-section-text h2 span{
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    display: block;
    color:#fff;
    text-transform: uppercase;
    font-size:2em;
}

.homepage-content-section-third .homepage-content-section-image{
    width:70%;
    min-height:70vh;
    background-size: cover;
    background-position: center;
}

#shabbat-times{
    width:85%;
    margin-top:100px;
    margin-bottom:100px;
    margin-left:auto;
    margin-right:auto;
    background-color:rgba(247,247,247,0.9);
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#shabbat-times .shabbat-times-header{
    background-color:#1E649C;
    padding:30px 30px;
    width:50%;
    min-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-image:url(/wp-content/uploads/2020/05/Image-7-1.png);
    background-position: center;
    background-size:cover;
    background-blend-mode: soft-light;
    position: relative;
    
}

.shabbat-times-header a {
    z-index: 3;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#shabbat-times .shabbat-times-header:after{
    background-color:#1E649C;
    position:absolute;
    content:"";
    top:0;
    left:0;
    width:100%;
    height:100%;
    opacity: 0.6;
}

#shabbat-times .shabbat-times-header h2{
    color:#fff;
    z-index: 1;
    text-decoration: none;
}

.shabbat-times-header a,
.shabbat-times-header a:visted{
    z-index: 1000 !important;
    color: #fff;
    text-decoration: none;
}

.shabbat-times-header a:hover,
.shabbat-times-header a:active{
    z-index: 1000 !important;
    color: #fff;
    text-decoration: none;
    font-style: italic;
}


#shabbat-times .shabbat-times-header h2 span{
    display: block;
    font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    font-size:2em;
    line-height: 1em;
}

#shabbat-times .shabbat-time-col-wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    
}

#shabbat-times .shabbat-time-col-wrapper a { /* sc 1/19/23 */
 text-decoration:underline;	
}

#shabbat-times .shabbat-time-col{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: center;
        align-content: center;
    padding:30px 70px;
    width:50%;
    -ms-flex-item-align: start;
        align-self: flex-start;
}

#shabbat-times .shabbat-time-col div{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#shabbat-times .shabbat-time-col strong{
    text-transform: uppercase;
    color:#1E649C;
    margin:15px 0 0 0;
    padding:0;
    line-height: 1.2em;
}

#shabbat-times .shabbat-time-col p{
    margin:0 0 15px 0;
    padding:0;
    line-height: 1;
    color:#707070;
    font-family: 'PT Serif', 'Times New Roman', serif;
}

#shabbat-times .shabbat-time-divider{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#shabbat-times .shabbat-time-divider span{
    background-color:#1E649C;
    width:2px;
    height:40%;
}

#site-announcement{
    width:90%;
    margin: 60px auto 0px auto; 
    margin-left:auto;
    margin-right:auto;
    padding: 10px; /* was 30px (sc) */
    background-color: #868F43;
    color: #fff;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    line-height: 1.8em;
}



#site-announcement .site-announcement-header{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    min-width:30%;
    padding-right:30px;
    line-height: 2em;
}

#site-announcement h3{
    margin:0;
     font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    font-size:2.5em;
    line-height: 1em;
    margin-right: 40px;
}
#site-announcement img.alignleft, #site-announcement img  { /* added by sc for image */
  margin-bottom:0;
  margin-top:0;
  padding-top:6px;
  margin-right:0;
  float:none;
}

#site-announcement h3 span{
    font-family: 'PT Serif', 'Times New Roman', serif;
    text-transform: none;
    font-size:0.6em;
    display: block;
    line-height: 1em;
    margin-bottom:5px;
}

#site-announcement .site-announcement-content{
    border-left:2px solid #fff;
    padding-left:40px;
}

#site-announcement p{
    margin:0px;
    padding: 0px 0px; /* was 20px 0px (sc) */
}

#site-announcement h2 { /* added by sc to reduce space above and below */
 margin-top: 12px;
 margin-bottom: 12px;
}

#site-announcement a:link,
#site-announcement a:visited,
#site-announcement a:hover,
#site-announcement a:active{
    color:#fff !important;
}

.search-results article{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.search-results h2{
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.search-results article .entry-summary{
    width:100%;
}

.search-results .page-header span{
     font-family: "Fira Sans", "Helvetica Neue", sans-serif;
    font-size:2em;
    display: block;
    line-height: 2em;
    color:#1e649c;
}

.search-results .nav-links{
    margin-top:30px;
    font-size:1.5em;
    text-transform: uppercase;
    font-weight: bold;
}

.search-results .nav-links a:link,
.search-results .nav-links a:visited{
    text-decoration: none;
}

.search-results .nav-links a:hover,
.search-results .nav-links a:active{
    text-decoration: underline;
}

.search-results .entry-summary{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-bottom: 20px;
}


.search-results .entry-summary img{
    width: 800px;
    display: block;
    padding: 20px 10px 0px 0px;
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner{
    background-color:#fff !important;
    margin-left: 0.7em;
    
}

/*Large Displays*/
@media screen and (min-width:1400px){

}

@media screen and (min-width:801px){
    
}

/*Tablet*/
@media screen and (max-width:900px){
     .button-white{
        display: block;
    }
}    

@media screen and (max-width:800px){

}    

.mobile-only{
	display:none;
}

/* added by sc 12/14/23 for button text and border wrapping at these widths and complaint, due to wide image on the left.  */
@media screen and (max-width:1379px) and (min-width:901px){
 
#site-announcement { 
	 width:100%; 
 }
 
 #site-announcement .button-white{
        display: block;
  }
 
 #site-announcement .site-announcement-header, #site-announcement { 
  margin:0;
  padding:0;
  padding-top:6px;
  float:none;
}

#site-announcement h3 {
 margin-right:0;	
}

#site-announcement .site-announcement-content {
 padding-bottom:20px;
 margin-bottom:20px;
 }

}
/* added by sc 12/14/23 for button text and border wrapping at these widths and complaint - due to wide image on the left; put the 2 columns on 2 lines like phone/tablet.  */
@media screen and (max-width:1199px) and (min-width:901px){
  #site-announcement{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
            margin-top: 0px;
    }
    
    #site-announcement .site-announcement-content{
        border-left:0px solid #fff;
        padding-left:0px;
        border-top:2px solid #fff;
        padding-top:20px;
        margin-top:20px;
    }
    
    #site-announcement .site-announcement-header{
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
	
	
}

/*Phone*/
@media screen and (max-width:900px){
	
 #site-announcement { /* added by sc May 10, 2023 */
	 width:100%; 
 }
 
 #site-announcement .site-announcement-header, #site-announcement { 
  margin:0;
  padding:0;
  padding-top:6px;
  float:none;
}

#site-announcement h3 {
 margin-right:0;	
}

#site-announcement .site-announcement-content {
 padding-bottom:20px;
 margin-bottom:20px;
}

/* end of sc additions */
    
	.mobile-only{
		display:inline-block;
	}
	
	article.post-44324 h3.has-teal-background-color { /* sc, smaller font blue box on Discovery page */
	  font-size:1.1em;
	}
	
    #page-header.featured-image{
        min-height:30vh;
    }

    .gallery-page-wrapper{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    
    .gallery-page-wrapper .gallery-block-wrapper{
        width:100%;
    }
    
    .feature-gallery-block{
        width:330px;
    }
    
    #responsive-check {
        display: inline;
        visibility: visible;
    }
    
    /* Logo on Phone */
    .site-logo{
        width:50%;
        margin:0px;
        padding: 20px 0px 0px 20px;
    }
    
    /* Navigation */
    
    #masthead{
      padding-bottom:20px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #navigation{
        background-color: #092D4A;
        display:none;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
        width:100% !important;
          
    }
    
    #navigation,
    #navigation a,
    #navigation ul,
    #navigation ul li{
        color:#fff !important;
        z-index: 3000;
    }
    
    .menu-top-menu-container,
    .menu-main-menu-container{
        width:100% !important;
        padding:0px;
    }
    
    .menu-main-menu-container{
        padding-top:30px;
    }
    
    .menu-top-menu-container{
        padding-bottom:30px;
    }
    
    .main-navigation ul,
    .top-navigation ul{
        width:100% !important;
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        
    }
    
    .main-navigation ul li,
     .top-navigation ul li{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        padding:0px 0px;
    }
    
    .top-navigation ul::before{
        content:" ";
        margin:30px 0px;
        border-top:1px solid #fff;
        width:30%;
        margin-left:auto;
        margin-right:auto;
    }
  
    .top-navigation ul li,    
    .top-navigation li:last-of-type {
        padding:0px 30px;
    }
    
    
    #responsive-menu-icon{
        display: block;
        visibility: visible;
        width: 1em;
        margin: 20px 30px;
        z-index: 3100;
        position: absolute;
        left: 0;
    }
    
     .res-menu-indicator{
        display:inline-block;
        visibility: visible;
        width:1em;
        padding:10px 20px;
        position: absolute;
        right: 6%;
    }
    
    /*sub menu controls*/
    
 /* (sc) removed so can see K-12 Jewish Education links on phone, but had to restore,
    otherwise can't log into members menu on phone - memgber submenu appears instead of login.  */   
    ul.sub-menu{
        display: none;
        visibility: collapse;
    }

    
    /* General Page */
    
    article{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;    
    }
    
    .side-section-navigation{
            border-top: 2px solid #6C6C6C;
            border-left: none;
        margin:60px 0px 0px 0px;
        width:100%;
        padding:30px;
        
    }
    
    /* Footer on Phone */
    
    footer.site-footer,
    footer .footer-content,
    footer .footer-content .footer-left,
    footer .footer-content .footer-logos,
    footer .footer-content .footer-contact{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        text-align: center;
        -ms-flex-line-pack: center;
            align-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin:0;
    }
    
    footer .footer-content .footer-contact{
        margin-bottom:60px;
    }
    
    footer .footer-content .footer-logos,
    footer.site-footer .copyright{
        margin-top:60px;
    }
    
    /* Home Page on Phone */
    
    .homepage-content-section{
         margin:0;   
    }
     
    .homepage-content-section.homepage-primary-section{
        -webkit-box-orient:vertical;
        -webkit-box-direction:reverse;
            -ms-flex-direction:column-reverse;
                flex-direction:column-reverse;
    }
    
    .homepage-content-section-callouts .homepage-content-callout:first-of-type{
        margin-left:0px;
        margin-right:0px;
    }
    
    .homepage-content-section-callouts .homepage-content-callout:last-of-type{
        margin-left:0px;
        margin-right:0px;
    }
    
    .homepage-primary-section .homepage-content-section-text {
        width:90%;
        margin: -20vh auto 30px auto;
        z-index: 10;
    }
    
    .homepage-primary-section .homepage-content-section-image {
        width: 100vw !important;
        height: 50vh !important;
        margin: 0px !important;
    }
    
   #homepage-eventbar{
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        margin:0px;
       margin-top:60px;
       width:100%;
       background-color: transparent;
    }

    #homepage-eventbar .homepage-event{
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -ms-flex-item-align: normal;
            align-self: normal;
        padding: 0px;
    }

    #homepage-eventbar .homepage-event-header{
        position: relative;
        height: 30%;
        margin-top:-40px;
        z-index: 2;
    }
    
    #homepage-eventbar .homepage-eventbar-wrapper{
        background-color:rgba(247,247,247,0.9);
        margin-bottom:20px;
        width:100vw;
        
    }
    
    #homepage-eventbar .event-slider-wrapper{
        padding:0px 0px 100px 0px; 
    }
    
    #homepage-eventbar .homepage-event{
        display:block;
    }
    
    #homepage-eventbar .homepage-event .homepage-event-content,
    #homepage-eventbar .button{
        margin:40px 40px 40px 90px;
    }
    
    #homepage-eventbar .swiper-button-next, 
    #homepage-eventbar .swiper-button-prev{
        top: 90%;
        color: #707070;
        text-transform: uppercase;
        font-weight: 300;
    }
    
    #homepage-eventbar .swiper-button-next{
        margin-right:20px;
    }
    
     #homepage-eventbar .swiper-button-prev{
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-direction: row-reverse;
                flex-direction: row-reverse;
         margin-left:40px;
    }
    
    #homepage-eventbar .swiper-pagination{
        margin-left:15px;
        bottom:20px;
    }
    
    #homepage-eventbar .swiper-pagination-bullet{
        background-color:#707070;
        opacity: 0.6;
         width:15px;
         height: 15px;
    }
    
    #homepage-eventbar .swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color:#1E649C;
        opacity: 1;
    }
    
    .homepage-content-section-third{
        margin-top:120px;
    }
    
    .homepage-content-section-second{
        padding: 0;
        margin: 90px 0px !important;
    }
    
    .homepage-content-section-second .homepage-content-section-text{
        min-width:60%;
    }
    
    .homepage-content-section-callouts{
        margin-top:20px;
    }
    
    .homepage-content-section-callouts.wrapper{
        width:100%;
    }
    
    .homepage-content-section-callouts .homepage-content-callout{
        margin:0;
        padding:0;
    }
    
    .homepage-content-section-callouts-image{
        margin:0;
        padding:0;
        min-height:250px;
        background-position:top; /* (sc) was center; */
    }
    
    .homepage-content-section-callouts .homepage-content-section-callouts-text{
        width:90%;
        margin: 0 auto;
    }
    
    .homepage-content-section-callouts.swiper-container{
        padding: 30px 0px 110px 0px !important;    
    }
    
    .homepage-content-section-callouts .swiper-button-next, 
    .homepage-content-section-callouts .swiper-button-prev{
        top: 95%;
        color: #BABABA;
        padding:40px;
        text-transform: uppercase;
    }
    
    .homepage-content-section-callouts .swiper-button-prev{
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-direction: row-reverse;
                flex-direction: row-reverse;
         margin-left:40px;
        
    }
    
     .homepage-content-section-callouts .swiper-button-next{
        margin-right:20px;
    }
    
    
     .homepage-content-section-callouts .swiper-pagination-bullet{
        background-color:#BABABA;
         width:15px;
         height: 15px;
    }
    
    .homepage-content-section-callouts .swiper-pagination-bullet.swiper-pagination-bullet-active{
        background-color:#67BCCD;
    }
    
    .homepage-content-section-third .homepage-content-section-image{
            padding: 0;
    height: 50vh !important;
    width: 100vw !important;
    position: absolute;
    margin: 0 !important;
    }
    
    .homepage-content-section-third .homepage-content-section-text{
        width:100%;
    }
    
     .homepage-content-section-second .homepage-content-section-image{
        padding: 0;
        position: absolute;
        width: 100vw !important;
        margin: 0px 0px 0px 0px !important;
    }
    
    .homepage-content-section-second .homepage-content-section-text{
        width: 100vw;
        margin-left: 0px;
    }
    
   
    #shabbat-times{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        width:100%;
        margin-bottom:0;
    }
    
    #shabbat-times .shabbat-times-header{
        width:100%;
    }
    
    #shabbat-times .shabbat-time-col{
        padding:10px 30px;
    }
    
    
    #site-announcement{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
            margin-top: 0px;
    }
    
    #site-announcement .site-announcement-content{
        border-left:0px solid #fff;
        padding-left:0px;
        border-top:2px solid #fff;
        padding-top:20px;
        margin-top:20px;
    }
    
    #site-announcement .site-announcement-header{
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

   


}


/*Smaller Screen*/
@media screen and (max-width:510px){
    
}

/* Landscape */
@media only screen 
  and (min-width: 414px) 
  and (max-width: 736px) 
  and (orientation: landscape) { 
      
}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        -webkit-box-shadow: none !important;
                box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/* Media Query for Tablets Ipads portrait mode */
  @media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait){
 .homepage-content-section-callouts-image{
        background-position:center; /* sc added - keep as it was for tablets */
    }
			
}
