/* STYLE OG�LNE */
HTML,BODY {
	width: 100%;
	height: 100%;
}

BODY {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: Helvetica, Arial;
	font-size: 13px;
}

TABLE {
	margin: 10px 0;
	font-family: Helvetica, Arial;
	font-size: 13px;
	text-align: center;
	cursor: default;
}

TABLE THEAD TR, TABLE THEAD TR:hover {
	background-color: #C0C0C0;
}

TABLE THEAD TD {
	padding: 5px;
	font-weight: bold;
}

TABLE TBODY TR {
	background-color: #EFEFEF;
}

TABLE TBODY TR.failure {
	color: red;
}

TABLE TBODY TR:hover {
	background-color: #D0D0D0;
}

TABLE TBODY TD {
	padding: 3px 7px;
}

TABLE TABLE TR {
	background-color: transparent;
}

DIV {
	text-align: left;
}

BUTTON, INPUT[type='button'], INPUT[type=submit], INPUT[type=file], INPUT[type='checkbox'], INPUT[type='radio'] {
	cursor: pointer;
}

BUTTON, INPUT[type=button], INPUT[type=submit], INPUT[type=file] {
	background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%) repeat scroll 0 0 padding-box rgba(0, 0, 0, 0);
	background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
	font-family: Verdana;
	font-size: 13px;
	color: #444;
	display: inline-block;
	margin-right: 5px;
	padding: 3px 10px;
	vertical-align: inherit;
}

TEXTAREA, INPUT[type=text] {
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
	font-size: 14px;
	display: inline-block;
	margin-right: 5px;
	padding: 3px 10px;
	cursor: pointer;
	vertical-align: inherit;
}

INPUT[type=file] {
	padding: 0 10px 0 0;
}

SELECT {
	padding: 2px 8px;
}

BUTTON {
	float: right;
	font-family: Courier;
	margin-left: 5px;
	margin-bottom: 5px;
}

FIELDSET {
	margin: 0px;
	padding: 10px;
	text-align: left;
}

H3 {
	font-size: 15px;
	padding: 0;
	margin: 0;
	margin-bottom: 5px;
}

FORM {
	float: left;
	clear: both;
}

INPUT.inp {
	width: 500px;
}

INPUT.opt {
	width: 200px;
}
INPUT.lng {
	width: 300px;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
	height: 0px;
}

.command {
	padding-bottom: 15px;
}

.button {
	padding: 5px;
	border: 1px solid #d9d9d9;
	background-color: #efefef;
	float: left;
	margin: 10px 0;
}

A.button-small {
	padding: 2px;
	margin-right: 10px;
}

LABEL.alone {
	display: inline-block;
	width: 240px;
	margin-bottom: 10px;
}

#header_fixed, #header_static {
	display: block;
	float: left;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #fff;
	border-bottom: 1px solid #888;
	z-index: 1;
}

#header_static {
	position: static;
}

#header_fixed {
	position: fixed;
}

#header_fixed UL, #header_static UL, #header_fixed LI, #header_static LI {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

#header_fixed UL, #header_static UL {
	float: left;
	margin: 10px 240px 0 0;
	padding-left: 20px;
}

#header_fixed LI, #header_static LI {
	float: left;
	margin-right: 10px;
	font-weight: bold;
}

#header_fixed A:link, #header_static A:link, #header_fixed A:visited, #header_static A:visited {
	display: block;
	height: 200px;
	margin-bottom: -182px;
	text-decoration: none;
	color: #000;
	padding: 5px 10px;
	background-color: #EFEFEF;
	border-top: 1px solid #888;
	border-left: 1px solid #888;
	border-right: 1px solid #888;
}

#header_fixed A:hover, #header_static A:hover {
	background-color: #D0D0D0;
}

#header_fixed .selected a, #header_static .selected a {
	top: 1px;
	background-color: #fff;
}

#header_user_info {
	position: fixed;
	top: 10px;
	right: 20px;
	white-space: nowrap;
	font-weight: normal;
	font-size: 11px;
	color: #555;
	z-index: 2;
}

#content {
	clear: both;
	float: left;
	margin: 0;
	padding: 10px 20px 0;
	background-color: #fff;
}

#prefix, #suffix {
	border: 1px solid #D9D9D9;
	background-color: #EFEFEF;
	padding: 10px;
	float: left;
	margin-right: 5px;
}

UL#sortable {
	margin-top: 20px;
	padding: 0;
}

UL#sortable LI.command {
	background-color: #EFEFEF;
	border: 1px solid #D9D9D9;
	margin-bottom: 10px;
	padding: 10px;
	list-style-type: none;
	margin-left: 0;

}

UL#sortable LI.command LI {
	list-style-type: none;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #D9D9D9;

}

