/* #008df6 */
 html {
	height: 100%;
}
body {
	margin-top: 0px;
	font-family:"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
	min-height: 100%;
	position: relative;
	max-width: 1200px;
	margin: auto;
	text-rendering: optimizeLegibility;
}
@-moz-document url-prefix() {
	body {
		font-weight: normal;
	}
	input {
		font-weight: normal !important;
	}
}
main {
	margin-top: 10px;
	padding-bottom:70px;
}
@media screen and (max-width: 1205px) {
	main {
		padding-left: 10px;
		padding-right: 10px;
	}
}
footer {
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
	/*background-color: #f0f0f0;*/
	position: sticky;
	position:absolute;
	bottom:0;
}
footer a {
	color: #818181;
}
h1, h2 {
	font-weight: normal;
}

.condbr {
	display: none;
}
/* expiration dates */
.long {
	/* color: #53f950; */
	color: #56e452;
}
.medium {
	color: #fea805;
}
.short {
	color: #ff5358;
}
/* errors & messages */
.notice {
	color: #818181;
	font-size: 25px;
	font-weight: 100;
	text-align: center;
	height: 45vh;
	line-height: 45vh;
}
/* @group Links */
a {
	text-decoration: none;
	color: #442277;
}
a:hover {
	text-decoration: underline;
}
a img {
	vertical-align: middle;
}
a span {
	vertical-align: middle;
}
/* @end */

/* @group Navigation */
 nav {
	background-color: #f0f0f0;
	text-align: justify;
	font-size: 0.1px;
	/* IE 9/10 don't like font-size: 0; */
	height: 35px;
	padding-left: 5%;
	padding-right: 5%;
	line-height: 30px;
}
nav:after {
	content:'';
	width: 100%;
	/* Ensures there are at least 2 lines of text, so justification works */
	display: inline-block;
}
nav a {
	display: inline-block;
	font-size: large;
	color: #818181;
	text-align: center;
}
nav a:hover {
	text-decoration: none;
}
nav a:hover span {
	text-decoration: underline;
}
nav a.active {
	pointer-events: none;
	cursor: default;
	color: #442277;
}
/* TODO: remove if mobile template is seperate */
 nav br {
	display: none;
}
/* @end */

/* @group Head */
 #head {
	height: 70px;
	width: 97%;
	background: linear-gradient(to bottom, #442277 0%, #6c7bc6 100%);
	
	line-height: 70px;
	color: white;
	padding-left: 3%;
	font-size: 20pt;
	font-weight: bold;
}
/* @end */

/* @group Startpage */
 #leftcolumn {
 	box-sizing: border-box;
 	padding-right: 5px;
	float: left;
	width: 65%;
}
#rightcolumn {
	box-sizing: border-box;
	padding-left: 5px;
	float: right;
	width: 35%;
}

#rightcolumn .notice {
	line-height: 150px !important;
	height: 150px !important;
}

#leftcolumn article {
	text-align: justify;
	margin-bottom: 30px;
}
#leftcolumn h1, #leftcolumn h2 {
	margin-top: 10px;
	margin-bottom: 5px;
}
@media screen and(min-width: 900px) {
	#leftcolumn article p {
		/*column-count: 2;
		-moz-column-count: 2;
		-webkit-column-count:2;*/
		margin: 0px;
	}
}
#leftcolumn figure {
	margin: 0px;
	width: 100%;
	height: 200px;
	background-color: #f0f0f0;
}

#leftcolumn figure#chart .notice {
	line-height: 200px !important;
	height: 200px !important;
}

#nextMatchdays {
	padding: 0px;
	margin-left: 0px;
}
#nextMatchdays ul {
	list-style-type: none;
	padding:0;
	margin:0;
}
#nextMatchdays li {
	padding-left: 0.8em;
	text-indent: -0.8em;
}
#nextMatchdays li:before {
	display: inline-block;
	width: 0.8em;
	content:'';
	text-align: right;
}
#nextMatchdays li.checked:before {
	content:'\2713' !important;
}
#teamstandings {
	padding-top: 10px;
	padding-left: 20px;
}
#teamstandings table {
	width: 100%;
	border-collapse: collapse;
}
#teamstandings caption {
	text-align: left;
	font-weight: bold;
}
/* @end */

