:root {
	--bgcolor: rgb(251, 251, 251);
	--orangecl: rgb(255, 153, 0);
}

a.turitem.turactive {
	animation: livetur 2s ease infinite;
	animation-timing-function: linear;
	background-image: linear-gradient(to right, #FFC670, white, #FFC670, white, #FFC670);
	background-size: 200% auto;
}

@keyframes livetur {
	0% {
		background-position: 100%;
	}

	100% {
		background-position: 0%;
	}
}

.turitem>.cllink {
	display: inline;
}

.turitem>.cllink::after {
	content: '('attr(data-cl) ')';
}

.turitem.turpaused:nth-child(2n) {
	background-image: linear-gradient(to right, #FFC670, white, #FFC670);
}

.turitem.turpaused:nth-child(2n+1) {
	background-image: linear-gradient(to right, #F4F4F4, #FFC670, #F4F4F4);
}

.turitem.turlock::before,
.turitem.turhaspw::before {
	background: url("/icons/locked.png") no-repeat bottom left;
	background-size: contain;
	padding: 0.2rem 0.1rem 0 0.1rem;
	width: 1.5rem;
	height: 1.1rem;
	display: inline-block;
	content: "";
}

.turitem.turhaspw::before {
	background: url("/icons/locked_pw.png") no-repeat bottom left;
	background-size: contain;
}

.infobanner {
	white-space: wrap;
	margin: 1rem 0 0 0;
	padding: 1rem;
	background-color: #C2FFB3;
	border-radius: 2px;
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: flex-start;
	max-width: 100%;
}

.errorbanner {
	background-color: #FFB9B3;
}

.infocontent img {
	-webkit-flex-grow: 0;
	-moz-flex-grow: 0;
	-ms-flex-grow: 0;
	flex-grow: 0;
}

.infocontent {
	white-space: pre-wrap;
	-webkit-flex: 1 1 0;
	-ms-flex: 1 1 0;
	-moz-flex: 1 1 0;
	flex: 1 1 0;
	margin-left: 0.2rem !important;
	margin-right: 0.2rem !important;
}

.infobanner a {
	-webkit-flex: 0;
	-ms-flex: 0;
	-moz-flex: 0;
	flex: 0;
	margin: 0 !important;
	font-weight: bold;
	display: inline;
}

.infologo {
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	-moz-flex: 0 0 auto;
	flex: 0 0 auto;
	margin: 0 1rem 0 0 !important;
	width: 3rem;
}

.footer {
	background-color: white;
	align-self: flex-end;
	width: 100%;
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	padding: 0 2rem;
	margin-top: 2rem;
	border-top: thin solid lightgray;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	-moz-flex: 0 0 auto;
	flex: 0 0 auto;
	/* flex-basis: 100%;*/
	height: 5.8rem;
}

.footer>a {
	padding: 2rem 1rem;
	font-weight: bold;
	text-decoration: underline;
	color: blue;
	cursor: pointer;
}

a:visited:not(.turitem) {
	color: blue;
}

.buttonsurround {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.buttonsurround input {
	background-color: #FF9900;
	color: white;
	border: none;
	padding: 0.5rem 2rem;
	font-weight: bold;
	margin-right: 2rem !important;
}

#showtur input.btn_disabled {
	color: #FF9900;
	border: thin solid lightgray;
	background-color: white;
	cursor: default;
}

.loader {
	animation: spin 1s linear infinite;
	margin: 0 !important;
}

.miniloader {
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: inline-block;
	overflow: hidden;
	width: 25px;
	height: 25px;
}

.miniloader>.loader {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #FF9900;
	border-radius: 50%;
	height: 100%;
	width: 100%;
}

.bigloader {
	display: inline-block;
	overflow: hidden;
	width: 50px;
	height: 50px;
}

.bigloader>.loader {
	border: 10px solid #f3f3f3;
	border-top: 10px solid #FF9900;
	border-radius: 50%;
	height: 100%;
	width: 100%;
}

.loader.hideloader {
	display: none;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.searchline {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-start;
}

#showturmeta {
	z-index: 1000;
	top: 0;
	left: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(100, 100, 100, .3);
	overflow: auto;
}

#showtur {
	font-size: 1.5rem;
	background-color: var(--bgcolor);
	border: 2px gray solid;
	border-radius: 2px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.75rem;
	min-width: 25rem;
}

#showtur .showdiv {
	margin: auto;
	padding: 0.75rem;
	color: #666666;
}

#showtur .showdiv.attention {
	color: red;
	font-size: 1.5rem;
	font-weight: bold;
}

#showtur .buttondiv {
	margin: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 100%;
}

#showtur input[type=button],
#showtur input[type=submit],
#showtur button {
	padding: 1rem;
	margin: 1rem;
	background-color: var(--orangecl);
	color: white;
	font-weight: bold;
	border: none;
	cursor: pointer;
}

