/*
Theme Name: CHD Chapter Parent Theme
Theme URI: https://chapter-starter.childrenshealthdefense.org/
Description: Children's Health Defense's Chapter theme.
Author: Children's Health Defense
Author URI: https://childrenshealthdefense.org/
Version: 1.0.34
Text Domain: chd_chapter
GitHub Plugin URI: Childrens-Health-Defense/chd_chapter
GitHub Plugin URI: https://github.com/Childrens-Health-Defense/chd_chapter
*/

/* CSS Variables */
:root {
	--green: #92c054;
	--blue: #008bb3;
	--blue-light: #439bd7;
	--blue-bg: #439bd7;
	--charcoal: #5c5b5b;
	--charcoal-bg: #5c5b5b;
	--clay-bg: #f3f2f2;
	--gray: #cccccc;
	--gray-bg: #e6e5e5;
	--lime: #8cc542;
}

/* Colors */
.blue {
	color: #000;
	color: var(--blue);
}
.blue-bg {
	background-color: var(--blue-bg);
}
.blue-light {
	color: var(--blue-light);
}
.charcoal {
	color: var(--charcoal);
}
.charcoal-bg {
	background-color: var(--charcoal-bg);
}
.clay-bg {
	background-color: var(--clay-bg);
}
.gray {
	color: var(--gray);
}
.gray-bg {
	color: var(--gray-bg);
}
.lime {
	color: var(--lime);
}
.white {
	color: #fff;
}
.green {
	color: var(--green);
}

/* Default Styles */
body {
	margin: 0;
	padding: 0;
	font-family: 'Open-sans', sans-serif;
	height: 100%;
	background-color: var(--charcoal);
}

header {
	background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Merriweather, Georgia, Times, serif;
}

h1 {
	color: var(--green);
	margin: 0;
}

h2 {
	font-family: 'Merriweather', serif;
	font-size: 1.5em;
	line-height: 130%;
}

h3 {
	font-size: 1.5em;
	margin: 0;
}

a {
	color: var(--blue);
	text-decoration: none;
}

p {
	font-size: 1.1rem;
}

.heading-container {
	padding: 10px 10%;
	display: grid;
	grid-template-columns: 70% 30%;
}

.container {
	padding: 0 10%;
	max-width: 1200px;
	margin: 0 auto;
}

input {
	border-color: #ccc;
}

/* Navigation */
.menu-social-menu-container {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	top: -3px;
}

.site-header {
	border-bottom: 1px solid #ccc;
}

.main-nav {
	background-color: var(--green);
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}

.menu-item:last-child {
	margin-right: 10px;
}

.menu-item a {
	color: #fff;
	font-weight: 400;
	padding: 5px 15px;
	text-decoration: none;
	text-transform: uppercase;
}

.menu-item a:hover {
	text-decoration: underline;
}

/* Footer */
.site-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--charcoal);
	color: #fff !important;
	font-size: 15px;
}

.site-footer a {
	color: #fff !important;
	text-decoration: none;
}

.logo-container {
	padding: 20px 0;
}

.logo-container img {
	width: 650px;
	height: 185px;
}

.get-involved {
	background-color: var(--green);
}

.get-involved h1 {
	color: #fff;
	text-align: center;
	padding: 10px 0;
	margin: 0;
	font-size: 3em;
	font-family: 'Merriweather', serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.home-photo {
	height: auto !important;
	position: relative;
	display: flex;
	justify-content: center;
	overflow-x: hidden;
}

.home-photo h2 {
	margin: 0;
	bottom: 10px;
	color: #fff;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	position: absolute;
	font-size: 3em;
	text-align: center;
}

.home-posts {
	background-color: var(--blue);
}

.home-posts h3 {
	padding-top: 30px;
	color: #fff;
	font-size: 3em;
	padding-top: 30px;
	padding-bottom: 30px;
}

.home-grid {
	display: grid;
	grid-template-columns: 33% 33% 33%;
	padding: 10px 0;
}

.home-grid-item {
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px 20px 20px;
}

#header-widget-area {
	width: 400px;
	display: flex;
	align-items: center;
	position: relative;
	right: 0;
}

.section-divider {
	background-color: var(--green);
	padding: 10px 0;
	margin: 0;
	text-align: center;
	color: #fff;
	font-size: 2.5em;
}

.post-container {
	display: grid;
	grid-template-columns: 33% 66%;
	margin: 10px;
	padding: 10px;
	margin-left: 0;
	padding-left: 0;
	margin-right: 40px;
	border-bottom: 1px dotted #717070;
}

.post-thumbnail-container {
	height: 220px;
	width: 100%;
	margin: 0 auto;
	background-position: center;
	background-size: cover;
}

.post-content {
	margin-left: 20px;
	margin-bottom: 25px;
}

/* Post Styles */
article {
	float: left;
	position: relative;
}

