/*
 * see:
 * https://github.com/jgm/pandoc-website/pull/50/commits/f30d933c1fda768a1e4009259523b005694f3800
 */



body {
    line-height: 1.4;
}

#TOC a {
    text-transform: capitalize;
}

#TOC ul {
    list-style-type: none;
}

.tags-keyword {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    margin: 4px 2px;
    border: 1px solid var(--accent-color-2);
    border-radius: 9px;
}

@keyframes highlight-target {
  0% {background-color: inherit;}
  10% {background-color: var(--accent-color-2);}
  50% {background-color: var(--accent-color-2);}
  100% {background-color: inherit;}
}

section:target {
/*    animation: highlight-target 4s linear;*/
    animation-name: highlight-target;
    animation-duration: 5s;
    animation-iteration-count: 1;
}

section {
}

h1, h2, h3, h4, h5, h6 {
    border-bottom: 1px solid #ccc;
    text-transform: capitalize;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    display: block;
    width: 100%;
    overflow: auto;
}

table th, table td {
    padding: 6px 13px;
    border: 1px solid #dfe2e5;
}

table th {
    background-color: var(--accent-color-1);
    font-weight: 600;
}

table tr:nth-child(2n) {
    background-color: var(--accent-color-2);
}

table tr:hover {
    background-color: var(--accent-color-1) !important;
}


p {
    color: inherit;
    margin: #6a737d;
    font-size: 16px;
    text-align: justify;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}


blockquote {
    color: var(--blockquote-grey);
    padding: 0 0.5em;
    border-left: 0.25em solid currentcolor;
    margin: 0;
}

ul, ol {
    padding-left: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}

li {
    margin-bottom: 0.25em;
}

li > label {
    display: block;
    width: 100%;
}

hr {
    border: 0;
    height: 1px;
    background-color: #dfe2e5;
    margin: 24px 0;
}

img {
    display: block;
    max-width: 80%;
    margin: 0 auto;
}

input[type='checkbox'] {
    transform: scale(1.25);
    cursor: pointer;
}

kbd {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.8em;
    color: #444d56;
    vertical-align: middle;
    background-color: #f6f8fa;
    border: 1px solid black;
    border-bottom-color: #c6cbd1;
    border-radius: var(--border-radius);
    box-shadow: inset 0 -1px 0 #c6cbd1;
}

div.note {
    color: var(--tooltip-blue);
    border-left: 0.25em solid currentcolor;
    padding: 0 0.5em;
}

div.note div.title p::before {
    content: "📝 ";
}

div.tip {
    color: var(--tooltip-green);
    border-left: 0.25em solid currentcolor;
    padding: 0 0.5em;
}

div.tip div.title p::before {
    content: "💡 ";
}

div.important {
    color: var(--tooltip-purple);
    border-left: 0.25em solid currentcolor;
    padding: 0 0.5em;
}

div.important div.title p::before {
    content: "📢 ";
}

div.warning {
    color: var(--tooltip-yellow);
    border-left: 0.25em solid currentcolor;
    padding: 0 0.5em;
}

div.warning div.title p::before {
    /* content: "⚠"; */
    content: "⚠️ ";
}

div.caution {
    color: var(--tooltip-red);
    border-left: 0.25em solid currentcolor;
    padding: 0 0.5em;
}

div.caution div.title p::before {
    content: "🚨 ";
}

div.title {
    color: inherit;
    font-weight: bolder;
}
