/*!
Theme Name: SCOR 2018
Theme URI: http://underscores.me/
Author: Castle Builder Design
Author URI: http://www.castlebuilder.com
Description: New theme for SCOR
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: scor2018
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 with others.

SCOR 2018 is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Open Sans', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	text-align: center;
}

html * {
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

.entry-content th, .entry-content td {
	padding: 5px;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
	clear: both;
}

p {
	margin-bottom: 1.5em;
}
ol p {
	margin-bottom: 0.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;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
}

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

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

.noindent {
	margin: 0 0 0 0;
}

ul {
	list-style: disc;
}

ol {
	list-style-type: decimal;
}

ol li ol, ul li ol, ol.alpha {
	list-style-type: lower-alpha;
	list-style-type: lower-latin;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# 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);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .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%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #3484c7;
	text-decoration: none;
}

#main a:hover,
#secondary a:hover {
	opacity: 0.7;
}

#main a:hover {
	text-decoration: underline;
}

a:visited {
	color: #3484c7;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	font-family: 'Oswald', sans-serif;
}

.main-navigation ul {
    width: 100%;
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: inline-block;
    border-left: 1px solid #4d99d9;
}

.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 {
	left: 100%;
}

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

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

.main-navigation li {
	float: left;
	position: relative;
}

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

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
}
.main-navigation li:after {
    content: '';
    width: 1px;
    height: 100%;
    background-color: #000;
}
.main-navigation li:not(.contact) {
    display: inline-block;
    position: relative;
    border-right: 1px solid #2476bc;
}
.main-navigation li:first-child {
    border-left: 1px solid #2476bc;
}
.main-navigation li.contact {
    text-align: center;
    background: #ffffff2b;
}
.main-navigation a {
    line-height: 31px;
    border-right: 1px solid #4d99d9;
    display: inline-block;
}
.main-navigation .twitter a,
.main-navigation .facebook a,
.main-navigation .search a {
    text-indent: -99999px;
    background-repeat: no-repeat;
    background-position: 50%;
}
.main-navigation .publications a {
    background-repeat: no-repeat;
    background-color: #26499e;
}
.main-navigation .maillist a {
    background-repeat: no-repeat;
}
.main-navigation .publications a:hover {
    background-color: #5b99d1;
}
.main-navigation .twitter a {
    background-image: url(images/icon-twitter.png);
}
.main-navigation .facebook a {
    background-image: url(images/icon-facebook.png);
}
.main-navigation .search a {
    background-image: url(images/bt-search.png);
}
.main-navigation .publications a {
    background-image: url(images/bt-publications.png);
}
.main-navigation .maillist a {
    background-image: url(images/bt-emaillist.png);
}
.main-navigation .contact a {
    display: inline-block;
}
.main-navigation .contact a:before {
    margin-right: 8px;
    content: url(images/bt-contact.png);
    vertical-align: top;
    display: inline-block;
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget select {
	max-width: 100%;
}

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

.hentry {
	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;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

.wp-block-embed-youtube {
	overflow: hidden;
	position: relative;
	max-width: 100%;
	height: auto;
	padding-bottom: 56.25%;
}

.wp-block-embed-youtube iframe,
.wp-block-embed-youtube object,
.wp-block-embed-youtube embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

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

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* Structure */
#masthead {
    width: 100%;
    position: relative;
    z-index: 9999;
    background: #3484c7;
    text-align: center;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}
#masthead a {
    color: #fff;
}
#masthead nav {
    position: relative;
}
#masthead nav,
#content {
    max-width: 1530px;
    margin: 0 auto -5px;
    text-align: left;
}
#content {
    -webkit-box-shadow: 0px 0px 18px -5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 18px -5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 18px -5px rgba(0,0,0,0.5);
}
#primary {
    width: 100%;
}

