/* Stylesheet for kivitendo * Name:od-blau.css

Color table
-----------

Background:     #EBEBEB burlywood
Buttons         #4444FF dark-blue
Titles, BG/VG:  #4444FF / FFFFFF White
Menu, Actionbar #99CCFF lihgt blue
Listrow         #EEEEFF / #FFFFFF
*/

@import url("productionlist.css");
@import url("stocktaking.css");

body {
  background-color: #FFFFFF;
  color: #000000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 80%;
    /*font-size: 9pt;*/
    /*min-width: 105em;*/
    position: relative;
    overflow-x:auto;
    margin: 0px;
}

/* Input elements */
input,
textarea,
select,
div.cke_textarea_inline {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -khtml-border-radius: 0;
  border: 1px;
  border-color: darkgray lightgray lightgray;
  border-radius: 0;
  border-style: solid;
  outline: none;
  padding: 1px;
}

input[type="text"], input[type="password"]
textarea,
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
}

select {
  appearance : none;
  background: white url('../../image/select-down.png') no-repeat scroll right center;
  padding: 0 14px 0 0;
}

div.cke_textarea_inline code{
  font-size: 120% !important;
  background-color: #EBEBEB;
}

input:focus,
textarea:focus,
select:focus,
div.cke_textarea_inline:focus {
  background-color: #ffffa0;
  border: 1px solid #0000FF;
}

input[type="button"],
input[type="submit"],
button {
  color: #000000;
/*  background-color: #4444FF;*/
  background-color: #99CCFF;
  border: 1px;
  border-color: #99CCFF;
  border-style: solid;
  padding: 2px 4px;
/*  border-radius: 5px;*/
}

input[type="button"]:disabled,
input[type="submit"]:disabled,
button:disabled {
  color: #AAAAAA;
  background-color: #99CCFF;
  border: 1px;
  border-color: #99CCFF;
  border-style: solid;
  padding: 2px 4px;
/*  border-radius: 5px;*/
}

input[type="button"]:focus,
input[type="submit"]:focus,
button:focus {
  background-color: #99CCFF;
  font-weight: bold;
  border-color: #4444FF;
}

button:hover:enabled,
input[type="button"]:hover:enabled,
input[type="submit"]:hover:enabled {
  background-color: #BFDFFF;
  border-color: #4444FF;
  color: #4444FF;
}

input.error{
  border: red 2px solid,
}

/* The look of links */
a {
  padding: 0 0.2em;
  text-decoration: none;
}
A:link, A:visited, A:active {
  color: #000000;
  border-bottom: thin solid #0000FF;
}
a:hover {
  color: #0000FF;
  background-color: whitesmoke;
}
a.selected:hover {
  color:#EBEBEB;
}
a.nomobile {
  background-color:transparent;
  border:none;
}
a.green {
  background-color: DarkGreen;
  color: white !important;
  border:none;
}
a.orange {
  background-color: Yellow;
  border:none;
}
a.red {
  background-color:#FF0000;
  border:none;
}

table {
  font-size: 90% !important;
  table-layout: auto;
  border-spacing: 0.3em;
}

td table {
  font-size: 100% !important;
}

hr {
  background-color: #4DA6FF;
  border: none;
  color: #79B61B;
  height: 2px;
}

tr.rule-before th, tr.rule-before td {
  padding-top: 2px;
  border-top: 2px solid #EBEBEB;
}

