html {
    height: calc(100% - 2px);
}

body {
    background: url("/community/.auxiliary/layout/images/border-left.png") repeat-y scroll 0 0 #ffffff;
    color: #303030;
    font-family: helvetica,arial,lucida,verdana,sans-serif;
    font-size: 10pt;
    font-weight: normal;
    margin: 0;
    padding: 0.1em;
    text-decoration: none;
    height: 100%;
}

#wrapper {
    background: url("/community/.auxiliary/layout/images/border-right.png") repeat-y scroll 100% 0 #ffffff;
    font: 2.3ex/1.5 sans-serif;
    margin-left: 18px;
    min-height: 100%;
    padding-right: 18px;
    position: relative;
}

#container {
    background-color: #ffffff;
    border: 0 none;
    line-height: 130%;
    margin: 10px auto;
    min-width: 800px;
    width: 98%;
    z-index: 0;
}
#top {
    background-color: #ffffff;
    background-image: url("monte_bianco.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    border-top: 10px solid #f9a134;
    border-bottom: 4px solid #4078c3;
    color: #ffffff;
    height: 100px;
    min-width: 800px;
    z-index: 1;
}
#toptitle {
    background: url("/community/.auxiliary/layout/images/EGI-logo_small.png") no-repeat scroll 5% center rgba(0, 0, 0, 0);
    color: #000;
    float: left;
    height: 62px;
    margin: 5px 0 0 10px;
    max-width: 500px;
    padding: 20px 0 0;
    z-index: 2;
}

#pagetitle {
    font-size: 16pt;
    font-weight: bold;
    margin: 10pt;
}
#toptitle h1 {
    color: #0058b1;
    font-size: 25px;
    font-weight: bold;
    margin-top: 18px;
    padding-left: 150px;
    font-family: Calibri;
}
#topsearch {
    float: right;
    height: 80px;
    margin: 0;
    max-width: 300px;
    padding: 0;
    text-align: right;
    z-index: 2;
}
#topnav {
    color: #fff;
    float: right;
    font-size: 13px;
    font-weight: bold;
    height: 30px;
    margin: 0;
    padding: 0;
    text-align: right;
}
#topnav a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
#topnav a:hover {
    text-decoration: underline;
}
#leftnav {
    float: left;
    font-size: 10px;
    margin: 0;
    padding: 10px;
    width: 150px;
}
#leftnav a {
    color: #4078c3;
    font-weight: bold;
    text-decoration: none;
}
#leftnav a:hover {
    text-decoration: underline;
}
#navstats {
    margin-top: 400px;
    text-align: center;
    vertical-align: bottom;
    width: 100%;
}
#navcontainer {
    color: #4078c3;
    margin: 0;
    width: 100%;
}
#navcontainer ul {
    font-family: helvetica,arial,lucida,verdana,sans-serif;
    list-style-type: none;
    margin: 0;
    padding: 1px;
}
#navcontainer li {
    margin: 0;
    padding: 1px;
}
#navcontainer a {
    color: #4078c3;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
#navcontainer a:hover {
    text-decoration: underline;
}
#navcontainer ul ul li {
    margin: 0;
}
#navcontainer ul ul a {
    color: #4078c3;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 5px 10px 25px;
    text-decoration: none;
}
#navcontainer ul ul a:hover {
    text-decoration: underline;
}
#content {
/*    
    border-left: 4px solid #4078c3;
    margin-left: 160px;
    max-width: 800px;
    min-height: 600px;
    padding: 1em;
*/    
    border-left: 4px solid #4078c3;
    height: 100%;
    margin-left: 160px;
    max-width: 800px;
    min-height: 600px;
    padding: 1em;
    position: fixed;
    width: 100%;    
    
}
#bottom_border {
    background: none repeat scroll 0 0 #f9a134;
    border: 1px solid #f9a134;
    bottom: 0;
    display: -moz-grid;
    font-size: 10px;
    height: 14px;
    left: 18px;
    position: fixed;
    text-align: center;
    width: 98%;
}
.nav {
    color: gray;
    font-size: small;
    text-align: right;
}
.nactive {
    background-color: lavender;
    border-bottom: 1px dotted blue;
    color: blue;
    font-size: small;
    text-decoration: none;
}
.ninactive {
    color: gray;
    font-size: small;
}
.nlink {
    color: blue;
    font-size: small;
    text-decoration: none;
}
.nlink:hover {
    background-color: lavender;
    border-bottom: 1px dotted blue;
    font-size: small;
}
.inpage {
    color: blue;
    text-decoration: none;
}
.inpage:hover {
    background-color: mistyrose;
    border-bottom: 1px dotted red;
    color: red;
}
.levbar {
    background-color: gainsboro;
    left: 0;
    top: 0;
    width: 15em;
    margin-left: 25px;
}
.main {
    left: 13em;
    width: 75%;
    margin-left: 25px;
}
h2, h3, h4, h5 {
    background-color: whitesmoke;
    border-bottom: 1px dotted gray;
    border-top: 1px dotted gray;
    font-weight: normal;
}
.pagetitle {
    background-color: white;
    color: gray;
    margin-bottom: 5%;
    margin-top: 0;
    padding-bottom: 5%;
    padding-top: 5%;
    text-align: center;
    width: 100%;
}
dt {
    font-weight: bold;
    margin-top: 1%;
}
th {
    background-color: whitesmoke;
    text-align: left;
}
.field {
    background-color: whitesmoke;
    text-align: right;
}
.levbarlist {
    background-color: whitesmoke;
    border-bottom: 1px dotted gray;
    border-top: 1px dotted gray;
    list-style-type: none;
    padding: 5%;
}
.pkglist {
    list-style-type: circle;
    padding-bottom: 2%;
    padding-top: 2%;
}
.letterlist {
    background-color: whitesmoke;
}
.letterlist a {
    padding-left: 0.2em;
    padding-right: 0.2em;
}
.footernote {
    background-color: whitesmoke;
    border-top: 1px dotted gray;
    color: gray;
    font-size: small;
    text-align: right;
}
.repoview {
    border-bottom: 1px dotted gray;
    color: gray;
    font-size: small;
    text-decoration: none;
}
.repoview:hover {
    background-color: lavender;
    border-bottom: 1px dotted blue;
    color: blue;
    font-size: small;
}


#top #logos {
    display: inline-block;
    float: right;
    padding-top: 20px;
}

#top #logos > a > img{
    max-height: 60px;
}