html { 
    height: 100%;
    margin-bottom: 1px;
}

body { 
	padding:0;
	margin:0;
}

#branding {
	background:url(../images/banner.gif) top left no-repeat;
	margin:0 auto;
	width:820px;
	height:148px;
 	position: relative;
}

#wrapper {
	margin:0 auto;
	width:770px;
	height:1%;
 	position: relative;
}

#container {
	padding: 60px 0 15px;
	width: 770px;
	float: left;
}

#main {
	float: left;
	width: 73%;
}

#secondary {
	float: right;
	width: 20%;
	border-left: 1px solid #e1e1e1;
	padding-left:1.5em;	
}

.colhome {
	float:left;
	margin:0 10px 0 0;
	padding:20px 20px 0;
	width:210px;
	height:140px;
	background:url(../images/bghome.jpg) top left no-repeat;
}

.col {
	float:left;
	padding:0 25px 0 0;
	width:256px;
}

.colhome.collast {	margin:0;	}

.colhome .search_field {
	width:160px;
}


/* SUBMISSIONS --------------------- */
#submissions {
	position:absolute;
	top:15px;
	left:672px;
	padding:0 0 0 10px;
	background:url(../images/arrow.gif) 0 6px no-repeat;
	width:130px;
	float:left;
	cursor:pointer;
}

ul.navi, .navi ul {
/* Remove all spacings from the list items */
	margin: 0;
	padding: 0;
	list-style: none;
	width:130px;
}

ul.navi {
	display:block;
}

ul.navi .main {
	padding: 2px 6px;
}

ul.navi li ul {
	margin-left: -6px;
	margin-top: 2px;
}

ul.navi ul li {
	display:block;
	padding:0;
	margin:0 0 5px 0;
	float:left;
	width:130px;
}

ul.navi ul li a {
/* Make the hyperlinks as a block element, sort of a hover effect */
	display: block;
	padding: 2px 0 0 6px;
}

/*** Menu colors (customizable) ***/
ul.navi li span {
	text-transform:uppercase;
	font:bold 11px/14px  arial, helvetica, sans-serif;
}

ul.navi, .navi ul, .navi ul li a {
	font:bold 11px/14px  arial, helvetica, sans-serif;
	color: #FFF;
}


ul.navi li:hover, .navi ul li a:hover{
	font:bold 11px/14px  arial, helvetica, sans-serif;
	color: #fff;
}



/* PRIMARY / TABLE --------------------- */
#primary {
	clear:both;
	padding:10px 0 14px;
}

#primaryhm {
	clear:both;
	padding:0 0 14px;
}


#primary.freelistings {
	padding:0 0 14px; /* adjusted vert spacing for free listings */
}  

table {
	border-spacing:0;
	border:0;
	font:12px arial, helvetica, sans-serif;
	color:#777;
	width: 770px;
	border-collapse:collapse;
}

thead {	text-align:left;	}
th { padding:7px 0 7px 16px;	}

table th,
table th a {
	color:#FFF;
	font-weight:normal;
}

table th a:hover {
	color:#FFF;
	text-decoration:none;
}

td  {
	padding:12px 5px 10px 16px;
	border-bottom:1px solid #e1e1e1;
}

th, td {
	text-align:left;
	vertical-align:top;
}


/* Churches Page */
.churches-church { width:250px; }
.churches-lang { width:110px;	}
.churches-den { width:150px; }

th.churches-church { background:url(../images/filterbar-curve.jpg) top left no-repeat;	}
th.churches-lang, th.churches-den, th.churches-loc { background:url(../images/filterbar-nocurve.jpg) top left no-repeat; }
th.churches-map { background:url(../images/filterbar-curve.jpg) top right no-repeat; }

/* Ministry Openings Page */
.minopenings-title {	width:360px; }
.minopenings-type { width:100px; }
.minopenings-location { width:120px; }
.minopenings-dateposted { width:100px; }
th.minopenings-title { background:url(../images/filterbar-curve.jpg) top left no-repeat; }
th.minopenings-location, 
th.minopenings-church, 
th.minopenings-type { 
	background:url(../images/filterbar-nocurve.jpg) top left no-repeat; 
}
th.minopenings-dateposted { background:url(../images/filterbar-curve.jpg) top right no-repeat; }


