/*
*
* All HTML Tags
*
*/
body {
  margin: 0px;
  font-family: Tahoma, sans-serif;
  font-size: 0.7em;
  margin: 0em;
  padding: 0em;
  background-color: transparent;
  background-repeat: repeat-x;
}
table {
  /*font-family: Tahoma, sans-serif;
	font-size: 0.88em;
	margin: 0em;
	background-color:transparent;*/
  padding: 0px;
  font-size: 1em;
  border: 0px;
}
.right tr td {
  text-align: right;
  background-color: #f1f1f1;
}
.left {
  text-align: left;
}
a {
  color: #850;
  outline: none;
  text-decoration: none;
}
form {
  margin: 0em;
  padding: 0em;
  display: inline;
}
select {
  text-align: left;
  font-size: 1em;
  border: 1px solid #eaea70;
  margin: 0em;
  padding: 0em;
  font-family: Tahoma, sans-serif;
}
pre {
  font-family: monospace;
  font-size: 0.88em;
  font-weight: normal;
}
h3 {
  text-align: left;
  text-indent: 1.2em;
  color: #000000;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  font-weight: bold;
  margin: 0em;
  text-decoration: none;
}
img {
  border: none;
}
/*
*
* Media types
*
*/
@media print {
  table {
    font-size: 7px;
    background-color: white;
    border: 0px;
    padding: 0px 0px 0px 0px;
    border-spacing: 0;
    padding-left: 0px;
    padding-right: 0px;
  }
}
/*
*
* All elements with ID
*
*/
#master-menu a {
  padding: 0.1em;
  padding-left: 0.4em;
  padding-right: 0.4em;
  text-decoration: none;
}
#master-menu .active {
  border: 1px solid #eec040;
  background-color: #faf5c0;
}

#menu {
  border: 1px solid #ccc;
  background: #f2f2f2;
  padding: 20px;
}
/*BODY-TABLE ehk siis disaini tabel */
#body-table {
  width: 100%;
  margin: 0em;
  padding: 0em;
}
#YearSelection a {
  padding: 0.1em;
  padding-left: 0.4em;
  padding-right: 0.4em;
  text-decoration: none;
}
#YearSelection .active {
  border: 1px solid #eec040;
  background-color: #faf5c0;
}
#LoginBox {
  position: absolute;
  left: 40%;
  top: 35%;
}

#object-table {
  width: 100%;
  background-color: #f5f7ff;
  border-collapse: collapse;
}
#object-table td {
  border: 1px solid #eee;
}
#object-table th {
  border: 1px solid #aabbee;
  text-align: center;
}
#object-table tr:hover {
  background-color: #ffff66 !important;
}
/*
*
* All css classes
*
*/
.orangeBox {
  width: 96%;
  padding: 0.4em;
  text-align: left;
  font-weight: normal;
  margin: 0.6em;
  border: 2px solid #f5d0b0;
  background-color: #fff0d0;
}
.blueBox {
  padding: 0.4em;
  text-align: left;
  font-weight: normal;
  margin: 0.6em;
  width: 96%;
  border: 2px solid #cde;
  background-color: #f0f5ff;
}
.greenBox {
  padding: 0.4em;
  text-align: left;
  font-weight: normal;
  margin: 0.6em;
  width: 96%;
  border: 2px solid #c0f5d0;
  background-color: #f5fff0;
}

.TableBox {
  width: 100%;
}
.TableBox .nr {
  width: 1em;
  text-align: right;
}
.TableBox th {
  text-align: left;
}

/* other classes*/
.error {
  color: #fe1900;
}



.right {
  text-align: right;
}

.left {
  text-align: left;
}


/* Paneb objekti lendama n�, objektid skaleeruvad ise �mber vastavalt browseri laiusele ja vabale ruumile */
.floating-object {
  padding: 0.4em;
  text-align: left;
  font-weight: normal;
  margin: 0.6em;
  float: left;
  width: auto;
  border: 1px solid #eee;
  background-color: #f7f7f7;
}
.whitebg {
  background-color: #e0e0e0;
}

.gray {
  color: #999;
}
.gray select {
  border-color: #999;
}


/*
* White
*/
.white th {
  background-color: #ccc;
  border-bottom: 0px solid #aaa;
  text-align: left;
}
.white th a {
  color: #333;
  text-decoration: underline;
}
.white .tr2 {
  background-color: #ddd;
}
.white .tr2 td {
  border-bottom: 0px solid #ccc;
  border-top: 0px solid #eee;
}
.white .hiddenInput {
  border: none;
  background-color: #eee;
}
.white td {
  padding-left: 3px;
  padding-right: 3px;
}

