/* Table for editing  */

table.i-ted {
  width: 100%; border-spacing: 0px; border-collapse: collapse; font-size: 0.85em
}
table.i-ted tr {
  border-left: 1px solid #a4d246; border-right: 1px solid #83a838;
}
table.i-ted tr.first {
  border-top: 1px solid #a4d246
}
table.i-ted tr.last {
  border-bottom: 1px solid #83a838
}
table.i-ted th {
  height: 20px; padding: 5px 2px 5px 10px; background-color: #83a838; border-width: 1px; border-style: solid; border-color: #93bd3f #627e2a #627e2a #93bd3f;
  text-align: left; color: #3e5214
}
table.i-ted td {
  padding: 5px 10px; background-color: #93bd3f; vertical-align: middle; color: #3e5214
}
table.i-ted.disabled th, table.i-ted.disabled td {
  opacity: 0.7
}
table.i-ted span.red {
  color: red
}
table.i-ted .b {
  font-weight: bold
}
table.i-ted span.edit-help {
  margin-left: 5px; display: inline-block; vertical-align: middle; width: 16px; height: 16px; cursor: help; background: url('img/edit-help.png') no-repeat center
}
table.i-ted img.te-auto {
  width: auto; height: auto; vertical-align: middle
}
table.i-ted tr.div td {
  padding: 5px 0px 5px 0px
}
table.i-ted hr.div {
  border-color: #aed75a
}
table.i-ted a {
  display:inline-block; text-decoration: underline; font-size: 0.875em; color: #3e5214; cursor: pointer
}
table.i-ted a.decor-none {
  text-decoration: none
}
table.i-ted a.decor-none:hover {
  text-decoration: underline
}
table.i-ted.disabled a {
  pointer-events: none; text-decoration: none; cursor: not-allowed
}
table.i-ted a.close {
  margin: 2px; width: 16px; height: 16px; float: right; cursor: pointer; background: url('img/close_green.png') no-repeat center
}
/* */

.unselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* Edit styles  */

input.upper, textarea.upper {
  text-transform: uppercase
}
input[type=text], input[type=password] {
  height: 18px; border-top: 1px solid #b4ca87; border-left: 1px solid #b4ca87; border-bottom: 1px solid #8fb04b; border-right: 1px solid #8fb04b;
  margin: 0px; padding:0px 3px; background-color: #f7f9f3; font-family: inherit; font-size: 12px; color: #12140d
}
input[type=checkbox] {
  padding: 0px; margin: 0px
}
input[type=checkbox]:focus {
  outline-color: #b4ca87
}
input[type=radio] {
  padding: 0px; margin: 0px
}
textarea {
  border-top: 1px solid #b4ca87; border-left: 1px solid #b4ca87; border-bottom: 1px solid #8fb04b; border-right: 1px solid #8fb04b;
  margin: 0px; padding: 3px; background-color: #f7f9f3; resize: none; overflow: auto; font-family: inherit; font-size: 12px; color: #2d2d4d
}
input[type=text], input[type=password], textarea:focus {
  outline:none
}
input[type="text"]:disabled, input[type=password]:disabled, textarea:disabled {
  background: #e8efdb
}

select.i-combobox {
  height: 20px; border-top: 1px solid #b4ca87; border-left: 1px solid #b4ca87; border-bottom: 1px solid #8fb04b; border-right: 1px solid #8fb04b;
  margin: 0px; background-color: #f7f9f3; font-family: inherit; font-size: 12px; color: #12140d
}
select.i-combobox:focus {
  outline-color: #b4ca87
}
select.i-combobox[disabled] {
  background-color: #e8efdb;
}
.is_op select.i-combobox {
  padding-left: 3px;
}

button.i-btn {
  margin: 0px; padding: 2px 10px; min-width: 100px; height: 25px; border: 1px solid #7BA428;
  vertical-align: middle; background: url(img/btn.png) repeat-x;
  font: normal 13px Tahoma; color: #494949;
  -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; -o-border-radius: 10px
}
button.i-btn:hover {
  cursor: pointer; background: url(img/btn_h.png) repeat-x; color: black
}
button.i-btn:focus {
  padding: 2px 9px; color: black; border-width: 2px;
  outline: none; -o-transform: rotate(0) /* Opera */
}
button.i-btn:active {
  padding: 2px 9px; border: 2px solid white;
  outline: none; -o-transform: rotate(0) /* Opera */
}
button.i-btn::-moz-focus-inner, button.zir-green::-moz-focus-inner { /* Mozilla firefox dotted line */
  border-width: 0px
}
button.i-btn[disabled] {
  padding: 2px 10px; border: 1px solid #7BA428;
  cursor: default; background: url(img/btn_d.png) repeat-x;
  text-shadow: none; color: gray
}
button.i-btn+button.i-btn {
  margin-left: 5px
}
button.autow {
  min-width: 0px
}