/* Search */
.site-search {
    width: 100%;
    z-index: 8888;
    background: #efefef;
    display: none;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    transition: visibility 0s, display 0.2s linear;
    display: none;
    position: absolute;
    left: 0;
}
.toggle-search {
    padding: 24px;
    display: block;
}
.site-search form input[type="search"] {
    padding: 12px;
    background: #fff;
    float: left;
}
.site-search form input[type="submit"] {
    padding: 16px;
    text-transform: uppercase;
    margin-left: 2%;
    background: #3584c7;
    color: #fff;
    font-size: 1em;
}
/* Sidebar */
.menu-side-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-side-container a {
    font-family: 'Oswald', sans-serif;
    color: #000;
}
section:not(.slicknav_nav) .menu-side-container .menu-item-has-children>a {
    width: 100%;
    margin-bottom: 6px;
    text-transform: uppercase;
    display: inline-block;
    color: #fff;
    font-weight: normal;
}
.site-branding {
    padding: 12px 24px 4px;
    background: #fff;
}
#text-2, #block-2, #block-4, #block-5 {
    padding: 12px 24px;
    background: #fff;
}
#block-4 {
    padding-bottom: 0px;
}
#block-2 {
    padding-bottom: 6px;
}
#block-2, #block-5 {
    padding-top: 0px;
}
#text-2 ul, #block-2 ul, #block-4 h2, #block-4 h2 a, #block-5 p {
    margin: 0;
    padding: 0;
    list-style: none;
}
#block-2 li {
    padding-top: 8px;
    line-height: 1.25;
}
#block-4 h2, #block-4 h2 a, #block-5 a {
	width: 100%;
    font-size: 1rem;
    text-transform: uppercase;
    display: inline-block;
    color: #fff;
    font-weight: normal;
} 
#block-2 a, #block-5 a {
    color: #000;
    text-transform: none;
}

/* home */
.home h1.entry-title {
    display: none;
}
/*
#primary #main article {
    padding: 36px;
}
*/
body:not(.home):not(.search-results) #primary h2 {
    padding-bottom: 6px;
    border-bottom: 2px solid #ccc;
}
#primary ul,
#primary ol {
    margin: 36px 0 0;
}
#primary li>ol {
    margin-top: 0;
}
#primary ul.links {
    list-style: none;
}
#primary ul.links a:before {
    margin : 0 0.5em 0  -18px;
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #3e8fd1;
}
.featured-images {
    position: relative;
}
.featured-images h2 {
    width: 100%;
    margin: 0;
    padding: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 2em;
    font-weight: 300;
}
.featured-images h2+a {
    width: 100%;
    height: 100%;
    display: block;
}
.featured-images h2 a {
    color: #fff;
    text-shadow: 1px 0px 2px rgba(0, 0, 0, 0.6);
}
.featured-images h2 span {
    display: inline-block;
    padding: 8px;
    line-height: 1;
    position: relative;
}
.featured-images h2 span:before,
.featured-images h2 span:after {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    content: '';
    position: absolute;
    top: 0;
}
.featured-images h2 span.title-first {
    background: #000;
}
.featured-images h2 span:before {
    border-width: 0 0 48px 6px;
    left: -6px;
}
.featured-images h2 span:after {
    border-width: 48px 6px 0 0;
    right: -6px;
}
.featured-images h2 span.title-first:before {
    border-color: transparent transparent #000 transparent;
}
.featured-images h2 span.title-first:after {
    border-color: #000 transparent transparent transparent;
}
.featured-images h2 span.title-second:before {
    border-color: transparent transparent #3484c7 transparent;
}
.featured-images h2 span.title-second:after {
    border-color: #3484c7 transparent transparent transparent;
}
.featured-images h2 span.title-second {
    background: #3484c7;
}
.featured-images img {
    width: 100%;
    display: block;
}
.home .acknowledgements {
    font-size: 0.73em;
    overflow: hidden;
}
.home .acknowledgements .chw-title {
    width: 6em;
    margin: 0;
    vertical-align: top;
    display: inline-block;
}
.home .acknowledgements-listings div {
    width: 100%;
    margin-right: -6em;
    padding-right: 6em;
    display: inline-block;
    vertical-align: top;
}
.acknowledgements-listings  {
    margin-bottom: 6px;
}

.home .links {
    width: 100%;
    display: inline-block;
}
.home .links:before,
.main-wrapper .two-col:after {
    content: '';
    display: table;
    clear: both;
}

/* footer */
#colophon {
    background: #3484c7;
    color: #fff;
    font-size: 0.8em;
    padding: 12px;
    position: relative;
    z-index: 99999;-webkit-box-shadow: 0px -1px 15px -4px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px -1px 15px -4px rgba(0,0,0,0.5);
    box-shadow: 0px -1px 15px -4px rgba(0,0,0,0.5);
}
#colophon a {
    color: #7cb0db;
    text-decoration: none;
}
#colophon a:hover {
    color: #fff;
}