/* Blogs and Free Ministry Openings --------------------- */
table#blogs, table#free {
	width:520px;
	float:left;
}

table#blogs td, table#free td  {
	padding:16px 5px 14px 0;
	border-bottom:1px solid #e1e1e1;
	font:12px/15px arial, helvetica, sans-serif;
}

table#free h2,
table#blogs h2 {
	font:13px/16px arial, helvetica, sans-serif;
	margin:0;
	display:block;
	color:#555;
	font-weight:bold;
}

table#free h3,
table#blogs .church-info {
	font:12px arial, helvetica, sans-serif;
	margin:0;
	display:block;
	color:#888;
	font-weight:bold;
	padding-bottom:4px;
}

.freeinfo,
.bloginfo {
	margin-top:1em;
	display:block;
}

.bloginfo {
	font-style:italic;
}

.freeinfo a,
.bloginfo a {
	font-style:normal;
}

.freeinfo .date,
.freeinfo .website,
.freeinfo .contact_name,
.freeinfo .contact_phone {
	display:block;
}

.freeinfo .date {
	font-style:italic;
}

.freeinfo {
	font-size:11px;
}



/* SIDECOLUMN --------------------- */

#sidebar {
	float:right;
	width:200px;
	background:#f5f5f5;
	border-top:8px solid #e8e8e8;
}

#sidebar h2 {
	font:15px/18px arial, helvetica, sans-serif;
	color:#606060;
	padding:14px 20px 6px;
	margin:0;
}

#sidebar p {
	font:12px/15px arial, helvetica, sans-serif;
	padding:0 20px 14px;
}


/* PAGINATION --------------------- */
#pagination {
	border-top:5px solid #7f7f7f;
	width:770px;
	padding:10px 0 0;
	margin-top:14px;
	float:right;
	text-align:right;
}

#pagination p {	margin:0.1em 0; }
#pagination em {	
	color:#777;
	font-style:normal;
}

#pagination .prev {
	padding:0 10px 0 0;
}

#pagination .next {
	padding:0 0 0 10px;
}


/* NAV --------------------- */
#nav {
	position: absolute;
	top:148px;
	left:20px !important;
	left:10px;
	background:url(../images/nav.jpg) top center no-repeat;
	width:780px;
	height:38px;
	z-index: 99;
}

#nav ul {
	height: 38px;
	margin:0;
	padding:0;
	width: 800px;
	float:left;
}

#nav li {
	padding:0;
	margin:0 0 0 0 !important;
	margin:0 0 0 2px;
	height:34px;
	font: 12px/30px "trebuchet ms", arial, helvetica, sans-serif;
	background:url(../images/navdiv.jpg) 6px left no-repeat;
	text-transform:uppercase;
	list-style:none;
	display: inline;
	text-align:center;
	white-space:nowrap;	
	float:left;
	width:auto !important;
	width:1%;
}

#nav li.first { background:none;	}

#nav a,
#nav span {
	display:block;
	text-decoration:none;
	color:#777;
	height: 33px;
	padding:2px 26px 0;	
	margin: 0;	
}

#nav a:hover {	color:#DC0C0C;	}
#nav .selected {	color:#DC0C0C;	}



/* LOGO --------------------- */
#logo {
	position:absolute;
	top:74px;
	left:0;
	background:url(../images/logo.jpg) no-repeat;
	width:245px;
	height:58px;
	z-index:99;
}

#logo a {
	display:block;
	width:245px;
	height:58px;
	text-decoration:none;
}


/* FONTS --------------------- */
h1 {
	color:#DC0C0C;
	font:22px arial, helvetica, sans-serif;
	margin: 0 0 0.5em;
	clear:both;
}

h2 {
	color:#555;
	font:14px/16px arial, helvetica, sans-serif;
	margin: 0 0 0.3em;
}

h2.sidebar { 
	font:15px/19px arial, helvetica, sans-serif;
}


p {	
	font:12px/17px arial, helvetica, sans-serif;
	color: #888;
	margin: 0 0 1em;
}	

em {
	font-weight: bold;
	font-style: normal;
}

