div.site-nav-tab {
    background-color: #919191;
    color: #C2C2C2;
}
div.site-nav-tab > i {
    color: #A8A8A8;
}
div.site-nav-tab[data-active="true"] {
    background-color: #666666;
    color: #ffffff;
    border-bottom: none;
}
div.site-nav-tab:hover {
    background-color: #919191;
    box-shadow: rgb(0 0 0 / 4%) 999px 999px 0px inset;
}
div.site-nav-tab[data-active="true"]:hover {
    background-color: #666666;
}

.structure-editor .editor-toolbar {
    display: flex;
    justify-content: space-between;
    height: 45px;
    min-height: 45px;
    padding: 0 16px;
    background-color: #666;
    border-right: 2px solid #888;
}
.structure-editor .editor-toolbar button {
    align-self: auto;
}

.structure-editor .editor-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 40px;
    background-color: #919191;
    color: #C2C2C2;
    cursor: pointer;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.structure-editor .editor-tab.active {
    background-color: #777777;
    color: #ffffff;
}
.structure-editor .editor-tab:hover {
    box-shadow: rgb(0 0 0 / 4%) 999px 999px 0px inset;
}

.structure-editor .list-item-card {
    background-color: #5C5C5C;
    color: #ffffff;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}
.structure-editor .list-item-card h1 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 4px;
}

.structure-editor .editor-dropdown svg[data-baseweb="icon"] {
    color: #ffffff;
}
.structure-editor .list-item-card .list-item-dropwdown div[data-baseweb="select"] > div {
    background-color: transparent;
}
.structure-editor .list-item-card:hover {
    background-color: #ffffff;
    color: #444444;
    box-shadow: 0px 4px 8px rgba(42, 53, 60, 0.1);
}
.structure-editor .list-item-card:hover button {
    background-color: #EEEEEE;
    color: #154D6C;
    border: none;
}
.structure-editor .list-item-card:hover .list-item-dropwdown div[data-baseweb="select"] > div {
    color: #444444;
}
.structure-editor .list-item-card:hover .list-item-dropwdown svg[data-baseweb="icon"] {
    color: #444444;
}

.structure-editor .script-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    color: #A8A8A8;
    font-size: 14px;
    margin-bottom: 8px;
    cursor: pointer;
}
.structure-editor .script-list-item.active, .structure-editor .script-list-item:hover {
    background-color: #858585;
    border-radius: 4px;
    color: #FFFFFF;
    font-weight: 600;
} 

.VisualEditor {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 960px;
    height: 100%;
    overflow-x: auto;
}

.Toolbar {
    display: flex;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #666;
    color: #fff;
    height: 40px;
    justify-content: space-between;
}

.Toolbar-icon_group {
    display: block;
}

.Toolbar-icon {
    font-size: 1.2rem;
    line-height: 40px;
    padding: 0 0.25rem;
    cursor: pointer;
}
.Toolbar-icon.selected,
.size-xs .Toolbar-icon.-xs,
.size-md .Toolbar-icon.-md,
.size-lg .Toolbar-icon.-lg,
.size-xl .Toolbar-icon.-xl {
  color: #edb5bf;
}

.hBox {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    height: 100%;
}

.vBox {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.EditBox {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    flex-basis: 33%;
    min-width: 320px;
    overflow: auto;
}
.elements-tree {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: auto;
}
.EditBox,
.editing-block hr + div {
  background-color: #777;
}
.elements-tree .element-actions {
    display: flex;
}
.elements-tree .element-actions i {
    margin-left: 8px;
    min-width: 18px;
    text-align: center;
    font-size: 20px;
}
.elements-tree .element-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #eee;
  padding: 0 8px;
  height: 36px;
  cursor: pointer;
  border: solid 2px transparent;
}
.elements-tree ul[role="group"] {
    border-left: 1px solid #ffffff;
}
.elements-tree .element-body:hover:not(.tree-item-root):not(.tree-item-breadcrumb) {
  border: solid 2px white;
}
.elements-tree .tree-item-root {
    background-color: #154D6C;
}
.elements-tree .tree-item-container {
    background-color: #25C075;
}
.elements-tree .tree-item-logic {
    background-color: #A02040;
}
.elements-tree .tree-item-shared-section {
    background-color: #15696B;
}
.elements-tree .tree-item-composition {
    background-color: #2589C0;
}
.elements-tree .tree-item-widget {
    background-color: #D68229;
}
.elements-tree .tree-item-element {
    background-color: #E0B761;
}
.elements-tree .tree-item-disabled {
    background-color: #919191;
    cursor: default;
}
.elements-tree .tree-item-breadcrumb {
    background-color: rgb(102,102,102);
}

.element-block-options {
    list-style: none;
    padding: 0 20px;
}
.element-block-options li {
    padding: 5px 0;
    cursor: pointer;
}
.EditBox .tree-header-buttons {
  height: 0;
}
.EditBox .block-page-settings {
  padding-right: 5px;
}
.editing-block {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  border-left: 2px solid #888;
}
.EditBoxHeader {
    background-color: #666;
    font-weight: bold;
    height: 45px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #888;
}
.editing-block .EditBoxHeader {
  justify-content: space-between;
  padding: 0 10px;
  gap: 12px;
}
.editing-block .EditBoxTitle {
    font-weight: bold;
    font-size: 16px;
    color: #eee;
    font-family: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
}
.editing-block .EditBoxContent {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: auto;
    padding: 0 10px;
}
.editing-block .EditBoxTabs {
    margin: 10px 0;
}
.EditBox tbody {
  background-color: #fff;
}


.fields-listing {
    list-style-type: none;
    padding: 0;
}
.fields-listing .fields-listing {
    padding-left: 5px;
}
/* .fields-listing fieldset {
    padding: 0 20px 10px;
} */
.fields-listing legend {
    margin: 0;
}
.fields-listing .field-dynamic-params {
    display: flex;
    align-items: center;
}
.fields-listing pre {
    padding: 10px;
    margin-top: 10px;
    background-color: lightgrey;
    white-space: pre-wrap;
}
.fields-listing fieldset img {
    display: block;
    margin-top: 10px;
}
.fields-listing .display-field-preview {
    margin-top: 10px;
}

.PreviewBox {
    display: flex;
    flex-direction: column;
    flex-basis: 66%;
    flex-grow: 1;
}

.PreviewArea {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-color: #444;
    flex-grow: 1;
}

.PreviewFrame {
    display: block;
    box-sizing: border-box;
    justify-content: center;
    overflow: auto;
    margin: 0 auto;
    padding: 0;
    border: 2px solid #aaa;
    background-color: #fff;
    height: 100%;
}

.PreviewWrapper {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.PreviewWrapper iframe {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    transform-origin: 0 0;
}

.preview-img {
    max-height: 200px;
    max-width: 200px;
}
.img-background-gradient {
    background-color: #ddd;
    background-image: linear-gradient(45deg, #bbb 25%, transparent 25%, transparent 75%, #bbb 75%), linear-gradient(45deg, #bbb 25%, transparent 25%, transparent 75%, #bbb 75%);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}