/* gallery-specific styles */

/* gallery container */
.gallery {
  background-color: #111420;
  margin: 0 0 15px 0;
  padding: 0px 10px 0px 10px;
  text-align: center;
}

.boxGalerie {
  background-color: #111420;
  margin: 0 0 0 0;
  text-align: center;
}

.boxGalerie h2 {
  background: #000 url(../images/bgH.gif) repeat-x scroll top;
  height: 32px;
  line-height: 32px;
  padding: 0 10px 0px 10px;
  text-align: left;    
}
.boxGalerie span {
  float: right;  
}

.gallery a {
	text-decoration: none;
	background-color: #111420;
}
.gallery a img {
	border-width: 0px;
	vertical-align: middle;

  	border: 4px #000 solid;
}

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

/* 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: 5px 0;
	padding: 5px;
	vertical-align: top;   /* aligns the img/caption container */
	width: 120px;
	/*border: 1px #000 solid;	*/
	height: 120px;         /* a bit larger than highest img */
}

.gallery a:hover {
  background-color: #000;
}


/* 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: 120px;         /* a bit larger than highest img */
	line-height: 100px;    /* 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 {
	display: block;
	text-align: center;
	font-style: normal;
	line-height: 140%;     /* 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 */
}

/* star-html hack to show <a> rule(s) just to IE (Win and Mac) */
* html .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}
/* image is not clickable in WinIE with display:block :( \*/
* html .gallery span {
	display: inline;
}
* html .gallery a:hover i {
	cursor: hand; /* otherwise cursor doesn't change over block <i> */
} /* end WinIE hacks */

/* end hacks */