td {
  color: #000000;
  font-weight: normal;
}
th {
  color: #000000;
  font-weight: bold;
}
/* login and admin */
a.no-underlined-links, a.no-underlined-links:visited, a.no-underlined-links:hover {
  text-decoration: none !important;
  background-color:transparent !important;
  border:none;
}
a.no-underlined-links:hover {
  background: none;
}
body.login {
  background-color: #FFFFFF;
  color: #000000;
}
.login h1 {
  text-align: center;
  font-size: 150%;
}
table.login {
  background-color: #FFFFFF;
  margin-top: 20px;
  padding: 20px;
  width: 500px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
td.login {
  text-align: center;
}
th.login {
  text-align: right;
}
.admin h1 {
  background-color: #4444FF;
  text-color: #ffffff;
}
body.menu {
  color: #000000;
}
/* Warnings */
.message_error_login {
  color: #000000;
  border: 1px solid #8b0000;
  background-color: #ffcccc;
  padding: 3px;
}
.message_ok {
  padding: 5px;
  background-color: #ADFFB6;
  color: black;
  font-weight: bolder;
  text-align: center;
  border-style: solid;
  border-width: thin;
}
.message_error {
  padding: 5px;
  background-color: #CC0000;
  color: white;
  font-weight: bolder;
  text-align: center;
  border-style: solid;
  border-width: thin;
}
.message_hint {
  padding: 0.5em;
  background-color: #FFEE66;
  color: black;
  font-weight: bolder;
  text-align: center;
  border-style: solid;
  border-width: thin;
}
.message_error_label {
  padding: 0.5em;
  background-color: #E00000;
  color: white;
  font-weight: normal;
  text-align: left;
  border-style: solid;
  border-width: thin;
}
/* Headings */
.listtop, h1 {
  background-color: #4444FF;
  text-align: left;
  padding: 0.5em;
  color: #FFFFFF;
  font-size:100%;
  font-weight: bolder;
  border-style: none;
  border-width: thin;
  -moz-border-radius:0.4em; /* Firefox */
  -webkit-border-radius:0.4em; /* Safari, Chrome */
  -khtml-border-radius:0.4em; /* Konqueror */
  border-radius:0.4em; /* CSS3 */
  behavior:url(border-radius.htc);
}

.listheading, #content h2 {
  padding: 0.2em;
  background-color: #EBEBEB;
  color: #0000FF;
  font-size: 95%;
  font-weight: bolder;
  text-align: left;
  border-style: none;
}
.listheading_checkbox{
  padding: 1px;
  background-color: #EBEBEB;
  color: #0000FF;
  font-size: 95%;
  font-weight: bolder;
  text-align: left;
  border-style: none;
}


.accountlistheading {
  padding: 0.3em;
  color: #0000FF;
  font-weight: bold;
  text-align: left;
  background-color: #EBEBEB;
}
.subsubheading {
  color: #000000;
  font-weight: bolder;
  text-decoration: underline;
}
.optionen {
  border: dashed;
  border-width: 1px;
  background: #FFFFE0;
}
.listrow1, .listrow_highlight1, .listrow:nth-child(even) {
  background-color: #FFFFFF;
  color: black;
  vertical-align: top;
}

.listrow_hover_highlighting {
  background-color: #99CCFF !important; color: black; vertical-align: top;
}

