@charset "UTF-8";
/*
Theme Name: Queens Hebrew Academy
Theme URI: https://www.qhany.org/
Description: 
Version: 1.0
Author: Addicott Web
Author URI: https://www.wordpress-web-designer-raleigh.com/
*/

body { font-family: "Jost", 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: 400; font-style: normal; }
strong { font-weight:700; }
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; }
blockquote p { font-size:18px; line-height:28px; font-weight:300; }

/* Link styles */
a { color:#3d79bf; text-decoration:underline; }
a:hover { color:#3d79bf; 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; }
h2, h3, h4, h5, h6 { margin:30px 0 0 0; font-optical-sizing: auto; font-weight: 500; font-style: normal; }

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: 400; font-style: normal; }

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 { background: #A4D4ED; background: linear-gradient(90deg, rgba(164, 212, 237, 1) 0%, rgba(209, 233, 246, 1) 50%, rgba(164, 212, 237, 1) 100%); }
.header .container { background: url('images/header-logo-watermark.png') 25% 25% no-repeat; }
.header .row { padding-top: 25px; padding-bottom: 25px; }

	/* Navigation area */
	.header-navigation-area { width: 100%; display: flex; justify-content: flex-end; align-items: center; }

		/* Large desktops and laptops */
		@media (min-width: 1380px) {
		.header-navigation-area { margin-top: 30px; }
		}

		/* Landscape tablets and medium desktops */
		@media (min-width: 992px) and (max-width: 1379px) {
		.header-navigation-area { margin-top: 10px; }
		}

	/* Bootstrap 3 navbar */
	.bootstrap-header-nav.navbar { width: 100%; min-height: 0; margin: 0; border: 0; background: transparent; display: flex; justify-content: flex-end; align-items: center; }

	/* Dropdowns */
	.navbar-default .navbar-nav { list-style:none; margin:0 -20px 0 0; float: right; }
	.navbar-default .navbar-nav > li { font-family: "Jost", sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; font-size: 24px; line-height: 34px; margin:0; padding:0; }
	.navbar-default .navbar-nav > li > a { display:block; text-decoration:none; padding:20px; color:#000; text-shadow:none; border-radius:0; margin:0; }
	.navbar-default .navbar-nav > .active > a,
	.navbar-default .navbar-nav > .active > a:focus,
	.navbar-default .navbar-nav > .active > a:hover,
	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > li > a:focus { color:#fff; background:#071C51; }

	.navbar-nav li ul.dropdown-menu { min-width: none; padding: 10px 0; background: #071C51; width:240px; border: none; border-radius: 0; box-shadow: 0; }
	.navbar-nav li ul.dropdown-menu li { margin:0; padding:0 15px; float:none; font-size:18px; display:block; line-height:22px; font-family: "Jost", sans-serif; font-optical-sizing: auto; font-weight:300 !important; font-style: normal !important; position: relative; }
	.navbar-nav li ul.dropdown-menu ul { left:100%; margin-top:-41px; position: absolute; top: 100%; }
	.navbar-nav li ul.dropdown-menu a { color:#fff; text-align:left; text-decoration:none; padding:10px; display:block; white-space: normal; background:none !important; font-weight:300 !important; font-style: normal !important; }
	.navbar-nav li ul.dropdown-menu a:hover { color:#fff; text-decoration:underline; }
	
	.nav li:hover a,
	.nav li:hover a:focus { background:#071C51; color:#fff; }

	.nav li:hover > ul { display:block; }

	.nav > li.current-menu-item > a,
	.nav > li.current-menu-ancestor > a,
	.nav > li.current_page_item > a,
	.nav > li.current_page_ancestor > a { background: none; color:#000; }

	.nav > li.current-menu-item > a:hover,
	.nav > li.current-menu-ancestor > a:hover,
	.nav > li.current_page_item > a:hover,
	.nav > li.current_page_ancestor > a:hover { background-color:#071C51; color:#fff; }

	/* Search icon */
	.header-search-trigger { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin: 0 20px 0 40px; color: #000; }
	.header-search-trigger:hover,
	.header-search-trigger:focus { color: #000; text-decoration: none; }
	.header-search-trigger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

	/* Hamburger */
	.header-hamburger-trigger { flex: 0 0 auto; width: 32px; height: 24px; margin-left: 22px; display: flex; align-items: center; justify-content: center; color: #000; }
	.header-hamburger-trigger,
	.header-hamburger-trigger:hover,
	.header-hamburger-trigger:focus { color: #000; text-decoration: none; }
	.hamburger-lines { width: 32px; height: 24px; display: flex; flex-direction: column; justify-content: space-between; }
	.hamburger-lines span { display: block; width: 100%; height: 3px; background: currentColor; }

	/* Shared overlay */
	.site-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 90px 40px 60px 40px; overflow-y: auto; background: #071C51; background: linear-gradient(90deg, rgba(7, 28, 81, .9) 0%, rgba(9, 35, 101, .9) 50%, rgba(7, 28, 81, .9) 100%); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
	.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
	.site-overlay-inner { width: min(750px,90%); margin: 0 auto; }

	/* Close button */
	.overlay-close { position: fixed; top: 25px; right: 35px; z-index: 10002; border: 0; background: transparent; color: #fff; font-size: 56px; cursor: pointer; transition: transform 0.3s ease, opacity 0.3s ease; }
	.overlay-close:hover { transform: rotate(90deg); opacity: 1; }

	/* Overlay title*/
	.overlay-menu-title { margin-bottom: 20px; font-size: 18px; font-weight: 600; text-transform: uppercase; color: #fff; }

	/* Accordion menu */
	.menu-overlay .overlay-menu { display: grid; grid-template-columns: repeat(var(1), minmax(0, 1fr)); column-gap: var(60px); }
	.menu-overlay .menu-group { border-top: 1px solid rgba(255,255,255,.18); }
	.menu-overlay .menu-group-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; min-height: 72px; }
	.menu-overlay .menu-group-title { margin: 0; color:#a4d4ed; font-size:18px; text-transform:uppercase; cursor: pointer; }
	.menu-overlay .menu-section-toggle { position: relative; width: 42px; height: 42px; border: 0; background: transparent; color: #fff; cursor: pointer; }

	/* Plus */
	.menu-toggle-icon { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%,-50%); }
	.menu-toggle-icon::before { content: ""; position: absolute; top: 50%; left: 50%; width: 2px; height: 18px; background: currentColor; transform: translate(-50%,-50%);transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
	.menu-section-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translate(-50%,-50%) rotate(90deg); }

	/* Links */
	.menu-section-links { max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: max-height .45s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, transform .35s ease, visibility 0s linear .45s; }
	.menu-group.is-active .menu-section-links { visibility: visible; opacity: 1; transform: translateY(0); transition: max-height .45s cubic-bezier(.4, 0, .2, 1), opacity .25s ease .05s, transform .35s ease; }
	.menu-section-links[hidden] { display: block; }
	.menu-section-list { margin: 0; padding: 0 0 20px 0; list-style: none; }
	.menu-section-item > a { display: block; padding: 5px 0; color: #fff; font-size: 18px; line-height: 28px; font-weight: 300; text-decoration: none; }

	/* Search overlay */
	.search-overlay { align-items: center; }
	.search-overlay-content { width: min(750px,90%); margin: auto; text-align: center; color: #fff; }
	.search-overlay-content input { width: 100%; padding: 20px; background: #fff; color: #000; outline: none; font-size: 24px; line-height: 34px; border: none; }
	.search-overlay-content button { margin-top: 30px; background: #F1C14E; border: none; color: #fff; border-radius: 40px; padding: 20px 30px; font-size: 16px; font-weight: 700; text-transform: uppercase; }

	/* Scroll lock */
	html.overlay-open,
	body.overlay-open { overflow: hidden; }

	#pageContent { transform-origin: center; transition: transform var(0.35s) ease, filter var(0.35s) ease; }

	/* Responsive - Hide normal Bootstrap menu. Keep search + hamburger. */
	@media(max-width:991px) {
	.bootstrap-header-nav .header-bootstrap-menu { display: none; }
	.menu-overlay .overlay-menu { grid-template-columns: 1fr; }
	}

/* Layout areas */
.content { background-color:#fff; }

.content-subpages { background-color: #e8f4fa; }
.content-subpages .row { padding-top: 15px; padding-bottom: 5px; }
.content-subpages ul { list-style:none; margin:0; }
.content-subpages ul li { margin: 0 20px 10px 0; padding:0 20px 0 0; font-size: 16px; line-height: 26px; border-right: 1px solid #d1dce1; color: #000; display: inline-block; font-family: "Jost", sans-serif; font-optical-sizing: auto; font-weight: 300; font-style: normal; }
.content-subpages ul li strong { text-transform: uppercase; }
.content-subpages ul li:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.content-subpages a { color:#000; text-decoration: none; }
.content-subpages a:hover { color:#000; text-decoration: underline; }

/* Page title area */
.page-title { background: #38669E; background: linear-gradient(90deg, rgba(56, 102, 158, 1) 0%, rgba(70, 128, 197, 1) 50%, rgba(56, 102, 158, 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: #071C51; background: linear-gradient(90deg, rgba(7, 28, 81, 1) 0%, rgba(9, 35, 101, 1) 50%, rgba(7, 28, 81, 1) 100%); }
.footer a,
.footer a:hover { color: #fff; }
.footer p { color: #fff; font-weight: 300; }
.footer ul { list-style: none; margin: 0; }
.footer strong { text-transform: uppercase; color: #a4d4ed; }

.footer-top { border-bottom: 2px solid rgba(255, 255, 255, .1); }
.footer-top .row { padding-top: 20px; padding-bottom: 60px; }
.footer-top img { margin-top: 40px; }
.footer-top p { margin-top: 40px; font-size: 18px; line-height: 28px; }
.footer-top p.address { background: url('images/icon_address.png') left 5px no-repeat; padding-left: 60px; }
.footer-top p.phone { background: url('images/icon_phone.png') left 5px no-repeat; padding-left: 53px; }
.footer-top p.list { background: url('images/icon_list.png') left 5px no-repeat; padding-left: 84px; }
.footer-top ul { margin-top: 10px; }
.footer-top ul li { display: inline; color: #fff; margin: 0 20px 0 0; padding: 0; font-weight: 300; }
.footer-top ul li:last-child { margin-right: 0; }
.footer-top ul li img { margin-top: 0; }

.copyright .row { padding-top: 60px; padding-bottom: 60px; }
.copyright ul li { display: inline-block; margin: 0 25px 0 0; padding: 0 25px 0 0; border-right: 1px solid rgba(255, 255, 255, .1); font-weight: 700; }
.copyright ul li:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.copyright ul li a { color: #a4d4ed; text-decoration: none; }
.copyright ul li a:hover { color: #a4d4ed; text-decoration: underline; }
.copyright p { font-size: 16px; line-height: 26px; }

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