html, body {
 margin: 0px;
 padding: 0px;
 width: 100%;
 height: 100%;
}
p, h1, h2, ul{
margin-top: 0px; /* firefox */
}
h1 a { text-decoration:none; }
h1 { margin-bottom: 1em;}
h2 { margin-bottom: 0.7em; }
h3 { margin-bottom: 0.5em; }
p { margin-bottom: 0.2em; }
ul { margin-bottom: 0.2em; }
ul { list-style-type: none; }
a { color: #094891; }
img { border: 0px; }
button { padding: 0px 5px 1px 5px; }
.grey { color: #808080; }
.link { margin-top: 5px; }

/* global body classes are:               */
/*  level0: HP and all                    */
/*         contentpages with no papertype */
/*  level1: papertype pages               */
/*                                        */
/*  level3: paper and page templates      */
/*                                        */
/* colors and fonts near EOF, please      */

#site{
 position: relative;
 min-width: 1000px;
 height: 100%;
}
#fascia-superiore { 
 position: absolute;
 top: 35px;
 left: 0px; 
}
#white-bar{ 
 position: absolute;
 width: 100%;
 height: 300px;
 }

/* begin site body */
#site-body{
 height: 100%;
 margin-left: 34%;
}
.level0 #site-body {
 margin-left: 60%;
}
.level1 #site-body {
 /*margin-left: 25%;*/
 margin-left: 40%;
}
.level2 #site-body {
 margin-left: 200px;
}
/* top space for both columns */
.top-filler {
 height: 140px;
 position: relative;
 }
#content-box { 
 position: absolute;
 width: 750px;
 height: 50px;
 left: 220px;
 top: 80px;
 z-index: 100;
 }
#content-box li { 
 margin-right: 20px;
 display: inline;
 }
/* end site body */


/* begin col center */
#col-center {
 position: relative;
 height: auto !important;
 height: 300px;
 min-height: 300px;
 margin-left: 15px;
}
#papertype-title { 
position: relative;
left: -130px;
 }
/* begin left column */
#col-left {
 position: absolute;
 top: 0px; 
 left: 0px;
 height: auto !important;
 min-height: 700px;
 height: 700px;
 /* depends on #site-body margin-left */
 width: 34%;
}
.level0 #col-left {
 width: 60%;
}
.level1 #col-left {
 /*margin-left: 25%;*/
 width: 40%;
}
.level2 #col-left {
 width: 200px;
}
#logo-se { 
 position: absolute;
 left: 31px;
 top: 24px;
 }
.level1 #madeby {
 margin-left: 200px;
}
.level2 #madeby {
 display:none;
}
#credra {
 display:none;
}
.level2 #credra {
 display:block;
 margin: 40px 0px 0px 34px;
}
/* end left column */

/* begin colors and fonts */

/*@font-face {
 font-family: Humanst521 BT;
 font-style:  normal;
 font-weight: normal;
 src: url("/media/HUMANST0.eot");
}*/
body {
 font-family: Gill Sans, sans-serif;
 color: #808080;
}
html {
 background-color: #ECEBEB;
 background-image: url("/media/stripe-superiore.png");
 background-repeat: repeat-x; 
 background-position: top left;
}

#content-box, h1 { 
 font-weight: bold;
 }
#content-box a, h1{
 color: #094891;
 text-decoration: none;
 }
h1.index { 
 color: #6F6C6C; 
 font-weight: normal;
}
#content-box li.selected a{
color: #0671B0;
 }
#content-box li.personal a, .message, .manage{ 
 color: #FF7F00; /* orange */
 }
#content-box li.personal.selected a { 
 color: #FFBB78; /* light orange */
 }

/* end colors and fonts */

/* begin menus */

#personal_bar {
 display: none;
 position: absolute;
 left: 0px;
 top: 180px;
 width: 150px;
 background-color: white;
}
.level2 #personal_bar {
  background-color: transparent;
  display: block;
 }
.level0 #types_bar {
 display: none;
}
#menu ul {
 padding: 4px 5px 2px 10px;
 margin: 0px;
 background-color: white;
}
#menu li {
 margin-bottom: 6px;
}
#menu {
 position: absolute;
 top:20px;
 left:0px;
 height: auto;
 margin-left: 25px;
 font-size: small;
 font-weight:600;
 color: grey;
}
#menu a {
 color:#7A7A7D;
 font-weight:500;
 text-decoration:none;
}

/* begin navi */
.level0 #navi{
 display: block; 
 }
