html {
    width: 100%;
    height: 100%;
}

body {
    background-color: white;
    margin: 0 0;
    padding: 0 0;
    font-family: sans-serif;
    font-size: 1.1rem;
    color: rgba(0, 0, 0, .85);
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    height: 100%;
}

h1 {
    margin: 0.6rem 0;
    font-family: serif;
    font-size: 1.5rem;
    width: 100%;
}

h2 {
    font-size: 1.2rem;
    font-family: serif;
    margin: 1rem 0;
    width: 100%;
    border-top: 1px dashed darkgray;
    padding-top: 1rem;
}


p {
    margin: 0.6rem 0;
    text-indent: 2rem;
    font-family: serif;
}

li {
    font-family: serif;
}
 
pre {
    font-size: 1rem;
    color: rgb(177, 213, 247);
    background-color: #404040;
    padding: 0.5rem 0.5rem;
    overflow: auto;
    /* border: 3px solid #9f95ac; */
    border-radius: 0.5rem;
    tab-size: 4;
}

#header-box {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    padding: 0.3rem 0.3rem;
    background-color: rgb(43, 32, 62);
    height: 2.5rem;
    min-height: 2.5rem;
    box-shadow: 0 -1px 0 #ffffff, 0 0 2px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .74);
}

#middle-box {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    align-self: stretch;
    height: calc(100% - 2rem - 40px);
    min-height: calc(100% - 2rem - 40px);
}


#left-column {
    width: 300px;
    min-width: 300px;
    border-right: 1px solid lightgray;
    display: none;
    opacity: 0;
    flex-grow: 0;
    flex-wrap: 1;
    flex-basis: auto;
}


#right-column {
    width: 20%;
    min-width: 20%;
    border-left: 1px solid lightgray;
    display: none;
    flex-grow: 0;
    flex-wrap: 1;
    flex-basis: auto;
}

#content {
    padding: 1rem 2rem;
    overflow: auto;
    flex: 1 1 auto;
}

#copyright {
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem 4rem;
    font-size: 0.8rem;
    border-top: 0.4rem solid #6943a3;
    border-radius: 1rem;
    width: fit-content;
    text-align: center;
}

#menu {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 300px;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    line-height: 2rem;
    border-radius: 0.7rem;
    box-shadow: 0 -1px 0 #ffffff, 0 0 2px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .74);
    z-index: 100;
    overflow-y: auto;
    max-height: calc(100% - 4rem);
}

.section {
    margin: 1rem;
    border: 1px solid lightgray;
    border-radius: 0.5rem;
    padding: 0;
    background-color: rgb(247, 239, 231);
}

.box-title {
    font-size: 1.2rem;
    height: 3rem;
    width: calc(100% - 2rem);
    line-height: 3rem;
    padding: 0 1rem;
    display: inline-block;
    border-bottom: 1px solid lightgray;
}

.box-content {
    width: calc(100%);
    padding: 1rem 0;
    font-size: 1rem;
    color: rgba(0, 0, 0, .74);
    background-color: white;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

a.menuitem {
    text-decoration: none;
    display: block;
    padding: 0 1rem;
    font-size: 1rem;
    cursor: pointer;
}

a.menuitem:link {
    color: rgba(0, 0, 150, .85);
}

a.menuitem:visited {
    color: rgba(0, 0, 150, .85);
}

a.menuitem:hover {
    background-color: #8a81bd;
    color: white;
}

.clickmenu {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: none;
}

.menu_icon_label {
    color: white;
}

.clickmenu+.menu_icon_label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.clickmenu+.menu_icon_label::before {
    content: '';
    background-image: url("menu.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 1;

    @font-face {
        font-family: 'PT_Serif';
        src: url('pt%20serif.html') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'PT_Serif';
        src: url('pt%20serif_bold.html') format('truetype');
        font-weight: bold;
        font-style: normal;
    }

    background-color: #2f5682;
}

.clickmenu:not(:disabled):not(:checked)+.menu_icon_label:hover::before {
    background-color: #2f5682;
}

.clickmenu:checked~#menu {
    display: flex;
    opacity: 1;
    box-shadow: 0 -1px 0 #ffffff, 0 0 2px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .74);
    left: calc(100% - 300px - 1rem);
    top: 4rem;
    background-color: rgba(200, 200, 200, 0.2);
    backdrop-filter: blur(6px);
}

.article {
    display: flex;
    flex-direction: column;
    font-size: 1.0rem;
    padding: 0;
    margin: 0.5rem;

}

.article_description {
    padding: 2rem;
    font-size: 1.0rem;
    margin: 0;
    margin-bottom: 1rem;
    justify-content: right;
    color: white;
    background-color: rgb(80, 88, 117);
    border-top-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.back {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 1rem;
    flex-direction: row;
    font-size: 1.2rem;
    font-family: serif;
    margin: 1rem 0;
    width: 100%;
}

.date {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 1rem;
    flex-direction: row;
    font-size: 0.85rem;
    margin: 0.175rem 0px;
    width: calc(100%);
}

img.calendar {
    width: 1.0rem;
    height: 1.0rem;
    margin: 0 0.5rem 0 0;
    padding: 0;
}

@media (min-width: 900px) and ((max-resolution: 250dpi) or (orientation: landscape)) {

    #left-column {
        display: flex;
        opacity: 1;
    }

    #menu {
        display: flex;
        opacity: 1;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 1.0);
    }

    .clickmenu+.menu_icon_label::before {
        display: none;
    }

    .clickmenu:checked~#menu {
        display: flex;
        opacity: 1;
        box-shadow: none;
        top: 4rem;
        left: 0;
        background-color: rgba(255, 255, 255, 1.0);
    }

}

@media (min-width: 1300px) and ((max-resolution: 250dpi) or (orientation: landscape)) {

    #left-column {
        width: 20%;
        min-width: 300px;
    }

    #right-column {
        display: flex;
    }

}

mark {
    padding: 0, 10px;
    background-color: lightgray;
}

table {
    border: 1px solid rgb(78, 78, 78);
    border-collapse: collapse;
    padding: 0;
    table-layout: fixed;
}

th {
    border: 1px solid gray;
    background-color: lightgray;
    border: 1px solid gray;
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
}

td {
    border: 1px solid gray;
    padding: 1rem;
    text-align: left;
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

td.center {
    text-align: center;
    font-weight: bold;
}

td.subheader {
    background-color: lightgray;
    font-weight: bold;
}

hr {
    border-top: 1px dashed darkgray;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

span.label {
    display: inline-block;
    font-size: 0.8rem;
    font-family: sans-serif;
    background-color:rgb(244, 167, 35);
    border: 0;
    border-radius: 0.5rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    margin-left: 0;
    text-indent: 0;
}

details > summary {
    display: inline;
    padding: 0.4rem;
    font-size: 0.8rem;
    font-family: sans-serif;
    /*color: white;*/
    /*background-color:rgb(20, 94, 7);*/
    color: rgba(0, 0, 0, .85);
	background-color: white;
	border-radius: 0.5rem;
    box-shadow: 2px 2px 4px #beb4b4;
    cursor: pointer;
}  

details {
    padding: 0.4rem;
    /*background-color: #dfecf6;*/
    background-color: white;
	border-radius: 0.5rem;
    border-radius: 0.5rem;
}

details > div {
    margin-top: 1rem;
    text-align: center;
}
  