/*
* Red table
*/
.red {
  color: #000;
  margin-bottom: 1px;
  border: 1px solid #eba;
  background-color: #fffae0;
}

.red th {
  height: auto;
  width: auto;
  background-color: #fcb;
  border-bottom: 1px solid #eba;
  text-align: left;
}
.red th a {
  color: #600;
  text-decoration: underline;
}
.red .tr2 {
  background-color: #ffe7e0;
}
.red .tr2 td {
  border-bottom: 1px solid #f0ddc0;
  border-top: 1px solid #f0ddc0;
}
.red .hiddenInput {
  border: none;
  background-color: #edc;
}
/*
* Yellow table
*/
.yellow {
  margin-bottom: 1px;
  border: 1px solid #fea;
  color: #000;
  background-color: #fece00;
}

.yellow th {
  background-color: #f0d;
  border-bottom: 1px solid #eba;
  text-align: left;
}
.yellow th a {
  color: #600;
  text-decoration: underline;
}
.yellow .tr2 {
  background-color: #f9f974;
}
.yellow .tr2 td {
  border-bottom: 1px solid #fe0000;
  border-top: 1px solid #fe0000;
}
.yellow .hiddenInput {
  border: none;
  background-color: #f0d;
}

/*
* Green table
*/
.green {
  margin: 0.6em;
  border: 1px solid #9ebb8b;
  color: #000;
  background-color: #e0e9d5 !important;
}
.green a {
  color: #7777ff;
}
.green a:hover {
  text-decoration: underline;
}

.green th {
  background-color: #9ebb8b;
  border-bottom: 0px solid #8b6;
  padding: 2px;
}
.green td {
  background-color: #eeffe0;
  padding: 2px;
}

.green th a {
  color: #060;
  text-decoration: underline;
}

.green .tr2 {
  background-color: #e0ffd0;
}
.green .tr2 td {
  border-bottom: 0px solid #ceb;
  border-top: 0px solid #ceb;
}
.green .hiddenInput {
  border: none;
  background-color: #dec;
}
.green input {
  border: none;
  background-color: #fea;
}
.green .l td {
  text-align: center;
}
.green .s td {
  border-top: 1px solid black;
}
.green td.l {
  text-align: left;
  padding-right: 7px;
}
.green td.p {
  color: #bbb;
}
.green td.sep {
  height: 1em;
}

.green-line {
  background-image: url("../../images/bg-green.png");
  border: 1px solid #aea;
}

/*
* White table
*/
.white {
  border: 1px solid #aaa;
  color: #000;
  background-color: #fafafa;
}
.white th {
  background-color: #ccc;
  border-bottom: 0px solid #aaa;
  text-align: left;
}
.white th a {
  color: #333;
  text-decoration: underline;
}
.white .tr2 {
  background-color: #ddd;
}
.white .tr2 td {
  border-bottom: 0px solid #ccc;
  border-top: 0px solid #eee;
}
.white .hiddenInput {
  border: none;
  background-color: #eee;
}
.white td {
  padding-left: 3px;
  padding-right: 3px;
}

/*
*  Blue table
*/
.blue {
  border: 1px solid #abe;
  color: #000;
}
.blue thead td {
  background-color: #bbccff;
}
.blue th {
  height: auto;
  width: auto;
  background-color: #bcf;
  border-bottom: 1px solid #abe;
  text-align: left;
}
.blue th a {
  color: #006;
  text-decoration: underline;
}
.blue td {
  padding: 0em;
  padding-right: 0.2em;
  padding-left: 0.2em;
  vertical-align: top;
}
.blue .tr2 {
  background-color: #e5eeff;
}
.blue .tr2 td {
  border-bottom: 1px solid #c0ddf0;
  border-top: 1px solid #c0ddf0;
}
.blue .hiddenInput {
  border: none;
  background-color: #cde;
}

/*
* Sortable table
*/
.sortable {
  margin-bottom: 1px;
  border: 1px solid #abe;
  color: #000;
  background-color: #f5f7ff;
}
.sortable a {
  text-decoration: none;
}
.sortable th {
  background-color: #bcf;
  border-bottom: 1px solid #abe;
  text-align: left;
}
.sortable th a {
  color: #006;
  text-decoration: underline;
}
.sortable .tr2 {
  background-color: #e5eeff;
}
.sortable .tr2 td {
  border-bottom: 1px solid #c0ddf0;
  border-top: 1px solid #c0ddf0;
}
.sortable .hiddenInput {
  border: none;
  background-color: #cde;
}