/* @group Login Registration */
 #formboxcontainer {
	text-align: center;
	/*background-color: #f0f0f0;*/
	width: 300px;
	margin: auto;
	padding: 10px;
	padding-top: 40px;
}
.formbox {
	padding-left: 20px;
	text-align: left;
}
#formboxcontainer h1 {
	margin-top: 0px;
}
::-webkit-input-placeholder {
	color: #818181;
}
#formboxcontainer form input[type="text"], #formboxcontainer form input[type="password"], #formboxcontainer form input[type="email"] {
	width: 260px;
	font: inherit;
	background-color: #f0f0f0;
	border: 1px solid #818181;
	border-style: none;
	font-weight: lighter;
	appearance: none;
	-webkit-appearance: none;
	height: 30px;
	padding-left: 20px;
	margin-bottom: 4px;
	padding-right: 20px;
}
#formboxcontainer form input:required:invalid, input:focus:invalid {
}
#formboxcontainer form input:required:valid {
	background: url(./public/img/oksign.png) 260px no-repeat;
	background-color: #f0f0f0;
}
#formboxcontainer input[type="checkbox"] {
	margin-top: 13px;
}
/*
#logincontainer input[type="submit"] {
	font-size: inherit;
	
	
	appearance: none;
	-webkit-appearance: none;
	border: none;
	background-color: transparent;
	color: #008df6;
	cursor: pointer;
	
}

#logincontainer input[type="submit"]:hover {
	text-decoration: underline;
}
*/
 #registerLink {
	font-weight: bold;
}
/* @end */

/* @group Standings */
 table#standings {
	border-collapse: collapse;
	width: 100%;
	text-align: center;
}
table#standings th {
	background-color: #f0f0f0;
}
table#standings tbody tr:nth-of-type(even) {
	background-color: #f0f0f0;
}
#standings .name {
	text-align: left;
	padding-left: 5%;
}
#standings .position, #standings .preposition {
	width: 1px;
	white-space: nowrap;
	text-align: right;
}
#standings .preposition {
	color: gray;
}
#standings thead tr {
	position: sticky;
	position: -webkit-sticky;
	top: 0px;
}
.highlighted {
	background-color: #442277 !important;
	color: white;
}
.highlighted .preposition {
	color: #dfdfdf !important;
}
.maxPoints {
	color: #fea805;
}
/* @end */

/* @group Segmented Control */

.segmented {
	margin: 0;
	margin-bottom: 10px;
	padding: 0px;
	list-style-type: none;
	text-align: center;
}
.segmented li {
	display: inline-block;
	text-align: center;
	
	border-top: 1px solid #442277;
	border-bottom: 1px solid #442277;
	
	border-left: 1px solid #442277;
	padding: 5px 10px;
	margin: 0px;
}

.segmented li:first-child {
	border-radius: 0.5em 0 0 0.5em;
}

.segmented li:last-child {
	border-right: 1px solid #442277;
	border-radius: 0 0.5em 0.5em 0;
}

.segmented li.selected {
	background-color: #442277;
	color: white;
}

/* @end */

/* @group Groups */
 #groupSelect {
	margin-bottom: 10px;
	overflow-x: auto;
	white-space: nowrap;
}
.circleLink {
	margin-right: 26px;
}
.circleLink span {
	line-height: 26px;
}
.circle {
	vertical-align: middle;
	display: inline-block;
	background-color: #442277;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	margin-right: 5px;
}
a.circleLink.active {
	pointer-events: none;
	cursor: default;
}
a.circleLink.active div.circle {
	width: 26px;
	height: 26px;
}

#selectionMarker {
	background-color: #fff;
	margin: 7px;
	border-radius: 6px;
	width: 12px;
	height: 12px;
}

.colorOption {
	display: inline-block;
	border-radius: 7px;
	width: 14px;
	height: 14px;
	margin: 3px 3px 0;
	
}

.colorSelected {
	border-radius: 9px;
	margin: 3px 1px -2px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #777;
	
}

.newCircle {
	vertical-align: middle;
	display: inline-block;
	width: 26px;
	height: 26px;
	margin-right: 5px;
}

.group {
	background-color: #f0f0f0;
	display: inline-block;
	vertical-align: top;
	margin: 5px;
	padding: 10px;
}

.groupcollection:nth-child(1) {
	
}
/* @end */

/* @group Matchday Select */
 .centerContainer {
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}
#matchdaySelect {
	font-size: large;
	appearance: none;
	-webkit-appearance: none;
	border: none;
	color: #442277;
	cursor: pointer;
}
#matchdaySelect:hover {
	text-decoration: underline;
}
#matchdayForm {
	display: inline-block;
}
.arrow {
	fill: #442277;
}
/* @end */

