/* ---- body ---- */
html, body {
margin: 0;
padding: 0;
}

body {
background: #7f7f7f url(/images/backgrounds/main.jpg) repeat-x top left;
color: #fff;
font: normal 12px/1.5em Arial, Helvetica, sans-serif;
}

/* ---- header ---- */
#container {
margin: 25px auto;
padding: 0;
width: 920px;
background: #fff;
}

#wrapper {
background: #878787 url(/images/backgrounds/sides.jpg) repeat-y top left;
}

#header {
margin: 0 auto;
height: 115px;
background: #000 url(/images/headers/default/rotate) no-repeat top left;
}

h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}

#header h1, #header h1 a {
text-indent: -4000px;
display: block;
margin: 0
padding: 0;
width: 177px;
height: 106px; 
background: url(/images/logos/mb_small.gif) 0 0 no-repeat;
border-bottom: none;
text-decoration: none;
}

/* ---- headings ---- */
h2 {
font-size: 240%;
color: #0d42a6;
font-weight: normal;
margin: 25px 50px;
}

h3, dt {
font-size: 140%;
}

/* ---- links ---- */
a {
color: #9cf;
text-decoration:none;
}
a:link {color: #9cf;}
a:visited {color:#9cf;}
a:hover {color: #white;text-decoration:underline}

/* ---- navigation ---- */
#nav ul {
clear: both;
text-align: center;
padding-bottom: 7px;
padding-top: 7px;
padding-left: 0;
margin-top: 0;
/* cancels gap caused by top padding in Opera 7.54 */
margin-left: 0;
border: 1px solid #000;
background: #000 url(/images/backgrounds/navbar.gif) repeat-x top left;
color: #fff;
width: 100%;
font-family: Arial,Helvetica,sans-serif;
line-height: 18px;
/* fixes Firefox 0.9.3 */
}

#nav ul li
{
display: inline;
padding-left: 0;
padding-right: 0;
padding-bottom: 5px;
/* matches link padding except for left and right */
padding-top: 5px;
}

#nav ul li a
{
padding-left: 10px;
padding-right: 10px;
padding-bottom: 5px;
padding-top: 5px;
color: #9cf;
text-decoration: none;
}

#nav ul li a:hover
{
color: #fff;
}

#nav #active { border-left: 1px solid #fff; }

/* ---- main content ---- */
#main {
clear: both;
margin: 25px 50px;
}

/* gallery categories */
ul#imagecat {
	margin: 25px auto;
  padding: 0;
  width: 700px
}
ul#imagecat li {
  float: left;
  padding: 1em;
  list-style: none;
}
#imagecat {
  list-style: none;
}

#imagecat li {
  display: inline;
  text-align: center
}

#imagecat li a img, 
#imagegallery li a img, 
.border, 
#placeholder {
  border: 2px solid #666666;
  border-top: 2px solid #999;
  border-left: 2px solid #999;
  text-decoration: 0;
}

/* gallery photos */
ul#imagegallery {
	float: right;
	width: 200px;
  padding: 0;
}
ul#imagegallery li {
  float: left;
  padding: 1em;
  list-style: none;
}
#imagegallery {
  list-style: none;
}

#imagegallery li {
  display: inline;
}

/* ---- footer ---- */
#footer {
clear: both;
margin: 50px auto 0px auto;
padding: 50px;
text-align: center;
line-height: 1.4em;
font-size: 90%;
color: #fff;
/* border-top: 1px solid #FFF; */
}

/* ---- misc ---- */
.align_left {
float: left;
padding: 0 25px 5px 0;
}

.align_right {
float: right;
padding: 0 0 5px 25px;
}

.caption, .source{
font-size: 80%;
color: #000;
}
