/********************************************/
/*          COLOR & STYLE SETTINGS          */
/********************************************/

/****************************/
/* ENTIRE DOCUMENT SETTINGS */
/****************************/

/* Main body of the page */
body {
  font: 8pt/16pt georgia, arial;
  color:  #555753;
  background:  #FFFFDD;
}

/* Links */
a:link, a:visited {
  color:  #667766;
  text-decoration: none;
  font-weight: bold;
}
a:hover, a:active {
  color:  #667766;
  text-decoration: underline;
}


/*************************/
/* GALLERY PAGE SETTINGS */
/*************************/

/* Gallery Title */
h2 {
font-size : 16pt;
  color :  #5E0909;
  background :  #667766;
}
h2:first-letter {
  font-size : 200%;
  color :  #5E0909;
  text-transform : uppercase;
}

/* Linked Subgalleries */
#linkedsubgalleries {
  font-size : 10pt;
  color :  #FFDDFF;
  background :  #667766;
}
#linkedsubgalleries a {
  color :  #FFDDFF;
  text-decoration : underline;
}
#linkedsubgalleries a:hover {
  color :  #DDBBDD;
}

/* Gallery List */
#gallery_entries {
  font-size : 10pt;
  background :  #FFEEEE;
  border-style : solid;
  border-width : 2pt;
  border-color :  #997799;

}

/* Existing and New Comments and Pageview Data */
DIV.gallery_comments, DIV.gallery_hitcounts {
  font-size : 10pt;
  background :  #AABBAA;
  border-style : solid;
  border-color :  #667766;
  border-width : 2px;
}

/* Existing and New Comments and Pageview Data merged into one section */
/* Existing and New Comments */
DIV.gallery_comments {
  border-bottom : none;
}
/* Pageview Data */
DIV.gallery_hitcounts {
  border-top : none;
}

/* Individual Image or Subgallery in Gallery */
DIV.gallery_entry-even, DIV.gallery_entry-odd {
  font-size : 12pt;
  background :  #FFFFFF;
  border-style : solid;
  border-color :  #555753;
  border-width : 2pt;
}
/* First item (image or subgallery) in the gallery */
#page-1 DIV.gallery_entry-even #entry0, #page-1 DIV.gallery_entry-odd #entry0, #page-all DIV.gallery_entry-even #entry0 , #page-all DIV.gallery_entry-odd #entry0 {
  background :  #FFFFFF;
  border-color :  #667766;
}

/* Image or Gallery Title */
DIV.title-image, DIV.title-gallery {
  font-size : 14pt;
  color :  #000000;
}

/* Gallery Description */
/* Only show description when viewing first page or all contents */
#page-1 DIV.galleryheader, #page-all DIV.galleryheader {
  color :  #000000;
  background :  #AABBAA;
  border : solid  #667766 2px;
}

/* Image date in odd and even item listings */
DIV.gallery_entry-even DIV.image_date, DIV.gallery_entry-odd DIV.image_date {
  font-size : 14pt;
  color :  #000000;
}

/* Image thumbnails */
DIV.thumbnail {
  background :  #000000;
  border-style : solid;
  border-color :  #5E0909;
  border-width : 10px;
}

/* Image Caption */
DIV.image_caption {
  font-size : 12pt;
  color :  #000136;
}
DIV.image_caption:first-line {
  font-weight : bold;
}

/* Number of comments and new comment link for image or subgallery */
DIV.comment_count-image, DIV.comment_count-gallery {
  color :  #997799;
  border-top : solid  #555753 1px;
}
/* Post A Comment link on image or subgallery */
DIV.comment_count-image a, DIV.comment_count-gallery a {
  color :  #997799;
  text-decoration : underline;
  font-weight : normal;
}
DIV.comment_count-image a:hover, DIV.comment_count-gallery a:hover {
  color :  #997799;
}

/* Add gallery to topic form */
DIV.topic_add_form {
  font-size : 10pt;
  background :  #AABBAA;
  border-style : solid;
  border-width : 2px;
  border-color :  #667766;
}



/***********************/
/* IMAGE PAGE SETTINGS */
/***********************/

/* Image Page Contents */
#imagepage {
  background :  #FFFFEE;
  border-style : solid;
  border-color :  #EEEECC;
  border-width : 2px;
}

/* Contains Image, Image Date, and Image Artist */
TABLE.imagetable {
  background :  #AABBAA;
  border : solid   #555753 2px;
}

/* Actual Image */
IMG.display {
  background :  #000000;
  border : solid     #667766 10px;
}
.auto-size {
  max-width: 97%;
  height: auto;
}

/* Image Date */
SPAN.date {
  color :  #000000;
}

/* Image Artist */
SPAN.artist {
  color :  #000000;
}

/* Image Title */
SPAN.title {
}

/* Image Comments and New Comment Form */
DIV.comment_section {
  border-top : dotted   #EEEECC 2px;
}



/********************************************/
/*           POSITIONING SETTINGS           */
/********************************************/

/*************************/
/* GALLERY PAGE SETTINGS */
/*************************/