article h1 {
	line-height: 130%;
	margin-bottom: 1em;
	color: #8dc34b;
}
article h2 {
	line-height: 130%;
	margin-bottom: 0.4em;
	color: #4a4a4c;
}
article h3 {
	line-height: 130%;
	margin-bottom: 0.4em;
	color: #8dc34b;
}
article h4 {
	line-height: 130%;
	margin-bottom: 0.4em;
	color: #4a4a4c;
}
article h5 {
	line-height: 130%;
	margin-bottom: 0.3em;
	color: #000000;
}
article h6 {
	line-height: 130%;
	margin-bottom: 0.3em;
	color: #8dc34b;
}

article blockquote {
	display: block;
	margin: 0 0 1em 0;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	padding: 0.5em 1em 0 1em;
}

.article {
	color: var(--blue);
	text-decoration: none;
}

.article h2 {
	margin: 10px 0;
}

.page {
	margin-top: 20px;
}

.post-title {
	color: var(--blue);
}

.sidebar {
	border-left: 1px solid #ccc;
}

.post-container h2 {
	margin-top: 0;
}

.sidebar-container h2 {
	color: var(--blue);
}

.sidebar-container ul {
	list-style: none;
	padding: 0;
}

.nav-menu .menu-item {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#menu-sidebar-menu .menu-item {
	margin-left: 0;
}

#menu-sidebar-menu a {
	color: var(--green);
	font-size: 1.2em;
}

.post-thumbnail-container img {
	display: block;
}

#menu-social-menu {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

#menu-social-menu .menu-item {
	margin: 0 10px;
}

.nav-menu-container {
	display: flex;
}

.header-icon {
	background-position: center center;
	background-repeat: no-repeat;
	width: 19px;
	height: 19px;
	position: relative;
}

.header-icon a {
	position: absolute;
	text-indent: -9999px;
	width: 100%;
}

.header-icon-facebook {
	background-image: url(/wp-content/themes/chd_chapter/images/socialables-fb-white.svg);
}

.header-icon-twitter {
	background-image: url(/wp-content/themes/chd_chapter/images/socialables-twitter-white.svg);
}
.header-icon-instagram {
	background-image: url(/wp-content/themes/chd_chapter/images/insta.svg);
}
.header-icon-youtube {
	background-image: url(/wp-content/themes/chd_chapter/images/socialables-youtube-play-white.svg);
}
.header-icon-search {
	background-image: url(/wp-content/themes/chd_chapter/images/search-icon.svg);
}

.home-grid-item h4 {
	font-size: 1.5em;
	color: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
	margin: 0 !important;
}

.sidebar-item {
	border-top: 1px solid #ccc;
	padding-left: 20px;
}

.sidebar-item a {
	color: var(--green);
	font-size: 1.1rem;
}

.sidebar-item h3 {
	color: var(--green);
}

#menu-sidebar-menu .menu-item a {
	font-weight: 400;
	text-transform: none;
	font-size: 1rem;
	padding-left: 0;
}

.sidebar-container h2 {
	margin-top: 20px;
	margin-bottom: 10px;
}

.sidebar-container h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}

.sidebar-item .date {
	color: #333;
	font-size: 1rem;
	display: block;
}

.recent-post-heading {
	margin-top: 5px !important;
	margin-bottom: 20px !important;
	font-size: 1.2rem;
}

.sidebar-post-container {
	margin-bottom: 40px;
}

.post-image-container img {
	border: 1px solid #717070;
	margin-bottom: 1.5em;
}

.single-post-container {
	margin: 0 10px;
}

.home-photo h2 {
	padding: 0 10%;
}

.image-small {
	display: none;
}

.home-tagline {
	font-size: 3em !important;
}

/* iPad Pro */
@media only screen and (max-width: 1024px) {
	.heading-container {
		padding: 0 10px;
	}

	.container {
		padding: 0 10px;
	}

	.menu-item {
		margin: 0 10px;
	}

	.menu-item a {
		font-size: 0.8em;
	}

	.logo-container {
		width: 450px;
	}

	#header-widget-area {
		width: auto;
	}

	#header-widget-area img {
		width: 120%;
	}

	.home-grid-item {
		padding: 0;
	}

	.post-container {
		margin-right: 10px;
	}
}

@media only screen and (max-width: 768px) {
	.menu-item {
		margin: 0 7px;
	}

	.home-photo h2 {
		padding: 0 10px;
	}

	.home-posts h3 {
		padding: 5% 5% 0 5%;
	}

	.site-footer {
		padding: 20px;
	}
}

