/*!
Theme Name: ccysb
Theme URI: http://underscores.me/
Author: Nerd Crossing
Author URI: https://nerdcrossing.com
Description: A custom theme for Contra Costa Youth Service Bureau
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ccysb
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.

ccysb 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

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

:root { 
	--green: #92bb3e;
	--lightgreen: #afcd74;
	--midgreen: #61CE70;
	--orange: #f08521;
	--lightorange: #eda366;
	--purple: #b9228f;
	--lightpurple:  #be54a0;
	--blue: #1c92ba;
	--lightblue: #6dacc9;
	--yellow: #fbed20;
	--lightyellow: #f6ef6f;
	--lilac: #9090D0;

	--grey: #dddddd;

	--width: 1200px;
}


/* 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%;
	font-size: 18px;
}

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

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

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
	padding-bottom: 3rem;
}

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

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

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

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

big {
	font-size: 125%;
}

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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

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

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

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

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #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%;
}

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

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

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
}

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

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

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

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

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

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

.main-navigation li {
	position: relative;
	margin-right: 2rem;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 0.1rem 0.2rem;
	color: black;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
@media screen and (max-width: 999px) {
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: -40px;
	}
}
@media screen and (min-width: 1000px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: block;
		margin-top: 2.7rem;
		text-align: right;
		font-size: 1.3rem;
	}
	.main-navigation li {
		display: inline-block;
	}

	.main-navigation {
		width: 100%;
	}
}

.main-navigation.toggled #primary-menu {
  position: absolute;
  right: 10px;
  background-color: white;
  padding: 8px;
  border: 1px solid black;
  z-index: 100;
}

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

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

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

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

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.gallery-caption {
	display: block;
}

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

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

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

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

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

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

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

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

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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




/**********************************************

NERD CROSSING ADDITIONS

**********************************************/

/**
 * General
 */
.nc-width-control {
	max-width: var( --width );
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

.add-angle:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: -1;
	background-color: var( --purple );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}
.add-angle-wrapper {
	position: relative;
	background-color: var( --purple );
}

@media screen and ( max-width: 600px ) {
	ul {
		margin-left: 1em;
	}
}

/**
 * Buttons
 */
/* Elementor */
.elementor-button-wrapper .elementor-button {
	border-radius: 0;
}
.elementor-button-wrapper a {
	position: relative;
}
.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --purple );
}
.elementor-button-wrapper .elementor-button:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: -1;
	background: var( --purple );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}
.elementor-button-text {
	text-transform: uppercase;
	font-size: 1rem;
	padding-left: 0.5rem;
}

.light-blue-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --lightblue );
}
.light-blue-button .elementor-button-wrapper .elementor-button:before {
	background: var( --lightblue );
}
.light-orange-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --lightorange );
}
.light-orange-button .elementor-button-wrapper .elementor-button:before {
	background: var( --lightorange );
}
.light-green-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --lightgreen );
}
.light-green-button .elementor-button-wrapper .elementor-button:before {
	background: var( --lightgreen );
}
.light-purple-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --lightpurple );
}
.light-purple-button .elementor-button-wrapper .elementor-button:before {
	background: var( --lightpurple );
}

.mid-green-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --midgreen );
}
.mid-green-button .elementor-button-wrapper .elementor-button:before {
	background: var( --midgreen );
}
.lilac-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --lilac );
}
.lilac-button .elementor-button-wrapper .elementor-button:before {
	background: var( --lilac );
}
.yellow-button.elementor-widget-button .elementor-button-wrapper .elementor-button {
	background-color: var( --yellow );
}
.yellow-button .elementor-button-wrapper .elementor-button:before {
	background: var( --yellow );
}

/* WP Block */
.wp-block-button {
	position: relative;
}
.wp-block-button__link {
	background-color: var( --purple );
	border-radius: unset;
}
.wp-block-button__link:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: -1;
	background: var( --purple );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}

