body {
	margin: 20px;
	color: Black;
	background: white;
}

h2 {
	background: #3C77B9;
	color: White;
	font-family: sans-serif;
	font-size: medium;
	/*border-bottom: 2px solid #3085B1;*/
	padding-left: .25em;
	/*background-image : url('table.gif');*/
}

img {
	border: none;
}

a:link {
	color: black;
}

a:visited {
	color: black;
}

table {
	width: 99%;
	margin: 0;
}

table td {
	vertical-align: top;
	border-width: 0;
	padding: 0;
	background-color: transparent;
}

td#ads {
	/*border-left: 3px solid black;*/
}

td#content {
	background-color: #F2EEDB;
}

/*******************************************/
/*             Left menu stuff             */
/*******************************************/
#leftmenu {
	padding: 0px;
	background: #3C77B9;
	margin-bottom: .75em;
	margin-right: 10px;
	font-size: 0.8em;
}

#leftmenu p {
	margin: .25em;
}

#leftmenu form {
	margin: 0px;
}

#leftmenu a {
	text-decoration: none;
	color: white;
}

#leftmenu a:hover {
	/*background-color: #FFCC00;*/
	text-decoration: underline;
	color: aqua;
	/*font-weight: bold;*/
}

#leftmenu a#block {
	white-space: nowrap;
	display: block;
	/*text-decoration: none;*/
	margin-left: 0.5em;
	padding: .1em;
	/*color: white;*/
}

#leftmenu #title{
	white-space: nowrap;
	font-family: "Arial Rounded MT Bold", sans-serif;
	background-color: Black;
   padding-left: 5px;
	padding-bottom: 2px;
	padding-top: 2px;
	color: White;
}

/*
#leftmenu a:visited {
	color: Black;
}
*/

#leftmenu #search {
	border: solid 1px black;
	font-size: x-small;
}

.preview-image {
	/*border: solid 2px blue;*/
	text-align: center;
	margin-left: .25em;
	margin-right: .25em;
}

#file-detail {
	vertical-align: middle;
	font-size: x-small;
	font-weight: bold;
	font-family: Arial, sans-serif;
}

.add-info-form {
	/*border: solid 1px red;*/
	margin-left: .25em;
	margin-right: .25em;
}

.add-info-form td {
	padding: .25em 1px;
}

.submitArea {
	text-align: center;
}

.label{
	font-size: smaller;
	font-weight: bold;
	text-align: right;
	background: #EBEBEB;
	border-left: 0.5em solid #3C77B9;
	width: 25%;
}

.input {
	font-size: smaller;
	padding-left: .5em;
}

input:focus {
	background: #FFFFBF;
}

/*****************************************************************/
/* This is the thumbnail stuff for the album thumbnail view page */
/*****************************************************************/
#thumbnail-block {
	padding-left: 15px;
	padding-right: 5px;
	text-align: left;
}

div.thumbnail {
	background-color: White;
	vertical-align: bottom;
	text-align: center;
	float: left;
	padding: 2px;
	height: 160px;
	width: 120px;
	overflow: hidden;
	border: solid 1px #3C77B9;
	margin-right: 3px;
	margin-bottom: 10px;
}


#cotd {
	background-color: #FFFFBF;
}

.filename {
	font-size: .75em;
	font-weight: bold;
	color: #3C77B9;
	text-align: center;
}

.caption {
	height: 4em;
	font-size: .75em;
	text-align: center;
}

.creation-date {
	font-size: .75em;
	text-align: center;
	font-weight: bold;
	color: #3C77B9;
}

/**************************************************/
/* This is for the album, ad and associate tables */
/**************************************************/
#album-table,
#ad-table,
#associate {
	margin-left: 15px;
	margin-right: 15px;
	width: 90%;
	border: solid 1px black;
	font-size: small;
	font-weight: bold;
	/*text-align: center;*/
}

#album-header,
#ad-header,
#assoc-header {
	padding: 5px;
	background-color: #C4C4C4;
	padding-top: 2px;
	padding-bottom: 2px;
	border: solid 1px black;
}

