#nodes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.node {
    position: absolute;
    background-color: white;
    border: 2px solid transparent;
    border-radius: 5px;
    z-index: 10;
    font-size: 14px;
    max-width: 200px;
    box-shadow: 0px 0px 7px rgba(0,0,0,0.3);
}

.node_color {
    position: absolute;
    border: 1px solid black;
    z-index: 12;
    width: 10px;
    height: 10px;
    right: -5px;
    top: -5px;
    cursor: pointer;
}

.node_done {
    filter: /*grayscale(20%) blur(1px)*/ brightness(70%);
    text-decoration: line-through;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

.node_selected {
    border: 2px solid rgba(0,0,0,0.5);
    /*margin-left: -2px;*/
    /*margin-top: -2px;*/
}

.node_color:hover {
    border: 2px solid black;
    right: -6px;
    top: -6px;
}

.node_header {
    padding: 10px;
    cursor: move;
    z-index: 11;
    /*background-color: rgba(57, 182, 190, 0.4);*/
    color: black;
}

#add-node-card {
    border: 0px;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
}

#add-node-textarea {
    width: 400px;
    height: 150px;
    /*border: 1px dashed red;*/
    border: 0px;
    vertical-align: text-top;
    resize: none;
    outline: none;
}

#add-node-textarea:selected {
    border: 0px;
}

#add-node {
    display: none;
}

#add-node-submit {
    width: 50px;
}

.color-btn {
    padding: 8px;
    border-radius: 5px;
    height: 20px;
    width: 20px;
}
.color-btn:hover {
    filter: brightness(80%);
}

#color-btns {
    margin-top: -34px;
    margin-left: -34px;
}

#add-node-footer {
    /*padding: 8px;*/
    padding: 1px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    /*text-align: right;*/
    /*display: inline-block;*/
    padding-right: 5px;
    padding-left: 10px;
    height: 50px;
}

#add-node-cancel {
    width: 60px;
}
#add-node-submit {
    width: 60px;
}

#color_picker {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 600px;
    height: 200px;
    border: 1px solid black;
}

#context_menu {
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    width: 170px;
    /*height: 300px;*/
    /*padding: 10px;*/
    background-color: white;
    /*border: 1px solid black;*/
    border-radius: 10px;
    z-index: 101;
    text-align: center;
    display: inline;
}

.min-btn {
    width: 100%;
    font-size: 13px;
    padding: 10px;
    /*background-color: white;*/
    border: 0px;
    cursor: pointer;
}

.min-btn:hover:not([disabled]) {
    text-decoration: underline;
}

.min-btn:active:not([disabled]) {
    color: #bbb;
}

.min-btn:disabled {
    color: #bbb;
    cursor: not-allowed;
}

#context_menu_exit {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.edge {
    stroke: #333;
    stroke-width: 2;
    marker-mid: url(#arrow);
}

#arrow {
    fill: #333;
}

.button {
    background-color: rgba(57, 182, 190, 0.2);
    border: 1px solid black;
    color: black;
    padding: 5px 50px;
    text-align: center;
    text-decoration: none;
    display: block;
    table-layout: fixed;
    width: 5cm;
    font-size: 12px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -10px;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 10px;
}
  
.button:hover span:after {
    opacity: 1;
    right: 0;
}

.sidebar {
    position: fixed;
    border-right: 1px solid black;
    z-index: 5;
    text-align: center;
}

.clr-field button {
    width: 100% !important;
    height: 100%;
    border-radius: 5px;
}
