/* main */
body {
	font-family: arial;
	font-size: 12px;
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
}
.clear {
	clear: both;
}
a {
	text-decoration: none;
}
a:visited {
	color: #000000;
}
a:hover {
	text-decoration: underline;
}
input, select {
	font-family: arial;
	font-size: 12px;
}
input.text {
	border: 1px solid #444;
	background-color: #ddd;
}
label {
	vertical-align: middle;
}
label > input[type=checkbox] {
	position: relative;
	vertical-align: middle;
	bottom: 1px;
}
label > input[type=radio] {
	position: relative;
	vertical-align: middle;
	bottom: 3px;
}
label + label {
	margin-left: 7px;
}
img {
	image-orientation: none;
}

/* wrappers, panes */
#logo {
	margin: auto;
	margin-top: 20px;
	margin-bottom: 10px;
	text-align: center;
}
#header {
	background-image: url(../img/head-bg.png);
	background-repeat: repeat-x;
	background-position: bottom center;
	color: #ddd;
	position: fixed;
	top: 0px;
	width: 100%;
	height: 47px;
	padding: 0px 10px;
	line-height: 47px;
}
#header .togglemenu {
	float: left;
	font-size: 24px;
	font-weight: bold;
	padding-right: 10px;
	cursor: pointer;
}
#header .toptitle {
	float: left;
}
.toptitle {
	font-size: 18px;
	font-weight: bold;
}
#header .locale-chooser {
	float: right;
	margin-right: 10px;
}
#header .locale-chooser img {
	vertical-align: middle;
	padding-left: 2px;
	padding-right: 2px;
}
#menupanel {
	background-image: url(../img/leftpane.png);
	background-repeat: repeat-y;
	background-position: top left;
	position: fixed;
	top: 47px;
	bottom: 35px;
	left: -1px;
	width: 214px;
	color: #ddd;
	padding: 10px;
	padding-top: 0px;
	overflow: auto;
	transition: 0.5s;
	scrollbar-width: none;
}
#menupanel::-webkit-scrollbar {
	width: 0px;
	display: none;
}
#menupanel input[name=search] {
	width: 207px;
}
#menupanel #inline-calendar-container {
	text-align: center;
	margin-top: 12px;
	margin-bottom: 10px;
}
#menupanel #inline-calendar-container #inline-calendar-center {
	display: inline-block;
	margin: 0 auto;
}
#menupanel #inline-calendar-container #inline-calendar-center table.ui-datepicker-calendar tbody a {
	pointer-events: none;
	cursor: default;
}
#menupanel #inline-calendar-container td.spec-businessday a {
	background-color: grey !important;
	background-image: none !important;
	color: white !important;
}
#menupanel #inline-calendar-container td.spec-restday a {
	background-color: lightgrey !important;
	background-image: none !important;
	color: black !important;
}
#menupanel #inline-calendar-container td.spec-holiday a {
	background-color: red !important;
	background-image: none !important;
	color: black !important;
}
#main {
	position: fixed;
	top: 47px;
	left: 233px;
	bottom: 35px;
	right: 0px;
	padding: 10px;
	overflow: auto;
	transition: left 0.5s;
}
#main.without-header {
	top: 0px;
}
#main.without-menu {
	left: 0px;
}
#main.without-footer {
	bottom: 0px;
}
.tabs ul { /* patch */
	clear: none !important;
	height: 29px;
}
div.report-tabs > div > div > div {
	padding-right: 7px;
	padding-bottom: 5px;
}
#main .text p {
	margin: 7px 0px;
}

form > table td {
	padding: 1px;
}
.formtable td {
	padding: 1px;
}
.formtable tr td:first-child {
	text-align: right;
}
.tabs {
	margin: 10px 0px;
}

table.formatted {
	border-top: 1px solid white;
	border-left: 1px solid white;
}
.ui-tabs-panel {
	overflow: auto;
}
table.formatted td, table.formatted th {
	padding: 3px;
	border-bottom: 1px solid white;
	border-right: 1px solid white;
}
table.formatted, table.formatted td, table.formatted th {
	border-color: #777;
}
table.formatted .even {
	background-color: #ddd;
}
table.formatted th {
	padding: 7px 5px;
	vertical-align: middle;
}