/* main */
#page {
    position: relative;
}
#main {
    width: 100%;
    display: inline-block;
    background: #fff;
}
#main .main-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.home #main h2 {
    font-size: 2em;
}
.home #main h2,
body:not(.search-results) #main .entry-title,
#main .page-title {
    margin: 0 0 36px;
    padding-bottom: 12px;
    border-bottom: 3px solid #24499d;
}
body:not(.home) #main {
    height: 100%;
}
.home #main figure img {
    display: block;
}
#main figcaption {
    margin-top: 6px;
    color: #8e8d8d;
    font-size: 0.8em;
}

/* Working Group */
.working-group {
    width: 100%;
    margin-top: 36px;
    display: inline-block;
}
.working-group h3 {
    margin-top: 0;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 2px solid #3584c7;
}
.working-group dl {
    width: 100%;
    margin: 0;
    display: inline-block;
}
.working-group dt,
article.type-group dt {
    font-family: 'Oswald', sans-serif;
}
article.type-group dt {
    font-size: 1.1em;
}
.working-group dt,
.working-group dd {
    margin: 0;
    padding: 6px 0;
}
article.type-group {
    max-width: 900px;
    margin: 0 auto;
}
article.type-group dl {
    margin: 0;
}
article.type-group dd {
    margin: 0 0 24px;
    padding: 12px 0 24px;
    border-bottom: 1px dotted #ccc;
}
.single-group .entry-content dl {
	padding-top: 12px;
	border-top: 1px dotted #ccc;
}
.single-group .entry-content dd ol li p {
    margin: 0;
    padding: 0 0 24px;
    border-bottom: 0;
}
article.type-group ol {
    margin: 0;
    padding: 0 0 0 1.5em;
}
.entry-header .working-group-group {
    margin-bottom: 6px;
    color: #666;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
}
.working-group-single .post-navigation {
    margin-top: 36px;
    font-size: 0.8em;
}
.working-group-single .nav-previous:before,
.working-group-single .nav-next:after {
    width: 0;
    height: 0;
    border-style: solid;
    display: inline-block;
    content: '';
}
.working-group-single .nav-previous:before {
    margin-right: 6px;
    border-width: 5px 6px 5px 0;
    border-color: transparent #999999 transparent transparent;
}
.working-group-single .nav-next:after {
    margin-left: 6px;
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent #999999;
}

a.button-btm {
    width: 100%;
    margin: 36px 0;
    padding: 12px;
    color: #fff;
    text-align: center;
    display: inline-block;
    background: #5a98d1;
    border-radius: 3px;
}
a.button-btm.hover {
    text-decoration: none;
}

#primary #child_menu {
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
}
#primary #child_menu li {
    padding: 6px 0;
    border-bottom: 1px solid #7cb0db;
}
#primary #child_menu li:first-of-type {
    padding-top: 0;
}
#primary #child_menu li:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}

body.single-cb-org .post-thumbnail img {
    max-width: 300px;
    max-height: 150px;
    width: auto;
    height: auto;
}

body.blog #primary article.category-news {
    margin-bottom: 1em;
}
body.blog #primary article.category-news .entry-content {
    margin: 0;
}
body.blog #primary article.category-news .posted-on {
    font-weight: bold;
    font-size: 0.9em;
}
body.blog #primary article.category-news .entry-title {
    margin: 0;
    font-size: 1.2em;
    font-weight: normal;
    border: none;
}
body.blog #primary article.category-news .edit-link {
    display: none;
}
body.blog #primary article.category-news .entry-content p {
    margin: 0;
}

body.page #children h3, a.button {
    margin: 0;
    padding: 0;
    font-size: 1em;
}
body.page #children a, a.button {
    width: 100%;
    margin: 12px 0;
    padding: 18px;
    display: inline-block;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    border-radius: 3px;
    color: #fff;
    text-align: center;
}
body.page #children h3:nth-child(9n+1) a,
body.page #children h3:nth-child(9n+9) a,
a.button {
    background: #2b77b7;
}
body.page #children h3:nth-child(9n+2) a,
body.page #children h3:nth-child(9n+8) a {
    background: #3283ca;
}
body.page #children h3:nth-child(9n+3) a,
body.page #children h3:nth-child(9n+7) a {
    background: #4b97dc;
}
body.page #children h3:nth-child(9n+4) a,
body.page #children h3:nth-child(9n+6) a {
    background: #5ca6e5;
}
body.page #children h3:nth-child(9n+5) a {
    background: #7cb0db;
}
body.page #children a:hover, a.button {
    text-decoration: none;
}

