body {
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #333;
    margin: 0;
    padding: 0;
    min-width: 900px;
}
#main {
    flex-grow: 2;
    display: flex;
    flex-direction: row;
}
#content {
    flex-grow: 1;
    background-color: #fff;
    margin-top: 30px;
    padding: 10px 16px 10px 16px;
    overflow-x: auto;
}
#content h1, h2, h3, h4, h5, h6 {
    color: #555;
    font-family: "Trebuchet MS", Verdana, sans-serif;
    padding: 2px 10px 1px 0px;
    margin: 0 0 10px 0;
}
h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.2em;
    border: none;
    font-weight: bold;
}
h5 {
    font-size: 1em;
}
h6 {
    font-size: 1em; color: #8e8e8e;
}
a.heading_anchor { 
    display: none;
    margin-left: 6px;
    text-decoration: none;
}
table.markdown_table{
    border: 1px solid #bbb;
    border-collapse: collapse;
    padding: 4px;
    margin-bottom: 4px;        
    overflow: hidden;
}
table.markdown_table th{
    border: 1px solid #bbb; 
    padding: 4px;
    display: table-cell;
    vertical-align: inherit;
    background-color:#EEEEEE;
}
table.markdown_table td{
    border: 1px solid #bbb;
    padding: 4px;
    display: table-cell;
    vertical-align: inherit;
}
table.markdown_table tr.current_status td {
    background-color: #ffffee;
}
table.controlled{
    border: 1px solid #e4e4e4;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 4px;
    border-spacing: 0px;
    border-radius: 3px;
    overflow: hidden;
}
table.controlled th {
    background-color:#e1f1fa;
    padding: 4px;
    white-space:nowrap;
    font-weight:normal;
    border: 1px solid #bbb;
}
table.controlled td {
    padding: 4px;
    text-align:center;
    vertical-align:middle;
    padding-right:10px;
    border: 1px solid #bbb;
}
table.controlled tr:first-child th {
    border-top: 0;
}
table.controlled tr:last-child td {
    border-bottom: 0;
}
table.controlled tr td:first-child,
table.controlled tr th:first-child {
    border-left: 0;
}
table.controlled tr td:last-child,
table.controlled tr th:last-child {
    border-right: 0;
}
table.controlled td.item_id {
    width: 3%;
    text-align: center;
}
table.controlled td.item_type {
    width: 5%;
    text-align: center;
    font-weight: normal;
}
table.controlled td.item_status {
    width: 5%;
    text-align: center;
    white-space: nowrap;
}
table.controlled td.item_text{
    text-align: left;
}
.decisions_overview_charts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.decisions_overview_charts .chart_cell {
    min-height: 240px;
}
.decisions_overview_charts .chart_cell canvas {
    max-width: 100%;
    max-height: 300px;
}
table.controlled:not(.odd-even) tbody tr:nth-child(odd) { background-color:#f6f7f8; }
table.controlled:not(.odd-even) tbody tr:nth-child(even) { background-color: #fff; }
table.controlled:not(.odd-even) tbody tr:nth-child(odd):hover,
table.controlled:not(.odd-even) tbody tr:nth-child(even):hover { background-color:#ffffdd; }
a, a:link, a:visited {
    color: #169;
    text-decoration: none;
    display: inline-block;
}
a:active {
    color: #555;
    background-color:#deb887;
    text-decoration: none;
    display: inline-block;
}
a.broken_link, a.broken_link:link, a.broken_link:visited, span.broken_link {
    color: #c00;
    text-decoration: underline wavy #c00;
    cursor: help;
}
div.blockquote {
    display: block;
    background:#f9f9fb;
    border-left: 3px double #bbb;
    font-style: italic;
    padding: 4px 1em 4px 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}
code {
    display: block;
    background:#ffffee;
    border-left: 3px double #bbb;
    font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;
    padding: 4px 1em 4px 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}
code.inline {
    display: inline;
    background:#f4f4f4;
    border: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 4px;
    margin: 0;
}
div.todoblock {
    display: block;
    background:#fcc;
    border-left: 3px double #bbb;
    font-style: italic;
    padding: 4px 1em 4px 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}
img:hover{
    transition: 0.3s;
}
img{
    opacity: 0.9;
    cursor: pointer;
}
#modal_image_id{
    cursor: default;
} 
#closed_nav_pane{
    padding: 0px;
    background: #169;
    border: 0px;
    position: fixed;
    width: 5px;
    height: 100%;       /* 100% Full-height */
    visibility: visible;
    cursor: pointer;
}
#closed_nav_pane:hover{
    width: 10px;
}
#nav_pane{
    flex-shrink: 0;
    padding: 32px 8px 8px 8px;
    background: #EEEEEE;
    border: 1px solid #ddd;
    position: fixed;
    height: 100%;       /* 100% Full-height */
    visibility: hidden;
    z-index: 1;
    overflow-y: auto;
    cursor: pointer;
}
@media screen and (min-width: 0px) and (max-width: 1089px) {#nav_pane{width: 22%;}}
@media screen and (min-width: 1090px) and (max-width: 1279px) {#nav_pane{width: 240px;}}
@media screen and (min-width: 1280px) and (max-width: 1599px) {#nav_pane{width: 280px;}}
@media screen and (min-width: 1600px) and (max-width: 1919px) {#nav_pane{width: 320px;}}
@media screen and (min-width: 1920px) and (max-width: 2559px) {#nav_pane{width: 360px;}}
@media screen and (min-width: 2560px) {#nav_pane{width: 380px;}}

#top_nav{
    background-color: #169;
    overflow: hidden;
    position: fixed;
    width: 100%;    
    z-index: 2;
}
#top_nav a {
    float: left;
    color: white;
    text-align: center;
    padding: 4px 6px;
    text-decoration: none;
    font-size: 1.5em;
    font-family: "Trebuchet MS", Verdana, sans-serif;
}
#top_nav a.split {
    float: right;
    color: white;
    text-align: center;
    padding: 4px 6px;
    text-decoration: none;
    font-size: 1.5em;
    font-family: "Trebuchet MS", Verdana, sans-serif;
}
#top_nav a:hover {
    background-color: #169;
    color:  #eee;
}
#top_nav a.active {
    background-color: #169;
    color: white;
}
#top_nav a:focus {
    text-decoration: underline;
}
#searchInput{
    float: left;
    margin: 4px 6px;
    text-decoration: none;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.modal_image {
    margin: auto;
    display: block;
    width: 97%;
    /*max-width: 700px;*/
}
#modal_image_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
.modal_image, #modal_image_caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}
.modal_close_btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
}
.modal_close_btn:hover,
.modal_close_btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
#footer {
    clear: both;
    border-top: 1px solid #bbb;
    font-size: 0.9em;
    color: #aaa;
    padding: 5px;
    text-align:center;
    background:#fff;
}