@page {
	size: a4;
	margin-left: 1.27cm;
	margin-right: 1.27cm;
	margin-top: 1.27cm;
	margin-bottom: 2.0cm;
	padding-top: 0.8em;

	@top-center {
		content: "SEITE " counter(page) " / " counter(pages);
		font-family: Lucida Grande, Arial, Helvetica, sans-serif;
		font-size: 10pt;
		background-color: #273E8D;
		color: #FFF;
	}
	@top-right {
		content: "STADT CHEMNITZ";
		font-family: Lucida Grande, Arial, Helvetica, sans-serif;
		font-size: 10pt;
		background-color: #273E8D;
		color: #FFF;
	}
	@top-left {
		/*
		content: element(header);
		*/
		content: "VERWALTUNGSINFORMATION";
		font-family: Lucida Grande, Arial, Helvetica, sans-serif;
		font-size: 10pt;
		background-color: #273E8D;
		color: #FFF;
	}
	@top-right-corner {
		background-color: #273E8D;
		width: 1px;
	}
	@top-left-corner {
		background-color: #273E8D;
		width: 1px;
	}
	@bottom-center {
		/*
		content: element(footer);
		*/
		background: url(/static/images/logo_chemnitz.jpg)/1cm no-repeat;
	}
}

/*
div#header { position: running(header); display: block; }
div#footer { position: running(footer); display: block; }
*/

span.page::before  { content: counter(page);  }
span.pages::before { content: counter(pages); }

body {
	margin: 0;
	font-family: Lucida Grande, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	line-height: 1.5;
}

table {
	page-break-inside: avoid;
	-fs-table-paginate: paginate;
	-fs-keep-with-inline: keep;
	border-collapse: collapse;
}

table td, table th {
	vertical-align: top;
	text-align: left;
	padding: 3px;
}

table.oeffnungszeiten span {
	white-space: nowrap;
}
table.oeffnungszeiten span:after {
	content: '\a' ; white-space: pre;
}

table.grey {
	background-color: #FFFFFF;
	border-spacing: 0px;
	border: thin solid #D2D7E6;
}
table.grey > tr > th {
	background-color: #D2D7E6;
	color: #00195A;
}
table.grey > tr > th, table.grey > tr > td {
	border: thin solid #D2D7E6;
}

h1, h2, h3, h4, h5, h6, h1>p, h2>p, h3>p, h4>p, h5>p, h6>p {
	page-break-after: avoid;
}
h1, h2, h3, h4, h5 {
	color: #273E8D;
	background-color: transparent;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 1em;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0.5em;
	padding-bottom: 0;
	clear:left;
}
h1, h2 {
	border-bottom: thin solid #CCCCCC;
}

h1 {
	font-size: 180%;
	font-weight: bold;
}
h2 {
	font-size: 140%;
	font-weight: bold;
}
h3 {
	font-size: 120%;
	font-weight: bold;
}

a {
	text-decoration: none;
}
a.mail:after, a.link:after {
	/*content: attr(href);*/
	content: " [" attr(href) "]";
	color: #000;
}

table.hover tr td a.link:after {
	content: none;
}

#left table.hover {
	width: 300px;
}

#left table.hover th.title {
	width: 280px;
}

#left table.hover th.number {
	width: 20px;
}

noscript,
#navi_left,
#header1, #header2, #header3,
div#footer ul.navi_service,
div#footer span.copy,
.subheader,
.print, .back-link,
table.hover tr td a.link.all {
	display: none;
}

/* Personendaten auf den Dezernatsseiten */

#dezernat div.person img {
	display: block;
	float: left;
	border: 1px solid grey;
}

#dezernat div.aemter span, #dezernat div.aemter a {
	display: block;
	border: 1px solid grey;
	margin: 8px 0px 0px 0px;
	color: #000;
}

/* Übersicht Kita, Betrieb */
table.kita_uebersicht,
table.betrieb_uebersicht {
	border-collapse:separate;
	border-spacing:5px;
	width:auto;
}

table.kita_uebersicht tr td a,
table.betrieb_uebersicht tr td a {
	color:#000000;
}

table.kita_uebersicht td.t_top_left,
table.betrieb_uebersicht td.t_top_left,
table.betrieb_uebersicht td.t_head_left,
table.betrieb_uebersicht td.t_roof_left {
	border:none;
}

table.kita_uebersicht td.t_left,
table.betrieb_uebersicht td.t_left {
	border:1px solid #E6E9F2;
	text-align: left;
}

table.kita_uebersicht td.t_top,
table.betrieb_uebersicht td.t_top{
	border:1px solid #E6E9F2;
	vertical-align: bottom;
}

