/* $LastChangedRevision$
 * General CSS used for the d2s.lib
 * (C)door2solution software gmbh
 */

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #5068B8 !important;
}

/*a:focus {
  text-decoration: none;
  background-color: orange;
}*/

.main-sidebar, .left-side {
  left: 230px !important;
  width: 100% !important;
}

INPUT.IMAGEINPUT {
  background-color: #A0A0A0;
  text-align: right;
  font-size: 9px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: normal;
  width: 80px;
  height: 16px;
  margin-top: 0px;
  margin-right: 0px;
  border-color: #505050;
  border-width: 0px 0px 0px 0px;
}

td.IMAGEINPUT a, td.IMAGEINPUT img {
  display: inline-block;
}

.noscript {
  font-size: 1.2em;
  font-weight: bold;
  color: #BC100E;
  padding: 4px 8px 3px 23px;
  display: block;
  margin: 1px 0;
  border: 1px solid red;
}

TD.IMAGEINPUT {
  background-color: #A0A0A0;
}

A.MENU_ITEMS {
  font-size: smaller;
  font-family: Arial;
  color: #4B4B4B;
}

A.MENU_ACTIVE {
  font-size: smaller;
  font-family: Arial;
  color: #4B4B4B;
}

A.SL_HEAD {
  font-size: smaller;
  font-family: Arial;
  font-weight: bolder;
  color: #4B4B4B;
}

TD.SL_DATA {
  font-family: Arial;
  font-size: smaller;
}

INPUT[TYPE="TEXT"],
INPUT[TYPE="PASSWORD"],
INPUT[TYPE="EMAIL"],
SELECT {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
}

TABLE.table td,
TABLE.table th {
  padding: 5px;
}

TABLE.sortable th.sort {
  cursor: pointer;
}

.inline {
  display: inline-block;
}

body.PASSWORD_RESET IMG {
  max-height: 200px;
}

div.center {
  margin-right: auto;
  margin-left: auto;
  max-width: 50%;
}

.form-group {
  margin-bottom: 10px;
}

.inline-children > div {
  display: inline-block;
}

.inline-children > div:not(:last-child) {
  margin-right: 10px;
}

div.error span, div.error input {
  border: 1px solid #a94442;
}

div.error input {
  border-right: 0px
}

div.error span {
  border-left: 0px;
  color: #a94442;
  padding-left: 4px;
  padding-right: 4px;
}

.vertical-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

/** float label **/

.float-label-control {
  position: relative;
  margin-top: 1em;
}

.float-label-control ::-webkit-input-placeholder {
  color: transparent;
}

.float-label-control :-moz-placeholder {
  color: transparent;
}

.float-label-control ::-moz-placeholder {
  color: transparent;
}

.float-label-control :-ms-input-placeholder {
  color: transparent;
}

.float-label-control input:-webkit-autofill,
.float-label-control textarea:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -moz-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 1000px white inset !important;
}

