.ui-widget {
	font-family: Verdana,Arial,sans-serif;
	font-size: 12px;
}

.ui-button {
	padding: 0.4em 0 0.4em 0;
}

#auxbuttons > .ui-button:not(#stickme) {
	padding: 0.4em 1em 0.4em 2.1em;
}

.ui-button-icon:not(#filterbutton > .ui-button-icon, #stickme > .ui-button-icon, .ui-dialog-titlebar-close > .ui-button-icon) {
	top: 50%;
	margin-top: -9px;
	left: 0.5em;
	position: absolute;
}

#filterbutton {
	width: 95px;
}

span.ui-checkboxradio-icon {
	display: none;
}

html, body {
	min-height: 90vh;
	margin: 0;
	padding: 0;	
}

iframe {
	border: none;
}

h4 {
	font-size: 13pt;
	margin: 15px 0 4px;
	text-align: center;
}

div[id^="trace_"],
div[id^="sibling_"] {
	margin-left: 0px;
	padding: 0;
}

div[id^="accordion_extrace"],
div[id^="accordion_exsibling"] {
	background: #fff !important;
	border: none;
	margin-top: 10px;
}

div[id*="accordion-accordion_extrace"],
div[id*="accordion-accordion_exsibling"] {
	border: none;
	background: #f0f0f0;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

h3[id*="accordion-accordion_extrace"],
h3[id*="accordion-accordion_exsibling"] {
	border: none !important;
	background: #d7d7d7 !important;
	color: #000 !important;
}
 
div[id^="accordion_exsibling"] {
	margin-top: 10px;
}

h3.empty,
h3.empty+div {
	opacity: 0.3;
}

h3.empty+div {
	display: none !important;
}

#panel {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	left: -242px;
	background: #fafafa;
	width: 242px;
	border-right: 24px solid #666;
	z-index: 1;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	transition: 0.3s left, 0.3s border-right;
}

#panel:before {
	content: '▼ MENU ▼';
	position: fixed;
	top: 50px;
	display: block;
	width: 100px;
	text-align: right;
	left: -39px;
	font-weight: bold;
	color: #fff;
	font-family: sans-serif;
	transform: rotate(-90deg);
}

body.panel_sticky #panel {
	left: 0;
	border-right: 1px solid #999;
	transition: none;
}

body.panel_sticky #accordion {
	left: 250px;
	min-width: 80vw;
}

#panel.hovered {
	left: 0;
	border-right: 1px solid #999;
	transition: 0.3s left, 0.3s border-right;
}

#toolbar {
	position: absolute;
	top: 0;
	left: 0;
	margin-top: 5px;
	margin-left: 5px;
	z-index: 1;
	width: 230px;
	background: #ddd;
	padding: 5px 0;
}

#toolbar hr {
	border: none;
	border-top: 1px solid #999;
	margin: 10px 0;
	width: 210px;
}

#operators select, #operators input {
	display: block;
	border: 1px solid #999;
	padding: 2px;
	margin: 3px 0;
}

#toolbar select {
	border-radius: 3px 0 0 3px;
	width: 205px;
}

#rangepicker, #filterbutton, #auxbuttons {
	 margin: 5px 10px;
}

#operators {
	font-family: sans-serif;
	font-size: 10.5pt;
}

#rangepicker label {
	width: 100px;
	margin: 1px 1px;
	border-radius: 3px;
}

#auxbuttons {
	padding-top: 10px;
	width: 190px;
	border-top: 1px solid #999;
	position: relative;
}

#auxbuttons button {
	display: block;
	margin: 1px 0;
	width: 155px;
}

#panel #stickme {
	position: absolute;
	top: 10px;
	left: 180px;
	width: 30px;
	z-index: 3;
}

#accordion {
	position: absolute;
	top: 3px;
	left: 30px;
	padding-bottom: 5px;
	/* Haxy na bug w chrome, który chowa menu po najechaniu na opcje selecta.
	 * Przez to menu ukrywamy po: mouseover, mouseenter, mousemove, click 
	 * na #accordion (JS-em) zamiast po un-hover na #panel */
	min-width: 97vw;
	min-height: 98vh;
}

#tips {
	position: absolute;
	bottom: 0;
	left: -1px;
	margin-bottom: 5px;
	margin-left: 5px;
	background: #555;
	color: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	padding: 4px 8px;
	border-radius: 3px;
	font-family: sans-serif;
	font-size: 11pt;
}

#tips span {
	display: block;
	width: 217px;
	font-size: 10pt;
}

.ui-button[aria-pressed="true"],
.ui-button.ui-state-active {
	font-weight: bold;
}

#auxbuttons .ui-button.ui-state-active,
#submitlogin {
	font-weight: normal;
}

#stats-iframe, #map-iframe, #fav-iframe, #channels-iframe, #notifications-iframe, #errors-iframe, #outages-iframe {
	width: 100%;
	height: 99%;
}

#myIframe {
	position: relative;
	right: -10px;
}

#statsdialog, #mapdialog {
	overflow: hidden;
}

.probe-tree, 
.active-probes,
.temp-probes {
	margin: 0 auto;
}

.siblings {
	margin: 0 auto;
	padding-left: 20px;
}

.ui-button {
	border: 1px solid #999 !important;
}

.no-close .ui-dialog-titlebar-close {
	display: none;
}

#favorites p,
#favorites a,
#favorites label {
	font-family: sans-serif;
	font-size: 10.5pt;
}

#favorites p {
	margin: 5px 0;
}

#favorites h4 {
	font-family: sans-serif;
}

#favorites table {
	width: 100%;
}

#favorites input[type="submit"] {
	margin: 20px auto 10px;
	text-align: center;
	padding: 3px 8px;
	font-size: 14pt;
	font-weight: bold;
	display: block;
}

#favorites input[type="checkbox"] {
	position: relative;
	top: 1px;
	margin-right: 5px;
}

/* fix pinezki nad kalendarzem */
#ui-datepicker-div {
	z-index: 4 !important;
}

#errorsdialog table {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
}

#errorsdialog table th {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}

#errorsdialog table td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}

#errorsdialog h4 {
	text-align: center;
	display: block;
	font-family: sans-serif;
	font-size: 12pt;
}

#errorsdialog {
	text-align: center;
	position: relative;
}

#errorsdialog a {
	color: #00f;
}

.errors-loading-throbber {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(255,255,255,0.5) url(stb_monitoring/spinner.gif) no-repeat 50% 49%;
}


.notificationeditor {
	font-family: sans-serif;
	font-size: 10pt;
}

.notificationeditor input[type=text] {
	font-weight: bold;
	border-style: solid;
	border-color: red;
	border-width: 1px;
	margin: 3px;
}


.notificationeditor select {
	font-weight: bold;
	border-color: red;
	margin: 3px;
}
