/********************************************************************************/
/*
Description: CSS File for Layout
Theme Name: VHS Wissen Live
Theme URI: https://www.vhs-wissen-live.de/
Version: 1.0 [03.2021]
Author: V15* Thorsten Neuhaus
Author URI: http://www.v15.de/
*/
/********************************************************************************/

.event_pictures .image_container {
	float: left;
	margin-right: 20px;
}
.ce_player {
	margin: 0px 0px 20px 0px;
}
iframe,
.ce_youtube {
	max-width: 800px;
	width: 100%;
	left: 0;
	right:0;
	margin: 0px 0px 20px 0px;
}
.embed-responsive {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
	overflow: hidden;
}
.embed-responsive iframe {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100%;
	height: 100%;
}

.privacy-msg p {
	z-index: 1;
	cursor: pointer;
	position: relative;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	padding: 5%;
	text-align: center;
	border: 1px solid black;
	background: #f5f5f5;

	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */

	/* -webkit-box-shadow: 0 10px 6px -6px #777;
	   -moz-box-shadow: 0 10px 6px -6px #777;
			box-shadow: 0 10px 6px -6px #777; */
}

.privacy-msg p a {
	color: #e3000b;
	display: inline-block;
	font-size: 13px;
	color: #fff;
	position: relative;
	overflow: visible;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 3px;
	transition: all 0.3s ease-out;
	height: 35px;
	line-height: 33px;
	margin: 10px 0;
	padding: 0px 13px;
	border: 1px solid #e3000b;
	background: #e3000b;
}

.event.layout_full .event_info {
 margin-top: 20px;
}

.event.media {
	margin-top: 100px;
}
.event.media h3,
.event.media h4,
.event.media .info {
	margin: 10px 0px;
}

/********************************************************************************/

@media only screen and (max-width : 990px) {
	#header .t4c-header-table {
	display: inline-block;
	max-width: 70%;
	}
	
	#header .t4c-header-table #logo {
	max-width: 100%;
	}
}

/*	Footer: Facebook Link	*/
.default_footer a.fb {
	color: #3b5998;
	line-height: 24px;
	font-size: 18px;
	font-weight: bold;
	margin-left: 20px;
}

/*****/

.header_style_5 #header .ct_main_nav {
	border-bottom: 1px solid #eee;
}

.header_style_5 #header.stuck .mod_navigation .sf-menu > li, .header_style_5 #header.stuck .mod_ct_megamenu .sf-menu > li  {
	margin-left: 10px;
	margin-right: 10px;	
}

.header_style_5 #header .mod_navigation .sf-menu > li > a, .header_style_5 #header .mod_ct_megamenu .sf-menu > li > a {
	font-size: 14px;
}

/*****/

/*	Events	*/
.mod_eventlist {
	display: flex;
	flex-wrap: wrap;
}

.mod_eventlist.liste {
	margin-top: 40px;
}

.event.layout_highlights {
	/* display: flex;
	flex-direction: row; */
	width: 20%;
	text-align: center;
	margin-bottom: 10px !important;
	padding: 10px;
	/* background: #ccc; */
}

.event.layout_highlights .caption {
	display: none;
}

.event.layout_teaser,
.event.mediathek {
	width: calc(50% - 8px);
	/* height: 200px; */
	margin-bottom: 10px !important;
	padding: 10px;
}

.event.mediathek {
	margin-top: 0;
	border: 4px solid #00295a;
}

.event.layout_teaser:nth-child(4n-3) {
	border: 4px solid #fcc12f;
	/* background: #fcc12f; */
}

.event.layout_teaser:nth-child(4n-2) {
	border: 4px solid #ee7623;
	/* background: #ee7623; */
}

.event.layout_teaser:nth-child(4n-1) {
	border: 4px solid #e6311f;
	/* background: #e6311f; */
}

.event.layout_teaser:nth-child(4n) {
	border: 4px solid #77c0eb;
	/* background: #77c0eb; */
}

.event.layout_teaser:nth-child(odd),
.event.mediathek:nth-child(odd) {
	margin-right: 5px;
}

.event.layout_teaser:nth-child(even),
.event.mediathek:nth-child(even) {
	margin-left: 5px;
}

@media only screen and (max-width : 767px) {
	.event.layout_teaser,
	.event.mediathek {
	width: 100%;
	margin-right: 0 !important;
	margin-left: 0 !important;
	}
	
	.event.layout_highlights {
		width: 33.3333%;
	}
}

.bg-inside {
	padding: 0;
}

.event.layout_full .more a,
.event.layout_full .event_info,
.event_masonry .more a,
.event_masonry .event_info {
	font-weight: normal;
	color: #333;
}

.event.layout_teaser .info {
	font-weight: 600;
	font-size: 18px;
	line-height: 1.3em;
	color: #002959;;
	margin: 0;
}

.event.layout_teaser h3 {
	line-height: 1.3;
	margin: 0;
}

#homepage-content .termine h3 {
	text-transform: none;
	min-height: 58px;
}

.event.layout_teaser h3 a {
	color: #002959;
}

h2,
h4 {
	font-weight: 300;
}

.event.layout_teaser h4 {
	line-height: 1.3em;
	margin: 0;
	font-size: 18px;
}

h4 a,
p.confirm {
	color: #e3000b;
}

#homepage-content .mod_eventlist figure {
	text-align: center;
	margin-bottom: 10px;
}

#homepage-content .mod_eventlist figure img {
	width: 140px;
	/* height: 140px; */
	height: auto;
	border-radius: 70px;
}

/*****/

/*	Startseite: QR Code	*/
.qr-code figure {
	margin-right: 20px;
	padding: 20px;
	border: 1px solid #333;
}

.keine-werbung .qr-code {
	display: none;
}

/*****/

#kooperationspartner .container {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;	
}

#kooperationspartner .partner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 50px;
}

@media only screen and (max-width : 767px) {
	#kooperationspartner .partner {
	flex-flow: column;
	}
	
	#kooperationspartner .partner .ce_image {
	margin-bottom: 20px;
	}
}

#kooperationspartner .partner figure {
	margin: 0 5px;
}

#kooperationspartner .partner .ce_image:nth-child(1) figure {
	margin: 0 5px 0 0;
}

#kooperationspartner .partner .ce_image:nth-last-child(1) figure {
	margin: 0 0 0 5px;
}

#kooperationspartner .ce_hyperlink .image_container {
	padding: 20px !important;
}

/*****/

#footer {
	padding-top: 0 !important;
	background: #002959 !important;
}

/*****/

.bg-orange h1,
.bg-orange h3,
.bg-orange .event_content,
.bg-rot h1,
.bg-rot h3,
.bg-rot .event_content {
	color: #002959;
}
