/* RESET */

html, body {  padding:0; min-width: 960px;  }
#page {
	padding: 0;
	min-width: 960px;
}

/* PAGE */

body {	background: #000 url(../img/back.png) 44px 0 repeat-x; }

/* Link Colours - :link */
body#blog .corner a:link, body#blog .corner a:visited { color: #876aac; }
body#podcast .corner a:link, body#podcast .corner a:visited { color: #c15c9e; }
body#media .corner a:link, body#media .corner a:visited { color: #c15c9e; }
body#information .corner a:link, body#information .corner a:visited { color: #42c181; }
body#podcast .corner a:link, body#podcast .corner a:visited { color: #c15c9e; }
body#events .corner a:link, body#events .corner a:visited { color: #f5e554; }
body#community .corner a:link, body#community .corner a:visited { color: #ffaf4c; }
body#shop .corner a:link, body#shop .corner a:visited { color: #ff7951; }
body#new .corner a:link, body#new .corner a:visited { color: #d3d3d3; }

/* Link Colours - :hover */
body#blog div.container div.corner a:hover { background-color: #876aac; color: #000; text-decoration: none; }
body#podcast div.container div.corner a:hover { background-color: #c15c9e; color: #000; text-decoration: none; }
body#media div.container div.corner a:hover { background-color: #c15c9e; color: #000; text-decoration: none; }
body#information div.container div.corner a:hover { background-color: #42c181; color: #000; text-decoration: none; }
body#podcast div.container div.corner a:hover { background-color: #c15c9e; color: #000; text-decoration: none; }
body#events div.container div.corner a:hover { background-color: #f5e554; color: #000; text-decoration: none; }
body#community div.container div.corner a:hover { background-color: #ffaf4c; color: #000; text-decoration: none; }
body#shop div.container div.corner a:hover { background-color: #ff7951; color: #000; text-decoration: none; }
body#new div.container div.corner a:hover { background-color: #d3d3d3; color: #000; text-decoration: none; }

/*body#home #wrap { background: url(../img/bg_home.png) bottom right no-repeat; }*/

/*
body#podcast #wrap, body#media #wrap { background: url(../img/podcast_back.jpg) top center no-repeat; }
body#information #wrap { background: url(../img/info_back.png) top right no-repeat; }
body#community #wrap { background: url(../img/community_back.jpg) top center; }*/

body div.container {  color: #fff;  }
.container h2 { font-size: 18px; line-height: 26px; }
h2 { color: #ccc; }
.container h3 { color: #999; font-size: 13px; line-height: 24px; }
h4 { color: #bbb; }
h5 { color: #aaa; }
h6 { color: #999; }

.container h1 { color: #bbb;padding-left:37px; font-size: 45px; margin: -70px 0 50px 0; line-height: 45px; }
.container h1 a:link, .container h1 a:visited { color: #000;}
.container h1 a:hover { color: #ccc; }


body#home .container { margin-top: 0;}
body#home #wrap { padding-top: 30px;}

div.corner { background: #2e3436 url(../img/contentback.png) top left repeat-x; margin-bottom: 15px; min-height: 400px }


/* MASTHEAD */

#masthead {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	left: 0;
	height: 43px;
	margin-top: 0;
	background: #000 url(../img/back.png) top center repeat-x;

}
#masthead a#homelogo {
	display: block;
	background: url(../img/all_nations_logo.png) top left no-repeat;
	width: 168px;
	height: 35px;
	position: absolute;
	top: 4px;
	left: 50%;
	margin-left: -471px;
	/* behavior: url(/iepngfix.htc); */
}
#masthead a#homelogo:hover {
	background-position: bottom left;
}
#masthead a#homelogo span {
	display: none;
}

#mastlinks {
	height: 50px;
	position: absolute;
	right: 50%;
	top: 0;
	margin-top: 10px;
	margin-right: -455px;
	font-size: 16px;
}
/*.dock-item span {
	display: none; 
	padding-left: 20px;
}*/
#mastlinks a { float: left; display: block; padding-right: 12px; margin-right: 8px; background: url(../img/navdiv.png) center right no-repeat; text-decoration: none; text-shadow: #000 1px 1px 1px;}
#mastlinks a.last { background: none; margin-right: 0; padding-right: 0; }
/* DOCK */

.dock {
	width: 500px;
	height: 50px;
	position: absolute;
	right: 5%;
	top: 0;
	margin-top: 8px;
}
.dock-container {
	position: absolute;
	height: 50px;
	padding-left: 20px;
}
a.dock-item {
	display: block;
	width: 40px;
	position: absolute;
	top: 0px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
}
a.dock-item:hover {
	text-decoration: none;
	color: inherit;
}
.dock-item img {
	border: none; 
	margin: 5px 10px 0px; 
	width: 100%; 
	/* behaviour: url(/iepngfix.htc); */
}
.dock-item span {
	display: none; 
	padding-left: 20px;
}

/* PAGE */
/* Background effects here */


/* WRAP */
/* content background effects here */

#wrap {
	margin-top: 44px;
	display: block;
}

/* CONTAINER */
/* BlueTrip CSS wrapper / Main Content Area */

.container {
	width: 950px;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	clear: both;
}

#wrap .container {
	margin-top: 140px;
}

#page { margin-bottom: 0; }

/* HEADER */

.section-nav {
	position: absolute;;
	top: 136px;
	right: 50%;
	margin-right: -460px;
}

.section-nav li {
	float: left;
	list-style: none;
}
.section-nav li h5 {
	margin: 5px 10px 5px 10px;
}
body div.container ul.section-nav li.tab h5.thin a:link,
body div.container ul.section-nav li.tab h5.thin a:visited {
	text-decoration: none;
}
body div.container ul.section-nav li.tab h5.thin a:hover {
	text-decoration: none;
	color: #fff;
}

.tab a:hover { color: #fff }

.section-nav .tab {
	background: #343a3c;
	margin-bottom: 0; }
.section-nav .tab.active {
	color: #ccc;
	background: #696969;
}
.section-nav .tab.active a:link, .section-nav .tab.active a:visited {
	color: #ccc;
}
/* FOOTER */

.container #footer a:link, .container #footer a:visited { color: #999; font-weight: bold; text-decoration: none; }
.container #footer a:hover { color: #666; font-weight: bold; text-decoration: underline; }


#footbar {
	bottom: 0;
	position: fixed;
	width: 100%;
	height: 7px;
}
#footbar td { height: 7px; border-top: 1px solid #000; }
#footbar .c1 { background-color: #876aac; }
#footbar .c2 { background-color: #c15c9e; }
#footbar .c3 { background-color: #42c181; }
#footbar .c4 { background-color: #f5e554; }
#footbar .c5 { background-color: #ffaf4c; }
#footbar .c6 { background-color: #ff7951; }
#footbar .c7 { background-color: #d3d3d3; }

#footer div.hr { margin-bottom: 0; }

#footlinks {
	display: block;
	text-align: center;
	margin-bottom: 0px;
	height: 124px;
	margin-top: 20px;
	width: 100%;
	background: url(../img/footer.png) top center repeat-x;
}

#footlinks .badges { float: right; }

body#home #footlinks { color: #333; font-weight: bold; }

.container #footlinks a { padding: 10px; line-height: 124px; text-decoration: none; margin-top: -5px;}
#footlinks a:link, #footlinks a:visited { text-decoration: inherit; }

.container a:hover img { border-bottom: none; }

/* HOME SECTION */

body#home .container {
	/*margin-top: 140px;*/
}

h1 a#biglogo {
	display: block;
	background: url(../img/all_nations_home.png) top left no-repeat;
	width: 340px;
	height: 91px;
	margin: 10px 0 -50px 0;
	position: absolute;
	top: 80px;
	left: 50%;
	margin-left: -486px;
	clear: both;
}

h1 a#biglogo span { display: none; }

#page h1 a { text-decoration: none; }

.bignav li {
	list-style: none;
	margin: 0;
	text-decoration: none;
}
.bignav li a { 
	display: block;
	background: url(../img/grey33.png) top left;
    /* behaviour: url(/iepngfix.htc); */
	font-size: 20px;
	width: 248px;
	border-left-width: 9px;
	border-left-style: solid;
	margin: 0 0 3px 12px;
	text-align: right;
	color: #ccc;
	padding: 0 10px 0 0;
	line-height: 38px;
	height: 38px;
	text-decoration: none;
}
.bignav li a.b1.c1,.bignav li a.b2.c2,.bignav li a.b3.c3,.bignav li a.b4.c4,.bignav li a.b5.c5,.bignav li a.b6.c6,.bignav li a.b7.c7 { text-decoration: none; }
.bignav li a:hover {
	color: #fff;
	background: url(../img/black80.png) top left;
	/* behaviour: url(/iepngfix.htc); */
	text-decoration: none;
}
.bignav li a:visited {
	text-decoration: none;
}

/* GENERAL TYPOGRAPHY */

.right {
	text-align: right;
}

.nogap {padding-bottom: 0; margin-bottom: 0;}

.floatleft { float: left; }
.floatright { float: right; }
.spaceleft { margin-left: 10px; }
.spaceright { margin-right: 10px; }

hr {background:#666;color:#666;}
hr.space {background: #ddd; color: #ddd; }

.inline_icon { margin-bottom: -2px; }

.controls { text-align: right;}
.controls li { list-style: none; }

#map { color: #333; }

form p { font-size: 80%; }
form label { font-size: 120%; display: block; width: 100px; float: left;}

.gallerybox {
  margin: 0 13px 20px 0;
  padding: 7px 10px 10px 0px;
  width: 110px;
  height: 130px;
  text-align: left;
  display: block;
  float: left;
  clear: right;
}

body#podcast h2 { font-size: 18px; line-height: 26px;}

body#podcast div.container div.corner .galleryimage a:hover { background: none; }

body#home .container ul.sitemap li { padding: 0; margin: 0; }
body#home .container ul.sitemap li a:link,
body#home .container ul.sitemap li a:visited,
body#home .container ul.sitemap li a { text-decoration: none; color: #0ADEF; }

body#lifeschoolform label { display: block;}
body#lifeschoolform input[type="text"], body#lifeschoolform textarea { width: 100%; }
body#lifeschoolform input[type="submit"] { float: right; }

body#prayer247 input[type="text"], body#prayer247 textarea { width: 150px; }
body#prayer247 input[type="submit"] { float: right; }
body#prayer247 form { overflow: auto; }

#prayergrid {
	overflow: auto;
	margin-bottom: 30px;
}

#prayergrid .day {
	border: 1px solid #333;
	width: 76px;
	float: left;
}

#prayergrid h4.dark {
	background: #3d9168 0 -10px;
	margin: 0;
	padding: 0;
	height: 35px;
	line-height: 30px;
	margin: 0 0 2px 0;
	color:Ê#333;
	text-align: center;
	font-size: 14px;
}