/* Check combobox */

div.i-check-combobox {
  border-top: 1px solid #b4ca87; border-left: 1px solid #b4ca87; border-bottom: 1px solid #8fb04b; border-right: 1px solid #8fb04b;
  background: #f2f6eb url("img/dropdown_arrow.gif") no-repeat right center; font-family: inherit; font-size: 12px; color: #12140d;
  padding: 3px 3px; cursor: pointer; width: 295px;
}
div.i-check-combobox[disabled] {
  background-color: #cddcaf; cursor: default
}
ul.i-check-combobox-list {
  margin: 0px; padding: 0px; border-top: 0px; border-left: 1px solid #b4ca87; border-bottom: 1px solid #8fb04b; border-right: 1px solid #8fb04b;
  background-color: #f2f6eb; font-family: inherit; font-size: 12px; color: #12140d; list-style: none; overflow: auto; max-height: 250px; position: absolute; z-index: 700
}
ul.i-check-combobox-list li {
  padding: 5px 5px; cursor: default
}
ul.i-check-combobox-list li:hover {
  background: #d9e4c3; font-weight: bold
}
ul.i-check-combobox-list li input {
  float: left; margin-right: 5px
}
ul.i-check-combobox-list li span {
  display: inline-block
}

/* Grid styles  */

table.i-grid {
  width: 100%; border-spacing: 0; border-collapse: collapse; font-family: inherit; font-size: 16px; cursor: default;
  background-color: #e8edff;
}
table.image {
  table-layout: fixed; white-space: nowrap
}
table.i-grid tfoot td {
  background-color: #e8edff; color: #99c; font-size: .69em 
}
table.i-grid th {
  border-right: 1px solid white;
  background: #b9c9fe url("img/gradhead.png"); color: #039; padding: 5px; font-size: .88em; font-weight: normal; text-align: left; white-space: nowrap; vertical-align: middle;
  position:relative
}
table.i-grid thead.i-grid-thead {
  display: block;
}
table.i-grid tbody.i-grid-tbody {
  display: block; overflow-y: auto; overflow-x: hidden
}
table.i-grid tr.i-grid-hrow {
  width: 100%; display: table; table-layout: fixed; border-top: 2px solid #b4ca87; border-bottom: 1px solid white
}
table.i-grid tr.i-grid-group, table.i-grid tr.i-grid-row, table.i-grid tr.i-grid-content {
  width: 100%; display: table; table-layout: fixed; border-bottom: 1px solid white
}
table.i-grid tbody tr.i-grid-row {
  background-color: #e8edff;
}
table.i-grid tbody tr.i-grid-row-image {
  background-image: url("img/gradback.png")
}
table.i-grid tbody tr.i-grid-content {
  background-color: #f3f6ff
}
table.i-grid tbody tr.i-grid-group {
  background-color: #b7c8fe; background-image: url("img/gradhead.png")
}
table.i-grid tbody tr.i-grid-row:hover, table.i-grid tbody tr.i-grid-sel {
  background-color: #d0dafd
}
table.i-grid tbody tr.i-grid-row-image:hover, table.i-grid tbody tr.i-grid-row-image.i-grid-sel {
  background-image: url("img/gradhover.png")
}
table.i-grid td {
  border-right: 1px solid white; color: #669; padding: 5px; font-size: .81em; vertical-align: middle
}
table.i-grid tbody tr.i-grid-group td {
  color: #039; font-size: .81em
}
table.i-grid tbody tr.i-grid-row:hover td, table.i-grid tbody tr.i-grid-sel td {
  color: #339
}
table.i-grid th.i-grid-empty, table.i-grid td.i-grid-sel, table.i-grid td.i-grid-expand, table.i-grid td.i-grid-empty {
  width:16px; border-right: 0px; padding-left: 0px; padding-right: 0px
}
table.i-grid tr.i-grid-sel td.i-grid-sel {
  background-image: url("img/sel.gif"); background-repeat: no-repeat; background-position: center
}
table.i-grid tbody tr.i-grid-group td.i-grid-expand {
  background-image: url("img/minus.gif"); background-repeat: no-repeat; background-position: center
}
table.i-grid-group-0 #i-grid-group-0 td.i-grid-expand, table.i-grid-group-1 #i-grid-group-1 td.i-grid-expand, table.i-grid-group-2 #i-grid-group-2 td.i-grid-expand, table.i-grid-group-3 #i-grid-group-3 td.i-grid-expand, table.i-grid-group-4 #i-grid-group-4 td.i-grid-expand, table.i-grid-group-5 #i-grid-group-5 td.i-grid-expand {
  background-image: url("img/plus.gif"); background-repeat: no-repeat; background-position: center
}
table.i-grid-group-0 tr.i-grid-group-0, table.i-grid-group-1 tr.i-grid-group-1, table.i-grid-group-2 tr.i-grid-group-2, table.i-grid-group-3 tr.i-grid-group-3, table.i-grid-group-4 tr.i-grid-group-4, table.i-grid-group-5 tr.i-grid-group-5 {
  display: none
}
table.i-grid tbody tr.i-grid-row td.i-grid-expand {
  background-image: url("img/plus.gif"); background-repeat: no-repeat; background-position: center
}
table.i-grid tbody tr.i-grid-expand td.i-grid-expand {
  background-image: url("img/minus.gif"); background-repeat: no-repeat; background-position: center
}
span.i-grid-sort {
  width: 16px; height: 16px; display: block; position: absolute; top: 5px; right: 3px
}
span.i-grid-sort {
  background: url('img/sort-up.png') no-repeat center; opacity: 0.2
}
span.i-grid-sort:hover {
  opacity: 0.5
}
span.i-grid-sort:active {
  opacity: 1
}
span.i-grid-sort-up, span.i-grid-sort-down:active {
  background: url('img/sort-up.png') no-repeat center; opacity: 1
}
span.i-grid-sort-down, span.i-grid-sort-up:active {
  background: url('img/sort-down.png') no-repeat center; opacity: 1
}


