/*!
Theme Name: RNCC
Theme URI: http://underscores.me/
Author: Nerd Crossing
Author URI: https://nerdcrossing.com
Description: A custom theme for Richmond Neighborough Coordinating Council
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: rncc
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.

RNCC 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
--------------------------------------------------------------*/

@font-face {
    font-family: "Baskerville";
    src: url("/wp-content/themes/rncc/assets/Baskervville-VariableFont_wght.ttf");
}
@font-face {
    font-family: "Open Sans";
    src: url("/wp-content/themes/rncc/assets/OpenSans-VariableFont_wdth,wght.ttf");
}

:root {
	--dark-blue: #263288;
	--green-lowlight: #296E31;
	--pink: #C84498;
	--pink-lowlight: #8C306A;
	--yellow: #F89921;
	
	--width: 1660px; /* 1920px page with 2x20px padding and 150px each side */
	--narrowwidth: 1240px;
	--padding: 10%;
	--mobilepadding: 10%;
}

/* 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: 14px;
}
@media screen and ( min-width: 800px ) {
	html {
		font-size: 18px;
	}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

/**
 * 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: "Open Sans", -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 {
	font-family: "Baskerville", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 400;
}

h2 {
	font-size: 1.777rem;
}

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;
	width: 100%;
}

.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: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and ( min-width: 1050px ) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		justify-content: end;
		align-items: center;
	}
}

.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 0 1.5em;
}

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

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

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

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

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
body #primary,
.page {
	margin-bottom: 0
}
body #primary:not( .nc-full-width-page ), 
.nc-width-control {
	max-width: var( --width );
	margin: 0 auto;
	padding-left: var( --mobilepadding );
	padding-right: var( --mobilepadding );
}
.nc-narrow-width {
	max-width: var( --narrowwidth );
	margin: 0 auto;
	padding-left: var( --mobilepadding );
	padding-right: var( --mobilepadding );
}
.nc-section-padding {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
@media screen and ( min-width: 600px ) and ( max-width: 1199px ) {
	body #primary:not( .nc-full-width-page ) {
		margin-top: 4rem;
		margin-bottom: 2rem;
	}
}
@media screen and ( min-width: 782px ) {
	body #primary:not( .nc-full-width-page ), 
	.nc-width-control {
		padding-left: var( --padding );
		padding-right: var( --padding );
	}
}
@media screen and ( min-width: 782px ) and ( max-width: 1199px ) {
	.nc-section-padding {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}
@media screen and ( min-width: 1200px ) {
	.nc-section-padding {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
	.nc-column-box {
		padding: 0.5rem 2rem;
	}
	body #primary:not( .nc-full-width-page ) {
		margin-top: 8rem;
		margin-bottom: 4rem;
	}
}

.wp-block-button__link {
	border-radius: 5px;
	background: linear-gradient( 102deg, var( --yellow ) -37%, var( --pink-lowlight ) 100% );
	box-shadow: 0 3px 5px 0 rgba( 0, 0, 0, 0.25 );
	font-size: 0.8rem;
	padding: 0.8rem 1.5rem;
}
.wp-block-button__link:hover, 
.wp-block-button__link:active,
.wp-block-button__link:focus {
	background: white;
	color: var( --pink-lowlight );
	text-decoration: none;
}

/***
 * Information Bar
 *************/
#information-bar {
	background-color: var( --yellow );
	padding-bottom: 0.9rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}
#information-bar-close {
	padding: 0;
	font-size: 1.5rem;
	background-color: unset;
	border: none;
	cursor: pointer;
}
#information-bar-close:focus {
	border: 1px dotted white;
}
#information-bar, 
#information-bar p {
	font-family: Baskerville, "Open Sans";
}
#information-bar .nc-width-control, 
#information-bar .nc-width-control p {
	line-height: 1.5;
}
/*
#information-bar a {
	color: white;
}
*/
#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 );
	padding: 0.4rem 1rem 0.6rem;
	border-radius: 0 0 20px 20px;
	border: none;
	z-index: 1000;
	position: absolute;
	right: 0;
}
#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: 1rem 0 0 1rem;
	}
}

/*****
 * Header
 */
