/*
 * Main CSS style definitions
 */


/* #navmenu: The main (top) navigation bar */
#navmenu {
  position: absolute;
  height: 30px;
  top: 15px;
  right: 1ex;
  text-align: right;
  vertical-align: middle;
  z-index: 2;
}

#navmenu-background {
    position: absolute;
    height: 70px;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 0;

    color: #F5F5DC;
    background-color: #F5F5DC;
}

/* Clear any unwanted text decoration in picture links */
div#navmenu a {
    text-decoration: none;
}


/* Dummy spacer element for the navigation bar */
#navbardummy {
    margin-left: 30px;
}

/* End of navmenu styles */

/* 
 * The main content body. KEEP IN SYNC WITH mainbody-top
 */
#mainbody {
    position: absolute;
    top: 70px;
    left: 50ex;
    width: 53ex;
    padding-left: 8ex;
    padding-right: 8ex;
    padding-bottom: 3ex;
    padding-top: 5ex;
 
    text-align: justify;
    color: #707070;
    background-color: #FFF8DC;
}

/* 
 * Top part of the main body (above the main body behind the navmenu)
 * KEEP IN SYNC WITH mainbody
 */
#mainbody-top {
    position: absolute;
    top: 0px;
    left: 50ex;
    height: 70px;
    width: 69ex;
    background-color: #FBF297;
    color: #FBF297;
    z-index: 1;
}

div#mainbody h1 {
    /* font-family: "Bauhaus Md BT",Bauhaus,"Futura Hv BT",Futura,Arial,sans-serif; */
    font-family: sans-serif;
    text-transform: lowercase;
    font-style: normal;
    font-weight: bold;
    font-size: small;
    text-align: left;
}

div#mainbody h2 {
    font-family: sans-serif;
    text-transform: lowercase;
    font-style: normal;
    font-weight: bold;
    font-size: small;
}

/* We abuse the <h4> heading for large headings */
div#mainbody h4 {
    font-family: sans-serif;
    text-transform: lowercase;
    font-style: normal;
    font-size: large;
    text-align: right;
}

div#mainbody p {
    padding-left: 5ex;
    text-align: justify;
}

div#mainbody a {
    color: #6495ED;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
}

div#mainbody a:active {
    color: #483D8B;
    text-decoration: none;
}

div#mainbody a:visited {
    color: #E9967A;
    text-decoration: none;
}

div#mainbody a:hover {
    color: #483D8B;
    text-decoration: none;
}

/* End of mainbody styles */

/* Submenu area (within the navigation bar */
#submenu {
    position: absolute;
    top: 45px;
    left: 4ex;
    font-family: sans-serif;
    font-size: 16px;
    color: #bebebe;
    text-align: left;
    z-index: 3;
}

div#submenu a {
    color: #bebe00;
    text-decoration: none;
    text-transform: lowercase;
    font-weight: bold;
    margin-right: 3px;
}

div#submenu a:active {
    color: #000000;
    text-decoration: none;
}

div#submenu a:visited {
    color: #bebebe;
    text-decoration: none;
}

div#submenu a:hover {
    color: #000000;
    text-decoration: none;
}

/* End of submenu styles */

        
/* entry styles for article-like entries */
.entry-header {
    font-size: normal;
    font-family: sans-serif;
    text-transform: lowercase;
    font-weight: bold;
    text-align: left;
    /* positioning */
    position: relative;
    left: -1ex;
    width: 100%;
    padding-left: 1ex;
    padding-bottom: 0.3ex;
    padding-top: 0.3ex;
    margin-top: 2ex;
    margin-bottom: 2ex;
    
    background-color: #FBF297;
}

div#entry a {
    color: #bebe00;
    text-decoration: none;
    font-weight: bold;
    margin-right: 3px;
}

div#submenu a:active {
    color: #000000;
    text-decoration: none;
}

div#submenu a:visited {
    color: #bebebe;
    text-decoration: none;
}

div#submenu a:hover {
    color: #000000;
    text-decoration: none;
}

.entry {
    padding-left: 5ex;
    padding-right: 4ex;
    text-align: justify;
    margin-bottom: 2ex;
}

.entry-part {
    margin-top: 2ex;
}

.entry-footer {
    text-align: right;
    font-family: sans-serif;
    font-size: small;
    font-weight: bold;
    padding-right: 2ex;
}

/* end of entry styles */

/* Items shown on the left side of the text */
.sideitem {
    position: absolute;
    width: 35ex;
    left: -43ex;
    float: right;
    font-style: italic;
}

/* Special formatting used for picture captions on sideitems */
.side-caption {
    padding: 3ex;
}

/* Show images without any borders */
img {
    border-style: none;
    text-decoration: none;
}

/* Global page settings */
body {
    /* background-image: url(../pictures/background_inverted.png); */
    background-repeat: repeat;
    background-attachment: fixed;
    /* background-color: #feead6; */
    color: #707070;
    background-color: #FFFFFF;
}