a {
	color: #0066c0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body {
	font-family: 'Arial', serif;
	font-size: 1.0rem;	
}

figcaption {
	text-align: center;
}

figure {
	margin: 0;
}

h1 {
	color: black;
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
}

h2 {
	color: black;
	font-size: 1.2rem;
	font-weight normal;
	margin: 1.0rem 0 1.0rem 0;
	padding: 0;
}

h3 {
	font-size: 1.0rem;
	font-weight: normal;
	margin: 1.0rem 0 0.5rem 0;
	padding: 0;
}

html {
	color: #606060;
	/*font-size: 62.5%;*/
	font-size:  100%;
	scroll-padding-top: calc(var(--overlay-top) + 10px);
}

li {
	text-align: left;
}

ol {
	counter-reset: item;
	list-style-position: inside;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ol li:before {
	content: counters(item, ".") ". ";
	counter-increment: item;
}

ol li {
	margin: 0 0 0.4rem 0;
}

ol li ol {
	margin: 0.4rem 0 0 0.5rem;
}

p {
	line-height: 1.5rem;
	margin: 0.5rem 0 0.5rem 0;
}

table {
	border-collapse: collapse;
}

ul {
	list-style-type: none;
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

.blurrable {
	z-index: 0;
}

.blurred {
	filter: blur(2px);
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}


.two-column-grid {
	display: flex;
}

.two-column-grid div {
	flex: 50%;
}


/********************************************************************************
 * Contact
 ********************************************************************************/
 
#contact .map {
	text-align: center;
	width: 100%;
}
 
#contact .map iframe {
	display: block;
	margin: 0 auto;
	height: 100%;
	width: 100%;
}

#contact .contact-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#contact .contact-form h2 {
	text-align: center;
}

#contact .contact-form label {
	display: block;
	margin-top: 10px;
}

#contact .contact-form input, .contact-form textarea {
	width: 100%;
	padding: 8px;
	margin-top: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
}

#contact .contact-form button {
	width: 100%;
	padding: 10px;
	margin-top: 20px;
	border: none;
	background-color: #40a9a6;
	color: white;
	border-radius: 5px;
	font-size: 16px;
}

#contact .contact-form button:hover {
	background-color: #218838;
}

#contact .success-message {
	color: green;
	text-align: center;
	margin-top: 15px;
}

#contact .error-message {
	color: red;
	text-align: center;
	margin-top: 15px;
}

#contact .location {
	margin: 4.0rem 0 0 0;
}

/********************************************************************************
 * Group
 ********************************************************************************/

.group:after {
	clear: both;
	content: "";
	display: table;
}


/********************************************************************************
 * Contact
 ********************************************************************************/
 
#home img {
	display: block;
	margin: auto;
	width: 90%;
}


/********************************************************************************
 * Events
 ********************************************************************************/
 
#events h2 {
  text-align: center;
}

#events .event {
  margin: 0 0 2.0rem 0;
  padding: 0 0 2.0rem 0;
  text-align: center;
}

#events .event:not(:last-child) {
  border-bottom: 1px solid #cccccc;
}

#events .past-events {
  text-align: center;
}

#events .past-events a {
	display: inline-block;
}



/********************************************************************************
 * Gallery
 ********************************************************************************/

#gallery h3 {
	text-align: center;
}

#gallery img {
	max-width: 100%;
}

#gallery .one-column-grid div {
	padding: 0.2rem;
}

#gallery .two-column-grid div {
	padding: 0.2rem;
}


/********************************************************************************
 * Home
 ********************************************************************************/

#home nav ol {
	list-style-type: none;
	list-style: none!important;
}

#home nav ol li {
	text-align: center;
	padding: 1rem 0 1rem 0;
}

#home nav ol li:before {
	content: "";
}

#home nav ol li a {
	color: #606060;
	font-size: 1.5rem;
	text-decoration: none;
}

#home nav ol li a:hover {
	text-decoration: underline;
}


/********************************************************************************
 * Site Footer
 ********************************************************************************/

#site-footer {
	background-color: #40a9a6;
	color: #dddddd;
	font-size: 0.9rem;
	margin: 3.0rem 0 0 0;
	padding: 2.0rem 0 1.0rem 0;
	text-align: center;
}

#site-footer a {
	color: #dddddd;
}

#site-footer-copyright {
	padding: 1.0rem 0 0 0;
}

#site-footer-connect {
	padding: 0 0 0.2rem 0;
}

#site-footer-connect li {
	display: inline-block;
}

#site-footer-connect li::after {
	content: "|";
	padding: 0 0.5rem 0 0.5rem;
}