/***********
 * Information Bar
 *********/
#information-bar {
	background-color: var( --yellow );
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#information-bar-close {
	padding: 0;
	font-size: 1.5rem;
	color: black;
	background-color: unset;
	border: none;
	cursor: pointer;
}
#information-bar-close:focus {
	border: 1px dotted white;
}
#information-bar, 
#information-bar p {
	color: black;
	text-align: center;
}
#information-bar .nc-width-control {
	padding-bottom: 16px;
}
#information-bar .nc-width-control, 
#information-bar .nc-width-control p {
	line-height: 1.5;
}
#information-bar a {
	color: black;
}
#information-bar p.right {
	text-align: right;
	padding-right: 3%;
	margin-bottom: 0.1rem;
}
#information-bar-opener {
	display: none;
	float: right;
	cursor: pointer;
	text-align: right;
	margin-right: 1rem;
}
#information-bar-opener .ib-tab {
	background-color: var( --yellow );
	color: black;
	padding: 0.4rem 1rem 0.6rem;
	border-radius: 0 0 20px 20px;
	border: none;
	z-index: 1000;
	position: relative;
}
#information-bar-opener .ib-tab .show-message-arrow {
	position: relative;
	top: -4px;
}

@media screen and ( min-width:500px ) {
	#information-bar p.right {
		float: right;
	}
	#information-bar .nc-width-control {
		padding: 16px 70px 17px;
	}
}


/**
 * General page top hero image
 */
.page-hero .elementor-widget-heading h2.elementor-heading-title {
	color: white;
	font-size: 3rem;
	text-shadow: 1px 1px black;
	line-height: 1.3;
}

.page-hero .elementor-button-wrapper .elementor-button:before {
	z-index: 0;
}
.page-hero .elementor-button-content-wrapper {
	position: relative;
	z-index: 1;
}

/**
 * Header
 */
#masthead {
	box-shadow: 0 0 6px 1px rgba( 0, 0, 0, 0.3 );
	position: relative;
}

/**
 * Header topbar
 */
.nc-header-topbar {
	background-color: #f2f0ec;
	font-size: 14px;
}
.nc-header-topbar .email, 
.nc-header-topbar .address {
	margin-left: 1rem;
}
.nc-header-topbar img {
	max-height: 30px;
	position: relative;
	top: 10px;
	margin-right: 0.3rem;
}
.nc-header-topbar .address img {
	margin-right: 0;
}
.nc-header-topbar-left {
	background-color: black;
	z-index: 1;
	position: relative;
	padding-top: 8px;
	padding-bottom: 16px;
	flex-grow: 1;
}
.nc-header-topbar-left a {
	color: white;
}
.nc-header-topbar-left .content-inner::before {
	content: unset;
}
.nc-header-topbar-left .content-inner::after {
	content: '';
	width: 1000px;
	height: 100%;
	background: black;
	position: absolute;
	top: 0;
	right: 100%;
	z-index: 1;
}
@media screen and ( max-width: 580px ) {
	.nc-header-topbar .address {
		display: block;
	}
}
@media screen and ( max-width: 599px ) {
	.nc-header-topbar .nc-width-control {
		padding-right: 0;
	}
	.nc-header-topbar-left {
		padding-right: 10px;
		text-align: center;
	}
	.nc-header-topbar .address {
		margin-left: 0;
	}
}
@media screen and ( min-width: 1000px ) {
	.nc-header-topbar .nc-width-control {
		display: flex;
	}
	.nc-header-topbar-left .content-inner.add-angle::before {
		content: "";
		background: black;
	}
}

/**
 * Header topbar - right side
 */
.nc-header-topbar-right {
	padding-top: 2px;
	flex-grow: 1;
	padding-bottom: 6px;
}
.nc-header-topbar-right {
	display: flex;
	justify-content: space-between;
}

@media screen and ( min-width: 451px ) {
	.nc-header-topbar-right {
		padding-top: 8px;
		padding-bottom: unset
	}
}
/**
 * Header topbar menu
 */
