input[type="range"] {
	margin-top: 20px;
	width: 300px;
	outline: none;
	height: 10px;
	background-color: lightgray;
	border-radius: 5px;
	-webkit-appearance: none;
	appearance: none;
}

input[type="button"],
button {
	font-size: 1.8rem;
	line-height: 1.8rem;
	margin: 1rem;
	padding: 1rem;
	border: none;
	background-color: #FF9900;
	color: white;
	font-weight: bold;
	text-decoration: none !important;
	cursor: pointer;
}

#language-selection-div {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

label.langselection {
	margin-right: 1rem;
}

label.langselection>img {
	height: 3rem;
	cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: var(--orange);
	cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: var(--orange);
	cursor: pointer;
}

a:visited {
	color: blue;
}

.rydersyv {
	font-weight: bold;
}

.merlin {
	font-weight: bold;
}

.error {
	display: flex;
	flex: 1;
	width: 100%;
	height: 100%;
	flex-direction: column;
	align-items: center;
	padding: 2rem !important;
}

.errsh {
	margin-top: 1rem;
	font-weight: bold;
}

.errpng {
	height: 6rem;
	width: 6rem;
	margin-right: 2rem;
}

#errdetail {
	display: grid;
	grid-template-columns: auto auto;
	margin-top: 1rem;
	max-width: 60vw;
	word-break: break-word;
}

#errdetail div {
	padding: 0.5rem;
}

#errhead {
	margin-bottom: 1rem;
	font-weight: bold;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.contextmenumeta {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 999;
}

.contextmenu {
	display: inline-block;
	padding: 1rem;
	border: 2px solid darkgray;
	border-radius: 5px;
	background-color: white;
	position: absolute;
}

.contextmenu>ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.contextmenuhead {
	padding-bottom: 0.5rem;
}

.contextmenu>ul>li {
	margin: 0.5rem;
	padding: 0;
}

.contextmenu button,
.contextmenu a {
	width: 100%;
	border: none;
	text-align: left;
	font-size: inherit;
	background-color: var(--bgcolor);
	padding: 1rem 0.4rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	display: inline-block;
	line-height: inherit;
}

.contextmenu button:hover,
.contextmenu a:hover {
	background-color: var(--orange);
}

.imprhide {
	display: none;
}

.impressumhead {
	text-align: center;
	font-weight: bold;
	text-decoration: underline;
	margin-bottom: 2rem;
}

.impressum>* {
	margin-bottom: 1rem;
}

.imgcontent {
	margin: 2rem auto 1.5rem auto;
	display: flex;
	flex-shrink: 0;
	flex-grow: 0;
	flex-direction: row;
	justify-content: center;
}

.imgcontent * {
	flex-shrink: 0;
	flex-grow: 0;
	margin: auto;
}

.imprhide {
	display: none;
}

#logindiv #loginnormaltext {
	flex-shrink: 0;
	margin-bottom: 1rem;
	text-align: center;
	grid-area: 1/1/2/3;
}

#logindiv.wronglogin #loginnormaltext {
	flex-shrink: 0;
	margin-top: 0;
	grid-area: 2/1/3/3;
}

#logindiv #loginerrorp {
	flex-shrink: 0;
	display: none;
}

#logindiv.wronglogin #loginerrorp {
	flex-shrink: 0;
	font-weight: bold;
	display: block;
	text-align: center;
	grid-area: 1/1/2/3;
	background-color: lightcoral;
	width: 100%;
	line-height: 4rem;
}

.loggedindiv :nth-child(2) {
	max-height: 0;
	overflow: hidden;
	padding: 0;
	transition: padding 0.2s ease-out, max-height 0.2s ease-out;
}

.loggedindiv:hover :nth-child(2),
.loggedindiv.logoutactive :nth-child(2) {
	padding: 0.5rem;
	max-height: unset;
}

.loggedindiv.logoutactive {
	height: auto !important;
}

#logindivmeta {
	position: fixed;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	overflow: auto;
	background-color: rgba(100, 100, 100, .3);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 900;
}

#logindiv {
	font-size: 2rem;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 60%;
	max-width: 60rem;
	max-height: 30rem;
	min-height: --moz-fit-content;
	min-height: fit-content;
	padding: 10px;
	z-index: 1000;
	background-color: whitesmoke;
	border: 2px solid black;
	margin: auto;
}

#logindiv .loginbuttonrow {
	flex-shrink: 0;
	display: flex;
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	flex-grow: 0;
	flex-shrink: 0;
}

