@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {

  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;

}

/*#region Tabs & Buttons*/
.sky-step-bar {
  background-color: #000000;
  grid-area: b;
}

.sky-step-bar>ul {
  width: 90px;
}

.sky-step-bar>ul>li>a {
  padding: 15px 0px;
  color: white;
  background-color: #4b4b4b;
  width: 90px;
}

sky-flyout>div {
  margin-bottom: -25px;
}

sky-flyout .parameter-input-title {
  font-size: 16px;
  margin-bottom: 0px;
  margin-left: 4px;
}

.sky-quick-bar {
  width: fit-content;
}

.sky-quick-bar-item-container {
  left: 50%;
  transform: translateX(+50%);
}

.sky-quick-bar-item-container img {
  max-height: 45px;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.sky-quick-bar-item-container img:hover {
  transition: transform 0.1s ease, opacity 0.1s ease, filter 0.1s ease;
  transform: scale(1.05);
  opacity: 0.85;
}

.sky-quick-bar-item-container img:not(.disabled):not([disabled]):active {
  transform: scale(0.95);
  opacity: 0.7;
}

.sky-quick-bar-item-container .sky-quick-bar-item:nth-child(4) {
  margin-left: 20px;
}

.sky-quick-bar-item-container .sky-quick-bar-item:nth-child(5) {
  margin-left: 20px;
}

/* #endregion */

/*#region Toolbar Logo */

.sky-toolbar-container {
  display: grid;
  grid-template:
    "a a"
    "b c";
  grid-template-columns: 90px auto;
  grid-template-rows: 100px auto;
}

.sky-toolbar {
  grid-area: c;
  width: 225px;
  box-shadow: 0px 0px 6px #aaaaaa;
}

#logo-container {
  position: relative;
  background-color: #ffffff;
  grid-area: a;
  width: 100%;
  height: 100%;
  text-align: center;
  display: grid;
  grid-template:
    "appLogo dalformLogo"
    "appName configurationId";
  grid-template-columns: 90px auto;
  grid-template-rows: auto 24px;
}

#logo-container img {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  max-height: 100%;
}

#logo-container #dalform-logo {
  padding: 5px;
  margin-left: -40px;
  grid-area: dalformLogo;
  position: absolute;
  align-self: center;
}

#logo-container #app-logo {
  padding: 10px;
  grid-area: appLogo;
  margin-left: auto;
  margin-right: auto;
}

#logo-container #app-name {
  grid-area: appName;
  background-color: #000000;
  color: white;
  font-weight: bold;
  font-size: 11px;
  line-height: 24px;
}

#logo-container #configuration-id {
  background-color: #7c7c7c;
  color: white;
  font-size: 11px;
  line-height: 24px;
  grid-area: configurationId;
  width: 100%;
  height: 100%;
  text-align: left;
  padding-left: 20px;
}


/* #endregion */

/*#region Bottom Note */
#bottom-note-container {
  bottom: 15px;
  right: 10px;
  pointer-events: none;
  position: absolute;
  font-size: 12px;
}

#bottom-note-container.innerHTML {
  font-weight: bold;
}

/*#endregion*/

/*#region Reset modal */
.modal-dialog.modal-reset-size {
  width: 450px;
  margin: 30px auto;
  height: 300px;
}

.modal-dialog.modal-reset-size .reset-modal-header {
  background-color: #4b4b4b;
  color: #ffffff;
  padding: 20px 25px 15px 25px;
  border-radius: 6px 6px 0 0;
}

.modal-dialog.modal-reset-size .reset-modal-header .modal-title {
  color: #ffffff;
}

.modal-dialog.modal-reset-size .reset-modal-header p {
  color: #ffffff;
  margin: 0;
}

.modal-dialog.modal-reset-size .reset-modal-body {
  height: 100%;
  padding: 25px;
}

/*#endregion*/

/*#region Interaction Controls Hint (mouse & touch) */
#mouse-controls-container,
#touch-controls-container {
  bottom: 10px;
  left: 10px;
  pointer-events: none;
  position: absolute;
  font-size: 12px;
}