@media only screen and (max-width: 414px) {
	p {
		font-size: 1rem;
	}

	.container {
		padding: 0 5px;
	}

	.post-container {
		grid-template-columns: 100%;
	}

	.heading-container {
		grid-template-columns: 100%;
	}

	.logo-container {
		width: 300px;
		margin: 0 auto;
	}

	#header-widget-area {
		margin: 0 auto;
	}

	.nav-menu-container {
		display: none;
	}

	.home-tagline {
		font-size: 2em !important;
	}

	.home-photo h2 {
		font-size: 2em;
	}

	.home-posts h3 {
		font-size: 2em;
	}
}

.top-nav-search-area {
	display: none;
	position: fixed;
	background-color: var(--green);
	right: 150px;
	padding: 10px;
	position: absolute;
	top: 40px;
	z-index: 999;
}

.embed-responsive iframe {
	display: block;
	margin: 0 auto;
}

.home-grid {
	grid-gap: 5px;
}

.home-post-image img {
	height: auto;
	width: 100%;
}

.nav-menu .menu-item a {
	font-size: 85%;
}

.content-area {
	padding-right: 30px;
}

main h1 {
	margin-bottom: 1em;
}

main h2 {
	font-size: 1.9rem;
	line-height: 130%;
	margin-bottom: 0.4em;
	color: #4a4a4c;
}

main h3 {
	font-size: 1.7rem;
	color: var(--green);
	line-height: 130%;
}

main p {
	line-height: 160%;
}

main .date {
	font-size: 100%;
}

header #header-main {
	margin-top: 15px;
	margin-bottom: 15px;
}

.video {
	margin-bottom: 2em;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.call-outs-header {
	width: 100%;
	margin: 0 auto 0 auto;
}
.call-outs-header .cell {
	box-sizing: border-box;
	text-align: center;
	padding: 0;
}
.call-outs-header .cell.logo {
	flex-basis: 68%;
}
.call-outs-header .cell.video {
	flex-basis: 32%;
}

.recent-videos-listing .link-holder img,
.recent-videos-listing .link-holder {
	float: left;
}
.recent-videos-listing .link-holder:hover {
	cursor: pointer;
}
#video-offer-area .link-holder img {
	border: 1px solid #cccccc;
}

.cell {
	display: table-cell;
	float: left;
	vertical-align: top;
}

#header-main.wrapper {
	max-width: 1200px;
	margin: 0px auto;
	position: relative;
}

#top-nav {
	background-color: var(--green) !important;
}

#top-nav ul li {
	background-color: var(--green) !important;
}

ul.menu {
	text-align: center;
	margin: 0px auto;
	list-style: none;
	padding: 15px 0;
	margin: 0px;
}

ul.menu li.menu-item {
	display: inline-block;
	padding-top: 5px;
	padding-bottom: 5px;
}

#menu-sidebar-menu .menu-item {
	display: block;
}

#menu-sidebar-menu.menu {
	text-align: left;
	padding: 0;
}

main {
	padding: 1.5em 0 1.5em 0;
}

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

aside a {
	color: var(--green) !important;
}

h2.section-divider {
	background-color: var(--green) !important;
}

.recent-post-heading {
	color: var(--green) !important;
}

.clay-bg {
	padding-top: 20px !important;
}

@media (max-width: 768px) {
	.home-grid {
		grid-template-columns: 100%;
	}
}

#gform_4 span {
	width: 100%;
}

#gform_4 #field_4_2 {
	width: 100%;
}

#gform_4 #field_4_2 input {
	width: 100%;
}

aside h2 {
	font-size: 1.2rem;
}

main {
	padding-bottom: 20px !important;
}

/* h3.widgettitle {
  font-size: 1.4rem;
} */

.section-divider {
	padding: 0;
}

.hamburger {
	/* background-color: pink; */
	height: 40px;
	width: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	cursor: pointer;
	margin-left: 20px;
}

.patty {
	height: 2px;
	width: 30px;
	display: block;
	background-color: #fff;
	position: absolute;
}

.patty:first-child {
	top: 10px;
}

.patty:last-child {
	top: 28px;
}

.hamburger-container {
	display: flex;
	color: white;
	align-items: center;
	position: relative;
	z-index: 999;
	display: none;
}

.menu-title {
	margin-left: 10px;
}

.nav-slider {
	height: 100vh;
	width: 250px;
	position: fixed;
	z-index: 999;
	top: 0;
	background-color: var(--green);
	transition: 300ms;
	left: -300px;
}

.mobile-nav {
	padding-top: 70px;
	list-style: none;
	padding-left: 0;
	margin-left: 10px;
	margin-top: 20px;
}

.mobile-nav li {
	margin-bottom: 20px;
}

.mobile-nav li ul {
	list-style: none;
}

.nav-slider.active {
	left: 0;
}

@media (max-width: 768px) {
	#top-nav .wrapper {
		display: none !important;
	}

	.hamburger-container {
		display: flex;
		padding: 10px 0;
	}
}