.notloggedin {
	background-color: lightgray;
}

.turfail {
	background-color: #FF1F2E;
}

#searchtxt {
	min-width: 30rem;
	margin-bottom: 1em;
	margin-right: 1rem !important;
	margin-left: 1rem !important;
}

.formdiv {
	border: thin solid gray;
	border-radius: 2px;
	padding: 1rem 1rem 0.3rem 1rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.turauswahl {
	max-height: 10rem;
	overflow: auto;
}

.turauswahl :nth-child(2n) {
	background-color: azure;
}

.notloggedin,
.emptyturitem,
.turfail,
.turitem {
	color: black;
	text-decoration: none;
	display: block;
	padding: 0.7rem;
}

.turitem:hover {
	color: white;
	cursor: pointer;
	background-color: var(--orangecl);
	background-image: none !important;
}

.formhead {
	font-weight: bold;
	padding-bottom: 0.5rem;
}

#metacontent {
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	-moz-flex: 1 1 auto;
	flex: 1 1 auto;
	overflow: auto;
	display: block;
	min-height: 0;
}

#headbar {
	margin: auto;
	border-bottom: thin solid lightgray;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	text-align: center;
	width: 100%;
	background: var(--bg-color);
	-webkit-flex: 0 0 12vh;
	-ms-flex: 0 0 12vh;
	-moz-flex: 0 0 12vh;
	flex: 0 0 12vh;
	min-height: 5rem;
	max-height: 7rem;
}

.headdiv {
	margin: 0;
	display: block;
	padding: 0;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	-moz-flex: 1 1 auto;
	flex: 1 1 auto;
	max-width: 100%;
	max-height: 100%;
	color: var(--orangecl);
	font-weight: bold;
	font-size: 3.5rem;
	align-self: center;
	text-align: center;
	vertical-align: middle;
}

#anmeldung * {
	margin: 0 0.5rem;
}

#anmeldung {
	border: thin gray solid;
	border-radius: 2px;
	padding: 1rem;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

#anmeldung-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
}

#login-err {
	color: red;
	text-align: center;
	font-weight: bold;
}

#container>* {
	width: 100%;
}

#container>div:not(#anmeldung) * {
	margin-left: auto;
	margin-right: auto;
}

#container {
	margin: auto;
	display: block;
	font-size: 1.5rem;
	height: auto;
	width: auto;
	max-width: 80rem;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	min-width: 60rem;
	overflow: visible;
}

#lvsel,
#clubsel,
#tursel {
	padding: 0.2rem;
	width: 100%;
	display: block;
	margin-bottom: 1em;
}

#submit {
	display: block;
	text-align: right;
}

input[type="button"],
input:matches([type="button"]),
input[type="submit"],
input:matches([type="submit"]) {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
	-webkit-overflow-scrolling: touch;
	-webkit-font-size-adjust: none;
	-webkit-text-size-adjust: none;
	font-size-adjust: none;
	text-size-adjust: none;
}

html {
	overflow: hidden;
	font-family: Roboto, Arial;
	font-size: 62.5%;
	width: 100%;
	height: 100%;
}

body {
	overflow: hidden;
	justify-content: center;
	display: inline-flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

div.langselect {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

div.langselect>.customselect {
	cursor: pointer;
	display: block;
	height: 100%;
	padding: 1rem;
}

div.langselect>.customselect img {
	width: 3rem;
	margin: 0.1rem;
}

div.langselect>.customselect>.customselectsummary>div,
div.langselect>.customselect>a {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: left;
	font-size: 1.1em;
	gap: 0.4rem;
}

div.selectlist {
	display: none;
}

div.selectlist.showselector {
	z-index: 999;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	transform: translate(-50%, -100%);
	background: white;
	border: thin solid darkgray;
	border-radius: 5px;
}

div.selectlist>a {
	display: inline-flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 0.5rem;
	width: 100%;
}

div.selectlist>a>img {
	display: inline;
	flex-grow: 0;
}

div.selectlist>a>div {
	display: inline;
	flex-grow: 1;
}

div.selectlist>a.langselected {
	background-color: lightblue;
}

div.selectlist>a>img {
	flex-grow: 0;
}

div.langselect>.customselect>.customselectsummary {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width:700px) {
	#searchtxt {
		min-width: 30rem;
	}

	#container {
		min-width: unset;
	}

	#container * {
		font-size: 1.5rem;
	}

	#anmeldung-row {
		flex-direction: column;
	}

	#anmeldung,
	#anmeldung * {
		margin: 0.5rem 0;
	}

	.turitem>.cllink::after {
		content: '('attr(data-nr) ')';
	}
}