/* Previous, Next, and Page Number Links */
/* Entire row of links */
#gallery_entries > table {
  float : left;
  position : relative;
  width : 100%;
}

/* Gallery Title */
h2 {
  display : block;
  position : relative;
  top : -1px;
  width : 90%;
  clear : both;
  padding-top : 15px;
  padding-bottom : 15px;
  margin : 5px;
  margin-left : auto;
  margin-right : auto;
  text-align : center;
}
h2:first-letter {
  margin-top : 5px;
}

/* Linked Subgalleries */
#linkedsubgalleries {
  position : relative;
  width : 90%;
  top : 5px;
  padding-bottom : 5px;
  margin : 0px;
  margin-left : auto;
  margin-right : auto;
  text-align : center;
}

/* Gallery List */
#gallery_entries {
  position : relative;
  float : left;
  width : 90%;
  left : 5%;
  right : 5%;
  margin-right : auto;
  margin-left : auto;
  text-align : center;
}

/* Existing and New Comments and Pageview Data */
DIV.gallery_comments, DIV.gallery_hitcounts {
  position : relative;
  float : left;
  width : 90%;
  left : 5%;
  right : 5%;
  padding : 0px;
  margin-right : auto;
  margin-left : auto;
  text-align : center;
}

/* Existing and New Comments and Pageview Data merged into one section */
/* Existing and New Comments */
DIV.gallery_comments {
  margin-top : 3px;
}
/* Pageview Data */
DIV.gallery_hitcounts {
  margin-bottom : 3px;
}

/* Individual Image or Subgallery in Gallery */
DIV.gallery_entry-odd, DIV.gallery_entry-even {
  position : relative;
  float : left;
  width : 90%;
  min-height : 220px;
  left : 5%;
  right : 5%;
  padding : 3px;
  margin-right : auto;
  margin-left : auto;
  margin-top : 30px;
  margin-bottom : 30px;
  text-align : left;
}
/* First item (image or subgallery) in the gallery */
#page-1 .gallery_entry-even #entry0,
#page-1 .gallery_entry-odd #entry0,
#page-all .gallery_entry-even #entry0,
#page-all .gallery_entry-odd #entry0 {
  margin-bottom : 50px;
}

/* Image or Gallery Title */
DIV.title-image, DIV.title-gallery {
  position : relative;
  text-align : center;
}

/* Gallery Description */
/* Only show description when viewing first page or all contents */
DIV.galleryheader {
  display : none;
}
#page-1 DIV.galleryheader, #page-all DIV.galleryheader {
  display : block;
  width : 90%;
  margin-right : auto;
  margin-left : auto;
  margin-top : 10px;
  margin-bottom : 10px;
  text-align : center;
}

/* Image date in odd and even item listings */
DIV.gallery_entry-odd DIV.image_date, DIV.gallery_entry-even DIV.image_date {
  position : absolute;
  top : -25px;
}
/* Image date in odd item listings */
.gallery_entry-odd DIV.image_date {
  left : 0px;
  text-align : left;
}
/* Image date in even item listings */
.gallery_entry-even DIV.image_date {
  right : 0px;
  text-align : right;
}

/* Image thumbnails */
DIV.thumbnail {
  padding : 2px;
  margin : 5px;
}
/* Image or gallery thumbnails in even item listings */
DIV.gallery_entry-even DIV.thumbnail {
  float : right;
}
/* Image or gallery thumbnails in odd item listings */
DIV.gallery_entry-odd DIV.thumbnail {
  float : left;
}

/* Image Caption */
DIV.image_caption {
  padding : 10px;
}

/* Number of comments and new comment link for image or subgallery */
DIV.comment_count-image, DIV.comment_count-gallery {
  float : right;
  width : 100%;
  margin : 0px;
  clear : both;
  text-align : right;
}

/* Add gallery to topic form */
DIV.topic_add_form {
  position : relative;
  width : 90%;
  left : 5%;
  right : 5%;
  padding : 0px;
  margin-right : auto;
  margin-left : auto;
  float : left;
  text-align : center;
}
DIV.topic_add_form hr {
  display : none;
}


/***********************/
/* IMAGE PAGE SETTINGS */
/***********************/

/* Image Page Contents */
#imagepage {
  display : block;
  padding : 5px;
  margin : 50px;
  float : left;
}

/* Profile page, all galleries links */
#localmenu {
  position : relative;
  top : -55px;
  left : -55px;
}

/* Contains Image, Image Date, and Image Artist */
TABLE.imagetable {
  padding : 30px;
}

/* Actual Image */
IMG.display {
  padding : 1px;
  margin : 0px;
}

/* Image Date */
SPAN.date {
  width : 0%;
  white-space : nowrap;
}

/* Image Artist */
SPAN.artist {
  width : 0%;
  white-space : nowrap;
}

/* Image Comments and New Comment Form */
DIV.comment_section {

  padding-top : 5px;
}

/* Image pageviews */
DIV.image_hitcounts {
  text-align : center;
}

BODY { margin-top: 0px; top: 0px; }
BODY TABLE A IMG { display: inline; }
HR { position: relative; }
