﻿body {
    padding: 1em;
    font-weight: normal;
    font-size: 17pt;
    font-family: 'Noto Sans';
    font-optical-sizing: auto;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: subpixel-antialiased;
}

@media (width <= 1024px) {
    body {
        font-size: 28pt !important;
    }

    table {
        width: 100%;
        font-size: 28pt !important;
    }
}

p {
    text-align: justify;
}

pre {
    padding-left: 1em;
    white-space: pre-wrap;
    color: #303030;
}

.date {
    margin-top: 0.3em;
    font-size: 0.8em;
    color: white;
    padding: 0.2em 0.6em 0.4em 0.6em;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    background-color: rgba(0, 128, 0, 0.89);
    width: auto;
    float: right;
    margin-left: 1em;
}

.date-it {
    margin-top: 0.3em;
    font-size: 0.8em;
    color: black;
    padding: 0.2em 0.6em 0.4em 0.6em;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    background: linear-gradient(
        to right,
        rgba(0, 140, 69, 0.7),
        rgba(255, 255, 255, 0.6),
        rgba(205, 33, 42, 0.7),
        rgba(255, 255, 255, 0.6),
        rgba(0, 140, 69, 0.7)
    );
    background-size: 200% 100%;
    animation: flowColors 20s ease-in-out infinite;
    width: auto;
    float: right;
    margin-left: 1em;
}

@keyframes flowColors {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

li {
    padding-bottom: 0.4em;
}

img {
    float: left;
    margin-right: 1em;
    width: 192px;
}

span.i {
    font-style: italic;
}

span.s {
    text-decoration: line-through;
}

img.r {
    float: right;
    margin-left: 1em;
    width: 192px;
}

[data-tooltip] {
    display: inline-block;
    position: relative;
    cursor: help;
    border-bottom: 1px dashed gray;
    margin-left: -0.1em;
}

/* Tooltip styling */
[data-tooltip]:before {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.4;
    min-width: 200px;
    text-align: center;
    border-radius: 4px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 100%;
    margin-top: 6px;
    max-width: 50%;
}

@media (width <= 1024px) {
    [data-tooltip]:before {
        font-size: 24pt !important;
        min-width: 80% !important;
    }
}


[data-tooltip]:after {
    content: '';
    display: none;
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    left: 50%;
    margin-left: -6px;
    top: 100%;
    border-width: 0 6px 6px;
    border-bottom-color: #000;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    display: block;
    z-index: 50;
}

table {
    border-collapse: collapse;
}

table th {
    padding: 0.2em 0.4em;
    border: 1px solid #ddd;
    font-weight: bold;
    background-color: #f1f1f1;
    text-align: left;
}

table td {
    padding: 0.2em 0.4em;
    border: 1px solid #ddd;
}

table th:last-child,
table td:last-child {
    text-align: right;
    white-space: nowrap;
}