body, html {
 margin: 0px;
 font-family: Arial, sans-serif;
 font-size: 12px;
 padding: 0px;
 background-color: #ffffff;
 color: #000000;
}

body {
  background: url("/files/images/panel/body_background.png") repeat-x;
}

a {
 text-decoration : none;
 color: #000000;
}

input.text {
  border: 1px solid #cecece;
  width: 99%; 
}

input.auto_width {
  width: auto; 
}

textarea {
  border: 1px solid #cecece;
  width: 99%;
  overflow: auto;
}

form {
  padding: 0px;
  margin: 0px;
} 

h1 {
  font-weight: bold;
  padding: 10px 3px 8px 7px;
  margin: 1px 0px 4px 0px;
  font-size: 140%;
  border-top: 1px solid #011971;
}

h2 {
  font-weight: bold;
  padding: 10px 3px 4px 0px;
  margin: 0px 0px 3px 0px;
  font-size: 14px;
  text-align: center;
}

h2.first {
  border-top: 1px solid #011971;
}


h4 {
  border-bottom: 1px solid #c7d8ef;
  font-weight: bold;
  width: 98%;
  margin: 2.2em 0px 3px 0px;
  padding: 0px;
}

h4.t {
  border-bottom: 2px solid #d7e8ff;
  font-weight: bold;
  width: 98%;
  margin: 0em 0px 3px 0px;
  padding: 0px;
}

h5 {
  font-weight: bold;
  width: 98%;
  margin: 0px 0px 3px 0px;
  padding: 0px;
  font-size: 100%;
}

h5.c {
  font-weight: bold;
  width: 98%;
  margin: 20px 0px 3px 0px;
  padding: 0px;
  font-size: 100%;
  text-align: center;
}

ul {
  margin: 0px;
  padding: 4px 0px 1em 1.5em;
}

ul.smal_p {
  padding: 4px 0px 0em 1.5em;
}

li {
  padding: 0px 0px 6px 0px;
}

pre {
  margin: 0.7em 0.4em 0.7em 0.7em;
  padding: 5px;
  background-color: #f3f3f3;
}

img {
 border: 0px none #ffffff;
 margin: 0px;
 padding: 0px;
}

a.show {
 text-decoration : underline;
 color: #ffffff;
}

a.show:active, a.show:hover {
 text-decoration : none;
 color: #ffffff;
}

a:active, a:hover {
  text-decoration:underline;
}



#main {
  position: relative;
  margin: auto;
  height: 100%;
  width: 1000px;
}

#head .logo {
  width: 216px;
  height: 45px;
  position: absolute;
  top: 20px;
  left: 10px;
}

#head {
  height: 117px;
  position: relative;
}

#head_info {
  position: absolute;
  width: 100%;
  bottom: 5px;
}

#head #tabs {
  float: left;
}

#head #tabs a {
  font-size: 13px;
  font-weight: bold;
  color: #011971;
  margin-right: 20px;
}

#head #tabs span.active {
  font-size: 13px;
  font-weight: bold;
  color: #969698;
  margin-right: 20px;
}

#head #account {
  float: right;  
}

#head #account a.logout {
  font-weight: bold;
  color: #f27002;
  margin-right: 10px;
}

#head .logged_as {
  display: inline;
}

#head .logged_as span.dscr {
  color: #011971;
  font-weight: bold;
}

#page_info {
  padding: 17px 10px 4px 190px;
  position: relative;
}

#page_info span {
  color: #011971;
  font-weight: bold;
  font-size: 17px;
}


#left {
  float: left;
  width: 170px;
}

#left .menu {
  color: #ffffff;
}

#left .pages_menu {
  margin-bottom: 7px;
}

#left .title {
  font-weight: bold;
  color: #ffffff;
  background-color: #011971;
  padding: 6px 3px 6px 7px;
  margin-bottom: 4px;
}

#left .title span {
  line-height: 140%;
}

#left .leaf {
  padding: 3px 3px 3px 7px;
}

#left .leaf a {
  color: #3f3f3f;
}

