.amsgUnderlay{
	background:#000 center center no-repeat;
	opacity:.8;
	filter:alpha(opacity=80);
}

#amsgTools .amsgUnderlay{
	border:1px solid;
	border-color:#333 #fff #fff #333;
	opacity:.5;
	filter:alpha(opacity=50);
}

#amsgDetail{
border:1px solid #666;
cursor:move;
}


/**
 * AM Simple Gallery structure
 *
 * Don't edit anything below here
 * unless you know what you're doing ;)
 */
* .amsgActive,
* .amsgActive body{
overflow:hidden;
width:100%;
height:100%;
}

.amsgActive object,
.amsgActive embed,
.amsgActive select{
visibility:hidden;
}

.amsgActive #amsgScreen{
display:block;
}

#amsgScreen{
	position:fixed;
	bottom:0;
	right:0;
	width:100%;
	height:100%;
	z-index:999;
	display:none;
}

.amsgUnderlay{
	position:absolute;
	bottom:0;
	right:0;
	width:100%;
	height:100%;
	z-index:-1;
}

#amsgLogo,
#amsgLogo:visited{
position:absolute;
right:4px;
bottom:4px;
color:#666;
opacity:.4;
filter:alpha(opacity=40);
font:.8em serif;
text-decoration:none;
}

#amsgLogo:hover{
opacity:.8;
filter:alpha(opacity=80);
}

#amsgWrap{
position:relative;
}

#amsgImgWrap{
/*
text-align:center;
*/
overflow:hidden;
/*
margin:20px auto;
*/
cursor:pointer;
top:10px;
left:10px;
position:relative;
}

#amsgTools{
	width:400px;
	position:absolute;
	left:50%;
	top:5px;
	margin-left:-200px;
	z-index:999;
}

#amsgTools .amsgUnderlay{
opacity:.3;
filter:alpha(opacity:30);
	z-index:998;
}

.amsgImgTools{
	position:absolute;
	display:block;
	width:14px;
	top:0;
	text-align:center;
	background:#ddf;
	border:2px solid;
	border-color:#ccf #33f #336 #aac;
	font-family:serif;
	font-weight:bold;
	cursor:pointer;
	z-index:999;
	opacity:.7;
	filter:alpha(opacity:70);
}

#amsgImgInfoIcon{
	opacity:.7;
	filter:alpha(opacity:70);
	color:#fff;
}

.amsgImgTools:hover,
#amsgImgInfoIcon:hover{
	opacity:1;
	filter:alpha(opacity:100);
}

/*
#amsgImgPrevious{
	left:316px;
}

*/

#amsgImgShare{
	left:336px;
	background:#246;
	color:#ddd;
	border-color:#bdf #024 #024 #bdf;
}

#amsgShare{
position:absolute;
border:1px solid #ccc;
width:400px;
left:50%;
bottom:50%;
margin:0 0 0 -200px;
padding:2px 10px;
overflow:hidden;
z-index:999;
text-align:left;
color:#eee;
display:none;
}

#amsgShare .amsgUnderlay{
height:1000em;
width:1000em;
background:#246;
opacity:.5;
filter:alpha(opacity:50);
}

#amsgImgLinks{
margin:0;
padding:0;
list-style:none;
}

.amsgShareTitle{
margin:0;
padding:0;
font:1.4em sans-serif;
color:#eda;
}

#amsgShare a,
#amsgShare a:visited{
color:#ccc;
}

#amsgShare a:hover{
color:#eef;
}

#amsgImgLinks span{
display:block;
float:left;
width:80px;
margin:0 4px 0 0;
}

#amsgImgLinks li{
clear:left;
margin:0 0 4px 0;
font:1.2em serif;
}

#amsgShare input{
width:300px;
}

#amsgTools .amsgSharePressed{
	color:#eee;
	border-color:#024 #bdf #bdf #024;
}

#amsgImgInfo{
	left:356px;
	background:#00c;
	color:#aac;
	border-color:#001 #00f #00e #001;
	opacity:1;
	filter:alpha(opacity:100);
}

#amsgTools .amsgInfoPressed{
	color:#ccf;
	border-color:#00f #001 #001 #00e;
}

#amsgInfoBlock{
position:absolute;
border:1px solid #ccc;
width:400px;
left:50%;
bottom:5px;
margin-left:-200px;
padding:2px 10px;
overflow:hidden;
z-index:999;
text-align:center;
}

/* IE :-S */
#amsgInfoBlock .amsgUnderlay{
height:1000em;
width:1000em;
background:#008;
opacity:.5;
filter:alpha(opacity:50);
}

