/*
 * Override CSS (Cascading Style Sheets)
 * https://developer.mozilla.org/en-US/docs/Web/CSS
 */

/*
 * Override CSS (Cascading Style Sheets)
 * https://developer.mozilla.org/en-US/docs/Web/CSS
 */

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap');

#watermark::before {
  content: 'Created by KonfigDesign. ';
}

.modal-dialog {
  min-width: 600px;
  width: fit-content;
}

/* Each parameter becomes its OWN table */
.flange-modal .parameter {
  display: table;
  width: 100%;
}

/* Left column: image */
.flange-modal .parameter-thumbnail {
  display: table-cell;
  width: 30%;
  vertical-align: top;
  padding-right: 16px;
}

.flange-modal .parameter-thumbnail-default {
  display: none;
}

/* Right column: content stack */
.flange-modal .parameter-row {
  /* display: table-cell; */
  vertical-align: top;
}

/* Ensure title, dropdown, checkbox stack normally */
.flange-modal .parameter-row > * {
  /* display: block; */
  margin: 0;
}

/* Hide default thumbnail */
.flange-modal .parameter-thumbnail-checkbox {
  display: none;
  height: 0px;
}

/* Fine control: checkbox spacing only */
.flange-modal .parameter-checkbox {
  height: 0px;
}

#main-container {
  background-color: #e5e5e5;
  font-family: Noto Sans, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* move the step and toolbar to the right side */
/*
#main-container, .sky-toolbar-container {
  flex-direction: row-reverse;
}
*/

#main-container .sky-step-bar {
  background-color: #e5e5e5;
  width: 80px;
}

#main-container div.sky-step-bar ul li a {
  color: #fff;
  border-width: 0 1px 0 0;
  border-color: #ccc;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-container div.sky-step-bar ul li.active a {
  color: #005cd9;
  background-color: #fff;
}

#main-container div.sky-step-bar ul li a {
  color: #000;
}

#main-container div.sky-step-bar ul li a:hover {
  background-color: #fff;
}

#main-container div.sky-toolbar {
  background-color: #fff;
}

#main-containder .sky-toolbar-container .glyphicon {
  color: #000;
}

#main-container .sky-toolbar-container ul.nav-tabs li {
  background-color: #e5e5e5;
}

#main-container .sky-toolbar-container ul.nav-tabs li.active {
  background-color: #e5e5e5;
}

/***** Buttons ********/
#main-container .btn-primary {
  background-color: #005cd9;
  color: #fff;
  border: none;
}

#main-container .btn-primary:hover {
  background-color: #005cd9;
}

#main-container .flyout-button {
  background-color: #fff;
}

#main-container .flyout-horizontal-menu-thumbnail-container {
  background-color: #fff;
  color: #000;
}

#main-container .selection-button {
  background-color: #fff;
}

#main-container .flyout-horizontal-menu-icon {
  color: #3c3c3b;
}

#main-container #finish-button {
  background-color: #1daa1d;
  border-color: #19941a;
}

span.parameter-input-title {
  font-size: 5px;
  color: #005cd9;
}

/* Mobile */
@media only screen and (max-width: 600px) {

  #main-container {
    flex-direction: column;
  }

  #container-canvas {
    flex-grow: 1;
    height: 33%;
  }

  .sky-toolbar-container {
    flex-direction: column;
    flex-grow: 1;
    height: 67%;
    order: 1;
    width: 100%;
    overflow-x: auto;
  }

  .sky-toolbar {
    width: 100%;
    overflow-y: auto;
  }

  /* 🔧 UNDO DESKTOP CONSTRAINTS */
  .modal-dialog {
    min-width: 0;
    width: 100%;
  }

  #main-container .sky-step-bar {
    width: 100%;
  }

  #main-container div.sky-step-bar ul li a {
    width: auto;
    display: block;
  }

  .sky-step-bar > ul {
    display: flex;
    flex-wrap: nowrap;
    width: 100% !important;
    overflow: unset;
  }

  .sky-step-bar > ul > li {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    z-index: unset;
  }

  .sky-step-bar > ul > li > a {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
  }

  .sky-quick-bar {
    width: unset;
  }

  #visible-metrics {
    display: "fadfdsaf";
  }
}