/* @group Tipping */
#tipping {
	width: 100%;
	border-collapse: collapse;
}
.imgContainer {
	display: inline-block;
	width: 36px;
	margin-right: 6pt;
}
.teamCol img {
	max-height: 36px;
	max-width: 36px;
	vertical-align: middle;
}
#tipping tbody td {
	border-bottom: 1px dashed #eee;
	padding-bottom: 5px;
	line-height: 21px;
	/* depends on img height */
}
#tipping tbody td, #tipping tfoot td {
	padding-top: 5px;
}
.tendency {
	width: 100px;
}
.tendencybarA, .tendencybarB {
	height: 6px;
	float: left;
	text-align: center;
	line-height: 12px;
	font-size: 10px;
	color: #ffffff;
}
.tendencybarA {
	background-color: #442277;
}
.tendencybarB {
	background-color: #fea805;
}
#tipConfirmation {
	color: #ffffff;
	border-radius: 7px;
	padding-left: 6px;
	padding-right: 6px;
}
.tip_unsaved {
	background-color: #ff5358;
}
.tip_saved {
	background-color: #53f950;
}
.scoreColumn input[type="number"] {
	text-align: center;
	max-width: 3em;
}
/* @end */

/* @group Tips */
 #tipsTable {
	width: 100%;
}
.pointColumn {
	text-align: right;
}
.overtimeColumn {
	min-width: 0.5em;
}
/* @end */

/* @group Tips & Tipping */
 .scoreColumn {
	text-align: center;
	white-space: nowrap;
}
#sum {
	border-top: 3px double black;
	text-align: right;
}
/* @end */

/* @group Hilfe */
h3 {
	font-weight: normal;
}

table.help td {
	min-width: 80px;
}

table.help th {
	text-align: left;
}

#help h2 {
	margin-top: 30pt;
}

/* @end */

/* @group Impressum */
#impressum {
	margin-top: 0px;
	padding-top: 10px;
	padding-left: 40vw;
}
#impressum dd {
	/*margin-left: 44vw;*/
	margin-left: 55px;
}
#impressum dt {
	display: block;
	float: left;
	width: 55px;
	text-align: right;
	margin-right: 10px;
}
/* @end */

/* @group Feedback */
 #feedbackPanel {
	background-color: #6c7bc6;
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 10px;
}
#feedbackPanel a {
	color: #f0f0f0;
}
#dismiss {
	float: right;
	padding-left: 3px;
	padding-right: 3px;
}
a#dismiss:hover {
	color: #6c7bc6;
	background-color: #f0f0f0;
	text-decoration: none;
	border-radius: 4px;
}
/* @end */

/* @group Bracket */
.bracketcontainer {
	text-align: left;
}
div.bracket {
	direction: rtl;
	display: inline-block;
}
.matchbox {
	display: inline-table;
	padding: 0px;
	margin: 0px;
	border-collapse: collapse;
	border: 1px solid #000000;
	height: 60px;
	width: 220px;
	direction: ltr;
	text-align: left;
	vertical-align: middle;
}
.matchbox td {
	border: 1px solid #000000;
	padding: 4px;
	margin: 0px;
}
.matchbox tr td:nth-child(2) {
	text-align: center;
	width: 20px;
}
.bracker {
	/*height: 68px;*/
	width: 30px;
	display: inline-block;
	border: 1px solid #000000;
	border-left: none;
	vertical-align: middle;
	margin-top: -1px; /*fix strange offset*/
}
.brackline {
	display: inline-block;
	width: 20px;
	vertical-align: middle;
	border-top: 1px solid #000000;
	border-bottom: none;
	height: 1px;
}
.bracket ul {
	list-style: none;
	display: inline-block;
	vertical-align: middle;
	padding: 0px;
	margin: 0px;
}
.bracket li {
	padding: 0px;
	margin: 0px;
}
.leaf {
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}
.bracket span {
	border: 1px solid #000000;
	vertical-align: middle;
}
/* @end */
 .crossTable {
	border-collapse: collapse;
}
.crossTable td, .crossTable th {
	border: 1px solid #aaa;
	padding: 3px;
	text-align: center;
}


#resultTable {
	width: 80%;
}
#resultTable tr {
	height: 40px;
}
#resultTable img {
	vertical-align: middle;
}
.homeTeam {
	text-align: right;
}
.resultColumn {
	text-align: center;
}