/**
 * 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:.85; /* stk mod of yabba's mod of stk's original mod */
background:center center no-repeat;
z-index:998;
}


#amsgScreen{
position:fixed;
display:none;
bottom:10px;
right:10px;
top:10px;
left:10px;
z-index:999;
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;
}

* html.amsgWindowOpen select,
* html.amsgWindowOpen object,
* html.amsgWindowOpen embed{
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:4px;
text-align:center;
border:2px solid #999; /*stk mod*/
}

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

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

.bText .amsgGallery p {
margin:10px 0 15px 0;
padding:0;
}

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

.amsgGallery ul{
background:red;
}

.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:#000;
color:#fff;
}

.amsgGallery {
background:#eee;
}

.amsgDetailPic{
background:#ccc;
border:1px solid #888;
}

.amsgNext,
.amsgPrevious{
background:#fff;
border:1px solid #888;
}

#amsgAdmin #amsgScreen{
background:#ccc;
color:#333;
}

/* stk added */
.bText .amsgGallery ul{
border:none;
  background:#e9e9e9;
  margin:0 0 5px 0;
  padding:10px 0 5px 0;
  }

.bText .amsgGallery .logo {
  padding:0;
  margin:0;
  float:right;
  width:135px;
  height:23px;
  display:block;
  background:url(/blogs/plugins/am_SimpleGallery_plugin/logo.jpg) no-repeat;
}
.bText .amsgGallery .logo:hover {
  background-position:right;
  border:none;
}
/* end */

.bText .amsgGallery li{
margin:0;
padding:0;

}

.amsgGallery legend{
font-weight:bold;
font-size:120%;
font:bold 140% georgia,verdana,sans-serif;
/*color:#fda;*/
color:#336; /* stk mod */
}

/* stk added */
.amsgGallery a:hover,
.amsgGallery a:visited:hover {
background:none;
border:none;
padding:2px 4px;
}
/* end */


.amsgGallery a img{
background-color:#fff; /* stk mod */
border:1px solid #aaa; /* stk mod */
}

.amsgGallery a:hover img{
background-color:#fdf  /* stk mod */
}


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

#amsgImageTitle{
font-family:georgia,verdana,sans-serif; /* stk mod */
font-size:1.5em;                        /* stk mod */
color:#ddd;                             /* stk mod */
}

#amsgImageCaption{
font-family:verdanda,sans-serif; /* stk mod */
font-size:1.1em;                 /* stk mod */
color:#ddd;                      /* stk mod */
}

#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:crosshair; /* stk mod */
}

#amsgImageLink{
padding:1px;
}

#amsgWindow #amsgSimpleName{
font-size:200%;
position:absolute;
width:100%;
bottom:0;
opacity:.4;
color:#aaa;
margin:0 auto;
text-decoration:none;
background:transparent;
text-align:center;
}
