/*
Theme Name:     ul theme
Description:    
Author:         lesereihen
Template:       twentysixteen

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/*
 * Allgemeines
 */

.site{
	background-color: #FFFEFE;
}

.entry-content .ecwd-organizer .ecwd_organizer_description {
	margin-top: 0;
}

:root{
	/*--lesereihen-gradient: linear-gradient(to right, #7A2F8C, #D45C43);*/
}

/* 
 * Link "Bearbeiten" 
 */

a.post-edit-link {
	position: absolute;
	left: 0px;
	bottom: 0px;
	margin-left: 0px;
}

@media all and (max-width: 1020px) {
	a.post-edit-link {
		margin-left: 7%;
	}
}

/*
 *	Veranstalter-Seiten
 */

.no-sidebar .entry-header {
	/*margin-left: calc(7% + 1em);*/
	text-align: center;
}

.ecwd_organizer_description p:empty {
	display: none;
}

.ecwd_organizer_description {
	display: flex;  
	flex-flow: row wrap;
}

.ecwd_organizer_description > * {
	flex: 1 100%;
}

/* INFO 1 (Stadt, Turnus etc.) */
.ecwd_organizer_description p:nth-child(1) {
	border-bottom: 3px solid #b5396e;
	border-left: none;
	padding: 0 0 1em 0;
}

/* KURZBESCHREIBUNG */
.ecwd_organizer_description p:nth-child(2) {
	padding: 0 0 0 0;
}

/* INFO 2 (Redaktion) */
.ecwd_organizer_description p:nth-child(3) {
	border-top: 3px solid #b5396e;
	padding: 1em 0 0 0;
}

/* Verschönerung */

a.social_icon {
	box-shadow: none;
	margin-right: 0.5em;
}

.ecwd_organizer_description p img,
.organizer_logo {
	display: none;
}

.organizer_decorated {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 90%;
}

@media all and (min-width: 1020px) {
	
	.no-sidebar .entry-header {
		text-align: left;
		margin-left: initial;
	}
	
	/* INFO 1 */
  	.ecwd_organizer_description p:nth-child(1) {
		order: 2;
		flex-basis: calc(40% - 40px);
		border-left: 3px solid #b5396e;
		border-bottom: none;
	  	padding: 0 0 0 1em;
	}
	
	/* KURZBESCHREIBUNG */
	.ecwd_organizer_description p:nth-child(2) {
    	order: 1;
    	flex-basis: calc(60% - 40px);
		padding: 0 1em 0 0;
		/*background: #ffffff;*/
		min-height: 20em;
	}
	
	/* INFO 2 */
	.ecwd_organizer_description p:nth-child(3) {
    	order: 3;
    	flex-basis: calc(40% - 40px);
		padding: 1em 0 0 0;
	}
	
	/* INFO 3 (Website, Social Media) */
	.ecwd_organizer_description p:nth-child(4) {
		flex-basis: 100%;
		order: 5;
	}
			
	.ecwd_organizer_description .gallery {
		order: 4;
		display: flex;
		flex-basis: calc(60% - 40px);
		margin-left: 1em;
	}
	
	.ecwd-organizer-events h3, .ecwd-venue-events h3, .ecwd-upcoming-events h3 {
		text-align: left;
		margin-left: 0px;
	}
}

/*
 * Kalender und Upcoming Events
 */