.float-label-control input, .float-label-control textarea, .float-label-control label {
  font-size: 1em;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.float-label-control input:focus,
.float-label-control textarea:focus {
  box-shadow: none;
  -webkit-box-shadow: none;
  border-bottom-width: 2px;
  padding-bottom: 0;
}

.float-label-control textarea:focus {
  padding-bottom: 4px;
}

.float-label-control input, .float-label-control textarea {
  display: block;
  width: 100%;
  padding: 0.1em 0em 1px 0.5em;
  /*    border: none;
      border-radius: 0px;
      border-bottom: 1px solid #aaa;
      outline: none;
      margin: 0px;*/
  background: none;
}

.float-label-control textarea {
  padding: 0.1em 0em 5px 0em;
}

.float-label-control label {
  position: absolute;
  font-weight: normal;
  top: -1.1em;
  left: 0.58em;
  color: #aaaaaa;
  z-index: 2;
  font-size: 0.85em;
  -moz-animation: float-labels 300ms none ease-out;
  -webkit-animation: float-labels 300ms none ease-out;
  -o-animation: float-labels 300ms none ease-out;
  -ms-animation: float-labels 300ms none ease-out;
  -khtml-animation: float-labels 300ms none ease-out;
  animation: float-labels 300ms none ease-out; /* There is a bug sometimes pausing the animation. This avoids that.*/
  animation-play-state: running !important;
  -webkit-animation-play-state: running !important;
}

.float-label-control input.empty + label,
.float-label-control textarea.empty + label {
  top: 0.6em;
  font-size: 1.0em;
  animation: none;
  -webkit-animation: none;
  z-index: 100;
}

.float-label-control input:not(.empty) + label,
.float-label-control textarea:not(.empty) + label {
  z-index: 1;
}

.float-label-control input:not(.empty):focus + label,
.float-label-control textarea:not(.empty):focus + label {
  color: #aaaaaa;
}

.float-label-control.label-bottom label {
  -moz-animation: float-labels-bottom 300ms none ease-out;
  -webkit-animation: float-labels-bottom 300ms none ease-out;
  -o-animation: float-labels-bottom 300ms none ease-out;
  -ms-animation: float-labels-bottom 300ms none ease-out;
  -khtml-animation: float-labels-bottom 300ms none ease-out;
  animation: float-labels-bottom 300ms none ease-out;
}

.float-label-control.label-bottom input:not(.empty) + label,
.float-label-control.label-bottom textarea:not(.empty) + label {
  top: 3em;
}

@keyframes float-labels {
  0% {
    opacity: 1;
    color: #aaa;
    top: 0.1em;
    font-size: 1.5em;
  }
  20% {
    font-size: 1.5em;
    opacity: 0;
  }
  30% {
    top: 0.1em;
  }
  50% {
    opacity: 0;
    font-size: 0.85em;
  }
  100% {
    top: -1em;
    opacity: 1;
  }
}

@-webkit-keyframes float-labels {
  0% {
    opacity: 1;
    color: #aaa;
    top: 0.1em;
    font-size: 1.5em;
  }
  20% {
    font-size: 1.5em;
    opacity: 0;
  }
  30% {
    top: 0.1em;
  }
  50% {
    opacity: 0;
    font-size: 0.85em;
  }
  100% {
    top: -1em;
    opacity: 1;
  }
}

@keyframes float-labels-bottom {
  0% {
    opacity: 1;
    color: #aaa;
    top: 0.1em;
    font-size: 1.5em;
  }
  20% {
    font-size: 1.5em;
    opacity: 0;
  }
  30% {
    top: 0.1em;
  }
  50% {
    opacity: 0;
    font-size: 0.85em;
  }
  100% {
    top: 3em;
    opacity: 1;
  }
}

@-webkit-keyframes float-labels-bottom {
  0% {
    opacity: 1;
    color: #aaa;
    top: 0.1em;
    font-size: 1.5em;
  }
  20% {
    font-size: 1.5em;
    opacity: 0;
  }
  30% {
    top: 0.1em;
  }
  50% {
    opacity: 0;
    font-size: 0.85em;
  }
  100% {
    top: 3em;
    opacity: 1;
  }
}

table.monitor {
  margin: 0px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

table.monitor td.server {
  width: 20%;
  font-weight: bolder;
}

table.monitor td.cpu,
table.monitor td.memory {
  width: 20%;
}

table.monitor progress {
  width: 100%;
}

div.reload td {
  background-color: rgba(0, 31, 255, 0.3);
}

table.monitor td.session,
table.monitor td.time,
table.monitor td.parallel,
table.monitor td.logo {
  width: 10%;
}

table#clone thead tr th {
  background-color: white;
}

.margin-5 {
  margin: 5px;
}

.margin-10 {
  margin: 10px;
}

.margin-15 {
  margin: 15px;
}

.margin-25 {
  margin: 25px;
}

body.login .panel {
  margin-top: 25px;;
}

div.login_table {
  max-width: 250px;
}

.select2-container .select2-selection--single {
  font: 400 13.33333px Arial;
}

div.login_table img {
  max-width: 250px;
  max-height: 250px;
}

.panel-body {
  overflow: auto;
}

div.login_table .panel-body {
  text-align: left;
}

body.login.two_factor img {
  margin: 16px;
}

body.login.two_factor {
  max-width: 690px;
}

.server-monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 8px;
  align-items: stretch;
}

.server-monitor-grid, .server-monitor-grid * {
  box-sizing: border-box;
}

.panel.server-monitor, .panel.server-monitor div.panel-body {
  margin: 0px;
  padding: 0px;
}

