/* andreas02 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version: 1.0
(July 27, 2005)

Screen layout: */

body {
padding: 0;
margin: 0;
font: 76% tahoma, verdana, sans-serif;
background: #e0e0e0;
color: #303030;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
}

#header #logo{
 float:left;
}
#header #ad{
	float:right;
	padding:10px 0 0 0;
}


#toptabs {
margin: 10px auto -13px auto;
font-size: 0.8em;
width: 760px;
}

#toptabs p {
text-align: right;
color: #808080;
}

.toptab {
padding: 3px 5px 3px 5px;
margin: 0 0 0 4px;
text-decoration: none;
background: #f0f0f0 url(../images/corner2.gif) top right no-repeat;
color: #808080;
border-bottom: 1px solid #e0e0e0;
}

.toptab:hover {
background: #fafafa url(../images/corner2.gif) top right no-repeat;
border-bottom: 1px solid #eaeaea;
color: #505050;
text-decoration: none;
}

.activetoptab {
padding: 3px 5px 3px 5px;
margin: 0 0 0 4px;
color: #505050;
text-decoration: none;
background: #ffffff url(../images/corner2.gif) top right no-repeat;
border-bottom: 1px solid #ffffff;
}

.activetoptab:hover {
text-decoration: none;
}

#container {
margin: 0 auto 15px auto;
width: 760px;
padding: 5px 20px 20px 20px;
background: #ffffff;
}

#logo {
margin: 15px 0 0 0;
}

#logo h1 a {
color: #303030;
}

#logo h1 a:hover {
text-decoration: none;
}

#navitabs {
clear: both;
}

.navitab {
padding: 4px 8px 4px 8px;
margin: 0 0 4px 0;
text-decoration: none;
letter-spacing: 1px;
background: #e0e0e0 url(../images/corner.gif) top right no-repeat;
border-bottom: 1px solid #ffffff;
border-left: 1px solid #ffffff;
}

.navitab:hover {
text-decoration: none;
background: #d0d0d0 url(../images/corner.gif) top right no-repeat;
}

.activenavitab {
padding: 4px 8px 5px 8px;
color: #ffffff;
margin: 0 0 5px 0;
text-decoration: none;
background: #505050 url(../images/corner.gif) top right no-repeat;
}

.activenavitab:hover {
text-decoration: none;
}

#desc {
height: 200px;
color: #ffffff;
padding: 0;
background: #505050 url(../images/front.jpg) top left no-repeat;
clear: both;
margin: 5px 0 0 0;
}

#desc p {
width: 290px;
font-size: 1em;
line-height: 1.3em;
padding: 0 0 0 15px;
}

#desc h2 {
padding: 15px 15px 0 15px;
color: #ffffff;
}

#desc a {
color: #ffffff;
text-decoration: underline;
}

#main {
width: 575px;
float: left;
}

.block {
background: #f0f0f0;
padding: 15px;
}

#sidebar {
width:155px;
float:right;
padding:0 0 0 15px;
border-left: 1px solid #c60000;
}

#sidebar h3 {
	color:#c60000;
	border-bottom:1px solid #000;
}

#sidebar p {
font-size: 0.9em;
line-height: 1.3em;
margin: 0 0 12px 0;
}

.sidelink {
text-align: left;
display: block;
width: 120px;
background: #f0f0f0 url(images/corner.gif) top right no-repeat;
padding: 3px 4px 3px 8px;
margin: 5px 10px 5px 0;
}

.sidelink:hover {
background: #e0e0e0 url(images/corner.gif) top right no-repeat;
text-decoration: none;
}

#footer {
clear: both;
background: #fafafa;
color: #808080;
font-size: 0.9em;
padding: 8px 0 8px 0;
border-top: 1px solid #d0d0d0;
border-bottom: 1px solid #d0d0d0;
text-align: center;
}

#footer a {
color: #808080;
}

h1 {
margin: 0 0 20px 0;
font-size: 2.1em;
font-weight: normal;
}

h2 {
margin: 0 0 20px 0;
font-size: 1.6em;
font-weight: normal;
}

h3 {
margin: 20px 0 10px 0;
font-size: 1.4em;
font-weight: normal;
}

p {
margin: 0 0 15px 0;
line-height: 1.5em;
text-align: left;
}

.right {
text-align: right;
}

a img {
border: 0;
}

.hide {
display: none;
}
.clear{
	clear:both;
	padding:0;
	margin:0;
}

/* START CUSTOM STYLES */
.randomphoto{
	text-align:center;	
}
.randomphoto img{
	padding: 5px;
	display: block;
	margin: 0;
	background-color: #f0f0f0;	
}
#upcomingevents{
}
#upcomingevents ul{
	text-align:left;
	padding:0;
	margin:0;
}
#upcomingevents .date{
	list-style:none;
	font-weight:bold;
}
#upcomingevents .event{
	list-style:none;
	margin:0 0 13px 6px;
}

#calendar{
	clear:both;
	width:100%;
	border-collapse:collapse;	
}
#calendar th{
	width:14.28%;
	border:1px solid #999;
	background-color:#e0e0e0;
	color:#000;	
}
#calendar td{
	border:1px solid #999;
	padding:5px;
	font-size:90%;
	vertical-align:top;
	height:100px;
}
#calendar .othermonth{
	background-color:#eee;
}
#calendar .currentday{
	background-color:#FFE6E6;
}
#calendar td .day{
	font-weight:bold;
	padding:2px;
}
.calendartitle{
	margin:25px 0 0 0;
	width:100%;
}	
.calendartitle h2{
	margin:0 0 3px 0;
}	
.calendartitle .right{
	text-align:right;
}	
.calendartitle .center{
	text-align:center;
}


h5{
	font-size:145%;
	border-bottom:1px solid #c60000;
	margin:10px 0 20px; 0;
}
.menutitles{
	font-size:115%;
	border-bottom:1px solid #ccc;
	font-weight:bold;
	color:#c60000;
	margin:0 0 20px; 0;
}
.printable{
	border:1px solid #ccc;
	background-color:#eee;
	padding:6px;
	width:120px;
}

#homepage{
	padding:10px 0 0 0;
}

#homepage .left{
	float:left;
	width:50%;
	text-align:center;
}

#homepage .right{
	clear:right;
	float:right;
	width:50%;
}

.mailinglist{
	border:1px solid #000;
	text-align:center;
	padding:10px;
	
}