/**
 * AstonishMe Simple Gallery styles
 *
 * @package AstonishMe SimpleGallery
 *
 * @copyright (c)2008 by AstonishMe - {@link http://astonishme.co.uk/}.
 *
 * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
 * @author Yabba	- {@link http://www.astonishme.co.uk/}
 * @author Stk		- {@link http://www.astonishme.co.uk/}
 *
 * @license GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
 *
 */

/* overlay windows used when viewing galleries in admin or pictures in posts */

/*
 * IE6 only
.amsgWindowOpen{
overflow:hidden;
}
 */

#amsgWindow{
position:fixed;
display:none;
bottom:0;
right:0;
width:100%;
height:100%;
opacity:.6;
filter:alpha( Opacity="60");
background:center center no-repeat;
z-index:1000;
}

#amsgScreen{
position:fixed;
display:none;
bottom:10px;
right:10px;
top:10px;
left:10px;
z-index:1001;
text-align:center;
}

.amsgWindowOpen #amsgWindow{
display:block;
}

.amsgWindowOpen #amsgScreen{
display:block;
}

.amsgDetailPic{
padding:4px;
margin:0 10px;
}

.amsgNext,
.amsgPrevious{
position:absolute;
padding:2px;
top:50%;
cursor:pointer;
}

.amsgNext{
right:0;
}

.amsgPrevious{
left:0;
}

#amsgPreload{
position:absolute;
top:-1000em;
left:-1000em;
}

/* IE6 Crap */
* html #amsgWindow{
position:absolute;
}

* html #amsgScreen{
position:absolute;
left:0;
top:0;
bottom:0;
right:0;
width:100%;
height:100%;
}

* html.amsgWindowOpen,
* html.amsgWindowOpen body{
overflow:hidden;
}

.amsgWindowOpen select,
.amsgWindowOpen object,
.amsgWindowOpen embed,
.amsgWindowOpen iframe,
.amsgWindowOpen frame{
visibility:hidden;
}

/**
 * Admin styles
 */
#amsgAdmin #amsgScreen{
overflow:auto;
}

#amsgGallery ul,
#amsgGallery li{
list-style:none;
margin:0;
padding:0;
}

#amsgGallery li{
float:left;
padding:4px;
height:240px;
margin:2px;
}

/**
 * Gallery styles
 */
.amsgGallery{
margin:40px auto;
padding:0 0 40px 0;
text-align:center;
}

.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:100px;
}

#amsgGalleryDetail{
padding:4em 0 2em 0;
}

#amsgImageTitle{
margin:0 0 .5em 0;
}

#amsgImageCaption{
display:block;
margin:.5em 0 0 0;
}



/**
 * Colours and fonts
 */
#amsgWindow{
background-color:/*#008*/#000;
color:#fff;
}

.amsgDetailPic{
background:#fff;
border:1px solid #888;
}

.amsgNext,
.amsgPrevious{
background:#fff;
border:1px solid #888;
}

#amsgAdmin #amsgScreen{
background:#ccc;
color:#333;
}

#amsgGallery li{
background:#eee;
color:#333;
border:1px solid #666;
}

.amsgGallery legend{
font-weight:bold;
font-size:150%;
color:/*#fda*/#758D38;
padding:25px;
}

.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;
}

#amsgImageTitle{
font-family:verdana;
font-size:3em;
color:#000;/* no js colour */
}

#amsgScreen #amsgImageTitle{
color:#fff; /* with js colour */
}


#amsgImageCaption{
font-family:verdana;
font-size:2em;
color:#000;
}

#amsgScreen #amsgImageCaption{
color:#fff;
}

#amsgImageLink a,
#amsgImageLink a:visited{
text-decoration:none;
color:*#cc9*;
}

#amsgImageLink a:hover{
text-decoration:underline;
}

#amsgZoom{
width:100px;
height:100px;
margin:-50px 0 0 -50px;
border:1px solid #fff;
background:no-repeat #000;
position:absolute;
cursor:none;
}

#amsgImageLink{
padding:1px;
}