#site-footer-connect li:last-child::after  {
	content: "";
 	padding: 0;
}

#site-footer-legal li {
	display: inline-block;
}

#site-footer-legal li::after {
	content: "|";
	padding: 0 0.5rem 0 0.5rem;
}

#site-footer-legal li:last-child::after  {
	content: "";
	padding: 0;
}


/********************************************************************************
 * Site Header
 ********************************************************************************/

#site-header {
	margin: 0 0 3.0rem 0;
	/*position: sticky;
	top: 0;
	z-index: 1;*/
}

#site-header-brand {
	display: inline-block;
	position: relative;
	left: 50%; 
	text-align: center;
	transform: translateX(-50%);
}

#site-header-brand a {
	color: white;
}

#site-header-brand a:hover {
	text-decoration: none;
}

#site-header-close-vertical-menu {
	border-bottom: 0!important;
}

#site-header-close-vertical-menu i {
	float: right;
}

#site-header-nav-primary-icon {
	position: absolute;
	top: 0.5rem;
	z-index: 5;
}

#site-header-nav-primary nav li {
	padding: 1.0rem 1.0rem 1.0rem 0;
}

/* Hide menu overlay and slide in when visible */
#site-header-nav-primary.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	background-color: white;
	overflow-x: hidden;
	transition: width 0.3s;
	z-index: 1;
	top: var(--overlay-top);
}

/* Show the menu overlay */
#site-header-nav-primary.overlay.show {
	border-right: 1px solid #c0c0c0;
	width: 70%;
}

#site-header-nav-primary.overlay.show nav li {
	border-bottom: 1px solid #c0c0c0;
}

#site-header-nav-primary a {
	color: black;
	display: block;
}

#site-header-nav-primary nav li:hover {
	background-color: #e0e0e0;
}

/* Show vertical menu */
#site-header-nav-primary-icon {
	display: inline-block;
	font-size: 1.5rem;
	/*letter-spacing: 0.2rem;*/
	padding: 0;
	width: 1.6rem;
}

#site-header-nav-primary-icon .fa-bars {
	color: white;
	/*padding-right: 0.5rem;*/
}

#site-header-nav-primary-icon .fa-close {
	color: white;
	/*padding-right: 0.5rem;*/
}

#site-header-tagline {
	font-size: 1.2rem;
	/*line-height: 2.0rem;*/
	padding: 0.5rem 0 0.1rem 0;
	text-align: center;
}

#site-header-subtitle {
	padding: 1rem 0 0 0; 
}

#site-header-title {
	font-size: 1.7rem;
	font-weight: bold;
	text-align: center;
}

#site-header-row1 {
	background-color: #40a9a6;
	padding: 0.5rem 0 0.5rem 0;
}

#site-header-row2 {
	background-color: #40a9a6;
}

/* Desktop */
@media only screen and (min-width: 960px) {
	/* Horizontal menu items */
	#site-header .nav {
		display: block;
		
		text-align: center;
	}
	
	#site-header .nav li {
		display: inline-block;
		font-weight: bold;
		line-height: 2rem;
	}
	
	#site-header-nav-primary nav li:hover {
		background-color: inherit;
	}
	
	#site-header-nav-primary nav li a:hover {
		text-decoration: underline;
	}

	#site-header-nav-primary ul {
		background-color: #40a9a6;
	}
	
	#site-header-nav-primary a {
		color: white;
	}

	/* Reset menu overlay */
	#site-header-nav-primary.overlay {
		height: auto;
		width: auto;
		position: static;
		overflow-x: visible;
		transition: width 0.5s;
		z-index: auto;
	}
	
	#site-header-nav-primary nav li {
		padding: 0.5rem 1.0rem 0.5rem 0;
	}
	
	/* Hide vertical menu icon */
	#site-header-nav-primary-icon {
		display: none;
	}
	
	#site-header-close-vertical-menu {
		display: none!important;
	}
}


/********************************************************************************
 * Wrap
 ********************************************************************************/

.wrap {
	margin: 0 auto;
	padding: 0 0.5rem 0 0.5rem;
}

#site-header-row2 .wrap {
	padding-left: 0;
}

#site-header-row2 .wrap li {
	padding-left: 0.5rem;
}

/* Desktop */
@media only screen and (min-width: 960px) {

	#site-header-row2 .wrap {
		padding-left: 0.5rem;
	}

	#site-header-row2 .wrap li {
		padding-left: 0;
	}

	/* Keep the max width to 960px */
	.wrap {
		max-width: 960px;
	}
}