/* Basic global styles */
/* Colors
   Light Blue: #C6E7F9
   Dark Blue: #8FCFF3
*/
body {
	background-color: #999;
	color: #FFF;
	font-family: Arial,Helvetica,Verdana,Geneva,Lucida,sans-serif;
	font-size: 0.8em;
	margin: 0;
	padding: 0px;
}
a {
	text-decoration: none;
	color: #FFF;
}
a:hover {
	text-decoration: underline;
}
img {
	border: 0;
}
label {
	color: #333;
}
.clear {
  clear: both;
}

/* Main page layout components */
article, section, header, nav, footer, figure, figcaption {
	/* These should be block level elements in HTML5, but for now this is required */
	display: block;
}
section {
	width: 100%;
}
header {
	width: 100%;
	border-bottom: 1px solid #666;
}
header h1 {
	background-color: #999;
	color: #CCC;
	font-size: 1.8em;
	font-weight: normal;
	letter-spacing: 3pt;
	text-align: right;
	vertical-align: top;
	height: 30px;
	margin: 0;
}
nav {
	/* Position has to be relative so children can be absolute */
	position: relative;
	width: 340px;
	height: 1000px;
	background-color: #CCC;
	float: left;
	padding: 0px;
	margin: 0;
	overflow: auto;

	/* The box shadow styles cause problems with slow scrolling, so use borders instead */
	border-width: 0 10px 0 0;
	-moz-border-image: url('../images/sPhoto-nav-rightShadow.png') 0 10 0 0 repeat;
	-webkit-border-image: url('../images/sPhoto-nav-rightShadow.png') 0 10 0 0 repeat;
	border-image: url('../images/sPhoto-nav-rightShadow.png') 0 10 0 0 repeat;

	/* -moz-box-shadow: inset -8px 0px 10px -6px #333333;
	-webkit-box-shadow: inset -8px 0px 10px -6px #333333;
	box-shadow: inset -8px 0px 10px -6px #333333; */
}
#navLoading {
	/* display: none; */
	width: 100%;
	height: 100%;
	background-color: #000;
	position: absolute;
	z-index: 10;
	top: 0px;
	left: 0px;
	padding: 0px;
	margin: 0;

	opacity: 0.4;
}
#navLoadingWait {
	position: relative;
	top: 50%;
	left: 50%;
	padding: 0px;
	margin: 0;
	opacity: 1.0;
}
#splitter {
	width: 5px;
	height: 100%;
	background-color: #CCC;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	/* background-image: url("../images/sPhoto-splitterGrab.gif"); */
	/* background-repeat: repeat-y; */
	float: left;
	cursor: col-resize;
	padding: 0px;
	margin: 0;

	/* Shadow from the header, footer */
	-moz-box-shadow: inset 0 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
	-webkit-box-shadow: inset 0 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
	box-shadow: inset 0 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
}
#splittergrab {
	position: relative;
	top: 50%;
	cursor: col-resize;
	padding: 0px;
	margin: 0;
}
#main {
	height: 1000px;
	/* width: 100%; */
	/* background-color: #999; */
	padding: 0px;
	margin: 0;
	overflow: hidden;

	/* The box shadow styles cause problems with slow scrolling, so use borders instead */
	/* Actually box shadow is OK on the latest browsers */
	/* border-width: 13px 0 8px 0;
	-moz-border-image: url('../images/sPhoto-main-TopBottom.png') 14 0 8 0 repeat;
	-webkit-border-image: url('../images/sPhoto-main-TopBottom.png') 14 0 8 0 repeat;
	border-image: url('../images/sPhoto-main-TopBottom.png') 14 0 8 0 repeat; */

	/* Shadow from the header, footer */
	-moz-box-shadow: inset 0px 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
	-webkit-box-shadow: inset 0px 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
	box-shadow: inset 0px 10px 10px -6px #333,
					inset 0px -4px 10px -6px #333;
}
footer {
	width: 100%;
	border-top: 1px solid #666;
	text-align: center;
	font-size: .8em;
}

/* Unsupported Browser Content */
.unsupported {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 99;
  width: 80%;
  height: 80%;
  background-color: #FFFF99;
  border: 2px solid #FF7600;
  padding: 2px 8px;
  margin: 10%;
  color: #000000;
  font-size: 1.5em;
  display: none;
}
.unsupported .title {
  color: #FF7600;
  font-size: 2.0em;
  font-weight: bold;
}
.unsupported a {
  color: #FF7600;
  text-decoration: underline;
}

/* Groups */
/* The is the parent for a group of album thumbs - e.g. 01_2011 */
.albumParent {
	width: 98%;
	float: left;
	margin: 2px 4px 12px;
	border: 1px solid #BBB;
	border-right-color: #DDD;
	border-bottom-color: #DDD;
	border-radius: 8px;
}

/* Subalbum container for an album with multiple subalbums */
.albumSubParent {
	margin: 4px;
	border: 1px solid #BBB;
	border-right-color: #DDD;
	border-bottom-color: #DDD;
	border-radius: 8px;
}

/* Albums */
/* This is the top container for all album containers */
#albumContainer {
	width: 100%;
	margin: 0px;
	position: fixed;
	top: 0px;
}
/* Class for each album container - container holds thumbs and photos */
.albumContainer {
	/* width: 100%; */
	position: relative;
	overflow: hidden;
}
/* Container for album thumbnails */
.albumThumbsContainer {
	position: fixed;
	top: 44px;
	left: 0px;
	width: 100%;
	height: 150px;
	overflow-y: hidden;
	overflow-x: auto;
	border-bottom: 1px solid #666;
}
.albumThumbs {
	overflow: hidden;
	position: relative;
	/* top: 0px; */
	/* height: 140px; */
	/* width: 8000px; */
	white-space: nowrap;
}
/* Container for album photos */
.albumPhotosContainer {
	position: fixed;
	top: 194px;
	width: 100%;
	overflow: auto;
}
.albumPhotos {
	/* height: 100%; */
	width: 100%;
	overflow: hidden;
}

