/* */
.inp50 { width: 50% }
.inp90 { width: 90% }
span.required, strong.required {color: #EE0000;}
span.allowed, strong.allowed {color: #00BB00;}
span.info, strong.info {color: #0067bb;}
span.disabled, strong.disabled { color: #777; text-shadow: #FFF 1px 1px 0; }
label, input[type="submit"], input[type="reset"], input[type="radio"] { cursor: pointer; }
form { padding: 0; margin: 0; }
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
abbr {
  border-bottom: 1px #999 dotted;
  cursor: help;
  text-decoration: none;
}
.journal h2 {
  font: 24px "Segoe UI", Arial, sans-serif;
  padding: 6px 0 0 0;
  margin: 0;
  color: #000;
  background: none;
  letter-spacing: -0.5px;
}
.journal h2.left {
  float: left;
}
.journal h3 {
  font: 120% "Segoe UI", sans-serif;
  padding: 3px 6px;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #e84248;
  color: #e84248;
  border-radius: 6px;
}
.journal h4 {
  font: 120% "Segoe UI Semibold", sans-serif;
  padding: 0;
  margin-bottom: 0.5em;
  color: #000;
}
h2 a, h2 a:visited {
  text-decoration: none;
  color: #e84248;
  white-space: nowrap;
}
h2 a:hover {
  text-decoration: underline;
}
/* */
.journal_nav_drag {
  right: 0;
  position: relative;
  float: right;
  width: 6px;
  height: 1px;
  cursor: e-resize;
  background: #D6DBDB;
}
.toggle_hide {
  top: 0;
  right: 16px;
  width: 22px;
  height: 32px;
  position: relative;
  cursor: pointer;
  background: #D6DBDB url("images/icon16_toggle_hide_opened.png") center no-repeat;
  border-radius: 6px;
}
.toggle_hide.closed {
  background: #D6DBDB url("images/icon16_toggle_hide_closed.png") center no-repeat;
  border-radius: 6px;
}

.journal_nav {
  position: fixed;
  width: 24%;
  float: left;
  min-width: 12px;
}
.journal_nav .journal_nav_container {
  padding: 0 0.75em;
  overflow-y: auto;
}
.journal_log {
  width: 75%;
  float: right;
  margin-bottom: 5em;
}
.journal_log .journal_log_container {
  padding: 0 0.75em 0 0;
  overflow-y: auto;
}

.journal_one .journal_one_container {
  padding: 0 0.75em;
  overflow-y: auto;
}
.journal_one {
  margin-bottom: 5em;
}


.journal_container {
  margin-top: 62px; /* journal_header.height + journal_header.padding + journal_header.border */
  clear: both;
  overflow: hidden;
}
.journal_header {
  background: #FFF;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 10;
  position: fixed;
  border-bottom: 2px solid #D6DBDB;
  box-shadow: 0 2px 10px #EEE;
  border-radius: 6px;
}
.journal_header_container {
  padding: 10px;
}
.journal_header h2 {
  float: left;
}


.bottom_padding {
  padding: 1em 0;
  height: 1px;
}
.journal_nav_loading {
  font-size: 12px;
}

#totop, #totop_inside {
  display: none;
  text-decoration: none;
  position: fixed;
  overflow: hidden;
  width: 44px;
  height: 44px;
  z-index: 100;
  opacity: .9;
  background: #fff url("images/icon16_top.png") no-repeat center;
  cursor: pointer;
  border: 1px solid #999;
  border-radius: 6px;
}
#totop:hover, #totop_inside:hover {
  opacity: 1;
  background-color: #d6dbdb;
  box-shadow: 0 1px 5px 1px rgba(0,0,0,0.5);
}
#totop:active, #totop_inside:active {
  background-color: #FFF;
}
#totop {
  bottom: 4rem;
  right: 1rem;
}
#totop_inside {
  bottom: 1em;
  right: 1em;
  left: 3px;
  width: 144px;
  height: 16px;
}