.header-topbar-menu {
	padding-top: 14px;
}
#menu-header-topbar {
	list-style: none;
	display: flex;
	margin-left: 0;
	margin-bottom: 0;
}
#menu-header-topbar a {
	color: black;
	padding: 6px 12px;
}

@media screen and ( max-width: 450px ) {
	.header-topbar-menu {
		display: none;
	}	
}


/**
 * Translation
 **/
.nc-header-topbar .nc-translate {
	text-transform: uppercase;
	padding: 10px 5px;
}
.nc-header-topbar .nc-translate a {
	color: black;
}
.nc-header-topbar .nc-translate a:focus {
	outline: unset;
}
.nc-translate #flags {
	width: unset;
	position: relative;
	top: 3px;
}
#flags #sortable {
	float: right !important;
}
#flags .sortable li {
	float: none !important;
	display: inline-block;
}
#flags #English a, #flags #Spanish a {
	background-image: none;
	width: unset !important;
}
.translator-divider {
	color: white;
	margin-left: 10px;
	margin-right: 10px;
}
.nc-translate #flags #Spanish a:focus, 
.nc-translate #flags #English a:focus {
	background-color: var( --lightyellow );
}

/**
 * Social Icons
 */
.header-social-icons a:first-child img {
	margin-right: 0;
}

/**
 * Search
 */
#search-icon {
	margin-left: 20px;
}
@media screen and ( max-width: 599px ) {
	#menu-header-topbar {
		padding-left: 0;
	}
}
@media screen and ( min-width: 600px ) {
	
}



/**
 * Main header
 */
.main-header {
	padding-top: 10px;
	padding-bottom: 10px;
}
.main-header.nc-width-control {
	display: flex;
	justify-content: space-between;
}

.custom-logo {
	max-height: 100px;
	width: auto;
}
@media screen and ( min-width: 600px ) {
	.custom-logo {
		max-height: 150px;
	}
}
/* Main Menu */
.current_page_item a {
	border-bottom: 1px solid var( --purple );
}
.current_page_item a:hover {
	text-decoration: none;
	border-bottom: 1px solid black;
}
/*  add down arrow where there are sub menus */
.menu-item-has-children::before {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
    font-size: 0.7rem;
    position: absolute;
    top: 45%;
    margin-left: 8px;
}
.main-navigation a:hover {
	text-decoration: none;
	border-bottom: 1px solid var( --purple );
}
.main-navigation .menu-item-has-children a:hover {
	border-bottom: 1px solid white;
}
.main-navigation li a:focus {
	background-color: var( --lightyellow );
}

/* Get Involved */
#menu-item-28 a {
	color: var( --purple );
	font-weight: 600;
}

/* Donate */
#menu-item-27 a {
	background-color: var( --lightgreen );
	color: black;
	text-transform: uppercase;
	font-weight: 600;
	padding: 0.15rem 1rem;
}
#menu-item-27 a:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: -1;
	background: var( --lightgreen );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}

/* Sub menus */
.main-navigation ul.sub-menu {
	background-color: white;
	margin-top: 0;
	text-align: left;
	box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.2);
}
.main-navigation ul.sub-menu li {
	margin-right: 0;
}
.main-navigation ul.sub-menu li a {
	border-bottom: 1px solid var( --lightpurple );
	padding: 0.3rem 1rem;
}
.main-navigation ul.sub-menu li:last-child a {
	border-bottom: 1px solid white;
}
.main-navigation ul.sub-menu li a:hover {
	background-color: #eee;
	border-bottom: 1px solid var( --lightpurple );
}
.main-navigation ul.sub-menu li:last-child a:hover {
	border-bottom: 1px solid white;
}

/* hamburger */
.menu-toggle {
	border: unset;
	background-color: unset;
}
#site-navigation .bar1, #site-navigation .bar2, #site-navigation .bar3 {
  width: 30px;
  height: 4px;
  background-color: black;
  margin: 7px 0;
  transition: 0.4s;
  display: block;
}

