#videos {
	padding-bottom: 0;
}
#videos > * {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#videos > * > * {
	display: block;
	width: 60%;
	max-width: 300px;
	padding: 0 var(--padding-lr);
	margin: 0 auto var(--header-height) auto;
	overflow: hidden;
}
#videos a.photo {
	display: block;
	position: relative;
	z-index: 0;
}
#videos a.photo::before {
	content: "";
	display: block;
	background: url(/images/icon-play.svg) center center no-repeat;
	background-size: 48px !important;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0;
	transition: 0.3s;
}
#videos a.photo img {
	border-radius: 50%;
}
#videos a:hover.photo::before {
	opacity: 0.8;
}
#videos a.caption {
	line-height: 1.25em;
	margin-top: 1em;
	display: block;
	color: var(--text-color);
	text-decoration: none;
}
@media (min-width:641px) {
	#videos > * > * {
		width: 28%;
	}
}

#mainvideo {
	display: none;
	/*background-color: yellow;*/
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	border: none;
	margin: 0;
	padding: 0;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}
#mainvideo iframe {
	border: none;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
#closevideobtn {
	display: block;
	position: absolute;
	top: var(--padding-lr);
	right: var(--padding-lr);
	color: #fff;
	width: 24px;
	height: 24px;
	font-size: 0;
	line-height: 24px;
	text-align: center;
	cursor: pointer;
	opacity: 0.8;
	overflow: hidden; /* prevent scrollbar */
	z-index: 201; /* pop z-index is 200. This is to ensure the button always visible */
	-webkit-transform: translate3d(0,0,0); /* Safari z-index order fix */
	
}
#closevideobtn::after {
	font-family: KYD;
	content: "\0042"; /* x */
	font-size: 24px;
	}




#cards {
	font-size: 0.85em;
	/*background-color: #fff;*/
}
#cards .card {
	border-top: 1px solid var(--border-color);
	padding-top: var(--header-height);
	padding-bottom: var(--header-height);
}
#cards .info {
	font-size: 0.8em;
}
#cards .info img {
	display: block;
	max-width: 300px;
	margin: auto auto 1em;
}

@media (min-width:801px) {
	#cards .info {
		width: 33.3333%;
		float: left;
		padding-right: var(--padding-lr);
	}
	#cards .info img {
		max-width: 100%;
	}
	#cards .highlight,
	#cards .message {
		width: 66.6666%;
		float: right;
		padding-left: var(--padding-lr);
	}
}