.panel.server-monitor {
  --state: #5cb85c;
  position: relative;
  min-width: 0;
  overflow-wrap: break-word;
  background: #fff;
  border: 1px solid #c9d3de;
  border-left: 8px solid var(--state);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.panel.server-monitor.panel-warning {
  --state: #f9c57c;
}

.panel.server-monitor.panel-danger {
  --state: #d9534f;
  border-color: var(--state);
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.18), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.server-monitor-grid.has-errors .panel.server-monitor.panel-success {
  opacity: 0.8;
}

.panel.server-monitor > .panel-heading,
.panel.server-monitor.panel-success > .panel-heading,
.panel.server-monitor.panel-warning > .panel-heading,
.panel.server-monitor.panel-danger > .panel-heading {
  padding: 12px 14px 6px;
  color: #1f2933;
  background: transparent;
  background-image: none;
  border: 0;
}

.panel.server-monitor .panel-heading b {
  font-size: 1.1em;
}

.panel.server-monitor .panel-heading a {
  color: #1a5fb4;
  text-decoration: none;
  word-break: break-all;
}

.panel.server-monitor .panel-heading a:hover {
  text-decoration: underline;
}

.server-monitor-logo {
  float: right;
  max-width: 100px;
  max-height: 32px;
  margin: 0 0 4px 12px;
}

.panel.server-monitor div.panel-body {
  padding: 0px 14px 10px;
  background: transparent;
}

.panel.server-monitor .panel-footer {
  display: none;
}

.panel.server-monitor div.panel-body table.table {
  width: 100%;
  margin: 0px;
  table-layout: fixed;
  background: transparent;
  border: 0;
}

.panel.server-monitor div.panel-body table.table > tbody > tr,
.panel.server-monitor div.panel-body table.table-striped > tbody > tr:nth-of-type(odd),
.panel.server-monitor div.panel-body table.table-striped > tbody > tr:nth-of-type(even),
.panel.server-monitor div.panel-body table.table-hover > tbody > tr:hover,
.panel.server-monitor div.panel-body table.table > tbody > tr.info,
.panel.server-monitor div.panel-body table.table > tbody > tr.info > td {
  background: transparent;
  background-image: none;
}

.panel.server-monitor div.panel-body table.table > tbody > tr > td {
  padding: 4px 0;
  border: 0;
  font-size: 0.9em;
  color: #333;
}

.panel.server-monitor div.panel-body table.table > tbody > tr > td:first-child {
  width: 34%;
  padding-right: 10px;
  overflow-wrap: anywhere;
}

.server-monitor tr.info > td {
  padding: 0 0 6px;
}

.server-monitor-status {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 12px;
  border-radius: 3px;
  overflow-wrap: anywhere;
  font-size: 0.9em;
}

.server-monitor-status i {
  flex: none;
  width: 1em;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.server-monitor-status.status-ok {
  color: #2e6b3a;
  background: #eef7ee;
}

.server-monitor-status.status-warning {
  color: #8a5a00;
  background: #fff4e0;
  font-weight: 600;
}

.server-monitor-status.status-error {
  color: #8f1f1b;
  background: #fdecea;
  font-weight: 600;
}

.server-monitor-status.status-info {
  color: #1f2933;
  background: #eef4fb;
}

.server-monitor-url {
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-monitor-url small {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.server-monitor-url button {
  flex: none;
  padding: 0 5px;
  font-size: 11px;
  line-height: 18px;
  cursor: pointer;
  border: 1px solid #b4bcc5;
  border-radius: 3px;
  background: transparent;
}


.server-monitor .progress {
  display: inline-block;
  width: calc(100% - 52px);
  height: 8px;
  min-width: 0 !important;
  margin: 0 6px 0 0 !important;
  vertical-align: middle;
  background: #e1e8f0;
  border-radius: 4px;
  box-shadow: none;
  overflow: hidden;
}

.server-monitor .progress-bar {
  min-width: 0;
  font-size: 0;
  background: #5cb85c;
  background-image: none;
  box-shadow: none;
}

.server-monitor .progress-bar-warning {
  background: #f0ad4e;
}

.server-monitor .progress-bar-danger {
  background: #d9534f;
}

.server-monitor td .value {
  display: inline-block;
  width: 40px;
  text-align: right;
  font-weight: 700;
}

.server-monitor small {
  font-size: 0.75em !important;
  color: #7b8794;
}

.server-monitor small[style] {
  color: #c9302c !important;
}

.server-monitor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px 10px;
  padding: 8px 6px;
  border-top: 1px solid #e1e8f0;
}

.server-monitor-stats .stat small {
  display: block;
  color: #777;
}

.server-monitor-stats .stat b {
  display: block;
}

.server-monitor-stats .stat small.caption {
  color: #999;
}


.server-monitor-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 0.85em;
}

.server-monitor-filter button.n {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.server-monitor-filter button.n b {
  font-size: 1.15em;
}

.server-monitor-filter button.n.on {
  border-color: #9fb9d6;
  background: #eef4fb;
}

.server-monitor-filter button.n[data-mode=err] b {
  color: #c9302c;
}

.server-monitor-filter button.n[data-mode=warn] b {
  color: #c77c0e;
}

.server-monitor-filter button.n[data-mode=ok] b {
  color: #2e8540;
}

.server-monitor-filter input[type=search] {
  width: 180px;
  height: 26px;
  padding: 2px 8px;
  display: inline-block;
  font-size: 1em;
}

div.popover {
  min-width: 190px;
}

.list-setting .btn-group:first-child > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  width: 78px;
  border-bottom-left-radius: 0;
  border-bottom: 0;
}

.list-setting .btn-group:first-child > .btn:last-child:not(.dropdown-toggle) {
  width: 77px;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.list-setting .btn-group:last-child > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-left-radius: 0;
}

.list-setting .btn-group:last-child > .btn:last-child:not(.dropdown-toggle) {
  border-top-right-radius: 0;
}

.list-setting .btn-group:first-child > .btn:first-child {
  margin-left: 25px;
}

div.list-settings:last-child {

}

div.CodeMirror {
  border: 1px solid rgba(128, 128, 128, 0.24);
}

.select2-container--default .select2-selection--single {
  border-radius: 0px !important;
}

.select2-results__option {
  min-height: 20px;
}

.converted-td {
  margin-right: 10px;
  display: inline-block;
  vertical-align: top;
}

.fieldset-group {
  display: inline-block;
}

/** B2B-BASKET **/

@media screen and (max-width: 767px) {
  .b2b table.fieldset-table {
    display: inline-block;
  }

  .b2b .fieldset-group, .b2b .fieldset-group input:not([type="CHECKBOX"]), .b2b .fieldset-group select, .b2b .fieldset-group textarea, .b2b .converted-td, .b2b .converted-td textarea {
    width: 100%
  }

  .b2b table.TBL a.pickup, .b2b table.TBL .pos, .b2b table.TBL .commission, .b2b table.TBL .pricelevel {
    display: none;
  }
}

.form-control-wrapper span.select2-container {
  width: 100% !important;
}

.html_log > * {
  padding: 4px 10px;
  margin: 0px;
  font-family: Arial, Helvetica, sans-serif;
}

.html_log .warning {
  background-color: #17a2b8 !important;
}

.html_log .error {
  background-color: #dc3545 !important
}

.html_log {
  border: 1px solid #6c757d !important;
  font-family: "Courier New", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 10px;
}

form[name="PICK_COUNTRY"] img, img.country_flag {
  max-width: 30px;
  max-height: 30px;
}

#orderCheckout {
  margin: auto;
}

.server-monitor .late {
  color: #c9302c;
  font-weight: 700;
}

.server-monitor .last-error {
  color: #a94442;
}

.server-monitor .panel-heading button {
  opacity: 0;
  transition: opacity 0.15s;
}

.server-monitor:hover .panel-heading button {
  opacity: 1;
}

.server-monitor td .value {
  font-weight: 600;
}

.server-monitor .label {
  padding: 0.1em 0.45em;
  font-size: 0.65em;
  vertical-align: middle;
}

.panel.server-monitor div.panel-body table.table > tbody > tr > td:first-child {
  width: 38%;
}

.server-monitor-url + br {
  display: none;
}

.panel.server-monitor {
  display: flex;
  flex-direction: column;
}

.panel.server-monitor div.panel-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.server-monitor-versions {
  margin-top: auto;
  padding: 8px 0 0;
  border-top: 1px solid #e1e8f0;
  color: #7b8794;
  font-size: 0.75em;
}

.server-monitor-stats {
  margin-bottom: 10px;
}

.panel.server-monitor div.panel-body table.server-monitor-metrics {
  flex: 1 1 auto;
}

.panel.server-monitor div.panel-body table.server-monitor-metrics > tbody > tr > td {
  vertical-align: middle;
}

.server-monitor-stats {
  margin-top: 6px;
}