table.kita_uebersicht td,
table.kita_uebersicht th,
table.betrieb_uebersicht td,
table.betrieb_uebersicht th {
	border:1px solid #E6E9F2;
	padding:5px;
	width:120px;
	text-align: center;
}

.one-column table.betrieb_uebersicht td.t_roof {
	background: url('/static/images/roof-print.png') center no-repeat;
	border: none;
	height:40px;
}

/* Übersicht Schulen */
	#schulen_uebersicht {
		width: 619px;
		height:auto;
		margin:15px;
		font-size:10px;
		font-family:Arial,Helvetica,sans-serif;
		text-align:center;
	}

	#schulen_uebersicht span {
		display:block;
	}

	#schulen_uebersicht a {
		font-weight:bold;
		color: #000000;
	}

	/* ---------- Oben ------------ */

	#schulen_uebersicht .top {
		width:619px;
		height:75px;
	}

	#schulen_uebersicht .top div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .Fachschule {
		width:155px;
		height: 45px;
		float:right;
		margin-top:15px;
	}

	#schulen_uebersicht .Fachschule span {
		margin-top: 15px;
	}

	#schulen_uebersicht .TU {
		width:269px;
		height:60px;
		float:right;
		margin-right:1px;
		margin-left:105px;
	}

	#schulen_uebersicht .TU span {
		margin-top:16px;
	}

	/* ---------- Unten ---------- */
	#schulen_uebersicht .bottom {
		width:619px;
	}

	/* ---------- Unten Links ---------- */
	#schulen_uebersicht .bottom .left {
		width:75px;
		height:405px;
		float:left;
	}

	#schulen_uebersicht .bottom .left div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .BSfBehinderte {
		width: 75px;
		height: 75px;
		margin-bottom: 10px;
	}

	#schulen_uebersicht .BSfBehinderte span {
		margin-top:5px;
	}

	#schulen_uebersicht .Foerderschule {
		width: 75px;
		height: 300px;
	}

	#schulen_uebersicht .Foerderschule span {
		margin-top: 120px;
	}

	/* ------------ Unten Mitte -------------- */

	#schulen_uebersicht .bottom .middle {
		width: 440px;
		height:405px;
		float:left;
		margin-left:10px;
	}
	#schulen_uebersicht .bottom .middle .m_top {
		width:440px;
		height:290px;
		margin-bottom:10px;
	}

	#schulen_uebersicht .bottom .middle .m_top .mt_left {
		width: 349px;
		height: 290px;
		float:left;
	}

	#schulen_uebersicht .bottom .middle .m_top .mt_left div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .bottom .middle .m_top .mt_left div.mt_left_top {
		height:85px;
		border:none;
	}

	#schulen_uebersicht .BFS, #schulen_uebersicht .BS, #schulen_uebersicht .FOS {
		width: 75px;
		height: 75px;
		margin-right: 10px;
		margin-bottom: 10px;
		float:left;
	}

	#schulen_uebersicht .BFS span, #schulen_uebersicht .BS span, #schulen_uebersicht .FOS span, #schulen_uebersicht .Ber_Gym span {
		margin-top:18px;
	}

	#schulen_uebersicht .Ber_Gym {
		width: 75px;
		height: 75px;
		margin-bottom: 10px;
		float:left;
	}

	#schulen_uebersicht .Mittelschule {
		height: 200px;
		width:348px;
	}

	#schulen_uebersicht .Mittelschule span {
		margin-top: 80px;
	}

	#schulen_uebersicht .bottom .middle .m_top .mt_right {
		width: 88px;
		height: 290px;
		float:left;
	}

	#schulen_uebersicht .bottom .middle .m_top .mt_right div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .Gym {
		width:88px;
		height:285px;
		float:left;
	}

	#schulen_uebersicht .Gym span {
		margin-top: 125px;
	}

	#schulen_uebersicht .bottom .middle .m_bottom {
		width:440px;
		height: 75px;
	}

	#schulen_uebersicht .bottom .middle .m_bottom div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .Grundschule {
		height:87px;
		width:438px;
	}

	#schulen_uebersicht .Grundschule span {
		margin-top: 25px;
	}

	/* ---------- Unten Rechts -------- */

	#schulen_uebersicht .bottom .right {
		width:83px;
		height:405px;
		float:left;
		margin-left:10px;
	}

	#schulen_uebersicht .bottom .right div {
		border: 1px solid #000000;
	}

	#schulen_uebersicht .zweiter_bw {
		float:left;
		height:387px;
		width:80px;
	}

	#schulen_uebersicht .zweiter_bw span {
		margin-top: 165px;
	}