@media (max-width: 768px) {
	.cell.logo,
	.logo-wrapper,
	.cell.video,
	#video-offer-area,
	.link-holder,
	#header-widget-area {
		width: 100%;
	}
	#header-main.wrapper {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.menu-item {
		margin-left: 0;
	}

	.menu-item a {
		font-size: 1rem;
	}

	.top-nav-search-area {
		top: 410px;
		right: auto;
	}

	.top-nav-search-area input {
		height: 30px;
	}

	.social-icon-facebook {
		margin-left: 10px;
	}

	#header-main {
		height: auto !important;
	}
}

.call-outs-header {
	max-height: none !important;
	height: 100% !important;
}

.cell.logo {
	max-height: none !important;
	height: 100% !important;
}

.cell.video,
#video-offer-area,
.link-holder,
#header-widget-area {
	height: 100%;
}

#video-offer-area {
	padding-left: 0 !important;
}

.video {
	overflow: visible !important;
}

.hide-gform-field {
	display: none;
}

@media (max-width: 950px) {
	/* Make footer higher so social media icons don't block footer contents */
	.site-footer {
		padding-bottom: 52px;
	}
	.site-footer .container {
		padding: 0 15%;
	}
}

@media (max-width: 500px) {
	.site-footer .container {
		padding: 0 10px;
	}
	.defender-language-flags .language-flag {
		width: 20px;
		height: 25px;
	}
}

.site-footer {
	height: 100px;
	padding: 0;
}

.em-booking-form label {
	float: initial;
	display: block;
	width: auto;
}

.em-booking-form p {
	margin-bottom: 5px;
}

.em-booking-form-details input.input {
	height: 30px;
}

.events-table {
	width: 100%;
}

.dbem_country,
.em-ticket-select {
	height: 35px;
}

.em-booking-form-details {
	display: grid;
	grid-template-columns: repeat(2, 50%);
	width: 100%;
}

.em-booking-buttons {
	grid-column-start: 1;
	grid-column-end: 3;
	margin: 0 auto;
}

#gform_wrapper_5 {
	/* Remove this once issue is resolved */
	display: block !important;
}

.em-booking-form span.input-group {
	margin-left: 0;
}

.em-booking-buttons {
	margin-top: 20px;
}

.em-booking-form-details p {
	margin-right: 40px;
}

.em-booking-form-details input.input,
.em-booking-form-details textarea {
	width: 100% !important;
}

.em-booking-form span.input-group input {
	margin-left: 0;
}

.input-user_email,
.input-dbem_address,
.input-dbem_zip,
.input-field-newsletter_opt_in {
	grid-column-start: 1;
	grid-column-end: 3;
}

.css-events-list table.events-table td {
	padding: 15px 10px;
}

#gform_wrapper_2 {
	display: block !important;
}

/* Moved from chd.css */

hr {
	width: 100%;
	height: 1px;
	background: lightgray;
	margin: 40px 0 40px;
	border: 0;
}

.social-icon-instagram {
	background-image: url('/wp-content/themes/chd_chapter/images/insta.svg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	width: 19px;
	height: 19px;
	position: relative !important;
	top: 4px;
	margin-right: 10px !important;
}

.social-icon-instagram a {
	text-indent: -9999px;
	display: block;
}

.social-icon-facebook {
	background-image: url('/wp-content/themes/chd_chapter/images/socialables-fb-white.svg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	width: 19px;
	height: 19px;
	position: relative !important;
	top: 2px;
	margin-right: 10px !important;
}
.social-icon-facebook a {
	text-indent: -9999px;
	display: block;
}
.social-icon-twitter {
	background-image: url('/wp-content/themes/chd_chapter/images/socialables-twitter-white.svg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	width: 19px;
	height: 19px;
	position: relative !important;
	top: 4px;
	margin-right: 10px !important;
}
.social-icon-twitter a {
	text-indent: -9999px;
	display: block;
}
.social-icon-youtube {
	background-image: url('/wp-content/themes/chd_chapter/images/socialables-youtube-play-white.svg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	width: 19px;
	height: 19px;
	position: relative !important;
	top: 4px;
	margin-right: 10px !important;
}
.social-icon-youtube a {
	text-indent: -9999px;
	display: block;
}
.search-icon-spyglass {
	background-image: url('/wp-content/themes/chd_chapter/images/search-icon.svg') !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	width: 19px;
	height: 19px;
	position: relative !important;
	top: 4px;
}
.search-icon-spyglass a {
	text-indent: -9999px;
	display: block;
}

/* overridden here so we don't have to update all the templates */
.clay-bg {
	background-color: #fff !important;
}

#wpadminbar a {
	color: #fff !important;
}

h2.section-divider {
	width: 100%;
	background-color: #008ab3;
	line-height: 2em;
	text-align: center;
	color: #fff !important;
	font-family: 'Merriweather', serif;
	font-size: 270%;
	margin: 0;
}

#top-nav ul.menu {
	padding: 5px 0;
}

#top-nav ul.menu .menu-item a {
	color: #3aa2d2;
	display: inline-block;
}
#top-nav ul.menu a.root-menu {
	color: #fff !important;
}

