/**
 * Rendu des descriptions de lignes saisies en markdown (listes et sous-titres),
 * dans l'apercu back-office et sur le portail client.
 * Voir nbz_markdown_to_html() dans application/helpers/my_functions_helper.php
 */
td.description ul,
td.description ol {
    margin: 2px 0 4px;
    padding-left: 18px;
    list-style-position: outside;
}

td.description ul {
    list-style-type: disc;
}

td.description ol {
    list-style-type: decimal;
}

td.description li {
    margin-bottom: 1px;
}

td.description h4 {
    margin: 8px 0 2px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.4;
}

td.description h4:first-child {
    margin-top: 0;
}

/* Bloc markdown autonome : notes de feuille de temps (nbz_markdown_block) */
.nbz-md ul,
.nbz-md ol {
    margin: 2px 0 4px;
    padding-left: 18px;
    list-style-position: outside;
}

.nbz-md ul {
    list-style-type: disc;
}

.nbz-md ol {
    list-style-type: decimal;
}

.nbz-md li {
    margin-bottom: 1px;
}

.nbz-md h4 {
    margin: 8px 0 2px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.4;
}

.nbz-md h4:first-child {
    margin-top: 0;
}

/* Loupe d'apercu et modale associee - voir assets/js/nbz-markdown-preview.js */
.nbz-md-preview-btn {
    display: inline-block;
    margin-top: 3px;
    font-size: 11px;
    color: #7d8590;
}

.nbz-md-preview-btn:hover,
.nbz-md-preview-btn:focus {
    color: #4c5667;
    text-decoration: none;
}

.nbz-md-preview {
    min-height: 60px;
    line-height: 1.5;
}

.nbz-md-preview ul,
.nbz-md-preview ol {
    margin: 2px 0 4px;
    padding-left: 20px;
    list-style-position: outside;
}

.nbz-md-preview ul {
    list-style-type: disc;
}

.nbz-md-preview ol {
    list-style-type: decimal;
}

.nbz-md-preview h4 {
    margin: 12px 0 3px;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.4;
}

.nbz-md-preview h4:first-child {
    margin-top: 0;
}