a {	color: #669ddc;
	outline: none;
}

a:hover {	
	color:#a0abb7;
	text-decoration: none;	
}

ul {
	font:12px/17px arial, helvetica, sans-serif;
	color: #888;	
	list-style-type:square;
	margin:0 0 1.5em 14px;
	padding:0;
}

li {
	margin-bottom:0.4em;
}

.red {
	color:#DC0C0C;
}

/* IMAGES --------------------- */
img.float-r {
	padding: 3px;
	border: 1px solid #d2d2d2;
	margin: 0 0 18px 1.3em;
	float: right;
}

img.float-l {
	padding: 3px;
	border: 1px solid #d2d2d2;
	margin: 0 1.3em 18px 0;
	float: left;
}

/* OPTIONS --------------------- */
ul#options {
	margin:0;
	padding:0;
	list-style:none;
	white-space:nowrap;
	float:left;
}

ul#options a {	color: #3e7cc3; }
ul#options li {	
	font:12px arial, helvetica, sans-serif;	
	display:inline;
	padding:0 10px 0 0;
	margin:0 10px 0 0;	
	border-right:1px solid #d1d1d1;
}

ul#options li.last { border-right:0;	}


/* FOOTER --------------------- */
#footer-container {
	padding-top: 1.2em;
	width: 100%;	
	float:left;
	background:url(../images/footer-bg.gif) top left repeat-x;
}

#footer {
	position:relative;
	clear:both;
	width:780px;
	padding-top:12px;
	margin:0 auto;
}


#footer p {	
	line-height: 1.5em;
	font-size: 11px;
	color:#999;
}

p#copyright {
	float:left;
	padding-bottom:10px;
	margin-left: 10px !important;
	margin-left: 6px;
}

p#attribute {
	float:right;
	display: inline;
	text-align: right;
	width: 200px;
}

#footer a.eclectiv {
	display: block;
	float: right;
	width: 56px;
	height: 13px;
	margin:0 10px 0 4px !important;
	margin:1px 6px 0 1px;
	background: url(../images/eclectiv.gif) top left no-repeat;
}

#footer a:hover.eclectiv {
	background: url(../images/eclectiv.gif) bottom left no-repeat;
}


/* MISC --------------------- */
.submit {
	float:right;
}

.submit a {
	color:#9e855c;
}

.float-l {
	float: left;
}

.float-r {
	float: right;
}

.cleaner {
	clear:both;
	height:1px;
	line-height:0;
	font-size:0;
}


/* ADDITIONS (by Tim) --------------------- */
tr.empty td {
	font-size:14px;
	text-align:center;
	padding:30px 0;
}

tr.odd td {
	background-color:#DDECFC;	
}

tr.even {}

.admin h1 {
	font-size:18px;
}


/*--- Forms ---*/
form {
	font:11px arial, helvetica, sans-serif;
}

legend {
	font:bold 13px arial, helvetica, sans-serif;
	color:#333;
}

fieldset {
	border:none;
	border-bottom:solid 1px #AAA;
	padding:10px 0 10px 0;
	margin:0 0 20px 0;
	display:block;
}

textarea {
	font-family:Arial;
	font-size:12px;
}

form.submission {
	margin:0 0 0 10px;
}

form.submission fieldset {
	width:720px;
	/* float:left; */
	clear:left;
}

form.submission label {
	padding:0 10px 0 0;
}

form.submission textarea {
	width:500px;
}

form.submission .text_field_label,
form.submission .password_field_label,
form.submission .text_area_label,
form.submission .check_boxes_label,
form.submission .radio_buttons_label,
form.submission .select_label {
	display:block;
	margin:0 0 2px 0;
	font-size:11px;	
	color:#555;	
}

form.submission .prefix {
	padding:0 2px 0 0;
	font-size:12px;
	color:#888;
}

form.submission .note {
	display:block;
	font-size:11px;
}

form.submission .required_note {
	padding:0;
	margin:0 0 20px 0;
}

form.submission p {
	padding:0 10px;
	/*
	width:330px;	
	height:100px;
	background:#FF0;
	border:solid 1px #000;
	*/
}

