/* This is the CSS code used to display the Web view of the image markup project. */

html{
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    font-family: "trebuchet ms", verdana, sans-serif;
    font-size: x-small;
    background-color: #ffffff;
    color: #000000;
}

h1{
    margin: 0;
    border-color: #d0d0f0 #a0a0d0 #a0a0d0 #d0d0f0;
    border-width: 2px;
    border-style: solid;
    background-color: #bbbbdd;
    color: #000000;
    text-align: center;
    padding: 0.5em;
    font-size: 150%;
}

#ImageContainer{
    margin: 0;
    padding: 0;
}

#Image{
    margin: 1em;
    padding: 0;
    border-width: 3px;
    border-style: solid;
    border-color: #e0e0e0 #b0b0b0 #b0b0b0 #e0e0e0;
}

div#CurrentAnnotation{
    display: none;
}

div.Annotation{
    display: none;
    position: absolute;
    width: auto;
    min-width: 10%;
    background-color: #ffffff;
    color: #000000;
    border-color: #d0d0f0 #a0a0d0 #a0a0d0 #d0d0f0;
    border-width: 2px;
    border-style: solid;
    padding: 0;
    max-width: 30%;
}

div.AnnTitleBar{

}

div.PopupCloser{
/* Floating right causes the containing element to stretch to its max-width. :-( */
    float: left;
    width: 1em;
    margin-right: 0;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #a0a0d0 #d0d0f0 #d0d0f0 #a0a0d0;
    font-variant: small-caps;
    font-stretch: extra-expanded;
    cursor: pointer;
}

div.AnnText{
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
}

#AnnMenuContainer{
    position: absolute;
    padding: 0.2em;
    width: auto;
    border-color: #d0d0f0 #a0a0d0 #a0a0d0 #d0d0f0;
    border-width: 2px;
    border-style: solid;
    background-color: #bbbbdd;
    color: #000000;
    max-width: 33%;
/* Position it off-screen initially, to avoid flicker. */
    left: -33%;
}

#AnnMenuTitle, div.Annotation div.AnnTitlebar{
    background-color: #bbbbdd;
    color: #000000;
    padding: 0.25em;
    cursor: move;
    margin: 0;
    text-align: center;
}

#AnnMenu{
    margin: 0;
    padding: 0;
    font-family: "trebuchet ms", verdana, sans-serif;
    border-width: 1px;
    border-style: solid;
    border-color: #000000;
    list-style-type: none;
    background-color: #ffffff;
    color: #000000;
    overflow: auto;
}

.CategoryTitleClosed{
    cursor: pointer;
    font-weight: bold;
}

#AnnMenu>li{
    padding: 0.25em;
    margin: 0.2em;
    cursor: pointer;
}

.AnnSubmenu{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.AnnSubmenu>li{
    margin-left: 0.5em;
}

.AnnMenuItem{
    cursor: pointer;
    color: #000000;
    background-color: #ffffff;
}

.HighlightedAnnMenuItem{
    cursor: pointer;
    background-color: #bbbbdd;
    color: #000000;
}

.SelectedAnnMenuItem{
    cursor: pointer;
    background-color: #000000;
    color: #ffffff;
}

div.SelectedArea{
    border-width: 2px;
    border-style: solid;
}

div.HighlightedArea{
    border-width: 2px;
    border-style: dashed;
}

p{
    margin: 0.25em;
}

div.Para{
    margin: 0.25em;
}

div.Stanza{
    margin: 0.5em;
}

div.BlockCit{
    margin: 1em;
}

div.BlockCitBibl{
    text-align: right;
}

div#Zoom{
    display: none;
    overflow: hidden;
    position: absolute;
    top: 10px;
    left: 10px;
    border-style: outset;
    border-width: 3px;
    border-color: #ffffff;
}   

div#Zoom img{
    position: relative;
}
