.note {
    all: initial;
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 150px;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 1px solid rgb(191, 191, 191);
    z-index: 2147483646;
    box-shadow: 3px 3px 3px rgba(33, 33, 33, .7);
    min-height: 100px;
    min-width: 100px;
}

.note-selected {
    z-index: 2147483647;
}

.note-hidden {
    display: none;
}

.note-collapsed {
    min-height: 30px;
    max-height: 30px;
    overflow: hidden;
}

.note blockquote {
    all: initial;
    padding: 1px;
    height: 100%;
}

.note textarea {
    all: initial;
    white-space: break-spaces;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    height: 100%;
    width: 100%;
    padding: 2px;
    border: 1px solid transparent;
    resize: none;
    color: black;
}

.note textarea:focus {
    border: 1px dotted rgb(160, 160, 160);
}

.note header {
    all: initial;
    min-height: 30px;
    cursor: grab;
    user-select: none;
}

.note .note-remove {
    all: initial;
    position: absolute;
    right: 0px;
    top: 2px;
    padding: 5px;
    opacity: .5;
    cursor: pointer;
    user-select: none;
    width: 16px;
    height: 16px;
}

.note .note-anchor {
    all: initial;
    position: absolute;
    left: 0px;
    top: 2px;
    padding: 5px;
    opacity: .25;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.note .note-resize {
    all: initial;
    position: absolute;
    bottom: -5px;
    right: -5px;
    height: 15px;
    width: 15px;
    cursor: nwse-resize;
    user-select: none;
}

.note .note-remove:hover {
    opacity: 1;
}

.note .note-anchor:hover {
    opacity: .5;
}

.note-anchored .note-anchor {
    opacity: .5;
}

.note-anchored .note-anchor:hover {
    opacity: 1;
}

.note-moving {
    opacity: .75;
    box-shadow: 6px 6px 3px rgba(33, 33, 33, .7);
}

.note-moving * {
    cursor: grabbing;
}

.note-yellow header {
    background-color: #f5f545;
}

.note-yellow blockquote {
    background-color: #ffff7c;
}

.note-pink header {
    background-color: #ffa59f;
}

.note-pink blockquote {
    background-color: #ffbbb6;
}

.note-blue header {
    background-color: #84c8ff;
}

.note-blue blockquote {
    background-color: #95d0ff;
}

.note-green header {
    background-color: #93ef8d;
}

.note-green blockquote {
    background-color: #9cff95;
}