/*Sweet little hack for firefox here*/
a:focus {
	outline:0px;
}
/*Some global styles*/
a{
color:#467aa7;
font-weight:bold;
text-decoration:none;
background-color:inherit;
}

a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}
a img{border:none;}
/*On we go to the actual design */
body {
	/*background-color: #999999;*/
	margin:0;
	font-family: Tahoma, Verdana, "Times new roman", Arial, Helvetica, sans-serif;
	font-size:12px;
}
#header {
	background-image: url(imgs/header.png);
	background-repeat: repeat-x;
	width:100%;
	height:107px;
	border-bottom: 2px solid #CDCDCD;
}
#content {
	margin-left: 198px;
	margin-right:15px;
	padding: 2px;
	border: 0px;
	border-left: 1px;
	/*border-style: solid;
	border-color:#cdcdcd;*/
	padding-top:15px;
	margin-bottom:20px;
}
/*Still the same, but all the following content stuff is from andreas08 */
#content h2{
display:block;
margin:0 0 16px 0;
font-size:1.7em;
font-weight:normal;
letter-spacing:-1px;
color:#505050;
background-color:inherit;
}

#content h2 a{font-weight:normal;}
#content h3{margin:0 0 5px 0; font-size:1.4em; letter-spacing:-1px;}
/*#content a:hover,#subcontent a:hover{text-decoration:underline;}*/
#content ul,#content ol{margin:0 5px 16px 35px;}
#content dl{margin:0 5px 10px 25px;}
#content dt{font-weight:bold; margin-bottom:5px;}
#content dd{margin:0 0 10px 15px;}
/*My stuff again */
#footer {
	background-image: url(imgs/footer.png);
	background-repeat: repeat-x;
	width:100%;
	height:30px;
	border-top: 2px solid #CDCDCD;
	clear:both;
	text-align:center;
	color:#ffffff;
	font-weight: bold;
}
#footer div {
	padding-top:7px;
}
#footer a {
	color:#ffffff;
}
#footer a:hover {
	color:#cdcdcd;
	text-decoration:underline;
}
/*Nav bar styles from upupmedia.com */
#side-nav {
	display:block;
	width:150px;
	margin-left:10px;
	background-color: #ffffff;
	margin:0px;
	margin-bottom:20px;
	float:left;
	padding:15px 0px 0px 15px;
}
#side-nav a {
	display:block;
	height:15px;
	border-left:5px solid #EEE;
	font-size:12px;
	color:#AAA;
	text-decoration:none;
	padding:5px;
}
#side-nav a:hover {
	color:rgb(7,7,7);
	background-color:#F5F5F5;
}
/*Blue*/

#side-nav h1.blue {
	color:#03558A;
}
#side-nav a.blue:hover {
	border-color:#03558A;
}
/* added the next ones myself */
#side-nav a.blue:active {
	border-color:#FF8100;
}
#side-nav a.selected:active {
	border-color:#FF8100;
}
#side-nav .selected {
	border-color:#06F;
	color:#333;
	background-color:#F5F5F5;
	padding-left:10px;
}
#side-nav ul {
	display: block;
	margin:0px;
	padding:0px;
	list-style-image: none;
	list-style-type:none;
	list-style:none;
}
#side-nav li {
	display: block;
	margin:0px;
	padding:0px;
	list-style-image: none;
	list-style-type:none;
	list-style:none;
}

/*Andreas08 stlyes*/
.box{
margin:0 0 20px 0;
padding:10px;
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em;
}
.small_box{
margin:0 25px 20px 25px;
padding:10px;
padding-left:14px;
border:1px solid #c0c0c0;
background-color:#fafbfc;
color:#505050;
line-height:1.5em;
}
.post {
margin-top: 10px;
margin-bottom: 5px;
}
.postbit {
margin-top: 5px;
font-size: 11px;
border-top:1px solid #c0c0c0;
}

.commentbit {
margin-top: 5px;
font-size: 11px;
text-decoration: none;
border-top:1px solid #c0c0c0;
font-style: italic;
}
.commentbit a{
margin-top: 5px;
font-size: 11px;
text-decoration: none;
font-style: italic;
}
input.btn {
background-color:#cdcdcd;
width:auto;
padding:0 1px;
border:1px solid #808080;
font-size:0.9em;
text-align:center;
}
input.btnhov {
width:auto;
padding:0 1px;
border:1px solid #808080;
font-size:0.9em;
text-align:center;
}
/*************** Added some stuff for the pagination ***************/
#container_nums {
width: 315px;
margin: auto;
border: 1px solid #CCC;
padding: 0px;
}
#container_nums a {
text-decoration: none;
padding: 2px;
font-family: verdana;
font-size: 11px;
border: 1px solid #CCC;
color: #000000;
}
#container_nums a:hover {
color: #FFF;
background-color: #333;
}
#container_nums div {
background-color: #f1f1f1;
font-family: verdana;
font-size: 11px;
padding: 5px;
margin: 10px;
}

/* added a style for bold text to be more obvious */
strong {
font-weight: 600;
}
/* Styling for forms */
form.cmxform {
	width: /*400px;*/ auto;
	font-size: 1.1em;
	color: #333;
	border: none;
	}
form.cmxform fieldset {
  margin:0px 25px 10px 25px;
  font-size:12px;
}
form.cmxform legend {
  padding: 0 2px;
  font-weight: bold;
  color: #333;
}
form.cmxform label {
  /*display: inline-block;*/
  line-height: 1.8;
  vertical-align: top;
}
form.cmxform fieldset ol {
  margin: 0;
  padding: 0;
}
form.cmxform fieldset li {
  list-style: none;
  padding: 5px;
  margin: 0;
}
form.cmxform fieldset fieldset {
  border: none;
  margin: 3px 0 0;
  background: none;
}
form.cmxform fieldset fieldset legend {
  padding: 0 0 5px;
  font-weight: normal;
}
form.cmxform fieldset fieldset label {
  display: block;
  width: auto;
}
form.cmxform em {
  font-weight: bold;
  font-style: normal;
  color: #FF0000;
}
form.cmxform label {
  width: 120px; /* Width of labels */
}
form.cmxform fieldset fieldset label {
  margin-left: 123px; /* Width plus 3 (html space) */
}
form.cmxform fieldset li {
	padding: 5px 10px 4px;
	}
/*Post title thing */
.post_title {
	border-bottom:1px solid #c0c0c0;
	/*background-color: #dadada;
	font-size:15px;
	position:relative;*/
	/*top:-.7em; /*-.64em */
	/*left:-.7em;*/
	padding-bottom:2px;
	/*margin-right:-1.33em;*/
	}
.post_title p {
position:relative;
padding-left:1em;
margin-top:.03em;
margin-bottom:-1.3em;
}

/* Lightbox css follows */
#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(./lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(./lightbox/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