div.auto_complete {
  position: absolute;
  width: 250px;
  background-color: white;
  border: 1px solid #888;
  margin: 0px;
  padding: 0px;
}

.autocomplete-w1 {
  position: absolute;
  top: 4px;
  left: 3px; /* IE6 fix: */
  _background: none;
  _top: 1px;
  z-index: 999999 !important;
}
.autocomplete-w2 {
  padding: 0 6px 6px 0;
  z-index: 999999 !important;
}
.autocomplete {
  width: 100%;
  border: 1px solid #999;
  background: #fff !important;
  cursor: default;
  text-align: left;
  max-height: 350px;
  overflow: auto;
  margin: -6px 6px 6px -4px; /* IE specific: */
  _height: 350px;
  _margin: 0px 6px 6px 0;
  overflow-x: hidden;
  z-index: 999999 !important;
}
.autocomplete .selected {
  background: #ffb;
}
.autocomplete div {
  padding: 2px 5px;
  white-space: nowrap;
}
.autocomplete strong {
  font-weight: normal;
  color: #3399ff;
}

div.auto_complete {
  width: 350px;
  background: #fff;
}
div.auto_complete ul {
  border: 1px solid #888;
  margin: 0;
  padding: 0;
  width: 100%;
  list-style-type: none;
}
div.auto_complete ul li {
  margin: 0;
  padding: 3px;
}
div.auto_complete ul li.selected {
  background-color: #ffb;
}
div.auto_complete ul strong.highlight {
  color: #800;
  margin: 0;
  padding: 0;
}

/**--| SORTABLE TABLE |--**/
.sortable .header {
  background-image: url("../images/sort_default.gif");
  background-repeat: no-repeat;
  background-position: 4px center;
  cursor: pointer;
  padding: 2px 4px 2px 15px;
}
.sortable .headerSortUp {
  color: #fff;
  background-color: #3399ff;
  background-image: url("../images/sort_asc.gif");
}
.sortable .headerSortDown {
  color: #fff;
  background-color: #3399ff;
  background-image: url("../images/sort_desc.gif");
}
/**--| FANCY DATA TABLE |--**/
table.data_table {
  padding: 5px;
  background-color: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #ccc;
}
table.data_table thead th {
  color: #fff;
  padding: 2px 4px;
  background-color: #f6ab30;
}
table.data_table thead td {
  background-color: #f6ab30;
}

table.data_table > tbody > tr:nth-child(even) {
  background-color: #eee;
}
table.data_table > tbody > tr:hover:not(.resource_drawer) {
  background-color: #ffffdd;
}

/**--| FANCY FORM TABLE |--**/
table.form {
  padding: 5px;
  color: #999;
  border: 1px solid #ccc;
  background-color: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
table.form th {
  font-weight: bold;
  text-align: left;
  vertical-align: top;
  padding: 2px 4px;
}
table.form input[type="text"] {
  min-width: 336px;
  min-height: 28px;
  font-size: 1.4em;
  border: 1px solid #ccc;
  background: transparent url("../images/input_bg.png") repeat-x top left;
}
table.form input[type="text"]:hover,
table.form textarea:hover,
table.form input[type="text"]:focus,
table.form textarea:focus {
  border: 1px solid #fbcb09;
}
table.form textarea {
  min-width: 336px;
  min-height: 96px;
  border: 1px solid #ccc;
  background: transparent url("../images/input_bg.png") repeat-x top left;
}
table.form select {
  min-width: 336px;
}
/**--| VÄIKEVAHENDID LEHEL, VÄIKEVAHENDI MUUTMISE SAHTEL |--**/
tr.resource_drawer > td {
  padding: 10px;
  background-color: #eee;
  -moz-box-shadow: inset 1px 1px 10px #ccc;
  -webkit-box-shadow: inset 1px 1px 10px #ccc;
}
table.employee_incomes {
  border-collapse: collapse;
}
table.employee_incomes td,
table.employee_incomes th {
  border: 1px solid #ccc;
  white-space: nowrap;
}

.clickable-text:hover {
  cursor: pointer;
}

.dev-warning {
  background-color: #f00;
  color: #fff;
  padding: 5px;
  font-weight: bold;
}
