html, body {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
}

body, tr, td {
	font-family: Arial, Helvetica, Verdana, Sans-serif;
	font-size: 10px;
	color: #666666;
}

h1 {
	margin: 0;
	padding: 0;
//	float: left;
	margin-top: 30px;
	padding-left: 40px;
}

p {
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

.hidden {
	display: none;
}

#page-container {
	width: 800px;
	margin: auto;
/*	background: #F9F9F9; */
}

#main-nav {
	height: 40px;
    margin-top: 10px;
}

#main-nav ul {
	margin: 0px;
    padding: 0px
}

#main-nav li {
	float: left;
    overflow: hidden;
}

#main-nav li a {
	display: block;
    height: 0px;
    padding: 40px 0 0 0;
    overflow: hidden;
    background-repeat: no-repeat;
}

#main-nav li a:hover {
	background-position: 0 -40px;
}

#main-nav li#blank,
#main-nav li#blank a,
#main-nav li#blank2,
#main-nav li#blank2 a,
#main-nav li#blank3,
#main-nav li#blank3 a {
	width: 100px;
    background-image: url(../images/nav/blank.png);
}

#main-nav li#home,
#main-nav li#home a {
	width: 100px;
    background-image: url(../images/nav/home.png);
}

#main-nav li#plan,
#main-nav li#plan a {
	width: 100px;
    background-image: url(../images/nav/plan.png);
}

#main-nav li#message,
#main-nav li#message a {
	width: 100px;
    background-image: url(../images/nav/message.png);
}

#main-nav li#listen,
#main-nav li#listen a {
	width: 100px;
    background-image: url(../images/nav/listen.png);
}

#main-nav li#share,
#main-nav li#share a {
	width: 100px;
    background-image: url(../images/nav/share.png);
}

#main-nav li#bible,
#main-nav li#bible a {
	width: 100px;
    background-image: url(../images/nav/bible.png);
}

#main-nav li#myaccount,
#main-nav li#myaccount a {
	width: 100px;
    background-image: url(../images/nav/myaccount.png);
}

#main-nav li#manage,
#main-nav li#manage a {
	width: 100px;
    background-image: url(../images/nav/manage.png);
}

#main-nav li#organise,
#main-nav li#organise a {
	width: 100px;
    background-image: url(../images/nav/organise.png);
}

body.blank li#blank,
body.blank li#blank a,
body.home li#home,
body.home li#home a,
body.plan li#plan,
body.plan li#plan a,
body.message li#message,
body.message li#message a,
body.listen li#listen,
body.listen li#listen a,
body.share li#share,
body.share li#share a,
body.bible li#bible,
body.bible li#bible a,
body.myaccount li#myaccount,
body.myaccount li#myaccount a,
body.manage li#manage,
body.manage li#manage a,
body.organise li#organise,
body.organise li#organise a {
    background-position: 0 -80px;
}

#header {
	height: 125px;
}

#header h2 {
    text-align: center;
}

#sidebar-a {
	float: left;
	width: 150px;
}

#sidebar-a #nav-top {
	height: 40px;
	background: url(../images/nav/sidenav-top2.png);
    background-repeat: no-repeat;
}

#sidebar-a #nav-bottom {
	height: 20px;
	background: url(../images/nav/sidenav-bottom.png);
    background-repeat: no-repeat;
}

#sidebar-a #nav-middle {
	background: url(../images/nav/sidenav-middle.png);
    background-repeat: repeat;
}

#sidebar-a #nav-middle ul, #sidebar-a #nav-middle p {
    list-style-type: none;
    margin-top: 0px;
    margin-bottom: 0px;
	margin-left: 20px;
    padding: 0px
}

#sidebar-a #nav-middle ol {
    margin-top: 0px;
    margin-bottom: 0px;
	margin-left: 40px;
    padding: 0px
}

#sidebar-a #nav-middle li, #sidebar-a #nav-middle p {
    height: 30px;
	font-size: 13px;
}

#sidebar-a #nav-middle li a {
//	display: block;
    overflow: hidden;
    background-repeat: no-repeat;
}

#sidebar-a #nav-middle li a:visited, #sidebar-a #nav-middle li a:active, #sidebar-a #nav-middle li a:link, #sidebar-a #nav-middle li a:hover {
    text-decoration: none;
    font-family: Arial, Helvetica, Verdana, Sans-serif;
	font-size: 13px;
	color: black;
    
}
#sidebar-a #nav-middle li a:hover {
	color: purple;
}