.listrow_highlight1 { background-color: #A0FFA0; }

.listrow0, .listrow_highlight0, .listrow:nth-child(odd) {
  background-color: #EEEEFF;
  color: black;
  vertical-align: top;
}
.listrow_highlight0 { background-color: #C0FFC0; }
.listrow_error1, .listrow_error:nth-child(even) {
  background-color: #F6CECE;
  color: black;
  vertical-align: top;
}
.listrow_error0, .listrow_error:nth-child(odd) {
  background-color: #F5A9A9;
  color: black;
  vertical-align: top;
}

.redrow1   { background-color: rgb(250,167,161); color: black; vertical-align: top; }
.redrow0   { background-color: rgb(255,193,176); color: black; vertical-align: top; }

.greenrow1 { background-color: rgb(0,250,0);     color: black; vertical-align: top; }
.greenrow0 { background-color: rgb(0,255,0);     color: black; vertical-align: top; }

.yellowrow1 { background-color: #FFE42E;         color: black; vertical-align: top; }
.yellowrow0 { background-color: #FFD519;         color: black; vertical-align: top; }


.listrowempty {
  background-color: #FFFFFF;
  color: black;
  vertical-align: top;
}
.listsubtotal {
  background-color: rgb(236,233,216);
  color: black;
  font-weight: bolder;
}
.listtotal, .listtotal td {
  background-color: rgb(236,233,216);
  color: black;
  font-weight: bolder;
}
/* Verkaufsbericht */
.listmainsortheader {
  background-color: rgb(236,233,216);
  color: red;
  font-weight: bolder;
  padding-left: 10px;
  padding-top: 0px;
}
.listmainsortsubtotal {
  background-color: rgb(236,233,216);
  color: red;
  font-weight: bolder;
  padding-left: 10px;
}
.listsubsortheader {
  background-color: rgb(236,233,216);
  color: green;
  font-weight: bolder;
  padding-left: 20px
}
.listsubsortsubtotal {
  background-color: rgb(236,233,216);
  color: green;
  font-weight: bolder;
  padding-left: 20px
}
.listsortdescription {
  background-color: rgb(236,233,216);
  color: black;
  font-weight: normal;
  padding-left: 30px
}
.submit {
  font-family: Verdana, Arial, Helvetica;
  color: #000000;
}
.checkbox, .radio {
  font-family: Verdana, Arial, Helvetica;
  color: #778899;
}
.plus0 {
  /* font color for negative numbers */
  color: red;
}
.plus1 {
  color: green;
}
h2.confirm {
  color: blue;
}
h2.error {
  color: red;
}
fieldset {
  margin-top: 15px;
  color: black;
  font-weight: bolder;
}
.filecontent {
  border: 1px solid blue;
  padding-left: 2px;
  padding-right: 2px;
}
label {
  cursor: pointer;
  vertical-align: top;
}
.unbalanced_ledger {
  background-color: #ffa0a0;
}

.dimmed-text {
  color: #ccc;
  font-style: italic;
}

.link_separator {
  margin-left: 6px;
  margin-right: 6px;
}

.chart_picker,
.part_picker {
  display: inline-block;
}
.chart_picker:before,
.part_picker:before {
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.kivi-validator-invalid,
.customer-vendor-picker-undefined,
.chartpicker-undefined,
.projectpicker-undefined,
.partpicker-undefined {
  color: red;
  font-style: italic;
}

div.part_picker_part,
div.chart_picker_chart {
  padding: 5px;
  margin: 5px;
  border: 1px;
  border-color: darkgray;
  border-style: solid;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}
div.part_picker_part:hover,
div.chart_picker_chart:hover {
  color: #0000FF;
}

div.cpc_block,
div.ppp_block {
  overflow:hidden;
  float:left;
  width: 350px;
}

span.cpc_popup_button, span.ppp_popup_button {
  display: inline-block;
  vertical-align: middle;
  margin-left: -24px;
  height: 20px;
  width: 20px;
  cursor: pointer;
  background: url("../../image/search.svg") no-repeat center right;
  background-size: contain;
}

span.cpc_popup_button:hover, span.ppp_popup_button:hover {
  background: #4DA6FF url("../../image/search.svg") no-repeat center right;
  border-radius: 100%;
}

span.chart_picker input, span.part_picker input {
  padding-right: 20px;
  box-sizing: padding-box;
  -moz-box-sizing: padding-box;
  -webkit-box-sizing: padding-box;
}

span.chart_picker, span.part_picker {
  white-space: nowrap;
}

div.ppp_block span.ppp_block_number,
div.cpc_block span.cpc_block_number
{
  float:left;
}
div.ppp_block span.ppp_block_description {
  float:right;
  margin-left:1em;
  font-weight:bold;
}
div.cpc_block span.cpc_block_description {
  float:left;
  margin-left:1em;
  font-weight:bold;
}
div.ppp_line span.ppp_block_description,
div.cpc_line span.cpc_block_description
{
  margin-left:1em;
  font-weight:bold;
}
div.cpc_block span.cpc_block_balance {
  float:right;
}
div.cpc_block span.cpc_line_balance {
  display:none;
}
div.cpc_line span.cpc_block_second_row {
  display:none;
}
div.cpc_block span.cpc_block_second_row {
}
span.toggle_selected {
  font-weight: bold;
}
.dunned_invoice {
  font-weight: bold;
  color: #f00;
}
.customer_dunning_level {
  font-weight: bold;
}

#expand_all, .expand {
    cursor: pointer;
    display: block;
    max-width: 16px;
    max-height: 16px;
}

.expand_cc_bcc {
  cursor: pointer;
  display: inline;
  max-width: 12px;
  max-height: 12px;
}

.email_plus {
  cursor: pointer;
  display: inline;
  max-width: 12px;
  max-height: 12px;
}

.email_list_clickable {
  color: #0000EE;
  cursor: pointer;
}

.email_list_clickable:hover {
  color: #0000EE;
  cursor: pointer;
  text-decoration: underline;
}

.scrollable_div{
  max-height: 300px;
  width: 195px;
  overflow: auto;
  display: none;
}
/* Bank transactions */
#bank_transactions_proposals .invoice_number_highlight a,
#bank_transactions_proposals span.invoice_number_highlight {
  background-color: #4DA6FF;
  color: #FFFFFF;
}

/* actionbar styling */
div.layout-actionbar {
  height: 28px;
  z-index: 20;
  padding: 2px;
  background-color: #99CCFF;
}

div.layout-actionbar-action {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* don't select text on double click */
}

div.layout-actionbar ~ div:first {
  padding-top: 25px;
}

div.layout-actionbar > div + div {
  margin-left: 2px;
}

div.layout-actionbar-separator {
  display: inline-block;
  width: 20px;
}

div.layout-actionbar div.layout-actionbar-action,
div.layout-actionbar div.layout-actionbar-action:focus {
  display: inline-block;
  width: 120px;
  box-sizing: border-box;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: grey;
  padding: 4px 4px;
  cursor: default;
  color: #000000;
/*  background-color: #4444FF;*/
  background-color: #99CCFF;
/*  border-radius: 5px;*/
}

div.layout-actionbar div.layout-actionbar-action:hover {
  border-width: 1px;
  border-style: solid;
  background-color: #BFDFFF;
  color: #4444FF;
}

div.layout-actionbar div.layout-actionbar-action-disabled,
div.layout-actionbar div.layout-actionbar-action-disabled:hover {
  color: #AAAAAA;
  background-color: #99CCFF;
}

div.layout-actionbar-combobox {
  position: relative;
  display: inline-block;
}

div.layout-actionbar div.layout-actionbar-action {
  height: 25px;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head div {
  width: 100px;
  height: 25px;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head div.layout-actionbar-label:after {
  content: '…';
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head span {
  display: inline-block;
  border-width: 1px 1px 1px 1px;
  border-style: solid;
  padding: 4px;
  width: 14px;
  height: 15px;
  position: absolute;
  top: 0;
  right: 0;
  border-color: grey;
  background-color: #99CCFF;
/*  border-radius: 5px;*/
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover {
  color: #FFFF44;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -3px;
  border-width: 3px 3px 0 3px;
  border-style: solid;
  border-color: black transparent;
}

div.layout-actionbar-combobox.active div.layout-actionbar-combobox-head span:after {
  border-width: 0 3px 3px 3px;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head span:hover:after {
  border-color: #99CCFF transparent;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-head {
  padding-right: 20px;
  white-space: nowrap;
  display: block;
}

div.layout-actionbar-combobox div.layout-actionbar-combobox-list {
  position: absolute;
  display: none;
  min-width: 120px;
}

div.layout-actionbar-combobox.active div.layout-actionbar-combobox-list {
  display: inline-block;
  z-index: 10;
}

div.layout-actionbar-combobox-list div.layout-actionbar-action {
  white-space: nowrap;
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 4px;
}

div.layout-actionbar .layout-actionbar-default-action {
  font-weight: bold;
}

/* price rule editor styling */
#price_rule_action_container {
  overflow-x: scroll;
}
#price_rule_macro fieldset {
  font-weight: normal;
}
#price_rule_macro .price_rule_action_element {
  border-color: black;
}
#price_rule_macro .price_rule_condition_element {
  /* nothing yet */
}
#price_rule_macro fieldset legend {
  font-weight: bold;
  white-space: nowrap;
}
#price_rule_macro .price_rule_horizontal_block {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
#price_rule_macro .price_rule_horizontal_block div {
  flex-grow: 1;
}
#price_rule_macro .price_rule_vertical_block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#price_rule_macro .price_rule_vertical_block div {
  flex-grow: 1;
}
#price_rule_macro .price_rule_element {
  display: flex;
}
#price_rule_macro .price_rule_macro_add_empty_block {
  text-align: center;
  padding-left: 3px;
  padding-right: 3px;
}
#price_rule_macro .price_rule_macro_add_empty_block:hover {
  background-color: grey;
  cursor: pointer;
}