h4.dark { color:#222; }

h4.dark small { font-size: 9px; line-height: 9px; margin-top: -8px; float: left; width: 76px; text-align: center; color: #1f4530;}

#prayergrid .day ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#prayergrid .day ul li {
	display: block;
	background: #fff url(/static/site/img/heat.jpg) left bottom;
	padding: 0;
	margin: 0 0 2px 0;
	text-align: center;
}

#prayergrid .day ul li.x {
	background: none;
	overflow: hidden;
	text-indent: 200px;
}

#prayergrid .day ul li.n { background: url(/static/site/img/heat.jpg) 0 0px; }

#prayergrid .day ul li.n3, .n3 { background: url(/static/site/img/heat.jpg) 0 -0px; }
#prayergrid .day ul li.n2, .n2 { background: url(/static/site/img/heat.jpg) 0 -120px; }
#prayergrid .day ul li.n1, .n1 { background: url(/static/site/img/heat.jpg) 0 -180px; }
#prayergrid .day ul li.n0, .n0 { background: url(/static/site/img/heat.jpg) 0 -250px; }

.totalbar { background: #000;} .progressbar { background: url(/static/site/img/heat.jpg) 0 -250px; }
.totalbar, .progressbar { height: 20px; }


table.calendar td { vertical-align: top; }

table.calendar {
	border-collapse: separate;
	border: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	margin: 10px auto;
	font-size: 20px;
}
table.calendar td, table.calendar th {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;
	background: url(../img/cal_cells.png);
	color: #444;
	position: relative;
}
.container table.calendar th, .container table.calendar td { padding: 0;}

table.calendar th {
	height: 30px;
	font-weight: bold;
	font-size: 14px;
}
table.calendar td:hover, table.calendar th:hover {
	background-position: 0px -81px;
	color: #222;
}
table.calendar td.date_has_event {
	background-position: 162px 0px;
	color: white;
}
table.calendar td.date_has_event:hover {
	background-position: 162px -81px;
}
table.calendar td.padding {
	background: url(../img/cal_pad.jpg);
}
table.calendar td.today {
	background-position: 81px 0px;
	color: white;
}
table.calendar td.today:hover {
	background-position: 81px -81px;
}

table.calendar .events {
	position: relative;
}
table.calendar .events ul {
	text-align: left;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 15px;
	background: #E7ECF2 url(../img/cal_popup.png) no-repeat;
	color: white;
	border: 1px solid white;
	font-size: 15px;
	width: 200px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-border-radius: 3px;
	list-style: none;
	color: #444444;
	-webkit-box-shadow: 0px 8px 8px #333;
}
table.calendar .events li {
	padding-bottom: 5px;
}
table.calendar .events li span {
	display: block;
	font-size: 12px;
	text-align: justify;
	color: #555;
}
table.calendar .events li span.title {
	font-weight: bold;
	color: #222;
}

/* COLOURS */

.c1, a:visited.c1, a:link.c1, a:active.c1 { color: #876aac; }
a:hover.c1 { color: #c3b1e5; }
.b1 { border-color: #876aac; }

.c2, a:visited.c2, a:link.c2, a:active.c2 { color: #c15c9e; }
a:hover.c2 { color: #eba5dc; }
.b2 { border-color: #c15c9e; }

.c3, a:visited.c3, a:link.c3, a:active.c3 { color: #42c181; }
a:hover.c3 { color: #a1edc8; }
.b3 { border-color: #42c181; }

.c4, a:visited.c4, a:link.c4, a:active.c4 { color: #f5e554; }
a:hover.c4 { color: #fefaa5; }
.b4 { border-color: #f5e554; }

.c5, a:visited.c5, a:link.c5, a:active.c5 { color: #ffaf4c; }
a:hover.c5 { color: #fee88d; }
.b5 { border-color: #ffaf4c; }

.c6, a:visited.c6, a:link.c6, a:active.c6 { color: #ff7951; }
a:hover.c6 { color: #fdc487; }
.b6 { border-color: #ff7951; }

.c7, a:visited.c7, a:link.c7, a:active.c7 { color: #d3d3d3; }
a:hover.c7 { color: #f5f7f7; }
.b7 { border-color: #d3d3d3; }
