/*
Theme Name: GM-BRIDGE
Description: Ein angepasstes Theme für die Bridgeabteilung der Gesellschaft Museum e.V. in Nürnberg.
Version: 1.0
Author: Norbert Klostermann
Author URI: http://webagentur-klostermann.de
Template: enfold
*/

/*Add your own styles here:*/
/* FARBCODES */

/* green / Bridge */
:root {
	--c-050: #fafffb;
	--c-100: #f0fff4;
	--c-200: #c6f6d5;
	--c-300: #99e6b4;
	--c-400: #49bc78;
	--c-500: #39a26a;
	--c-600: #2e8459;
	--c-700: #27684a;
	--c-800: #206946;
	--c-900: #00290c;
}

/* Widgets Termine */
#em_widget-5,
#custom_html-45,
#custom_html-43 {
	padding: 0;
	margin-top: 1em;

	.datum {
		font-weight: 600;
		font-style: italic;
		padding-right: .25em;
	}

	/* .titel {
	    padding: 0 0 0 4px;
	    font-weight: bolder;
	    font-style: italic !important;
	  } */
}

#em_widget-5,
#custom_html-45 {
	ul li {
		padding: 4px 0;

		a {
			color: var(--c-800);

			&:hover {
				text-decoration: underline var(--c-800) !important;
			}
		}
	}
}

#custom_html-45 {
	li:not(:has(a)) {
		display: none;
	}
}

#footer section#custom_html-30 .widgettitle {
	display: none;
}

#footer .srr-tab-wrap li:nth-child(1).srr-active-tab,
#footer .srr-tab-wrap li:nth-child(1):hover {
	border-bottom: 1px solid var(--c-gmuseum) !important;
}

#footer .srr-tab-wrap li:nth-child(2).srr-active-tab,
#footer .srr-tab-wrap li:nth-child(2):hover {
	border-bottom: 1px solid var(--c-kultur) !important;
}

#footer .srr-tab-wrap li:nth-child(3).srr-active-tab,
#footer .srr-tab-wrap li:nth-child(3):hover {
	border-bottom: 1px solid var(--c-bridge) !important;
}

.dbv_erg {
	font-family: Arial, sans-serif;
	display: inline-block;
	overflow: auto;
	box-sizing: border-box;
}

.dbv_erg * {
	box-sizing: border-box;
}

.dbv_erg>a {
	text-decoration: none !important;
	color: black !important;
	font-weight: normal !important;
}

.loader {
	animation: spin 1s linear infinite;
	margin: 0 !important;
}

.bigloader {
	border: 10px solid #f3f3f3;
	border-top: 10px solid var(--c-600);
	border-radius: 50%;
	width: 50px;
	height: 50px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.turfail {
	background-color: darkgray;
}

.formdiv {
	border: thin solid gray;
	border-radius: 2px;
	margin: 0;
	width: 100%;
	border-color: var(--c-600)
}

.dbv_erg> :nth-child(2n+1):not(.loader):not(.turfail) {
	background-color: var(--c-300);
}

.dbv_erg> :nth-child(2n) {
	background-color: white;
}

.emptyturitem,
.turfail,
a.turitem {
	display: block;
	padding: 0.7em !important;
	line-height: 1.2em;
}

.dbv_erg>a.turitem:hover {
	cursor: pointer;
	font-weight: normal;
	background-color: var(--c-600) !important;
	background-image: none !important;
	color: white !important;
}

.dbv_erg>a.turitem.turactive {
	animation: livetur 2s ease infinite;
	animation-timing-function: linear;
	background-image: linear-gradient(to right, var(--c-400), white, var(--c-400), white, var(--c-400));
	background-size: 200% auto;
}

@keyframes livetur {
	0% {
		background-position: 100%;
	}

	100% {
		background-position: 0%;
	}
}

.dbv_erg>a.turitem.turpaused:nth-child(2n) {
	background-image: linear-gradient(to right, var(--c-400), white, var(--c-400));
}

.dbv_erg>a.turitem.turpaused:nth-child(2n+1) {
	background-image: linear-gradient(to right, #F4F4F4, var(--c-400), #F4F4F4);
}

.dbv_erg>a.turitem.turlock::before {
	background: url("./assets/img/locked.png") no-repeat bottom left;
	background-size: contain;
	padding: 0.2rem 0.1rem 0 0.1rem;
	width: 1.5rem;
	height: 1rem;
	display: inline-block;
	content: "";
}

.formhead {
	font-weight: bold;
	padding-bottom: 0.5em;
}