/* patch to simple css */
body > header {
    padding: 0 0.5rem 0 0.5rem;
}

body > header > *:only-child {
    margin-block-start: unset;
}

body > header h1 {
    font-size: 2rem;
}

textarea,
select,
input,
button,
.button {
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 720px) {
    .notice {
        background: none;
        border: None;
        border-radius: unset;
        padding: 0px;
        margin: 0px;
    }
}

/* custom */
label, nav {
    user-select: none;
}

dialog {
    max-width: 40rem;
    margin-top: 8rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

    dialog > h1, h2, h3, h4, h5, h6 {
        margin-top: 0;
        /*margin-bottom: 0;*/
    }

        h5 + ul {
            margin-top: 0.5rem;
        }

main h4 {
    margin-bottom: 1rem;
}

main > h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

main > .notice {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.notice > ul:first-child, p:first-child {
    margin-top: 0;
}

.notice > ul:last-child, p:last-child {
    margin-bottom: 0;
}

div > p {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

ul .list-item-endlink {
    list-style: none;
    margin-top: 0.5rem;
}

.circle {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
}

    .circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.breadcrumbs {
    font-size: smaller;
    padding: 0px;
    margin: 0px;
}

    .breadcrumbs + h4 {
        margin-top: 1rem;
    }

date {
    font-weight: 600;
}

.nolink {
    text-decoration: none;
}

.option-toggle {
    user-select: none;
    width: unset !important;
    border-radius: 30px;
    background-color: transparent;
    border-color: var(--border);
}

.capitalize a {
    text-transform: capitalize;
}

main ul, ol {
    margin-inline: 0;
    padding-inline: 0;
    list-style: none;
}

.list-like {
    list-style: initial;
}

    .list-like li {
        margin-inline: 1.2rem;
        padding-inline: 0;
    }

li i {
    font-size: smaller;
}

@media only screen and (max-width: 720px) {
    li i {
        display: none;
    }
}

.extra-top-margin {
    margin-top: 2rem;
}

.underline {
    text-decoration: underline;
}

.header-suffix {
    font-weight: normal;
    font-size: smaller;
}

.program-icon {
    /*border: 1px solid var(--accent);*/
    border-radius: 4px 4px;
    display: inline-block;
    width: 1.5rem;
    text-align: center;
    font-size: small;
    font-weight: 700;
}

.yh {
    background-color: #ffb300;
    color: black;
}

.ny {
    background-color: rebeccapurple;
    color: white;
}

h5 + .notice {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

summary {
    font-weight: normal;
    font-size: smaller;
}
