/*Gallery Grids*/
#agamagallery {

}
/*
does not work for IE7 - grid too far to the right
#agamaGalleryTable{
    position: absolute;
    margin-left: -30px;
}
*/

#agamagallery a {
    /*this is too general, color can't be overridden elsewhere inside gallery*/
    /*color: #FFFFFF;*/
}

.gNavLink {
    color: #410064;
}

/*Gallery Viewer Div*/
#agamaViewer {
    padding-top: 20px;

    background-color: #E9E4F7;
    border:1px solid #580073;
    left:12px;
    /*width: 898px;*/
    width: 610px;
    /*top: 150px;*/
    top: 70px;
    display:none;
    position:absolute;
    text-align: center;
    z-index: 9999;
    color: #410064;
}
/*Gallery Viewer Div: Close Button Div*/
#viewerClose {
    cursor: pointer;
    color: white;
    background-color: #EF0E1C;
    border:1px solid #C0C0C0;
    float:right;
    clear:right;
}
/*
#viewerClose a {
    color: #FFFFFF;
    padding: 3px;
    text-decoration: none;
    font-weight: bold;
}
*/
#viewerClose #xButton {
    color: #FFFFFF;
    padding: 3px;
    text-decoration: none;
    font-weight: bold;
}

/*Gallery Viewer Div: Image Holder Div*/
#viewerDiv {
    position: relative;
    border:0px;
    text-align: center;
    width:400px;
    height: 325px;
    /*background-color: #E2E3EB;*/
    background-color: #E9E4F7;
}
#viewerDiv img {
    /*border: 0px;*/
    border: 1px solid #000000;
    cursor: pointer;
}
/*Gallery Viewer Div: Previous Link Div*/
#vprevdiv {
    width: 100px;
    height: 325px;
    background: url(template/images/image_back.jpg);
    background-repeat: no-repeat;
    background-position: center center;
}
/*
#vprevdiv a {
    font-size: 18px;
    text-decoration: none;
}
*/
#vprevdiv .viewerNavButton {
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
}
/*Gallery Viewer Div: Next Link Div*/
#vnextdiv {
    width: 100px;
    height: 325px;
    background: url(template/images/image_next.jpg);
    background-repeat: no-repeat;
    background-position: center center;
}
/*
#vnextdiv a {
    font-size: 18px;
    text-decoration: none;
}
*/
#vnextdiv .viewerNavButton {
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
}
.viewercontrol {
   /*background-color: #E2E3EB;*/
   background-color: #E9E4F7;
   color: #000000;
   font-weight: bold;
}
/*
.viewercontrol a {
    color: #3C6E96;
}
*/
.viewercontrol .viewerNavButton {
    color: #3C6E96;
    height: 325px;
}
#viewerText {
  padding: 3px 0 3px 0;
}

/*End Agamagallery CSS Definitions*/
