body {
  background-image:url('../images/bg.png');
  background-repeat:no-repeat;
  background-position: 1px 0;
}

@media screen and (max-width:992px) {
  body {
    background-position: 1px 70px;
  }
}

.menuBtn {
  transition: 0.3s;
  height: 40px;
}

div.submenu .subMenuBtn {
    height: 30px;
    font-size: small;
    padding: 4px 24px;
    background-color: #0003;
}

div.submenu {
    animation: submenu 300ms ease-in-out forwards;
    transform-origin: top center;
}

@keyframes submenu {
    0% {
        transform: scaleY(0);
    }
    100% {
        transform: scaleY(1);
    }
}

div.w3-main {
  margin-left: 150px;
}

.w3-card {
  background-image: url('../images/box-bg.png');
  background-position: bottom right;
  background-repeat: no-repeat;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.small-box {
    display: inline-block;
    text-align: center;
}

a.menuBtn {
  text-decoration: none;
}

.icon {
  height: 1.12em;
  margin-right: 3px;
  border-radius: 4px;
}

td.formFooter {
  text-align: center;
}

td.formFooter input {
  margin: 2px;
}

.w3-sidebar {
    width:152px;
    background-image:url('../images/side.png');
    background-repeat:no-repeat
}

.w3-sidebar-item {
    background-image:url('../images/top.png');
    height:151px;
}

.menuClose {
    margin-top: 1px; color: #f44;
}

p.content-footer {
    text-align: right;
    font-size: small;
}

div.list-entry-container {
    display: flex;
    min-height: 75px;
}

div.list-entry-left {
    display: flex;
    float: left;
    width: 75px;
    margin: auto 5px;
}

div.list-entry-right {
    display: flex;
    float: right;
}

div.list-entry-text {
    margin: auto 20px;
}

div.list-side-extra {
    margin: auto 0 auto auto;
    text-align: right;
    min-width: 95px;
    border:1px solid black;
}

img.blog-thumb {
    margin: auto;
    width: 100px;
    height: 100px;
    filter: drop-shadow(4px 4px 2px #0007);
}

img.blog-thumb-post {
    float: left;
    margin: 20px 30px 10px 20px;
    width: 100px;
    height: 100px;
    filter: drop-shadow(4px 4px 2px #0007);
}

.archive-date {
    font-size: small;
}

img.avatar {
    border-radius: 25%;
    width: 75px;
    height: 75px;
    box-shadow: 3px 3px 5px 0 var(--col);
}

div.userbox {
    display: flex;
}

div.userbox-left {
    display: flex;
    width: 100%;
}

div.userbox-container {
    margin: auto 10px;
}

div.userbox-container-right {
    margin: auto 10px auto auto;
}

.extra-shadow {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.32),0 2px 10px 0 rgba(0,0,0,0.32);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 5px 0;
}

span.tiny {
    font-size: 65%;
}

table.form td {
    padding: 5px 3px;
}

input, textarea, a.button, button, select {
    color: white;
    background-color: #005677;
    border-radius: 5px;
    border: 1px solid #003950;
    padding: 4px 8px;
    transition: background-color 0.3s;
}

input:hover, textarea:hover, button:hover, a.button:hover, select:hover {
    background-color: #006a90;
}

input:active, a.button:active, button:active {
    background-color: #005f85;
}

input:disabled, a.button:disabled, button:disabled, textarea:disabled, select:disabled {
    background-color: #666;
    cursor: default;
}

a.button {
    margin: 2px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

a.button.red {
    background-color: #501000;
}

a.button.red:hover {
    background-color: #902010;
}

a.button.red:active {
    background-color: #701000;
}

div.extra-right {
    margin-left: auto;
}

div.userbox-container-right > a.button {
    width: 100px;
}

textarea.comment {
    width: 100%;
}

div.month {
    width: 150px;
    overflow: hidden;
    border-radius: 5px;
    display: inline-block;
    margin: 8px 4px;
}

div.month div.header {
    font-weight: bold;
    text-align: center;
}

div.month div.funds {
    padding: 5px;
    text-align: center;
}

div.funds span.max {
    font-size: 75%;
}

div.bar {
    position: relative;
    margin-top: 4px;
    height: 14px;
    overflow: hidden;
    border-radius: 6px;
    background-image: linear-gradient(#555, #777);
}

div.bar div.fill {
    background-image: linear-gradient(#0d0, #050);
    border-radius: 6px;
    height: 100%;
}

div.bar div.text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 70%;
}

table.list {
    border-collapse: collapse;
    margin: 8px;
    overflow: hidden;
}

table.list thead tr {
    font-weight: bold;
    background-color: #007bac;
}

table.list tr.data:nth-child(odd) {
    background-color: #005677;
}

table.list tr.data:nth-child(even) {
    background-color: #007bac;
}

table.list tr.data {
    transition: background-color 0.3s;
}

table.list tr.link {
    cursor: pointer;
}

table.list tr.data:hover {
    background-color: #1dbfff;
}

table.list td.center {
    text-align: center;
}

table.list td.right {
    text-align: right;
}

table.list td {
    padding: 4px 8px;
}

table.list td.amount {
    padding-right: 2px;
}

table.list td.unit {
    padding-left: 2px;
    width: 20px;
}

table.center {
    margin: 8px auto;
}

table.list td.ratio-val {
    font-weight: bold;
    text-align: right;
    padding-right: 0;
    vertical-align: bottom;
}

table.list td.ratio-max {
    text-align: left;
    font-size: 75%;
    padding-left: 0;
    vertical-align: bottom;
    padding-bottom: 6px;
}

.ratio-max::before {
    content: "/";
}

.wk0 { background-color: #ac3000; }
.wk1 { background-color: #ac7900; }
.wk2 { background-color: #aca900; }
.wk3 { background-color: #00ac12; }
.wk4 { background-color: #0097ac; }
.wk5 { background-color: #1200ac; }
.wk6 { background-color: #ac0097; }

div.wiki-toc span.title {
    font-size: medium;
    font-weight: bold;
    padding: 4px;
}

div.wiki-toc ul {
    font-size: small;
}

.rating {
    text-align: center;
    font-weight: bold;
    color: white;
}

.r10 { background-color: #38b0ff; }
.r9 { background-color: #2ddc31; }
.r8 { background-color: #79e500; }
.r7 { background-color: #A4EA00; }
.r6 { background-color: #CFE22E; }
.r5 { background-color: #ffd800; }
.r4 { background-color: #ff9600; }
.r3 { background-color: #ff6100; }
.r2 { background-color: #ff2800; }
.r1 { background-color: #800000; }
.r0 { background-color: #555555; }
