@import url('http://yuma-js.github.com/themes/plain-gray/yuma.min.css') screen;

@media screen {
html {
    background-color: black;
    padding: 0.5em;
}
body {
margin: 0;
padding-top: 0.5em;
overflow-x: hidden;
}
* {
    font-family: 'Droid Sans', sans-serif;
    color: white;
/*     font-size: 105%;   manual override for mobile sites, but see also initial-scale function in header html! */
}
hr {
    color: gray;
    margin-top: 2em;
}
.caption {
color: rgb(180,180,180);
font-size: 90%;
line-height: 1em;
}
.border
{
border-bottom: thin solid gray;
}
.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: 1.5em;
    font-size: 130%;
    line-height: 150%
    display: block;
    font-weight: normal;
    text-shadow: 0 1px white;
    word-wrap: break-word;
    break-word: break-all;
}

/*
  kept for scrutiny:
  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);
 */
div#main {
    padding-top: 2em;
    margin-bottom: 0;
}
div#main table {
    width: 100%;
}
div#main > form > h2 {
    margin-left: -0.5em;
    margin-bottom: 1.5em;
    font-size: 130%
}
.columns {
    -moz-column-width:10em;
    -webkit-column-width:10em;
    column-width: 10em;
    -moz-column-gap:2em;
    -webkit-column-gap:2em;
    column-gap:2em;
}
.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: 1.5em;
    font-size: 100%;
    line-height: 120%;
}
p {
    margin-right: 0.5em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}
dd, dt {
    line-height: 1.5em
}
dt {
    font-style: italic;
}
dd {
    margin-bottom: 0.5em;
}
input[type='text'], select, input[type='password'] {
    padding-left: 0.5em;
    color: black;
    background-color: gray;
}
input[type='submit'] {
    padding-left: 0em;
    margin-left: 0.5em;
    padding-left: 0.5em;
}
table.menu a {
    display: block;
}
a {
    font-size: 100%;
    text-align: left;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-decoration: none;
}
p a, li a, p a, li a {
    display: inline;
    width: auto;
}
.line {
    font-family: courier, fixed, monospace;
    font-size: 90%;
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgb(220,220,220);
    display: block;
}
div#menubar {
background-color: rgb(60,60,60);
padding-top: 1em;
padding-bottom: 1em;
border-radius: 4px;ora
}
a.front {
    background-color: green;
}
a.back {
    background-color: gray;
}
a.back:hover {
    background-color: green;
}
.figure img {
    margin-left: 1em;
}
.figure p {
    font-style: italic;
    font-size: 85%;
}
.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, a,.xmplist img,.xmp,#main p a,#main li a, button, .annotation-popup-button, .button, .annotation-popup-content {
    border: 1px outset rgb(160,160,160);
    background-color: gray;
    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: white;
    text-shadow: 0 1px rgb(60,60,60);
}
.xmplist a {
    border: none;
    background-color: transparent;
}
div#menubar a {
    width: 12em;
    padding-top: 1em;
    padding-bottom: 1em;
    height: 2em;
}
#menubar input {
    background-color: rgb(230,230,230);
}
input {
    font-size: 70%;
}
/* drawing thehover routine */
input[type=submit]:hover, input[type=text]:hover, textarea:hover, select:hover, a.ref:hover, option:hover, input[type='password']:hover, a:hover,.xmplist img:hover,#main p a:hover,#main li a:hover, button:hover {
    border: 1px inset rgb(200,200,200);
    background-color: green;
}
form, form span {
    margin-bottom: 1.5em;
}
th {
    text-align: left;
    vertical-align: center;
    font-weight: normal;
}
td,th {
    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;
}
table.plain th, table.plain th:hover {
    border: none;
    border-bottom: 2px groove rgb(200,200,200);
    background: none;
    padding-top: 1em;
    font-style: italic;
}
table.resultlist td, table.menu th, table.menu td {
    margin-top:1em;
    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;
    color: black;
    font-size: 90%;
}
div#main:after {
content: '© Capitoline Museums';
}
/* the following is a hack for "info" snippets - don't know _why_ it's necessary, but it is */
div#main p {
    font-size: 70%;
    line-height: 1.3em;
    font-weight: normal;
    margin-right: 2em;
}
h1 {
font-size: 110%;
}
#menubar {
    display: none;
    visibility: hidden;
}

}

