﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --main-bg-color: #293b72;
    --main-orange: #f3b913;
    --main-foreground-light: #ffffffff;
    --main-typography-body1-family: 'Roboto','Helvetica','Arial','sans-serif';
    --primary-hover: rgba(41, 59, 114, 0.058823529411764705);
    --mud-typography-subtitle2-text-transform: none;
}

html, body {
    font-family: var(--main-typography-body1-family);
}

    body app {
        position: relative;
        display: flex;
        align-items: stretch;
    }

.orange-links  a {
    color: #f3b913;
}

.app-main {
    width: 100%;
}

.app-bar {
    height: 3.5rem;
    display: flex;
    align-items: center;
    top: 0;
    position: sticky;
}

.app-content {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.imageContainer {
    position: relative;
    width: 100%;
    padding-top: 8px;
    float: left;
}

.side-space-5 {
    padding: 0 5px 0 0;
}

.padded-10 {
    padding: 10px;
}

.padded-30 {
    padding: 30px;
}

.alternate-color {
    background-color: #4C8BF5;
    color: #fff;
}

.layout-alignment-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.layout-alignment-button {
    display: inline-block;
    padding: 2px;
    align-items: center;
}

.dropzone {
    border: 1px dashed #75868a;
    list-style: none;
    pointer-events: none;
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.part-toolbar-icon {
    height: 25px;
    width: 25px;
}

.part-list-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10px 0 0;

}

.drag-list {

}

.drag-list {
    position: relative;
    padding-inline-start: 0;
    list-style-type: none;
    border: solid 1px;
    padding: 10px;
}

.drag-list li {
    padding: 0.8em 0;
    border-radius: 0.2em;
    margin: 1em auto;
    border: 1px solid #000000;
    text-align: center;
    padding: 10px;
}

.drag-list li:hover {
    cursor: move;
    background-color: #d1c9ff;
    border-color: #8673f2;
    color: #8673f2;
}

.part-item-label {
    display: flex;
    flex-direction: row;
    justify-content: center;
    white-space: nowrap;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px 0 10px;
    user-select: none;
}

.parts-tree-selected-label {
    margin-top: 15px;
}

.part-list-drag-handle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 5px;
    cursor: grab;
    display: flex;
}

.selected-preview {
    padding: 5px;
    margin: 5px;
}

.draggable {
    margin: 5px;
    border: 1px solid #424d5c;
    cursor: grab;
    display: flex;
    padding: 2px;
}

    .draggable:active {
        cursor: grabbing;
    }

.dragging {
    cursor: grabbing;
}



.d-flex {
    display: flex;
    column-gap: 20px;
    justify-content: space-between;
}

.mar10 {
    margin: 10px;
}

.coord-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    mix-blend-mode: difference;
}

.float-palette {
    resize: both;
    overflow: hidden;
    background: #e0e1e0;
    background: #FFFFFF;
}

.resizable-palette {
    width: 500px;
    height: 400px;
    resize: both;
    overflow: hidden;
    background: #e0e1e0;
    background: #FFFFFF;
}

.part-properties-column {
    border: #293b72;
    border-style: solid;
    border-width: 0px 5px 0px 5px;
    padding: 5px;
    height: 100%;
    
}

.part-type-column {
}

.palette-title {
    background: #293b72;
    color: white;
    height: 35px;
}

.palette-icon-strip {
    background: #001646;
    color: white;
    height: 25px;
}

.hidden {
    display: none;
}

.palette-header {
    padding: 5px;
    display: flex;
    align-items: stretch;
    column-gap: 5px;
    color: white;
}

.docked-palette {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 10px;
    column-gap: 20px;
    z-index: 9;
    border: 1px solid #d3d3d3;
    top: 100px;
    background: #293b72;
}

.floating-palette {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 10px;
    column-gap: 20px;
    position: absolute;
    z-index: 9;
    border: 5px solid #293b72;
    top: 100px;
    background: #293b72;
}

