/*
Theme Name: ECN-2016
Theme URI: http://www.delynx.nl
Author: Daniël Schwitters
Author URI: http://www.delynx.nl
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compostnetwork
Tags:

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.

ECN-2016-2 is based on Underscores http://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 http://necolas.github.com/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: 'Titillium Web', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	height: 100%;
	background: #474749 none repeat scroll 0 0;
}

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: 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: black;
	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 {
	border: 1px solid #777777;
    padding: 4px;
}
#wpdm-all-packages td, 
#wpdm-all-packages th {
    border: 0px solid #777777;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: black;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

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

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	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;
}
.clearfix {
    overflow: auto;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
	border-top: 15px solid #93c01f;
	font-size: 14px;
}
#page {
	width: 1024px;
	margin: 0 auto;
	min-height: 900px;
}
.hidden {
	display: none;
}
#masthead {
	min-height: 150px;
	position: relative;
	margin-bottom: 15px;
}
#masthead .logo {
	background-image: url("img/icon-ECN-logo-header.png");
    background-repeat: no-repeat;
    height: 150px;
    left: 0;
    position: absolute;
    top: 0;
    width: 210px;
}
#masthead .site-title {
	font-size: 16px;
    font-weight: bold;
    left: 220px;
    margin: 0;
    position: absolute;
    text-transform: uppercase;
    top: 18px;
}
#masthead .site-title a {
	text-decoration: none;
	color: #474749;
}
#masthead .site-title a:hover {
	color: black;
}
#masthead .headertopitems {
	position: absolute;
    right: 0;
	top: 18px;
}
#masthead .headertopitems a {
	text-decoration: none;
	color: #474749;
	float: left;
	padding-top: 2px;
}
#masthead .headertopitems .fa-lock {
	color: #474749;
    float: left;
    margin-right: 8px;
    margin-top: 7px;
}
#masthead .headertopitems .loginoutlink:before {
	font-family: FontAwesome; 
	content: "\f023";
	color: #474749;
    padding: 0 5px;
}
.headerprivacy {
	margin-left: 20px;
}
#masthead .search-form {
	border: 1px solid #474749;
    border-radius: 2px;
	float: left;
	margin: 0 20px;
}
#masthead .search-form label:before {
	font-family: FontAwesome; 
	content: "\f002";
	color: #474749;
    padding: 0 5px;
}
#masthead .search-form .search-field {
	border: 0px solid white;
	font-size: 14px;
	line-height: 1.2;
	padding: 4px 0;
}
#headerhomeimage {
	border-bottom: 15px solid #951681;
	height: 155px;
}
#headerimage {
	height: 70px;
    overflow: hidden;
	background-image: url("img/tagSliderECN.jpg");
}
#breadcrumbs {
	background: #474749 none repeat scroll 0 0;
    color: white;
    font-size: 12px;
    margin: 5px 0 0;
    padding: 2px 0 6px 35px;
}
#breadcrumbs a {
    color: white;
	text-decoration: none;
}
#breadcrumbs a:hover {
	text-decoration: underline;
}
.archive .breadnews {
	display: none;
}
.homepagecolwrapper {
	padding: 0 25px;
    width: 100%;
}
.homepagecolwrapper .homepagecol {
	float: left;
    padding: 3%;
    width: 33%;
}
.homepagecolwrapper .homepagecol .homepagecolheader {
	text-align: center;
    text-transform: uppercase;
	border-bottom: 1px solid #951681;
}
.homepagecolwrapper .homepagecol .homepagecolheader h2 {
	color: #951681;
    font-size: 1.2em;
    margin: 5px 0;
}
.homepagecolwrapper .homepagecol .aboutecncontent {
	background-color: #efddec;
    padding: 0 10px;
}
.homepagecolwrapper .homepagecol .aboutecncontent p {
	margin: 0 !important;
    padding: 1em 0 0 !important;
}
.homepagecolwrapper .homepagecol .homepagecolcontent p {
	margin: 0;
    padding: 1em 0 0;
}
.homepagecolwrapper .homepagecol .homepagecolcontent {
	height: 330px;
    margin: 10px 0;
}
.recpubhome .homepagecol .homepagecolcontent {
	height: 280px;
	overflow: hidden;
}
.homepagecolwrapper .homepagecol .homepagecolcontent .homenewsitem {
	border-top: 1px solid black;
	padding: 10px 0 15px;
}
.homepagecolwrapper .homepagecol .homepagecolcontent .homenewsitem:first-of-type {
	border-top: 0px solid black;
	padding: 0 0 15px;
}
.homepagecolwrapper .homepagecol .homepagecolcontent .homenewsitem p {
	padding: 0;
}
.homepagecolwrapper .homepagecol .homepagecolcontent .homenewsitem h3 {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}
.homepagecolwrapper .homepagecol .homepagecolcontent .homenewsitem a {
	color: #951681;
    text-decoration: none;
}
.homepagecolwrapper .homepagecol .homepagecolfooter {
	border-top: 1px solid #951681;
	padding: 5px 0;
}
.homepagecolwrapper .homepagecol .homepagecolfooter a {
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	color: #951681;
	float: right;
}
.homepagecolwrapper .homepagecol .homepagecolfooter .homemorelink {
	margin: 3px 10px;
}
.publicationsdivider {
	background: #951681 none repeat scroll 0 0;
    color: white;
    line-height: 1.7em;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}
#colophon {
	background: #474749 none repeat scroll 0 0;
    border-top: 15px solid #951681;
    height: 60px;
    width: 100%;
}
#footerpagewrapper {
	color: white;
    font-size: 12px;
    height: 45px;
    margin: 0 auto;
    width: 1024px;
	position: relative;
}
#footerpagewrapper a {
	color: white;
	text-decoration: none;
}
#footerpagewrapper #footerlinks,
#footerpagewrapper #footer-r-m,
#footerpagewrapper #footernewsletterlink,
#footerpagewrapper #footersocmed,
#footerpagewrapper #footer-eeb {
	position: absolute;
}
 
#footerpagewrapper #footerlinks {
	padding: 12px 0 0;
    width: auto;
	top: 0;
}
#footerpagewrapper #footer-r-m {
	height: 45px;
	left: 580px;
	width: 100px;
	background-image: url("img/icon-ECN-renewable-matter-footer.png");
	background-repeat: no-repeat;
}
#footerpagewrapper #footer-eeb {
	height: 45px;
	left: 350px;
	width: 190px;
	background-image: url("img/EEB_logo_b-w.png");
	background-repeat: no-repeat;
	padding: 0 50px 0 0;
	background-position: right;
}
#footerpagewrapper #footernewsletterlink {
    top: 9px;
    width: auto;
	right: 140px;
}
#footerpagewrapper #footernewsletterlink p {
	float: left;
    margin: 3px 3px 0 0;
}
#footerpagewrapper #footersocmed {
    top: 9px;
    width: auto;
	right: 0;
}
#footerpagewrapper #footersocmed p {
	float: left;
    margin: 3px 1px 0 8px;
}
#footerpagewrapper .footerfacebookicon {
	margin: 1px 5px 0 5px;
}
#footerpagewrapper .footertwittericon {
	margin: 0;
}
/* downloadmanager styling*/
.w3eden a.btn {
    color: #951681 !important;
    background: none !important;
}
.w3eden a {
    color: #951681;
}
.w3eden a:hover {
    text-decoration: none;
    color: #951681;
}
.w3eden .homecountryrep {
    border-top: 1px solid black;
    padding: 15px 0;
}
.w3eden .homecountryrep:first-of-type {
    border-top: 0px solid black;
}
.w3eden .homecountryrep h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
}
.w3eden .homecountryrep .downloadinfo {
    font-size: 0.8em;
}
.w3eden .homecountryrep .downloadlink {
    font-size: 0.9em;
    font-weight: bold;
    text-align: right;
}
.w3eden .homecountryrep .downloadinfo,
.w3eden .homecountryrep .downloadlink {
    padding: 0 !important;
}
.w3eden .pospaphome  {
	border-top: 1px solid black;
	/*padding: 0 0 4px;*/
	padding: 10px 0;
}
.w3eden .pospaphome:first-of-type  {
	border-top: 0px solid black;
}
.w3eden .pospaphome h3 {
	font-size: 13px;
    margin: 0;
}
.w3eden .pospaphome h3 a {
	color: black;
}
.w3eden .pospaphome h3 a:hover {
	text-decoration: underline;
}
.w3eden .pospaphome .pospaphomedate {
	font-size: 0.85em;
    padding: 0 !important;
}
.w3eden .pospaphome .pospaphometags {
	line-height: 0;
    margin-left: -5px !important;
    padding: 0 !important;
}
.w3eden .pospaphome .pospaphometags .btn-default {
	background: transparent none repeat scroll 0 0;
    color: #951681;
    margin: 0 !important;
    padding: 0;
	font-size: 8px;
	border: 0px solid;
    font-weight: 700;
}
.w3eden .pospaphome .pospaphometags .btn-default .fa-tag {
	display: none;
}
.w3eden .pospaphome .pospaphomedirectlink {
	font-size: 13px;
    font-weight: bold;
    padding: 0 !important;
    text-align: right;
}
.w3eden #wpdmap-home:after {
	content:" > "
}
.w3eden .btn-success, 
.w3eden .flat-success, 
.w3eden .flat-success.btn-bordered:hover {
    background-color: #93c01f;
    color: #ffffff;
}
.w3eden .btn-success:focus,
.w3eden .btn-success:hover:not(.no-hover),
.w3eden .flat-success:hover:not(.no-hover),
.w3eden .flat-success.btn-bordered {
    background-color: #951681;
}
.w3eden .pagination > li > a, 
.w3eden .pagination > li > span {
    color: #951681;
}
.w3eden .pagination > .active > a, 
.w3eden .pagination > .active > a:focus, 
.w3eden .pagination > .active > a:hover, 
.w3eden .pagination > .active > span, 
.w3eden .pagination > .active > span:focus, 
.w3eden .pagination > .active > span:hover {
    background-color: #951681;
    border-color: #951681;
}
.home .w3eden #wpdm-popup-link {
	display: none;
}
/* end downloadmanager styling*/

