@charset "utf-8";
body {
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin: 0;
	padding: 0;
	background-color: white;
	color: #343434;
}
body .ui-widget {
	font-size: 1em;
}

/* INPUT */
input[type="text"],
input[type="password"],
textarea {
	color: #595959;
	width: 260px;
	padding: 2px 4px;
	
	border: 1px solid #d7d7d7;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	background: #f2f2f2;
	background: -moz-linear-gradient(top,  #f2f2f2 0%, #ffffff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#ffffff));
	background: -webkit-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
	background: -o-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #f2f2f2 0%,#ffffff 100%);
	background: linear-gradient(to bottom,  #f2f2f2 0%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}
input[type="text"]:disabled,
input[type="password"]:disabled,
textarea:disabled {
	background: none;
	background-color: #E6E6E6;
	border-color: #C7C7C7;
}
input[type="text"]:disabled:active,
input[type="password"]:disabled:active,
textarea:disabled:active {
	border-color: #C7C7C7;
	background-color: lightgrey;
}
input[type="text"]:active,
input[type="text"]:focus,
input[type="password"]:active,
input[type="password"]:focus,
textarea:active,
textarea:focus {
	border-color: #0c92df;
	outline: none;
	background: none;
	background-color: #fff;
}
input[type="text"].error,
input[type="password"].error {
	border-color: #ed145b;
}
select {
	min-width: 75px;
}

/* Admin login */
#adminLoginCont {
	margin: 150px auto 0;
	width: 230px;
}
#adminLoginCont input[type="text"],
#adminLoginCont input[type="password"] {
	width: 100%;
	padding: 4px 6px;
	border-radius: 0
}
#adminLoginCont label {
	line-height: 2em;
}
#adminLoginCont .rememberme { float: left }
#adminLoginCont .submit { float: right }

/* Admin panel */
#adminWrap {
	height: auto;
	min-height: 100%;
	width: 100%;
	min-width: 1000px;
}
#adminWrap .adminMenuBack {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 98;
	width: 150px;
	background-color: #ECECEC;
	border: 1px solid #CCC;
}
#adminWrap .adminMenu {
	position: fixed;
	float: left;
	width: 150px;
	z-index: 99;
}
#adminWrap .adminMenu li a {
	display: block;
	font-size: 110%;
	font-weight: bold;
	
	padding: 5px 8px;
	margin: 5px 0;
	color: #21759B;
	border-top: 1px solid #F9F9F9;
	border-bottom: 1px solid #DFDFDF;
	cursor: pointer;
}
#adminWrap .adminMenu li a:hover {
	color: #D54E21;
	background-color: #E4E4E4;
}
#adminWrap .adminMenu li span a {
	font-size: 100%;
	border-top: none;
	border-bottom: none;
	font-weight: normal;
	padding: 3px 0 3px 20px;
	margin: 1px 0;
}
#adminWrap .adminMenu .subMenu { display: block }

.adminContent {
	margin-left: 170px;
	padding: 20px 20px 20px 0;
}

.ui-dialog .adminContent {
	margin: 0;
	padding: 0;
}
#dialogEdit.ui-widget-content {
	background: none;
	background-color: white;
}


