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

#sgContainer {
	width: auto; 									/* This is the page width, if you want a full-screen/liquid layout use 'auto' */

	margin: 0 auto 0 auto;
}

#sgHeader {
}

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

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

#sgContent {
}

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

#sgUpdate {
	font-size: 11px;
	padding: 8px 0 8px 0;
	text-align: center;
}


/* Page Elements */

.sgCrumb {
	font-size: 11px;
	line-height: 16px;
}

.sgGallery {
	border: 1px solid;
	margin: 10px;
    _margin: 5px;
	padding: 5px;
}

.sgGalleryFloat {
	float: left;
    width: 250px;
    height: 85px;
    w\idth: 230px;
    h\eight: 75px;
    m\in-height: 90px;
}

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

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

img.sgImage  {
	display: block;
}

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

.sgFoot {
	clear: both;	
}


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

#sgFooter p {
	text-align: center;
}

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

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

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

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

/* Links and Thumbnails */

.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 19px 20px 19px;	
}

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

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

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

.sgPreview a {
	border: none;
}

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

img.sgThumbnailPreviewCurrent {
	opacity: .6;
}

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

/* Forms */

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

/* Utility */

.clear {
	display: block;
	clear:both;
	float: none;
    height: 1px;
}

/* In-Image Rollovers */

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

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

.sgImageBox a span{
	display: block;
}

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

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

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

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

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

/* Slideshow */

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

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

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

#sgContainer {
	/*background-color: #FFF;	*/
}

#sgHeader {
	border-right-color: #C3C3C3;				
}

#sgMain-nav {
	border-right-color: #C3C3C3;				
	color: #999;
}

#sgContent {
	border-right-color: #C3C3C3;				
	border-bottom-color: #C3C3C3;				
	border-top-color: #FFF;
    /*width: 575px;*/
    margin-left: auto;
    margin-right: auto;
}

#sgUpdate {
	background-color: #FFF;
	border-bottom-color: #DEDEDE;	
	color: #666;			
}

/* Page Elements */

.sgCrumb {
	color: #999;
}

.sgGallery {
	border-color: #CCC;
	background-color: #EEE;
}

.sgAlbum {
	border-color: #CCC;
	background-color: #EEE;
}

.sgImageBox {
	background-color: #EEE;
	border-color: #DDD;
	border-right-color: #AAA;
	border-bottom-color: #AAA;
}

img.sgImage  {
	background: #EEE url(../img/loader_w.gif) center bottom no-repeat;
}

/* Typography */

h2 {
	color: #555;
}

h4 {
	color: #666;
}

p {
	color: #666;
}

.sgGallery p.sgCount {
	color: #AAA;
}

.sgPreview p {
	color: #999;
}

#sgFooter p {
	color: #AAA;
}

a {
	color: #29A9FF;
}

#sgFooter a {
	color: #29A9FF;
}

/* Links and Thumbnails */

.sgAlbum a img {
	background-color: #FFF;
	border-color: #DDD;			
}

.sgGallery a img {
	background-color: #FFF;
	border-color: #DDD;
}

a:hover img.sgThumbnailAlbum, a:hover img.sgThumbGallery {
	border-color: #BBB;
}

.sgPreview a img {
	border-color: #CCC;
	color: #CCC;
}

.sgPreview a:hover img, .sgPreview a:hover img.sgThumbnailPreviewCurrent{
	border-color: #29A9FF;
}

/* Details */

dl {
	color: #999;
}

dt {
	color: #666;
}

/* Forms */

select{
	color: #666;
}

/* In-Image Rollovers */

.sgImageBox a {
	background-color: #222;
}

.sgImageBox a.prev {
	border-right-color: #111;
}

.sgImageBox a.thumb {
	border-bottom-color: #111;
}

.sgImageBox a.next {
	border-left-color: #111;
}

.sgImageBox a.control {
	border-top-color: #111;
}

/* Slideshow */

body#slideshow {
	background-color: #000;
}

#slideshow div.sgImageBox {
	background-color: #000;
}

.js-poweredBy {
    display: none !important;
}

.sgShadow {
    width: 98%;
    w\idth: 100%;
}

.sgThumbnail {
    width: 125px;
    margin: 10px 0;
    height: 90px;
    float: left;
    vertical-align: middle;
}