.journal_stats .basket_field_name {
  color: #888;
}
.journal_stats .basket_field_contents {
  padding-left: 1em;
  white-space:  pre-line;
}
.journal_stats .basket_price {
  color: #C33;
}
.journal_stats .basket_expand {
  color: #000;
  padding-top: 12px;
  font-size: 12px;
}
.journal_stats .field_value {
  color: #555;
  font-size: 14px;
  background: #FFF;
}

.journal_stats a .anchor {
  color: #5d85a7;
  word-break: break-all;
}
/* break before */
.journal_stats a .anchor::before {
  content: '\A';
  white-space: pre;
}
.journal_stats span.cnt {
  display: block;
  font-size: 130%;
  text-decoration: none;
  /* background: #FFF; */
  padding-right: 0.2em;
  float: right;
  /* margin-left: -1.8em; */
  /* width: 1.7em; */
  text-align: right;
  /* color: #e84248; */
}


/* */
.journal fieldset {
  border: 1px solid #CCC;
  padding: 0.4em 0.4em;
  margin: 0.0em 0 0.4em 0;
  border-radius: 6px;
}
.journal fieldset legend {
  font: normal 90% "Segoe UI", sans-serif;
}

.journal input[type="submit"], .journal input[type="reset"] {
  font: normal 15px "Segoe UI", tahoma, sans-serif;
  border: 1px solid #334c49;
  padding: 0.4em 1.3em;
  border-radius: 6px;
}
.journal input[type="submit"] {
  background: #334c49;
  color: #FFF;
}
.journal input[type="reset"] {
  background: #EEE;
  color: #000;
}
.journal input[type="submit"]:hover, .journal input[type="reset"]:hover {
  border: 1px solid #334c49;
  background: #d6dbdb;
  color: #334c49;
}

.journal input[type="submit"]:active, .journal input[type="reset"]:active {
  background: #FFF;
}
.journal input[type="radio"] {
  margin: 0;
}


.journal .buttons {
  bottom: 0;
  border-top: 2px solid #e84248;
  background: #FFF;
  padding: 0.8em;
  margin: 0;
  border-radius: 6px;
}

.search_by div {
  margin: 0;
}
.search_form {
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}
.search_form .search_by_option {
  white-space: nowrap;
}


.j_row {
  border: 1px solid transparent;
  border-left: 1px solid transparent;
  margin-top: 0.2em;
  border-radius: 6px;
}
.j_row.selected {
  border: 1px solid #ccc;
  border-left: 1px solid #e84248;
  background: #F3F3F3;
  color: #000;
}
.j_row:hover {
  color: #000;
  border: 1px solid #AAA;
  border-lefts: 2px solid #AAA;
}
.j_row_pointer:hover {
  cursor: pointer;
}
.j_row:hover div, .j_row:hover {
  background: #fefdea !important;
}
.search_form .j_row:hover div, .search_form .j_row:hover{
  background: none !important;
  border-color: transparent;
}

.j_row div {
  padding: 5px 10px;
}
.j_row .j_group {
  padding: 0;
  width: 100%;
  font: 13px "Segoe UI", sans-serif;
  border-collapse: collapse;
  border-spacing: 0;
}
.j_row table.j_group_header {
  margin-top: 1px;
  border-top: 2px solid #e84248;
}
.j_row .j_group_header td {
  background: #FFF;
}
.j_row .j_group_header td {
  border-bottom: 1px solid #d6dbdb;
}
.j_row .j_group_header .j_table_key {
  width: 17%;
  background: #F3F3F3;
}
.j_row .j_group_header .j_table_value {
  width: 33%;
}

.j_row .j_group td {
  padding: 8px 10px;
  vertical-align: top;
  border-radius: 6px;
}
.j_row.indent {
  margin-left: 2em;
}
.j_id {
  background: #d6dbdb;
  width: 20%;
}
.j_id:before {
  content: "ID: "
}
.j_ordid {
  background: #F8F8F8;
}

