.kanji-table {
    border-collapse: collapse;
    border-style: solid outset;
    border-width: 1px;
}

.kanji-table td {
    border-width: 1px;
    border-color: #333;
    border-style: inset;
}

.kanji-table th {
    border-width: 1px;
    border-color: #333;
    border-style: inset;
}

a {
    text-decoration: none;
}

th {
    text-align: left;
    margin: 0.4em;
    padding: 0.4em;
    font-size: 1.05em;
}

td {
    padding: 0.4em;
}

div#readings {
    line-height: 3.2em;
}

#readings .yomi {
    font-size: 2em;
    border: solid 1px;
    border-radius: 10px;
    padding-left: 0.125em;
    padding-right: 0.125em;
}

#readings .reading {
    font-size: 2em;
    white-space: nowrap;
    padding: 0.175em;
}

#readings .yomitype {
    color: #024;
    background-color: #F9A602;
    font-size: 2em;
    border: solid 1px;
    border-radius: 10px;
    padding-left: 0.125em;
    padding-right: 0.125em;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

#readings .yomitypefirst {
    white-space: nowrap;
}

#readings .yomitypefirst .reading {
    white-space: nowrap;
    padding-left: 0em;
}

/* The big kanji at the top of the page. */

.headkanji {
    /* https://stackoverflow.com/questions/45536537/ */

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14em;
    line-height: 1.25em;
}

/* Links such as on the bushu or stroke pages. */

.kanjiplink {
    font-size: 2.3em;
}

/* Radical or stroke count things appearing in the midst of a list for
   the user to navigate with. */

.kanjipguide {
    font-size: 1.8em;
    background-color: #F9A602;
    border: solid 1px;
    border-radius: 10px;
    margin: 0.25em;
    padding-left: 0.125em;
    padding-right: 0.125em;
    white-space: nowrap;
}

/* Jukugo when there are many. */

.jukugo {
    font-size: 1.6em;
}

.jukugo-kana {
    font-size: 1.6em;
    font-weight: bold;
}

h2 {
    margin-block-start: 1.66em;
    margin-block-end: 0.2em;
}

p#basic-info {
    line-height: 2.5em;
}

/* Container for a piece of basic info with heading and data. */

.basic-block {
    padding-right: 0.75em;
    white-space: nowrap;
}

/* Heading of basic info. */

.basic-head {
    font-size: 1.4em;
    border: solid 1px;
    border-radius: 5px;
    padding-left: 0.125em;
    padding-right: 0.125em;
    background-color: #F9A602;
}

/* Data part of basic info. */

.basic-data {
    font-size: 1.5em;
    padding: 0.125em;
}

#image-holder {
    width: 327px;
    height: 327px;
}

.partslink {
    font-size: 1.6em;
}

table {
    margin: .5em;
}

table caption {
    font-size: 1.25em;
}

.explanation {
    font-size: 1.25em;
}

.more-jukugo-link a:link {
    color: #662244;
    font-weight: bold;
}

.more-jukugo-link a:hover {
    color: #dd4466;
    font-weight: bold;
}

table.fci {
    display: inline;
}

.fci td {
    padding: 0em;
    border-style: none;
}

.fcb {
    width: 25px;
    height: 25px;
    background-image: url(four-sprite-1.png);
}

.hat {
    background-position: -0px -0px;
}

.one {
    background-position: -25px -0px;
}

.down {
    background-position: -50px -0px;
}

.dot {
    background-position: -75px -0px;
}

.cross {
    background-position: -0px -25px;
}

.skewer0 {
    background-position: -25px -25px;
}

.skewer1 {
    background-position: -50px -25px;
}

.skewer2 {
    background-position: -75px -25px;
}

.skewer3 {
    background-position: -0px -50px;
}

.box {
    background-position: -25px -50px;
}

.corner0 {
    background-position: -50px -50px;
}

.corner1 {
    background-position: -75px -50px;
}

.corner2 {
    background-position: -25px -75px;
}

.corner3 {
    background-position: -0px -75px;
}

.eight {
    background-position: -50px -75px;
}

.small {
    background-position: -75px -75px;
}

.wwwjdic-mirror {
    white-space: nowrap;
}

.kankenkyu {
    font-size: 1.5em;
}

@media only screen and (min-width: 600px) and (max-width: 849px) {
    .single-kanji-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1em;
    }

    #sod-container {
        grid-row-start: 1;
        grid-row-end: 2;
        grid-column-start: 2;
        grid-column-end: 3;
    }
}

@media only screen and (min-width: 850px) {
    .single-kanji-info {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 1em;
    }
}

p#create-date {
    text-align: center;
}

path.not-rad {
    stroke: black;
}

path.rad {
    stroke: #ff4033;
}

.sod {
    fill: none;
    stroke: #000000;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