#left .selected {
  color: #011971;
  font-weight: bold;
  margin-left: 1px;
}

#left .selected a {
  color: #011971;
}

#right {
 margin-left: 186px;
 background-color: #ffffff;
}

#footer {
  border-top: #c1c1c1 solid 1px;
  margin-top: 20px;
}

#footer .text {
  width: 990px;
  margin: auto;
  text-align: right; 
  padding: 4px 0px 0px 0px;
}

a.logo_link {
 color: #011971;
 font-weight: bold;
}

a.logo_link span {
 color: #f36f21;
}



/* Tables */
th {
  text-align: left;
}

td {
  vertical-align: top;
  line-height: 170%;
}

th.l,  td.l   { text-align: left; }
th.r,  td.r   { text-align: right; }
th.c,  td.c   { text-align: center; }
th.rm, td.rm  { padding-right: 7px; }

td.bw { background-color: #fbfbfb; }
td.bl { background-color: #f4f4f4; }
td.bd { background-color: #f0f0f0; }


/* Wide table */
table.wide {
  width: 99%;
  border-bottom: #b6b6b6 solid 1px;
}

table.wide th {
  font-weight: bold;
  color: #ffffff;
  background-color: #011971;
  padding: 7px 6px 7px 6px;
  margin-bottom: 4px;
  border-left: #3149a1 solid 1px;
}

table.wide a {
  text-decoration: underline;
}

table.wide a:hover, table.wide a:active {
  text-decoration: none;
}

table.wide th.fc {
  border-left: none;
}

table.wide td {
  padding: 3px 6px 3px 6px;
  border-left: #d1e9ff solid 1px;
}

table.wide td.fc {
  border-left: #b6b6b6 solid 1px;
}

table.wide td.lc {
  border-right: #b6b6b6 solid 1px;
}

table.wide td.no_border {
  border-left: none; 
}

/* Short table */
table.short {
  width: 99%;
  border-bottom: #b6b6b6 solid 1px;
}

table.short a {
  text-decoration: underline;
}

table.short a:hover, table.short a:active {
  text-decoration: none;
}

table.short th {
  font-weight: bold;
  color: #ffffff;
  background-color: #011971;
  padding: 6px 6px 6px 6px;
  margin-bottom: 4px;
}

table.short th a {
  color: #ffffff;
  
}

table.short td {
  padding: 3px 6px 3px 6px;
  border-left: #d1e9ff solid 1px;
}

table.short td.fc {
  border-left: #b6b6b6 solid 1px;
}

table.short td.lc {
  border-right: #b6b6b6 solid 1px;
}

table.result td.fc {
  width: 50%;
}

table.result th, table.result_multi th {
  background-color: transparent;
  border: none;
  border-bottom: #b6b6b6 solid 1px;
  color: #011971;
}


.b { font-weight: bold; }
.i { font-style: italic; }
.n { font-weight: normal; }
.no_margin { margin: 0px; }

.function_param {
  font-style: italic;
  padding-left: 4px;
  padding-right: 4px;
}

table.short {
  width: 99%;
}

table.normal th {
  border-bottom: 2px solid #d7e8ff;
}

table.short td.first {
  width: 30%;
}

div.save_field {
  margin-top: 24px;
}

div.change_field {
  margin-top: 4px;
  margin-bottom: 16px;
}

div.new_page {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  margin: 8px 6px 12px 6px;
}

div.next_page {
  margin: 15px 6px 15px 6px;
  padding: 2px 0px 11px 0px;
}

div.next_page .separator {
  float: left;
  width: 30%;
}

div.next_page .page {
  float: left;
  width: 36%;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
}

div.next_page .mng {
  float: right;
  width: 30%;
  text-align: right;
}

.s2 {
  background-color: #b0b0b0;
  padding: 1px;
  margin: 0px 15px 0px 0px;
  border: 0px;
  display: block;
  float: right;
  font-size: 0%;
  line-height: 0%;
}

.s2 input, .s4 input {
  border: none;
  color: #ffffff;
  font-weight: bold;
  border: 1px solid #ffffff;
  padding: 3px;
  background-color: #011971;
  margin: 0px;
}

.s1 {
  background-color: #011971;
  padding: 1px;
  margin: 0px 15px 0px 0px;
  border: 0px;
  display: block;
  float: right;
  font-size: 0%;
  line-height: 0%;
}

.s1 input, .s3 input {
  border: none;
  color: #ffffff;
  font-weight: bold;
  border: 1px solid #011971;
  padding: 3px;
  background-color: #011971;
  margin: 0px;
}

.s4 {
  background-color: #b0b0b0;
  padding: 1px;
  margin: 0px 15px 0px 0px;
  border: 0px;
  display: block;
  float: left;
  font-size: 0%;
  line-height: 0%;
}

.s3 {
  background-color: #011971;
  padding: 1px;
  margin: 0px 15px 0px 0px;
  border: 0px;
  display: block;
  float: left;
  font-size: 0%;
  line-height: 0%;
}

#settings_block #set_areas {
  margin-bottom: 20px;
}
#settings_block #set_areas label.chk {
  margin-left: 20px;
}

/* results */
div.result_bar {
  width: 100px;
  border: 1px solid black;
  height: 12px;
  float: left;
  margin-top: 3px;
  margin-right: 5px;
}

div.result_bar div {
  background-color: #011971;
  height: 100%;
}


table.normal td.first {
  width: 6%;
}

table.normal td, table.normal th {
  padding-left: 10px;
  padding-right: 10px;
}

/*
lang css
*/
.lang_dir, .lang_file {
	padding: 1px 0px 2px 3px;
}

.lang_dir a, .lang_file a {
	text-decoration:underline;
	position: relative;
	top: -3px;
} 

.lang_dir a:active, .lang_dir a:hover, .lang_file a:hover, .lang_file a:active {
	text-decoration: none;
} 

/*
Errors and informations
*/

#errors_block {
	background-color: #f0f0f0;
	width: 97%;
	border: 2px solid #ff0000;
	padding: 6px;
	margin: 0px auto 1em 0px;
	font-size: 13px;
}