UL#sortable LI.command UL.values LI UL.options LI {
	border: 0 none;
}

UL#sortable LI.command UL.values LI UL.options {
	margin: 0;
	padding: 0;
}

.type-select-div {
	display: table-cell;
}

.type-select-div UL.options {
	clear: both;
}

.command-button-remove,
.var-button-remove,
.add-variable {
	float: right;
}

UL.values {
	clear: both;
}

#sortable {
	width: 1200px;
}

#sortable LI,
.values LI,
.options LI,
#params-order,
#sortable LI label,
.values LI label,
.options LI label,
#params-order label {
	cursor: move;
}

.order-column {
	border: 1px solid #D9D9D9;
	padding: 5px;
	margin-top: 45px;
}

UL#params-order {
	margin: 0;
	padding: 0;
}

UL#params-order LI.param {
	background-color: #EFEFEF;
	list-style-type: none;
	padding: 5px;
	margin: 0;
	margin-bottom: 5px;
}

.options-button {
	float: right;
}

LI.option label {
	margin-left: 10px;
	margin-right: 0;
}

.matchDefalut-select {
	width: 150px;
}

#popup {
	cursor: move;
	position: absolute;
	width: 300px;
	border: 3px solid #D0D0D0;
	display: none;
	padding: 20px;
	background-color: #EFEFEF;
	-moz-box-shadow: 5px 5px 2px #888;
	-webkit-box-shadow: 5px 5px 2px #888;
	box-shadow: 5px 5px 2px #888;
}

#popup #close {
	border: 1px solid #D0D0D0;
	font-weight: bold;
	padding: 2px;
	position: absolute;
	right: -2px;
	top: -3px;
	width: 8px;
	background-color: #D0D0D0;
	cursor: pointer;
}

#popup label,
#popup INPUT {
	margin-left: 0;
}

#popup div {
	margin-bottom: 10px;
}

#popup div INPUT, #popup div select {
	width: 286px;
}

#popup #typeContent {
	width: 320px;
	max-height: 485px;
	overflow: auto;
}

#popup #typeContent DIV {
	width: 300px;
}

#popup .type-select-div,
#popup #typeContent div div {
	width: 286px;
	padding: 6px;
	background-color: #E0E0E0;
	border: 1px solid #D0D0D0;
}

#popup #typeContent div.option-container {
	position: relative;
	margin-bottom: 1px;
	clear: both;
}

#popup #typeContent div.option-container div {
	background-color: transparent;
	border: 0 none;
	padding: 0;
	margin-bottom: 2px;
}

#popup #typeContent div.option-container button {
	position: absolute;
	right: 10px;
	top: 10px;
}

#popup #typeContent div.option-container div INPUT {
	width: 180px;
}

#popup #typeContent div.option-container div label {
	width: 60px;
	float: left;
}

#popup div#popupButtons {
	text-align: center;
}

#popup div#popupButtons INPUT,
#popup div#popupButtons button {
	float: none;
	display: inline;
}

#popup div#popupButtons INPUT {
	margin-left: 10px;
	width: 110px;
}

#command-container,
#command-container LI,
#additional-container,
#additional-container LI {
	padding: 0;
	margin: 0;
}

#command-container,
#additional-container {
	float: left;
}

#command-container LI.single-command,
#additional-container LI.single-command {
	float: left;
	margin-right: 5px;
	margin-bottom: 10px;
	border: 1px solid #d0d0d0;
	padding: 5px;
	text-align: center;
	font-weight: bold;
	font-style: none;
	list-style-type: none;
	text-align: center;
}

#command-container LI.single-command span.edit,
#command-container LI.single-command span.remove,
#additional-container LI.single-command span.edit,
#additional-container LI.single-command span.remove {
	width: 14px;
	height: 14px;
	border: 1px solid;
	background-color: #EFEFEF;
	cursor: pointer;
	font-weight: bold;
	font-size: 11px;
	text-align: center;
	margin-top: 10px;
}

#command-container LI.single-command span.edit,
#additional-container LI.single-command span.edit {
	margin-right: 10px;
	float: left;
	color: green;
}

#command-container LI.single-command span.remove,
#additional-container LI.single-command span.remove {
	float: right;
	color: red;
}

#command-container LI.source-command-S {
	border-color: #9f9f9f;
	background-color: #D0D0D0;
}

#command-container LI.source-command-C {
	border-color: #7dc37f;
	background-color: #caeccb;
}

#command-container LI.source-command-I {
	border-color: #B0AD5D;
	background-color: #EFEC96;
}

#command-container LI.source-command-G {
	border-color: #ffa400;
	background-color: #ffd17e;
}

#command-container LI.source-command-T,
#additional-container LI.source-command-T {
	border-color: #d65f5f;
	background-color: #f8d3d3;
}

