


/*GLOBAL============================================================================*/

.disabled {cursor: default; opacity: 0.3; pointer-events: none;}
.hidden {display: none !important;}
.noselect {user-select: none !important;}



/*APP============================================================================*/

.app {
  background-color: rgb(242, 242, 242);
  color: white;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.app h1, .app h2, .app h3, .app h4, .app h5, .app h6 {color: white;}
.app label {color: white; font-size: 13px;}
.app button, .app input, .app select, .app datalist, .app textarea {color: white; font-size: 13px;}

.app button {
  border-radius: 6px;
  color: white;
  font-size: 13px;
  line-height: 20px;
  margin: 4px;
  padding: 6px 12px;
  height: 32px;
  user-select: none;
  overflow: hidden;
}

.app button.selected {background-color: rgb(32, 164, 242);}
.app button.selected:hover {background-color: rgb(12, 139, 212);}

.app h1 a, .app h2 a, .app h3 a, .app h4 a, .app h5 a, .app h6 a {
  color: white;
}

/* page title */
.app h1 {
  padding: 0;
  margin: 0;
  color: white;
  font-size: 42px;
}

/* panel heading */
.app h2 {
  padding: 0;
  margin: 0 0 20px;
  color: white;
  font-size: 22px;
}

/* panel sub section heading -  outlined */
.app h3 {
  background-color: transparent;
  color: white;
  font-size: 18px;
  height: auto;
  line-height: 1.2em;
  margin: 20px 0 0;
  padding: 0;
}

/* card heading */
.app h4 {
  color: black;
  font-size: 20px;
}


/*MENUBAR============================================================================*/

.menubar {
  background-color: rgb(28, 28, 28);
  border-bottom: 1px solid black;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 42px;
  width: 100%;
  z-index: 300;
}

.menubar_mask {
  background-color: rgba(0, 0, 0, 0);
  position: fixed;
  top: 42px;
  left: 0;
  height: calc(100% - 42px);
  width: 100%;
  user-select: none;
}

.menubar_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  overflow: hidden;
  height: 100%;
}

.menubar_container.ten {width: 10%;}
.menubar_container.twenty {width: 20%;}
.menubar_container.thirty {width: 30%;}
.menubar_container.fourty {width: 40%;}
.menubar_container.fifty {width: 50%;}
.menubar_container.sixty {width: 60%;}
.menubar_container.seventy {width: 70%;}
.menubar_container.eighty {width: 80%;}
.menubar_container.ninety {width: 90%;}

.menubar_container.left {justify-content: flex-start;}
.menubar_container.center {justify-content: center;}
.menubar_container.right {justify-content: flex-end;}

.menubar_entry {
  position: relative;
  display: inline-block;
}

.menubar_button {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
  margin: 4px;
  padding: 6px 12px;
  height: 32px;
  user-select: none;
}

.menubar_dropdowns {
  position: fixed;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
}

.menubar_dropdown {
  position: fixed;
  top: 42px;
  left: 0px;
  width: 250px;
  background-color: rgb(28, 28, 28);
  border: 1px solid black;
  border-radius: 10px;
  min-width: 200px;
  max-height: calc(100vh - 42px);
  overflow-y: scroll;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
  z-index: 1;
  scrollbar-width: none;
}

.menubar_command {
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  font-size: 13px;
  margin: 4px;
  height: 32px;
  line-height: 32px;
  text-align: left;
  width: calc(100% - 8px);
  user-select: none;
  position: relative;
  padding: 0;
}

.menubar_command.icon {
  background-repeat: no-repeat;
  background-position: 10px 50%;
  background-size: 0;
  border: 1px solid transparent;
  padding-left: 40px
}

.menubar_command.icon:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: 10px 50%;
  background-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}

.menubar_hr {
  background-color: black;
  border: none;
  margin: 2px 10px;
  height: 1px;
  width: calc(100% - 20px);
}



/*TOOLBARS============================================================================*/

.toolbar {
  background-color: rgb(28, 28, 28);
  border: 1px solid transparent;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  overflow: hidden;
  position: fixed;
}

.toolbar.top {
  border-bottom: 1px solid black;
  top: 42px;
  left: 0;
  height: 42px;
  width: 100%;
}

.toolbar.bottom {
  border-top: 1px solid black;
  bottom: 0;
  left: 0;
  height: 42px;
  width: 100%;
}

.toolbar.left{
  border-right: 1px solid black;
  top: 84px;
  left: 0;
  height: calc(100% - 126px);
  width: 42px;
}

.toolbar.right {
  border-left: 1px solid black;
  top: 84px;
  right: 0;
  height: calc(100% - 126px);
  width: 42px;
}

.toolbar_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  overflow: hidden;
  height: 100%;
}

.toolbar_container.ten {width: 10%;}
.toolbar_container.twenty {width: 20%;}
.toolbar_container.thirty {width: 30%;}
.toolbar_container.fourty {width: 40%;}
.toolbar_container.fifty {width: 50%;}
.toolbar_container.sixty {width: 60%;}
.toolbar_container.seventy {width: 70%;}
.toolbar_container.eighty {width: 80%;}
.toolbar_container.ninety {width: 90%;}

.toolbar_container.left {justify-content: flex-start;}
.toolbar_container.center {justify-content: center;}
.toolbar_container.right {justify-content: flex-end;}

.toolbar_hr {
  background-color: black;
  border: none;
  margin: 2px 10px;
  height: 1px;
  width: 20px;
}

.toolbar_vr {
  background-color: black;
  border: none;
  margin: 10px 2px;
  height: 20px;
  width: 1px;
}