.page-template-page-withsidebar #main {
	
}
.page-template-page-withsidebar #main article {
	float: left;
    width: 49%;
}
.page-template-page-withsidebar #main aside {
	float: right;
    width: 49%;
}
.page-template-page-withsidebar #main aside h2 {
	border-bottom: 2px solid #951681;
    color: #951681;
    font-size: 16px;
}
#content {
	padding: 15px 30px;
}
.home #content {
	padding: 0;
}
.archive #primary,
#eventlisttemplate #primary {
	width: 850px;
}
#eventlisttemplate .entry-content {
	margin: 0;
}
.archive #primary .post,
.archive #primary .wpdmpro,
#eventlisttemplate #primary .post {
	border-top: 1px solid black;
    margin: 0;
    padding: 15px 0;
}
.archive #primary .post a,
.archive #primary .wpdmpro a {
	text-decoration: none;
}
.archive #primary .post a:hover,
.archive #primary .wpdmpro a:hover {
	text-decoration: underline;
}
.archive #primary .post:first-of-type,
.archive #primary .wpdmpro:first-of-type,
#eventlisttemplate #primary .post:first-of-type {
	border-top: 0px solid black;
}
.archive #primary .post .archivethumb,
.archive #primary .wpdmpro .archivethumb,
#eventlisttemplate #primary .post .archivethumb {
	float: left;
    width: 150px;
	height: 85px;
}
#eventlisttemplate #primary .post .archivethumb {
	background-image: url("img/no-image.gif");
}
.archive #primary .post .archivecontent,
.archive #primary .wpdmpro .archivecontent,
#eventlisttemplate #primary .post .archivecontent {
	float: right;
    width: 675px;
}
#eventlisttemplate #primary .post .archivecontent .eventdate {
	color: #951681;
    font-size: 0.9em;
    font-weight: bold;
}
#eventlisttemplate #primary .post .archivecontent .eventtitle {
	font-size: 1.1em;
}
#eventlisttemplate #primary .post .archivecontent .eventtitle a {
	color: black;
    font-weight: bold;
	text-decoration: none;
}
#eventlisttemplate #primary .post .archivecontent .eventtitle a:hover {
	text-decoration: underline;
}
#eventlisttemplate #primary .post .archivecontent .eventlocation {
	color: #951681;
    font-size: 0.9em;
}
/*.wri_content_clear_both i {
	display: none;
}*/
.archive #primary .post .archivecontent .entry-meta,
.archive #primary .wpdmpro .archivecontent .entry-meta{
	font-size: 11px;
}
.archive #primary .post .entry-header h2,
.archive #primary .wpdmpro .entry-header h2 {
	font-size: 14px;
    margin: 0;
}
.archive #primary .post .entry-summary,
.archive #primary .post .entry-summary p,
.archive #primary .wpdmpro .entry-summary,
.archive #primary .wpdmpro .entry-summary p {
	margin: 0;
	font-size: 12px;
    line-height: 15px;
}
.page-header .pageiconnews {
	text-align: center;
    width: 70px;
}
.pageiconevent {
	text-align: center;
    width: 85px;
}
.page-header h1,
#eventlisttemplate #primary h1 {
	border-bottom: 1px solid #951681;
    line-height: 1em;
    margin: 0;
    padding: 0 0 10px;
}
.wp-pagenavi {
	margin: 25px 0 0;
    text-align: center;
}
.wp-pagenavi .current,
.wp-pagenavi .page,
.wp-pagenavi .previouspostslink {
	margin-right: 10px;
}
.wp-pagenavi a {
	text-decoration: none;
	font-weight: bold;
}
.wp-pagenavi a:hover {
	text-decoration: underline;
}
.single .post {
	/*float: left;
    width: 430px;*/
	float: none;
    width: 100%;
}
aside.related-widget {
	/*float: right;
    width: 430px;*/
	float: none;
    width: 100%;
}
aside.related-widget .widget_wri_widget {
	float: left;
    width: 48%;
}
.wpdmpro-template-default .wpdm-download-link {
	display: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
	margin: 0;
}