#navi {
 display: none;
 position: absolute;
 top: 220px;
 left: 240px;
}
#navi li { 
 margin-bottom: 60px;
 }
/*#navi li + li { 
 margin-left: 40px;
 }
#navi li + li +li +li { 
 margin-left: 0px;
 }*/
#navi #li2 { 
 margin-left: 40px;
 }
#navi #li3 { 
 margin-left: 40px;
 }
#navi #li4 { 
 margin-left: 0px;
 }
.align-right {
 text-align: right;
}
#section {
 text-align: center;
}
h1#section-title {
 margin-left: -58px;
}
/* end menus */

/* begin login */
#login{
 margin-left: 200px;
}
.login input#id_password,
.login input#id_username {
 width: 130px;
}
.login label {
 display: block;
 float: left;
 width: 90px;
}
.login p {
 margin-top: 10px;
}
#request {
 margin-top: 30px;
}
#send {
 width: 300px;
 text-align: right;
}
#send p {
 margin-bottom: 10px;
}
#send ul.errorlist {
 margin: 5px 0px 2px 0px;
 color:#FF7F00; 
}
#send label {
 display: block;
 float: left;
 text-align: left;
}
#send input {
 width: 200px;
}
#send textarea {
 width: 295px;
}
/* end login */

/* begin user */
.user ul {
 margin: 0px 0px 20px 40px;
}
/* end user */

/* begin search */
#search p {
 margin-bottom: 10px;
 vertical-align: middle;
}
#search .select {
 margin-left: 60px;
}
#search span {
 vertical-align: middle;
 margin-left: 5px;
}
#finded {
 margin-top: 25px;
}
/* end search */

/* begin paper */
#pdf {
 float: right;
 margin-right: 250px;
}
.descr {
 margin-bottom: 25px;
}
.paper_line,
.thumb a,
#cover a {
 text-decoration: none;
}
.thumb {
 float: left;
 text-align: center;
 margin: 0px 0px 25px 50px;
}
#cover {
 float: left;
 text-align: center;
}
#col-right {
 margin-left: 200px;
}
/* end paper */

/* begin region author */

.author-content {
 margin-bottom: 15px;
}
.author-line{ 
 height: auto !important;
 height: 150px;
 min-height: 150px;
 overflow: hidden;
 margin-bottom: 30px;
}
.author .author-line{ 
 height: auto !important;
 height: 180px;
 min-height: 180px;
}
.author-line .first-page {
 display: block;
 margin-right: 10px;
 float:left;
}
/* end region author */

/* begin page */
#grid { 
 position: relative;
}
#grid.enabled {
 cursor: crosshair;
}
#comment-form {
 display: block;
 position: absolute;
 left: 0px;
 color: black;
 background-color: #ECEAEB;
 border: 5px double #FF7F00;
 padding: 10px;
 cursor: default;
}
.comment-area {
 position: absolute;
 color: #FF7F00;
 font-weight:bold;
 border: solid 1px red;
 z-index:1; 
 cursor: default;
}
.comment-area.volatile { 
 cursor: move;
 }
.comment-area.current { 
 background-color: red;
 opacity: 0.5;
 }
.comment-area .comment-number { 
 z-index: 0;
 }
.comment-area.volatile .comment-resize { 
 position:absolute;
 bottom: 0px;
 right: 0px;
 height: 10px;
 width: 10px;
 background-color: #FF7F00;
 opacity: 1;
 z-index: 100;
 cursor: se-resize;
 }
#page_navi {
 width: 650px;
 margin-bottom: 25px;
}
#page_navi .pageinfo {
 font-weight: bold;
 font-size: x-large;
 width: 300px;
 float:left;
}
#page_navi .row {
 overflow: hidden;
}
#page_navi a {
 vertical-align: -7px;
}
#page_navi .row a {
 margin-left: 20px;
}
.hidden {
 display: none;
}
.area p {
 margin-left: 23px;
}
.area span {
 font-weight: bold;
 color: #FF7F00;
}
.area {
 margin-top: 15px;
 color: black;
}
.comment-footer {
 margin-bottom: 8px;
}
#comment-legend h2 {
 margin-left: 18px;
}
#comment-legend {
 margin-top: 10px;
}
/* end page */

/* begin print */
@media print {
 .hidden {
  display: block;
 }
 #fascia-superiore,
 #col-left,
 #papertype-title,
 #page_navi a,
 #comment-form,
 .comment-area.volatile,
 #content-box {
  display:none;
 }
 #grid {
 background-image: none;
 }
 html { 
  background-color: transparent;
  background-image: none;
 }
}
/* end print */
