#monkeyalbum { overflow: auto; }

/* Navigation and breadcrumbs
----------------------------------------*/
#ma-navigation {
	border-bottom: 3px double #999;
	font-size: 0.9em;
	font-weight: bold;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

#ma-nav-upper {
	line-height: 1.5em;
	margin: 0 0 10px 0;
}

#ma-nav-upper ul {
	border-bottom: 1px solid #999;
	list-style-type: none;
	margin: 0;
	padding: 3px 0 1px;
}

#ma-nav-upper ul li { display: inline; }

#ma-nav-upper ul li a {
	background: #DBECD5;
	border: 1px solid #999;
	border-bottom: none;
	font-size: 0.85em;
	font-weight: bold;
	color: #000;
	margin-right: 5px;
	padding: 3px 0.5em;
	text-decoration: none;
}

#ma-nav-upper ul li a:hover {
	background: #4AA02C;
	color: #FFF;
}

#ma-nav-upper ul li a.current {
	background: #FFF;
	border-bottom: 1px solid #FFF;
	color: #000;
}

#ma-nav-lower,
#ma-nav-lower-border {
	font-size: 0.9em;
	line-height: 1.25em;
	margin: 0 1em 10px 0;
	min-height: 1.25em;
	position: relative;
}

#ma-nav-lower-border {
	border-bottom: 1px solid #999;
	padding: 0 0 0.5em 0;
}

#ma-collections {
	background: url(icons/folder.png) no-repeat center left;
	font-weight: normal;
	padding-left: 20px;
	position: absolute;
	right: 0;
}

#ma-breadcrumbs {
	font-weight: bold;
	position: absolute;
	left: 0;
}

#ma-displaying {
	font-weight: normal;
	position: absolute;
	right: 0;
}

#ma-imagenav {
	color: #999;
	font-weight: bold;
	position: absolute;
	right: 0;
}

#ma-imagenav span { margin-left: 10px; }

/* Select an album page elements
----------------------------------------*/
div.album-wrapper {
	float: left;
	margin: 0 0 10px 10px;
	width: 270px;
}

div.album-block {
	background: #DBECD5;  /*#CCCC99; #E6F4FF;*/
	border: 1px solid #000;
	font-size: 0.9em;
	/* height: 184px; Temporary fix for IE, which doesn't understand min-height */
	margin: 0;
	min-height: 200px;
	padding: 10px;
	position: relative;
	text-align: center;
}

div.album-block img { display: block; }
div.album-block a { display: block; }
div.album-block a img { border: none; }
div.album-block h3 a { display: inline; }

div.album-block h3 {
	font-weight: bold;
	margin: 5px 0;
	font-size: 1.15em;
}

div.album-description {
	margin-bottom: 5px;
	text-align: left;
}

div.album-meta {
	border-top: 1px solid #000;
	bottom: 5px;
	font-size: 95%;
	left: 5px;
	padding-top: 5px;
	position: absolute;
	right: 5px;
	text-align: right;
}

div.album-pagination {
	clear: both;
	color: #CCC;
	font-weight: bold;
	line-height: 2em;
	margin-right: 25px;
	text-align: right;
}

div.album-pagination span.page-number a {
	background: #EEE;
	border: 1px solid #999;
	font-weight: bold;
	padding: 3px 6px;
	text-decoration: none;
}

div.album-pagination span.page-number a:hover {
	border: 1px solid #D54E21;
	color: #D54E21;
}

div.album-pagination span.page-current {
	background: #CCC;
	border: 1px solid #999;
	color: #000;
	font-weight: bold;
	padding: 3px 6px;
}

/* Collection blocks
----------------------------------------*/
div.collection-wrapper {
	background: #4AA02C;
	float: left;
	margin: 0 10px 10px 10px;
	/*padding: 10px;*/
	border: 1px solid #000;
	width: 400px;
}

div.collection-block {
	background: #DBECD5;
	padding: 10px 25px;
}