@media screen and ( max-width: 999px ) {
	.main-navigation {
		padding-top: 6%;
	}
	.menu-item-has-children::before {
		top: 8px;
		right: 24px;
	}
	.main-navigation ul.sub-menu li a {
		width: 200px;
	}
	.main-navigation a {
		padding: 0.5rem;
	}
}

/*************************
 * Search modal
 * html on header.php 
 * js on nerd-crossing-additions.js
 */

#nc-search-modal {
	background-color: rgba( 0, 0, 0, 0.8 );
	position: fixed;
	width: 100vW;
	height: 100vH;
	z-index: 1000;
	top: 0;
	left: 0;
}
#nc-search-modal form {
	margin-top: 20%;
	text-align: center;
}
.nc-search-modal-close-p {
	position: absolute;
	top: 0;
	right: 0;
}
.nc-search-modal-close-p a {
	color: white;
	font-size: 3rem;
	cursor: pointer;
	font-weight: 700;
	padding-right: 3rem;
}
.nc-search-modal-close-p a:focus { 
	outline: thin dotted;
}
.nc-display-modal {
	display: block !important;
}

#nc-search-modal .search-field,
#nc-search-modal .search-field:active,
#nc-search-modal .search-field:focus {
	outline: none;
	border: none;
	border-bottom: 2px solid white;
	max-width: 90%;
}

#nc-search-modal .search-field {
	background: none;
	color: white;
	font-size: 2rem;
}

#nc-search-modal .search-submit {
	background-color: var( --blue );
	color: white;
	border: 0;
	padding: 0.5rem 3rem;
	font-size: 2rem;
	margin-left: 0.5rem;
	vertical-align: -0.3rem;
}
#nc-search-modal .search-submit:hover, #nc-search-modal .search-submit:focus {
	background-color: white;
	color: var(--maroon);
	cursor: pointer;
}

@media screen and (max-width: 800px) {
	#nc-search-modal .search-submit {	
		margin-top: 10px;
		font-size: 1.6rem;
	}
}


/**
 * Footer
 */

#colophon {
	background-image: url( '/wp-content/themes/ccysb/images/view-towards-berkeley-richmond.jpg' );
	background-position: center;
	background-size: cover;
	color: white;
}
.footer-inner-wrapper {
	/*background-color: rgba( 0, 0, 0, 0.8 ); */
	background: linear-gradient( 180deg, rgba( 0, 0, 0, 0.75) 0%, rgba( 0, 0, 0, 0.9) 100% );
	padding-top: 30px;
}

/* First row: logo */

.footer-logo figure {
	text-align: center;
}
.footer-logo img {
	max-height: 170px;
}

/* Second row:  Menus and contact */

.footer-columns, 
.footer-columns h2.widget-title, 
.footer-columns .footer-column-5 h2, 
.footer-columns a {
	color: white;
}

.footer-columns h2.widget-title {
	margin-bottom: 0.6rem;
}

.footer-columns ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.nc-footer-contact {
	position: relative;
	top: -24px;
	line-height: 1;
}

.nc-footer-contact img {
	max-width: 30px;
	position: relative;
	top: 10px;
	margin-right: 10px;
}

@media screen and ( min-width: 600px ) {
	.footer-columns {
		display: flex;
		justify-content: space-between;
	}
}

/* Third row: social and newwsletter */
.nc-footer-extras.nc-width-control {
	padding-right: 30px;
}

.footer-social-icons a:before {
	background: var( --blue );
}

.footer-social-icons a {
	background-color: var( --blue );
	padding: 10px 5px 1px;
	position: relative;
	z-index: 10;
}

.footer-social-icons a:not(:first-child) {
	margin-left: 30px;
}

.footer-social-icons img {
	max-width: 24px;
}

