body {
    margin: 0px;
    background: #FFF;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #058;
    font-weight: bold;
    text-decoration: none;
}

.nobreak {
    white-space:nowrap;
}

a:hover {
    background: #058;
    color: #FFF;
    border-radius: 4px;
    margin: -5px;
    padding: 5px;
}

a:active {
    background: #000;
    color: #FFF;
    border-radius: 4px;
    margin: -5px;
    padding: 5px;
}


/* -------------------------------------------- */

.titlebar {
    display: block;
    height: 100px;
    background: #6dadce url('title-background.png') repeat-x;
    right: 0px;
    left: 0px;
    top: 0px;
    overflow: visible;
    white-space: nowrap;
    color: #FFF;
    font-family: Palatino, Times New Roman, serif;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.7);
}

.titlebar > .leader {
    position: absolute;
    top: 22px;
    left: 64px;
}

.titlebar > .title {
    font-variant: small-caps;
    font-size: 40px;
    position: absolute;
    top: 32px;
    left: 30px;
}

.titlebar > .motto {
    position: absolute;
    top: 74px;
    left: 305px;
    font-style: italic;
}

/* -------------------------------------------- */

ul.mainmenu {
    display: block;
    top: 100px;
    left: 0px;
    right: 0px;
    height: 40px;
    margin: 0px;
    background: #CCC url('mainmenu-background.png') repeat-x;
    list-style: none;
    border-top: 1px solid;
    border-bottom: 1px solid;

    /* This triggers clearing the float (http://www.quirksmode.org/css/clearing.html) */
    overflow: auto;
}

.mainmenu > li {
    width: 25%;
    float: left;
    text-align: center;
    margin-top: 10px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}


/* -------------------------------------------- */

div.masthead {
    position: absolute;
    top:      142px;
    width: 180px;
    right: 0px;
    font-size: 12px;
    padding-left: 10px;
    padding-bottom: 100px;
    border-left: 1px solid;
}

.masthead > .position {
    padding-top: 15px;
    text-transform: uppercase;
}

.masthead > .person {
    padding-top: 10px;
}

.masthead > .person, .masthead > .affiliation, .masthead > .country {
    padding-left: 10px;
}

.masthead > .affiliation, .masthead > .country {
    font-size: 80%;
    padding-left: 10px;
}

.masthead > .country {
    text-transform: uppercase;
}

/* ----------------------------------------------- */

h1 {
    font-family: Palatino, Times New Roman, serif;
    font-size: 26px;
    line-height: 26px;
    width: 100%;
    margin-top: 30px;
    padding-bottom: 4px;
    border-bottom: 1px solid #444;
}

h2 {
    margin-top: 30px;
    margin-bottom: 8px;
}

div.content {
    color: #444;
    line-height: 140%;
    left: 0px;
    padding-top: 10px;
    padding-left: 40px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    background: #FFF;
    padding-right: 235px;
    padding-bottom: 40px;
    text-align: justify;
    text-justify: distribute;
    font-size: 13px;
}

form.content {
    padding-left: 40px;
    padding-right: 235px;
}

span.button {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid black;
    border-radius: 10px;
    box-shadow: 1px 1px gray;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    width: 110px;
    text-align: center;
}
span.off {
    color: #056;
    background: #FFF;
}
span.on {
    color: #FFF;
    background: #056;
}
    

li {
    padding-bottom: 5px;
}

/* ----------------------------------------------- */

div.toc {
  width: 200px;
  float: right;
  border: 1px solid black;
}