header#masthead {
	background: linear-gradient(90deg, var( --dark-blue ) 0%, var( --green-lowlight ) 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 100px;
	position: relative;
}
.site-branding-inner {
	position: absolute;
	top: 0;
	z-index: 100;
	background-color: white;
	padding: 0.1rem;
	border-bottom-right-radius: 20px;
	border-right: 2.597px solid var( --dark-blue );
	border-bottom: 2.597px solid var( --dark-blue );
}
.site-branding img {
	max-width: 145px;
}
@media screen and ( min-width: 1200px ) {
	.site-branding-inner {
		padding: 0.5rem 1rem;
	}
}
@media screen and ( min-width: 600px ) and ( max-width: 1199px ) {
	.site-branding img { 
		max-width: 200px;
	}
}
@media screen and ( min-width: 1200px ) and ( max-width: 1374px ) {
	.site-branding img { 
		max-width: 235px;
	}
}
@media screen and ( min-width: 1375px ) {
	.site-branding img {
		max-width: 275px;
	}
}

/* Menu */
#primary-menu a {
	color: white;
	padding: 1rem 0.3rem;
}
#primary-menu a:hover,
#primary-menu a:active, 
#primary-menu .current_page_item a, 
#primary-menu .current-menu-item a {
	background-color: var( --pink-lowlight );
	text-decoration: none;
}
@media screen and ( min-width: 1250px ) and ( max-width: 1374px ) {
	#primary-menu a {
		padding: 1rem 0.5rem;
	}
}
@media screen and ( min-width: 1375px ) {
	#primary-menu a {
		padding: 1rem;
	}
}
#menu-item-22 a {
	padding: 1rem 2rem;
	border-radius: 5px;
	background: linear-gradient( 102deg, var( --yellow ) -37.29%, var( --pink-lowlight ) 100%);
	box-shadow: 0 3px 5px 0 rgba( 0, 0, 0, 0.25 );
	margin-left: 0.5rem;
}

@media screen and ( max-width: 1049px ) {
	#site-navigation {
		display: flex;
		justify-content: end;
	}
}
@media screen and ( min-width: 1050px ) and ( max-width: 1199px ) {
	#primary-menu {
		font-size: 0.9rem;
	}
}
/* Sub Menu */
ul.sub-menu {
	background-color: var( --dark-blue );
	flex-direction: column;
}
/* Mobile Menu */
.menu-toggle {
	background-color: unset;
	border: none;
}
.menu-toggle span:not( .screen-reader-text ) {
	width: 36px;
	height: 4px;
	background-color: white;
	margin: 5px 0;
	display: block;
}
@media screen and ( max-width: 1049px ) {
	.menu-main-menu-container {
		position: absolute;
		z-index: 100;
		background-color: var( --green-lowlight );
		top: 75px;
		padding: 0 0.5rem 1rem;
		right: 0;
	}
}





/****
 * Footer
 */
