* {
	padding: 0px;
	margin: 0px;
	border: none;
}

body {
/*    font-family: "Arial", "Helvetica", sans-serif;*/
    color: #ffffff;
    background: inherit;
    background-color: #0E146D;
    text-align: center;
}

a, p, span {
    color: #ffffff;
    background-color: #0E146D;
    text-align: center;
    font-family: Georgia, "Times New Roman", Times, serif;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #F6FF00;
}

a:hover img{
    padding: 0px;
    border: 1px solid #FFF000;
}

a:hover img.mainimage {
    padding: 0px;
    border: 1px solid #FFF0ff;
}

a.microthumbnail:hover img{
    text-decoration: none;
    margin: 0px;
    padding: 0px;
    border: 1px solid #FFF000;
} 

/* for IE's anchor underline */
a.microthumbnail:hover, a.thumbnail:hover {
    text-decoration: none;
}

/* for the prev/next anchors */
a.nav, span.unselect {
    margin: 6em;
    font-weight: bold;
}

/* grey out when reaching a limit */
span.unselect {
    color: #AFAFAA;
    background-color: #0E146D;
}

/* highlight when on actual image index */
span.selected {
    font-weight: bold;
    color: #F6FF00;
    background-color: #0A374C;
/*    border-right: 1px solid #ffffff;*/
}

div.numnav {
    display: inline;
}

p.numnavlist, a.numnavlist {
    background-color: #10154C;
}

p.numnavlist {
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 8px;
}

a.numnavlist, span.selected {
    margin: 0px 4px 0px 4px;
/*    border-right: 1px solid #ffffff;*/
}

a.randthumbnail, span.randthumbnail {
    background-color: #4D529A;
}

span.tiny, span.randthumbnail {
/*    font-size: xx-small;*/
    font-size: 0.6em;
}

div.thumbnail {
    float: left;
    margin: 0.5em;
}

div.microthumbnail {
/*    float: left;*/
    margin: 5px;
}

/* for primary image, thumbnail */
img.mainimage, img.randthumbnail, img.thumbnail {
    color: inherit;
    margin: 0px;
    padding: 0px;
/*    border-style: outset; 
    border-width: 1px;
    border-top-color: #2E2C2A;
    border-bottom-color: #ffffff;
    border-left-color: #2E2C2A;
    border-right-color: #ffffff;*/
    border: 1px solid #ffffff;
    background-color: #F7F4F0;
}

img.thumbnail, img.randthumbnail {
    margin: 10px;
}

/* for prev/next microthumbs */
img.microthumbnail {
    margin: 0px;
    padding: 0px;
    border: 1px solid #FFFFFF;
}

div.navcontainer {
    text-align: left;
    padding: 0px;
    margin-left: 10%;
    margin-right: 10%;
    background-color: #10154C;
    border: 1px solid #ffffff;
}

div.navcontainer ul li {
    display: inline;
    margin: 0px 0px 0px 5px;
    padding: 0px;
    background-image: url('webimg/arrow.gif');
    background-repeat: no-repeat;
    background-position: 0 .25em;
}

div.navcontainer a {
    display: inline;
    background-color: #10154C;
    padding: 0px;
    margin: 0px 15px 0px 15px;
}

div.navcontainer a.lastnavitem {
    font-weight: bold;
    padding: 0px;
    margin: 0px 15px 0px 15px;
}

div.category {
    margin-left: 10%;
    margin-right: 0%;
    text-align: left;
}

a.thumbnail {
    background-color: #444470;
}

div#gallery, div.leftcategory, div.leftcategory ul li a, 
div.rightcategory, a.randthumbnail, span.randthumbnail, a.thumbnail{
    background-color: #171E6D;
}

div#gallery {
/*    float: left;*/
    margin-left: 10%;
    margin-right: 10%;
    clear: both;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

div.leftcategory {
    float: left;
    margin-top: 10px;
    width: 30%;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

div.rightcategory {
    margin: 1em 1em 1em 5em;
    width: 45%;
    float: left;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.category ul {
    list-style-type: square;
    list-style-position: inside;
    color: #CC0000;
}

.category ul li {
/*    display: block;*/
    margin: 0px;
    margin-left: 5px;
    padding: 0px;
/*    list-style-type: none;*/
/*    font-weight: bold;*/
}


/* Image Page Columns */

#prevthumb, #image, #nextthumb {
    overflow:hidden;
    display:inline-block;
}

#prevthumb, #image, #nextthumb {
    float:left
}

#prevthumb {
    width: 10%;
}

#image {
    width: 80%;
}

#nextthumb {
    width: 9.9%;
}

div.titleheads {
    background-color: #10154C;
    border-bottom: 3px solid #470E6D;
}

h2 {
    margin-left: 15px;
    font-size: 100%;
}

/* Top level Gallery Styles */
table.category {
    color: #ffffff;
    background-color: #3f321f;
}

table.image {
    color: inherit;
    border: 1px solid #000000;
    background-color: #999999;
}

table.image td {
    color: inherit;
    border: 1px solid #000000;
    background-color: #F1F1ED;
}

td {
    border: 1px solid #666666;
/*    color: #000000;*/
    background-color: #212678;
    color: #ffffff;
    text-align: left;
}

td a.indexgallery {
    color: #ffffff;
    background: #212678;
    margin-left: 15px;
    margin-right: 15px;
}

td p.indexgallery {
    color: #ffffff;
    background: #212678;
    margin-left: 15px;
    margin-right: 15px;
}

#header {
    width: 100%;
}

#footer {
    background: inherit;
    margin: 0px 5% 0px 5%;
    padding: 0px;
    clear: both;
    border-top: 1px dashed #ffffff;
    color: #ffffff;
}

#footer p {
    font-weight: bold; 
}

fieldset {
    border: 1px solid #ccc;
}
/*
form ul {
    list-style-type: none;
}*/

a.test {
    color: #111393;
}