header {
	border-bottom: 1px solid #ccc;
}

#top-nav {
	display: block;
	width: 100%;
	z-index: 999;
	text-align: center;
}
/* #top-nav a {
  font-size: 85%;
} */

/* First Level */
#top-nav > ul {
	margin: 0 auto !important;
}
#top-nav ul li {
	background: #038bb3;
	position: relative;
	text-transform: uppercase;
	list-style: none;
	z-index: 9999;
	text-align: left;
	margin-left: 1.5%;
	margin-right: 1.5%;
	transition-duration: 0.3s;
}
#top-nav ul li a {
	display: block;
	color: #fff !important;
	padding: 5px 15px;
}

/* Second Level */
#top-nav ul li ul.sub-menu {
	display: none;
	opacity: 0;
	visibility: hidden;
	transition: visibility 0s, opacity 1s linear;
}
#top-nav ul li ul.sub-menu li:hover {
	cursor: pointer;
	background-color: #36acdb;
}
#top-nav ul li ul.sub-menu li {
	border-bottom: 1px solid #309fcb;
	margin: 0;
}
#top-nav ul li ul.sub-menu li:last-child {
	border: none;
}

#top-nav ul li ul.sub-menu a {
	text-transform: none !important;
}
#top-nav ul li ul.sub-menu li a {
	color: #fff !important;
	width: 160px;
}
#top-nav ul li:hover > ul {
	display: block;
	position: absolute;
	top: 39px;
	visibility: visible;
	opacity: 1;
	padding-left: 0;
}

/* Third Level */
#top-nav ul li ul.sub-menu li ul.sub-menu li {
	position: relative;
	left: 190px;
	top: 0px;
	background-color: #36acdb;
}
#top-nav ul li ul.sub-menu li ul.sub-menu {
	top: 0px !important;
	left: 0px !important;
}
#top-nav ul li ul.sub-menu li ul.sub-menu li a {
	color: #ddd;
}

/* ----- Header Menu (green) ----- */
#header-menu {
	display: block;
	width: 100%;
}
#header-menu li {
	border: 1px solid #87c33e;
	color: #87c33e;
	font-size: 90%;
	font-weight: 600;
	display: inline-block;
	margin: 0px 0.5%;
	padding: 6px;
	position: relative;
	text-decoration: none;
	transition-duration: 0.5s;
	z-index: 9;
}
#header-menu li:hover {
	cursor: pointer;
}
#header-menu .menu-item a {
	color: #87c33e;
	font-weight: 600 !important;
	text-transform: uppercase;
	font-family: Open-sans, Arial, Helvetica, sans-serif;
	font-weight: 600;
}
#header-menu .menu-item .sub-menu {
	color: #fff;
	margin: 7px 0px 0px -2px;
	width: 150px;
	z-index: 999;
}
#header-menu .menu-item .sub-menu a {
	text-transform: none;
	color: #fff;
}
#header-menu .menu-item .sub-menu li {
	display: block;
	background-color: #87c33e !important;
}
#header-menu .menu-item .sub-menu li:hover {
	background-color: #a6de63 !important;
}
#header-menu .menu-item .sub-menu li a {
	color: #fff !important;
}
#header-menu ul.menu {
	float: left;
	list-style: none;
	margin: 0;
	text-align: left;
	width: 100%;
	background-color: #fff;
}
#header-menu ul li ul {
	visibility: hidden;
	opacity: 0;
	min-width: 5rem;
	position: absolute;
	transition: all 0.3s ease;
	margin-top: 1rem;
	left: 0;
	display: none;
	background-color: #fff;
}
#header-menu ul li:hover > ul,
#header-menu ul li ul:hover {
	visibility: visible;
	opacity: 1;
	display: block;
	padding-left: 0;
}
#header-menu ul li ul li {
	clear: both;
	width: 100%;
	background-color: #fff;
}

article blockquote {
	display: block;
	margin: 0 0 1em 0;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	padding: 0.5em 1em 0 1em;
}

article .featured img {
	border: 1px solid #717070;
	margin-bottom: 1.5em;
}

article img {
	border: 1px solid #cccccc;
}

article img .no-border {
	border: 1px solid #f3f2f2;
}
article img.alignleft {
	margin: 0.1em 0.3em 0 0.3em 0;
	float: left;
}
article .date {
	text-transform: uppercase;
	font-size: 100%;
	letter-spacing: 0.1em;
}

article .alignleft {
	float: left;
	margin: 0.2em 1em 0.2em 0;
}
article .alignright {
	float: right;
	margin: 0.2em 0 0.2em 1em;
}
article .alignnone {
	float: none;
}