/* Calendar */
#sc_events_calendar_head {
    background: none;
    border: none;
}
#primary #sc_events_calendar_head h2 {
    width: 100%;
    border: none;
}
#sc_calendar_wrap {
    margin-top: -12px;
    padding-top: 48px;
    position: relative;
}
#sc_event_select,
#sc_event_nav_wrap {
    position: absolute;
    top: 0;
}
#sc_event_nav_wrap {
    width: 100%!important;
}
#sc_event_select {
    width: 50%!important;
    z-index: 1000;
}
#sc_event_select #sc_submit,
#sc_event_nav_prev input,
#sc_event_nav_next input {
    background: #4b99db;
    color: #fff;
    font-size: 0.8em;
    border: none;
    padding: 6px;
}
#sc_calendar {
    margin-top: 12px;
}
#sc_calendar th {
    font-size: 0.8em;
    color: #fff;
    background: #3584c7;
    font-weight: normal;
    text-transform: uppercase;
}
.sc_day_div a {
    display: inline-block;
}
.sc_day_div a:not(:first-of-type) {
    margin-top: 12px;
}

/* Events */
#events p .date,
body.page-archive .date {
    font-size: 0.8em;
    font-weight: bold;
}
#events+p:before,
body.page-archive h3.toggler+div:after {
    content: '';
    clear: both;
    display: table;
}
body.page-archive h3.toggler {
    width: 100%;
    margin: 0;
    padding: 6px;
    font-size: 1.3em;
    font-weight: normal;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #efefef;
}
body.page-archive h3.toggler.open {
    background: #5ca6e5;
    color: #fff;
}
.toggler+div {
    padding: 36px;
    background: #ebeff3;
}
.toggler:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Committees & Events */
dl.national-committees dt:before,
dl.national-committees-support dt:before,
#primary div.events dt:before {
    content: '';
    clear: both;
    display: table;
}
#primary dl.national-committees dt,
#primary dl.national-committees dd,
#primary dl.national-committees dd ul,
#primary dl.national-committees-support dt,
#primary dl.national-committees-support dd,
#primary dl.national-committees-support dd ul,
#primary div.events dl,
#primary div.events dt,
#primary div.events dd,
#primary div.events ul,
#primary div.events figure,
#primary div.events p {
    margin: 0;
    padding: 0;
}
#primary dl.national-committees {
    width: 100%;
    display: inline-block;
    background: #daeeff;
}
#primary dl.national-committees dt,
#primary dl.national-committees dd,
#primary dl.national-committees-support dt,
#primary dl.national-committees-support dd {
    padding: 10px;
}
#primary dl.national-committees dd,
#primary dl.national-committees-support dd,
#primary dl.events dd {
    background: #fff;
}
#primary dl.national-committees .header,
#primary dl.national-committees-support .header,
#primary div.events .header {
    background: #4b99db;
    color: #fff;
}
#primary dl.national-committees dt.header,
#primary dl.national-committees-support dt.header {
    border-right: 1px solid #7cb0db;
}
#primary div.events ul.meetings li {
    border-top: 1px solid #7cb0db; 
}
#primary div.events ul,
#primary div.events li {
    margin: 0;
    padding: 0;
    list-style: none;
}
#primary div.events figure {
    width: 50px;
    float: right;
    margin-left: 12px;
}
#primary div.events figure img {
    display: block;
}
body.single-sc_event  #primary .entry-content ul {
    margin-top: 0;
}
body.single-sc_event  #primary .entry-content p+ul {
    margin-top: -1.5em;
}
body.single-sc_event  #primary .entry-content ul+p {
    margin-top: 0;
}
body.single-sc_event  #primary .entry-content .meeting-logos {
    margin: 2em 0;
    padding: 0;
    list-style: none;
}
body.single-sc_event  #primary .entry-content .meeting-logos img {
    float: left;
    margin: 0 24px 24px 0;
}
@media screen and (min-width: 769px) {
    body {
	    background: #efefef;
    }
    #primary {
        margin-left: -250px;
        padding-left: 250px;
        float: left;
    }
    #secondary {
        width: 250px;
        float: right;
        background: #3e8ed1;
        -webkit-box-shadow: -2px 0px 13px -5px rgba(0,0,0,1);
        -moz-box-shadow: -2px 0px 13px -5px rgba(0,0,0,1);
        box-shadow: -2px 0px 13px -5px rgba(0,0,0,1);
        position: relative;
        z-index: 8888;
    }
    #text-2, #block-2, #block-4, #block-5 {
    background: #c1def7;
    position: relative;
	}
    #text-2 h2 {
        font-size: 1.2em;
        font-weight: normal;
        color: #3484c7;
        text-transform: uppercase;
    }
    #text-2 .textwidget, #block-2, #block-4, #block-5 {
        font-family: 'Oswald', sans-serif;
    }
    #nav_menu-2 .menu-item-has-children {
        padding: 24px 24px 12px;
        position: relative;
    }
    #secondary #media_image-6 {
        padding: 48px 24px;
        text-align: center;
    }
    #text-2:before,
    #block-2:before,
    #block-4:before,
    #block-5:before,
    #nav_menu-2 li.menu-item-has-children:first-child:before,
    #nav_menu-2 li.menu-item-has-children:nth-child(2):before,
    #nav_menu-2 li.menu-item-has-children:nth-child(3):before {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        line-height: 0px;
        _filter: progid:DXImageTransform.Microsoft.Chroma(color='#000000');
    }
    #text-2:before,
    #nav_menu-2 li.menu-item-has-children:nth-child(2):before {
        border-width: 10px 250px 0 0;
    }
    
    #block-2:before, #block-4:before, #block-5:before,
    #nav_menu-2 li.menu-item-has-children:first-child:before,
    #nav_menu-2 li.menu-item-has-children:nth-child(3):before {
        border-width: 0 250px 10px 0;
    }
    #text-2:before {
        border-color: #fff transparent transparent transparent;
        _border-color: #fff #000000 #000000 #000000;
    }
    #block-2:before, #block-4:before, #block-5:before {
        border-color: #c1dff8 transparent transparent transparent;
        _border-color: #c1dff8 #000000 #000000 #000000;
    }
    #nav_menu-2 li.menu-item-has-children:first-child:before {
        border-color: transparent #7cb0db transparent transparent;
        _border-color: #000000 #7cb0db #000000 #000000;
    }
    #nav_menu-2 li.menu-item-has-children:nth-child(2):before {
        border-color: #5ca6e5 transparent transparent transparent;
        _border-color: #5ca6e5 #000000 #000000 #000000;
    }
    #nav_menu-2 li.menu-item-has-children:nth-child(3):before {
        border-color: transparent #4b99db transparent transparent;
        _border-color: #000000 #4b99db #000000 #000000;
    }
	#block-2, #block-4, #block-5   {
        background-color: #7cb0db;
    }
    #nav_menu-2 li.menu-item-has-children:first-child {
        background-color: #5ca6e5;
    }
    #nav_menu-2 li.menu-item-has-children:nth-child(2) {
        background-color: #4b99db;
    }
    #nav_menu-2 li.menu-item-has-children:nth-child(3) {
        background-color: #3E8ED6;
    }
    .main-navigation li.contact {
        width: 250px;
    }
     .site-search form {
        padding-right: 260px;
    }
    .main-navigation li.contact {
        float: right;
    }
    .slicknav_menu {
        display: none;
    }
    #main {
        padding: 48px;
    }
    .main-navigation li.search {
        position: absolute;
        right: 194px;
        border-left: 1px solid #6eaae0;
        border-right: 1px solid #6eaae0;
        z-index: 100;
    }
    .main-navigation li.contact {
        padding-left: 55px;
    }
    .main-navigation .publications a,
        .main-navigation .maillist a {
        padding-left: 38px;
        background-position: 6px 50%;
    }
}