#logindiv .login {
	flex-shrink: 0;
	display: inline-block;
	min-width: 12rem;
	background-color: var(--orange);
	border: none;
	color: white;
	font-weight: bold;
	padding: 1rem;
}

#logindiv input:not(.login) {
	flex-shrink: 0;
	max-width: 30rem;
	min-width: 20rem;
	width: 10rem;
	grid-column: span 2;
	margin: 0.5rem 1rem;
}

#menucont {
	display: none;
}

nav .updownnavlink,
nav .updownnavlink:visited {
	text-decoration: none;
	color: black;
	display: inline-block;
	min-width: 1rem;
	padding: 0rem 0.4rem 0.5rem 0.4rem;
}

nav .sidenamelink {
	flex-grow: 1;
	padding: 0.4rem 0.2rem 0 0.2rem;
}

nav .sidelist {
	margin: 0;
	width: 100%;
	padding-left: 1.5rem;
}

#navdiv {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	min-width: 95%;
	padding-left: 1rem;
	padding-right: 1rem;
}

.sideselected {
	background-color: var(--orange) !important;
	color: white;
}

.sidecaption {
	padding: 1rem 1rem 0 1rem;
	white-space: nowrap;
	font-weight: bold;
	font-size: 1.8rem;
	font-style: normal;
	color: var(--orange);
	display: inline-flex;
	min-width: 100%;
}

.sidesubcaption {
	padding: 1rem 0.5rem 0.5rem 0.5rem;
	white-space: nowrap;
	font-weight: bold;
	font-size: 1.6rem;
	font-style: normal;
	color: var(--orange);
}

.sidelink:hover,
.loggedindiv :nth-child(2):hover {
	background-color: var(--orange);
	color: white;
}

.sidelink,
.loggedindiv,
.loggedindiv * {
	display: block;
	min-width: 100%;
	cursor: pointer;
	font-size: 1.6rem;
	text-decoration: none;
	background-color: rgb(230, 230, 230);
	border-radius: 5px;
}

.sidelink,
.loggedindiv {
	margin: 0.2rem;
	padding: 0.4rem 0.4rem 0.4rem 0.4rem;
}

#headbar {
	border-bottom: thin solid lightgray;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	text-align: center;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	background-color: var(--bgcolor);
	z-index: 3;
	position: fixed;
	height: 15vh;
	min-height: 50px;
	max-height: 100px;
}

#sidebar {
	background-color: var(--bgcolor);
	z-index: 3;
	position: fixed;
	display: block;
	overflow-y: auto;
	overflow-x: hidden;
	min-width: 220px;
	padding: 0em 0rem 1em 0em;
	left: 0px;
}

#metacontent {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#imcontent {
	height: 100%;
	width: 100%;
	overflow: auto;
}

#content {
	min-height: 100%;
	height: auto;
	min-width: 100%;
	width: auto;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	background-color: var(--bgcolor);
	align-items: center;
	overflow: hidden;
	padding: 0.5rem 0.5rem 0 0.5rem;
}

.contenttable {
	margin: auto;
	flex-grow: 0;
	flex-shrink: 0;
	padding: 0;
}

.contenttable.crtblmultigroup {
	margin-top: 0;
}

.turnier {
	margin: 0;
	display: block;
	padding: 0;
	flex-shrink: 1;
	flex-grow: 1;
	max-width: 100%;
	max-height: 100%;
	color: var(--orange);
	font-weight: bold;
	font-size: 3.5rem;
	align-self: center;
	text-align: center;
}

.footer {
	background-color: white;
	align-self: flex-end;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin-top: 2rem;
	border-top: thin solid lightgray;
	height: 5.8rem;
}

.footer div {
	padding: 0 1rem;
}

@media screen and (min-width:44rem) {

	/*table:not(.denyhover) tr.link:hover,*/
	table:not(.denyhover) tr.link:hover>*:not(.segcontain):not(.segment):not(.teamresfinal),
	div.link:hover,
	div.link:hover *,
	tbody.link:hover,
	tbody.link:hover *,
	.rowclshover:not([data-mtc="-1"]),
	td.link:hover,
	td.link:hover * {
		cursor: pointer;
		background-color: lightgray !important;
		text-decoration: underline;
	}

	table:not(.teambutler) tr.link:hover .segcontain {
		background-color: lightgray !important;
	}

	table.segment:not(.carryover):hover {
		background-color: darkgrey !important;
	}

	table:not(.denyhover) tr.link,
	div.link,
	tbody.link,
	td.link {
		cursor: pointer;
	}
}


