
@viewport {
	width: device-width;
	zoom: 1;
}

html { height: 100%; }
body {
	width: 100%; height: 100%;
	margin: 0; padding: 0;
}
#pgwrap {
	position: relative;
	width: 950px; height: 100%;
	overflow: visible;
	margin: auto; padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#pgleft {
	position: absolute;
	left: -50px;
	width: 50px;
	height: 100%;
	overflow: hidden;

	background: url(/pix/icon/menu.png);
	background: url(/pix/icon/menu.svg),none;
	background-repeat: no-repeat;
	background-position: 100% 50%;

	cursor:pointer;
}
#pgright { position: absolute; top: 0; right: 0; height: 100%; }
#rbottom { position: absolute; left: 20px; bottom:10px; }
#rcenter { position: absolute; left: 20px; top: 50%; }
#pgcenter {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#hscrollc {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#hscroll {
	position: absolute;
	top: 0; left: -100%;
	height: 100%;
	width: 300%;
}
#hscroll>div { width: 33.4%; left: 33.333%; }
#pgscrollc {
	top: 0; left: 0;
}
.scrollc {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.xscrollc { left: 200%; }
#pgscroll {
	position: relative;
	min-height: 100%;
}

.ldrawer {
	position: absolute;
	width: 100%;
	height: 100%;
	left: -100%;
	top: 0;
	z-index: 999;
	overflow: hidden;
}
#navi {
}

.maincontent { position: relative; width: 100%; min-height: 100%; height: auto; padding: 20px; box-sizing: border-box; -moz-box-sizing: border-box; }
.contentblock {
	min-height: 20px;
	position: relative; width: 100%;
	display: table;
}
.textcontainer { position: relative; text-align: center; }
.textblock { position: relative; text-align: center; margin: 0;}

.dr { position: relative; display: table-cell; width: 100%; max-width: 900px; min-height: 100%; vertical-align:middle; }
.dc { position: relative; margin: 0px; }
.da { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; display: none; }

#map {
	position: relative;
	width: 100%;
	height: 100%;
}

.bgpic {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-position: 50% 0%;
	background-size: auto;
	background-repeat: no-repeat;
}

.menu {
	display: table;
	width: 100%;
	height: 60%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-align: right;
	padding: 10px;
	border-right: 5px solid white;
}
.menu-r {
	display: table-row;
	width: 100%;
}
.menu-c {
	display: table-cell;
	vertical-align: middle;
}

/* db admin */
.btable { display: table; position: relative; }
.brow { display: table-row; vertical-align: top; position: relative; min-height: 25px; }
.brow:nth-child(even) { background-color: #dddddd; }
.bcell { display: table-cell; vertical-align: top; position: relative; padding-right: 10px; }
/* */

.maxw {
	max-width: 650px;
}
#map {
	width: 100%;
	height: 350px;
}

.ui-front, .ui-dialog { z-index: 2000; }

.grafik {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 50%; float: left;
	margin-left: 10%; padding-top: 20px;
}
.label {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 30%; float: left;
	padding-left: 20px; padding-top: 20px;
}
.arr-l { z-index:1; position:absolute;left:10px;top:50%;margin-top:-52px; }
.arr-r { z-index:1; position:absolute;right:10px;top:50%;margin-top:-52px; }

/*
.wohnung table { margin-left: 50px; vertical-align: top; }
.wohnung tr { vertical-align: top; }
.wohnung tr:nth-of-type(2) { height: 0; }
.wohnung tr:nth-of-type(2) td { height: 0; }
.wohnung td { padding: 10px 20px 5px 5px; text-align: left; vertical-align: top; }
.wohnung tr:nth-child(2) td:nth-child(2) { min-width: 180px; }
.wohnung tr:nth-child(2) td:nth-child(3) { min-width: 80px; }
.wohnung tr:nth-child(n+2) td:last-child { text-align: right; }
*/
.wohnung .td:nth-child(2) { min-width: 260px; }
.wohnung .td { padding: 10px 0px 5px 25px; text-align: left; vertical-align: top; }

.wohnung table { margin: 0; }
.wohnung .tline .td { border-top: inherit; }
.wohnung .rline .td:last-of-type { border-right: inherit; }
.wohnung .wtbl { width: 100%; }
.wohnung .wtbl td { padding-right: 10px; text-align: left; vertical-align: top; }
.wohnung .wtbl td:last-child { text-align: right; }

.wohnung .textblock { margin-bottom: 50px; }

.wimg {
	position: relative;
	width: 460px;
	overflow: hidden;
}

.gtbl { width: 0px; margin: 10px auto; }
.gtbl td { padding: 0 20px; }

.haus.c .csgelb { min-height: 465px; }
.haus.d .csgelb { min-height: 465px; }
.haus.e .csgelb { min-height: 520px; }

.scrollc>div { padding-bottom: 50px; }

.cw4 { width: 950px; }
.cw3 { width: 711px; }
.cw2 { width: 472px; }
.cw1 { width: 233px; }
