@font-face {
    font-family: "PXMSansSerif";
    src: url("/static/sans.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BTFMarlett";
    src: url("/static/marlett.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    overflow-y: hidden;
    background-color: #008080;
    background-image: url('/static/bg.png');
    background-size: auto;
    background-repeat: repeat;
    image-rendering: pixelated;
    font-family: "PXMSansSerif" !important;
    margin: 0;
}

table {
    table-layout: fixed;
    width: 100%;
    height: 100vh;
    border: 0;
}

.block {
    width: 50vw; 
    min-width: 500px;
    height: 50vh;
    display: block; 
}

.outset {
    background-color: #c0c0c0;
    padding: 1px;
    
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    
    box-shadow: 
        inset 1px 1px #dfdfdf,
        inset -1px -1px #808080;

    outline: none;
}

.inset,
input,
.button:active {
    background-color: #ffffff;
    padding: 2px 0px 0px 2px;

    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;

    box-shadow:
        inset 1px 1px #000000,
        inset -1px -1px #dfdfdf;

    outline: none;
}

.button {
    font-family: "PXMSansSerif" !important;
    user-select: none;
    cursor: pointer;
}

td.footer {
    height: 1px;
}

div.footer {
    margin-left: 0;
    margin-right: 0;
    height: 20px;
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    box-shadow: 0 -1px 0 0 #808080;
    user-select: none;
}

.title {
    background: linear-gradient(90deg, #000040 0%, #000010 100%);
    margin-top: 1px;
    width: calc(100% - 2px);
    height: 18px;
    font-size: 14px;
    user-select: none;
    color: #ffffff;
}

.title span {
    float: left;
    line-height: 18px;
    margin-left: 4px;
}

.title div {
    float: right;
    margin-right: 2px;
}

.title .button {
    width: 16px;
    height: 14px;
    margin-top: 2px;
    font-family: "BTFMarlett" !important;
    font-size: 11px;
    line-height: 10px;
}

.menu {
    font-size: 14px;
    border-bottom: 1px solid #808080;
    box-shadow: 0 1px 0 0 #ffffff;
    width: 100%;
    height: 20px;
    user-select: none;
}

.menu a {
    float: left;
    padding: 2px 4px;
    text-decoration: none;
    color: #000000;
}

.menu a.current {
    text-decoration: underline;
}

.menu a:active {
    background-color: #ffffff;
}

.body {
    margin: 2px;
    height: calc(100% - 44px);
    overflow-y: auto;
}

.body-title {
    margin-top: 5px;
    margin-left: 5px;
    float: left;
    font-size: 20px;
}

::-webkit-scrollbar {
    width: 16px;
    background-color: #c0c0c0;
}

::-webkit-scrollbar-track {
    background-color: #dfdfdf; 
    box-shadow: inset 1px 1px #808080, inset -1px -1px #ffffff;
}

::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080;
}

::-webkit-scrollbar-thumb:active {
    background-color: #c0c0c0;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    box-shadow: inset 1px 1px #000000;
}

::-webkit-scrollbar-button:single-button {
    background-color: #c0c0c0;
    display: block;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    box-shadow: inset 1px 1px #dfdfdf, inset -1px -1px #808080;
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;}

::-webkit-scrollbar-button:vertical:single-button:active {
    background-color: #ffffff;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    box-shadow: inset 1px 1px #000000;
    background-position: calc(50% + 1px) calc(50% + 1px);
}

.register {
    width: 245px;
    height: 105px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -122px;
    margin-top: -52px;
}

.download {
    width: 144px;
    height: 73px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -72px;
    margin-top: -40px;
}

.field-row {
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    clear: both;
}

.register label {
    display: inline-block;
    width: 70px;
    vertical-align: middle;
}

.register input {
    font-family: "PXMSansSerif" !important;
    width: 150px;
    vertical-align: middle;
}

.register button {
    float: right;
    margin-right: 5px;
    margin-bottom: 5px;
}

.download button {
    margin-bottom: 5px;
}

.body p,
.body ul {
    clear: both;
    float: left;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 0;
    padding: 0;
}

.body ul li {
    clear: both;
    float: left;
    text-align: left;
    padding: 0;
    margin: 0 0 0 5px;
}

.body ul {
    list-style: none;
}

.body a {
    color: #000000;
    font-weight: bold;
}

.side-menu {
    float: left;
    width: 23%;
    height: 100%;
    border-right: 1px solid #808080;
    box-shadow: 0 0 0 1px #ffffff;
}

.body.docs-body {
    margin: 0 2px !important;
    height: calc(100% - 40px) !important;
    overflow: hidden;
}

.docs-container {
    float: right;
    width: calc(77% - 6px);
    height: calc(100% - 6px);
    overflow-y: auto;
    padding: 2px;
}

.side-menu a {
    clear: both;
    float: left;
    text-align: left;
    margin-left: 2px;
}

.side-menu a:first-child {
    margin-top: 4px;
}

.docs-container ul li ul {
    margin-top: 0;
}

.docs-container p {
    font-weight: bold;
    scroll-margin-top: 4px;
}