#errors_block .time {
	font-size: 11px;
	float: right;
}

#op_info_block {
	background-color: #f0f0f0;
	width: 97%;
	border: 1px solid #cccccc;
	padding: 7px;
	margin: 0px auto 1em 0px;
	font-size: 13px;
}

#op_info_block .time {
	font-size: 11px;
	float: right;
}

/*
Drag & Drop
*/
.drag {
  cursor: move;
  padding-left: 2px;
}

ul.ul_drag li {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.droppable {
  background-color: #ffe0e0;
}

/*
  Weights define
*/
.weight {
  padding-left: 4px;
  padding-right: 4px;
  background-color: #f8f4f1;
}

.short_name {
  padding-left: 12px;
  padding-right: 12px;
  background-color: #f8f4f1;
}

.weight_group {
  margin-left: 2em;
  margin-top: 6px;
}

.weight_leaf {
  margin: 4px 2px 8px 2em;
}

/*
InPlace Editor
*/
.name_form {
  background-color: #fafafa;
  padding: 10px 10px 10px 10px;
}

.name_form input {
  background-color: #ffffff;
}

.editor_ok {
  margin-left: 2em;
}

.editor_cancel {
  margin-left: 1em;
}

.editor_ok, .editor_cancel {
  background-color: #f5f5f5;
  padding: 2px 6px 2px 6px;
  border: 1px solid black;
  margin-right: 1em;
}

/* pagination */
div.pages {
	margin: 9px 4px 9px 4px;
	font-size: 110%;
	text-align: center;
}

div.pages span { font-size: 120%; margin-right: 5px; }

/* export */
ul.data_formats {
	padding: 0px 0px 0px 20px;
}
ul.data_formats li {
	display: inline;
	margin-right: 20px;
}

ul.prep_questions {
  padding: 3px 0px 0px 6px;
}
ul.prep_questions li {
  list-style: none;
  margin: 0px;
}
