body {
    background-color: #cce0cc;
    margin: 0;
}

body, input, select, optgroup, textarea {
    font-size: 1rem;
    line-height: 2em;
    color: #2d3748;
}

:focus-visible {
    border-color: #b4c7b4;
    outline: 0;
}

a {
    text-decoration: none;
    color: #363e36;
}

div.x, div.maximize {
    font-size: 15px;
    line-height: 1em;
    margin-right: 10px;
    margin-top: 10px;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #cce0cc;
    min-height: 80px;
}

header li {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
}

#main-header {
    display: ruby;
    list-style-type: none;
}

#container {
    padding: 1.5rem;
}

#popup {
    background-color: white;
}

#popup.shown {
    position: fixed;
    min-width: 70%;
    min-height: 70%;
    left: 15%;
    top: 15%;
    border: 1px solid #b4c7b4;
    border-radius: .375em;
}

#popup:not(.shown) {
    display: none;
}

#wrapper {
    height: 100%;
}

#popup #popup-error {
    color: red;
}

ul#main-header > li {
    cursor: pointer
}

.money {
    color: #e812bd;
}

iframe.article {
    width: 100%;
    height: 90%;
}

div#wrapper {
    line-height: 2em;
}

.maximize, .x {
    width: 13px;
    height: 13px;
    border: 1px solid #cce0cc;
    float: right;
    cursor: pointer;
    padding: 2px;
}

#header-table {
    min-height: 80px;
    float: right;
}

@keyframes slideaway {
  from { display: block; }
  to { transform: translateY(-20px); opacity: 0;}
}

#header-message {
    background-color: #bdbdbd;
    color: red;
    font-weight: bold;
    display: none;
    position: absolute;
    right: 20px;
    border-radius: 20px;
    padding: 0px 10px;
    line-height: normal;
}

#header-message.shown {
    display: block;
}

#header-message:not(.shown), #header-message p.hide {
    animation: slideaway 2s;
}

#header-message p.hide {
    display: none;
}

#header-x:not(.shown) {
    display: none;
}

.post {
    padding: 20px 0px;
}

.post:nth-child(odd) {
    background-color: #c0d3c0;
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-top: 1px solid #bcc9bc;
    border-bottom: 1px solid #bcc9bc;
}

.post.current {
    border: 1px solid rgb(238, 162, 162);
}

.post.current:hover {
    border: 1px solid red;
}

.message-count {
    border-radius: 50%;
    background-color: red;
    height: 25px;
    width: 25px;
    display: inline-block;
    text-align: center;
}

div.message {
    border: 1px solid black;
    background-color: lightgreen;
}

div.message.unread {
    border: 1px solid red;
    background-color: white;
}

input[type=submit], input[type=button], input[type=file] {
    align-items: center;
    appearance: none;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: .375em;
    box-shadow: none;
    box-sizing: border-box;
    color: #363636;
    cursor: pointer;
    display: inline-flex;
    font-family: BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1rem;
    height: 2.5em;
    justify-content: center;
    line-height: 1.5;
    padding: calc(.5em - 1px) 1em;
    position: relative;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}

input[type=submit]:active, input[type=button]:active, input[type=file]:active {
    background-color: #363636;
    color: #fff;
}

input[type=submit]:active, input[type=button]:active {
    border-color: #4a4a4a;
    outline: 0;
}

input[type=submit]:focus, input[type=button]:focus {
    border-color: #b4c7b4;
    outline: 0;
}

input[type=submit]:hover, input[type=button]:hover {
    border-color: #b5b5b5;
}

input[type=button], input[type=submit] {
    text-transform: uppercase;
}

div#popup-content, div#popup-error {
    padding: 0px 20px;
}

#popup-title span {
    margin-left: 20px;
    text-transform: uppercase;
}

#popup form {
    display: grid;
}

form input, form textarea {
    border: 1px solid #dbdbdb;
    border-radius: .375em;
    box-shadow: none;
    box-sizing: border-box;
    color: #363636;
    margin-bottom: 20px;
    text-indent: 10px;
    font-size: 15px;
}