.j_time {
  width: 25%;
  border-left: 1px solid #FFF;
}
.j_time {
  background: #fef1cc;
}
.j_time:before {
  content: "Время: "
}

.j_login {
  background: #fad9da;
  width: 30%;
  border-left: 1px solid #FFF;
}
.j_login:before {
  content: "Логин: "
}
.j_login:after {
  content: "\00A0"
}

.j_ip {
  border-left: 1px solid #FFF;
  background: #dff1f3;
}
.j_row .meta_ip {
  background: #d5f0ee;
}
.j_ip:before {
  content: "IP: "
}

.j_core {
  width: 10%;
  border-left: 1px solid #FFF;
  background: rgba(147, 217, 160, 0.5);
}
.j_core:before {

}
.j_core:after {
  content: "\00A0"
}


.ip_local { color: #757070; }
.ip_secure { color: #ff0000; }
.ip_sirena { color: #2e75b5; }
.ip_server { color: #538135; }
.ip_ps {  color: #c55a11; }

.attr {
  color: #AAA;
}
.gray {
  color: #888;
}
.black {
  color: #000;
}
.j_row .active {
  color: #080;
}

.j_checkbox {
  width: 1%;
}
.j_radio {
  width: 1%;
}
.j_ak {
  width: 1%;
}
.j_process {
  width: 1%;
}
.j_api_wsdl {
  width: 30%;
}
.j_api_username {
  
}
.j_api_pass {
  width: 15%;
}
.j_api_login {
  width: 15%;
}

.j_event {
  clear: both;
  background: #FFF;
  border-top: 1px solid #FFF;
  margin-left: 0;
  color: #334c49;
  font: 600 16px/25px "Segoe UI Semibold", "Segoe UI", Tahoma, sans-serif;
  border-radius: 6px;
}
.j_event:before {
  contents: "Событие: "
}
.j_event.clone {
  position: fixed;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px, rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}


.j_data, .j_data_collapsed {
  background: #F9F9F9;
  clear: both;
  border: none;
  padding: 0;
  margin-left: 0;
  font-family: "Consolas", monospace;
  font-size: 12px;
  overflow-x: auto;
  display: block;
  border-radius: 6px;
}

.j_row .hide {
  display: none;
}

.j_data_collapsed {
  text-align: center;
  font-family: "Consolas", monospace;
  font-size: 14px;
  color: #000;
}
.j_data_collapsed::after {
  content: "---\2704---";
}

.j_details {
  margin-top: 10px;
  font: 13px "Segoe UI", Tahoma, sans-serif;
}
.j_details table {
  border-spacing: 1px;
  border-collapse: separate;
  font: 12px sans-serif;
  text-align: center;
}
.j_details table.details th {
  border-bottom: 1px solid #999;
}
.j_details table td {
  vertical-align: top;
}
.j_details table tr.hr th {
  padding: 8px 4px;
  background: #EEE;
  border: none;
  text-align: left;
}
.j_details table.details td {
  padding: 2px 4px;
  text-align: right;
  vertical-align: top;
  border-top: 1px solid #CCC;
}
.j_details table.details tr:hover td {
  background: #DDD;
}
.j_core_start:hover {
    border-right: 12px solid #CCC;
}
.j_core_start {
    margin-bottom: 32px;
    padding-right: 6px;
    border-right: 12px solid #EEE;
    border-radius: 6px;
}

table.details td.mp {
  /* plus */
  font-weight: bold;
  color: #0A0;
  cursor: help;
}
table.details td.mm {
  /* minus */
  font-weight: bold;
  color: #A00;
  cursor: help;
}
table.details td.l {
  text-align: left;
}
table.details td.num {
  text-align: right;
}
table.details td.vp {
  text-align: left;
  white-space: pre;
  font-family: "Consolas", monospace;
}
table.details ul {
  font-size: 100%;
  padding: 0;
  margin: 0;
}
table.details ul li {
  padding: 0;
  margin: 0;
}

.j_order_details table {
  padding: 0;
  margin: 0;
  width: 100%;
  font: 12.8px "Segoe UI", Tahoma, sans-serif;
}
.j_order_details {
  margin-bottom: 10px;
  padding: 0 1.4em 0 1.4em;
}
.j_order_details td.param_name {
  color: #444;
}
.j_order_details td.param_value {
  text-align: right;
}


.empty {
  font-size: 1px;
}
.hidden {
  display: none;
}

.inline_error {
  font: 120% "Segoe UI", Tahoma, sans-serif;
  color: #E84248;
  padding: 0.5em;
  margin: 0.2em 0;
  overflow: hidden;
}

.servername {
  padding: 2px 0;
  margin-bottom: -1em;
  font: 12px sans-serif;
}
.servername span {
  color: #777;
}
.meta_time {
  font: 70% sans-serif;
}
.meta_ip {
  font: 70% sans-serif;
}
.time_diff {
  color: #777;
}

.psgid.hl { color: #FFF; background: #777 }

.meta_events ul, .meta_events ol, .meta_events dl {
  font: 12.8px "Segoe UI", Tahoma, sans-serif;
  padding: 0 0 0 2em;
  margin: 0;
  margin-top: 1px;
}
.meta_events dl {
  padding: 0;
}
.meta_events ul li {
  list-style-type: disc;
}
.meta_events ol li, .meta_events ul li, .meta_events dl dt, .meta_events dl dd {
  padding: 0;
  margin: 0;
  padding-bottom: 0.5em;
  color: #000;
}
.meta_events dl dt {
  font-size: 120%;
  padding-bottom: 0.5em;
}
.meta_events dl dd{
  border: 1px solid transparent;
}
.meta_events dl dd:hover {
  border: 1px solid #CCC;
  border-radius: 6px;
}
.meta_events li a, .meta_events li a:visited {
  color: #3567d9;
  white-space: nowrap;
  text-decoration: none;
}
.meta_events li a:hover {
  text-decoration: underline;
  color: #e84248;
}

.meta_events_wrap ul {
  margin: 0;
  padding: 0 0 0 2em;
}
.meta_events_wrap ul li {
  /* border-top: 1px solid #CCC; */
  clear: both;
  /* list-style-type: none !important; */
  /* margin: 0; */
  /* margin-left: 1.3em; */
  margin-bottom: 0.5em;
}
.meta_events_wrap li a, .meta_events_wrap li a:visited {
  white-space: normal;
  /* display: inline-block; */
  /*background: #FFF;*/
  word-break: normal;
  /* padding: 0.3em; */
}

.journal_log a, .journal_log a:visited, .journal_log a.disabled:hover {
  text-decoration: none;
  color: #3567d9;
  border-bottom: none;
}
.journal_log a:hover {
  color: #e84248;
  border-bottom: 1px solid #e84248;
}


div.j_controls {
  float: right;
  padding: 0;
  margin: 0;
}
div.j_controls a {
  cursor: pointer;
  text-decoration: none;
  border: 1px solid #F0F0F0;
  font-size: 16px;
  border-radius: 6px;
}

div.j_controls a:hover {
  border: 1px solid #CCC;
  color: #000;
}

div.j_controls .toggle {
  position: relative;
}

.j_tooltip {
  display: none;
  position: fixed;
  border: 1px solid #5F5F5F;
  background-color: #5F5F5F;
  padding: 8px;
  color: #fefdea;
  font: 16px "Segoe UI", sans-serif;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  z-index: 100;
  border-radius: 6px;
}
.arrow-up {
  position: absolute;
  top: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #5F5F5F;
}
.arrow-down {
  position: absolute;
  bottom: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #5F5F5F;
}
.arrow-left {
  left: 7px;
}
.arrow-right {
  right: 7px;
}



.horizontal_filter dl {
  font: 0.8em "Segoe UI", Tahoma, sans-serif;
  margin: 0;
  clear: both;
  overflow: hidden;
  padding-bottom: 1em;
  border-top: 1px #e84248 solid;
}
.horizontal_filter dl dt {
  margin: 0;
  width: 100%;
  float: left;
  padding: 0.3em 0  0.3em 0;
  font-size: 120%;
}
.horizontal_filter dl dd {
  margin: 0;
  width: 100%;
  float: left;
  display: table;
}
.horizontal_filter ul {
  margin: 0;
  padding: 0;
  display: table-row;
}
.horizontal_filter ul li {
  list-style: none;
  /*float: left;*/
  width: 20%;
  border-left: 1px solid #CCC;
  padding: 0;
  display: table-cell;
  background: #FFF;
  vertical-align: top;
}
.horizontal_filter ul li span {
  display: block;
  /* float: left; */
  width: 100%;
  font-size: 130%;
  text-decoration: none;
  background: #e9f3df;
  padding: 0.2em 0.4em;
}
.horizontal_filter ul li.active span {
  background: #fefdea;
}
.horizontal_filter a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  border: none;
  padding: 0.4em;
}
.horizontal_filter a:hover {
  text-decoration: none;
  border: none;
}



/* Dropdown menu */

a.dropdown_head:visited, a.dropdown_head:link  {
  text-decoration: none;
  display: table;
  font: 15px "Segoe UI", sans-serif;
  color: #000;
  text-align: center;
  background: #FFF;
  border: 0px solid #d6dbdb;
  position: relative;
  height: 2.6em;
  vertical-align: middle;
  width: 100%;
  border-radius: 6px;
}
a.dropdown_head:hover, a.dropdown_head.active {
  background: #d6dbdb url("images/icon16_down.png") no-repeat 5%;
  border: 0px solid #d6dbdb;
}
a.dropdown_head:active {
  background-color: #FFF;
}

a.dropdown_head .close, a.dropdown_head.active .close {
  display: block;
  width: 32px;
  height: 32px;
  position: absolute;
  right: 2px;
  top: 4px;
}
a.dropdown_head.active .close {
  background: url("images/icon16_close.png") no-repeat 50%;
}
a.dropdown_head span.cell {
  display: table-cell;
  vertical-align: middle;
}
a.dropdown_head span.dropdown_head_2 {
  display: block;
  font-size: 80%;
}
a.dropdown_head span.dropdown_head_3 {
  display: block;
  font-size: 70%;
  color: #999;
}



.dropdown_options_container a, .dropdown_options_container a:visited {
  display: block;
  color: #3567d9;
  white-space: nowrap;
  text-decoration: none;
  padding: 2px;
}
.dropdown_options_container a:hover,
.dropdown_options_container label:hover {
  background: #F6F6F6;
  color: #000;
}
.dropdown_options_container a:active,
.dropdown_options_container label:active {
  background: none;
  color: #e84248;
}
.dropdown_options_container .price {
  float: right;
  color: #E84248;
}
.dropdown_options_container .site_id {
  color: #888;
}
.dropdown_options_container .pnr {
  float: right;
  color: #000;
}

.dropdown_state {
  display: block;
  font-size: 12px;
}
ul.dropdown_container, .dropdown_container ul {
  padding: 0;
  margin: 0;
}
.dropdown_container {
  overflow: hidden;
}
.dropdown_container li {
  list-style: none;
  margin: 0 5px;
}
.dropdown_container li.dropdown_item {
  float: right;
  width: 175px;
  border: 1px solid #eee;
  display: inline-block;
  position: relative;
  border-radius: 6px;
}
.dropdown_container li.dropdown_item.active {
  border: 1px solid #555;
  box-shadow: rgba(0, 0, 0, 0.133) 0px 1.6px 3.6px 0px, rgba(0, 0, 0, 0.11) 0px 0.3px 0.9px 0px;
}

.dropdown_options_container {
  display: none;
}
.dropdown_options_container ul {
  background: #FFF;
  padding: 6px;
  border-radius: 6px;
}
.dropdown_options_container li {
  font: 13px "Segoe UI", sans-serif;
}
.dropdown_options_container label {
  display: block;
  width: 100%;
  padding: 2px;
  border-radius: 6px;
}
.dropdown_options_container label input[type=checkbox] {
  vertical-align: middle;
}




ul.buttons_container, .buttons_container ul {
  padding: 0;
  margin: 0;
  text-align: center;
  list-style: none;
}
ul.buttons_container {
  padding-bottom: 0.3em;
  overflow: hidden;
  border-bottom: 2px solid #d6dbdb;
}
ul.buttons_container li {
  display: inline;
}
.buttons_container li:last-child {
  margin-right: 0;
}


a.buttons_head:visited, a.buttons_head:link, a.buttons_head.disabled:hover  {
  text-decoration: none;
  padding: 0.2em 0.4em;
  display: inline-block;
  font: 14px "Segoe UI", sans-serif;
  color: #334c49;
  border: 1px solid #d6dbdb;
  background: #FFF;
  text-align: center;
  position: relative;
  border-radius: 6px;
}
a.buttons_head:hover, a.buttons_head.active {
  border: 1px solid #334c49;
  background: #d6dbdb;
  color: #000;
}

/* Окно ожидания, сообщения о результате выполнения операций */
#bo_wait_window {
  display: none;
}
#bo_wait_window.show {
  display: block;
}
.wait_window_blur {
  filter: blur(4px);
}
.blur_container {
  left: 0;
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.wait_window_background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  opacity: 0.6;
  z-index: 1000;
}
.wait_window_dialog {
  width: 35%;
  text-align: left;
  top: 30%;
  left: 30%;
  position: fixed;
  opacity: 1;
  z-index: 1001;
  padding: 1em 2em;
  color: #000;
  border: 2px solid #d6dbdb;
  box-shadow: 0px 0px 20px #CCC;
  background: #FFF;
  font: normal 20px "Segoe UI", tahoma, sans-serif;
  border-radius: 6px;
}

.wait_window_dialog .buttons {
  margin-top: 1em;
  background: #FFF;
}
.wait_window_dialog .buttons a {
  float: left;
  text-align: center;
  padding: 0.4em 1.3em;
  margin: 0 0.5em 0 0;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  border: 0px solid #CCC;
  background: #EEE;
  font: normal 15px "Segoe UI", tahoma, sans-serif;
  border-radius: 0em;
}


.allow .wait_window_dialog {
  color: #5A0;
  border-color: #b8e3a0;
  background: #fdfffd;
}
.wait .wait_window_dialog {
  color: #777;
  border-color: #f2d570;
  background: #fffdfd;
}
.warning .wait_window_dialog {
  color: #C00;
  border-color: #ef6368;
  background: #fffdfd;
}
.warning a.submit {
  color: #FFF;
  border-color: #ef6368;
  background: #ef6368;
}


/* */
.stats_block_container {
  width: 100%;
  clear: both;
  overflow: hidden;
}
table.stats_block {
  width: 100%;
}
table.stats_block>tr>td {
  border: 1px solid #00AA00;
  width: 25%;
}
div.stats_block {
  border: 1px solid #ccc;
  padding: 0.5em 0;
}


/* Form styles */
div.inp {
  clear: both;
}
div.inp label {
  color: #000;
  padding: 0;
  margin: 0;
  margin-bottom: 1px;
  display: block;
  overflow: hidden;
  font: 90% "Segoe UI", Tahoma, sans-serif;
}
div.inp em {
  font: 13px "Segoe UI", Tahoma, sans-serif;
  text-align: left;
  float: right;
  display: inline-block;
  overflow: hidden;
  padding: 0 0px 1px 0;
  margin-top: 2px;
  font-style: normal;
  width: 50%;
  border: 0px #333 solid;
}
textarea.inp, input.inp, select.inp {
  width: 98%;
  font: normal 100% "Segoe UI", tahoma, sans-serif;
  border: 1px solid #AAA;
  border-bottom: 1px solid #AAA;
  background: #FFF;
  color: #000;
  margin: 2px 0;
  padding: 4px 6px;
  border-radius: 6px;
  outlines: none;
}
input.inp {
  width: 97%;
  padding-top: 3px;
  padding-right: 0;
}
select.inp {
  cursor: pointer;
}
input.inp:focus {
  outline-color: #007FFF;
}

div.inp .disabled, input[type="submit"].disabled, input[type="submit"].disabled:hover {
  cursor: default;
  background: #EEE;
  color: #777;
  text-shadow: #FFF 1px 1px 0px;
}


textarea.w25, input.w25, select.w25, div.inp em.w25 { width: 24%; }
textarea.w75, input.w75, select.w75, div.inp em.w75 { width: 70%; }
textarea.w50, input.w50, select.w50, div.inp em.w50 { width: 49%; }
textarea.w90, input.w90, select.w90, div.inp em.w90 { width: 90%; }


/* Button (Edit, Add, Remove, etc.) */
a.btn, a.btn:visited, a.btn:hover {
  padding: 0 3px;
  margin: 0 1px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  border: none;
}
span.icon {
  transition: all 0.25s;
}
span.icon-add { background-image: url("images/icon16_add.png"); }
span.icon-rm { background-image: url("images/icon16_close.png"); }
span.icon-top { background-image: url("images/icon16_top.png"); }
span.icon-next { background-image: url("images/icon16_next.png"); }
span.icon-prev { background-image: url("images/icon16_prev.png"); }
span.icon-collapsed { background-image: url("images/icon16_collapsed.png"); }
span.icon-opened { background-image: url("images/icon16_opened.png"); }
span.icon-export { background-image: url("images/icon16_export.png"); }
span.icon-export-excel { background-image: url("images/icon16_export_excel.png"); }
span.icon-calendar { background-image: url("images/icon16_calendar.png"); }
span.icon-remove { background-image: url("images/icon16_remove.png"); }
span.icon-log { background-image: url("images/icon16_log.png"); }
span.icon-copy { background-image: url("images/icon16_copy.png"); }

a.btn span {
  padding-right: 4px;
}
a.btn span.icon {
  font-size: 100%;
  letter-spacing: -2px;
  margin-right: 0;
  padding-right: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}

a.disabled, a.disabled:visited {
  cursor: default !important;
  opacity: 0.3;
}


.journal_stats .j_row .j_group td {
  padding: 5px 3px;
}

.j_profile_title {
  word-break: break-all;
}

.j_profile_title .btn {
  float: right;
}

.j_profile_title .btn {
  display: none;
}
.j_row.selected .j_profile_title .btn, .j_profile_title:hover .btn {
  display: block;
}

.journal .pagination {
  margin-top: 4px;
  padding: 0;
  font: 15px "Segoe UI", sans-serif;
  overflow: hidden;
}
.journal .pagination .page_numbers {
  width: 25%;
  text-align: left;
  float: left;
  padding: 0.4em 0;
}
.journal .pagination .page_navigation {
  position: fixed;
  top: 64px;
  right: 5.6em; /*. j_controls width + padding 0.6 */
  padding: 1px;
  float: right;
  text-align: right;
  z-index: 1;
  background: #FFF;
}
.journal .pagination .page_navigation_inline {
  right: 5.6em; /*. j_controls width + padding 0.6 */
  padding: 1px;
  float: right;
  text-align: right;
  background: #FFF;
}
.journal .pagination a, .journal .pagination a:visited {
  text-decoration: none;
  float: left;
  display: block;
  padding: 0.2em 0.6em;
  margin-right: 2px;
  border: 1px solid #d6dbdb;
  background: #F8F8F8;
  border-radius: 6px;
}
.journal .pagination a.selected {
  background: #d6dbdb;
}
.journal .pagination a.disabled {
  cursor: default;
  opacity: 0.3;
}

.splunk_th_1,
.splunk_th_2,
.splunk_th_3,
.splunk_th_4,
.splunk_th_5,
.splunk_th_6 {
  width: 14%;
}


table.tbl-selection {
  padding: 0 0;
  width: 100%;
  /*sborder-collapse: collapse;*/
  border-spacing: 1px;
  font: 80% "Segoe UI", sans-serif;
}
table.tbl-selection th {
  padding: 6px 4px;
  background: #d6dbdb;
  color: #000;
  font: 100% "Segoe UI Semibold", arial, sans-serif;
  border-radius: 6px;
}
table.tbl-selection td {
  padding: 2px 3px;
  border-top: 0 solid #F8F8F8;
  border-bottom: 1px solid #F8F8F8;
  cursor: pointer;
}
table.tbl-selection tr:nth-child(2n) td {
  background: #f0f0f0;
}
table.tbl-selection tr:hover td {
  border-color: #C1BD8F !important;
  background: #fefdea !important;
}
table.tbl-selection tr.selected td {
  border-color: #FFF;
  background: #fef1cc;
}
table.tbl-selection td.r, .j_order_details td.r {
  text-align: right;
}
table.tbl-selection td.pre, .j_order_details td.pre {
  font-family: "Consolas", monospace;
}
table.tbl-selection td.prefmt, .j_order_details td.prefmt {
  font-family: "Consolas", monospace;
  white-space: pre;
}
table.tbl-selection td.n25 {
  text-align: right;
  width: 25%;
}
table.tbl-selection tr.disabled td {
  color: #999;
  cursor: default;
  text-shadow: #FFF 1px 1px 0;
}



.chart {
  width: 99%;
  height: 200px;
}

.ui-datepicker {
  box-shadow: 0 1px 5px 1px rgba(0,0,0,0.5);
}


fieldset.ui-checkboxradio {
  border: 0;
  padding: 0;
}

.ui-checkboxradio label {
  width: 97%;
  border: 0 solid #e84248;
  display: block !important;
  border-radius: 0 !important;
}
div.datepicker {
  cursor: pointer;
}
div.datepicker .visual {
  font: normal 100% "Segoe UI", tahoma, sans-serif;
  display: inline-block;
  background: #FFF;
  border: 1px solid #999;
  color: #000;
  margin: 2px 0;
  padding: 6px 6px;
  border-radius: 6px;
}
div.datepicker .ui-datepicker-trigger {
  vertical-align: middle;
  margin-left: 5px;
}

.ui-visual-focus {
  box-shadow: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #e84248;
  background: #e84248;
  font-weight: normal;
  color: #FFF;
}
.ui-checkboxradio-label.ui-checkboxradio-checked {
  color: #FFF;
}

/* ------------------------------ Backoffice ------------------------------ */
.altbo table.edit-table tr.heading td {
  padding: 6px;
  line-height: 120%;
}
.altbo table.edit-table > tbody::after {
  content: '';
  display: block;
  height: 1em;
}


@media print {
  .j_row, .j_row:hover {
    border: none;
  }
  .j_row:hover div, .j_row:hover {
    background: #FFF !important;
  }
  h2 {
    font-size: 12px !important;
  }
  .journal_log td {
    border-top: 1px solid #777;
  }
  .journal, .j_data, .journal_log td {
    background: #FFF;
  }
  .journal_header {
    position: absolute;
    height: auto;
  }
  .journal_log div, .journal_log td {
    font-size: 8px;
  }
  .journal_log {
    width: 99% !important;
  }
  .journal_nav, .dropdown_container, .j_controls, .j_event.clone, #totop {
    display: none !important;
  }
}