#mouse-controls-container div,
#touch-controls-container div {
  line-height: 16px;
  margin-bottom: 6px;
}

#mouse-controls-container div:last-child,
#touch-controls-container div:last-child {
  margin-bottom: 0;
}

.mouse-control-icon {
  height: 50px;
  vertical-align: middle;
  margin-right: 4px;
}

#touch-controls-container {
  display: none;
}
/*#endregion*/

/*#region Interaction Controls Hint — input type toggle */
@media (hover: none) and (pointer: coarse) {
  #mouse-controls-container {
    display: none;
  }

  #touch-controls-container {
    display: block;
  }
}
/*#endregion*/

/*#region Touch-devices */

@media (max-width: 768px) {

  /*#region --- App */

  html,
  body,
  #StudioApp,
  #resizeApp,
  #container-studio {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  #main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #container-canvas {
    order: 0;
    flex: 0 0 55%;
    width: 100%;
    height: 55%;
    min-width: 0;
    min-height: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .sky-toolbar-container {
    order: 1;
    display: grid;
    grid-template:
      "a"
      "b"
      "c";
    grid-template-columns: 100%;
    grid-template-rows: 24px 62px minmax(0, 1fr);
    flex: 0 0 45%;
    width: 100%;
    height: 45%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  /*#endregion */

  /*#region --- Visualization */

  #container-canvas {
    display: block;
  }

  #container-canvas #studioCanvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    outline: none;
  }

  #container-top-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
  }

  #watermark {
    z-index: 20;
  }

  /*#endregion */

  /*#region --- Logo & Soft Fold */

  #logo-container {
    grid-area: a;
    position: relative;
    width: 100%;
    height: 24px;
    min-height: 24px;
    display: grid;
    grid-template:
      "appName configurationId";
    grid-template-columns: 90px 1fr;
    grid-template-rows: 24px;
    text-align: left;
    background-color: #ffffff;
    box-sizing: border-box;
  }

  #logo-container #app-logo {
    display: none;
  }

  #logo-container #app-name {
    grid-area: appName;
    width: 90px;
    height: 24px;
    padding: 0 8px;
    font-size: 8px;
    line-height: 24px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
  }

  #logo-container #configuration-id {
    grid-area: configurationId;
    width: 100%;
    height: 24px;
    padding-left: 10px;
    font-size: 8px;
    line-height: 24px;
    background-color: #7c7c7c;
    color: #ffffff;
    box-sizing: border-box;
  }

  #logo-container #dalform-logo {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1000;
    max-width: 122px;
    max-height: 33px;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
  }

  /*#endregion */

  /*#region --- Tabs */

  .sky-step-bar {
    grid-area: b;
    width: 100%;
    height: 62px;
    min-height: 62px;
    overflow: visible;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
  }

  .sky-step-bar>ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 62px;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .sky-step-bar>ul>li {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    height: 62px;
    position: relative;
    z-index: 100;
  }

  .sky-step-bar>ul>li>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    padding: 14px 2px 2px;
    font-size: 12px;
    white-space: nowrap;
    gap: 4px;
    box-sizing: border-box;
  }

  .sky-step-bar>ul>li>a>.glyphicon {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    line-height: 18px;
    flex-shrink: 0;
  }

  .sky-step-bar>ul>li>a>p {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
  }

  .sky-toolbar {
    grid-area: c;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    position: relative;
    z-index: 1;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 0 -2px 6px #aaaaaa;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }

  .sky-toolbar>* {
    max-height: none;
    flex-shrink: 0;
  }

  .sky-toolbar>div.margin-narrow.padding-narrow {
    width: 70% !important;
    max-width: 70% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .sky-toolbar>div.margin-narrow.padding-narrow>sky-button,
  .sky-toolbar>div.margin-narrow.padding-narrow>sky-flyout,
  .sky-toolbar>div.margin-narrow.padding-narrow>parameter-list {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sky-toolbar>div.margin-narrow.padding-narrow button {
    box-sizing: border-box;
    font-size: 13px;
  }

  .sky-toolbar>div.margin-narrow.padding-narrow input,
  .sky-toolbar>div.margin-narrow.padding-narrow select {
    box-sizing: border-box;
    font-size: 13px;
  }

  .sky-toolbar .parameter-input-title {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 3px;
  }

  .sky-toolbar label {
    font-size: 12px;
    line-height: 16px;
  }

  /*#endregion */

/*#region --- Flyout */

sky-flyout {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  z-index: 1000 !important;
}

sky-flyout>div {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

sky-flyout .parameter-input-title {
  display: block !important;
  width: 100% !important;
  height: 18px !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 18px !important;
  text-align: left !important;
}

sky-flyout .btn-group.flyout-horizontal-menu {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

sky-flyout .flyout-button-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  height: 74px !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 0 !important;
}

sky-flyout .flyout-button-wrapper .selection-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 160px !important;
  max-width: 192px !important;
  height: 74px !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  border-radius: 5px 0 0 5px !important;
}

sky-flyout .flyout-button-wrapper .flyout-button {
  display: inline-flex !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 74px !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 5px 5px 0 !important;
}

sky-flyout .flyout-horizontal-menu-thumbnail-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  height: 68px !important;
  max-height: 68px !important;
  margin: 0 !important;
  padding: 0 !important;
}

sky-flyout .flyout-horizontal-menu-thumbnail-container img {
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  margin: 0 10px 0 0 !important;
}

sky-flyout .flyout-horizontal-menu-thumbnail-container p {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  white-space: nowrap !important;
}

sky-flyout .flyout-horizontal-menu-icon {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
}

sky-flyout .flyout-horizontal-menu-icon .glyphicon {
  position: static !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

sky-flyout .dropdown-menu {
  position: absolute !important;
  top: 80px !important;
  left: 0 !important;
  right: auto !important;
  width: 220px !important;
  max-width: calc(100vw - 20px) !important;
  height: 300px !important;
  max-height: 300px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 5px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  z-index: 2000 !important;
  gap: 5px !important;
  align-content: start !important;
}

sky-flyout .open .dropdown-menu {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(4, 1fr) !important;
}

sky-flyout .dropdown-menu>li {
  float: none !important;
  width: auto !important;
  height: 70px !important;
  min-height: 70px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

sky-flyout .dropdown-menu>li:empty {
  display: none !important;
}

sky-flyout .dropdown-menu>li>a,
sky-flyout .dropdown-menu>li>s {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: 70px !important;
  min-height: 70px !important;
  margin: 0 !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  line-height: 16px !important;
  white-space: nowrap !important;
}

sky-flyout .dropdown-menu>li>a img,
sky-flyout .dropdown-menu>li>s img {
  display: block !important;
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  margin: 0 8px 0 0 !important;
}

sky-flyout .dropdown-menu>li>a p,
sky-flyout .dropdown-menu>li>s p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 16px !important;
}

/*#endregion */

  /*#region --- Quickbar */

  .sky-quick-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
  }

  .sky-quick-bar-item-container {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .sky-quick-bar-item {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .sky-quick-bar-item>div {
    text-align: left !important;
  }

  .sky-quick-bar-item-container img {
    max-height: 35px;
    max-width: 35px;
  }

  .sky-quick-bar-item-container .sky-quick-bar-item:nth-child(4),
  .sky-quick-bar-item-container .sky-quick-bar-item:nth-child(5) {
    margin-left: 8px;
  }

  /*#endregion */

/*#region Bottom Note */
#bottom-note-container {
  bottom: 15px;
  right: 10px;
  pointer-events: none;
  position: absolute;
  font-size: 12px;
}

#bottom-note-container div {
  line-height: 16px;
}

#bottom-note-container.innerHTML {
  font-weight: bold;
}

/*#endregion*/

/*#region --- Interaction controls */

#mouse-controls-container,
#touch-controls-container {
  bottom: 5px;
  left: 5px;
  font-size: 9px;
  line-height: 11px;
}