@media screen and (max-width: 768px) {
    #secondary .site-branding img {
        width: auto;
        max-height: 100px;
    }
    .home .acknowledgements {
        background: #efefef;
    }
    .site-branding,
    #text-2, #block-2, #block-4, #block-5 {
        text-align: center;
    }
    #text-2 h2 {
        margin: 0;
        font-size: 1.2em;
    }
    #text-2 .textwidget, #block-2, #block-4, #block-5 {
        font-size: 0.8em;
    }
    #nav_menu-2 {
        display: none;
    }
    body.home .site-branding {
        padding-bottom: 0;
    }
    #media_image-6 {
        padding: 24px;
        text-align: center;
        background: #3584c7;
    }
    .main-navigation li.contact a,
    .main-navigation li.contact {
        width: 100%;
    }
    #main {
        padding: 48px;
    }
    body:not(.home) .site-branding {
        -webkit-box-shadow: inset 0px -1px 6px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: inset 0px -1px 6px 0px rgba(0,0,0,0.15);
        box-shadow: inset 0px -1px 6px 0px rgba(0,0,0,0.15);
    }
    .main-navigation .publications a,
    .main-navigation .maillist a {
        width: 55px;
        text-indent: -9999px;
        background-position: 50%;
    }
}

@media screen and (min-width: 641px) {
    .home #main figure {
        width: 50%;
        margin: 0 24px 24px 0;
        float: left;
    }
    .home .acknowledgements {
        padding: 24px 48px;
    }
    .site-search form input[type="search"] {
        width: 80%;
    }
    .site-search form input[type="submit"] {
        width: 17%;
    }
    .main-navigation a {
        min-width: 55px;
        padding: 12px;
    }
    .slicknav_btn {
        padding: 20px 12px;
    }
    #primary #child_menu {
        width: 280px;
        margin: 0 0 0 24px;
        padding: 12px;
        float: right;
        background: #c1def7;
        border-radius: 3px;
    }
    body.page #children h3, a.button {
        width: 48.5%;
    }
    body.page #children h3:nth-child(odd) {
        float: left;
    }
    body.page #children h3:nth-child(even) {
        clear: none;
        float: right;
    }
    #events p {
        width: 33.333%;
        float: left;
    }
    #events p:nth-child(3n+1) {
        padding-right: 12px;
        clear: left;
    }
    #events p:nth-child(3n+2) {
        padding-right: 6px;
        padding-left: 6px;
    }
    #events p:nth-child(3n+3) {
        padding-left: 12px;
    }
    #primary div.events dt {
        width: 16%;
        float: left;
    }
    #primary div.events dd, .page-travel #primary div.events dt {
        width: 32%;
        float: left;
    }
    #primary div.events dl.header dd:last-child,
    #primary div.events li>dl>dd:last-child {
        width: 20%;
    }
    #primary div.events {
        border: 1px solid #4b99db;
    }
    #primary div.events ul.meetings li:nth-child(even) {
        background: #f0f8ff;
    }
    #primary div.events dt,
    #primary div.events dd {
        padding: 10px;
    }
    #primary div.events dl:after,
    #primary div.events li:after {
        display: table;
        content: '';
        clear: both;
    }
}

