@keyframes fadein {
    from { opacity:0; }
    to { opacity:1; }
}
@keyframes delayedfadein {
    0% { opacity:0; }
    70% { opacity:0; }
    100% { opacity:1; }
}
:not(input)::selection {
    color: #ffffff;
    background: #333333;
    text-shadow: none;
}

html {
    font-family: 'ftSans', 'Source Sans Pro', 'Helvetica Neue', 'Helvetica', 'Verdana', 'Arial', sans-serif;
    font-size: 10pt;
    min-height: 100%;
    position: relative;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #F7F7F7;
}
#container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
#header {
    background: #666666 url(hdrbg.png) top left repeat;
    background-image: url(hdrbg.svg), linear-gradient(transparent, transparent);
    position: fixed;
    width: 100%;
    min-height: 3em;
    top: -1px;
    left: 0;
    z-index: 100;
    text-align: center;
    cursor: default;
}
#footer {
    background: #666666 url(hdrbg.png) top left repeat;
    background-image: url(hdrbg.svg), linear-gradient(transparent, transparent);
    position: fixed;
    width: 100%;
    min-height: 2em;
    bottom: 0;
    left: 0;
    text-align: center;
    padding-top: 1em;
    color: #EEEEEE;
    text-shadow: 1px 1px #333333;
    z-index: 101;
    cursor: default;
}
#sidebar {
    float: left;
    background: #cccccc url(login.png) top left repeat;
    background-image: url(login.svg), linear-gradient(transparent, transparent);
    height: 100%;
    min-width: 21%;
    text-align: center;
    /*animation: fadein 0.5s;*/
    z-index: 50;
}
#border {
    background: transparent url(brdbg.png) top right repeat-y;
    background-image: url(brdbg.svg), linear-gradient(transparent, transparent);
    float: right;
    width: 10px;
    height: 100%;
}
#content4 {
    background-color: #f7f7f7;
    width: 100%;
    height: 100%;
}
#content3 {
    overflow: auto;
    text-align: center;
    height: 100%;
    position: relative;
}
#content2 {
    display: inline-block;
    text-align: center;
    height: 90%
}
#content1 {
    display: table;
    height: 100%;
}
#content0 {
    display: table-cell;
    vertical-align: middle;
    padding: 3em 1em 3em 1em;
}
#headlogo {
    display: none;
    padding: 0.5em 0.5em 0 0.5em;
}
#necklogo {
    display: none;
    padding: 1em 0.5em 1em 0.5em;
}
#headlabel {
    display: none;
    color: #FFFFFF;
    text-shadow: 1px 1px #333333;
    padding: 0 0.5em 0.4em 0.5em;
}
#sidelogo {
    float: none;
    position: relative;
    top: 5em;
    color: #333333;
    text-shadow: 1px 1px #E3E3E3;
}
#sidelogo::after {
    content: "\APowered by OpenBSD";
    white-space: pre;
    font-style: italic;
}
#sidelabel {
    height: 90%;
    color: #333333;
    text-shadow: 1px 1px #E3E3E3;
    padding-left: 2em;
    padding-right: 2em;
}
div.label {
    position: relative;
    top: 35%;
    font-size: 1.9em;
    font-weight: 600;
    min-width: 25ex;
    cursor: default;
}
span.sublabel {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    cursor: default;
}
div.build {
    position: absolute;
    min-width: 21%;
    left: 0;
    text-align: center;
    cursor: default;
    bottom: 5.5em;
    font-family: 'ftMono', 'Source Code Pro', monospace;
    font-size: 0.85em;
    display: none;
}
#top_menu {
    position: absolute;
    top: 3em;
    right: 0;
    margin: 0;
    padding: 0.2em 0.2em;
    background: #ffffff;
    border: 1px solid #eeeeee;
}
a.top_menu_item {
    text-align: left;
    display: inline-block;
    padding-top: 0.3em;
    padding-bottom: 0.5em;
    padding-left: 0.7em;
    padding-right: 1.2em;
    color: #333333;
    text-decoration: none;
    background: #e0e0e0;
    cursor: pointer;
    outline: none;
    text-shadow: 1px 1px 1px #d0d0d0;
}
a.top_menu_item:hover {
    color: #000000;
    background: #d7d7d7;
    text-shadow: 1px 1px 1px #c7c7c7;
}
a.top_menu_item > span.top_menu_label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 130%;
}
a.top_menu_item > span.top_menu_sublabel {
    display: block;
    font-size: 0.95em;
}
#footer a {
    color: #EEEEEE;
    text-shadow: 1px 1px #333333;
}
@media screen and (max-width:100ex) {
    #sidebar {
        display: none;
    }
    #header {
        position: absolute;
        top: -1px;
    }
    #headlogo {
        padding-top: 0.9em;
    }
    #headlabel, #headlogo, #necklogo {
        display: block;
    }
    #content1 {
        top: 4em;
    }
    #content0 {
        padding-top: 7em;
        padding-bottom: 5em;
    }
    #footer {
        position: absolute;
    }
    #ftcopy {
        position: static;
    }
    body, #container {
        width: auto;
    }
    div.build {
        display: none;
    }
}
@media screen and (max-height:25em) {
    #header {
        display: none;
    }
    #footer {
        bottom: 1em;
        left: 0;
        clear: left;
        min-height: 1em;
        min-width: 21%;
        padding-top: 0;
        background: none;
        margin-top: 1em;
        margin-left: 0.15em;
        margin-right: 0.15em;
        color: #666666;
        text-shadow: 1px 1px #EEEEEE;
    }
    #sidelogo {
        top: 1em;
    }
    #sidelabel {
        top: 2em;
    }
    #content4, #content3, #content1 {
        width: auto;
        height: auto;
    }
    body, #container, #header, #footer {
        width: auto;
    }
    #content0 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #content1 {
        position: static;
        margin-top: 0.5em;
        margin-bottom: 1.6em;
    }
    div.build {
        display: none;
    }
    @media screen and (max-width:100ex) {
        #sidebar {
            display: none;
        }
        #content1 {
            margin-top: 1.6em;
        }
        #header {
            display: block;
            position: static;
        }
        #headlabel, #headlogo, #necklogo {
            display: block;
        }
        #footer {
            position: static !important;
            color: #999999 !important;
            text-shadow: 1px 1px #EEEEEE !important;
        }
    }
}


