/** Default style **/
:root {
    --body-width: 80vw;
    --nav-width: 14rem;
    --nav-text-shadow: 1px 1px 1px #a8a8a8;
}
html {
    background: url('../images/background-image.jpg') no-repeat left fixed;
}
body {
    background: transparent;
    font-family: 'Trebuchet MS', Sans-Serif;
    font-size: 1rem;
    color: black;
    margin: 0px 0px 10px 0px;
    padding:0px;
}
div.body-content {
    width: var(--body-width);
    max-width: 80rem;
    margin: 0.8rem auto;
    border: 1px solid #deb887;
    border-radius: 0.8rem;
    background: #faebd7;
}
div.main.content {
    max-width: 80rem;
    margin: auto;
}

header {
   padding: 1rem;
   height: 6rem;
   font-size: 1.5rem;
   font-weight: bold;
   color: #fff;
   background: url('../images/header-fly.png');
   background-color: #3b3e63;
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center;
   background-position-y: bottom;
   border-top-left-radius: 0.8rem;
   border-top-right-radius: 0.8rem;
   box-shadow: 0px 3px 3px #000;
}
div.header {
    color: #d7f2ff;
    text-shadow: 1px 1px 1px black;
    font-size: xx-large;
}

div.header a {
    text-decoration: none;
    color: unset;
}

main {
    padding: 0.5rem 1rem;
    width: calc(100% - var(--nav-width) - 1rem);
    float: right;
    /*margin-right: 5%;*/
}
main img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 30rem) {
   main {
    float: none;
    width: 90%;
  }
}

@media screen and (max-width: 64rem) {
    main {
        margin-right: 0;
        width: 90%;
        float: none;
    }
}
#login-info {
    float: right;
    margin-right: 0.8rem;
}
nav {
    margin: 1rem 0;
    width: var(--nav-width);
}
nav li:before {
    padding-right: 0.2rem;
    content: '»';
    text-shadow: var(--nav-text-shadow);
}
nav ul {
    margin: auto auto auto -25px;
    white-space: nowrap;
}
nav a {
    text-decoration: none;
    color: #000;
    text-shadow: var(--nav-text-shadow);
}
nav a:hover {
    text-decoration: underline;
}

nav ul {
    list-style-type: none;
    font-family: 'Trebuchet MS', Sans-Serif;
    font-size: 1rem;
}

nav ol li {
    margin: auto auto auto -25px;
}
nav ol {
    list-style-type: none;
}

nav .unpublished a {
    color: #c0c0c0;
}

nav ul.moving {
    cursor:pointer;
    background-color:#fff;
    font-size: 1rem;
    font-family: 'Trebuchet MS', Sans-Serif;
}

section.personcard {
    display: grid;
    grid-template-columns: 6rem auto;
}
section h4 {
    grid-column: span 2;
}

div.th {
    font-weight: bold;
    text-align: right;
    margin: 0 1rem 0;
}
div#self-image {
    padding: 0 0 1rem 0;
}
div#self-image img {
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1rem;
}
footer div#doo1 p {
    padding: 0 0.5rem;
}
.drag {background-color:#fff;}
.nCollapse {background-color:#ddd; color:red;}
.unlocked {background-color:#cfc;}

.header_common {
    font-weight: bold;
    font-size: larger;
}
div.error_string {
    background-color: transparent;
    display: inline;
    color: red;
}

#toolbar {
    display: block;
}
.toolbar-left {
    display: inline;
    margin-right: 30%;
}
.toolbar-right {
    display: inline;
    margin-left: 40%;
}

footer {
    text-align: center;
    margin 0 auto 0 auto;
    clear: both;
}

#adduser {
    margin: 0.5em auto 0.5em auto;
}

#closewindow {
    margin: 0.5em auto 0.5em auto;
}

#comment_form {
    margin-top: 1em;
    margin-left: 3em;
}

.comment_info {
    background: #c0c0c0;
    border-bottom: 1px solid black;
    padding: 5px;
}
.comment_anchor {
    text-align: right;
}
.comment_content {
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 5px;
}

#filebrowser {
    width: 100%;
    height: 300px;
    overflow: scroll;
}
pre, .kode { 
    background-color: #f5f5f5;
    padding: 10px;
    border: 1px dotted gray;
    font-family: 'courier new', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
.note {
    background-color: #fafafa;
    padding: 2px 2px 2px 20px;
    margin-left: 20px;
    border: 1px solid black;
    font-size: 0.9rem;
}
#spr1 {
    padding-top: 20px;
}
#doo1 p {
    font-size: 8pt;
}

@media print {

header { display: none; }
nav { display: none; }
#doo1 { display: none; }
html > body main { margin-left: 2rem; }

}