ul {
	list-style: square;
    padding: 0 0 0 15px;
	list-style-image: url('img/square-bullet-purple.gif');
}

ol {
	list-style: decimal;
    padding: 0 0 0 15px;
}
li {
	margin-bottom: 5px;
}
ol li p {
	display: none;
}

li > ul,
li > ol {
	margin-bottom: 15px;
	margin-left: 0;
}

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;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: black;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

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: black;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

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: black;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited,
a:hover,
a:focus,
a:active {
	color: #951681;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	bottom: 0;
    clear: both;
    display: block;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    right: 0;
}

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

.main-navigation li {
	float: left;
    position: relative;
    text-transform: uppercase;
	margin-bottom: 0;
}
.main-navigation .sub-menu {
	background: #d2d3d5 none repeat scroll 0 0;
    box-shadow: none;
    font-size: 15px;
    margin-top: 31px;
}
.main-navigation .sub-menu .sub-menu {
    margin-top: 0;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 15px 31px;
	color: #474749;
	border-right: 1px solid white;
}

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

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

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

.main-navigation ul ul li {
}
.main-navigation ul ul li a {
	padding: 7px 15px;
	border-bottom: 1px solid #6c6c6d;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	background: #951681 none repeat scroll 0 0;
	color: white;
	border-right: 1px solid white;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	background: #951681 none repeat scroll 0 0;
	color: white;
	border-right: 1px solid white;
}

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: 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 {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	color: black;
	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 {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

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

.hentry {
	margin: 0 0 1.5em;
}

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

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

.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, /* Older / Newer Posts Navigation (always hidden) */
.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%;
}

/*--------------------------------------------------------------
## 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;
}
#responsive_menu_pro_additional_content a {
	color: white;
	text-decoration: none;
}
.hiddenitem {
	display: none;
}

/*  responsive */
@media only screen and (min-width: 1030px) {
    .mobileonly {
        display: none;
    }
}
@media only screen and (max-width: 1260px) {
	#footerpagewrapper {
		height: auto;
		width: 100%;
		text-align: center;
		padding: 0 15px;
	}
	#footerpagewrapper #footerlinks, 
	#footerpagewrapper #footer-r-m, 
	#footerpagewrapper #footernewsletterlink, 
	#footerpagewrapper #footersocmed,
	#footerpagewrapper #footer-eeb {
		position: relative;
	}
	#footerpagewrapper #footer-r-m {
		left: 0;
		margin: 10px auto;
	}
	#footerpagewrapper #footer-eeb {
		left: 0;
		margin: 10px auto;
		width: 220px;
		padding-top: 2px;
	}
	#footerpagewrapper #footernewsletterlink {
		margin: 15px auto 5px;
		right: 0;
		top: 0;
		max-width: 183px;
	}
	#footerpagewrapper .footertwittericon {
		margin: 0;
	}
	#footerpagewrapper #footersocmed {
		margin: 15px auto 25px;
		right: 0;
		top: 0;
		max-width: 157px;
	}
	#footerpagewrapper #footerlinks {
		margin: 0 auto 15px;
		max-width: 420px;
		top: 0;
	}
}
@media only screen and (max-width: 1030px) {
    .headertopitems {
        display: none;
    }
	#page {
		width: 100%;
	}
	#headerhomeimage {
		height: auto;
		line-height: 0;
	}
	#headerhomeimage a {
		font-size: 0;
	}
	#headerhomeimage a img {
		
	}
	#responsive_menu_pro ul,
	#responsive_menu_pro ul ul {
		list-style: outside none none !important;
	}
}
@media only screen and (max-width: 670px) {
    #masthead {
		min-height: 120px;
	}
    #masthead .logo {
		background-size: 140px auto;
		height: 100px;
		width: 140px;
	}
	#masthead .site-title {
		left: 23px;
		top: 105px;
	}
	.homepagecolwrapper {
		padding: 0;
	}
	.homepagecolwrapper .homepagecol {
		float: none;
		padding: 3%;
		width: 100%;
		border-bottom: 2px solid #59595b;
	}
	.homepagecolwrapper .homepagecol .homepagecolcontent {
		height: auto;
	}
	.homepagecolwrapper .homepagecol .aboutecncontent {
		padding: 10px;
	}
	.archive #primary, 
	#eventlisttemplate #primary {
		width: 100%;
	}
	.archive #primary .post .archivethumb, 
	.archive #primary .wpdmpro .archivethumb, 
	#eventlisttemplate #primary .post .archivethumb {
		float: none;
		margin: 0 auto 15px;
	}
	.archive #primary .post .archivecontent, 
	.archive #primary .wpdmpro .archivecontent, 
	#eventlisttemplate #primary .post .archivecontent {
		float: none;
		width: 100%;
	}
	#headerimage img {
		height: 100%;
	}
	.single .post {
		float: none;
		width: 100%;
	}
	#content {
		padding: 15px;
	}
	.page-template-page-withsidebar #main article,
	.page-template-page-withsidebar #main aside {
		float: none;
		width: 100%;
	}
	.page-template-page-withsidebar #main aside {
		border-top: 15px solid #951681;
	    padding-top: 25px;
	}
	.em-location-map-container {
		width: 290px !important;
	}
}
