/* 	
	 Layout CSS for Modern - Singapore Template v1.3 (www.sgal.org)
	   by Ross Howard (www.abitcloser.com)													
*/

/* Structure */
													/* For editing and customisation read these notes */
#sg_gallery_cont #sgContainer {
	width: auto; 									/* This is the page width, if you want a full-screen/liquid layout use 'auto' */
	border:0px none;
	/*border-right: 4px solid; 						If you use full-screen/liquid layout you probably want to set all borders to 'none' 
	border-left: 1px solid;			 
	border-top: 1px solid;
	border-bottom: 4px solid;*/
	margin: 24px auto 0 auto;
}

#sg_gallery_cont #sgHeader {
	/* border-right: 1px solid;				 */
}

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

#sg_gallery_cont #sgMain-nav {
	/*border-right: 1px solid;				*/
	padding-top: 12px;
	margin: 0 0 0 26px;
	font-size: 11px;
}

#sg_gallery_cont #sgContent {
	/*border-right: 1px solid;				
	border-bottom: 1px solid;				
	border-top: 1px solid;*/
}

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

#sg_gallery_cont #sgFooter a {
	font-size: 10px;
}

#sg_gallery_cont #sgUpdate {
	font-size: 11px;
	padding: 8px 0 8px 0;
	text-align: center;
	border-bottom: 1px solid;
}


/* Page Elements */

#sg_gallery_cont #inhalt .sgCrumb {
	font-size:10px;
	/*line-height:16px;*/
	padding: 20px 0 16px 14px;
}
#sg_gallery_cont #inhalt .sgCrumb a{
	font-size:10px;
}
#sg_gallery_cont .sgGallery {
	border: 1px solid;
	margin: 18px 24px 24px 24px;
	padding: 6px 6px 5px 6px;
}

#sg_gallery_cont .sgGalleryFloat {
	margin: 9px 2px 6px 12px;
	float: left;
    width: 304px;
}

#sg_gallery_cont .sgAlbum {
	border: 1px solid;
	margin: 18px 24px 32px 24px;
	padding: 11px 0 0 0;
	clear: both;
}

#sg_gallery_cont .sgImageBox {
	margin: 24px auto 24px auto;
	position: relative;
	font-size: 11px;
	padding: 5px;
	border: 1px solid;
	border-right: 1px solid;
	border-bottom: 1px solid;
}

#sg_gallery_cont img.sgImage  {
	display: block;
}

#sg_gallery_cont .sgPreview {
	text-align: center;
	margin: 28px 0 24px 0;
}

#sg_gallery_cont .sgFoot {
	clear: both;	
}


/* Typography */
#sg_gallery_cont h2 {
	margin: 0 200px 0 24px;
}


#sg_gallery_cont h3 {
	margin: 0px 0 6px 130px;
}

#sg_gallery_cont h4 {
	margin: 0 0 0 26px;
}

#sg_gallery_cont p {
	line-height: 16px;
	margin: 6px 16px 4px 16px;
}

#sg_gallery_cont .sgGallery p {
	border: none;
	margin: 0 0 4px 130px;
}

#sg_gallery_cont #sgFooter p {
	text-align: center;
	font-size:10px;
}

#sg_gallery_cont p.sgLinks {
	margin: 24px 0 -38px 24px;
	padding: 0 0 6px 0;
}

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

#sg_gallery_cont p.sgTab a{
	margin-right: 0px;
}

#sg_gallery_cont p.sgFullsize {
	text-align: center;
	margin: 0;
	padding: 0;
}

/* Links and Thumbnails */

#sg_gallery_cont .sgAlbum 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 10px 10px 10px;	
}

#sg_gallery_cont .sgAlbum a img {
	padding: 16px;									/* 16px x 2 = 32px																	*/
	border: 1px solid	;							/* 1px x 2 = 2px 		= 34px														*/
}

#sg_gallery_cont .sgGallery a img {
	padding: 16px;
	border: 1px solid;
	float: left;
	margin: 0 -150px 0 0;
}

#sg_gallery_cont a:hover img.sgThumbnailAlbum, #sg_gallery_cont a:hover img.sgThumbGallery {
	border: 1px solid;
}

#sg_gallery_cont .sgPreview a {
	border: none;
}

#sg_gallery_cont .sgPreview a img {
	border: 1px solid;
	margin: 0 4px 0 4px;
	padding: 2px;
}

#sg_gallery_cont img.sgThumbnailPreviewCurrent {
	opacity: .6;
}

#sg_gallery_cont .sgPreview a:hover img, #sg_gallery_cont .sgPreview a:hover img.sgThumbnailPreviewCurrent{
	border: 1px solid;
	opacity: 1;
}

/* Details */

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

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

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

/* Forms */

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

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

#sg_gallery_cont select{
	font-size: 10px;
}

/* Utility */

#sg_gallery_cont .clear {
	display: block;
	clear:both;
	float: none;
}

/* In-Image Rollovers */

#sg_gallery_cont .sgImageBox a {
	display: block;
	position: absolute;
	text-indent: -3000px;
	font-size: 15px;
	opacity: .0;
	width: 80px;
	text-align: center;
}

#sg_gallery_cont .sgImageBox a:hover, #sg_gallery_cont .sgImageBox a.note {
	opacity: .9;
	text-indent: 0px;
	text-decoration: none;
}

#sg_gallery_cont .sgImageBox a span{
	display: block;
}

#sg_gallery_cont .sgImageBox a.thumb span, #sg_gallery_cont .sgImageBox a.control span{
	margin-top: 22px;
}

#sg_gallery_cont .sgImageBox a.prev {
	top: 5px;
	left: 5px;
	border-right: 1px solid;
}

#sg_gallery_cont .sgImageBox a.thumb {
	top: 5px;
	left: 5px;
	height: 60px;
	border-bottom: 1px solid;
}

#sg_gallery_cont .sgImageBox a.next {
	top: 5px;
	right: 5px;
	border-left: 1px solid;
}

#sg_gallery_cont .sgImageBox a.control {
	left: 5px;
	bottom: 4px;
	height: 60px;
	border-top: 1px solid;
}

/* Slideshow */

#sg_gallery_cont body#slideshow div.sgImageWrapper{
	position: absolute;
	top: 50%;
	left: 0px;
	width: 100%;
}

#sg_gallery_cont #slideshow div.sgImageBox {
	margin: 0 auto 0 auto;
	font-size: 11px;
	padding: 5px;
	border: none;
}

#sg_gallery_cont body#slideshow div img{
	margin: 0px auto 0px;
}