.ecwd-organizer-events h3, .ecwd-venue-events h3, .ecwd-upcoming-events h3 {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

.event-organizer,
.event-venue,
.event-details-title h5,
.ecwd-detalis {
	font-style: initial;
}

.ecwd-detalis p {
	display: block;
	-webkit-margin-before: 1em;
    -webkit-margin-after: 3em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
	text-align: left; 
	margin-right: 1em;
	margin-left: 1em;
}

.ecwd-organizer-events, .ecwd-venue-events, .ecwd-upcoming-events {
	padding: 0;
}

.upcoming_events_item .event-title a {
	box-shadow: none;
}

/* Kalender neu einfärben */

.ecwd_theme_calendar .calendar-head {
	border: 0 !important;
}

.ecwd_theme_calendar .calendar-head > * {
	background: #b5396e;
}

.ecwd_theme_calendar .calendar-head > div.previous,
.ecwd_theme_calendar .calendar-head > div.current-month,
.ecwd_theme_calendar .calendar-head > div.next {
	border: 0 !important;
}

.calendar_main .ecwd_calendar div.event-details {
	background: #ffffff;
}

.ecwd-events-day-details .event-details-title{
    padding: 3px 3px;
}

/*
 *	Kachel-Menü
 */

/*.shuffle_button_wrap > a {
	flex: 1 0 200px;
	box-shadow: none;
	background: #b5396e;
	border: none;
	color: whitesmoke;
	text-decoration: none;
	font-weight: bold;
	font-family: sans-serif;
	cursor: pointer;
	padding: 1em;
	line-height: 1em;
	height: 4em;

	margin-left: 10px;
	margin-top: 10px;

	-webkit-transition-duration: 0.6s;
	transition-duration: 0.6s;
}

.shuffle_button_wrap > a:hover {
	background: #E48CB1;
	-webkit-transition-duration: 0.1s;
	transition-duration: 0.1s;
}*/

.shuffle_button_wrap > a {
	flex: 1 0 200px;
	border: none;
	text-decoration: none;
	font-family: Montserrat;
	cursor:pointer;
	font-size: 1.1em;
	color: black;
	/*font-weight: bold;*/
	padding: 0 1.1em 0 0;
	text-transform: uppercase;
	outline: 0;
	line-height: 1em;
	height: 4em;
	/*text-align: center;*/
	/*margin-left: 10px;
	margin-top: 10px;*/
	box-shadow: none;
}

.shuffle_button_wrap {
	display: flex;
	flex-wrap: wrap;
	/*margin-left: -10px;
	margin-top: -10px;*/
}

/* nur ersetzen, falls das Skript läuft */

a.tile-clip:hover {
	color:transparent;
	transition: color 0.1s;
}

a.tile-clip {
	color: black;
	transition: color 0.8s;
}

.gradient-clip {
	background-image: linear-gradient(to right, rgb(163, 72, 151), rgb(219, 27, 27));
	/*background-image: var(--lesereihen-gradient);*/
  	-webkit-background-clip: text;
  	background-clip: text;
}

/*Event-Seite */
body:not(.search-results) article:not(.type-page) .ecwd-event .entry-content {
	float: initial;
	width: initial;
}

/* TESTWEISE KÄSTEN STATT RÄNDER*/

/*:root {
	--info-2-color : #f7eded;
}*/

@media all and (min-width: 1020px) {

	.ecwd_organizer_description p:nth-child(1),
	.ecwd_organizer_description p:nth-child(3),
	.ecwd_organizer_description p:nth-child(4){
		padding: 2em;
		font-size: 1.1em;
		/*background-color: hsl(308, 0%, 95%);*/
		background-color: hsl(334, 10%, 95%);
		/*font-family: sans-serif;*/
	}
	
	.ecwd_organizer_description p:nth-child(3) {
		/*background-color: #f7eef3;*/
		/*background-color: var(--info-2-color);*/
		/*background-color: hsl(10, 20%, 85%);*/
	}

	.ecwd_organizer_description p:nth-child(1) {
		/*background-color: hsl(143, 20%, 85%);*/
		/*#f8faeb*/
		/*background-blend-mode: luminosity;*/
		border-left: none;
	}

	.ecwd_organizer_description p:nth-child(4) {
		/*background-color: hsl(308, 0%, 95%);*/
	}
		
	.ecwd_organizer_description p:nth-child(3) {
		margin-bottom: 0;
		border-top: none;
	}
	
	.ecwd_organizer_description p:nth-child(4) {
		margin-top: 1.75em;
	}
	
	.ecwd_organizer_description .gallery figure {
		padding: 5px;
	}
	
	.ecwd_organizer_description .gallery {
		margin: 0;
		padding: 2em;
		align-items: center;
	}
}

.ecwd_organizer_description a,
.ecwd-organizer-events a {
	color: black;
	text-decoration: none !important;
	box-shadow: none !important;
}

.ecwd_organizer_description a:hover,
.ecwd-organizer-events a:hover {
	color: #b5396e;
}

.main-navigation a:hover {
	color: #b5396e !important;
}

.gallery figure a {
	outline: 0;
}

/*.ecwd_organizer_description,
.shuffle_button_wrap {
	display: none;
}*/