::-webkit-scrollbar {width: 0.3em;height: 0.3em;}
::-webkit-scrollbar-button {background: #C1C1C1;}
::-webkit-scrollbar-track-piece {background: #F1F1F1;}
::-webkit-scrollbar-thumb {background: #C1C1C1;}

p {
    margin-block-end: 0.5em;
    margin-block-start: 0.5em;
}

/*.wysiwyg-content > h2, .wysiwyg-content > h3, .wysiwyg-content > h4 { padding-left: 8px; }*/
.wysiwyg-content > h2 { margin-top: 2em; }
.wysiwyg-content > h3:before, .wysiwyg-content > h4:before {
    content: '';
    display: inline-block;
    border-left: 1px solid #5D93E9;
    border-right: 1px solid #5D93E9;
    width: 1px;
    margin-right: 6px;
    vertical-align: sub;
    margin-bottom: 4px;
}
.wysiwyg-content > h3:before { height: 14px; margin-bottom: 4px; }
.wysiwyg-content > h4:before { height: 10px; margin-bottom: 3px; border-color: #FF8686; }

.wysiwyg-content img { max-width: 100%; }
.wysiwyg-content code { white-space: pre; border: none; /*font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;*/ }
code, pre, samp {  }
.wysiwyg-content pre {
    background-color: #fafafa;
    padding: 4px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.wysiwyg-content pre, .wysiwyg-content pre code {
    font-family: monospace, sans-serif;
    font-size: 0.94em;
    /*text-shadow: 0 0 1px #777;*/
    text-shadow: none;
    color: #000;
}

.wysiwyg-content pre code { display: block; overflow: auto; }

.wysiwyg-content ul { list-style: square; }

.wysiwyg-content .alert {
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    padding: 4px;
}
.wysiwyg-content .alert h5 { margin: 8px; font-size: 1em; letter-spacing: 1px; display: inline-block; border-bottom: 1px solid #bbb; }
.wysiwyg-content .alert-info { background-color: #F5F7F9; border-color: #D0E5EA; color: inherit; }
.wysiwyg-content .alert-block {  color: inherit; }

/* Отступы */
.wysiwyg-content p + pre, .wysiwyg-content pre + pre { margin-top: -0.5em; }
.wysiwyg-content .alert *:not(h5):last-child { margin-bottom: 0; }
.wysiwyg-content .alert h5 + *, .wysiwyg-content .alert p:first-child { margin-top: 0; }

.wysiwyg-content dl dt {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: bold;
}

/* Не уверен, что это используется.. Проверить! */
.wysiwyg-content .spoiler-toggle { color: #0088CC; text-decoration: none; }
.wysiwyg-content .spoiler-toggle:hover { color: #005580; text-decoration: underline; }
.wysiwyg-content .spoiler-toggle:hover, .wysiwyg-content .spoiler-toggle:active { outline: 0 none; }

.wysiwyg-content .spoiler-checkbox { display: none; }
.wysiwyg-content .spoiler-toggle { outline: none; cursor: pointer; display: table; }
.wysiwyg-content input[type=checkbox]:not(:checked) + .spoiler-content { display: none; }
.wysiwyg-content .spoiler-content { outline: 1px dotted #CCCCCC; }
