/* Generic */
.imageBorder { background: #c8c8ac url(/wres/template/corner-tl.gif) no-repeat 0 0; }
.imageBorder span, .imageBorder div {  background: url(/wres/template/corner-bl.gif) no-repeat 0 100%; display: block; }
.imageBorder span span, .imageBorder div div { background: url(/wres/template/corner-br.gif) no-repeat 100% 100%; }
.imageBorder span span span, .imageBorder div div div { background: url(/wres/template/corner-tr.gif) no-repeat 100% 0; padding: 6px 6px 4px 4px; }
.imageBorder img { display: block; margin: 0; }
.captionedImage { float: right; }
.captionedImage p { font-size: .8em; margin: .2em .5em; }

.imageOdd { float: right; margin: 1em .2em 1em 1em; }

/* Picture gallery */
#tContent { position: relative; }
.formButtonsTop { position: absolute; right: 0; margin-top: -.5em; }
div.tBox2 { margin: .2em 0; }
#phImage img { margin: 1em 0 0em; }
img.photoButton { vertical-align: middle; margin: 0 1em; }
#caption { margin: .3em 0 .5em; }
#caption cite { font-weight: bold; }
#ctl00_content_galleryMenu { display: block; }
#galleryNav_imageMenu { width: 70%; }
#ctl00_content_nav.navbar input.button { margin: 0; }

/*
Combination of overflow and width contains floats
http://annevankesteren.nl/2005/03/clearing-floats
*/
.pictureListItem { overflow: hidden; width: 100%; padding: 1em 0; border-bottom: 1px solid #ccc; }
.pictureListItem h2 { margin: 0 .2em 1em; }
.pictureListItem .desc { margin-left: 50%; width: 48%; }
.pictureListItem h3 { font-weight: normal; margin-bottom: .7em; }
.pictureListItem .image { float: left; margin: 0 1em 0 .2em; }
.pictureListItem .image p { margin: 5px 0; font-size: .85em; }
.pictureListItem div { border: 1px solid white; } /* fixes IE bug */

/* Landing with pictures */
.landingPic { overflow: hidden; width: 100%; margin-top: 1em; }
.landingPic h2 { margin-top: 0; }
.landingPic .imageOdd { margin-top: 0; }