.go_button {
	width:24px;
	height:22px;
	background:url(../images/go.gif) 0 0 no-repeat;
	cursor:pointer;
	margin:0;
	padding:0;
	text-align:left;
	/* Hide Text */
	overflow:hidden;
	text-indent:-1000px;
	border:none;
}

.search_field {
	float:left;
	margin:2px 10px 0 0;
}

.field_with_errors {
	margin:0;
	padding:0;
	display:inline;
	font-size:12px;
}

.field_with_errors label {
	color:#F00 !important;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px -7px 5px -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
	margin:0 0 0 8px;
}

.limited_text_field .warning {
	color:#F00;
	font-weight:bold;
}

.limited_text_field .text_limit_message {
	font-size:11px;
}

.limited_text_field .count {
	font-weight:bold;
}

.form_disclaimer {
	border:solid 1px #CCC;
	padding:5px 10px;
	font-size:11px;
	margin:0 0 20px 0;
	width:700px;
}


/*--- Flash Messages ---*/
#flash {
	font: 18px/1.4 Arial, sans-serif;
	position:absolute;
	z-index:100;
	display:block;
	top:40%;
	left:25%;
	width:46%;
	padding:30px 2% 30px 2%;
	text-align:center;
}

.notice {
	background:#EEE;
	color:#444;
	border:solid 5px #CCC;
}

#admin_login_form {
	border:solid 5px #CCC;
	width:300px;
	padding:20px;
	margin:20px auto;
}

#admin_login_form #login,
#admin_login_form #password {
	width:99%;
}

#login_error_message {
	background:#F00;
	color:#FFF;
	text-align:center;
	padding:5px 10px;
}

#states_nav_dropdown {
	background:#EEE;
	border:solid 1px #CCC;
	position:absolute;
	z-index:99;
	padding:10px 0 10px 15px;
	margin:5px 0 0 0;
}

#states_nav_dropdown ul {
	display:block;
	float:left;
	width:120px;
	margin:0;
	padding:0;
}

#states_nav_dropdown ul li {
	display:block;
	font-size:10px;
	margin:0 0 5px 0;
	padding:0;	
	float:none;
	border:none;
}

#search_maps_nav_dropdown {
	background:#EEE;
	border:solid 1px #CCC;
	position:absolute;
	left:100px;
	top:110px;
	z-index:99;
	padding:15px 20px 15px 10px;
	margin:5px 0 0 0;
	width:260px;
}

#search_nav_dropdown {
	background:#EEE;
	border:solid 1px #CCC;
	position:absolute;
	left:100px;
	top:110px;
	z-index:99;
	padding:15px 20px 15px 10px;
	margin:5px 0 0 0;
	width:260px;
}

#search_nav_dropdown #indicator {
	margin:3px 0 0 0;
	position:absolute;
	left:10px;
	top:15px;
}

#search_nav_dropdown .search_field {
	width:200px;
	float:left;
	margin:1px 8px 0 20px;
	padding:0 2px;	
}

#search_nav_dropdown button {
	float:left;
}

#search_nav_dropdown .note {
	font-size:11px;
	margin:5px 0 0 22px;
	padding:0;
	float:left;
	display:inline; /* For IE */
}


/* - for search with Google maps - */

#search_map_dropdown {
	background:#EEE;
	border:solid 1px #CCC;
	position:absolute;
	left:250px;
	top:110px;
	z-index:99;
	padding:15px 20px 15px 10px;
	margin:5px 0 0 0;
	width:260px;
}

#search_map_dropdown .search_field {
	width:140px;
	float:left;
	margin:1px 5px 0 10px;
	padding:0 2px;		
}

#search_map_dropdown .radius {
	width:53px;
	float:left;
	margin:1px 8px 0 10px;
	padding:0;
}

#search_map_dropdown button {
	float:left;
}

#search_map_dropdown .note {
	font-size:11px;
	margin:5px 0 0 22px;
	padding:0;
	float:left;
	display:inline; /* For IE */
}

/* -- */

#search_nav .active,
#search_map .active,
#states_nav .active {
	background-color:#DAEFFF;
	text-decoration:none;
}

ul#options a {
	padding:1px;
}



/*--- Ministry openings lightbox ---*/
.minopening {
	padding:20px;
	width:560px;
	height:329px;
	overflow:auto;
}