.expanded-palette {
    padding: 0px 0px 0px 00px;
}

.contracted-palette {
    padding: 0px 10px 0px 10px;
}

.expanded-toolbar {
    border-radius: 2px;
}

.contracted-toolbar {
    border-radius: 20px;
}


.paint-detail-div {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex-wrap: wrap;
    margin: 10px;
    padding: 10px;
    column-gap: 20px;
    position: absolute;
    z-index: 9;
    border: 1px solid #d3d3d3;
    background: #293b72;
}


.other-tools-div {
    display: flex;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    margin: 10px;
    padding: 10px;
    left: 75px;
    column-gap: 20px;
    position: absolute;
    z-index: 9;
    border: 1px solid #d3d3d3;
    background: #293b72;
    border-radius: 20px;
}

.light-foreground {
    background: #293b72;
    color: var(--main-foreground-light);
}

.dark-foreground {
    color: black;
}

.alternate-foreground {
    color: #f3b913;
}

.breadcrumb {
    color: white;
    fill: white;
}

.nav-crumbs {
    display: inline;
    font-size: 1rem;
    font-weight: bold;
    color: var(--main-foreground-light);
}

/* Style the list */
ul.nav-crumbs {
    padding: 10px 16px;
    list-style: none;
}

    /* Display list items side by side */
    ul.nav-crumbs li {
        display: inline;
        font-size: 1rem;
        font-weight: bold;
    }

        /* Add a slash symbol (/) before/behind each list item */
        ul.nav-crumbs li + li:before {
            padding: 8px;
            padding-top: 14px;
            color: var(--main-foreground-light);
            fill: white;
            content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='12px' viewBox='0 0 17 23'><path fill='white' stroke-width='0' d='M0 0 h8.25 l8.25,11.25 -8.25,11.25 h-8.25 l8.25,-11.25 -8.25,-11.25'></path></svg>");
        }

        /* Add a color to all links inside the list */
        /*ul.nav-crumbs li a {
        color: #0275d8;
        text-decoration: none;
    }*/

        /* Add a color on mouse-over */
        ul.nav-crumbs li a:hover {
            color: var(--main-orange);
            text-decoration: underline;
        }

.nav-separator {
    display: flex;
    align-items: center;
    height: 30px;
    width: 30px;
}

.point-list-div {

}

.numeric-list-div {
}

.parts-list-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: white;
    padding: 10px;
    column-gap: 20px;
}

.max-width-30perc {
    max-width: 30%;
}

.max-width-70perc {
    max-width: 70%;
}

.parts-list {
    max-width: 300px;
    padding: 3px;
    align-items: stretch;
    overflow: auto;
    display: flex;
    flex-direction: column;
    border-width: 1px;
    flex-grow: 1;
    max-height: 70vh;
}

.part-filter * {
    padding: 5px;
}

.filter-select {
    width: 200px;
}
/* this needs to be sorted */
.fill-height {
    height: 70vh;
}

.gap-4 {
    gap: 16px;
}

.full-height {
    height: 100%;
}

.vert-scroll {
    overflow-y: scroll;
}

.hidden-overflow {
    overflow: hidden;
}

.flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

.edit-symbol {
    width: 100%;
    flex-grow: 1;
}

.edit-sign {
    display: flex;
    width: 100%;
}

.edit-symbol-container {
    display: flex;
    border: 1px solid green;
    background: transparent;
    bottom: 0;
    right: 0;
    left: 0;
    flex: 1;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

.flex-layout-container {
    display: flex;
    flex: 1;
    background: transparent;
    width: 100%;
}

.edit-sign-container {
    display: flex;
    flex: 1;
    background: transparent;
    width: 100%;
}

.fullHeightSvg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-page-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    align-content: stretch;
}