div.collection-block a img {
	border: medium none;
}

div.collection-block h2 {
	font-family: Georgia,"Times New Roman",Times,serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 0 10px 0;
}

div.collection-block h2 span {
	color: #000;
	font-size: 0.6em !important;
	font-style: normal;
}

/* Favorites preview block
----------------------------------------*/
div#fav-wrapper {
	background: #91AA9D;
	float: right;
	margin: 0 20px 10px 0;
	padding: 10px;
	width: 570px;
}

div#favorites {
	background: #FEFAF0;
	border: 3px solid #FCF0D2;
	color: #930;
	margin-top: 10px;
	padding: 1em;
}

div#favorites h2 {
	color: #930;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 0 10px 0;
	text-align: center;
}

div#favorites div.ma-thumb {
	margin: 0 0 10px 5px;
}

div#more-favorites {
	clear: both;
	font-weight: bold;
	margin-right: 10px;
	text-align: right;
}

/* Thumbnail images
----------------------------------------*/
div.ma-thumb,
div.ma-thumb-favorite {
	float: left;
	margin: 0 10px 10px 0;
	position: relative;
}

div.ma-thumb a,
div.ma-thumb-favorite a {
	background: #CCCC99; /*#E6F4FF;*/
	border: 1px solid #CCC;
	color: #000;
	display: block;
	line-height: 0;
	padding: 5px;
}

div.ma-thumb-favorite a {
	background: #FF6;
	border: 1px solid #CC3;
}

div.ma-thumb a:hover,
div.ma-thumb-favorite a:hover {
	background: #4AA02C; /*#FFA700;*/
	border: 1px solid #4AA02C;
	color: #000;
}

div.ma-thumb img { border: none; }

span.badge {
	background: url(icons/badge2.gif) no-repeat;
	cursor: pointer;
	height: 48px;
	width: 48px;
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 100;
}

/* Individual image styles
----------------------------------------*/
span.favorite-tag {
	background: url(icons/star.png) no-repeat center left;
	color: #930;
	float: right;
	font-size: 0.9em;
	margin: 0 0 1em 1em;
	padding-left: 20px;
}

div.ma-image-hq {
	margin: 0 auto;
	text-align: center;
	width: 800px; /* YotCM Specific */
}

div.ma-image-hq a {
	background: #FF6;
	color: #000;
	display: block;
	font-weight: bold;
	padding: 5px 0;
	text-decoration: none;
}

div.ma-image-hq a:hover {
	background: #F90;
	color: #000;
}

div.ma-image {
	margin-bottom: 10px;
	overflow: hidden;
	position: relative;
	text-align: center;
}

div.ma-image a {
	border: none;
	height: 100%;
	outline: none;
	overflow: hidden;
	text-indent: -5000px;
	width: 46%;
	opacity: 0;
	filter: alpha(opacity=0);
}

div.ma-image a.ma-previous,
div.ma-image a.ma-previous-oneway {
	background: url(icons/previous2.gif) no-repeat 25% 25px;
	position: absolute;
	top: 0;
	left: 0;
}

div.ma-image a.ma-next,
div.ma-image a.ma-next-oneway {
	background: url(icons/next2.gif) no-repeat 75% 25px;
	position: absolute;
	top: 0;
	right: 0;
}

div.ma-image a:hover {
	opacity: 0.25;
	filter: alpha(opacity=25);
}

/* EXIF information
----------------------------------------*/
p.ma-exif-info {
	background: #E6F4FF;
	font-size: 85%;
	padding: 0.5em;
}

table.ma-exif-info {
	border-left: 1px solid #CCC;
	border-top: 1px solid #CCC;
	font-size: 85%;
	margin: 0 auto 20px;
}

table.ma-exif-info td {
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 0.1em 0.5em;
}

table.ma-exif-info th {
	background: #E6F4FF;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	color: #000;
	font-weight: bold;
	padding: 0.1em 0.5em;
	text-align: right;
}


