@charset "UTF-8";
/*
Theme Name: Congregation Schaarai Zedek
Theme URI: https://www.zedek.org/
Description: 
Version: 1.0
Author: Addicott Web
Author URI: https://www.synagogue-websites.com/
*/

body { font-family: "Kumbh Sans", sans-serif; background-color:#fff; }

/* Text styles */
p { margin:20px 0 0 0; font-size:20px; line-height:30px; font-optical-sizing: auto; font-weight: 300; font-style: normal; font-variation-settings: "YOPQ" 300; }
strong { font-weight:600; font-variation-settings: "YOPQ" 600; }
em { font-style:italic; }
small { display:block; font-size:12px; line-height:20px; font-weight:400; color:#000; }
blockquote { border:none; padding:0; margin:0 0 0 30px; }

/* Link styles */
a { color:#1e3a78; text-decoration:underline; }
a:hover { color:#1e3a78; text-decoration:none; }

.elementor-widget-text-editor a,
.elementor-tab-content a { text-decoration: underline !important; }
.elementor-widget-text-editor a:hover,
.elementor-tab-content a:hover { text-decoration: none !important; }

/* Heading styles */
h1 { margin:0; font-size:48px; line-height:58px; color:#fff; font-optical-sizing: auto; font-weight: 500; font-style: normal; font-variation-settings: "YOPQ" 500; }
h2, h3, h4, h5, h6 { margin:30px 0 0 0; font-optical-sizing: auto; font-weight: 500; font-style: normal; font-variation-settings: "YOPQ" 500; }

h2 { font-size:36px; line-height:46px; }
h3 { font-size:30px; line-height:40px; }
h4 { font-size:24px; line-height:34px; }
h5 { }
h6 { }

/* List styles */
ul { list-style:disc; margin:20px 0 0 30px; padding:0; }
ol { list-style:decimal; margin:20px 0 0 30px; padding:0; }
ul li,
ol li { margin-bottom:10px; padding-left:10px; font-size:20px; line-height:30px; font-optical-sizing: auto; font-weight: 300; font-style: normal; font-variation-settings: "YOPQ" 300; }

ul ul { list-style:circle; margin:10px 0 10px 30px; }
ol ol { list-style:lower-alpha; margin:10px 0 10px 30px; }

/* Image styles */
.alignnone { display:block; margin:20px 0 0 0; }
.aligncenter { display:block; margin:20px auto 0 auto; }
.alignright { float:right; margin:5px 0 20px 25px; clear:both; display:inline; }
.alignleft { float:left; margin:5px 25px 20px 0; clear:both; display:inline; }

.wp-caption { }
.wp-caption-text { }

/* Table styles */
table { border-collapse:collapse; margin-top:5px; width:100%; }
table td { border-bottom:1px solid #ccc; font-size:18px; line-height:28px; font-weight:300; padding:15px 0; color:#000; vertical-align:top; }
table th { border-bottom:2px solid #000; font-size:18px; line-height:28px; font-weight:600; padding:15px 0; color:#000; vertical-align:top; text-align:left; }

iframe, object, embed { max-width: 100%; }

/* Pagenavi */
.wp-pagenavi { margin:40px 0 0 0; }
.wp-pagenavi a,
.wp-pagenavi span { margin:2px; font-size:16px; line-height:26px; background-color:#012545; color:#fff; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; padding:15px 30px; text-decoration:none; }
.wp-pagenavi a:hover { background-color:#359bed; color:#fff; transition: background-color 0.5s ease; }
.wp-pagenavi span.current { background-color:#359bed; color:#fff; }

/* Global classes */
.right { text-align:right; }
.center { text-align:center; }
.widget { margin:0 0 30px 0; padding-top:0; padding-bottom:0; }
.widget h3.widget-title { }

/*-------------------------------------------------------------------------------------------------------------------
--------------------------------------------- CUSTOM LAYOUT ELEMENTS ------------------------------------------------
-------------------------------------------------------------------------------------------------------------------*/

.wrap { width:100%; }
.container { padding-left:40px; padding-right:40px; }
.row { padding-top:40px; padding-bottom:40px; }

.no-padding-top { padding-top:0 !important; }
.no-padding-bottom { padding-bottom:0 !important; }
.no-padding-both { padding-top:0 !important; padding-bottom:0 !important; }

.padding-top { padding-top: 40px !important; }

/* Search form */
#myModal { margin-top:40px !important; }
#myModal .modal-content { padding-bottom: 20px; }
#myModal.modal form { margin-bottom:30px; }
#myModal.modal form input { width:85%; padding:10px; border:1px solid #ccc; margin:0 10px 0 0; font-size: 18px !important; line-height: 28px !important; font-weight: 300 !important; }
#myModal.modal form button { width:10%; background:#00529b; color:#fff; padding:10px; border:none; font-size: 18px !important; line-height: 28px !important; font-weight:700; text-transform:uppercase; }

/* Header */
.header-nav { display:flex; justify-content:flex-end; align-items:center; }
.header .row { padding-top: 25px; padding-bottom: 25px; }
.header ul { display:flex; align-items:center; gap:0px; list-style:none; margin:15px 0 0 0; padding:0; }
.header ul li { display:flex; align-items:center; margin: 0; padding: 0; font-size: 18px; line-height: 28px; font-weight: 500; font-variation-settings: "YOPQ" 500; }
.header ul li:first-child { margin-left: 0; }
.header ul li a { color: #000; display:flex; align-items:center; text-decoration:none; padding: 15px 25px; }
.header ul li a:hover { color: #000; text-decoration: underline; }
.header ul li.menu-item-76 { margin: 0 25px; }
.header ul li.menu-item-76 a { background: #fff; color: #1f7a8c; border: 1px solid #1f7a8c; border-radius: 40px; }
.header ul li.menu-item-76 a:hover,
.header ul li.menu-item-76 a:focus { background: #1f7a8c; color: #fff; transition: all 0.25s ease; text-decoration: none; }
.header ul li.search { margin-right: 25px; }
.header ul li:last-child a { padding-top: 8px !important; }

/* Hamburger button */
.menu-toggle { appearance:none; -webkit-appearance:none; border:0; background:none; padding:0; margin:0; width:32px; height:24px; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer; }
.menu-toggle span { display:block; width:100%; height:3px; background:#000; border-radius:3px; }

/* Fullscreen menu overlay */
.menu-overlay { position:fixed; inset:0; display:flex; justify-content:center; align-items:flex-start; background:rgba(30, 58, 120, .9); backdrop-filter:blur(5px); opacity:0; visibility:hidden; transition:.45s ease; z-index:10000; overflow-y:auto; padding:80px 0; }
.menu-overlay.active { opacity:1; visibility:visible; }

/* Close button */
.menu-close { position:fixed; top:30px; right:40px; background:none; border:0; color:#fff; font-size:55px; line-height:1; cursor:pointer; z-index:10001; opacity:.85; transition:.25s ease; }
.menu-close:hover { opacity:1; transform:rotate(90deg); }

/* Desktop overlay menu */
.overlay-menu { width:min(1400px,90%); display:grid; grid-template-columns:repeat(3,1fr); gap:40px 80px; transform:translateY(40px); transition:.5s ease; margin:auto 0; }
.menu-overlay.active .overlay-menu { transform:translateY(0); }
.menu-column { display:flex; flex-direction:column; }

/* Menu groups */
.menu-group { margin-bottom:0; }

/* Desktop headings */
.menu-group h3 { font-size:18px; text-transform:uppercase; margin:0 0 10px 0; }
.menu-group h3 a { color:#edc531; text-decoration: none; }
.menu-group h3 a:hover { color:#edc531; text-decoration: underline; }

/* Menu links */
.menu-section-links { display:flex; flex-direction:column; }
.menu-section-links ul { list-style:none; padding:0; margin:0; }
.menu-section-links ul li { margin: 0 0 5px 0; padding: 0; font-size: 18px; line-height: 28px; }
.menu-section-links ul li:last-child { margin-bottom: 0; }
.menu-section-links a { color:#fff; text-decoration:none; margin:10px 0; transition:.25s ease; }
.menu-section-links a:hover { color: #fff; text-decoration: underline; }

/* Hide accordion controls on desktop */
.menu-section-toggle { display:none; }

/* Page effects */
#pageContent { transition: transform .45s ease, filter .45s ease; transform-origin:center center; }

body.menu-open #pageContent { filter:brightness(.7); }
body.menu-open { overflow:hidden; }

/* Mobile accordion */
@media(max-width:991px) {
	.menu-overlay { padding:90px 0 50px; }
	.overlay-menu { display:block; width:85%; margin:0 auto; }
	.menu-column { width:100%; }
	.menu-group { margin:0; border-bottom:1px solid rgba(255,255,255,.2); }

	/* Hide desktop headings */
	.menu-group h3 { display:none; }

	/* Accordion button */
	.menu-section-toggle { display:flex; width:100%; padding:20px 0; background:none; border:0; color:#edc531; font-size: 18px; line-height: 28px; text-transform:uppercase; justify-content:space-between; align-items:center; cursor:pointer; }
    .menu-section-toggle span { font-size: 24px; line-height: 24px; transition:.3s ease; color: #fff; }

	/* Collapsed links */
	.menu-section-links { max-height:0; overflow:hidden; transition:max-height .4s ease; }
	.menu-section-links ul { margin: 0 0 30px 0; }
    .menu-section-links a { padding:10px 0; }

	/* Expanded state */
	.menu-group.active .menu-section-links { max-height:500px; }

	/* Plus rotates into X */
    .menu-group.active .menu-section-toggle span { transform:rotate(45deg); }
    .menu-close { top:20px; right:25px;	}
}

/* Desktop reset */
@media(min-width:992px) {
	.menu-section-links { max-height:none; }
}

.menu-group:has(.menu-section-links ul:empty) { display:none; }

/* Layout areas */
.content { background: #F0F5ED; background: linear-gradient(90deg, rgba(240, 245, 237, 1) 0%, rgba(230, 246, 253, 1) 100%); }

.content-subpages { background-color:#232c5b; padding:30px; }
.content-subpages h4 { margin-top:0; color:#fff; font-weight:700; text-transform: uppercase; }
.content-subpages ul { list-style:none; margin:15px 0 0 0; }
.content-subpages ul li { margin:15px 0 0 0; padding:0; font-weight:300; }
.content-subpages ul.children { margin: 5px 20px 15px 20px; }
.content-subpages ul.children li { margin: 10px 0 0 0; font-size: 14px; line-height: 20px; }
.content-subpages a { color:#fff; text-decoration: none; }
.content-subpages a:hover { color:#fff; text-decoration: underline; }

/* Page title area */
.page-title { background:url('images/page-title-watermark.png') center 25% / cover no-repeat, linear-gradient(90deg, rgba(0, 151, 209, 1) 0%, rgba(0, 168, 232, 1) 50%, rgba(0, 151, 209, 1) 100%); }
.page-title .row { padding-top: 80px; padding-bottom: 80px; }

/* Search results */
.search-results ul { list-style:none; margin:40px 0 0 0; }
.search-results ul li { margin-bottom:40px; padding:0 0 40px 0; border-bottom:1px solid #ccc; font-weight: 600; font-size: 24px; line-height: 34px; }
.search-results ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.search-results ul li span { display:block; }
.search-results ul li span.url { color:#006621; font-size:16px; line-height:26px; margin-top:20px; font-weight: 600; }

/* Footer */
.footer { background: #1E3A78; background: linear-gradient(90deg, rgba(30, 58, 120, 1) 0%, rgba(111, 44, 145, 1) 50%, rgba(30, 58, 120, 1) 100%); }
.footer a,
.footer a:hover { color: #fff; }
.footer p { color: #fff; }
.footer ul { list-style: none; }
.footer h4 { margin-top: 40px; color: #edc531; font-weight: 500; }

.footer-top { border-bottom: 2px solid rgba(255, 255, 255, .1); }
.footer-top .row { padding-top: 20px; padding-bottom: 60px; }
.footer-top p { margin-top: 40px; font-size: 18px; line-height: 28px; }
.footer-top p.address { background: url('images/icon_address.png') left no-repeat; padding-left: 60px; }
.footer-top p.phone { background: url('images/icon_phone.png') left no-repeat; padding-left: 53px; }
.footer-top p.hours { background: url('images/icon_hours.png') left no-repeat; padding-left: 70px; }

.footer-middle { border-bottom: 2px solid rgba(255, 255, 255, .1); }
.footer-middle .row { padding-top: 20px; padding-bottom: 60px; }
.footer-middle .footer-sitemap ul { margin: 40px 0 0 0; }
.footer-middle .footer-sitemap ul li { font-size: 24px; line-height: 34px; font-weight: 500; margin: 0 0 5px 0; padding: 0; }
.footer-middle .footer-sitemap ul li:last-child { margin-bottom: 0; }
.footer-middle .footer-sitemap ul li a { color: #edc531; text-decoration: none; }
.footer-middle .footer-sitemap ul li a:hover { color: #edc531; text-decoration: underline; }

.footer-middle .footer-menu ul { margin: 20px 0 0 0; }
.footer-middle .footer-menu ul li { font-size: 18px; line-height: 28px; margin: 0 0 5px 0; padding: 0; }
.footer-middle .footer-menu ul li:last-child {  margin-bottom: 0; }
.footer-middle .footer-menu ul li a { text-decoration: none; }
.footer-middle .footer-menu ul li a:hover { text-decoration: underline; }
.footer-middle .footer-social ul { margin: 20px 0 0 0; }
.footer-middle .footer-social ul li { display: inline; margin: 0 20px 0 0; padding: 0; }
.footer-middle .footer-social ul li:last-child { margin-right: 0; }

.footer-copyright .row { padding-top: 60px; padding-bottom: 60px; }
.footer-copyright p { margin-top: 0; font-size: 14px; line-height: 24px; }

.footer-logo .row { padding-top: 20px; padding-bottom: 20px; }

/* Large desktops and laptops */
@media (min-width: 1380px) {
body { padding:0; }
.container-fluid { padding:0; }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1379px) {
body { padding:0; }
.container-fluid { padding:0; }
.container { width:100% !important; }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
body { padding:0; }
.container-fluid { padding:0; }
.container { width:100% !important; }
.content-subpages { margin-top:40px; }
}

/* Landscape phones and portrait tablets */
@media (min-width: 481px) and (max-width: 767px) {
body { padding:0; }
.container-fluid { padding:0; }
.content-subpages { margin-top:40px; }
img.alignright,
img.alignleft
.alignright,
.alignleft { float:none !important; margin:0 !important; display: block !important; }
img.aligncenter {margin:20px 0 0 0 !important; }
.event-page h1 { margin-top: 40px; }
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
body { padding:0; }
.container-fluid { padding:0; }
.content-subpages { margin-top:40px; }
img.alignright,
img.alignleft
.alignright,
.alignleft { float:none !important; margin:0 !important; display: block !important; }
img.aligncenter {margin:20px 0 0 0 !important; }
.event-page h1 { margin-top: 40px; }
}