
/* custom additions ekki */
* {
    margin-block-start: unset;
    margin-block-end: unset;
    margin-inline-start: unset;
    margin-inline-end: unset;
}



figure.civ {
    width: 100%;
    border: solid 2px #ddd;
    padding: 10px 20px;
    margin: 10px 20px 10px 0px; 
}

figure.civ figcaption {
    display: flex;
    justify-content: center;
}    


figure.lbfigure {
    border: solid 2px #ddd;
    padding: 10px;
    margin: 10px 0 20px 0;
}

figure.lbfigure figcaption{
    display: flex;
    justify-content: center;
    font-style: italic;
}

figure.floatright {
    float: right;
    margin-top: 0;
    margin-left: 10px;
}



div.civframe {
    margin-top: 2px;
    margin-bottom: 40px;
    width: 100%;
    text-align:center;
}

div.civframe table {
    border: none;
    display: unset;
    width: auto;
    margin: 0 auto;
}

div.civframe table tr td {
    border: solid 1px #888;
    border-collapse: collapse;
    padding: 0px 0.75em;
    font-size: smaller;
}

div.civframe table tr td.byte-highlight {
    background: #ffe6e6;
    font-weight: bold;
}

div.civframe table tr td.byte-highlight-data {
    background: #ebfafa;
    font-weight: bold;
}

div.civframe table tr td.byte-lowlight {
    color: #888;
}



div.civframe table caption {
    caption-side: bottom;
    font-style: italic;
    font-size: smaller;
    }


div.nav-prev-next {
    display: flex;
    flex-direction: row;
}

div.nav-prev-next p {
    flex: 1;
    flex-wrap: nowrap;
}

div.nav-prev-next p a {
    text-decoration: none;
    font-size: smaller;
}

div.nav-prev-next p a span {
    font-size: larger;
}

table.civ-adresstable {
    width: auto;
    margin: 1em auto 2em auto;
    font-size: smaller;
}

table.civ-adresstable thead th {
    border-bottom: 1px solid #ddd;
}

table.civ-adresstable th, td { padding: 3px 5px; }
table.civ-adresstable thead, tfoot, tr:nth-child(even) { background: #ddd; }