.minopening h1 {
	margin:0 0 15px 0;
}

.minopening .content1 {
	float:left;
	width:320px;
	padding:0 20px 0 0;
}

.minopening .content2 {
	float:left;
	width:180px;
	border-left:solid 1px #CCC;
	padding:0 0 0 20px;
}


/*--- Auto Complete ---*/
div.auto_complete {
  width: 350px;
  background: #EEE;
	z-index:1000;
	text-align:left;
  border:1px solid #888;
}

div.auto_complete ul {
  margin:0;
  padding:0;
  width:100%;
  list-style-type:none;
	white-space: normal !important;
}

div.auto_complete ul li {
	margin:0 					!important;
	display:block 		!important;
	padding:3px 5px 	!important;
	font-size:11px 		!important;
	border:none 			!important;
	line-height:1.3		!important;
	color:#666;
	cursor:pointer;
}

div.auto_complete ul li.selected {
  background-color: #669DDC;
	color:#FFF;
}

div.auto_complete ul strong.highlight {
  margin:0;
  padding:0;
}

/*--- Admin Tables ---*/
.admin table th {
	border-bottom:solid 1px #E1E1E1;
}

.admin table th,
.admin table th a {
	color:#666;
}


/* 
Don't show forms that rails inserts 
for linking to http post actions */
body.admin table form {
	display:none; 
}

body.admin table th,
body.admin table th a {
	font-weight:bold;
}

body.admin table.churches .col1 { width:280px;	}
body.admin table.churches .col2 { width:100px;	}
body.admin table.churches .col3 { width:50px;		}
body.admin table.churches .col4 { width:100px;	}

body.admin table.openings .col1 { width:140px;	}
body.admin table.openings .col2 { width:160px;	}
body.admin table.openings .col3 { width:80px;		}
body.admin table.openings .col4 { width:40px;		}
body.admin table.openings .col5 { width:80px;   }

body.admin table.blogs .col1 { width:120px;	}
body.admin table.blogs .col2 { width:160px;	}
body.admin table.blogs .col3 { width:80px;	}
body.admin table.blogs .col4 { width:40px;	}
body.admin table.blogs .col5 { width:100px;	}

body.admin table.admins .col1 { width:300px; }
body.admin table.admins .col2 { width:200px; }

body.admin table.pages .col1 { width:200px; }
body.admin table.pages .col2 { width:250px; }
body.admin table.pages .col3 { width:100px; }


/*--- Static Pages ---*/
.static_page_preview {
	float:left;
	width:770px;
	border-top:solid 1px #999;
	border-bottom:solid 1px #999;	
	padding:20px 0;
	margin:0 0 10px 0;
}

/*--- Current User ---*/
.current_user {
	text-align:right;
}

.user_greeting {
	font-size:14px;
	color:#DC0C0C;
	margin:0 3px 0 0;
}

.user_nav {
	font-size:11px;
}

.user_nav a {
	color:#444;
}


/*--- Admin Navigation ---*/
.main_nav {
	margin:0 0 8px 0;
	padding:0;
	background: url(../images/filterbar-curve.jpg) top left no-repeat;
	width:770px;
	float:left;
	height:30px;	
}

.main_nav ul.nav {
	padding:0 15px;
	margin:0;
	float:left;	
	height:30px;
}

.main_nav ul.nav li {
	margin:8px 8px 0 0;
	padding:0;
	float:left;
	height:22px;
	text-align:center;
	list-style-type:none;
}

.main_nav ul.nav li a,
.main_nav ul.nav li span {
	display:block;
	padding:3px 10px 3px 10px;
	margin:0;
	height:16px;
	font-size:12px;
	line-height:16px;
}

.main_nav ul.nav li a {
	color:#FFF;
}

.main_nav ul.nav li a:link,
.main_nav ul.nav li a:visited {
	background:#444;
	text-decoration:none;
}

.main_nav ul.nav li a:hover,
.main_nav ul.nav li a:visited:hover {
	background:#111;	
	text-decoration:underline;	
}

.main_nav ul.nav li .selected {
	background:#FFF !important;
	color:#000 !important;
}

