body {
	background: #E6E6E6;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 13px;
}

h1, h2 {
	line-height: 1.2;
	margin: 0 0 .5em 0;
}

h1 {
	font-size: 32px;
}

h2 {
	font-size: 21px;
	margin-top: .8em;
}

table {
	margin-bottom: .5em;
}

p {
	margin: 0 0 1em 0;
}

a {
	color: #000000;
}

a:hover {
	text-decoration: none;
}

code {
	background: #F5F5F5;
	max-width: 100px;
	padding: 2px 6px;
	word-wrap: break-word;
}

#wrapper {
	background: #FFF;
	margin: 1em auto;
	/*	max-width: 800px;*/
	width: 900px;
}

#footline {
	margin: 1em auto;
	width: 900px;
	height: 20px;
	text-align: right;
}

.impressum {
	font-size: 1em;
	color: #333;
	float: right;
}

div.facebook {
	text-align: left;
	float: left;
}

#container {
	padding: 1em;
	display: table-cell;
	vertical-align: top;
	max-width: 670px;
}

#welcome, #status {
	margin-bottom: 2em;
}

/*
#welcome h1 span {
    display: block;
    font-size: 75%;
}
*/
#icon-status, #icon-book {
	float: left;
	height: 64px;
	margin-right: 1em;
	margin-top: -4px;
	width: 64px;
}

#icon-book {
	display: none;
}

@media (min-width: 100px) {
	/*    #wrapper { width: 80%; margin: 2em auto; }*/
	#icon-book {
		display: inline-block;
	}

	#status a, #next a {
		display: block;
	}

	@-webkit-keyframes fade-in {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
	@keyframes fade-in {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
	.sf-toolbar {
		opacity: 0;
		-webkit-animation: fade-in 1s .2s forwards;
		animation: fade-in 1s .2s forwards;
	}
}

.event-date {

}

.event-title {

}

.tag {
	position: relative;
	display: inline-block;
	padding: .4em .5em;
	margin: 2px 2px 2px 0;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	text-align: center;
	border-width: 1px;
	border-style: solid;
	border-radius: 0;
	transition: all .15s ease-in-out
}

.tag {
	color: #39739d;
	background-color: #E1ECF4;
	border-color: transparent
}

a > .tag:hover {
	color: #33658a;
	background-color: #cee0ed;
}

#sidebar {
	padding: 1em 10px 10px;
	border-left: 2px solid #e6e6e6;
	width: 180px;
	display: table-cell;
	vertical-align: top;
}

#midsection {
	display: table-row;
}

#midtable {
	display: table;
	width: 100%;
}

.sidebar > .category > h1 {
	color: black;
	font-size: 1.2em;
	padding-bottom: 5px;
	margin-bottom: 5px;
	font-weight: bold;
}

.sidebar > .category {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 2px solid #e6e6e6;
}

.sidebar > .category:last-of-type {
	border-bottom: none;
	margin-bottom: 0px;
}

.contentblock {
	margin-bottom: 20px;
}

.login label, .editor label {
	display: block;
	font-weight: bold;
	font-size: 1.1em;
	margin-bottom: 6px;
}

.login input, .editor input {
	display: block;
	font-size: 1.2em;
	margin-bottom: 15px;
}

.editor select {
	display: inline-block;
	font-size: 1.2em;
	margin-bottom: 15px;
}

.login .inline, .editor .inline {
	display: inline;
}

.login [type=submit], .editor [type=submit] {
	width: 140px;
	background-color: #ffcccc;
	border: 1px solid #ff9999;
	border-radius: 2px;
	font-size: 1.1em;

}

.loginerror {
	color: red;
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 1.2em;
}

.taglisting {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px solid #e6e6e6;

}

.taglisting:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.eventlisting {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px solid #e6e6e6;
}

.eventlisting:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.eventlisting .date {
	font-weight: normal;
	font-size: 1.1em;
	display: inline-block;
	margin-right: 10px;
	min-width: 105px;
	text-align: right;
}

.eventlisting .tags {

}

.eventlisting .edit, .taglisting .edit {
	float: right;
	vertical-align: middle;
}

.eventlisting .title {
	font-weight: normal;
	font-size: 1.1em;
}

.listing {
	margin-top: .5em;
	margin-bottom: .5em;
}

h1 .tag {
	font-size: 0.7em;
	padding: .2em .2em .2em .2em;
	margin: 0;
	vertical-align: middle;
	font-weight: normal;
}

.articlelisting {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px solid #e6e6e6;
}

.articlelisting:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.playerlisting {
	padding-bottom: 6px;
	margin-bottom: 6px;
	border-bottom: 1px solid #e6e6e6;
}

.playerlisting:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
}

.noborder {
	border: none;
}

.sidebar .eventlisting .date {
	min-width: 0;
	text-align: left;
	font-size: 1.0em;
}

.sidebar .eventlisting .title {
	min-width: 0;
	text-align: left;
	font-size: 1.0em;
}


p.searchresults {
	margin-bottom: 0.6em;
}

a.searchresults {
	font-style:italic;
	margin-right: 20px;
}



.venue .name {
	text-align: left;
}

.venue .details {
	text-align: left;
}

.venue .editor {
	text-align: left;
}

.venue th {
	padding-left: 10px;
	padding-right: 10px;
}