.footer-newsletter {
	margin-top: 30px;
}
.footer-newsletter label {
	color: var( --lightpurple );
	text-transform: uppercase;
	position: relative;
	top: -10px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 2px;
}
.footer-newsletter .wpcf7-email {
	border: 2px solid var( --purple );
	border-radius: 0;
	height: 40px;
	max-width: 100%;
}
.footer-newsletter .wpcf7-submit {
	background-color: var( --purple );
	color: white;
	text-transform: uppercase;
	border: unset;
	border-radius: 0;
	height: 38px;
	margin-left: 2px;
	z-index: 10;
	position: relative;
}
.footer-newsletter .submit-button {
	position: relative;
	top: 10px;
	padding: 9px 0;
}
.footer-newsletter .submit-button:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: 1;
	background: var( --purple );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}

@media screen and ( min-width: 500px ) {
	.footer-newsletter {
		display: flex;
		justify-content: flex-end;
	}
}

@media screen and ( min-width: 600px ) {
	.footer-social-icons {
		text-align: right;
		position: relative;
		top: 20px;
	}
	.footer-newsletter {
		margin-top: unset;
	}
	.footer-newsletter label {
		margin-left: 70px;
	}
	.footer-newsletter .wpcf7-spinner {
		float: left;
	}
	.footer-newsletter .submit-button {
		top: 0;
	}
}


#colophon hr {
	margin-bottom: 0;
}

/* Fourth row: credits */

.footer-credit {
	padding-bottom: 16px;
}
.footer-credit p {
	margin-bottom: 0;
	text-align: center;
}
.footer-credit .divider {
	display: none;
}
.footer-credit .nc-link {
	text-transform: uppercase;
	display: block;
}
.footer-credit .nc-link a {
	color: white;
}

@media screen and ( min-width: 650px ) {
	.footer-credit .nc-link {
		display: unset;
	}
	.footer-credit .divider {
		margin-left: 10px;
		margin-right: 10px;
		display: unset;
	}
}





header.entry-header {
	max-width: var( --width);
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
}

header img, footer img {
	vertical-align: initial
}


/**
 * Home page
 */

/* slider */
.hero .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0;
}
.elementor-widget-image-carousel .swiper-slide {
	margin-bottom: -10px;
}
.elementor-image-carousel-caption {
	position: absolute;
	top: 5%;
	color: white;
	width: 100%;
}
.elementor-image-carousel-caption .welcome {
	font-size: 1.2rem;
	text-transform: uppercase;
	border-bottom: 1px solid white;
	padding-bottom: 8px;
	text-shadow: 1px 1px black;
	margin-bottom: 20px;
}
.elementor-image-carousel-caption .message {
	font-size: 1.8rem;
	text-transform: uppercase;
	max-width: 60%;
	display: inline-block;
	margin-top: 20px;
	margin-bottom: 30px;
	font-weight: 600;
	text-shadow: 2px 2px black;
	line-height: 1.3;
}
.elementor-image-carousel-caption .hero-button {
	margin-top: 40px;
}
.elementor-image-carousel-caption .hero-button a {
	color: white;
	background-color: var( --purple );
	padding: 0.5rem 1rem;
	font-weight: 700;
	position: relative;
	z-index: 1;
}
.elementor-image-carousel-caption .hero-button a:before {
	background: var( --purple );
}
@media screen and ( max-width: 550px ) {
	.elementor-image-carousel-caption .welcome {
		border-bottom: unset;
		padding-bottom: 0;
	}
	.elementor-image-carousel-caption .message {
		padding-left: 5vw;
		padding-right: 5vw;
		margin-bottom: 10px;
	}
	.elementor-image-carousel-caption .hero-button {
		display: block;
		text-align: center;
	}
	.home .swiper-image-stretch .swiper-slide .swiper-slide-image {
		height: 300px;
		width: auto;
		max-width: unset;
	}
}
@media screen and ( max-width: 680px ) {
	.elementor-image-carousel-caption .welcome {
		display: inline-block;
		text-align: center;
		margin-bottom: 0;
	}
	.elementor-image-carousel-caption .message {
		font-size: 1.3rem;
		max-width: unset;
		display: inline-block;
		text-align: center;
	}
}
@media screen and ( min-width: 800px ) {
	.elementor-image-carousel-caption {
		top: 12%;
	}
	.elementor-image-carousel-caption .welcome {
		font-size: 1.4rem;
	}
	.elementor-image-carousel-caption .message {
		font-size: 2rem;
		font-weight: 700;
		margin-bottom: 40px;
	}
}	
@media screen and ( min-width: 1000px ) {
	.elementor-image-carousel-caption .message {
		font-size: 2.4rem;
		max-width: 50%;
	}
}	
@media screen and ( max-width: 1249px ) {
	.hero-caption.nc-width-control {
		padding-left: 5%;
	}
}
@media screen and ( min-width: 1150px ) and ( max-width: 1249px ) {
	.elementor-image-carousel-caption .message {
		font-size: 2.6rem;
	}
}
@media screen and ( min-width: 1250px ) {
	.elementor-image-carousel-caption .message {
		font-size: 2.7rem;
	}
}