#mouse-controls-container div,
#touch-controls-container div {
  line-height: 11px;
  margin-bottom: 2px;
}

.mouse-control-icon {
  height: 24px;
  width: auto;
  margin-right: 2px;
}

/*#endregion */

  /*#region --- Modals */

  .modal-dialog.modal-reset-size {
    width: calc(100% - 30px);
    max-width: 450px;
    height: auto;
    margin: 15px auto;
  }

  .modal-dialog.modal-reset-size .reset-modal-header {
    padding: 12px 15px 10px;
  }

  .modal-dialog.modal-reset-size .reset-modal-body {
    height: auto;
    margin: 15px auto;
  }

  /*#endregion */

}

/*#endregion*/

/*#region --- Landscape phone: side-by-side instead of stacked --- */
@media (orientation: landscape) and (max-height: 500px) and (hover: none) and (pointer: coarse) {

  :root {
    --landscape-toolbar-width: 35vw;
  }

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

  #container-canvas {
    order: 1;
    flex: 0 0 calc(100% - var(--landscape-toolbar-width));
    width: calc(100% - var(--landscape-toolbar-width));
    height: 100%;
  }

  .sky-toolbar-container {
    order: 0;
    flex: 0 0 var(--landscape-toolbar-width);
    width: var(--landscape-toolbar-width);
    height: 100%;
    border-right: 1px solid #aaaaaa !important;
  }

  .sky-toolbar {
  border-right: none !important;
  }

  #logo-container #dalform-logo {
  position: fixed;
  top: 14px;
  right: 14px;
  left: auto;
  z-index: 1000;
  max-width: 122px;
  max-height: 33px;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}

  .sky-quick-bar {
    left: var(--landscape-toolbar-width) !important;
    right: auto !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .sky-quick-bar-item-container {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  sky-flyout .dropdown-menu {
    width: 160px !important;
    max-width: calc(var(--landscape-toolbar-width) - 20px) !important;
    height: 180px !important;
    max-height: 180px !important;
  }

  sky-flyout .open .dropdown-menu {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(4, 1fr) !important;
  }

  sky-flyout .dropdown-menu>li,
  sky-flyout .dropdown-menu>li>a,
  sky-flyout .dropdown-menu>li>s {
    height: 40px !important;
    min-height: 40px !important;
  }

  sky-flyout .dropdown-menu>li>a,
  sky-flyout .dropdown-menu>li>s {
    font-size: 11px !important;
    line-height: 14px !important;
    padding: 4px !important;
  }

  sky-flyout .dropdown-menu>li>a img,
  sky-flyout .dropdown-menu>li>s img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }

  sky-flyout .dropdown-menu>li>a p,
  sky-flyout .dropdown-menu>li>s p {
    font-size: 11px !important;
    line-height: 14px !important;
  }

}
/*#endregion */

