@font-face {
    font-family: "C64 Pro Mono";
    src: url("/img/font/C64_Pro_Mono-STYLE.eot?#iefix") format("embedded-opentype"),
    url("/img/font/C64_Pro_Mono-STYLE.woff2") format("woff2"),
    url("/img/font/C64_Pro_Mono-STYLE.woff") format("woff"),
    url("/img/font/C64_Pro_Mono-STYLE.ttf") format("truetype"),
    url("/img/font/C64_Pro_Mono-STYLE.otf") format("opentype");
}

body {
    background-color: black;
    color: #808040;
    text-align: center;
}

table {
    margin: auto;
    width: auto;
}

table.wide {
    width: 100%;
}

table.min30 {
    min-height: 30em;
}

td.left, td.right {
    text-align: center;
    width: 20%;
}

td.bottom {
    vertical-align: bottom;
}

div#toaster {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: small;
}

div#quotes {
    font-family: verdana, arial, helvetica, sans-serif;
}

div#c64bezel {
    background-image: url("/img/c64v1701.png");
    background-repeat: no-repeat;
    background-size: 830px;
    margin: auto;
    width: 830px;
    display: inline-block;
}

div#c64screen {
    font-family: "C64 Pro Mono", courier, monospace;
    font-size: 16px;
    line-height: 16px;
    color: #887ecb;
    text-align: left;
    display: inline-block;
    background-color: #887ecb;
    padding: 40px 64px;
    margin: 87px 0 268px;
    vertical-align: middle;
    transform: scale(0.83, 1);
    border-radius: 12px;
    height: 400px;
    width: 640px;
}

div#c64screen a:visited,
div#c64screen a:link {
    color: #887ecb;
    text-decoration: none;
}

div#c64screen > div {
    background-color: #50459B;
}

div#c64screen > div > div {
    background-color: #50459B;
    white-space: pre;
}

div#c64screen a:hover {
    text-decoration: none;
    background-color: #887ecb;
    color: #50459B;
}

div#c64screen > div > div > span.head > a:hover {
    background-color: #50459B;
    color: #887ecb;
}

div#c64screen > div > div > span.head {
    color: #50459B;
    background-color: #887ecb;
    display: inline-block;
}

div#c64screen span.head a:visited,
div#c64screen span.head a:link {
    color: #50459B;
}

div#c64screen > div > div > span.cursor {
    animation: blinker 0.66667s step-start infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.crt::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    border-radius: 12px;
}

@keyframes flicker {
    0% {
        opacity: 0.87;
    }
    5% {
        opacity: 0.94;
    }
    10% {
        opacity: 0.83;
    }
    15% {
        opacity: 0.89;
    }
    20% {
        opacity: 0.78;
    }
    25% {
        opacity: 0.33;
    }
    30% {
        opacity: 0.85;
    }
    35% {
        opacity: 0.97;
    }
    40% {
        opacity: 0.86;
    }
    45% {
        opacity: 0.84;
    }
    50% {
        opacity: 0.96;
    }
    55% {
        opacity: 0.28;
    }
    60% {
        opacity: 0.91;
    }
    65% {
        opacity: 0.81;
    }
    70% {
        opacity: 0.93;
    }
    75% {
        opacity: 0.27;
    }
    80% {
        opacity: 0.71;
    }
    85% {
        opacity: 0.78;
    }
    90% {
        opacity: 0.70;
    }
    95% {
        opacity: 0.86;
    }
    100% {
        opacity: 0.44;
    }
}

.crt::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
    border-radius: 12px;
}

div.tarot {
    display: inline-block;
    vertical-align: middle;
    margin: 1em;
}

.sig {
    font-size: xx-small;
}

.smalltext {
    font-size: small;
}

body#mdb {
    color: #000040;
    /*background-image: url(/~dalek242/img/bg/escher1-blue.gif);*/
    background-color: #ccc;
    text-align: left;
    font-family: verdana, arial, helvetica, sans-serif;
}

body#mdb h4 {
    text-align: center;
}

body#mdb h5 {
    font-weight: normal;
    text-align: center;
    margin: -1em 0 0;
}

body#mdb div.select-format {
    margin: 1em 0;
    font-size: small;
    text-align: center;
}

div.footer {
    font-size: x-small;
    text-align: center;
    margin: 1em 0 0;
}

div.edit-link {
    font-size: x-small;
    float: right;
}

div#album-identity {
    font-size: small;
    font-style: italic;
}

div#album-title {
    margin: 1em 0;
}

table#album-info {
    width: 100%;
}

table#album-info, table#album-info th, table#album-info td {
    border: 1px solid grey;
}

table#album-info td {
    background-color: #b0d0f0;
    font-size: small;
    white-space: pre-line;
    width: 50%;
}

div#mdb-album {
    text-align: left;
    position: relative;
    margin: auto;
    width: 800px;
}

body#mdb div.missing {
    color: darkred;
}

body#mdb a.selected {
    text-decoration: none;
    font-weight: bold;
    color: black;
    pointer-events: none;
    cursor: default;
}

body#mdb .artist-name {
    font-weight: bold;
}
