/* Mietlisten */
#reinigung-table-custom tbody tr{
	background: #ffff9f;
}

#reinigung-table-custom tbody tr:nth-of-type(odd){
	background: #ffffdf;
}

#garten-table-custom tbody tr{
	background: #9fff9f;
}

#garten-table-custom tbody tr:nth-of-type(odd){
	background: #dfffdf;
}

#werkzeug-table-custom tbody tr{
	background: #ff9f9f;
}

#werkzeug-table-custom tbody tr:nth-of-type(odd){
	background: #ffdfdf;
}

small
{
	font-size: 0.75em;	
	line-height: 1.2em;
}

.mietlisten {
	padding: 0.625em;
	margin: 0;
}

.miet-list
{
	max-width: 58.75em;
	width: 100%;
	font-size: 1em;
	color: #4A463B;
}

.miet-list thead .ersteSpalte{
	vertical-align: middle;
}

.miet-list thead
{
	height: 5em;
	line-height: 1.2em;
	vertical-align: bottom;
	text-align: center;
	background: #afafaf;
	background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);  
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); 
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); 
}


.miet-list th
{
	width: 5em;
	padding: 0.625em;
}

th.ersteSpalte {
	min-width: 15em;
	text-align: left;
	padding: 0.625em 0.625em 0.625em 1.25em;
}

.letzteZeile th{
	text-align: center;
	padding: 0.625em;
}


	@media (max-width: 53.125em ) {
		/*  Negate the margin between sections */
		.miet-list tbody th {
			margin-top: 0;
		}
		
		.miet-list thead {display: none;}
		
		/*  White bg, large blue text for rank and title */
		.miet-list th.ersteSpalte,
		.miet-list th.Zusatzinfo {
			display: block;
			font-size: 1.2em;
			text-align: left;
			line-height: 110%;
			padding: .5em .5em;
			background: #afafaf;
			background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);  
			background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); 
			background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); 
			color: #222;
			-moz-box-shadow: 0 1px 6px rgba(0,0,0,.1);
			-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.1);
			box-shadow: 0 1px 6px rgba(0,0,0,.1);
		}
		
		/*	Label the data	*/
		/*th:nth-of-type(1):before { content: "First Name"; }*/
		.miet-list td:nth-of-type(1):before { content: "pro angefangene Stunde: "; display: inline-block; width: 18em; }
		.miet-list td:nth-of-type(2):before { content: "\bd Tag = 4 Stunden: "; display: inline-block; width: 18em; }
		.miet-list td:nth-of-type(3):before { content: "1.-4. Miettag pro Tag: "; display: inline-block; width: 18em; }
		.miet-list td:nth-of-type(4):before { content: "ab 5. Miettag pro Tag: "; display: inline-block; width: 18em; }
		.miet-list td:nth-of-type(5):before { content: "Wochenende kurz\A(Samstag Mittag bis Montag früh): "; display: inline-block; width: 18em; white-space: pre; }
		.miet-list td:nth-of-type(6):before { content: "Wochenende lang\A(Freitag Abend bis Montag früh): "; display: inline-block; width: 18em; white-space: pre; }
		
		.letzteZeile,		
		.miet-list tbody th.Zusatzinfo {
			font-size: .8em;		
		}
		
		.miet-list th ~ td {
			display: none;
		}
			
		.miet-list th:hover ~ td {
			display:block;
			border: 1px solid #888;
			padding: .2em;
		}
		
		br.weg {
			display: none;
		}
		
		.miet-list td span.vert {
			display: inline-block;
			vertical-align: text-top;
			width: 15em;
		}

		/*  Make the data bold */
		.miet-list th,
		.miet-list td {
			font-weight: normal;
			text-align: left;
		}
		
		span.left {
			display: block;
			float: left;
			width: 8.75em;
		}
	}

	/* Media query to show as a standard table at wider widths */
	@media ( min-width: 53.125em ) {
		/* Show the table header rows */
		.miet-list td,
		.miet-list th,
		.miet-list tbody th,
		.miet-list tbody td,
		.miet-list thead td,
		.miet-list thead th {
			display: table-cell;
			margin: 0;
		}
		
		.miet-list td, .miet-list .Zusatzinfo		{
			text-align: center;
		}
		
	
		span.left {
			display: block;
			float: left;
			width: 7.5em;
		}
		
		br.nichtweg {
			display: none;
		}
	}
	/* Hack to make IE9 and WP7.5 treat cells like block level elements */
	/* Applied in a max-width media query up to the table layout breakpoint so we don't need to negate this */
	@media ( max-width: 53.125em ) {
		.miet-list th {
			width: 100%;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			float: left;
			clear: left;
		}