article p {
	margin-bottom: 1em;
	margin-top: 0;
}

article section figure {
	display: block;
	height: auto;
	width: 35%;
	float: left;
}
article section figure img {
	border: 1px solid #717070;
}
article section figcaption {
	display: block;
	height: auto;
	float: right;
	width: 61%;
}
article section figcaption h2 {
	margin-bottom: 0.5em;
}
article section figcaption p {
	line-height: 130%;
}

aside {
	position: relative;
}
aside h2 {
	color: #8dc34b;
}
aside h3 {
	color: #439bd7;
	font-size: 1.4rem;
}
aside img {
	border: 1px solid #cccccc;
}
aside .liner {
	display: block;
	clear: both;
	position: relative;
	padding-left: 1.6em;
}
aside li {
	display: block;
	float: left;
	clear: both;
	padding-left: 0;
}
aside .menu-item a {
	padding: 0;
}
aside .menu-item a:link {
	padding: 0;
}
aside .menu li.menu-item a {
	padding: 0;
}
aside ul.menu li.menu-item:last-of-type {
	padding-bottom: 12px !important;
}
aside .title {
	display: block;
	font-style: italic;
}
aside ul {
	list-style-type: none;
}

footer {
	text-align: center;
	line-height: 130%;
}

.feature {
	position: relative;
}

article a {
	color: #038bb3;
}
article a:link {
	color: #038bb3;
}
article a:hover {
	color: #038bb3;
	text-decoration: underline;
}
article a:visited {
	color: #038bb3;
}

aside a {
	color: #038bb3;
}
aside a:link {
	color: #038bb3;
}
aside a:hover {
	color: #038bb3;
}
aside a:visited {
	color: #038bb3;
}
aside .menu {
	padding: 0;
}
aside .menu li {
	padding: 0 !important;
	margin-bottom: 10px;
	text-align: left;
}
footer a {
	color: #439bd7;
}
footer a:link {
	color: #439bd7;
}
footer a:hover {
	color: #ffffff;
}
footer a:visited {
	color: #fff;
}
footer span.footer-cat a {
	color: #ffffff;
}
footer span.footer-cat a:link {
	color: #ffffff;
}
footer span.footer-cat a:hover {
	color: #439bd7;
}
footer span.footer-cat a:visited {
	color: #ffffff;
}

#searchform input#s {
	border: 1px solid #888;
	color: #000 !important;
	background-color: #fff;
}

/* #1 ===== == = === 20em (320px) === = == === */

@media only screen and (min-width: 20em) {
	.call-outs-header .cell.video {
		min-height: 185px;
	}
	.link-holder img {
		width: 272px;
		height: 153px;
		margin-top: -5px;
	}
} /* end */

/* #4 ===== == = === 37.5em (600px) === = == == */

@media only screen and (min-width: 37.5em) {
	.call-outs-header .cell.video {
		min-height: 325px;
	}
	.call-outs-header .cell.video img {
		width: 99%;
		height: 99%;
		margin-top: -27px;
	}
} /* end */

/* #5 ===== == = === 48em (768px) === = == ==== */

@media only screen and (min-width: 48em) {
	.call-outs-header {
		display: flex;
		justify-content: space-between;
		padding-bottom: 10px;
		align-items: center;
	}
	.call-outs-header .cell.logo {
		max-height: 130px;
	}
	.call-outs-header .cell.video {
		min-height: 140px;
		padding-right: 7px;
	}
	.call-outs-header .cell.video img {
		margin-top: 0;
	}
	#header-menu {
		min-width: 470px;
	}
} /* end */

/* #6 ===== == = === 56.25em (900px) === = == = */

@media only screen and (min-width: 56.25em) {
	.call-outs-header {
		max-height: 170px;
	}
	.call-outs-header .cell.logo {
		max-height: 170px;
	}
	.call-outs-header .cell.video {
		min-height: 170px;
		padding-right: 0;
	}
	.call-outs-header .cell.video img {
		margin-top: 0;
	}
	#header-menu {
		min-width: 500px;
	}
} /* end */

/* #7 ===== == = === 68.75em (1100px) === = == = */

@media only screen and (min-width: 68.75em) {
	.call-outs-header {
		max-height: 190px;
	}
	.call-outs-header .cell.logo {
		max-height: 195px;
	}
	.call-outs-header .cell.video {
		min-height: 190px;
	}
	#header-menu {
		min-width: 600px;
	}
} /* end */

/* #8 ===== == = === 83em (1300px) === = ==  */

@media only screen and (min-width: 83em) {
	.call-outs-header {
		max-height: 220px;
	}
	.call-outs-header .cell.logo {
		max-height: 230px;
	}
	.call-outs-header .cell.video {
		min-height: 190px;
	}
	.call-outs-header .cell.video {
		flex-basis: 31.5%;
	}
} /* end */

