/*
f.s.w. 2009
*/
body {
   margin: 0;
   font-size: 14px;
   line-height: 22px;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   background-color: Black;
}
a {
   color: #8F584E;
}
a:hover { text-decoration:none;}
#container {
   background-color: White;
   color: Black;
}
#header {
   background: transparent url(images/bck1.jpg) repeat-x;
}
#header1 {
   position: absolute;
   right: 25px;
   height: 52px;
   margin-top: 2px;
   background: transparent url(images/webw.gif) no-repeat left;
}
#logo {
   height: 170px;
   background: transparent url(images/maxhd.jpg) no-repeat;
}
#logo1 {
   height: 20px;
   position: absolute;
   margin-top: 15px;
   padding: 67px 0px 3px 0px;
   background-color: transparent;
}
#logo1 a{
   margin-top: 15px;
   margin-left: 12px;
   padding: 67px 0px 3px 93px;
   color: #8297BC;
   font-weight: bold;
   font-size: 14px;
   text-decoration: none;
   text-transform: none;
   letter-spacing: 7px;
   speak: normal;
}

#menu {
   position: absolute;
   width: 500px;
   height: 30px;
   right: 2px;
   margin-top: -95px;
   letter-spacing: 1px;
   background: transparent url(images/mxgon.gif) no-repeat 46%;
}
#menu ul {
   margin: 0;
   padding: 0;
}
#menu ul li{
   float: right;
   width: 85px;
   list-style: none;
   text-align: center;
}

#menu a {
   display: block;
   float: left;
   width: 85px;
   font-size: 15px;
   font-variant: small-caps;
   font-weight: normal;
   text-decoration: none;
   padding-top: 5px;
   background: transparent none;
   
   font-weight: bold;
}
#menu a:hover{
   font-style: oblique;
}
noscript {
   font-size: 16px;
   font-variant: small-caps;
   font-style: oblique;
   color: Red;
}
#sidenav{
   float: right;
   width: 270px;
   margin-top: -50px;
   padding: 0 5px 0 5px;
   font-size: 13px;
   color: Black;
   background-color: White;
}
#sidenav h2 {
   padding-top: 0px;
   padding-bottom: 2px;
   font-size: 18px;
   font-weight: bold;
   font-variant: small-caps;
   text-decoration: none;
   letter-spacing: 5px;
   color: #41577A;
}
#sidenav h2 a {
   color: #41577A;
}
#sidenav blockquote {
   font-size: 15px;
   font-variant: small-caps;
   font-weight: bold;
   text-align: center;
   color: White;
   letter-spacing: 5px;
   margin-left: 22px;
   margin-right: 22px;
   border-left: 4px solid #879498;
   padding: 0px 3px 2px 3px;
   background: #4E595E;
}
#main {
   padding-top: 2px;
}
#maintext {
   margin: 0px 320px 0px 20px;
}
#maintext p { padding:0 20px 10px 0;}
#maintext li {
   list-style: none;
   padding-left: 20px;
   background: url(images/mxgon.gif) no-repeat 0px 3px;
}
h1 {
   margin: 0px;
   padding: 0px;
   font-size: 2em;
   color: #5B759E;
   background-color: transparent;
}
h2 {
   color: #5B759E;
   background-color: transparent;
}
h3 {
   font-size: 1.3em;
   color: #5B759E;
   background-color: transparent;
}
h4 {
   line-height: 1px;
   font-size: 14px;
   letter-spacing: 2px;
   font-variant: small-caps;
}
#margin {
   margin-left: 20px;
   margin-right: 20px;
   margin-top: 15px;
   margin-bottom: 0px;
   font-variant: normal;
   font-style: italic;
   font-size: 1.2em;
}

#footerx {
   position: absolute;
   right: 80px;
   height: 11px;
   width: 130px;
   color: Gray;
   text-align: right;
   background-repeat: no-repeat;
}
#footer {
   background: Black url(images/mxfoot.gif) repeat-x;
   height: 121px;
   clear: both;
}
#footersx {
   float: left;
   padding: 35px 0 0 25px;
   text-transform: uppercase;
   color: #FFFFFF;
   font-weight: bold;
   font-size: 12px;
}
#footersx a {
   color: #8297BC;
   font-size: 13px;
}
#footersx a:hover {
   text-decoration: none;
}
#footerdx {
   float: right;
   padding: 35px 25px 0px 0px;
   font-variant: small-caps;
   color: #FFFFFF;
   font-size: 13px;
   text-align: right;
}
#footerdx a {
   color: #FFFFFF;
}
#footerdx b {
   color: #FFFFFF;
}
#footerdx strong {
   float: right;
   padding: 18px 25px 0px 0px;
   color: #FFFFFF;
}
#footerdx a:hover {
   text-decoration: none;
}
b {
   color: Black;
   font-weight: bolder;
}
/* main content gallerycontainer */

.gallerycontainer{
   position: relative;
}

.thumbnail img{
   width: 105px;
   height: 80px;
   border: 1px solid Purple;
   margin: 2px 5px 1px 0px;
   float: left;
}


.thumbnail:hover{
   background-color: transparent;
}

.thumbnail:hover img{
   float: left;
   border: 1px solid Purple;
}

.thumbnail span{
   position: absolute;
   background-color: transparent;
   padding: 0px 0px 0px 0px;
   top: 0px;
   left: -1000px;
   visibility: hidden;
   color: black;
   text-decoration: none;
}

.thumbnail span img{
   border-width: 0;
   padding: 10px;
   float: left;
   width: 400px;
   height: 300px;
}

.thumbnail:hover span{
   visibility: visible;
   top: 0;
   left: 100px;
   z-index: 20;
}
.nogallery{
   display: none;
}
.sigallery{
   display: block;
}
/* end */