.edit-sign-column {
    border-radius: var(--mud-default-borderradius);
    transition: box-shadow 300ms cubic-bezier(.4, 0, .2, 1) 0ms;
}

.edit-sign-right-column {
    width: 400px;
}

.edit-symbol-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.sign-edit {
    width: 400px;
}

.imported-path-items {
}

.no-overflow {
    align-content: stretch;
    max-height: inherit;
}

.part-list-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.spacing-table {
}

.attributes-num-field {
    margin: 0px 5px 0px 5px;
}

.large-image-preview {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 25px;
    padding: 5px;
    flex-grow: 1;
}

.max-width-400p {
    max-width: 400px;
}

.standard-tools-button {
    padding: 6px 16px;
    font-family: Roboto','Helvetica','Arial','sans-serif;
    font-size: .875rem;
    margin: 5px;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(.4,0,.2,1) 0ms,box-shadow 250ms cubic-bezier(.4,0,.2,1) 0ms,border 250ms cubic-bezier(.4,0,.2,1) 0ms;
    border-radius: 4px;
    color: #FFFFFF;
    background-color: #293b72;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12)
}

    .standard-tools-button:hover {
        background-color: rgb(0,22,70);
    }

.part-preview {
    border-radius: 4px;
    border: 1px solid #293b72;
    padding: 2px;
}

.part-preview-large {
    width: 400px;
    max-height: 100%;
}

.style-column {
    margin: 20px;
    text-align: center;
    vertical-align: center;
}

.color-pick-button {
    margin: 0px 5px 5px 20px;
}

.batch-part-list-item {
    width: 500px;
}

.half-width {
    width: 50%;
    max-width: 50%;
}

.palette-height-div {
    height: inherit;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.flex-0 {
    flex: 0;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}


.flex-align-start {
    align-items: start;
}

.flex-align-center {
    align-items: center;
}

.marker-line {
    stroke-width: 1.5px;
    stroke: brown;
    vector-effect: non-scaling-stroke;
    mix-blend-mode: difference;
}

.fill-v-then-scroll {
    max-height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: scroll;
    scroll-behavior: auto;
}

.signPartSelect {
    height: 150px;
    width: 250px;
    position: relative;
}


.main-nav {
    color: var(--main-foreground-light);
}

.main-container {
    min-height: 100vh;
    max-height: 100vh;
    min-width: 100vw;
    max-width: 100vw;
    display: flex;
}

.main-header {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
    height: 64px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--main-bg-color);
}

.main-footer {
    height: 32px;
    min-width: 100vw;
    bottom: 0;
    background-color: var(--main-bg-color);
    display: flex;
    position: fixed;
    box-sizing: border-box;
    position: absolute;
}

.main-body {
    top: 64px;
    bottom: 32px;
    position: fixed;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    justify-self: stretch;
    width: 100%;
}

.width-30 {
    width: 30%;
    max-width: 30%;
}

.width-70 {
    width: 70%;
    max-width: 70%;
}

.width-100 {
    width: 100%;
}

.fill {
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
}