div.thumbParent {
	padding: 2px;
	float: left;
	margin: 2px 0;
	/* background-color: #999; */
}

.albumTitle {
	clear: both;
	text-align: center;
	color: #000;
	background-color: #C0C0C0;
	font-weight: bold;
	font-size: 1.0em;
	border-radius: 8px 8px 0 0;
}

/* Captions */
.thumbCaption, .photoCaption {
	overflow: hidden;
	padding: 0 2px;
	white-space: nowrap;
}
.thumbCaption {
	color: #FFF;
	/* width: 129px;
	float: left; */
	font-size: 0.8em;
	text-align: left;
}
.photoCaption {
	color: #000;
	text-align: center;
	font-weight: bold;
}

/* Thumbnails */
div.thumbs {
	margin: 5px;
}
figure.thumbnail, figure.photoThumb {
	background-color: #666;
	border: 1px solid #666;
	float: left;
	margin: 4px;

	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft:  6px;

	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius:  6px;

	border-bottom-right-radius: 6px;
	border-bottom-left-radius:  6px;
}

/* Highlight for current item thumbnail */
.albumThumbsContainer .currentThumb {
	-moz-box-shadow: 0 0 5px 5px #C6E7F9;
	-webkit-box-shadow: 0 0 5px 5px #C6E7F9;
	box-shadow: 0 0 5px 5px #C6E7F9;
}
/* Highlight for current album thumbnail */
#groupContainer .currentThumb {
	-moz-box-shadow: 0 0 5px 5px #FFF;
	-webkit-box-shadow: 0 0 5px 5px #FFF;
	box-shadow: 0 0 5px 5px #FFF;
}

#main div.thumbnail {
	background-color: #666;
	border-color: #666;

	-moz-box-shadow: 4px 4px 10px #333;
	-webkit-box-shadow: 4px 4px 10px #333;
	box-shadow: 4px 4px 10px #333;
}

/* Photos */
figure.photo {
	float: left;
	margin: 15px;
	position: relative;
	top: 0px;
	left: 0px;
	background-color: #FFF;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}
figure.photo img {
	border: 6px solid #FFF;
}
figure.fullphoto {
	z-index: 10;
	position: fixed;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	text-align: center;
	overflow: auto;
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}
figure.fullphoto img {
	position: static;
	top: 0px;
	left: 0px;
	margin: 10px;
	height: auto;
	width: auto;
	border: 6px solid #FFF;
}

#lightbox {
	z-index: 5;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: #333;
	opacity: 0.7;
	display: none;
	/* background-image: url(../images/lightbox-back.png); */
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}

/* Flowplayer size */
.flowplayer {
   width: 480px !important;
}

/* Dragging behavior */
.dragging {
	cursor: col-resize;
}
.unselectable {
	/* Make the spliiter non-selectable, or mousedown may be misinterpreted */
	/* Note: user-select is CSS3 */
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

/* Previous/Next container */
#prevnext {
  margin: 0 12px;
  white-space: nowrap;
  display: none;
  width: 100%;
  text-align: center;
}

/* Button style for next/prev/zoom */
.button {
  float: left;
  text-align: center;
	border: 1px solid #333;
	width: 128px;
	background-color: #999;
	color: #C6E7F9;
	font-size 16px;
	text-decoration: none !important;
	margin: 0 10px;
	padding: 2px;
	display: block;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-box-shadow: 2px 2px 6px #666;
	-webkit-box-shadow: 2px 2px 6px #666;
	box-shadow: 2px 2px 6px #666;
}
.button img {
  vertical-align: middle;
}

/* CSS3 Animation
   https://developer.apple.com/safaridemos/photo-transitions.php
   http://images.apple.com/html5/showcase/transitions/styles/transitions.css
*/
/* DISSOLVE */
.dissolveIn {
	-webkit-animation-name: dissolveIn;
	-moz-animation-name: dissolveIn;
	animation-name: dissolveIn;
	-webkit-animation-iteration-count: 1; -webkit-animation-duration: 2s;
	-moz-animation-iteration-count: 1; -moz-animation-duration: 2s;
	animation-iteration-count: 1;
	animation-duration: 2s;
}
.dissolveOut {
	-webkit-animation-name: dissolveOut;
	-moz-animation-name: dissolveOut;
	animation-name: dissolveOut;
	-webkit-animation-iteration-count: 1; -webkit-animation-duration: 2s;
	-moz-animation-iteration-count: 1; -moz-animation-duration: 2s;
	animation-iteration-count: 1;
	animation-duration: 2s;
}
@-webkit-keyframes dissolveOut {
	0%  { opacity: 1; }
	1% 	{ opacity: 1; }
	100% { opacity: 0; }
}
@-moz-keyframes dissolveOut {
	0%	{ opacity: 1; }
	1%	{ opacity: 1; }
	100% { opacity: 0; }
}
@keyframes dissolveOut {
	0%	{ opacity: 1; }
	1%	{ opacity: 1; }
	100% { opacity: 0; }
}
@-webkit-keyframes dissolveIn {
	0%  { opacity: 0; }
	1% 	{ opacity: 0; }
	100% { opacity: 1; }
}
@-moz-keyframes dissolveIn {
	0%	{ opacity: 0; }
	1%	{ opacity: 0; }
	100% { opacity: 1; }
}
@keyframes dissolveIn {
	0%	{ opacity: 0; }
	1%	{ opacity: 0; }
	100% { opacity: 1; }
}