#layout_flash_container {
  position: absolute;
  z-index: 200;
  right: 20px;
  min-width: 30%;
  animation: fadein .5s;
}
@keyframes hop {
  to  { transform: scale(1.01); }
}
@keyframes flash {
  from  { background-color: black }
}
@keyframes fadein {
  from  { opacity: 0; }
  to  { opacity: 1; }
}
.layout-flash-message {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
  border-width: 1px;
  border-style: solid;
  max-width: 620px;
 /* animation: .5s ease-out .2s 1 normal none running flash;*/
}
.layout-flash-message-details-wrap{
  position: relative;
  display: inline-block;
  width: 85%;
}

.layout-flash-remove-type-wrap{
  position: relative;
  width: 15%;
  float: left;
}

.layout-flash-timestamp{
  opacity: 0.75;
}
.layout-flash-details::before {
  content: ': ';
}
.layout-flash-type {
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
}
.layout-flash-error {
  background-color: #FFD6D6;
  border-color: #AE0014;
}
.layout-flash-ok {
  background-color: #ADFFB6;
  border-color: #007F0F;
}
.layout-flash-warning {
  background-color: #FFE8C7;
  border-color: #FF6600;
}
.layout-flash-info {
  background-color: #DCF2FF;
  border-color: #4690FF;
}
.layout-flash-title {
  font-weight: bold;
}
.layout-flash-remove {
  padding-right: 4px;
}

