/* set the size of the definition list <dl> and add the background image */
#imap {
    display: block;
    width: 500px;
    height: 400px;
    background: url( seurat-diagram.gif ) no-repeat;
    position: relative;
}

/* set up the definition list <dt><a> to hold the background image for the hover state */
#imap a#title {
    display: block;
    width: 400px;
    height: 0;
    padding-top: 240px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    background: transparent url( seurat-diagram.gif ) no-repeat 400px 400px;
    cursor: default;
}

/* the <dt><a> hover style to move the background image to position 0 0*/
#imap a#title:hover {
    background-position: 0 0;
    z-index: 10;
}

/* place the <dd>s in the correct absolute position */
#imap dd {
    position: absolute;
    padding: 0;
    margin: 0;
}

#imap #pic_biology {
    left: 0;
    top: 37px;
    z-index: 20;
}

#imap #pic_structbio {
    left: 60px;
    top: 305px;
    z-index: 20;
}

#imap #pic_visual {
    left: 277px;
    top: 102px;
    z-index: 20;
}

#imap #pic_medchem {
    left: 335px;
    top: 0;
    z-index: 20;
}

#imap #pic_comopchem {
    left: 290px;
    top: 237px;
    z-index: 20;
}

#imap #pic_preclin {
    left: 390px;
    top: 133px;
    z-index: 20;
}

#imap #pic_collab {
    left: 202px;
    top: 23px;
    z-index: 20;
}

#imap #pic_database {
    left: 85px;
    top: 120px;
    z-index: 20;
}

/* style the <dd><a> links physical size and the background image for the hover */
#imap a#biology, #imap a#structbio, #imap a#visual, #imap a#medchem, #imap a#comopchem, #imap a#preclin, #imap a#collab {
    display: block;
    width: 100px;
    height: 100px;
    background: transparent url( hover100.gif ) -100px -100px no-repeat;
    text-decoration: none;
    z-index: 20; /* border: 1px dashed gray; */
}

#imap a#database {
    display: block;
    width: 150px;
    height: 150px;
    background: transparent url( hover150.gif ) -150px -150px no-repeat;
    text-decoration: none;
    z-index: 20; /* border: 1px dashed gray; */
}

/* style the span text so that it is not initially displayed */
#imap a span, #imap a:visited span, #imap a div, #imap a:visited div {
    display: none;
}

/* move the link background image to position 0 0 when hovered */
#imap a#biology:hover, #imap a#structbio:hover, #imap a#visual:hover, #imap a#medchem:hover, #imap a#comopchem:hover, #imap a#preclin:hover, #imap a#collab:hover, #imap a#database:hover {
    background-position: 0 0;
}

/* define the common styling for the span text */
#imap a:hover span, #imap a:hover div {
    position: absolute;
    width: 388px;
    display: block;
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 5px;
}

/* move the span text to a position away from the hover point */
#imap a#biology:hover span, #imap a#biology:hover div {
    left: 0;
    top: 100px;
}

#imap a#structbio:hover span, #imap a#structbio:hover div {
    left: 0;
    top: -100px;
}

#imap a#visual:hover span, #imap a#visual:hover div {
    left: -192px;
    top: 100px;
}

#imap a#medchem:hover span, #imap a#medchem:hover div {
    left: -262px;
    top: 100px;
}

#imap a#comopchem:hover span, #imap a#comopchem:hover div {
    left: -262px;
    top: 100px;
}

#imap a#preclin:hover span, #imap a#preclin:hover div {
    left: -262px;
    top: 100px;
}

#imap a#collab:hover span, #imap a#collab:hover div {
    left: -50px;
    top: 100px;
}

#imap a#database:hover span, #imap a#database:hover div {
    left: 0;
    top: 150px;
}

/* add the style for the link span text - first line */
#imap a span:first-line, #imap a div:first-line {
    font-weight: bold;
    font-style: italic;
}