.dontshowme {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

.cookie-notice-container {
	width: auto;
}

.sli-element {
	max-width: 100% !important;
}
.sli-tl-letter-box .sli-tl-letter-msg {
	font-size: 1em !important;
}
.sli-button {
	font-weight: bold;
}

@media (max-width: 414px) {
	.sli-tl-msg-body {
		font-size: 0.7em;
	}
}

.clear {
	clear: both;
	display: block;
	position: relative;
	font-size: 1px;
}

article table {
	border-collapse: collapse;
	border: 1px solid #cccccc;
	margin: 0 0 1em 0;
}
article table td {
	padding: 0.4em;
	border-collapse: collapse;
	border: 1px solid #cccccc;
}
article table th {
	padding: 0.4em;
	border-collapse: collapse;
	border: 1px solid #cccccc;
}

article section.knv-section figure {
	display: block;
	height: auto;
	float: left;
}

article section.knv-section figcaption {
	display: block;
	height: auto;
	float: right;
}

article .miniNav {
	border: 1px solid #ccc;
	margin: 0 0 2% 2%;
	padding: 2% 2% 2% 2%;
	float: right;
	width: 20%;
}
article .miniNav p {
	margin: 0 0 5% 0;
	font-size: 100%;
	line-height: 130%;
}
article nav {
	border: none;
	margin-bottom: 0;
}
article nav a {
	padding-bottom: 0.3em;
	font-size: 1.1rem;
	display: block;
}

article .pullquote {
	color: #439bd7;
	font-weight: bold;
	font-style: italic;
	display: block;
}

article section {
	margin-bottom: 1.8em;
	border-bottom: 1px dotted #717070;
	display: block;
	clear: both;
	position: relative;
	padding-bottom: 1em;
}
article section.abstracts {
	padding: 0.5em 0 0.2em 0;
	margin-bottom: 0;
	border-top: 1px dotted #717070;
	border-bottom: none;
}
article section.abstracts p {
	padding-bottom: 0;
	margin-bottom: 0.5em;
}
article section.post-section {
	margin-bottom: 0;
	border-top: 1px dotted #717070;
	border-bottom: none;
	display: block;
	clear: both;
	position: relative;
	padding-bottom: 0;
}
article .synopsis p {
	line-height: 130%;
	margin-bottom: 1em;
	color: #439bd7;
	font-weight: bold;
}

/* #header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
} */

#header-main {
	display: grid;
	grid-template-columns: 70% 30%;
	align-items: center;
	padding: 23px 0;
}

.chw-widget {
	display: flex;
	align-items: center;
}

.header-widget-container img {
	width: 100%;
}

.chw-widget img {
	border: 1px solid #ccc;
}

#logo-area img {
	width: 600px;
}

@media (max-width: 1024px) {
	.chw-widget img,
	#logo-area img {
		width: 90%;
	}
	#header-main #header-menu {
		display: none;
	}
}

@media (max-width: 767px) {
	#header-main {
		grid-template-columns: 100%;
		justify-content: center;
		align-items: center;
	}

	#logo-area {
		text-align: center;
	}

	.header-widget-container img {
		width: 70%;
	}

	.chw-widget {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 20px;
	}

	.defender-language-flags {
		grid-column-start: 1;
		grid-column-end: 4;
		justify-self: end;
	}
}

@media (max-width: 1100px) {
	#logo-area img {
		width: 90%;
	}
}

/* h4 {
	margin: 0 !important;
}
 */
article li {
	line-height: 1.5 !important;
	margin-bottom: 0px !important;
}

/* add styling for language flags */

.chapter-language-flags {
	display: flex;
	margin-bottom: 10px;
	margin-top: 5px;
}

.chapter-language-flags .language-flag {
	background-color: pink;
	color: #fff;
	padding: 0 10px;
	margin: 0 5px;
	font-weight: 700;
	font-size: 1.3em;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	width: 30px;
	height: 30px;
}

.defender-language-flags .language-flag:first-child {
	margin: 0;
}

.defender-language-flags .en {
	background-color: #0891bb;
}

.defender-language-flags .es {
	background-color: #92bd6e;
}

.defender-language-flags .it {
	background-color: #000;
}

.defender-language-flags .fr {
	background-color: #dc2f21;
}

.defender-language-flags .de {
	background-color: #3f8c26;
}

.language-link {
	display: block;
	margin-right: 10px;
}