@media screen and (max-width: 640px) {
    #main,
    .home .acknowledgements {
        padding: 24px;
    }
    .site-search form input[type="search"] {
        width: 70%;
    }
    .site-search form input[type="submit"] {
        width: 27%;
    }
    .main-navigation a,
    .main-maillist a {
        min-width: 42px;
        padding: 6px;
    }
    .slicknav_btn {
        padding: 15px 12px 14px;
    }
    #primary #child_menu {
        margin-bottom: 36px;
    }
    #primary div.events li dt {
        background: #daeeff;
    }
    #primary div.events dt,
    #primary div.events dd {
        padding: 3px 10px;
    }
    #primary div.events dd:after {
        content: '';
        display: table;
        clear: both;
    }
}

@media screen and (min-width: 481px) {
    .featured-images {
        width: 50%;
        float: left;
    }
    .two-col section {
        width: 50%;
        float: left;
    }
    .main-wrapper .two-col section:nth-child(odd) {
        padding-right: 18px;
    }
    .main-wrapper .two-col section:nth-child(even) {
        padding-left: 18px;
    }
    .working-group dt,
    .working-group dd {
        float: left;
    }
    .working-group:after {
        content: '';
        display: table;
        clear: both;
    }
    .working-group dt {
        width: 20%;
    }
    .working-group dd {
        width: 80%;
    }
    .working-group dt,
    .working-group dd {
        border-top: 1px dotted #cdcdce;
    }
    .working-group dt:first-child,
    .working-group dt:first-child+dd {
        border-top: none;
    }
    dl.national-committees dt {
        width: 30%;
        float: left;
    }
    dl.national-committees dd {
        width: 70%;
        float: left;
    }
    dl.national-committees dd li {
        float: left;
    }
    #primary dl.national-committees {
        border: 1px solid #4b99db;
    }
    #primary dl.national-committees dt:not(.header),
    #primary dl.national-committees dd:not(.header) {
        border-top: 1px solid #7cb0db; 
    }
    dl.national-committees dd li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    dl.national-committees dd li:after {
        content: ',';
        margin-right: 0.5em;
    }
    dl.national-committees dd li:last-of-type:after {
        content: '';
    }
    dl.national-committees-support dt {
        width: 10%;
        float: left;
    }
    dl.national-committees-support dd:not(.nations) {
        width: 20%;
        float: left;
    }
    dl.national-committees-support dd.nations {
        width: 30%;
        float: left;
    }
    dl.national-committees-support dd li {
        float: left;
    }
    #primary dl.national-committees-support {
        border: 1px solid #4b99db;
    }
    #primary dl.national-committees-support dt:not(.header),
    #primary dl.national-committees-support dd:not(.header) {
        border-top: 1px solid #7cb0db; 
    }
    dl.national-committees-support dd li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    dl.national-committees-support dd li:after {
        content: ',';
        margin-right: 0.5em;
    }
    dl.national-committees-support dd li:last-of-type:after {
        content: '';
    }
    .single-officer .post-thumbnail {
        max-width: 50%;
        padding: 0 24px 24px 0;
        float: left;
    }
    .single-officer .entry-content p:first-of-type {
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    #main .entry-title {
        font-size: 1.8em;
    }
    .working-group dt {
        border-bottom: 1px dotted #cdcdce;
    }
    #primary dl.national-committees dd ul,
    #primary dl.national-committees-support dd ul {
        margin-left: 24px;
    }
    #primary dl.national-committees-support {
	    background: #daeeff;
	}
	#primary dl.national-committees-support dd {
		border-bottom: 1px solid #acd3f5;
	}
}