#variablesTable {
	width: 1300px;
}

#variablesTable THEAD, #variablesEditTable THEAD {
	text-align: center;
	font-weight: bold;
}

.actions-container {
	margin-bottom: -5px;
}

.submits-container {
	float: left;
	margin: 10px 50px 10px 0;
	vertical-align: middle;
}

.searcher-container {
	float: left;
	margin: 10px 0;
}

.var-command-container div div {
	width: auto;
	float: left;
}

td.param-id span {
	float: left;
	font-size: 13px;
	padding-top: 3px;
}

/* Autocomplete */
.ac_results {
	padding: 0px;
	border: 1px solid #B3C0D4;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results UL {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results LI {
	margin: 0px;
	padding: 5px 8px;
	cursor: default;
	display: block;
	font: menu;
	font-size: 14px;
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('../images/indicator.gif') right center no-repeat;
}

.ac_odd {
	background-color: #F5F5F5;
}

.ac_over {
	background-color: #0b3878;
	color: white;
}

/* timepicker */
.ui-datepicker TR, .ui-datepicker TR:hover {background-color: transparent;}

.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }

BODY.login-screen {
	background: #d0e7f7;
	font: normal 12px Arial;
	overflow: hidden;
}

#auth, #auth * {
	margin: 0;
	padding: 0;
	border: 0;
}

#auth-form-container {
	background-color: #d0e7f7;
	border-top: 1px solid #e3f1fa;
}

#auth-logo {
	background: #FFF url('/images/auth_background.png') repeat-x left bottom;
	border-bottom: 1px solid #acd2ec;
	height: 170px;
	line-height: 170px;
	vertical-align: middle;
}

#auth-logo h1 {
	width: 250px;
	height: 170px;
	line-height: 170px;
	vertical-align: middle;
	display: block;
	margin: 0 auto;
	background: transparent url('/images/auth_logo.png') no-repeat center center;
	overflow: hidden;
	text-indent: -2000px;
}

#auth-form {
	width: 440px;
	height: 190px;
	background: #d0e7f7 url('/images/auth_form_background.png');
	margin: 0 auto;
}

#auth-form ul {
	float: left;
	list-style: none;
	margin-right: 40px;
	margin-left: 40px;
}

#auth-form LABEL {
	display: block;
	/* Poniższe z generycznej "form LABEL" w default.css (poza sekcją PANEL LOGOWANIA, więc
	   nie skopiowana automatycznie z resztą) - tam obowiązuje dla każdego <form> we
	   frontowej apce, tu scopowane tylko do #auth-form żeby nie dotknąć reszty dashboardu. */
    font-family: Helvetica, Arial, serif;
	font-size: 11px;
	font-weight: bold;
	color: #5b93d1;
	margin-right: 5px;
}

#auth-message {
	margin-bottom: 20px;
	padding-top: 20px;
	text-align: center;
	color: red;
	font-weight: bold;
}

#auth-login {
	float: left;
	margin-right: 5px;
}

#auth-password {
	float: right;
	margin-left: 5px;
}

#auth-password-remind {
	float: right;
	margin: 30px 15px;
	padding: 0;
}

#auth-password-remind a {
	color: #0066CC;
	text-decoration: none;
}

#auth-submit {
	float: right;
	margin: 20px 0;
	padding: 0;
	text-align: right;
	clear: both;
}

#auth-submit input {
	width: 98px;
	height: 28px;
	background: #d0e7f7 url('/images/auth_login_button.png') no-repeat 0 -28px;
	border: 0 none;
	cursor: pointer;
}

#auth-submit input:hover {
	background-position: 0 0;
}

#auth-login input, #auth-password input {
	width: 160px;
	/* Z generycznej "input,textarea,select" w default.css (poza sekcją PANEL LOGOWANIA, tak
	   samo jak "form LABEL" wyżej) - bez tego inputy renderują się gołym, przeglądarkowym
	   wyglądem zamiast jasnoniebieskiej ramki/zaokrąglenia z reszty ekranu. Scopowane tylko
	   do #auth-login/#auth-password żeby nie dotknąć reszty dashboardu (własne stylowanie
	   inputów gdzie indziej w tym pliku). */
	background-color: #FFF;
	font-size: 11px;
	color: #2a4563;
	padding: 6px;
	border: 1px solid #bed9ec;
	border-radius: 3px;
	margin-top: 3px;
	margin-bottom: 5px;
	cursor: pointer;
}

#auth-form-container h2 {
	display: block;
	width: auto;
	height: auto;
	overflow: visible;
	margin: 0 auto;
	padding: 24px 20px;
	color: #003388;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.65);
	font: 300 17px/1.35 Candara, Calibri, "Segoe UI", Corbel, "Century Gothic", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-align: center;
}