.adminContent .selectRecordType {
	font-size: 120%;
}
.adminContent table,
.adminContent table {
	min-width: 550px;
    margin: 10px auto;
    border: 4px solid #e0e0e0;
    border-collapse: collapse;
}
.adminContent table td {
	border: 1px solid #e0e0e0;
}
#adminWrap #description {
	border: 1px solid #333; 
	margin: 10px 0 0 0; 
	padding: 0; 
	width: 248px;
	position: fixed;
	top: 265px;
}
#adminWrap #description ul {
	list-style: decimal;
	padding-left: 25px;
	padding-right: 3px;
	line-height: 20px;
	font-size: 90%;
}
#adminWrap #history {
	height: 300px;
	overflow: auto;
	color: #0047FF;
	padding: 5px;
	line-height: 16px;
}
#adminWrap #history span {
	color: #727272;
}
.adminContent #new_elements {
	display: none; 
	margin: 10px 0 0; 
	padding: 0; 
	width: 250px;
	position: fixed;
}
.ui-dialog .adminContent #new_elements { 
	display: block; 
	position: fixed;
}
.adminContent #new_elements select {
	width: 100%;
	background-color: #F8F8F8;
	border: 1px solid #C0C0C0;
	padding: 6px;
}
.adminContent #new_elements input {
	margin-top: 5px;
	border: 1px solid #81bcef;
	padding: 3px 5px;
}
.insertPageLeft {
	float: left;
	position: relative;
}
.editBg {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #EFF5FF;
	opacity: 0.4;
	z-index: 1000;
}
.editButtons {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1001;
}
.editButtons .button {
	margin-top: 100px;
	white-space: nowrap;
	float: left;
}
.insertPageLeft .title {
	padding: 10px;
	font-size: 120%;
	font-weight: bold;
	float: left;
}
.adminContent .insertPageLeft select[name="status"] {
	margin: 6px;
}
.insertPageLeft .remove {
	float: left;
	padding: 2px 10px;
	font-size: 110%;
	background-color: #FFB6B6;
	margin: 8px;
	border: 1px solid grey;
	cursor: pointer;
}
.insertPageLeft .worktime .right {
	width: 350px;
	float: left;
}
.insertPageLeft .worktime .row:first-child { font-weight: bold }
.insertPageLeft .worktime .row span {
	min-width: 70px;
	text-align: center;
	line-height: 170%;
	margin-bottom: 5px;
}
.insertPageLeft .worktime .row span:first-child { min-width: 120px }
.insertPageLeft .worktime .row span.lastCol {
	min-width: 90px;
}
.insertPageLeft .woLabel.worktime .right span input { width: 40px; float:none; }

.adminContent input[type="submit"].button,
.adminContent input[type="reset"].button { padding: 5px 15px; }
.adminContent .button[disabled] { color: grey; }
.adminContent input[type="reset"].button { margin-left: 20px; }

.adminContent .insertPageRight {
	width: 250px;
	float: right;
}
input[type=text],
textarea {
	border: 1px solid #81bcef;
	width: 350px;
	line-height: 15px;
	padding: 0 4px;
}
input[type=text]:hover,
input[type=text]:active,
input[type=text]:focus,
textarea:hover,
textarea:active,
textarea:focus {
	border: 1px solid #B9B9B9;
	box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}
input[type=text]:active,
input[type=text]:focus,
textarea:active,
textarea:focus {
	outline: none;
}
.adminContent .autocomplete {
	position: absolute;
	top: 26px;
	right: 0;
	width: 358px;
	background-color: white;
	z-index: 1000;
	
	border: 1px solid #CCC;
	border-top-color: #D9D9D9;
	
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	-o-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	
	cursor: default;
}
.adminContent .autocomplete li {
	line-height: 22px;
	height: 22px;
	padding: 0 10px;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
}
.adminContent .autocomplete li.highlighted {
	background-color: #EEE;
}
.adminContent .suggestion {
	position: absolute;
	top: 5px;
	right: 0;
	z-index: 100;
	background-color: transparent;
}

.adminContent .hrLine {
	position: relative;
	top: -1px;
	z-index: -1;
	height: 1px;
	border-top: 1px solid #D4D4D4;
	margin-bottom: 10px;
}
.adminContent .tabBg {
	display: inline-block;
	margin-left: 10px;
	border: 1px solid #D4D4D4;
	background-color: white;
	
	border-bottom-width: 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}
.adminContent .tabBg.tabBgHide {
	background-color: transparent;
	border-color: transparent;
}