/** wrapper overrides - nate **/
@media (max-width: 1024px) {
	.wrapper {
		width: auto !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.photo-area {
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.photo-area {
		margin: 0 auto;
		display: flex;
		flex-flow: column;
		align-items: center;
	}

	.chw-widget img {
		display: block;
		margin: 0 auto;
	}

	.home-grid-item h4 {
		font-size: 1.3em;
	}
}

/** Short code **/
.action-button {
	display: inline-block;
	font-weight: 700;
	letter-spacing: 1px;
	width: auto;
	background-color: #008ab3;
	color: #ffffff !important;
	padding: 8px 15px;
	text-transform: uppercase;
	margin: 5px 0;
	transition: 300ms;
}

.action-button:hover {
	text-decoration: none;
}

/** Mobile Menu Fixes **/
@media (max-width: 768px) {
	#menu-main-nav {
		margin-left: 20px;
	}

	.menu-item a {
		padding: 5px 0;
	}

	.menu-item-has-children .sub-menu {
		padding-left: 10px;
		margin-top: 15px;
	}
}

.category-description {
	margin-bottom: 20px;
}

h2.section-divider a {
	color: #fff;
}

/* Donate button */

.home-photo .n2-ss-layer .slider-text > a > span {
	box-shadow: 0 0 3px 3px;
	border-radius: 10px;
	transition: 0.5s;
}
.home-photo .n2-ss-layer .slider-text > a > span:hover {
	color: #47894a;
	box-shadow: 0 0 3px 3px #2e6739;
}

.home-photo .n2-ss-section-main-content > .n2-ss-layer {
	position: static;
	margin: 30% auto 50px !important;
}
@media (max-width: 1199px) {
	.home-photo .n2-ss-section-main-content > .n2-ss-layer {
		position: static;
		margin: 50% auto 50px !important;
	}
}

/* Contact form stretch email/subject to 100% */
#chapter-contact-main #input_1_2 {
	width: 100%;
}

#chapter-contact-main #input_1_3 {
	width: 100%;
}

/* Make videos on news page responsive */
@media (max-width: 500px) {
	article section.knv-section figure {
		width: 100%;
	}
	article section.knv-section figcaption {
		width: 100%;
	}
	article section.knv-section figcaption > span.date {
		width: 100%;
		font-size: 1.2rem !important;
	}
	article section.knv-section figcaption > h4 {
		width: 100%;
		font-size: 1.2rem !important;
	}
}

/* Remove horizontal rule from about-us */
article > hr {
	display: none;
}

/* Fix spacing on home image link titles */
@media (max-width: 768px) {
	.home-posts .home-post-image h4 {
		padding-top: 10px im !important;
	}
}

/* Add padding to footer bottom, so social media buttons dont clip footer */
.site-footer {
	padding-bottom: 45px;
}

/* Add padding to search bar */
#searchform input#s {
	padding: 5px;
}

/* Add styling to "News & Updates" submit button */
aside .gform_widget .gform_footer input.gform_button {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: "Merriweather", sans-serif;
	font-size: 1.25em;
	font-weight: 700;
	color: #fff;
	background: #439bd7;
	border: none;
	padding: 5px 10px;
	width: 100%;
}
aside .gform_widget ul.gform_fields li.gfield {
	padding-right: 0 !important;
}
@media (max-width: 767px) {
	aside .gform_widget ul.gform_fields li.gfield {
		width: 100%;
	}
}

#chapter-contact-main #gform_submit_button_1 {
	background: #8dc34b;
	border: none;
	color: white;
	cursor: pointer;
	font-family: "open-sans", sans-serif;
	font-weight: 700;
	padding: 8px;
	width: 150px;
}

#popmake-127 iframe {
	width: 100% !important;
}

#popmake-243 {
	background-color: #333;
	background-image: url(https://chapter-starter.childrenshealthdefense.org/wp-content/uploads/bobby.jpeg);
	background-position: right center;
	background-size: cover;
	color: #fff;
	height: 500px;
	width: 725px;
}

#popmake-243 .popmake-content {
	outline: none;
}

#popmake-243 .popup-right {
	margin-left: 350px;
	padding: 5px;
}

#popmake-243 .popup-logo img {
	width: 100%;
}

#popmake-243 .popup-right > h1 {
	line-height: 1.3em;
	padding-bottom: 0.4em;
	font-size: 17px;
}

#popmake-243 .popup-right > h2 {
	font-size: 16px;
	color: #fff;
	line-height: 1.4em;
}

#popmake-243 .popup-right input,
.popup-right button {
	width: 100%;
	height: 40px;
	margin: 7px 0;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #aaa;
}

#popmake-243 input[type='submit'] {
	background-color: #038bb3;
	border-color: #038bb3;
	color: #fff;
	font-size: 20px;
}

#popmake-243 .popup-right input,
.popup-right button {
	width: 100%;
	height: 40px;
	margin: 7px 0;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #aaa;
}

#popmake-243 .gform_wrapper .gform_footer,
#popmake-243 .gform_wrapper ul.gform_fields li.gfield,
#popmake-243 #gform_wrapper_4 form {
	margin: 0;
	padding: 0;
}