footer .site-info {
	background: linear-gradient( 90deg, var( --dark-blue) 0%, var( --green-lowlight) 100% );
	padding-top: 3px;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
footer .site-info a {
	color: white;
}
.footer-logo {
	background-color: white;
}
.footer-logo img {
	max-height: 200px;
	width: auto;
}
.footer-contact {
	padding: 0.5rem;
	max-width: 210px;
}
.footer-contact h2 {
	font-family: "Open Sans";
	font-size: 0.8rem;
	font-weight: 700;
}
.nc-footer-address {
	display: flex;
	align-items: start;
	column-gap: 0.6rem;
}
.nc-footer-address img {
	margin-top: 4px;
}
.nc-footer-address p {
	margin: 0;
	font-size: 0.778rem;
}
.footer-menu h2 {
	font-size: 1rem;
	text-align: center;
	border-bottom: 1px solid white;
	padding-bottom: 0.5rem;
}
.footer-menu ul {
	column-count: 2;
	column-gap: 3rem;
	margin-left: 0;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.8rem;
	list-style: url( "/wp-content/themes/rncc/assets/pink-arrow.svg" );
}
.footer-copyright {
	padding: 1rem;
	font-size: 0.8rem;
}
@media screen and ( max-width: 800px ) {
	.footer-logo {
		max-width: 50%;
	}
}
@media screen and ( max-width: 999px ) {
	footer .site-info {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer-copyright { 
		width: 100%;
		text-align: center;
	}
}
@media screen and ( min-width: 1500px ) {
	.footer-copyright {
		padding-right: 3%;
	}
}




/****
 * Home
 */
body.home header.entry-header {
	position: absolute;
	left: -9999px;
}
body.home .entry-content {
	margin-top: 0;
}
body.home .wp-block-cover p {
	max-width: 850px;
	margin: 0 auto;
	padding: 1rem 2rem;
	background-color: rgba( 0, 0, 0, 0.55 );
	box-shadow: 0px 0px 40px 40px rgba( 0, 0, 0, 0.55 );
	font-family: Baskerville;
}
body.home .wp-block-cover p span {
	font-size: 1.5rem;
}
@media screen and ( max-width: 800px) {
	body.home .wp-block-cover p {
		line-height: 1.2;
	}
}

.home-welcome-group .wp-block-columns {
	column-gap: 10%;
}

.home-documents-header {
	color: white;
	padding: 0.7rem 1rem;
	background: linear-gradient( 90deg, var( --pink-lowlight ) 0%, var( --yellow) 145% );
	margin-bottom: 0;
}
.home-documents-list {
	border-right: 1px solid var( --pink );
	border-bottom: 1px solid var( --pink );
	border-left: 1px solid var( --pink );
	margin-left: 0;
	margin-bottom: 0;
	padding: 1rem 1rem 1rem 2rem;
}
.home-meetings-header {
	color: white;
	padding: 0.7rem 1rem;
	background: linear-gradient( 90deg, var( --dark-blue ) 0%, var( --green-lowlight ) 110% );
	margin-top: 0;
	margin-bottom: 0;
}
.home-meetings-text {
	border-right: 1px solid var( --dark-blue );
	border-bottom: 1px solid var( --dark-blue );
	border-left: 1px solid var( --dark-blue );
	padding: 1rem;
	margin-top: 0;
}

/* Get Involved */
.home-get-involved-group .wp-block-columns {
	column-gap: 0;
	row-gap: 0;
}
.home-get-involved-group figure {
	margin-top: 0;
	margin-bottom: 0;
}
.home-get-involved-text-column {
	background: linear-gradient( 90deg, var( --green-lowlight ) 0.16%, var( --dark-blue ) 99.77%);
	color: white;
}
.home-get-involved-text-column .wp-block-group {
	display: flex;
	height: 100%;
	align-items: center;
	padding-left: 20%;
	padding-right: 20%;
}

/* Latest News */
.home-latest-news-group h2 {
	padding-bottom: 1rem;
	border-bottom: 1px solid;
}
@media screen and ( max-width: 781px ) {
	.home-latest-news-group.nc-width-control {
		padding-bottom: 4rem;
	}
}



/****
 * Single Neighborhood Council pages
 */
@media screen and (max-width: 1440px ) {
	body.neighborhood-council-template-default .nc-width-control {
		max-width: 1152px;
	}
}
body.neighborhood-council-template-default .entry-content {
	margin-bottom: 6rem;
}
body.neighborhood-council-template-default .neighborhood-council h1 {
	margin-top: 9rem;
	background-color: var( --yellow );
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	text-align: center;
	padding: 2rem;
	margin-bottom: 4rem;
}
body.neighborhood-council-template-default .neighborhood-council h2 {
	font-size: 1.334rem;
}
body.neighborhood-council-template-default .neighborhood-council p {
	font-size: 0.778rem;
}
body.neighborhood-council-template-default .neighborhood-council ul {
	margin-left: 0;
	font-size: 0.778rem;
}

/* Map */
.wp-block-column.council-map-column.is-layout-flow.wp-block-column-is-layout-flow::after {
	content: "This map is provided courtesy of City of Richmond for informational purposes only. The City of Richmond does not make any representations regarding its accuracy.";
	font-size: 0.75rem;
}

/* Contact List */
.council-contact-list {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.council-contact-list li {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 1rem;
}
.council-contact-list li:hover {
	background-color: #eee;
}
.council-contact-list li > span:first-child {
	font-size: 1rem;
	line-height: 1.2;
}
.council-contact-list span.title {
	font-style: italic;
	font-size: 0.8rem;
}

.council-map-column {
	padding-top: 1.75rem;
}


.leadership-meeting-columns {
	column-gap: 6rem;
}
/* Upcoming Meetings */
.upcoming-meeting-header {
	color: white;
	background: linear-gradient( 91deg, var( --dark-blue ) 0%, var( --green-lowlight ) 110.32%);
	padding: 0.7rem 1rem;
	margin-bottom: 0;
}
.leadership-meeting-columns .cb-carousel-block {
	border-right: 1px solid var( --dark-blue, #263288 );
	border-bottom: 1px solid var( --dark-blue, #263288 );
	border-left: 1px solid var( --dark-blue, #263288 );
	padding: 0 10%;
}
.leadership-meeting-columns .wp-block-cb-slide-v2 {
	margin-top: 1rem;
}
.leadership-meeting-columns .cb-carousel-block h3 {
	text-align: center;
}
.leadership-meeting-columns .cb-carousel-block .wp-block-columns {
	margin-bottom: 0;
}
.leadership-meeting-columns .wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
	bottom: 20px;
}
.leadership-meeting-columns .wp-block-cb-carousel-v2 .cb-button-prev, 
.leadership-meeting-columns .wp-block-cb-carousel-v2 .cb-button-next {
	border: 1px solid black;
	padding: 1rem;
	border-radius: 30px;
	opacity: 1;
	top: 48px;
}
.leadership-meeting-columns .wp-block-cb-carousel-v2 .cb-button-prev {
	left: 20px;
}
.leadership-meeting-columns .wp-block-cb-carousel-v2 .cb-button-next {
	right: 20px;
}

/* Addition Information over block */
.neighborhood-additional-info {
	margin-top: 6rem;
	margin-bottom: 6rem;
}

/* Contact Form */
body.neighborhood-council-template-default .council-contact-form-group {
	max-width: 782px;
	padding: 10px;
	margin: 0 auto;
}
.council-contact-form-group .wp-block-group__inner-container {
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	padding: 30px;
}
.council-contact-form-group h2 {
	margin-top: 0;
}
.nc-form-row {
	display: flex;
	justify-content: space-between;
}
.nc-form-row p {
	max-width: 46%;
	margin-top: 0;
	margin-bottom: 1rem;
}
.nc-form-row p input {
	max-width: 100%;
}
.council-contact-form-group input,
.council-contact-form-group textarea {
	padding: 0.65rem 1rem;
	border-radius: 5px;
}
.council-contact-form-group textarea {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media screen and ( min-width: 800px ) {
	.council-contact-form-group {
		padding: var( --padding);
	}
}
.council-contact-form-group form > p:last-of-type {
	display: flex;
	flex-direction: row-reverse;
	justify-content: end;
	margin-bottom: 0;
}
.council-contact-form-group input.wpcf7-submit {
	border-radius: 5px;
	background: linear-gradient( 102deg, var( --dark-blue ) -37.29%, var( --green-lowlight ) 100% );
	box-shadow: 0 3px 5px 0 rgba( 0, 0, 0, 0.25 );
	color: white;
	font-size: 0.777rem;
	padding: 1rem 2rem;
}

/****
 * About
 */
.page-id-7 header.entry-header {
	position: absolute;
	left: -9999px;
}
.page-id-7 .entry-content {
	margin-top: 0;
}
.page-id-7 figure  {
	margin:	0;
}
.about-our-mission-columns {
	border-top: 4px solid var( --dark-blue );
	margin-top: 4rem;
	margin-bottom: 0;
	gap: 0;
}
.about-our-mission-text-column {
	padding-left: 5%;
	padding-right: 5%;
	max-width: 50%;
}
.about-councils-columns {
	margin-bottom: 0;
	gap: 0;
}
.about-councils-text-column {
	padding-left: 5%;
	padding-right: 5%;
	max-width: 50%;
}
.about-councils-text-column ul {
	margin-left: 0;
}


/***
 * Council Archive page
 */
.post-type-archive-neighborhood-council h1 {
	text-align: center;
	margin-top: 4rem;
	margin-bottom: 2rem;
}
.council-directory-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 4rem;
}
.council-directory-council-container {
	max-width: 22%;
}
.council-directory-council-container h2 {
	font-size: 1rem;
}



/***
 * Agenda and Minutes: Single Page
 */
.agenda-and-minutes-template-default #primary {
	padding-top: 8rem;
	padding-bottom: 4rem;
}
.agenda-and-minutes-template-default #primary article {
	max-width: 1200px;
	margin: 0 auto;
}

/***
 * Agenda and Minutes: Archive
 */
.post-type-archive-agenda-and-minutes #primary {
	padding-top: 8rem;
	padding-bottom: 4rem;
}

/****
 * 404 page
 */
body.error404 #primary {
	padding-top: 8rem;
	padding-bottom: 8rem;
}
body.error404 #primary section.error-404 {
	max-width: 1200px;
	margin: 0 auto;
}

/****
 * Search Results
 */
body.search.search-results #primary {
	padding-top: 8rem;
	padding-bottom: 4rem;
}

body.search.search-no-results #primary {
	padding-top: 8rem;
	padding-bottom: 4rem;
}
body.search.search-no-results section.no-results {
	max-width: 1200px;
	margin: 0 auto;
}



/***
 * Contact Page
 */
body.page-id-17 #primary {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

@media screen and ( min-width: 800px ) {
	body.page-id-17 .council-contact-form-group {
		padding-top: 2rem;
		padding-bottom: 0;
	}
}