/* #region variables */
:root {
	--green-color: #486A33;
	--font-color: #666;
	--footer-font-color: white;
  }
/* #endregion */

/* #region font */

.teaser-large h2,
.teaser-small h2{
	color: white;
	font-size: 1.3em;
}

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

/* #endregion */

/* #region team */



/* #endregion */

/* #region layout */
.staff p{
	margin-top: .5em;
}
/* #endregion */

/* #region navigation */
.uk-navbar-container:not(.uk-navbar-transparent) {
	background: none;
}

.uk-nav.social-list li {
	display: inline-flex;
}

.social-list a{
	margin-right: .5em;
}



/* #endregion */

/* #region slider and overlays */

.uk-overlay-primary,
.teaser-large .uk-overlay-default,
.teaser-small .uk-overlay-default{
		background: #2f571f91;
}

.teaser-large .uk-overlay-default,
.teaser-small .uk-overlay-default{
	padding: 1em;
}

/* #endregion */



/* #region footer */
#footer{
	color: var(--footer-font-color);
	color: white;
}

.uk-section-secondary{
	background: var(--green-color);
}

/* #endregion */


#edit-page {
	/* the edit page link that appears when page is editable */
	position: absolute;
	top: 10px;
	right: 10px
}

#offcanvas-toggle {
	position: absolute;
	top: 15px;
	right: 15px; 
}

#offcanvas-nav .uk-search-input {
	width: 100%;
}


/****************************************************************
 * Bodycopy text and images
 *
 */

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}


/*  */

/*********************************************************************
 * Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}
}

@media only screen and (max-width: 959px) {
	#masthead {
		padding-bottom: 20px;
	}
	
	
}