.adminContent .button,
.ui-dialog .button {
	cursor: pointer;
	display: inline-block;
    color: #535353;
    padding: 5px 10px;
    margin: 5px 6px 12px;
    
    -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
    
    background-color: #EEEEEE;
    
    -webkit-box-shadow: inset 0px 5px 15px #FFF;
	-moz-box-shadow: inset 0px 5px 15px #FFF;
	-o-box-shadow: inset 0px 5px 15px #FFF;
	box-shadow: inset 0px 5px 15px #FFF;

    border: 1px solid #d4d4d4;
    outline: 0; 
}
.adminContent button[name="edit"].button,
.adminContent button[name="reset"].button { background-color: #FFEDB3 }
.adminContent .button.edit,
.adminContent .button.copy {
	margin: 0;
	padding: 2px 10px;
}
.adminContent .button.edit,
.adminContent .button.copy {
	display: inline-block;
}
.adminContent .button.edit { margin-right: 10px }

.adminContent #addUserCont,
.adminContent #editUserCont,
.adminContent #removeUserCont { display: none }
.dataL, .dataR {
	float: left;
	width: 50%;
	line-height: 170%;
}
.dataL label, .dataR label {
	border-bottom: 1px solid #F3F3F3;
	display: block;
	
	margin-bottom: 3px;
}
.dataL label:hover, .dataR label:hover {
	background-color: #F0F0F0;
}
.dataL input, .dataR input { margin-right: 3px;}
.condition {
	line-height: 140%;
}
.condition input {
	margin: 0 0 10px 10px;
}
.fixedButtons {
	position: fixed;
	top: 40px;
}
.dataTables_wrapper {
	margin-top: 70px;
}
#editRemoveUserCont .dataTables_wrapper,
#editRemoveParserCont .dataTables_wrapper { margin: 0 }
#tradeEdit .dataTables_wrapper { margin: 10px 0 35px }
#reserved .dataTables_wrapper { margin: 20px 0 0 }

/* FILE PARSER */
#parserCont .header div,
#parserCont .row div {
	float: left;
	line-height: 220%; 
}
#parserCont .row div {
	padding: 5px 0;
	border-top: 1px solid #E0E0E0;
}
#parserCont .header div:first-child,
#parserCont .row div:first-child,
#parserCont label span { width: 170px }
#parserCont label {
	border: none;
	padding-bottom: 20px;
}

#parserCont .subAdd,
#parserCont .row div.subRemove {
	display: inline-block;
	padding: 0 15px;
	font-weight: bold;
	font-size: 22px;
	line-height: 23px;
	cursor: pointer;
	background-color: #F7F7F7;
}
#parserCont .subAdd {
	color: #585858;
	border: 1px solid #D3D3D3;
	margin-top: 10px;
}
#parserCont .row div.subRemove {
	color: #D10000;
	border: 1px solid #FFD8D8;
	margin: 6px 0 0 12px;
	
	line-height: 20px;
}

/* DB PARSER */
#parseFile.insertPageLeft {
	width: 50%;
}

/* CSS for timepicker */
.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; }

/* STATISTIC - RECORDS */
#selectUsernames {
	width: 200px;
	display: block;
}
.floatLeft { float: left }
.floatRight { float: right }
.marginLeft { margin-left: 20px;}

/**** ****/
#addUserCont label,
#dialogEdit .insertPageLeft label,
#parserCont label,
#parseFile label {
	line-height: 30px;
}
#addUserCont span:first-child,
#dialogEdit .insertPageLeft span:first-child,
#parserCont span,
#parseFile span {
	display: inline-block;
	width: 170px;
}
.adminContent div.error {
	display: none;
	
	position: fixed;
	left: 40%;
	top: 20px;
	width: 200px;
	padding: 10px 20px;
	background-color: #AD3434;
	
	font-size: 100%;
	color: white;
	font-weight: bold;
	text-align: center;
	
	z-index: 20000;
}
.adminContent .success {
	display: none;
	
	position: fixed;
	left: 40%;
	top: 20px;
	width: 200px;
	padding: 10px 20px;
	background-color: #7DAD34;
	
	font-size: 100%;
	color: white;
	font-weight: bold;
	text-align: center;
	
	z-index: 20000;
}

.adminContent .stat {
	float: right;
	line-height: 1.5em;
	min-height: 60px;
	min-width: 220px;
}
.adminContent .stat span { font-weight: bold }

.adminContent .stat.loading {
	background: white url('/images/result-map-preload2.gif') center center no-repeat;
}

.releaseButton {
	line-height: normal;
	font-weight: normal;
}

