/* 	
	 Modern - Singapore Template v.9 (www.sgal.org)
	   by Ross Howard (www.abitcloser.com)													
*/

/* Layout */
													/* For editing and customisation read these notes */
body {
	padding: 0;
	margin: 0;
	background-color: #E7F0FF;
	font-family: Verdana, Arial, Helvetica, sans-serif;		/* Set the font here to effect entire template */
}

#container {
	width: 740px; 									/* This is the page width, if you want a full-screen/liquid layout use 'auto' */
	border-right: 10px solid #99CCFF; 				/* If you use full-screen/liquid layout you probably want to set all borders to 'none' */
	border-left: 1px solid #99CCFF;			 
	border-top: 1px solid #99CCFF;
	border-bottom: 10px solid #99CCFF;
	margin: 24px auto 0 auto;
	background-color: #FFF;	
}

#header {
					
}

#options {
	text-align: right;
	float: right;
	margin: 6px 0 0 0;
}

#main-nav {
					
	padding-top: 12px;
	margin: 0 0 0 26px;
	font-size: 11px;
	color: #999;
}

#content {
					
				
	border-top: 1px solid #FFF;
}

#footer {
	width: 760px;
	margin: 16px auto 0 auto;
	padding: 0 0 16px 0;
	text-align: center;
}

/* Page Elements */

.crumb {
	font-size: 11px;
	line-height: 16px;
	color: #999;
	padding: 20px 0 16px 26px;
}

.gallery {
	border-right: 1px solid #99CCFF;
	border-left: 3px solid #99CCFF;
	border-top: 3px solid #99CCFF;
	border-bottom: 1px solid #99CCFF;
	margin: 18px 24px 24px 24px;
	padding: 12px;
	background-color: #E7F0FF;
}

.album {
	border-right: 1px solid #99CCFF;
	border-left: 3px solid #99CCFF;
	border-top: 3px solid #99CCFF;
	border-bottom: 1px solid #99CCFF;
	margin: 18px 24px 32px 24px;
	padding: 22px 0 0 0;
	background-color: #E7F0FF;
	clear: both;
}

.image {
	margin: 16px 24px 24px 24px;
	padding: 0;
	text-align: center;
}

.image img {
	padding: 5px;
	background-color: #E7F0FF;
	
	border-right: 3px solid #99CCFF;
	border-left: 1px solid #99CCFF;
	border-top: 1px solid #99CCFF;
	border-bottom: 3px solid #99CCFF;
}

.preview {
	text-align: center;
	margin: 28px 0 24px 0;
}

.foot {
	clear: both;	
}


/* Typography */

h2 {
	font-size: 32px;
	line-height: 32px;
	font-weight: normal;
	margin: 0 200px 0 24px;
	color: #0198FC;
	padding: 0;
}

h3 {
	font-size: 16px;
	line-height: 18px;
	font-weight: normal;
	margin: 4px 0 6px 130px;
	padding: 0;
}

h4 {
	font-size: 11px;
	line-height: 12px;
	font-weight: normal;
	margin: 0 0 0 26px;
	color: #666;
	padding: 0;
}

p {
	font-size: 11px;
	line-height: 16px;
	color: #666;
	margin: 6px 16px 4px 16px;
}

.gallery p {
	border: none;
	margin: 0 0 4px 130px;
}

.gallery p.count {
	color: #AAA;
}

.preview p {
	color: #999;
}

#footer p {
	color: #AAA;
	text-align: center;
}

p.links {
	margin: 24px 0 -38px 24px;
	padding: 0 0 6px 0;
}

p.tab {
	line-height: 16px;
	text-align: right;
	margin: -16px 32px 0 24px;
	padding: 0 0 0 0;
	clear: both;
}

p.tab a{
	margin-left: 6px;
}

a {
	color: #29A9FF;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Links and Thumbnails */

.album a {
	width: 134px;									/* This equals template.ini 'thumb_width_album' + padding and borders of inside img */
	height: 134px;									/* This equals template.ini 'thumb_height_album' + padding and borders of inside img */
	float: left;
	text-align: center;
	margin: 0 19px 20px 19px;	
}

.album a img {
	background-color: #FFF;
	padding: 16px;									/* 16px x 2 = 32px																	*/
	border: 1px solid #DDD;							/* 1px x 2 = 2px 		= 34px														*/
}

.gallery a img {
	background-color: #FFF;
	padding: 16px;
	border: 1px solid #DDD;
	float: left;
	margin: 0 -150px 0 0;
}

a:hover img.sgThumbnailAlbum, a:hover img.sgThumbGallery {
	border-right: 1px solid #99CCFF;
	border-left: 4px solid #99CCFF;
	border-top: 4px solid #99CCFF;
	border-bottom: 1px solid #99CCFF;
	
}

.preview a {
	border: none;
}

.preview a img {
	border: 1px solid #CCC;
	color: #CCC;
	margin: 0 4px 0 4px;
	padding: 2px;
}

img.sgThumbnailPreviewCurrent {
	opacity: .3;
}

.preview a:hover img, .preview a:hover img.sgThumbnailPreviewCurrent{
	border: 1px solid #0198FC;
	opacity: 1;
}

/* Details */

dl {
	font-size: 11px;
	line-height: 16px;
	color: #999;
	margin: 12px 64px 24px 64px;
	padding: 0;
	text-align: center;
}

dt {
	display: inline;
	margin: 0 4px 0 0;
	padding: 0;
	color: #666;
	
}

dd {
	display: inline;
	margin: 0;
	padding: 0;
}

/* Forms */

#options form{
	border: none;
	margin: 0 0 0 12px;
	padding: 0 12px 0 0;
	font-size: 10px;
	display: inline;
}

input {
	font-size: 10px;
	margin: 12px 0 0 0;
}

select{
	font-size: 10px;
	color: #666;
}