/*#region --- Flyout: unify split button into single click target --- */

sky-flyout .flyout-button-wrapper {
  position: relative !important;
  width: 100% !important;
}

sky-flyout .flyout-button-wrapper .selection-button {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-right: 32px !important;
  border-radius: 5px !important;
  pointer-events: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

sky-flyout .flyout-button-wrapper:hover .selection-button {
  background-color: #667788 !important;
  border-color: #556677 !important;
  color: #ffffff !important;
}

sky-flyout .open .flyout-button-wrapper .selection-button {
  background-color: #204d74 !important;
  border-color: #122b40 !important;
  color: #ffffff !important;
}

sky-flyout .flyout-button-wrapper .flyout-button {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  border-radius: 5px !important;
  background: transparent !important;
  border: none !important;
  color: #1b1b1b !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  z-index: 2 !important;
  transition: color 0.15s ease !important;
}

sky-flyout .flyout-button-wrapper:hover .flyout-button,
sky-flyout .open .flyout-button-wrapper .flyout-button {
  color: #ffffff !important;
}

sky-flyout .flyout-button-wrapper .flyout-button .flyout-horizontal-menu-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
}

/*#endregion */

/*#region --- Flyout: point arrow down in 1x4 (mobile) mode --- */
@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {

  sky-flyout .flyout-button-wrapper .flyout-button .flyout-horizontal-menu-icon .glyphicon {
    transform: rotate(90deg) !important;
  }

}
/*#endregion */