#album-text,
#ad-text,
#assoc-text {
	background-color: #EBEBEB;
	padding: 5px;
	font-size: small;
	padding-top: 5px;
	padding-bottom: 5px;
	border: solid 1px Gray;
}

/*********************************************************/
/* This is the small whit bar at the top of the content  */
/* window where error and info messages are displayed    */
/*********************************************************/
.messagebar {
	white-space: nowrap;
	width: 100%;
   height: 1em;
	color: blue;
}
				 
.messagebar #error {
	color: red;
}

.SubmitButton {
	font-family: verdana, arial, sans-serif;
	font-size: 9px;
	background-color: #C4C4C4;
	color: Black;
	font-weight: bold;
	padding: 1px;
	margin: 2px;
	border-style: outset;
}

/******************************************************/
/* This is the section for the COTD page - index.php  */
/******************************************************/
.Large-COTD {
	text-align: center;
}

.Large-COTD table {
	width: 90%;
}

.Large-COTD #info-column {
	width: auto;
	padding-left: 15px;
}

.Large-COTD #title {
	font-family: sans-serif;
	font-weight: bold;
}

.Large-COTD #info {
	font-family: sans-serif;
	margin-left: 1em; 
	padding-top: 3px;
	padding-bottom: 10px;
}

.Large-COTD #download {
	padding-top: 10px;
	font-family: sans-serif;
	font-weight: bold;
	border-top: solid 1px black;
	margin-top: 25px;
}

.Large-COTD #inst{
	font-style: normal;
	font-weight: normal;
	font-size: smaller;
	padding-bottom: 10px;
}
.Large-COTD #link {
	margin-top: 3px;
}

.Large-COTD a {
	margin-left: 15px;
	white-space: nowrap;
}

.Large-COTD a:hover {
	color: white;
	background-color: #3C77B9;
	text-decoration: none;
}

.cotd-caption {
	font-family: sans-serif;
	font-size: large;
	text-align: center;	
	margin-top: .75em;
}

.sotd {
	padding-left: 45px;
	padding-right: 45px;
}

/**************************/
/* Strip of the day block */
/**************************/
.thumbnail-strip {
	margin-bottom: 25px;
	width: 75%;
	border: solid 2px, Black;
	background-color: White;
	text-align: center;
}

.stripname {
	padding: 5px 5px 5px 5px;
	text-align: left;
	font-family: sans-serif;
	font-size: medium;
	color: #3C77B9;
}

#sotd {
	background-color: #FFFFBF;
}
#strip-table td{
	padding: 10px 10px 10px 10px;
}

/****************************************/
/* Ad panel down the right side of page */
/****************************************/

#ads img {
	margin-left: 5px;
	margin-bottom: 20px;
	width: 95px;
}

/**************************/
/*    Calender Stuff      */
/**************************/

#CalTable{
	width: 150px;
}

.CalMonth, .CalNavigate, tr.CalDays td{
	background: #00008B;
	color: White;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	height: 20px;
}

.CalNavigate{
	font-size: 15px;
}

.CalMonth {
	padding-top: 3px;
}

tr.CalRowOdd td {
	background-color: #DCDCDC;
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: smaller;
	height: 20px;
}

tr.CalRowEven td {
	background-color: #E6E6FA;
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: smaller;
	height: 20px;
}

.CalToday{
	font-weight: bold;
}

.calender {
	padding-left: 50px;
	padding-top: 20px;
	padding-right: 20px;
}

.calender a:link {
	color: Red;
	text-decoration: underline;
}

.calender a:visited {
	color: Red;
	text-decoration: underline;
}

.calender a:hover {
	background-color: #1E90FF;
	color: Aqua;
}

#StripWrap{
	width: 600px;
	border: solid 1px #3C77B9;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
	margin-left: 10px;
}

#StripWrap img {
	border: solid 1px black;
}

.calstrip {
	padding-top: 25px;
	padding-bottom: 15px;
	padding-left: 15px;
	padding-right: 15px;
}