#content {
    display: none;
    animation: fadein 1s;
}
.warning {
    color: #DD1111;
    font-size: 1.2em;
}
#nojs {
    max-width: 72ex;
    animation: delayedfadein 5s;
}
#box {
    margin-left: auto;
    margin-right: auto;
    display: table;
/*  background: #E9E9E9 url(frmbg.png) repeat;
    border: 1px solid #CCCCCC;*/
    -moz-border-radius: 4px;
    border-radius: 4px 4px;
}
#input {
    text-align: right;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    padding-left: 1em;
    padding-right: 1em;
/*    -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);*/
}
#link {
    position: absolute;
    z-index: 450;
    top: 63px;
    right: 0.5em;
}
#link a {
    color: #333333;
    font-size: 0.85em;
}
#nosogolanglist {
    display: none;
}
div.title {
    color: 000000;
    font-size: 1.6em;
    font-weight: 300;
    margin-bottom: 1.5em;
    text-align: center;
    cursor: default;
    text-shadow: 0.75px 0.75px #CCCCCC;
}
div.title>span.subtitle {
    display: block;
    text-shadow: none;
    font-size: 0.7em;
    color: #666666;
    cursor: default;
}
div.input {
    position: relative;
    top: -1em;
    white-space: nowrap;
    margin-bottom: 0.2em;
}
div.input>label {
    display: block;
    text-align: left;
    font-size: 120%;
    position: relative;
    bottom: -1.1em;
    cursor: default;
}
div.input>select {
    display: block;
    padding: 0.1em 0.1em;
    width: 100%;
}
div.input>input[type=text], div.input>input[type=password] {
    font-family: 'ftMono', 'Source Code Pro', monospace;
    font-size: 125%;
    font-weight: 400;
    display: block;
    width: 15em;
    padding-left: 0.2em;
}
div.input>input[type=text]::placeholder,
  div.input>input[type=password]::placeholder {
    color: #999999;
    font-family: 'ftSans', 'Source Sans Pro', 'Helvetica Neue', 'Helvetica', 'Verdana', 'Arial', sans-serif;
    font-weight: 400;
    font-size: 0.85em;
    vertical-align: middle;
}
div.submit {
    margin-top: 1em;
}
div.appname {
    color: #333333;
    font-size: 2em;
    font-weight: 600;
    text-shadow: 1px 1px #DDDDDD;
}
div.appdescr {
    color: #333333;
    font-size: 0.9em;
}
input[type=text], input[type=password] {
    background: #FFFFFF;
    font-size: 1.05em;
    border: 1px solid rgba(0, 0, 0, 0.53);
    -moz-border-radius: 2px;
    border-radius: 2px 2px;
    width: 12em;
    padding-left: 0.2ex;
    padding-top: 0.2ex;
    padding-bottom: 0.2ex;
    outline: none;
}
input[type=text]:focus, input[type=password]:focus {
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
}
input[type=submit], #dlbutton {
    overflow: visible;
    font-size: 1em;
    display: inline-block;
    white-space: nowrap;
    background-color: #cccccc;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
    background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
    background-image: linear-gradient(top, #eeeeee, #cccccc);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
    border: 1px solid #777777;
    padding: 0.3em 1.0em;
    margin: 0;
    margin-top: 0.3em;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
    -webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
    box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
    cursor: pointer;
}
input[type=submit]:hover, #dlbutton:hover {
    background-color: #dddddd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#dddddd));
    background-image: -webkit-linear-gradient(top, #fafafa, #dddddd);
    background-image: -moz-linear-gradient(top, #fafafa, #dddddd);
    background-image: -ms-linear-gradient(top, #fafafa, #dddddd);
    background-image: -o-linear-gradient(top, #fafafa, #dddddd);
    background-image: linear-gradient(top, #fafafa, #dddddd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');
}
input[type=submit]:focus, #dlbutton:focus {
    outline: 0;
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
}
input[type=submit]:active, #dlbutton:active {
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 1);
    position: relative;
    top: 1px;
}
div.cancel {
    float: left;
    padding-top: 2.2em;
}
div.cancel a {
    color: #333333;
}
#ok {
    margin-top: 2em;
}
#cancel {
}


