/*!
Theme Name: Thames21_2017
Theme URI: https://ianstratton.com/thames21/
Author: Ian Stratton
Author URI: https://www.ianstratton.com
Description: Thames 21 responsive theme based on Underscores
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thames21_2017
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.

T21  2017 Thames21 is based on Underscores https://underscores.me/, (C) 2012-2016 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
	## Icons
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Front page
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Events Calendar
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

body {
  margin: 0; }

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
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-top: 1em ; 
  margin-bottom: 1em;
}

hr {
  -webkit-box-sizing: content-box;
          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"] {
  -webkit-box-sizing: border-box;
          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; }

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5; }
  @media all and (min-width: 700px) {
    body,
    button,
    input,
    select,
    optgroup,
    textarea {
      font-size: 20px;
      font-size: 1.25rem; } }

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #003876; }

h1 {
  font-size: 1.8em;
  font-weight: 600; }

h2 {
  font-size: 1.4em; }

h3 {
  font-size: 1.2em; }

h4 {
  font-size: 1.0em; }

h5 {
  font-size: .8em; }

h6 {
  font-size: .6em; }

p {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
 }

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: 18.75px;
  font-size: 1.171875rem;
  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: 18.75px;
  font-size: 1.171875rem; }

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

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

big {
  font-size: 125%; }

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  -webkit-box-sizing: border-box;
          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/ */
  -webkit-box-sizing: inherit;
          box-sizing: inherit; }

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */ }

blockquote, q {
  quotes: "" ""; }
  blockquote:before, blockquote:after, q:before, q:after {
    content: ""; }

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

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

ul {
  list-style: none !important; }

.child-links .page_item:before {
	content: '\f138';
	font-family: 'FontAwesome';
	color: #006bb7;
	padding-right: 0.5em;
}

.tribe-mini-calendar-event .list-date {
	color: #006bb7 !important;
	}