.toolbar_button {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  margin: 4px;
  padding: 0;
  height: 32px;
  line-height: 32px;
  width: 32px;
  user-select: none;
  position: relative;
}

.toolbar_button.icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0px;
}

.toolbar_button.icon:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}

.toolbar_info {
  background-color: transparent;
  border: none;
  border-radius: 6px;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  line-height: 20px;
  margin: 4px;
  padding: 6px;
  height: 32px;
  user-select: none;
  position: relative;
  width: auto;
}

.toolbar_info.icon {
  background-repeat: no-repeat;
  background-position: 6px 50%;
  background-size: 0;
  padding-left: 32px;
}

.toolbar_info.icon:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: 6px 50%;
  background-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}

.toolbar_logo {
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0px;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  margin: 4px 14px 4px 10px;
  padding: 0;
  height: 32px;
  width: 32px;
  user-select: none;
  position: relative;
}

.toolbar_logo:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}

.toolbar_logo:hover {
  background-color: transparent;
}

.toolbar_logo:active {
  background-color: transparent;
}



/*PANEL============================================================================*/

.panel {
  background-color: rgb(28, 28, 28);
  border: 1px solid transparent;
  border-right: 1px solid black;
  color: white;
  overflow-y: auto;
  
  position: fixed;
  top: 84px;
  left: 42px;
  height: calc(100% - 126px);
  width: 300px;
  max-width: calc(100% - 42px);
  padding: 10px;
  
  user-select: none;
  scrollbar-width: none;
}

.panel_input {
  background-color: transparent;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  margin: 0 0 10px;
  width: 100%;
}

.panel_input label {
  color: rgb(228, 228, 228);
  height: 22px;
  height: 32px;
  width: 150px;
  margin: 0;
  display: flex;
  align-items: center;
}

.panel_input input, .panel_input select {
  background: none;
  border: 1px solid rgb(84, 84, 84);
  color: rgb(228, 228, 228);
  outline: none;
  height: 22px;
  height: 32px;
  line-height: 22px;
  line-height: 32px;
  padding: 0 0 0 6px;
  width: calc(100% - 150px);
}

.panel_input input:read-only {
  background-color: rgb(41, 41, 41);
}

.panel_input select {
  padding: 0 0 0 3px;
}

.panel_input select option {
  background-color:rgb(28, 28, 28);
  color: white;
}

.panel_input input[type="color"] {
  border: 1px solid black;
  padding: 0;
}

.panel_input input[type="color"]::-webkit-color-swatch {
  border: none;
}

.panel_input input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border: none;
  border-radius: 0;
}

.panel_input textarea {
  background: none;
  border: 1px solid black;
  color: white;
  outline: none;
  padding: 5px;
  width: 100%;
  resize: none;
  font-family: Arial, sans-serif;
}

.panel_expand {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  width: 100%;
  text-align: left;
  padding: 0 10px;
  margin: 0;
  user-select: none;
}

.panel_entry {
  background-color: transparent;
  border: 1px solid black;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 10px;
  width: 100%;
  user-select: none;
}

.panel_tool {
  background-color: rgb(210, 210, 200);
  border: none;
  color: white;
  outline: none;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
  width: 100%;
  text-align: left;
  padding: 0 10px;
  margin: 0;
  user-select: none;
}

.panel_tool:hover {
  background-color: rgb(204, 228, 252) ;
}

.panel_button {
  cursor: pointer;
  padding: 0 10px;
  margin: 4px 8px 4px 0;
  height: 32px;
  line-height: 32px;
  text-align: left;
  user-select: none;
  position: relative;
}

.panel_button.full {
  width: 100%;
  margin: 4px 0 4px 0;
}

.panel_button.icon {
  background-repeat: no-repeat;
  background-position: 10px 50%;
  background-size: 0;
  padding-left: 40px
}

.panel_button.icon:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: 10px 50%;
  background-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}

.panel hr {
  background-color: rgb(84, 84, 84);
  border: none;
  margin: 20px 0;
  height: 1px;
  width: 100%;
}

.panel_control {
  cursor: pointer;
  padding: 0;
  margin: 0 4px 4px 0 !important;
  height: 32px;
  width: 32px;
  user-select: none;
  position: relative;
}

.panel_control.icon {
  background-repeat: no-repeat;
  background-position: 10px 50%;
  background-size: 0;
}

.panel_control.icon:before {
  content: "";
  background-color: transparent;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: invert(1);
}




/*PANEL - LIGHT============================================================================*/

.panels.light {
  
  .panel {
    color: rgb(28, 28, 28);
    background: white;
    border-right: 1px solid rgb(200, 200, 200);
  }
  
  .panel_input input, .panel_input select {
    border: 1px solid rgb(28, 28, 28);
    color: rgb(28, 28, 28);
  }
  
  .panel_input select option {
    background-color: white;
    color: rgb(28, 28, 28);
  }
  
  .panel_input input:read-only {
    background-color: rgb(242, 242, 242);
  }
  
  .panel_input label {
    color: rgb(28, 28, 28);
  }
  
  h1, h2, h3, h4, h5, h6 {color: black;}
  
  .panel p {
    color: rgb(28, 28, 28);
  }
  
  .panel hr {
    background-color: rgb(200, 200, 200);
  }
}



/*TOOLTIP============================================================================*/

.tooltip {
  background-color:rgb(28, 28, 28);
  border: 1px solid black;
  border-radius: 5px;
  color: white;
  padding: 5px;
  position: absolute;
  user-select: none;
  z-index: 10;
}