#msgbox {
    max-width: 72ex;
}
div.msg {
    text-align: left;
}
div.fail {
    font-size: 1.2em;
    color: #DD1111;
    text-shadow: 1px 1px 1px #dddddd;
}
div.msgtitle {
    text-align: center;
    font-size: 1.6em;
    font-weight: 300;
    margin-bottom: 0.75em;
}
div.msglink {
    text-align: right;
    font-size: 1.1em;
    margin-top: 0.75em;
    color: #333333;
    text-shadow: 1px 1px 1px #cccccc;
}
div.msglink a {
    color: #333333;
}


a.menu_item {
    display: inline-block;
    margin: 2em;
    text-decoration: none;
    border: 1px solid transparent;
    outline: 0;
}
a.menu_item_hvr {
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    border-left: 1px solid #FFFFFF;
    border-right: 1px solid #DDDDDD;
    background: #F0F0F0;
    border-radius: 4px;
}
a.menu_item:active, a.menu_item_act {
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #DDDDDD;
    border-right: 1px solid #FFFFFF;
    background: #F0F0F0;
}
a.menu_item:active img.menu_item_image, a.menu_item_act img.menu_item_image {
    position: relative;
    top: 1px;
    left: 1px;
}
a.menu_item:active span.menu_item_label, a.menu_item_act span.menu_item_label {
    position: relative;
    top: 1px;
    left: 1px;
}
a.menu_item:active span.menu_item_sublabel, a.menu_item_act span.menu_item_sublabel {
    position: relative;
    top: 1px;
    left: 1px;
}
img.menu_item_image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0.5em;
}
span.menu_item_label {
    display: block;
    font-size: 1.6em;
    font-weight: 300;
    text-decoration: none;
    text-shadow: 0.75px 0.75px #CCCCCC;
    color: #000000;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-left: auto;
    margin-right: auto;
    min-width: 160px;
}
span.menu_item_sublabel {
    display: block;
    padding-bottom: 1em;
    color: #666666;
    font-size: 0.95em;
}
div.button {
    min-height: 100px;
}

#qsdlbox1 {
    min-height: 16em;
}
#qsdlbox2 {
    min-height: 12em;
}
#qsdlbox3 {
    min-height: 16em;
    margin: 0 auto;  
}
#filename {
    font-size: 2em;
    font-weight: 500;
}
#filesize {
    font-size: 1.5em;
    font-weight: 300;
    padding: 1em 3em 2em 3em;
}
#dlbutton {
    margin-top: 1.2em;
    font-size: 1.2em;
    padding: 0.75em 2em;
}
#dlbuttonsub {
    font-size: 0.85em;
    font-weight: 400;
    text-shadow: none;
    color: #333333;
}
#lang0err {
    max-width: 30em; 
    text-align: left;
    font-size: 1.2em;
    color: #DD1111;
    text-shadow: 1px 1px 1px #dddddd;
}
#lang1err {
    max-width: 32.7em;
    padding-top: 1.5em;
    text-align: left;
    font-size: 1.1em;
    color: #666666;
    text-shadow: none;
}

/* WARNING: this block below gets automatically altered */
#headlogo { /*---logo-choice-marker---*/
    display: none;
}




/* FSHR additions */
#sidelogo::after {
  content: "" !important
}