.main-page-container {
    flex-direction: row;
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.checkerBackground {
    background: repeating-conic-gradient(hsla(7, 1%, 50%, 0.3) 0% 25%, transparent 0% 50%) 50%/20px 20px;
    backdrop-filter: contrast(0.5);
}

.partSelected {
    /*opacity: 1;*/
}

.box-selected-container {
    fill: transparent;
    stroke-dasharray: 1;
    stroke: teal;
    stroke-width: 2px;
    animation: dash 1s linear infinite;
    mix-blend-mode: difference;
    pointer-events: none;
    /*    brush: transparent;
    background-image: repeating-linear-gradient(0deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px),
                      repeating-linear-gradient(90deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px),
                      repeating-linear-gradient(180deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px), 
                      repeating-linear-gradient(270deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px);
    background-size: 3px calc(100% + 20px), calc(100% + 20px) 3px, 3px calc(100% + 20px), calc(100% + 20px) 3px;
    animation: boxBorderAnimation 1s infinite linear;*/
}

.box-selected {
    fill: transparent;
    stroke-dasharray: 3;
    stroke: grey;
    stroke-width: 2px;
    animation: dash 1s linear infinite;
    mix-blend-mode: difference;
    pointer-events: none;
    vector-effect: non-scaling-stroke;
    /*    brush: transparent;
    background-image: repeating-linear-gradient(0deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px),
                      repeating-linear-gradient(90deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px),
                      repeating-linear-gradient(180deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px), 
                      repeating-linear-gradient(270deg, var(--clr-border), var(--clr-border) 10px, transparent 10px, transparent 20px);
    background-size: 3px calc(100% + 20px), calc(100% + 20px) 3px, 3px calc(100% + 20px), calc(100% + 20px) 3px;
    animation: boxBorderAnimation 1s infinite linear;*/
}

@keyframes dash {
    from {
        stroke-dashoffset: 10;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.partNotSelected {
  /*  opacity: 0.6;*/
}

.m5 {
    margin: 5px;
}

.p5 {
    padding: 5px;
}

.m10 {
    margin: 10px;
}

.p10 {
    padding: 10px;
}



.attributes-grid {
    align-content: start;
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid black;
    border-collapse: collapse;
}

.attributes-grid-container {
    max-height: 100%;
    align-content: start;
    margin-top: 5px;
    padding-bottom: 25px;
    margin-bottom: 15px;
    overflow: scroll;
}

.attributes-grid-row {
    display: flex;
    flex-direction: row;
}

.attributes-grid-content {
    top: 100px;
    max-height: 100%;
    overflow: auto;
    padding-bottom: 145px;
}

.attributes-header {
    height: 100px;
    position: absolute;
    background-color: #DCE3FF;
}


.attr-grid2 {
}

.attr-grid3 {
}

.attr-grid4 {
}

.attributes-name {
    border-right: black 1px solid;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    overflow: hidden;
    font-weight: bold;
    min-width: 95px;
    width: 150px;
    padding: 5px;
    background-color: #DCE3FF;
}

.attributes-default {
    border-right: black 1px solid;
    border-bottom: 1px solid black;
    min-width: 75px;
    width: 140px;
    overflow: hidden;
    padding: 5px;
}

.attributes-item {
    width: 100%;
    padding: 5px;
    overflow: hidden;
    min-width: 75px;
    border-right: black 1px solid;
}

.clear-override-btn {
    color: var(--main-orange);
}

.attributes-template-add {
    border-bottom: 1px solid black;
    min-width: 75px;
    width: 155px;
    padding: 5px;
}

.float-left-4th {
    float: left;
    width: 25%;
}

.highlight-changed {
    background-color: coral;
}

.svg-string-render {
    max-height: 500px;
}

.inherit-max-height {
    max-height: inherit;
    height: 100%;
}

.wizard-text-entry {
}

.maxWidth100 {
    max-width: 100px;
}

.borderLabel {
    padding: 10px;
    border: 2px solid;
    margin: 5px;
    background: white;
    overflow: auto;
}

    .borderLabel > label {
        padding-left: 5px;
        padding-right: 5px;
        position: relative;
        top: -10px;
        left: 0px;
    }

.style-view-table {
    background: white;
}

.attribute-column-item {
    padding: 2px;
    margin: 2px;
}

.grid-item {

}

.attributes-item {
    align-content: start;
    min-width: 0;
    border-bottom: 1px solid black;
}

.standard-arrowheads-div {
    margin: 10px;
    display: flex;
    padding: 10px;
    background: #ffffff;
}

.standard-colors-div {
    margin: 10px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #ffffff;
    overflow-y: auto;
    max-height: 100%;
}

.mud-dialog {
    /*I feel this is absolutely needed*/
    max-height: calc(100vh - var(--mud-appbar-height));
}

.outline-none {
    /*This fixes Focus Trap and keeps the Header fixed at the top*/
    overflow-y: auto;
}

.mud-dialog-content {
    /*This fixes Focus Trap and keeps the Header fixed at the top Required 
        if you set height of the MudContainer.
        
         Setting max height or height here gets most ideal fixed header and footer
         So do we suggest setting a max-height of the Mudcontainer??  */
    overflow-y: auto;
    max-height: 80vh;
}

.standard-colors-entry {
    width: 50%;
}

.sign-part-wizard-toolbar {
    color: #ffffff;
}

.dialog-content {
    max-height: 700px;
    width: 100%;
    overflow-y: auto;
}

.standard-arrow-entry {
    width: 50%;
}

.markdown-editor-div {
    margin: 10px;
    width: 100%;
}

.standard-arrowheads-list {
    overflow: scroll;
    flex-wrap: wrap;
    flex-direction: row;
    list-style: none;
    display: flex;
}

.standard-colors-list {
    overflow: scroll;
    flex-wrap: wrap;
    flex-direction: row;
    list-style: none;
    display: flex;
}

.standard-arrowhead-list-item {
    margin: 10px;
    width: 200px;
    hover: cadetblue;
}

.standard-color-list-item {
    margin: 10px;
    width: 200px;
    hover: cadetblue;
}

    .standard-color-list-item:hover {
        background: cadetblue;
    }

.standard-color-picker {
    margin: 5px 30px 0px 5px;
}

.loading-div {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.part-tree-wrapper {
    scroll-behavior: auto;
}

.indented {
    margin: 0px 0px 0px 30px;
    position: relative;
}

.tree-container {
    overflow: scroll;
    max-height: 100%;

}

.part-tree-item {
    list-style-type: none;
    margin: 1px;
    border-width: 1px;
    border-color: #eee8aa;
    border: 1px solid #424d5c;
    border-radius: 5px;
}

.part-list-edit-selected {
    color: red;
}

.inline {
    display: inline-block;
}

.part-treeview-item {
    display: flex;
    border: 1px solid #424d5c;
    border-radius: 5px;
    margin: 1px;
}

.empty-layout-spacer {
    height: 106px;
}

.sign-part-tree-parent {
    --spacing: 1.5rem;
    --radius: 10px;
    margin-bottom: 25em;
}

.sign-part-tree-parent li {
        display: block;
        position: relative;
        padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
    }

.sign-part-tree-parent ul {
        margin-left: calc(var(--radius) - var(--spacing));
        padding-left: 0;
    }

.sign-part-tree-parent ul li {
    border-left: 2px solid #ddd;
}

.sign-part-tree-parent ul li:last-child {
        border-color: transparent;
    }

.sign-part-tree-parent ul li::before {
        content: '';
        display: block;
        position: absolute;
        top: calc(var(--spacing) / -2);
        left: -2px;
        width: calc(var(--spacing) + 2px);
        height: calc(var(--spacing) + 1px);
        border: solid #ddd;
        border-width: 0 0 2px 2px;
    }

.sign-part-tree-parent summary {
        display: block;
        cursor: pointer;
    }

    .sign-part-tree-parent summary::marker,
    .sign-part-tree-parent summary::-webkit-details-marker {
        display: none;
    }

.sign-part-tree-parent summary:focus {
        outline: none;
    }

.sign-part-tree-parent summary:focus-visible {
        outline: 1px dotted #000;
    }

    .sign-part-tree-parent li::after,
    .sign-part-tree-parent summary::before {
        content: '';
        display: block;
        position: absolute;
        top: calc(var(--spacing) / 2 - var(--radius));
        left: calc(var(--spacing) - var(--radius) - 1px);
        width: calc(2 * var(--radius));
        height: calc(2 * var(--radius));
        border-radius: 50%;
        background: #ddd;
    }

    .sign-part-tree-parent summary::before {
        z-index: 1;
        background: var(--main-orange) url('/images/expand-collapse.svg') 0 0;
    }

.sign-part-tree-parent details[open] > summary::before {
        background-position: calc(-2 * var(--radius)) 0;
    }

.part-list-container-selected {
    color: red;
}

.part-list-item-selected {
    background-color: var(--main-orange);
}

.odd {
    background-color: rgb(221, 221, 221);
}

.even {
    background-color: rgb(255, 255, 255);
}


ul {
    margin-left: 0px;
    counter-reset: item;
}

.spacing-entry {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.spacing-entry-field {
    margin: 0px 8px 0px 8px;
}

.palette-tab-button {
    padding: 6px;
    margin: 2px 2px 0px 2px;
    text-align: center;
    cursor: pointer;
    transition: background 0.5s ease;
    background: #4c8bf5;
    border-top-right-radius: 5px 5px;
    border-top-left-radius: 5px 5px;
    color: #ffffff;
}

.selected-button {
    background: rgb(209, 229, 249);
    color: #293b72;
}

.part-type-select {
    background: #293b72;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    columns: 100px;
}

.part-type-select-collapsed {
    flex-direction: column;
}

.parts-tree-toolbar {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-bottom: 1px solid #000000;
    margin-bottom: 5px;

}

.object-preview {

}

.layout-btn-group {
    display: flex;
    flex-grow: 1;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
}

.parts-palette {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    background: rgb(209, 229, 249);
    flex-grow: 1;
    overflow-y: scroll;
    height: 100%;
}

.part-palette-background {
    overflow-y: auto;
    max-height: 100%;
    margin: 0px 0px 0px 5px;
}

.attrib-default {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.part-palette-tab-panel {
    min-width: 50px !important;
    border: 1px grey solid;
    border-top-right-radius: 25px 25px;
    border-top-left-radius: 5px 5px;
    margin: 10px;
    flex-grow: 1;
}

.standard-attributes-div {
    display: initial;
}

.standard-tools-div {
    width: 60%;
    display: initial;
}

.overlay-button {
    position: absolute;
    top: -10px;
    left: -10px;
}

.dialog-80-vh {
    max-height: 80vh;
    height: 80vh;
}

.overflow-y-scroll {
    overflow: scroll;
}

.max-window-80 {
    max-height: 80vh;
}

.max-height-100 {
    max-height: 100%;
    min-height: 100%;
}

.max-height-30 {
    max-height: 30%;
}

.fill-height-or-more {
    display: flex;
    flex-direction: column;
}

    .fill-height-or-more > div {
        /* these are the flex items */
        flex: 1;
    }

.part-generator-list {
    max-width: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sign-canvas-toolbutton {
    margin: 5px;
    padding: 5px;
}

    .sign-canvas-toolbutton:hover {
        background-color: RoyalBlue;
    }

.part-palette-button {
    max-height: 70px;
    max-width: 70px;
    min-width: 70px;
    flex-direction: column;
    display: flex;
    margin: 5px;
    padding: 5px;
}

    .part-palette-button:hover {
        background-color: var(--primary-hover );
    }

.part-palette-label {
    font-size: 1vmin;
    max-width: 75px;
    width: 75px;
    white-space: nowrap;
    word-wrap: break-word;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden
}

.palette-button-div {
    overflow-y: scroll;
}

.grow-horizontal {
    flex-grow: 1;
}

.flex-grow {
    flex: 1;
}

.wheelzoom {
    opacity: 0.5;
    height: 100%;
}

.wheelzoom-container {
    height: 100%;
}

.overlay-tools {
    position: absolute;
    bottom: 100px;
}

.image-zoom-image {
    height: 100%;
    width: 100%;
}

.image-overlay-image {
    height: 85vh;
    width: 90vw;
}

.pos-relative {
    position: relative;
}

.edit-sign-preview {
    display: flex;
    flex-basis: 2;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.bfc {
    width: fit-content;
    height: fit-content;
}

.wfc {
    width: fit-content;
}

.hfc {
    height: fit-content;
}

.fill-column {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.sign-part-button {
    margin: 0px !important;
    padding: 0px;
    min-width: 0px;
    border-width: 0px;
}



.part-toolbar {
    display: flex;
    flex-grow:1;
    justify-content: space-between;
}

.button-off {
    color: black;
}

.expander-tools-div {
    display: flex;
    flex-direction: row;
}

.expander-tool-button {
    margin: 10px 10px 10px 10px;
    padding: 10px 5px 10px 5px;
    cursor: pointer; /* Mouse pointer on hover */
    margin: 0;
}

.expanded-tool {
    margin: 10px 10px 10px 10px;
    padding: 10px 5px 10px 5px;
    cursor: pointer; /* Mouse pointer on hover */
    margin: 0;
}
/* The container <div> - needed to position the dropdown content */
.expander-tool-dropdown {
    position: relative;
    display: flex;
    flex-direction: row;
}


/* Dropdown Content (Hidden by Default) */
.expander-tool-dropdown-content {
    display: none;
    margin-left: 20px;
    position: absolute;
    flex-direction: row;
    background-color: var(--main-bg-color);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show the dropdown menu on hover */
.expander-tool-dropdown:hover .expander-tool-dropdown-content {
    display: flex;
    z-index: 1000;
}

/* Darker background on mouse-over */
.expander-tool-button:hover {
    background-color: RoyalBlue;
}

.part-list-button {
    padding: 10px 3px 10px 3px;
    cursor: pointer; /* Mouse pointer on hover */
    margin: 0;
}

/* The container <div> - needed to position the dropdown content */
.part-list-dropdown {
    position: relative;
    padding: 0px 0px 0px 0px;
    display: inline-block;
}


/* Dropdown Content (Hidden by Default) */
.part-list-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Show the dropdown menu on hover */
.part-list-dropdown:hover .part-list-dropdown-content {
    display: block;
    z-index: 1000;
}

/* Darker background on mouse-over */
.part-list-button:hover {
    background-color: RoyalBlue;
}

.sign-part-tree {
    overflow: scroll;
    max-height: 100%;
    height: 100%;
    padding-bottom: 50px;
}

    .sign-part-tree li:last-child:after {
        display: none;
    }

    .sign-part-tree li span {
        display: block;
        border: 1px solid #ddd;
        color: rgba(102, 102, 102, 1);
        text-decoration: none;
    }

.sign-part-tree-even {
    background-color: rgb(224, 224, 224);
}

.sign-part-tree-odd {
    background-color: rgb(255, 255, 255);
}

.part-tree-button {
    cursor: pointer; /* Mouse pointer on hover */
    margin: 5px;
}

.top-bar {
    width: 100%;
    background-color: slategray;
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    color: white;
    padding: 0.35em;
    font-family: sans-serif;
}

.app-client-area {
    display: flex;
    border: 1px solid black;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: flex-start;
}

.app-top-tools {
    background-color: lightgray;
    color: black;
    flex: 0 0 auto;
    line-height: 2em;
}

.side-docking-area {
    flex: 0 0 1px;
    width: 5px;
    cursor: crosshair;
}

.document {
    flex: 0 0 auto;
    background-color: white;
    height: 100%;
    align-self: stretch;
    font-family: sans-serif;
    padding: 0.5em;
    order: 2;
    overflow-wrap: break-word;
}

.docked {
    display: flex;
    flex: 0 0 2em;
    /* position: relative; */
    order: 1;
    left: 0;
    background-color: #2b506e;
    align-self: auto;
}

.detached {
    display: inline-block;
    position: absolute;
    background-color: #2b506e;
    cursor: grab;
    /* z-index: 4; */
}