/* Curran's stylesheet duplicating the current youth home page */
/* I appologize in advance for all of the IE gripes */

/* (reminder - an XML prolog ( <?xml ... ?> ) will break IE) */

/*
 * Stuff for all youth pages
 */

body {
  /* (IE centering fix) */
  text-align: center;
}

a img {
  /* No border for images in links */
  border-style: none;
  border-width: 0;
  text-decoration: none;
}

h2 {
  margin-top: 0.5em;
  margin-bottom: 0.25em;
  color: #333333;
  text-align: center;
  font-size: 28px;
}

h3 {
  margin-bottom: 0;
  padding: 2px;
  border: 1px solid #000000;
  background-color: #666699;
  color: #ffcc00;
  text-align: center;
  font-size: 16px;
}

p {
  margin-top: 0.25em;
  margin-bottom: 0.75em;
}

#youthPage {
  /* Border around centered page */
  /* (could be applied to 'body' if not for IE) */
  width: 1002px;
  margin-left: auto;
  margin-right: auto;
  border: 2px ridge #000000;
  /* (undo side effects of IE centering fix) */
  text-align: left;
  font-size: 14px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

#banner {
  /* Replace banner heading with image */
  width: 1000px;
  height: 98px;
  padding: 0;
  margin: 0;
  border: 1px solid #000000;
  background-image: url("../images/header-1000x96.jpg");
}

#banner span {
  /* Hide text in banner heading */
  display: none;
}

#navList {
  margin: 0 0 8px 0;
  padding: 2px 0 2px 0;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background-color: #333333;
  text-align: center;
  list-style: none;
  font-size: 12px;
}

#navList li {
  display: inline;
  margin: 0 4px 0 4px;
  padding: 0;
}

.toplink a:link, .toplink a:visited, .toplink a:active {
  color: #aaaaaa;
  text-decoration: none;
}

.toplink a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.toplink, .toplinkpage {
  text-align: center;
  font-weight: bold;
}

.toplink {
   color: #aaaaaa;
}

.toplinkpage {
  color: #ffcc00;
}

#content {
  padding: 0 10px 10px 10px;
}

#footer {
  clear: both;
  border-top: 1px solid #000000;
  font-size: 8pt;
  padding: 2px;
  text-align: center;
}

#footer p {
  margin: 0;
}


/*
 * Stuff specifically for the homepage
 */
 
#links {
  text-align: center;
}

#links a {
  /* (fix underlining of whitespace in Opera) */
  text-decoration: none;
}

#linkBox {
  float: right;
  width: 376px;
  text-align: center;
}

#group1 {
  /* Left column */
  float: left;
  width: 544px;
}

#group2 {
  /* Right column */
  float: right;
  width: 428px;
}

.indexBlock {
  margin: 14px 0 14px 0;
  border: 1px solid #000000;
  background-color: #eeeeee;
  font-size: 12px;
}

.indexBlock h2 {
  margin: 0;
  padding: 2px;
  background-color: #333333;
  color: #ffffff;
  font-size: 20px;
}

.indexBlock h3 {
  margin: 0;
  padding: 2px;
  border-width: 1px 0 1px 0;
  text-align: left;
  font-size: 12px;
}

.indexBlock ul {
  margin: 0;
  padding: 2px;
  list-style: none;
}

.indexBlock p {
  margin: 0;
  padding: 2px;
}

#picture img {
  /* Random picture */
  /* (this will induce ugly browser scaling if image is not already 420px wide) */
  width: 420px;
  margin: 2px;
  border: 1px solid #000000;
}

#picture, #poll {
  text-align: center;
}

#pDisp63886 table {
  /* Center poll (I don't know how robust this is, but it works for now) */
  margin: 2px auto 2px auto;
}

/* Experimental news ticker */
#announcementMarquee {
  width: 592px;
  height: 51px;
  margin: 10px;
  border: 2px ridge #000000;
  background-color: #eeeeee;
  background-image: url("../images/announce-left.jpg");
  background-position: left center;
  background-repeat: no-repeat;
}

#news {
  height: 51px;
  margin: 0 0 0 51px;
  padding: 0 51px 0 0;
  background-color: #eeeeee;
  background-image: url("../images/announce-right.jpg");
  background-position: right center;
  background-repeat: no-repeat;
  color: #333333;
  font-weight: bold;
  font-size: 14px;
  list-style: none;
}

#news li {
  padding: 2px;
}

/*
 * Stuff specifically for the mission trip page
 */

.mapBlock {
  margin-top: 0.5em;
  margin-bottom: 1em;
  text-align: center;
}

.adultName {
  font-weight: bold;
}

/*
 * Tables
 */
.gmyTable {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.gmyTable .oddItem, .evenItem {
  color: black;
  font-size: 12px;
  text-align: left;
  margin-bottom: 0.375em;
}

.gmyTable .oddItem {
  background-color: white;
}

.gmyTable .evenItem {
  background-color: #eeeeee;
}

.gmyTable th {
  background-color: #eeeeee;
  border-style: solid;
  border-width: 1px;
  border-color: #cccccc;
  font-weight: bold;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 2px;
}

.gmyTable td {
  vertical-align: top;
  padding: 2px;
}

.gmyTable td ol {
  margin-top: 0;
}

