/* forms */
.compact-form form .label {
  width: auto;
  float: none;
  font-size: 85%;
  color: #444;
  margin-bottom: .2em;
}

.compact-form form .line.check_box .label {
  margin-right: 1em;
  float: left;
}

.compact-form form .line.check_boxes label {
  margin-right: 1em;
}

.compact-form form .line {
  margin-bottom: .6em;
}

.compact-form form .line.check_boxes label input {
  vertical-align: -.1em;
}

.compact-form form .field {
  margin-left: 0;
}

.compact-form form .field input.auto-complete {
  width: 98%;
}

.compact-form form .field input.text_field,
.compact-form form .field textarea
{
  width: 60%;
}

.compact-form form .field input.short {
  width: auto;
}

.compact-form form .buttons {
  margin: 1em 0 1em 0;
}

.compact-form form .preview {
  margin-top: .5em;
}

.compact-form form .tabs-line .label {
  float: left;
  width: auto;
  cursor: default;
  padding: 4px 1em 5px 1em;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: #909090;
  margin-right: 1px;
  margin-bottom: -1px;
  background-color: #fafafa;
}

.compact-form form .tabs-line .label.current {
  color: black;
  border-color: #777;
  border-top-width: 3px;
  border-top-color: #80BE85;
  background-color: #fff;
  margin-top: -1px;
}

.compact-form form .tabs-content {
  border: 1px solid #777;
  background-color: #fff;
  padding: .5em;
  margin-bottom: .5em;
}

table.portfolio-table {
  margin-bottom: 2em;
}

table.portfolio-table .sub-title td {
  padding-top: 1.5em;
}

table.portfolio-table td,
table.portfolio-table th {
  padding: 1px 10px 2px 0;
}

table.portfolio-table td.date {
  width: 17em;
}

table.portfolio-table td.cost,
table.portfolio-table th.cost {
  width: 8em;
}

table.portfolio-layout {
  width: 100%;
}

table.portfolio-layout td.left-column {
  width: 55%;
}

table.portfolio-layout td.right-column {
  width: 45%;
}

table.slide-box {
  width: 100%;
}

table.slide-box td.left-column {
  width: 8em;
  padding-right: 1em;
}

table.slide-box td.right-column {
  width: auto;
  padding-right: 1em;
}

table.slide-box ul.portfolio-operations li {
  margin-bottom: .5em;
}

#wide-content table.slide-box a.opened {
  color: black;
  font-weight: bold;
}

table.slide-box ul.portfolio-operations ul {
  margin-top: .5em;
  padding-left: 20px;
}

.portfolio-indicators {
  text-align: right;
  padding-right: 1em;
}

table.user-portfolios-table {
  width: 80% !important;
}

table.user-portfolios-table td {
  overflow: visible !important;
}


table.user-portfolios-table th.cost {
  width: 8em !important;
}

table.user-portfolios-table th {
}

table.user-portfolios-table th.portfolio-name, table.user-portfolios-table td.portfolio-name {
  width: 15em !important;
  overflow: hidden !important;
}


table.user-portfolios-table th.to-arch {
  width: 4em !important;
}

table.user-portfolios-table th.add-to-indicators, table.user-portfolios-table td.add-to-indicators {
}

table.user-portfolios-table th.date, table.user-portfolios-table td.date {
  width: 5em !important;
}

table.user-portfolios-table th.profit, table.user-portfolios-table td.profit {
  width: 5em !important;
}

table.user-portfolios-table th.destroy, table.user-portfolios-table td.destroy {
  width: 3em !important;
  vertical-align:middle;
}

table.slide-box tr.top-menu ul {
  margin: 0; /* Обнуляем значение отступов */
}

table.slide-box td.right-column ul.portfolio-operations li {
  display: inline; /* Отображать как встроенный элемент */
  margin-right: 10px; /* Отступ слева */
}


#wide-content table.slide-box .rounded-button a.opened {
  color: white;
}

#wide-content table.slide-box a {
  font-style: normal;
}

#stop_orders_table .data-table th.date-time {
  width: 7em;
}

#stop_orders_table .data-table th.tool {
  width: 6em;
}

#stop_orders_table .data-table th.type {
  width: 10em;
}

#stop_orders_table .data-table th.stop-price {
  width: 3em;
}

#stop_orders_table .data-table th.quantity {
  width: 4em;
}

#stop_orders_table .data-table th.amount {
  width: 5em;
}

#stop_orders_table .data-table th.date {
  width: 5em;
}

#stop_orders_table .data-table th.status {
  width: 5em;
}

.error-msg {
  color: #880010;
}

.in-archive {
  color: #880010;
}

#portfolios-table-up .user-name, #portfolios-table-down .user-name {
  width: 45%;
  overflow:hidden;
  white-space:nowrap;
}
#portfolios-table-up .portfolio-name, #portfolios-table-down .portfolio-name {
  width: 33%;
  overflow:hidden;
  white-space:nowrap;
}
#portfolios-table-up .profitability, #portfolios-table-down .profitability {
  text-align: right;
  width: 22%;
}

#wide-content #portfolio-structure th.tool,  #wide-content #portfolio-structure td.tool {
  width: 10em;
}

#wide-content #portfolio-structure th.profit,  #wide-content #portfolio-structure td.profit {
  width: 8em;
}

#wide-content #portfolio-structure th.portion,  #wide-content #portfolio-structure td.portion {
  width: 4em;
}

#wide-content #portfolio-structure th.quantity,  #wide-content #portfolio-structure td.quantity {
  width: 6em;
}

#wide-content #portfolio-structure th.price,  #wide-content #portfolio-structure td.price {
  width: 6em;
}

#wide-content #portfolio-structure th.cost,  #wide-content #portfolio-structure td.cost {
  width: 8em;
}

.award {
  margin-left: 16px;
  padding-right: 2px;
  vertical-align: -2px;
}