/* Triptych */
.home-triptych.elementor-section .elementor-container {
	column-gap: 2rem;
}
.home-triptych.elementor-section figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	text-shadow: 0 0 4px black;
	text-transform: uppercase;
	font-size: 1.2rem;
	color: white;
}
.home-triptych.elementor-section .elementor-container p {
	margin-bottom: 0;
}

.home-triptych .elementor-column .elementor-column {
	margin-bottom: 20px;
}

/* Gallery Slider */
.gallery-slider .elementor-swiper-button-prev, 
.gallery-slider .elementor-swiper-button-next {
	background-color: var( --green );
	color: white;
	padding: 2px 10px;
}
.gallery-slider .elementor-swiper-button-prev:before, 
.gallery-slider .elementor-swiper-button-next:before {
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 1px;
	z-index: 1;
	background: var( --green );
	-webkit-transform-origin: bottom left;
	transform-origin: bottom left;
	-webkit-transform: skew(-33deg,0deg);
	transform: skew(-33deg,0deg);
	-webkit-transition: all .35s !important;
	transition: all .35s !important;
	-moz-transition: all .35s !important;
	-ms-transition: all .35s !important;
}
.gallery-slider i {
	z-index: 1;
}

/**
 * Directors and Team Display
 */

@media screen and (min-width: 800px) {
	.page-id-139 main {
		background: #E9E9E9;
		background: linear-gradient(90deg,rgba(233, 233, 233, 1) 36%, rgba(255, 255, 255, 1) 36%);
		padding-top: 3rem;
	}
	.page-id-139 h1 {
		margin-left: 36%;
		text-transform: uppercase;
	}
	
}
.nc-our-team-outer-container, 
.nc-our-team-outer-container-ada {
	display: flex;
	padding-left: calc( ( 100% - 1600px ) / 2 );
	padding-right: calc( ( 100% - 1600px ) / 2 );
	margin-left: 10px;
	margin-right: 10px;
}
.nc-our-team-inner-container-ada {
	position: relative;
	min-height: 1830px;
	width: 100%;
}
.nc-our-team-inner-container-ada .key-position-2 {
	top: 150px;
}
.nc-our-team-inner-container-ada .key-position-3 {
	top: 300px;
}
.nc-our-team-inner-container-ada .key-position-4 {
	top: 450px;
}
.nc-our-team-inner-container-ada .key-position-5 {
	top: 600px;
}
.nc-our-team-inner-container-ada .key-position-6 {
	top: 750px;
}
.nc-our-team-inner-container-ada .key-position-7 {
	top: 900px;
}
.nc-our-team-inner-container-ada .key-position-8 {
	top: 1050px;
}
.our-team-departments {
	width: 33%;
}
.nc-our-team-outer-container .nc-our-team-container {
	width: 67%;
	padding-left: 6rem;
}
.nc-our-team-outer-container .nc-our-team-container h1 {
	margin-left: 33%;
}
.our-team-department {
	padding: 1.25rem 0 1.25rem 1.5rem;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	border-left: 16px solid;
	margin-bottom: 3rem;
	font-weight: bold;
	cursor: pointer;
}
@media screen and ( max-width: 799px ) {
	.our-team-department {
		border-right: 1px solid #bbb;
	}
}
.our-team-department:hover {
	background-color: #eeeeee;
}
.our-team-department h2 {
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 0;
}
.our-team-department.active-team-department, 
.our-team-department.active-team-department:hover {
	background-color: white;
	cursor: unset;
}
#key-administrative-clerical {
	border-left-color: var( --blue );
}
#key-differential-response-path-ii {
	border-left-color: var( --green );
}
#key-directors {
	border-left-color: var( --yellow );
}
#key-kinship-care {
	border-left-color: var( --orange );
}
#key-leadership-advisory {
	border-left-color: var( --purple );
}
#key-wraparound {
	border-left-color: var( --lilac );
}
/* by default, all departments except Administative/Clerical are hidden */
.nc-our-team-container .differential-response-path-ii, 
.nc-our-team-container .directors, 
.nc-our-team-container .kinship-care, 
.nc-our-team-container .leadership-advisory,
.nc-our-team-container .wraparound {
	display: none;
}

