/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,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:700}dfn{font-style:italic}h1{font-size:2em;margin:.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:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-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]{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-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

html {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: #fff;
    padding: 0;
	margin: 0;
	overflow: hidden;
	/*overflow-x: hidden;
	overflow-y: auto;*/
}
body * {
	box-sizing: border-box;
}

#layout {
	width: 100%;
	max-width: 810px;
	margin: 0 auto;
	background-color: #e9eaed;
	overflow: hidden;
}

header {
	padding: 20px;
	color: #fff;
	background: url("/img/core/events/events_intro.jpg?v=1564410268") no-repeat scroll 0 0 #666;
	background-size: cover;
	background-position: center center;
	max-height: 365px;
}
header h1 {
	margin-top: 0;
	font-family: Open Sans Condensed;
	font-size: 40px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 10px 0;
	color: #f6bc02;
	line-height: 1;
}
header h2 {
	font-weight: normal;
	margin: 0;
}
header ul {
	margin: 10px 0;
	font-size: 17px;
}

#headline {
	border: 1px solid #ddd;
	border-radius: 3px;
	background-color: #fff;
	margin: 20px;
	padding: 10px;
}
#headline h3 {
	font-family: Open Sans Condensed;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	color: #12a2a1;
	text-transform: uppercase;
}
#noEvents {
	margin: 15px 20px 5px;
	padding: 10px;
	text-align: center;
}
#noEvents h3 {
	font-size: 20px;
	color: #666;
	font-weight: normal;
	margin: 0;
	line-height: 1.3;
}

#events {
    padding: 0 20px;
}

#events aside {
	text-align: right;
}

.eventBlock {
	float: left;
	width: 50%;
	margin-bottom: 20px;
	position: relative;
	cursor: pointer;
}
.eventBlock.odd {
	padding-right: 10px;
}
.eventBlock.even {
	padding-left: 10px;
}

.eventBlock .infoLink {
	position: absolute;
	top: 15px;
	opacity: 0;
	background-color: #ea6262;
	width: 50px;
	height: 50px;
	z-index: 200;
	display: none;
}

.eventBlock.even .infoLink {
	right: 15px;
}
.eventBlock.odd .infoLink {
	right: 25px; /* +10px for the margin */
}
.eventBlock .infoLink img {
	width: 100%;
	height: auto;
}
.eventBlock .infoLink svg {
	fill: #fff;
}

@media all and (max-width: 520px){
	.eventBlock {
		float: none;
		width: 100%;
		padding: 0 !important;
	}
}

/* only happens on canvas display
@media all and (min-width: 900px){
	.eventBlock {
		width: 33.3%;
	}
	.eventBlock.odd, .eventBlock.even {
		padding-left: 0;
	}
	.eventBlock:nth-child(3n-1){
		padding-right: 5px;
	}
	.eventBlock:nth-child(3n){
		padding: 0 5px;
	}
	.eventBlock:nth-child(3n+1){
		padding-left: 5px;
	}
}*/

.event {
	border: 1px solid #ddd;
	border-radius: 3px;
	overflow: hidden;
	display: block;
	color: #000;
	text-decoration: none;
}
.event .content {
	background-color: #fff;
	padding: 5px 10px;
	height:113px;
}
.event .image {
	display: block;
	min-height: 100px;
	padding-bottom: 35%;
	background-size: cover;
	background-position: center center;
}
.event .imageHolder {
	display: block;
	padding-bottom: 35%;
	min-height: 100px;
	overflow: hidden;
	position: relative;
}
.event .imageHolder .image {
	position: absolute;
	height: 100%;
	width: 100%;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	-moz-background-size: cover;
	-webkit-background-size: cover;
	background-size: cover;
}

/* RSVP on hover */
.event .imageHolder .overlay {
	background-color: rgba(0, 0, 0, 0.5);
	bottom: 0;
	color: #fff;
	display: block;
	font-family: Open Sans Condensed;
	font-size: 36px;
	font-weight: bold;
	text-transform: uppercase;
	left: 0;
	line-height: 0;
	opacity: 0;
	padding: 17.5% 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	transition: all 0.5s ease;
	z-index: 200;
	-moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.event img {
	display: block;
	width: 100%;
	height: auto;
	float: left;
}
.event h4 {
	margin: 0;
	font-family: Open Sans Condensed;
	font-size: 21px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.3;
	transition: color 0.5s ease;
}
.event span {
	display: block;
	font-size: 14px;
	padding: 2px 0;
	color: #000;
}

.eventBlock, .eventBlock * {
	transition: 0.5s all ease;
}
/*.eventBlock:hover .infoLink {
	opacity: 1;
}*/
.eventBlock:hover .event {
	box-shadow: 0 0 10px #888;
	border-color: #666;
}
.eventBlock:hover .event h3 {
	color: #ea6262;
}
.eventBlock:hover .event img {
	transform: scale(1.1); 
}
.eventBlock:hover .event .imageHolder .image {
	-moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.eventBlock:hover .event .imageHolder .overlay {
	opacity: 1;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
}
/* only show text when big enough though*/
@media screen and (max-width: 319px){
	.eventBlock:hover .event .imageHolder .overlay {
		font-size: 0;
		text-indent: -9999px;
	}
}

select {
	font-family: inherit;
}

footer {
	padding: 30px 0 40px;
	text-align: center;
}

footer a {
	font-family: "Open Sans Condensed";
	font-size: 24px;
	line-height: 1;
	padding: 10px;
	color: #fff !important;
	font-weight: bold;
	text-transform: uppercase;
	border-radius: 5px;
	text-decoration: none;
	background-color: #5ab77f;
	box-shadow: 0 -4px 0 0 #499467 inset;
	transition: background-color 0.5s ease;
	display: inline-block;
}
footer a:hover {
	background-color: #499467;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1; /* ie 6/7 */
}

/* popup description */
.description {
	background: #fff;
	padding: 20px 30px;
	text-align: left;
	max-width: 400px;
	margin: 40px auto;
	position: relative;
	width: 90%;
	max-width: 1000px;
	font-size: 14px;
}
.description p {
	margin-top: 0;
}

/* MFP FADE-ZOOM animation */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out; 
	-moz-transition: all 0.2s ease-in-out; 
	-o-transition: all 0.2s ease-in-out; 
	transition: all 0.2s ease-in-out; 
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: scale(1); 
	-moz-transform: scale(1); 
	-ms-transform: scale(1); 
	-o-transform: scale(1); 
	transform: scale(1); 
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
	-webkit-transform: scale(0.8); 
	-moz-transform: scale(0.8); 
	-ms-transform: scale(0.8); 
	-o-transform: scale(0.8); 
	transform: scale(0.8); 
	opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out; 
	-moz-transition: opacity 0.3s ease-out; 
	-o-transition: opacity 0.3s ease-out; 
	transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}

/* MFP FADE-MOVE animation */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	-webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	-o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
	transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	-o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
	transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
	opacity: 0;
	-webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	-o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
	transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out; 
	-moz-transition: opacity 0.3s ease-out; 
	-o-transition: opacity 0.3s ease-out; 
	transition: opacity 0.3s ease-out;
}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}