.venue td {
	padding: 5px 10px;
	vertical-align: top;
}

.greyedout {
	opacity: .5;
}

#map {
	width: 100%;
	height: 400px;
	margin-top: 1em;
	margin-bottom: 1em;
}




.league.altbodies tbody:nth-child(odd) {
	background: #f5f5f5;
}

.league.altbodies tbody:nth-child(even) {
	background: #e5e5e5;
}

.league.altrows tbody tr:nth-child(odd) {
	background: #f5f5f5;
}

.league.altrows tbody tr:nth-child(even) {
	background: #e5e5e5;
}



table.league th, table.league td {
	padding: 2px 10px;
	white-space: nowrap;
}

table.league .birthday {
	width: 70px;
	text-align: left;
}

table.league .captainaccount {
	width: 110px;
	text-align: left;
}

table.league .edit {
	min-width: 70px;
	text-align: left;
}

table.league .familyname {
	width: 70px;
	text-align: left;
}

table.league .firstname {
	width: 70px;
	text-align: left;
}

table.league .fullname {
	width: 150px;
	text-align: left;
}

table.league .highlights {
	width: 200px;
	text-align: left;
}

table.league .hlrecord {
	width: 50px;
	text-align: left;
}

table.league .legs {
	width: 60px;
	text-align: center;
}

table.league span.legs {
	display: inline-block;
	width: 25px;
	text-align: center;
}

table.league span.legscolon {
	display: inline-block;
	width: 10px;
	text-align: center;
}

table.league .membershipcount {
	width: 50px;
	text-align: left;
}

table.league .membershipstate {
	width: 45px;
	text-align: left;
}

table.league .membershiptype {
	width: 45px;
	text-align: left;
}

table.league .passnumber {
	width: 40px;
	text-align: center;
}

table.league .playername {
	width: 120px;
	text-align: left;
}

table.league .report {
	width: 40px;
	text-align: center;
}

table.league .round {
	width: 35px;
	text-align: center;
}

table.league .schedule {
	width: 70px;
	text-align: left;
}

table.league .sets {
	width: 60px;
	text-align: center;
}

table.league span.sets {
	display: inline-block;
	width: 25px;
	text-align: center;
}

table.league span.setscolon {
	display: inline-block;
	width: 10px;
	text-align: center;
}

table.league .setsn {
	width: 27px;
	text-align: center;
	padding-left: 2px;
	padding-right: 2px;
}

table.league span.setsn {
	display: inline-block;
	width: 12px;
	text-align: center;
}

table.league span.setscolonn {
	display: inline-block;
	width: 3px;
	text-align: center;
}

table.league .team {
	width: 100px;
	text-align: left;
}
table.league .teams {
	width: 140px;
	text-align: left;
}

table.league .teamcount {
	width: 80px;
	text-align: left;
}

table.league .teamlong {
	width: 210px;
	text-align: left;
}

table.league .venue {
	width: 160px;
	text-align: left;
}

table.league .games {
	width: 25px;
	text-align: center;
}
table.league .place {
	width: 25px;
	text-align: center;
}
table.league .wins {
	width: 25px;
	text-align: center;
}
table.league .draws {
	width: 25px;
	text-align: center;
}
table.league .losses {
	width: 25px;
	text-align: center;
}
table.league .points {
	width: 25px;
	text-align: center;
}

table.league .pairingsummerycat {
	width: 25px;
	text-align: center;
}

table.league .pairingsummery {
	font-weight: bold;
	text-align: right;
}
table.league .pairingsummery.pairingexpected {
	text-align: left;
}

table.league .statssummerycat {
	width: 100px;
	text-align: right;
	font-weight: bold;
}

table.league .statssummery {
	width:80px;
	font-weight: bold;
	text-align: center;
}

table.league .league {
	width: 120px;
	text-align: left;
}
table.league .seasons {
	min-width: 120px;
	text-align: left;
}

table.league .season {
	min-width: 120px;
	text-align: left;
}

table.league .articletitle {
	width: 340px;
	text-align: left;
}

table.league .rpoints {
	width: 25px;
	text-align: center;
}
table.league .rsum {
	width: 40px;
	text-align: center;
}


.editor .nomargin {
	margin-bottom: 0;
}

.editor td.legs {
	width: 80px;
}

.legscombo {
	text-indent: 8px;
}

.pointscombo {
	text-indent: 8px;
	min-width: 80px;
}

.formerror {
	color: red;
}

div.adminlink {
	margin-top: 10px;
	margin-bottom: 10px;
}

div.articlemeta {
	margin-top:10px;
	color: grey;
	font-style: italic;
}

div.selectyear {
	text-align: center;
	font-size: 1.2em;
	display: inline-block;
	width: 60px;
	height: 25px;
	font-weight: normal;
	color: darkgray;
	text-decoration: underline;
}

div.yearselected {
	color: black;
	font-weight: bold;
	text-decoration: none;
}



table.league .leftallign {
	text-align: left;
}


@media print {
	#sidebar {
		display:none;
	}
	#footline {
		display:none;
	}
	a {text-decoration: none;}
	.header span {
		color: black;
	}
	.header {
		padding: 1em;
	}
	td.report, th.report {
		display:none;
	}
	body {
		margin-left: 25mm;
	}
}