/* Admin section: the menu itself doesn't occupy space. So make room
   at the top of the div covering the whole admin area. */
body > div.admin {
  padding-top: 24px;
}

/* cke editor */
.cke_top {
  padding: 0 !important;
}
.cke_toolgroup {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

#creditor_identifier:disabled {
  color:black;
}

.cke_button {
  padding: 0px; 6px !important;
}

.add_button {
  width: 26px;
}

.delete_button {
  width: 26px;
}

.scale_base_modal_header {
  text-align: left;
}

.scale_base_modal_input input {
  width: 45px;
}

.layout-flash-toggle {
  margin-right: 0.125em;
}
#main_menu_div {
  background-color: #99CCFF;
}

@media print {
  div.layout-actionbar {
    display: none;
  }
}

.hidden_cc_bcc {
  display: none;
}

.unexpand_icon {
  display: none;
}

input:read-only {
  border: 0;
}

.price_icon {
  max-width: 16px;
  max-height: 16px;
  width: 16px;
}

.textarea_fixed_width_no_resize {
  width: 99%;
  resize: none;
}

#template_buttons {
  min-width: 270px;
}

.padding-left_14em {
  padding-left: 14em;
}

.focused_row {
  outline: solid blue thin;
}

.table_input {
  width: 650px;
}
.erp-search {
  background: white url("../../image/search.svg") no-repeat center right;
  /**
   * A little padding so that the text in the fields
   * does not go over the icon but ends before it
   */
  padding-right: 15px;
  /**
   * This information is needed so that the added padding
   * does not change the size of the field.
   * Since each browser implements this function slightly differently,
   * here are these 3 statements needed for the different browser types
   */
  -webkit-box-sizing: border-box; /** Safari, Chrome and WebKit */
  -moz-box-sizing: border-box;    /** Firefox */
  box-sizing: border-box;         /** Opera, Internet Explorer */
}
