.rich-text {
    min-height: calc(100vh - 180px);
    word-wrap: break-word;
}
.placeholder {
    color: #226e93;
    cursor: text;
    opacity: 0.4;
    font-weight: 300;
}
[placeholder]:empty::before {
    content: attr(placeholder);
    color: #226e93;
    cursor: text;
    opacity: 0.4;
    font-weight: 300;
}

[placeholder]:empty:focus::before {
    content: '';
}

p {
    font-size: 17px !important;
}

.rt-block {
    border-bottom-style: dashed;
}

p.blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: '\201C''\201D''\2018''\2019';
}

.rich-text-attachments {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rich-text-attachments .attachment {
    width: calc(100% / 6);
    padding: 4px;
    display: block;
    float: left;
}

.rich-text-attachments .attachment .item {
    cursor: pointer;
    border: 1px solid #f9f6f6;
    background-color: #f8f8f8;
}

.rich-text-attachments .attachment .item.active {
    box-shadow: 0 0 0 3px #2196f3;
}

p[contenteditable='true']:focus,
p[contenteditable='true']:hover,
h1[contenteditable='true']:focus,
h2[contenteditable='true']:hover,
h2[contenteditable='true']:focus,
h2[contenteditable='true']:hover,
h3[contenteditable='true']:focus,
h3[contenteditable='true']:hover {
    outline: 2px solid #3f51b5;
}