#amsgInfoBlock h3{
font:1.4em tahoma;
}

#amsgInfoBlock h3,
#amsgInfoBlock p{
color:#ddf;
position:relative;
z-index:999;
margin:0 0 4px 0;
}

#amsgInfoBlock p{
color:#ccd;
}

#amsgImgClose{
	left:376px;
	background:#800;
	color:#eee;
	border-color:#f00 #600 #600 #c00;
}

#amsgImgInner{
	text-align:right;
	color:#fff;
	border:1px solid;
}

#amsgSliderWrap{
	width:300px;
	margin:.6em 0 .6em 2px;
	border:1px solid;
	border-color:#333 #fff #ddd #666;
	cursor:pointer;
	z-index:998;
	position:relative;
}

#amsgSlider{
	height:6px;
	position:relative;
}

#amsgScreen .ui-slider-handle{
	background:#666;
	width:4px;
	height:18px;
	margin:-7px 0 0 -2px;
	position:absolute;
	cursor:pointer;
	z-index:999;
	border:1px solid;
	border-color:#ddd #333 #000 #999;
}

#amsgZoom{
	height:4px;
	width:0;
	background:#080;
	position:absolute;
	left:0;
	font-size:1px;
	border:solid;
	border-width:1px 0 1px 1px;
	border-color:#0d0 #060 #030 #0b0;
}

.amsgPreLoad{
position:absolute;
top:-1000em;
left:-1000em;
}

.amsgHide #amsgTools,
.amsgHide #amsgDetail,
.amsgHide #amsgInfoBlock,
.amsgHide .amsgHideable,
.amsgHide .amsgHideable{
opacity:0;
filter:alpha(opacity=0);
}

#amsgImgNext,
#amsgImgPrevious{
position:absolute;
top:50%;
margin-top:-41px;
color:#ccc;
line-height:80px;
cursor:pointer;
}

#amsgImgNext img,
#amsgImgPrevious img{
border:1px solid #ddd;
height:80px;
}

#amsgImgNext{
right:10px;
}

#amsgImgPrevious{
left:10px;
}

* html #amsgScreen{
position:absolute;
}


/**
 * Test page only
html, body{
margin:0;
padding:0;
}

#wrapper{
margin:0 auto;
width:760px;
}

fieldset{
margin:0 0 1em 0;
}

legend{
font:1.2em arial;
padding:0 1em;
}

.code{
margin:0;
text-align:left;
}

pre{
margin:0 2em 1em 2em;
padding:4px 10px;
background:#eef;
color:#000;
text-align:left;
}
 */




/**
 * AM SimpleGallery plugin
 */

/**
 * Gallery styles
 */
.amsgGallery{
margin:40px auto;
padding:0 0 40px 0;
text-align:center;
clear:both;
}

.amsgGallery legend{
padding:0 1em;
margin:0 0 0 1em;
}

.amsgGallery .center{
text-align:center;
}

.amsgGallery p{
margin:0;
}

.amsgGallery ul,
.amsgGallery li{
list-style:none;
padding:0;
margin:0;
}

.amsgGallery ul{
padding:0 20px 20px 20px;
}

.amsgGallery li{
display:inline;
}

.asmgGallery a{
text-decoration:none;
}

.amsgGallery a img{
margin:2px;
padding:4px;
height:80px;
}

#amsgGalleryDetail{
padding:4em 0 2em 0;
}

#amsgImageTitle{
margin:0 0 .5em 0;
}

#amsgImageCaption{
display:block;
margin:.5em 0 0 0;
}

/**
 * Colours
 */
#amsgGallery li{
background:#eee;
color:#333;
border:1px solid #666;
}

.amsgGallery legend{
font-weight:bold;
font-size:120%;
color:#fda;
}

.amsgGallery a img{
background-color:#444;
border:1px solid #bb8;
}

.amsgGallery a:hover img{
background-color:#888;
}

/*
#amsgDetailImage{
border:4px solid #fff;
background:#bbb;
padding:1px;
}
*/

#amsgInfoBlock h3{
font-family:tahoma;
font-size:1.4em;
color:#cc9;
}

#amsgInfoBlock p{
font-family:sans-serif;
font-size:1em;
}

#amsgImageLink a,
#amsgImageLink a:visited{
text-decoration:none;
color:#cc9;
}

#amsgImageLink a:hover{
text-decoration:underline;
}

#amsgImageLink,
#amsgForumLink{
padding:1px;
margin:2px auto;
}