html {
	height: 100% !important;
	width: 100% !important;
	margin: 0;
	padding: 0;
	font-size: 62.5%;
	box-sizing: border-box;
	background-clip: padding-box;
	background-color: var(--bgcolor);
}

body.disable-hover {
	pointer-events: none;
}

body {
	box-sizing: border-box;
	background-clip: padding-box;
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
	font-family: Roboto, Arial;
}

*,
*::before,
*::after {
	-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;
	box-sizing: inherit;
}

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;
}

#livereloaddiv {
	font-size: 4rem;
	margin: 0;
	display: block;
	padding-right: 1rem;
	padding-left: 0.5rem;
	flex-shrink: 0;
	flex-grow: 0;
	max-width: 100%;
	max-height: 100%;
	color: var(--orange);
	font-weight: bold;
	align-self: center;
	text-align: center;
	cursor: pointer;
}

@media screen and (max-width:60rem) {
	#content {
		-moz-user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	.parcrtblfixcol>.parcrtblhead,
	.parcrtblfixcol>.parcrtblbdy {
		touch-action: none !important;
	}

	.impressumhead {
		padding-top: 1rem;
	}

	#errdetail {
		max-width: 90vw;
	}

	.errpng {
		width: 4rem;
		height: 4rem;
		margin-right: 1rem;
	}

	.errsh {
		margin-top: 1rem;
	}

	#errdetail {
		margin-top: 0.5rem;
	}

	#logindiv {
		font-size: 1.5rem;
		line-height: 1.5rem;
		width: 100%;
	}

	#logindiv .login {
		padding: 0.7rem 0;
		margin-top: 0.5rem;
	}

	nav .updownnavlink,
	nav .updownnavlink:visited {
		display: none;
	}

	.sidelink,
	.loggedindiv,
	.loggedindiv * {
		text-decoration: none;
		height: 3rem;
		margin-bottom: 1px;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		font-size: 1.5rem;
		padding: 0;
	}

	.loggedindiv {
		display: block;
	}

	.sidesubcaption::after {
		float: right;
		content: '\002B';
	}

	.sidesubcaption.sideactive::after {
		float: right;
		content: "\2212";
	}

	nav div.openlist a {
		padding: 0.4rem 0.4rem 0.4rem 1rem;
	}

	.sidelist {
		padding-top: 0;
		padding-bottom: 0;
		transition: max-height 0.2s ease-out;
		overflow: hidden;
	}

	.sidelist:not(.clslist) {
		max-height: 0;
	}

	.bar1,
	.bar2,
	.bar3 {
		width: 90%;
		height: 5px;
		align-self: center;
		background-color: #333;
		margin: 5px;
		transition: 0.4s;
	}

	#headbar {
		height: 7rem;
		max-height: 10%;
	}

	#menucont {
		min-width: 3.5rem;
		width: 5rem;
		max-width: 10%;
		height: 100%;
		display: flex;
	}

	#menubutton {
		align-self: center;
		display: block;
		flex-shrink: 0;
		width: 100%;
		padding-right: 0.5rem;
	}

	.sidesubcaption {
		border: 1px solid white;
		background-color: rgb(230, 230, 230);
		line-height: 2rem;
		padding: 0.3rem;
		display: block;
	}

	.sidecaption {
		line-height: 2rem;
		padding: 0.3rem;
		margin-top: 1rem;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		display: block;
		min-width: unset;
	}

	#sidebar {
		min-width: 0;
		width: 30rem;
		max-width: 80%;
		left: -80vw;
		overflow-x: hidden;
		transition: left 0.15s ease-out;
	}


	.turnier {
		line-height: 2.5rem;
		font-size: 2.5rem;
	}

	.footer {
		margin-top: 0.2rem;
		padding: 0.5rem;
		height: auto;
		display: inline-flex;
		flex-direction: column;
	}

	body {
		overflow: auto;
	}

	body:not(.contbrdzttl)>#metacontent {
		display: inline-flex;
		height: auto;
		min-height: 100%;
	}

	body:not(.contbrdzttl)>#metacontent>#imcontent {
		height: auto;
		min-height: 100%;
		overflow: visible hidden !important;
	}
}

@supports not (height: fit-content) {
	#content {
		overflow: visible;
	}
}