div.tabs > div > div {
	padding-right: 7px;
	padding-bottom: 7px;
}

table.subtabled tbody tr.subtable > td {
	padding: 4px 8px 17px 8px;
}
table.subtabled tbody tr.subtable table {
/*	width: 100%; */
}

/* footer */
#footer {
	position: fixed;
	bottom: 0px;
	height: 35px;
	width: 100%;
	background-image: url(../img/footer.png);
	background-repeat: repeat-x;
	background-position: bottom center;
	color: #aaa;
	line-height: 35px;
}
#footer a {
	color: #aaa;
}
#footer .footer-menu {
	float: left;
	margin-left: 10px;
}
#footer .footer-copy {
	float: right;
	margin-right: 10px;
}

#query_container pre,
.query_container pre {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}
.query_container pre {
	padding-left: 15px;
}

#aggregate_container {
	padding-top: 3px;
	padding-bottom: 5px;
	line-height: 150%;
}

#jtable_selected {
	padding-top: 5px;
	padding-bottom: 5px;
}

#turanaptar .ui-datepicker,
#turanaptar .ui-datepicker table,
#turanaptar .ui-datepicker tr,
#turanaptar .ui-datepicker td,
#turanaptar .ui-datepicker th {
	margin: 0px;
	padding: 0px;
	border: none;
	border-spacing: 0px;
}
#turanaptar .ui-datepicker {
	display: none;
	padding: 12px;
	cursor: default;
	font-size: 14px;
}
#turanaptar .ui-datepicker-calendar th {
	padding-top: 10px;
	padding-bottom: 5px;

	text-align: center;
	font-weight: normal;
	color: #a8a8a8;
}
#turanaptar .ui-datepicker-calendar td {
	padding: 0px 4px;

	text-align: center;
	line-height: 19px;
}
#turanaptar .ui-datepicker-calendar .ui-state-default {
	border: 1px solid transparent;
	background: none;
	color: black;
	font-weight: bold;
}
#turanaptar .ui-datepicker-calendar .ui-datepicker-today a {
	border: 1px solid lightgrey;
}
#turanaptar .ui-datepicker-calendar .ui-state-active {
	border: 1px solid black;
}
#turanaptar .ui-datepicker-calendar .ui-datepicker-week-col {
	color: darkgray;
	font-size: smaller;
}
#turanaptar .ui-datepicker-calendar .omega-thereisnothing a {
	color: #E0E0E0;
	font-weight: normal;
}
#turanaptar .ui-datepicker-calendar .omega-ready a {
	color: green;
	font-weight: bold;
}
#turanaptar .ui-datepicker-calendar .omega-thereisunready a {
	color: red;
	font-weight: bold;
}

#menupanel .ui-accordion-header > a {
	padding-left: 1.4em;
}

#menupanel .submenu .ui-accordion-header > a {
	padding-top: 2px;
	padding-bottom: 0px;
}

#menupanel .ui-accordion-content {
	padding-top: 7px;
	padding-left: 0.6em;
	padding-right: 3px;
	padding-bottom: 7px;
}

#menupanel .ui-accordion-content ul {
	padding-left: 0.9em;
	padding-right: 0px;
	padding-bottom: 0px;
}

#menupanel .submenu .ui-accordion-content {
	border-top: 0px;
	border-right: 0px;
}

@media only screen and (orientation: portrait) {
	#menupanel:not(.menu-force-show) {
		width: 0px;
		padding: 0px;
	}
	#main:not(.menu-force-show) {
		left: 0px;
	}
}

@media only screen and (max-width: 1200px) {
	#menupanel:not(.menu-force-show) {
		width: 0px;
		padding: 0px;
	}
	#main:not(.menu-force-show) {
		left: 0px;
	}
}