ol {
  list-style: decimal; }

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

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


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: 15px;
  font-size: 0.9375rem;
  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: #003876; }
  a:visited {
    color: #76006f; }
  a:hover, a:focus, a:active {
    color: #006bb7; }
  a:focus {
    outline: thin dotted; }
  a:hover, a:active {
    outline: 0; }

.site-nav.children-links.clearfix {
	width: 40%;
	float: right;
	margin-left: 30px;
	margin-bottom: 50px;
	border: 2px solid #006bb7;
}
.parent-link a {
	display: block;
	color: white;
	background-color: #006bb74d;
	text-decoration: none;
	padding-left: 0.5em;

	}
.child-links {
	padding-left: 0.2em;
}

.child-links a {
	text-decoration: none;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.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%; }





/*--------------------------------------------------------------
## Icons
--------------------------------------------------------------*/
.social-media-icons i { 
color: #003876; 
font-size: 2em; 
padding-bottom: 20px;
padding-right: 20px;
} 
.social-media-icons i:hover { 
color: #006bb7;
} 

.social-media-icons-footer i { 
color: #fff; 
font-size: 2.2em;
padding-right: 0.2em; 
} 

.social-media-icons-footer i:hover { 
color: #eee; 
font-size: 2.2em; 
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  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;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 17.5px;
    font-size: 1.09375rem;
    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; }

.alignwide,
.alignfull {
	margin: 32px calc(50% - 50vw) !important;
	max-width: 100vw !important;
	width: 100vw !important;
}

@media (max-width: 920px) {
	.alignwide {
		margin: 32px -76px;
		max-width: 920px;
		width: 920px;
	}
}

/*--------------------------------------------------------------
# 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; }
.site-footer-storymaps:before,
.site-footer-storymaps: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; }
.site-footer-storymaps
{
  clear: both; }


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Global layouts
--------------------------------------------------------------*/
.site-content {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 1em; }

.full-width-post-content {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 1em; }

.arcgis-map-page-content {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 1em; }

.site-content-map {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 1em; }



.page-template-no-sidebar .site-content {
    width: 100%;
    margin: 0px;
    border: 0px;
    padding: 0px;
	max-width: 100vw;

}
 


.page-template-no-sidebar .site {
margin:0px;
}
.pagenav {
	list-style: none;
	text-decoration: none;
}

  @media all and (min-width: 600px) {
    .site-content .site-content {
      padding: 2em; } }

@media all and (min-width: 828px) {
  .front-page-content {
    width: 1480px; } }

.post-type-archive-tribe_events
.site-content {
  padding: 2em;
  padding-top: 5em;
  padding-right: 2em;
  padding-bottom: 2em;
  padding-left: 2em; }

@media all and (min-width: 828px) {
  .has-sidebar .hentry {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; }
    .has-sidebar .hentry .entry-header {
      width: 100%;
      -webkit-box-flex: 1;
          -ms-flex: 1 0 100%;
              flex: 1 0 100%; }
    .has-sidebar .hentry .post-content {
      width: 60%; }
    .has-sidebar .hentry #post-excerpts {
      width: 60%; }
    .has-sidebar .hentry .widget-area {
      width: 30%;
      border-left: 2px solid #006bb7;
      padding-left: .5em; } }


.footer-logo-display {
	display: block;
	text-align: center;
	text-decoration: none !important; 
	padding: .5em;
}

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/
.archive-view {
  background-color: white; }
  .archive-view .post,
  .archive-view .page {
    position: relative;
    background: white; 
	border-bottom: solid 0.5px #003876;
}

  .archive-view .post__content {
    padding: 2em 2em 3em; }

  @media screen and (min-width: 768px) {
    .archive-view.has-sidebar .site-content {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap; }
    .archive-view.has-sidebar .page-header {
      width: 100%;
      -webkit-box-flex: 1;
          -ms-flex: 1 0 100%;
              flex: 1 0 100%; }
    .archive-view.has-sidebar .content-area {
      width: 100%;       -webkit-box-flex: 1;
          -ms-flex: 1 0 100%;
              flex: 1 0 100%; }
    .archive-view.has-sidebar .widget-area {
            -webkit-box-flex: 1;
          -ms-flex: 1 0 100%;
              flex: 1 0 100%; }
}
.page-header {
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
	margin-top: 1em;
 }

.page-title {
  margin: 0 0 .5em; }

.archive-description {
  margin: -1em 0 2em; }

/* For content-none.php */
.search .page-content,
.error-404 .page-content {
  margin-bottom: 2em;
  padding: 1em 2em;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  color: white;
  background: #ffffff; }

.search input[type="search"],
.error-404 input[type="search"] {
  padding: .5em; }

.search input[type="submit"],
.error-404 input[type="submit"] {
  border-color: white;
  color: white; }
  .search input[type="submit"]:focus, .search input[type="submit"]:hover,
  .error-404 input[type="submit"]:focus,
  .error-404 input[type="submit"]:hover {
    color: black; }

.sticky::before {
  content: "";
  display: block;
  width: 2em;
  height: 2em;
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 2em 2em 0;
  border-color: #eee #eee white;
  border-style: solid;
  -webkit-box-shadow: -1px 2px 2px rgba(26, 25, 25, 0.1);
          box-shadow: -1px 2px 2px rgba(26, 25, 25, 0.1); }

.index-image img {
  display: block;
  margin: 0 auto; }

.index-image a:focus > img,
.index-image a:hover > img {
  opacity: .8; }

.continue-reading {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif; }
  .continue-reading a {
    display: block;
    padding: .5em 1em;
    font-size: 90%;
    text-decoration: none;
    background: #d9d9d9; }
    .continue-reading a:focus, .continue-reading a:hover {
      color: white;
      background: #22ff1a; }

/* River action category page */

.rag-post-content {
   display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
	margin-bottom: 25px;
           }


  @media all and (min-width: 828px) {
.rag-post-content {
      -webkit-box-flex: 0;
          -ms-flex: 0 1 calc(33.0000% - 1em);
              flex: 0 1 calc(33.0000% - 1em); }
}


/*--------------------------------------------------------------
	
## Site Header
--------------------------------------------------------------*/
.site-header {
  position: absolute;
  padding: 1em;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  color: #fff;
  background-color: black;
  width: 100%; 
  z-index: 200;
  }
  
  @media all and (min-width: 600px) {
    .site-header {
      padding: 1em 1em; } }

@media all and (min-width: 828px) {
  .menu-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1080px;
    margin: 0 auto; } }


.events-content-area {
	width: 100%;
	}

.events-page-content {
	width:100%
	}

.header-image-area {
	background-color: #ffffff;
	text-align: center;
}

.header-image-area img {
	vertical-align: top;
	display: block;
	margin-left: auto;
 	margin-right: auto;
	background-color: #ffffff;
	width:100%;
	}


/*
Header Menu
*/
.main-menu {
	display: block;
	font-family: "Source Sans Pro", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
	font-weight: 400;
	clear: left;
}

.menu-main-menu ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-top: 1em;
	padding-left: 0;
}

.menu-main-menu ul ul {
	display: none;
	top: 1.5em;
	z-index: 99999;
}

.menu-main-menu ul ul ul {
	top: 0;
}

.menu-main-menu ul ul li {
	padding-left: 1em;
}

.menu-main-menu ul ul li:hover > ul,
.menu-main-menu ul ul li.focus > ul {
	left: 100%;
}

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

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

.menu-main-menu li {
	position: relative;
}

.menu-main-menu a {
	display: inline-block;
	width: 100%;
	padding: .5em 1em .5em 0;
	text-decoration: none;
	color: #fff;
}

.menu-main-menu a:hover,
.menu-main-menu a:focus {
	text-decoration: underline;
}

.menu-main-menu .menu-item-has-children,
.menu-main-menu .page_item_has_children {
	min-width: 218px;
}

.menu-main-menu .menu-item-has-children > a,
.menu-main-menu .page_item_has_children > a {
	padding-right: 2em;
}

button.dropdown-toggle {
	position: absolute;
	right: 0;
	border: none;
	background: inherit;
	color: white;
	line-height: 1.5em;
	padding: .4em 1em .4em .5em;
}

.menu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	margin: 1.2em 1.2em 0 0;
	padding: .6em .8em;
	font-size: 80%;
	text-transform: uppercase;
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Toggle small menu and children on */
.toggled-on ul,
.sub-menu.toggled-on {
	display: block;
}

@media screen and (min-width: 600px) {
	.menu-toggle {
		display: none;
	}
	.menu-main-menu .menu-item-has-children > a,
	.menu-main-menu .page_item_has_children > a {
		padding-right: 2em;
		background: rgba(255, 255, 255, 0.1);
	}
	.menu-main-menu ul {
		display: block;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
	}
	.menu-main-menu ul ul {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		background: rgba(255, 255, 255, 0.1);
		margin-left: 0;
	}
	.menu-main-menu ul ul li {
		padding-left: 0;
	}
	.menu-main-menu ul ul li a {
		width: 218px;
		background: none;
	}
	.main-navigation ul li a {
		padding: .4em 1em;
	}
}

@media screen and (min-width: 900px) {
	.menu-main-menu ul {
		-webkit-box-pack: end;
		    -ms-flex-pack: end;
		        justify-content: flex-end;
		padding-top: 0;
	}
		
			li:hover > ul,
				li:focus > ul {
				display: block;
			}
			
	}


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

.hentry {
  margin: 0 0 0.5em; }

.entry-header {
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  margin-top: 0.2em;
 }

.cat-links {
  font-size: 90%;
  font-weight: 300;
  margin-right: 2em;
 }
  .cat-links a {
    font-weight: 300;
    text-decoration: none;
    text-transform: uppercase;
    color: #003876; }

    .cat-links a:focus, .cat-links a:hover {
      border-bottom: 5px solid #003876; }

.entry-title {
  margin: .125em 0 .125em;
	text-decoration: none; }

.entry-title a {
        text-decoration: none;
        color: #003876; }

  @media all and (min-width: 828px) {
    .entry-title .entry-title {
		text-decoration: none;}
     
	.entry-title .entry-title a {
        text-decoration: none;
        color: #003876; }
 
}

.entry-meta,
.entry-footer {
  font-size: 90%; }
  .entry-meta a,
  .entry-footer a {
    font-weight: 300;
    text-decoration: none;
    color: #003876; }
    .entry-meta a:focus, .entry-meta a:hover,
    .entry-footer a:focus,
    .entry-footer a:hover {
      color: #003876;
      border-bottom: 3px solid #003876; }

.byline::after {
  content: "|";
  margin: 0 .5em; }

.comments-link::before,
.edit-link::before {
  content: "|";
  margin: 0 .5em; }

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

.single .byline,
.group-blog .byline {
  display: inline; }

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

.page-content,
.entry-content,
.front-page-content {
  max-width: 100%; }

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

.entry-footer {
  margin: 0.5em 0;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif; }

.recent-posts-title {
  text-align: left;
  font-size: 1.3em;
  line-height: 2.em;
  color: #003876; }

.recent-posts-lists a {
  color: #003876;
  font-weight: 500;
  font-size: 1.1em;
  text-align: left;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none; }

.recent-posts-text {
  text-decoration: none !important;
  color: #555;
  /* line-height: 1.085; */
  font-size: 0.9em;
  margin: 10px 8px; }

.recent-posts-text span {
  max-height: 3.63em;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%; }

.recent-posts-headline h3 {
  margin-top: 0.25em; }
  
.recent-posts-excerpts {
  font-size: 0.8em;
  color: #636262;
	
}

.entry-date {
  color: #999;
  font-size: 0.75em;
  margin-left: 8px;
  text-decoration: none !important; }

.recent-posts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
           }
  @media all and (min-width: 828px) {
    .recent-posts .recent-posts-lists {
      -webkit-box-flex: 0;
          -ms-flex: 0 1 calc(33.0000% - 1em);
              flex: 0 1 calc(33.0000% - 1em); }
      .recent-posts .recent-posts-lists .recent-posts-headline {
        margin-top: 0.25em; } 
}

/* IE10 styles */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.recent-posts .recent-posts-lists {
          -ms-flex: 0 1 auto;
		  width: calc(33.0000% - 1em);
	}
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word; }

.bypostauthor {
  display: block; }

/*--------------------------------------------------------------
## Footer 
--------------------------------------------------------------*/
.site-footer {
  position: relative;
  padding: 0;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  color: #fff;
  background-color: #006bb7;
  text-align: center; }

  @media all and (min-width: 600px) {
    .site-footer {
      padding: 1em 2em; } }

.site-footer-storymaps {
  position: relative;
  padding: 0;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  color: #fff;
  background-color: #006bb7;
  text-align: center; }

  @media all and (min-width: 600px) {
    .site-footer-storymaps {
      position: relative;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  color: #fff;
  background-color: #006bb7;
  text-align: center; padding: 1em 2em; } }

.social-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0; }

.social-menu a {
  display: block;
  padding: .5em 1em;
  color: white;
  text-decoration: none;
	text-align:center; }
  .social-menu a:hover, .social-menu a:focus {
    text-decoration: underline;
	color: #003876; }

@media all and (min-width: 828px) {
  .footer-content {
    max-width: 1080px;
    margin: 0 auto; }
  .social-menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0; } }

/*
	Footer Menu
	*/
.social-navigation {
  display: block;
  font-family: "din-2014", "Arial", "Calibri", "Lucinda Grande", sans-serif;
  font-weight: 400;
  clear: left; }
  .social-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-top: 1em;
    padding-left: 0; }
    .social-navigation ul ul {
      display: none;
      top: 1.5em;
      z-index: 99999; }
      .social-navigation ul ul ul {
        top: 0; }
      .social-navigation ul ul li {
        padding-left: 1em; }
        .social-navigation ul ul li:hover > ul,
        .social-navigation ul ul li.focus > ul {
          left: 100%; }
      .social-navigation ul ul a {
        width: 200px; }
    .social-navigation ul li:hover > ul,
    .social-navigation ul li.focus > ul {
      left: auto; }
  .social-navigation li {
    position: relative; }
  .social-navigation a {
    display: inline-block;
    width: 100%;
    padding: .5em 1em .5em 0;
    text-decoration: none;
    color: #fff; }
  .social-navigation a:hover,
  .social-navigation a:focus {
    text-decoration: underline; }
  @media all and (min-width: 828px) {
    .social-navigation .social-navigation ul {
      -webkit-box-pack: end;
          -ms-flex-pack: end;
              justify-content: flex-end;
      padding-top: 0; } }

/*--------------------------------------------------------------
	
# Widgets
--------------------------------------------------------------*/
.main-sidebar .widget {
  margin: 0.5em 0 1.5em;
  border-bottom: 1px solid #006bb7;
  padding-bottom: .5em;
  /* Make sure select elements fit in widgets. */ }
  .widget select {
    max-width: 100%; }

    
  /* Footer widget stylings */
.footer-widgets {
	margin: 0.5em 0 0;
	padding: 1em 0;
	border-width: 0;
}

.full-width-footer-widgets {
	width:100%;
	
}

.main-sidebar .widget {
	margin: 0.5em 0 1.5em;
	border-top: 10px solid #006bb7;
	padding-bottom: .5em;
	-webkit-box-flex: 0;
	-ms-flex: 0 1 calc(33.0000% - 1em);
	flex: 0 1 calc(33.0000% - 1em);
}

.footer-widget-area {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0.5em;

}

.justgiving img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.events-map {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0.5em;

}

.full-width-front-page-widgets{
	width:100%;
	background-color:darkblue;
}

.front-page-widget-area {
	max-width:1080px;
	margin: 0 auto;
}

.core-values .widget_custom_html .widget-title {
		display: none;
		}
.core-values .title {
	display: block;
	color: white;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}

.widget-title {
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
	background-color: #003876;
	}
		

span.line_limit {
	overflow: hidden;
	display: inline-block;
	max-width: 100%;
}

.footer-menu .widget_custom_html .widget-title {
		display: none;
		}
.footer-menu .title {
	display: block;
	color: white;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}

.footer-logo {
	display:inline-block; 
	vertical-align: middle;
	max-width: 85px;
	max-height: 85px;
	}

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

.core-values {
		/* Use flex to create a responsive layout */
		display: -webkit-box;
		display: -ms-flexbox;
		display: inline-flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-ms-flex-pack: distribute;
			flex-direction: row;
		    justify-content: space-between;
	}

.core-values .widget_custom_html {
		width: calc(33% - 1em);
		-webkit-box-flex: 1;
		    -ms-flex: 0 1 calc(33% - 1em);
		        flex: 0 1 calc(33% - 1em);
		
	}

.core-values .widget_custom_html .widget-title {
		display: none;
		}
.core-values .title {
	display: block;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}


.footer-menu {
		/* Use flex to create a responsive layout */
		display: -webkit-box;
		display: -ms-flexbox;
		display: inline-flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-ms-flex-pack: distribute;
			flex-direction: row;
		    justify-content: space-between;
	}

.footer-menu .widget_custom_html {
		width: calc(33% - 1em);
		-webkit-box-flex: 1;
		    -ms-flex: 0 1 calc(33% - 1em);
		        flex: 0 1 calc(33% - 1em);
		
	}

.footer-menu .widget_custom_html .widget-title {
		display: none;
		}
.footer-menu .title {
	display: block;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}
	
}

@media screen and (max-width: 1079px) and (min-width: 800px)   {

.core-values {
		/* Use flex to create a responsive layout */
		display: -webkit-box;
		display: -ms-flexbox;
		display: inline-flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-ms-flex-pack: distribute;
			flex-direction: row;
		    justify-content: space-between;
	}

.core-values .widget_custom_html {
		width: calc(50% -1em);
		-webkit-box-flex: 1;
		    -ms-flex: 0 1 calc(50% - 1em);
		        flex: 0 1 calc(50% - 1em);
	}

.core-values .widget_custom_html .widget-title {
		display: none;
		}
.core-values .title {
	display: block;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}
	
	
	.footer-menu {
		/* Use flex to create a responsive layout */
		display: -webkit-box;
		display: -ms-flexbox;
		display: inline-flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-ms-flex-pack: distribute;
			flex-direction: row;
		    justify-content: space-between;
	}

.footer-menu .widget_custom_html {
		width: calc(50% -1em);
		-webkit-box-flex: 1;
		    -ms-flex: 0 1 calc(50% - 1em);
		        flex: 0 1 calc(50% - 1em);
	}

.footer-menu .widget_custom_html .widget-title {
		display: none;
		}
.footer-menu .title {
	display: block;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
	}


}





@media screen and (min-width: 800px) {
	.front-page-widgets {
		padding: 1em 0.5em;
	}
}

.front-page-widgets .widget {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
	margin: 0 1em 2em;
	padding-top: 1em;
}

.front-page-widgets .widget .original-title {
	color: rgba(255, 255, 255, 0.5);
}

.front-page-widgets .widget,
.front-page-widgets .widget-title,
.front-page-widgets .widget a,
.front-page-widgets .widget_calendar thead,
.front-page-widgets .rss-date,
.front-page-widgets .widget_rss cite {
	color: white;
}

.front-page-widgets .widget_calendar td,
.front-page-widgets .widget_calendar a {
	color: black;
}

	.front-page-widgets {
		/* Use flex to create a responsive layout */
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		    flex-wrap: wrap;
		-ms-flex-pack: distribute;
		    justify-content: space-around;
		/* If only one widget is displayed, make it full width. */
		/* If 2 or 3 widgets are displayed, make the second one twice as wide. */
		/* If 4 or more widgets are displayed, show three across when available. */
	}
	.front-page-widgets .widget:only-of-type {
		width: 50%;
	}
	.front-page-widgets .widget:nth-last-child(n+2):nth-last-child(-n+3):first-child ~ .widget:nth-child(2) {
		width: 50%;
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 50%;
		        flex: 1 1 50%;
	}
	
	.front-page-widgets .widget:nth-last-child(n+4),
	.front-page-widgets .widget:nth-last-child(n+4) ~ .widget {
		width: 30%;
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 30%;
		        flex: 1 1 30%;
	}



/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer 
.infinite-scroll.neverending .site-footer-storymaps {
  /* 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
.infinite-scroll.neverending .site-footer-storymaps {
  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%; }

/* 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;
    font-size: 0.8em; }

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

figcaption,
.wp-caption-text {
	color: #6d6d6d;
	display: block;
	font-size: 0.9375rem;
	font-size: 15px
	line-height: 1.2;
	margin-top: 1.5rem;
}

figcaption a,
.wp-caption-text a {
	color: inherit;
}

/*--------------------------------------------------------------
## 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.3333333333%; }
  .gallery-columns-4 .gallery-item {
    max-width: 25%; }
  .gallery-columns-5 .gallery-item {
    max-width: 20%; }
  .gallery-columns-6 .gallery-item {
    max-width: 16.6666666667%; }
  .gallery-columns-7 .gallery-item {
    max-width: 14.2857142857%; }
  .gallery-columns-8 .gallery-item {
    max-width: 12.5%; }
  .gallery-columns-9 .gallery-item {
    max-width: 11.1111111111%; }

.gallery-caption {
  display: block; }
/*# sourceMappingURL=style.css.map */

/*--------------------------------------------------------------
## Events Calendar custom css
--------------------------------------------------------------*/

.tribe-mini-calendar-event .list-date {
	float: left;
	overflow: hidden;
	font-weight: bold;
	margin: 10px 5% 10px 0;
	padding: 3px;
	width: 15%;
	text-align: center;
	display: inline;
	background: #006bb7 !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.fp-map-headline {
	display: block;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	background-color: #003876;
}

.fp-map-headline h3{
	color: white;
	text-align: center;
	text-decoration: none !important; 
}

.fp-map-headline a{
	color: white;
	text-align: center;
	text-decoration: none !important; 
}

.tribe-bar-submit input[type="submit"] {
	-webkit-appearance: button;
	background: #006bb7 !important;
	background-image: none;
	border: none;
	border-radius: 0;
	color: #fff;
	font-size: 13px;
	height: auto;
	letter-spacing: 0;
	line-height: 2;
	padding: 10px;
	width: 100%;
}


.tribe-bar-views-inner {
	background: #003876 !important;
	margin: 0;
	padding: 15px 0 45px;
}

#tribe-bar-form label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 5px;
	padding: 0;
	text-transform: uppercase;
	color: #fff !important;
}

.tribe-icon-map {
	color: #fff !important;
}

.tribe-bar-views-list .tribe-bar-views-option a {
	background-color: #006bb7 !important;
	color: #fff !important;
	display: block;
	padding: 6px 15px;
	text-align: left;
	text-decoration: none;
}


#tribe-bar-views .tribe-bar-views-list .tribe-bar-views-option a {
	background:  #006bb7 !important;
	color: #fff !important;
	display: block;
	padding: 6px 15px;
	text-align: left;
	text-decoration: none;
}

.tribe-bar-views-list span.tribe-icon-map, .tribe-select2-results-views span.tribe-icon-map {
	background-image: url(images/events-bar/icon-map-hover.png)!important;
	background-position: 2px 50%;
	background-size: 12px 16px;
	color: #fff !important;	
}

#tribe-bar-form {
	background:  #003876 !important;
	margin: 0;
	position: relative;
	width: 100%;
}


#tribe-bar-form input[type="text"] {
	background: #fff !important;
	border: none;
	box-shadow: none;
	font-style: italic;
	font-weight: 400;
	height: auto;
	line-height: 1;
	padding: 5px;
	width: 100%;
	color: #006bb7 !important;
}

#tribe-bar-collapse-toggle {
	background: #006bb7 !important;
	display: none;
	float: left;
	font-size: 13px;
	font-weight: 700;
	line-height: 28px;
	padding: 15px;
	position: relative;
	text-transform: uppercase;
	color: #fff !important;
}

#tribe-events .tribe-events-button, .tribe-events-button {
	background:  #003876 !important;
	color: #fff !important;
	}
