/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
.event-featured-image {
	width: 100%;
	min-height: 700px;
	background-position: center;
	background-size: auto 100%;
	background-repeat: no-repeat;
	position: relative;
}

.event-featured-image .event-title-container {
	position: absolute;
	bottom: 0;
}
 
.events-archive-container {
 	display: flex;
 	flex-wrap: wrap;
 	justify-content: center;
}
 
.event-container {
	width: 100%;
	display: flex;
}
 
.event-content {
	background-color: #fefefe;
 	background-position: center;
 	background-size: cover;
 	background-repeat: no-repeat;
 	width: 100%;
 	display: flex;
 	flex-direction: column;
 	text-align: center;
}

.event-content .event-details {
	display: flex;
	flex-direction: column;
    flex: 1 0 auto;
    padding-top: 1em;
    margin-bottom: 1em;
    border-top: 8px solid;
    justify-content: center;
}

.event-content span, .event-content a {
	display: block;
}

.event-content .event-venue {
	font-weight: bold;
}

.event-button {
	text-align: center;
	padding: 0.5em 1em;
	background-color: #a0a0a0;
	color: #fefefe;
	display: inline-block;
	margin-top : 8px;
	font-weight: bold;
	font-size: 16px;
}

.event-button:hover {
	color: #fefefe;
}

.event-page-content {
	position: relative;
	padding: 3rem;
	background-color: #fefefe;
}
.event-page-content .event-description {
	max-width: 100%;
	padding-right: 3rem;
}
.event-description.global-language {
	font-style: italic;
	font-size: 14px;
	line-height: 14px;
}
.event-description.global-language p {
	margin-bottom: 1em;
}

.event-image-container {
	-webkit-flex-shrink: 0;
	-moz-flex-shrink: 0;
	-ms-flex: 0 0 auto;
	flex-shrink: 0;
}
.post-type-archive-event .event-image {
	padding-top: 100%;
	background-size: cover;
	background-position: center;
}

.event-image-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}
.event-image-content .event-title {
	font-family: 'Roboto Condensed';
	color: #ffffff;
	text-align: left;
	font-size: 4em;
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	display: inline-block;
	margin-bottom: 20px;
	max-width: 100%;
}
.event-image-content .event-title span {
	background-color: #e74c3c;
	padding: 0.25rem;
	padding-left: 0.25rem;
	padding-left: 0;
	left: 0.5rem;
	padding-left: 0;
	box-shadow: 0.5rem 0 0 #e74c3c, -0.5rem 0 0 #e74c3c;
	position: relative;
}

@media all and (min-width: 1140px) {
	.event-container {
		width: 50%;
	}
}
@media all and (min-width: 60em) {
  .event-container {
    width: 25%;
	}
	.event-featured-image {
		background-size: auto 75%;
	}
}