@media screen {
html {
    background-color: rgb(244,244,244);
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    overflow-x: hidden;
}
* {
    font-family: 'Droid Sans', sans-serif;
    color: black;
}
hr {
    color: gray;
    margin-top: 2em;
}
.foliation {
    line-height: 1.5em;
    font-size: 80%;
    display:block;
    text-align:right;
    border-top: 1px dashed gray;
    padding-right: 1em;
}
.image-map {
    border: 1px dashed gray;
    background-color: rgb(225,225,225);
    padding: 1em;
}
.phrase-link {
    padding-left: 4px;
    padding-right: 4px;
    margin-right: 2px;
    background-color: rgb(235,235,230);
    border-left: 3px solid rgb(170,010,000);
    border-top: 3px solid rgb(170,010,000);
    color: rgb(35,35,30);
}
.code, code {
    font-family: courier, fixed, monospace;
    color: blue;
    font-size: 80%;
    margin-bottom: 0;
}
h1 {

    margin-right: 0.5em;
    margin-top: 1em;
    font-size: 130%;
    line-height: 150%
    display: block;
    font-weight: normal;
   text-shadow: 0 1px white;    
    word-wrap: break-word;
    break-word: break-all;
}
#description {
    font-size: 95%;
}
div#header {
  margin: 0.5em;    
  background: rgb(204,204,204);
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  box-shadow: inset 0 -20px 40px #aaa, inset 0 20px 40px #fff, 0 2px 6px rgba(0,0,0,0.5);
  -o-box-shadow: inset 0 -20px 40px #aaa, inset 0 20px 40px #fff, 0 2px 6px rgba(0,0,0,0.5);
  -webkit-box-shadow: inset 0 -20px 40px #aaa, inset 0 20px 40px #fff, 0 2px 6px rgba(0,0,0,0.5);
  -moz-box-shadow: inset 0 -20px 40px #aaa, inset 0 20px 40px #fff, 0 2px 6px rgba(0,0,0,0.5);
  padding-bottom: 0.5em;    
}
div#main {
    padding-top: 0.75em;
    padding-right: 0.4em;
    margin-bottom: 0;
}
div#main p, div#main ul, div#main h2, div#main h1 {
    padding-left: 0.5em;
}

.map {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: gray;
    box-shadow: 0 0px 6px rgba(0,0,0,0.5);
    -o-box-shadow: 0 0px 6px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0px 6px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0px 6px rgba(0,0,0,0.5);
    width:100%;
    height:100%;
}
h3 {
    font-weight: normal;
    margin-top: 1.5em;
    margin-bottom: 1em;
    font-size: 105%;
}
h2 {
    font-weight: normal;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 100%;
    line-height: 120%;
}
p {
    margin-right: 0.5em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}
p, h1, h2, h3 {
margin-left: 0.5em;
}
dd, dt {
    line-height: 1.5em
}
dt {
    font-style:italic;
}
dd {
    margin-bottom: 0.5em;
}
select {
    font-size: 80%
}
input[type='text'], select, input[type='password'] {
    padding-left: 0.5em;
   background-color: rgb(240,240,240);
}
input[type='submit'] {
    padding-left: 0em;
    margin-left: 0.5em;
    padding-left: 0.5em;
   background-color: rgb(240,240,240);
    text-shadow: -1px -1px 4px rgb(255,255,255);
}
div#menu {
    border-top: 2px groove white;
/*    background-color: rgb(230,230,230); */
}
div#menu p {
    margin-top: 0.6em;
    margin-right: 0.5em;
    margin-bottom: 0;
    margin-left: 0.75em;
    font-size: 95%;
}
button {
    font-size: 100%;
    width: 100%;
    text-align: left;
    height: 100%;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
p a button, li a button, p a, li a {display: inline; width: auto;}
div#menu button {
    display: inline;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    margin-right: 0.5em;
    margin-left: 0em;
    width: auto;
   background-color: rgb(240,240,240);
}
.float {
float: left;
margin-right: 1em;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
div#main p a, div#main li a {padding: 0.2em; font-size: 80%;}
/* drawing the buttons, inputs etc. */
input[type='text'], input[type='password'], input[type='submit'], textarea, a.ref, button, .xmplist img, .xmp, #main p a, #main li a {
   border: 1px outset rgb(160,160,160);
   background-color: rgb(240,240,240);
   border-radius: 4px;
   box-shadow: inset 0 1px 3px rgb(200,200,200), inset 0 -15px rgb(220,220,220), 0 0 4px rgb(160,160,160);
   -o-box-shadow: inset 0 1px 3px rgb(200,200,200), inset 0 -15px rgb(220,220,220), 0 0 4px rgb(160,160,160);
   -webkit-box-shadow: inset 0 1px 3px rgb(200,200,200), inset 0 -15px rgb(220,220,220), 0 0 4px rgb(160,160,160);
   -moz-box-shadow: inset 0 1px 3px rgb(200,200,200), inset 0 -15px rgb(220,220,220), 0 0 4px rgb(160,160,160);
   color: black;
   text-shadow: 0 1px white;    
}
#header input {
    background-color: rgb(230,230,230);
}
#menu button {
    background-color: rgb(210,210,210);
}
input {font-size: 70%;}
/* drawing the hover routine */
input[type=submit]:hover, input[type=text]:hover, textarea:hover, select:hover, a.ref:hover, option:hover, input[type='password']:hover, button:hover, div#menu button:hover, div#header input:hover, .xmplist img:hover, #main p a:hover, #main li a:hover {
/*    background-color: orange; */

   border: 1px inset rgb(200,200,200);
   background-color: orange;
   -webkit-box-shadow: inset 0 1px 3px orange, 0 0 6px gray;


}
form, form span {
    margin: 0;
}
th {
    text-align: left;
    vertical-align:center;
    font-weight: normal;
}
td {
    vertical-align: top;
}
td, th, p, input {
    line-height: 1.5em;
}
a, a:visited {
    font-weight: normal;
    text-decoration: none;
}
.xmplist img, .xmp {
    padding: 0.5em;
}
.urn-ref {
    font-size: 80%;
    padding-left: 0.5em;
    padding-right: 0.5em
}
table {
    width: auto;
    font-size: 95%;
    margin-bottom: 1.5em;
    padding: none;
}
table.plain {
    margin-left: 0.75em;
}
table.plain th, table.plain th:hover {
    border: none;
    border-bottom: 2px groove white;
    background: none;
    padding-top: 1em;
    font-style: italic;
}
table.resultlist th, table.menu th, table.resultlist td, table.menu td {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}
a.ref {
    padding-left: 0.5em;
    padding-top: 0.2em;
    padding-bottom: 0.3em;
    padding-right: 0.3em;
}
table.plain td, table.plain a {
    vertical-align: top;
}
td p {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}
div > p {
    margin-bottom: 1em;
}
span.foliation {
    font-style: italic;
    font-color: gray;
}
a.reference {
    text-decoration: none;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
span.popup a {
    color: rgb(215,050,0);
    white-space:nowrap;
}
.remark {
    font-style: italic;
}
table {
    width: 100%;
}
td.xmplist img {
margin-right: 1em;
margin-bottom: 0.5em;
margin-top: 0.5em;
vertical-align: center;
}
td.xmplist a {
vertical-align: center;
}
p.comment {
    display: block;
    text-align: right;
}
}
@media print {
#body {
    background-color: white;
}
div#menu button {
    display: hidden;
    visibility: none;
}
div#menu p:after {
    	: "Capitolini.Net";
}
}
