﻿.element {
    border-left: 1px dashed grey;
    border-bottom: 1px dashed grey;
    margin: 0.5em;
    padding: 0.3em;
    margin-right: 0;
    padding-right: 0;
    margin-bottom: 0;
}

    .element input[type="text"] {
        border-width: 0;
        border-bottom-width: 1px;
    }

.element-cutting {
    background-color: lightblue;
}

    .element-cutting button
     {
        display: none;
    }
    .element-cutting input{
        pointer-events:none;
    }

    .sub-node {
        margin-left: 2em;
    }

.class-tree-buttons {
    border-radius: 15px 15px 0% 0%;
    width: max-content;
    background-color: #6c757d;
    border: black;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
}

.buttons-for-textarea {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.button-textarea {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    margin: 0.3em;
}



.first-str {
    display: flex;
    align-items: center;
}

.button-open {
    border-radius: 4px;
    font-size: 12px;
    font: bold;
    font-family: "Fira Code", monospace;
    background: #1b6ec2;
    color: white;
    cursor: pointer;
    flex: 0 0 0;
    margin: 5px;
}

.root-name {
    flex: 7 0 0;
    width: 0;
    margin: 5px;
}

.root-id {
    flex: 1 0 0;
    width: 0;
    margin: 5px;
}



.delete-button {
    border-radius: 4px;
    font-size: 12px;
    font: bold;
    font-family: "Fira Code", monospace;
    background: #dc3545;
    color: white;
    cursor: pointer;
    flex: 0 0 2;
    margin: 5px;
}

.text {
    font-size: 16px;
    font: bold;
    font-family: "Fira Code", monospace;
    flex: 0 0 2;
    margin: 5px;
}


.second-str {
    display: flex;
    align-items: center;
}

.root-full-name {
    flex: 10 0 0;
    margin: 5px;
}

.root-color {
    flex: 1 0 0;
    margin: 5px;
}

.cut-button {
    border-radius: 4px;
    font-size: 12px;
    font: bold;
    font-family: "Fira Code", monospace;
    background: Teal;
    color: white;
    cursor: pointer;
    flex: 0 0 2;
    margin: 5px;
}



.add-element-button {
    border-radius: 4px;
    font-size: 12px;
    font: bold;
    font-family: "Fira Code", monospace;
    background: #1b6ec2;
    color: white;
    cursor: pointer;
    flex: 5 0 0;
    margin: 5px;
}

.button-empty {
    border-radius: 4px;
    border-color: transparent;
    background: transparent;
    display: inline-block;
    /*padding-bottom: 0.5em;*/
    color: #1b6ec2;
    flex-grow: 1;
}