#sidebar-a.downend li#downend,
#sidebar-a.downend li#downend a,
#sidebar-a.mycalendar li#mycalendar,
#sidebar-a.mycalendar li#mycalendar a,
#sidebar-a.swap_duty li#swap_duty,
#sidebar-a.swap_duty li#swap_duty a,
#sidebar-a.sun_preside_template li#sun_preside_template,
#sidebar-a.sun_preside_template li#sun_preside_template a,
#sidebar-a.announce_template li#announce_template,
#sidebar-a.announce_template li#announce_template a,
#sidebar-a.active_msg li#active_msg,
#sidebar-a.active_msg li#active_msg a,
#sidebar-a.expired_msg li#expired_msg,
#sidebar-a.expired_msg li#expired_msg a,
#sidebar-a.create_msg li#create_msg,
#sidebar-a.create_msg li#create_msg a,
#sidebar-a.swap_report li#swap_report,
#sidebar-a.swap_report li#swap_report a,
#sidebar-a.duty_roles li#duty_roles,
#sidebar-a.duty_roles li#duty_roles a,
#sidebar-a.manage_events li#manage_events,
#sidebar-a.manage_events li#manage_events a {
    background-image: url(../images/nav/sidenav-current.png);
    background-repeat: no-repeat;

}

#sidebar-a #welcome-bar {
	height: 300px;
	background: url(../images/welcome-bar.png);
}

#sidebar-a #welcome-bar h2 {
    float: left;
    margin-top: 165px;
    margin-left: 30px;
    color: white;
    font-size: 20px
}

#content {
	margin-left: 150px;
}

#content h2, #content h3, #content table {
	margin-left: 25px;
}

#content tr, #content td {
    padding: 2px;
    padding-left: 10px;
    font-size: 11px;
}

#content #welcome-bar {
	float: left;
	height: 300px;
	background: url(../images/welcome-bar.png);
	width: 175px;
}

#content #login {
	float: left;
	margin-top: 110px;
//	height: 300px;
	width: 300px;
	overflow: hidden;
}
#content #login table, #content #login tr, #content #login td {
	margin-left: 0px;
    padding: 0px;
}

#content #login #login-err {
	font-family: Tahoma, Arial, Helvetica, Sans-serif;
	font-size: 12px;
	color: red;
}

#content #colwrapper {
    float: left;
    width: 300px;
}

#content #sunday {
	float: left;
	height: 475px;
	width: 250px;
    margin-left: 50px;
    background: url(../images/sunday-cal.png);
    background-repeat: no-repeat;
}

#content #thursday {
	float: left;
	height: 275px;
	width: 250px;
    margin-left: 50px;
    background: url(../images/thursday-cal.png);
    background-repeat: no-repeat;
}

#content #week {
	float: left;
	height: 200px;
	width: 250px;
    margin-left: 50px;
    background: url(../images/week-cal.png);
    background-repeat: no-repeat;
}
    
#content #sunday p, #thursday p, #week p {
	margin-top: 70px;
	margin-left: 20px;
    font-size: 10px;
}

#content #sunday h2, #thursday h2, #week h2 {
    margin-left: 70px;
	margin-top: 70px;
}
#content #sunday h3, #thursday h3, #week h3 {
	margin-left: 40px;
}

#content #sunday ul, #thursday ul, #week ul {
    list-style-type: none;
    margin-left: 10px;
    margin-right: 15px;
    font-size: 11px;
}

#content #week ul {
    margin-left: -10px;
    margin-top: 80px;
}

#content #sunday li, #thursday li, #week li {
    margin-bottom: 8px
}

#content #bound-top {
	height: 40px;
	background: url(../images/content-top.png);
    background-repeat: no-repeat;
    margin-left: 50px;
}

#content #bound-bottom {
	height: 20px;
	background: url(../images/content-bottom.png);
    background-repeat: no-repeat;
    margin-left: 50px;
}

#content #bound-middle {
	background: url(../images/content-middle.png);
    background-repeat: repeat;
    margin-left: 50px;
    width: 500px;
}

#content #bound-middle p, #content #bound-middle h2 {
    margin-top: 0px;
    margin-bottom: 0px;
	margin-left: 20px;
    margin-right: 20px;
    padding: 0px
}

#content #bound-middle p {
    font-size: 11px;
}

#footer {
	clear: both;
	font-family: Tahoma, Arial, Helvetica, Sans-serif;
	font-size: 10px;
	color: #c9c9c9;
	border-top: 1px solid #efefef;
	padding: 13px 25px;
	line-height:18px;
}

#footer #altnav {
	width: 350 px;
	float: right;
	text-align: right;
}

#footer a {
	color: #c9c9c9;
	text-decoration: none;
}

#footer a:hover {
	color: #db6d16;
}

