#note_modal {
    position: absolute;
    min-width: 360px;
    width: 360px;
    min-height: 300px;
    height: 300px;
    background: #FFF;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 35%) 0px 0px 25px 1px;
}

.ui-resizable-se {
    width: 18px;
    height: 18px;
    background: transparent url('../img/icons/ico-memo-resize.png') 50% 50%/11px 11px no-repeat;
}

#notepad {
    width: 100%;
    height: calc(100% - 70px);
    padding: 10px;
    overflow-y: auto;
    outline: none;
    font: 400 15px/1.6 'noto';
    color: #1c1c1c;
    cursor: move;
}

#notepad[contenteditable="true"] {
    cursor: auto;
}

#notepad b {
    font-weight: 700;
}

#notepad i {
    font-style: italic;
}

#notepad ol {
    list-style: auto;
    counter-reset:list-number;
}

#notepad ol li { 
    counter-increment:list-number;
}   

#notepad ol li:before {
    content:counter(list-number);
} 

#notepad ul li {
    position: relative;
    padding-left: 8px;
}

#notepad ul li::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    width: 3px;
    height: 3px;
    border-radius: 10px;
    background-color: #1c1c1c;
}

#notepad ul li::marker {
    display: none;
}

#notepad img {
    max-width: 100%;
}

#note_controls {
    position: relative;
    width: 100%;
    min-width: 150px;
    height: 44px;
    background-color: #fbfbfb;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #e3e3e3;
}

#note_controls > .inner {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#note_controls > .inner >  * {
    display: inline-block;
    min-width: 28px;
    min-height: 28px;
    margin: 0 3px;
    cursor: pointer;
}

#btn_note_controls_bold {
    background: transparent url('../img/icons/ico-memo-bold.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_italic {
    background: transparent url('../img/icons/ico-memo-italic.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_underline {
    background: transparent url('../img/icons/ico-memo-underline.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_strike {
    background: transparent url('../img/icons/ico-memo-strike.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_unordered {
    background: transparent url('../img/icons/ico-memo-unordered.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_date {
    background: transparent url('../img/icons/ico-memo-date.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_img {
    background: transparent url('../img/icons/ico-memo-img.png') 50% 50%/100% 100% no-repeat;
}

#btn_note_controls_close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent url('../img/icons/ico-memo-close.png') 50% 50%/100% 100% no-repeat;
}

#note_controls > .inner >  *.active {
    background-color: #eaeaea;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
}

#note_img_input {
    display: none;
}