.nc-our-team-outer-container-ada h3 {
	margin-top: 0;
	margin-bottom: 0;
}

@media screen and (min-width: 800px) {
	.nc-our-team-inner-container-ada .our-team-department {
    position: absolute;
    left: 0;
    width: 30%;
    margin: 0;
  }
  .department-data {
    position: absolute;
    top: 0;
    background-color: white;
    padding: 20px 20px 20px 5%;
    width: 70%;
    min-height: 400px;
    left: -9999px;
  }
  .department-data.display-this-department {
    left: 30%;
  }
}
@media screen and (min-width: 1600px) {
	.department-data {
		padding-left: 120px;
	}
}


/*
.nc-our-team-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.team-member-container-wrap {
	width: 100%;
	text-align: center;
}
*/
/*
.team-member-container-wrap img.nc-portrait {
	background-size: cover;
	background-position-x: center;
	background-repeat: no-repeat;
	border-right: 12px solid var( --blue );
	border-bottom: 5px solid var( --blue );
}
.nc-board-of-directors-container .team-member-container-wrap img.nc-portrait {
	border-right: 12px solid var( --green );
	border-bottom: 5px solid var( --green );
}
*/
.board-member-container, 
.team-member-container {
	margin-bottom: 4rem;
}
@media screen and ( max-width: 599px ) {
	.team-member-header .dash {
		display: none;
	}
}
@media screen and ( min-width: 600px ) {
	.team-member-header {
		display: flex;
		column-gap: 1rem;
	}
}
.team-member-header h2, 
.team-member-header p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 22px;
}
.board-member-container .team-member-header p {
	color: var( --orange );
}
.team-member-container .team-member-header p {
	color: var( --purple );
}
/*
.team-member-container-wrap .position {
	margin-top: 0;
	text-transform: uppercase;
	color: var( --purple );
	font-weight: bold;
}
*/
.hidden-bio {
	display: none;
}
.bio-control {
	text-align: right;
	font-weight: bold;
	cursor: pointer;
}


.nc-board-of-directors-container .team-member-container-wrap .position {
	color: var( --orange );
}
@media screen and ( min-width: 450px ) and ( max-width: 594px ) {
	.team-member-container-wrap {
		width: 48%;
	}
}
@media screen and ( min-width: 595px ) and ( max-width: 739px ) {
	.team-member-container-wrap {
		width: 31%;
	}
}
@media screen and ( min-width: 740px ) and ( max-width: 999px ) {
	.team-member-container-wrap {
		width: 23%;
	}
}
@media screen and ( min-width: 1000px ) {
	.team-member-container-wrap {
		width: 18%;
	}
}