@media screen and (max-width: 320px) {
    .main-navigation a {
        min-width: 30px;
    }
    .slicknav_btn {
        padding: 15px 3px 14px;
    }
}

.widget.widget_block form {
    position: relative;
    padding: 0px 24px 0px;
}

aside#secondary {
    min-height: 1417px;
}

@media(min-width:769px) {
	#secondary #media_image-6 {
		padding-top: 80px;
	}
	.widget.widget_block form {
		    margin-top: -293px;
	}
	.single-post 
 aside#secondary {
    min-height: 1430px !IMPORTANT;
}

.single-post div#content {
    display: flex;
}

.single-post div#primary {
    height: auto !important;
}
	.news-section {
    display: none;
}
	.mobile-donate-form {
		display:none;
	}
	.widget.widget_nav_menu li.only-mobile {
    display: none;
}
#nav_menu-2 li.menu-item-has-children:nth-child(2):before {
    border-color: #7cb0db transparent transparent transparent;
    _border-color: #5ca6e5 #000000 #000000 #000000;
}
}

@media(max-width:768px) {
section#block-11,aside#secondary section#block-6,aside#secondary section#nav_menu-2,aside#secondary section#block-5,aside#secondary section#block-2,aside#secondary section#block-4 {
    display: none;
}
li.no-child a {
    padding: 18px;
    text-transform: uppercase;
    border-top: 1px solid #3584c7;
}
.mobile-donate-form {
    position: absolute;
    top: 75%;
    left: 60px;
    transform: translate(-50%,-50%);
}

.main-navigation ul li.contact {
    text-align: right;
    padding-right: 40px;
}
}

/* Feather Light (lightbox) */
html.with-featherlight{overflow:hidden}.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight link.featherlight-inner,.featherlight script.featherlight-inner,.featherlight style.featherlight-inner{display:none}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}@media print{html.with-featherlight>*>:not(.featherlight){display:none}}