/*
  File name: toc_image.css -- Table of Contents / Image
  
  This CSS file declares the styles used in the Table of Contents / Image pages

  Author:    'o-Dzin Tridral

  Revision history:

  version : yyyy-mm-dd : account name : description
  01.00   : 2006-02-26 : TridralO     : Written
*/

/*

Structure
---------

o-----------------------------------o
| body                              |
| o--------------o o--------------o | 
| | #text_area   | | #image_area  | | 
| | o----------o | | o----------o | |
| | | .text    | | | | .image   | | | 
| | |          | | | |          | | |
| | | (heading)| | | | (picture)| | |
| | | (subhead)| | | |          | | |
| | | (links)  | | | |          | | |
| | |          | | | |          | | |
| | o----------o | | o----------o | |
| o--------------o o--------------o |
| o-------------------------------o |
| | #footer_area                  | |
| o-------------------------------o |
| (navigation)                      |
o-----------------------------------o
http://accessat.c-net.us/test/gallery2.html
http://accessat.c-net.us/contact.html
K. Chayka.

- Each image/caption pair is in a separate (inline) paragraph. List items would degrade better sans CSS, but some browsers do poorly with inline lists.
- The link <a> wrapped around the pair is styled as an inline block (or inline table/cell, depending on browser support).
- The image is within a <span> element and the caption is within an <i>. These are both non-semantic elements that do no harm, and allow additional styling while keeping the amount of HTML code to a minimum.


*/


/*
  Import common stylesheets
*/
@import url(/shared/style/pge_col_drk.css) ;
@import url(/shared/style/pge_str_nav.css) ;
@import url(/shared/style/pge_str_quo.css) ;
@import url(/shared/style/pge_str_top.css) ;


@media screen, projection, print {


/* gallery-specific styles */

/* gallery container */
.gallery {
	text-align: center;    /* centers inline paragraphs */
	margin: 1em 5%;
	background-color: black ;
	border: 1px solid black ;
	padding: .5em;
}
.gallery a {
	text-decoration: none;
}
.gallery a img {
	border-width: 1px ;
        border-color: red ;
	vertical-align: bottom; /* middle */
}

/* outer container for each image/caption pair */
.gallery p {
	display: inline;
}

/* For the <a> container, the best default display value is inline-table, but browser support isn't very good. Opera versions 6 and earlier totally mangle anything except display:table-cell, so that is set by default and the preferred display values are at the end of this stylesheet, within hacks that hide them from those Opera versions. No other browsers tested seemed to have any trouble with setting the different display values within a single rule. */

/* inner container for each image/caption pair */
.gallery a {
	display: table-cell;   /* default, for gecko & Opera6- */
	margin: .5em;
	padding: 5px;
	vertical-align: top;   /* aligns the img/caption container */
	width: 8em;            /* adjusts with text size */
	min-width: 110px;      /* not always honored, but that's OK */
	border: 1px solid   ;
}


/* image container, sets height so image can be vertically centered and the caption starts in the same vertical position regardless of image height, except WinIE does not apply line-height to images. oh well, most other browsers do... */
.gallery span {
	display: block;        /* fill container width, force a line break */
	height: 150px;         /* a bit larger than highest img */
	line-height: 150px;    /* same value as height */
	text-align: center;
/*	border: 1px dashed #f00; /* uncomment to show */
}

/* caption container, sets height (for 2 lines) so each outlined image/caption pair is the same height (except in WinIE) */
.gallery i {
        color: red ;
	display: block;
	height: 3.5em;         /* makes each box a consistent height */
	padding: 5px 5px 0 5px;
	text-align: center;
	font-style: italic ;
	line-height: 120%;     /* standard spacing */
/*	border: 1px dashed #00f; /* uncomment to show */
}

/* Owen hack, hides from WinIE, Opera versions 6- & some KHTML */
head:first-child+body .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */

}

}

/*
  Heading Levels
*/

h1
{
  color: red ;
  font-size: 24pt ;
  font-variant: small-caps ;
  font-weight: lighter ;
  margin-top: 0 ;
  text-align: center ;
}

h2 
{
  color: red ;
  font-size: 18pt ;
  font-style: italic ;
  font-weight: lighter ;
  text-align: center ;
}

h3 
{
  color: #0066ff ;
  font-size: 14pt ;
  font-style: italic ;
  font-weight: lighter ;
}

hr
{
  background-color: red ;
  border: 0 ;
  color: red ;
  height: 1px ;
  width: 100% ;
}