table.image th.empty, table.image td.i-grid-sel, table.image td.i-grid-expand, table.image td.empty {
  border-right: 0px; padding-left: 0px; padding-right: 0px; width: 16px
}
table.image tbody tr.row td {
  overflow: hidden
}


table.inf-grid {
  width: 100%; border-spacing: 0; border-collapse: collapse; font-family: inherit; font-size: 13px; cursor: default
}
table.inf-grid tr {
  background: inherit !important
}
table.inf-grid th {
  border-top: 1px solid #93bd3f; border-left: 1px solid #93bd3f; border-bottom: 1px solid #627e2a; border-right: 1px solid #627e2a;
  color: #3e5214; padding: 5px; font-size: 1em; font-weight: bolder; vertical-align: middle
}
table.inf-grid td {
  border-top: 1px solid #93bd3f; border-left: 1px solid #93bd3f; border-bottom: 1px solid #627e2a; border-right: 1px solid #627e2a;
  color: #3e5214; padding: 5px; font-size: 1em; vertical-align: middle
}
table.inf-grid tbody.bolder td+td {
  font-weight: bolder  
}
table.report th {
  border-top: 1px solid #93bd3f; border-left: 1px solid #93bd3f; border-bottom: 1px solid #627e2a; border-right: 1px solid #627e2a;
  bbackground-color: #bed78b; color: #3e5214; padding: 5px; font-size: 1em; font-weight: normal; white-space: nowrap; vertical-align: middle
}
table.report tr.sel td, td.sel {
  background-color: #ecf0fe
}  
table.right td, table.right th {
  text-align: right
}

table.left td, table.left th {
  text-align: left
}

table.autow {
  width: auto
}
table.auto {
  width: auto; margin: auto
}

/* Error styles  */

table.i-err {
  margin: 5px auto; min-width: 100px; max-width: 90%; border-spacing: 0px; border-collapse: collapse
}
table.i-err th {
  height: 20px; padding-left: 5px; line-height: 26px; background: #e28c70 url('img/error.png') no-repeat 2px center; border-style: solid; border-width: 1px; border-color: #e7a38c #9e624e #9e624e #e7a38c
}
table.i-err a.i-err-close {
  margin: 2px; width: 16px; height: 16px; float: right; cursor: pointer; background: url('img/close.gif') no-repeat center
}
table.i-err td {
  padding: 5px; border-left: 1px solid #e7a38c; border-right: 1px solid #9e624e; border-bottom: 1px solid #9e624e; background-color: #fffee8; font-size: 13px; color: #a32800; text-align: justify
}