/**
 * Programs
 */

.program-go-tos p {
	margin-top: 0;
	margin-bottom: 0;
}
.program-go-tos a {
	color: black;
}

.page-id-19 .strong-view.wpmtst-default.slider-container.slider-adaptive:not(.slider-mode-horizontal) .wpmslider-viewport, 
.page-id-19 .strong-view.wpmtst-default .wpmtst-testimonial-inner, 
.page-id-19 .strong-view.wpmtst-default .wpmtst-testimonial {
	border: unset;
}
.page-id-19 .strong-view.wpmtst-default .wpmtst-testimonial-inner.testimonial-inner .wpmtst-testimonial-content.testimonial-content {
	font-size: 1.3rem;
	font-style: italic;
	font-weight: 600;
	margin-bottom: 25px;
}

.page-id-19 .strong-view.wpmtst-default .wpmtst-testimonial-field {
	text-align: left;
	font-style: italic;
	font-size: 1.2rem;
}



/**
 * Events
 */

.calendar-color-key {
	background-color: #f2f0ec;
	padding: 0.5rem 1rem;
}
.calendar-color-key p {
	margin-top: 0;
	margin-bottom: 0.5rem;
}
.legend-keys {
	display: flex;
	flex-wrap: wrap;
}
.legend-key {
	margin-right: 0.5rem;
}
.legend-key-color {
	display: inline-block;
	height: 16px;
	width: 16px;
	margin-right: 0.5rem;
}
.legend-key a {
	color: black;
}
@media screen and ( min-width: 600px ) {
	.calendar-color-key {
		padding: 0.5rem 2rem;
	}
}
@media screen and ( min-width: 1000px ) {
	.legend-key {
		margin-right: 2rem;
	}
}

.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
	background-color: white;
	color: black;
	border-width: 2px;
}

.em.em-calendar .em-cal-head {
	background-color: var( --yellow );
}

.em.em-calendar .em-cal-head > div {
	color: black;
	font-weight: 700;
}

.em.em-calendar .em-cal-body > div.eventless-today, 
.em.em-calendar .em-cal-body > div.eventful-today {
	border: 1px solid black;
}

@media screen and ( min-width: 800px ) {
	#em-wrapper, 
	.em-view-container, 
	.single-event .em-view-container, 
	.single-event .post-navigation { 
		max-width: var( --width );
		margin: 0 auto;
		padding-left: 10px;
		padding-right: 10px;
	} 
}

/**
 * Careers
 */
.career-container {
	margin-bottom: 3rem;
}
.career-container .add-angle-wrapper {
	display: inline-block;
}
.career-container a {
	display: inline-block;
	padding: 0.5rem 2rem;
	color: white;
}


/**
 *  Single Team Member
 **/

.team-member-details h1 {
	text-align: unset;
}
.team-member-details header.entry-header {
	padding-left: unset;
	padding-right: unset;
}
.team-member-details .team-member-position {
	font-weight: 700;
	font-size: 1.6rem;
	color: var( --red );
	margin-top: 0;
	margin-bottom: 0;
}
.team-member-email {
	margin-top: 0;
}
.team-member-email img {
	position: relative;
	top: 10px;
	left: -7px;
}

@media screen and ( min-width: 600px ) {
	.single-team-member-container {
		display: flex;
	}
	.team-member-image {
		min-width: 30%;
		max-width: 50%;
	}
	.team-member-details {
		padding-left: 4%;
	}
}


/**
 * Partners
 */
.other-partners .elementor-image-gallery .gallery-columns-7 .gallery-item {
	max-width: unset;
}


/** 
 * Careers form
 */
.wpcf7-text {
	max-width: 100%;
}
