html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-size: 100.01%;
}

header h1 { text-align: center; }
/*
#content {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;

    background-color: #afafaf;
}
*/

#logo {
	height: 85%;
}

#setwdg { 
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	min-height: 100%;
}

#setwdg table {
	width: 100%;
	min-height: 100%;
	height: 100%;
	margin: auto;
	-webkit-background-size: auto 100%;
	-moz-background-size: auto 100%;
	background-size: auto 100%;
}

#setwdg table td {
	margin: auto;
	padding: 0;
	/* border: solid 1px black;  debug */
}

#setwdg table div.variable {
	width: 99%;
	height: 98%;
	margin: auto;
	padding: 0;
	position: relative;
}

#setwdg table div.variable.settable {
	cursor: pointer;
}


#setwdg table .variable div.name {
	/* border: none; */
	margin-top: auto;
	margin-bottom: 0;
	margin-left: 1%;
	margin-right: 1%;
	position: absolute;
	height: 33%;
	width: 95%;
	bottom: 0;
	left: 0;
	text-align: left;
	/*    border: solid 1px black; */
}

#setwdg table .variable div.name span {
	position: relative;
	white-space: nowrap;
}

#setwdg table .variable .unit {
	border: none;
	text-align: right;
	position: absolute;
	top: 0;
	right: 0;
	width: 30%;
	padding-right: 0.2em;
}

#setwdg table .variable div.unit span {
	padding-left: 0;
	white-space: nowrap;
}

#setwdg table .variable p {
	padding: 0;
	margin: auto;
	height: 65%;
	width: 98%;
}


#appmenu {
	position: absolute;
	width: 100px;
	background-color: #eee;
	z-index: 100;
	list-style-type: none;
	border: solid 1px black;
	border-bottom: none;
	padding: 0;
}

#appmenu .setvar {
	display: none;
}

#appmenu.setable li.setvar {
	display: block;
}

#appmenu li {
	cursor:pointer;
	padding: 0;
	margin: 0;
	border-bottom: solid 1px black;
}

#appmenu li:hover {
	background-color: #ccc;
}

#hidden { display: none; }

#setwidget {
	width: 500px;
	height: 200px;
	border: solid 1px black;
	position: absolute;
	top: 100px;
	margin-left: auto;
	margin-right: auto;
	z-index: 100px;
}

#docswdg, #synopticwdg {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

#docsiframe, #syniframe {
	width: 100%;
	height: 95%;
	margin: 0;
	padding: 0;
	position: relative;
}

button.close {
	width: 100%;
	height: 5%;
	margin: 0;
	padding: 0;
}

#knpage .ui-panel-inner {
	padding-left: 0;
	padding-right: 0;
}

#knpage #setwdg { text-shadow: none; }

#uservarwdg .ui-header { text-align: center; font-size: 80%}
#uservarwdg input { text-align: right; }
#uservarwdg #uservardesc { font-size: 70%; }
#uservarwdg #uservarmsg { color: red; font-size: 70%; }

#choosesetwdg { min-width: 20em; }


.ui-li-static.ui-collapsible > .ui-collapsible-heading {
	margin: 0;
}

.ui-li-static.ui-collapsible {
	padding: 0 !important;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading > .ui-btn {
	border-top-width: 0;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading.ui-collapsible-heading-collapsed > .ui-btn,
.ui-li-static.ui-collapsible > .ui-collapsible-content {
	border-bottom-width: 0;
}