.section_nav {
	float:left;
	width:770px;
	margin:0 0 15px 0;
	padding:0 0 8px 0;
	border-bottom:solid 2px #999;
}

.section_nav ul.nav {
	float:left;
	width:500px;
	margin:0;
	padding:0 0 1px 0;
}

.section_nav .search_form {
	float:right;
	width:240px;
	text-align:right;
	margin:0;
	padding:0;
}

.section_nav ul.nav li {
	display:inline;
	line-height:22px;
	margin:0 10px 0 0;
}

.section_nav ul.nav li.first {
	border:none;
	padding-left:0;
}

.section_nav .search_form #indicator {
	width:16px;
	height:16px;
	margin:3px 0 0 0;
	float:left;
	position:absolute;
	right:225px;
}

.section_nav .search_form .search_field {
	width:172px;
	margin-left:22px;
	padding:0;
	font-size:11px;
}

.section_nav .search_form button {
	float:left;
}

#overview_nav_link 		{ width:80px; }
#churches_nav_link 		{ width:80px; }
#openings_nav_link 		{ width:125px; }
#blogs_nav_link 			{ width:100px; }
#pages_nav_link 			{ width:100px; }
#admins_nav_link 			{ width:70px; }


/*--- Dashboard (Overview) ---*/
#overview {
	float:left;
	width:300px;
	border-right:solid 1px #CCC;
	padding:12px 14px;
}

#overview h2 {
	margin:0 0 8px 0;
}

#overview ul {
	font-size:14px;
	margin-bottom:30px;
}

#overview ul li {
	margin:0 0 6px 0;
	border-bottom:solid 1px #CCC;
	padding:6px 0 4px 0;
}



#overview table {
	width:290px;
	margin:0 0 20px 0;
}

#overview table td {
	padding:8px 0 5px 0;
}

#overview td.count {
	font-weight:bold;
	text-align:right;
	font-size:14px;
	color:#777;
}

#notes {
	float:right;
	width:400px;
	padding:12px;
}

#notes #note_content {
	width:400px;
	height:230px;
	margin:0 0 10px 0;
}

#notes .content {
	border-bottom:solid 1px #CCC;
	margin:0 0 8px 0;
}


/*--- Edit Link ---*/
.edit_link {}


/*--- ---*/
table.sponsored_openings .title {
	margin:0 0 5px 0;
	font-size:13px;
}

table.sponsored_openings .church_name {
	margin:0 0 8px 0;
	color:#444;
}

table.sponsored_openings .description {
	padding:0 30px 0 0;
}

table.sponsored_openings .description p {
	font-size:12px;
	line-height:1.4;
}

/*--- Search Results ---*/
.results_message {
	color:#666;
	font-size:14px;
}

.results_message strong {
	color:#444;
}


/*--- Contact Form ---*/
.contact_form {}


/* NEW CONTENT - NOV 29 --------------------- */

ul#secnav {
	margin:0 0 0 -5px;
	padding:0;
	list-style-type:none;
}

ul#secnav li {
	margin:0 0 6px 0;
	padding:0 0 0 15px;
	/*background:url(/images/graydot.gif) 0 5px no-repeat;*/
}

ol {
	font:12px/17px arial, helvetica, sans-serif;
	color: #888;	
	margin:0 0 1.5em 35px;
	padding:0;
}

ol li {
	margin-bottom:0.4em;
}

p.title {
	color:#999;
	font-weight:bold;
}

.lineup {
	border-top:1px solid #d6d6d6;
	margin-top:20px;
	padding-top:20px;	
}

h3 {
	color:#666;
	font:bold 12px/14px arial, helvetica, sans-serif;
	margin: 0 0 0.2em;
}

.brown {
	color:#877351;
}

a#hmlink {
	position:absolute;
	width:370px;
	height:70px;
	top:30px;
	left:38px;
	z-index:100;
	text-decoration:none;
}

p.quote {
	font-style:italic;
	padding-bottom:20px;
}

p.border {
	border-bottom:1px dotted #bfbfbf;
	padding-bottom:20px;
	margin-bottom:20px;
}

.to_from {
    font-size: 0.7em;
}

.SponsoredOpening {
    font-weight: bolder;
}
