/* Sammenslåing av stilarkene for Image markup tool og eMunchs tekstvisninger */

/* Generelt sideoppsett */

html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #F5F5F5;
    color: #000000;
    font-family: 'Arial Unicode MS' ,' Lucida Sans Unicode', sans-serif;
    font-size: 12pt;
    font-style: normal;
    font-weight: normal;
    line-height: 175%;
    margin: 5%;
    text-align: left;
}

/* Oppsett for bilde, bildetittel og -beholder */

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

#DocTitle {
    margin: 0;
    color:#800000;
    text-align: center;
    padding: 0.5em;
    font-size: 150%;
}

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

/* Oppsett for annoteringsboksene */

div#CurrentAnnotation {
    display: none;
}

div.Annotation {
    display: none;
    position: absolute;
    width: auto;
    min-width: 10%;
    background-color: #ffffff;
    color:#000000;
    border-color: #DCDCDC #A9A9A9 #A9A9A9 #DCDCDC;
    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;
    font-size: 10pt;
    padding: 0.2em;
}

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

#AnnMenuTitle, div.Annotation div.AnnTitlebar {
    background-color: #D3D3D3;
    color:#800000;
    padding: 0.25em;
    cursor: move;
    margin: 0;
    text-align: center;
    font-size: 10pt;
}

#AnnMenu {
    margin: 0;
    padding: 0;
    font-family: 'Arial Unicode MS' ,' Lucida Sans Unicode', sans-serif;
    font-size: 10pt;
    font-weight: normal;
    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 {
    font-size: 10pt;
    font-weight: normal;
    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: #D3D3D3;
    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;
}

/* Undertrykking og zoom på det store bildet */

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;
}

/* Stiler for visning av elementer i annoteringer */

.head_a {
    text-align: left;
    font-size: 10pt;
    font-weight: normal;
    font-style: normal;
}

.para_a {
    font-size: 10pt;
    font-weight: normal;
    font-style: normal;
}

/* Stiler for visning av elementer i tekst */

a.pagePointers {
    font-size: 14pt;
}

.pagePointers {
    text-decoration:none;
    border:none;
}

h1.titleOfView {
    color:#800000;
    margin-bottom:0;
    text-align: left;
}

.head {
    background-color:#DCDCDC;
    color:#800000;
    text-align: left;
    font-size: 12pt;
    font-weight: bold;
    font-style: normal;
    font-variant: small-caps;
    margin-bottom:20px;
}

.para {
    font-size: 12pt;
    font-weight: normal;
    font-style: normal;
    text-indent:5mm;
}

/* print-klassene */

.facsimilePage {
display: table-row;
}

.jpegs {

}

.text{

}

.editorial {
    background-color:#DCDCDC;
    color:#800000;
    font-size:11pt;
    font-style:italic;
}

.TextItem {
    cursor: pointer;
}

.TextItem:hover {
    cursor: pointer;
    border: 1px dotted red;
}

.HighlightedTextItem {
    cursor: pointer;
    border: 1px dotted red;
}

.SelectedTextItem {
    cursor: pointer;
    border: 1px solid red;
}