/**
 * General changes to help make images display right
 */
img.icon  {
  padding: 0 10px;
}

a.noHover img,
a.noHover:hover img {
  text-decoration: none;
  border: none;
}

.moduleContainer .itemTitle a,
.pageLayoutContent a,
.cnFooterContainer a {
  text-decoration: none;
}

a img {
  border: 0;
}

ul.nobullets,
ul.gallery,
ul.navigation {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

ul.highlights {
  padding-top: -0.75em;
}

ul.highlights li {
  padding-top: 0.75em;
}

ul.navigation {
  font-size: 1.1em;
}

ul.navigation li {
  margin-bottom: 0.5em;
}

ul.navigation li:last {
  margin-bottom: 0;
}

ul.indent {
  margin-left: 1.5em;
}

ul.latin {
  list-style-type: lower-alpha;
}

ul.gallery img{
  padding: 0 0 1em 0;
}

dl dt {
  font-weight: bold;
  font-size: 1.05em;
}

dl dd {
  padding: 0 0 0.5em 2em;
  margin: 0 0 1em 0;
}

/**
 * Tweaks to align content that doesn't need to take advantage of the full
 * screen real estate
 */
.left_column {
  width: 47%;
  padding-right: 2%;
  float: left;
}

.right_column {
  width: 47%;
  padding-left: 2%;
  float: right;
}

.wrapper {
  width: 100%;
}

.clearfix {
  clear: both;
}

/**
 * Have some fun with inline images
 */
p.left, img.left {
  float: left;
  padding: 0 1em 1em 0.5em;
}

p.right, img.right {
  float: right;
  padding: 0 0.5em 1em 1em;
}

/**
 * A better approach to alternating left / right
 * images is to use the new even and odd selectors
 * to have the browser do the heavy lifting. This
 * also requires less work when items are added or
 * removed.
 *
 * Once IE7 and IE8 drop off the map the class
 * rules for those can be dropped.
 */
p.map_link:nth-of-type(odd),
p.odd {
  float: right;
  padding: 0 0.5em 1em 1em;
}

p.map_link:nth-of-type(even),
p.map_link:nth-child(1),
p.even {
  float: left;
  padding: 0 1em 1em 0.5em;
}

/**
 * Custom designs that help to make the donations views a little 
 * distinctive
 */
.donation, 
.volunteer {
  float: left;
  width: 90%;
  padding-right: 9%;

  padding-bottom: 1.0em;
  margin-bottom: 1.0em;
  border-bottom: 0.1em #DCD solid;
}

.donation h4, 
.volunteer h4.name {
  font-size: 110%;
  margin: 0 0 0.5em 0;
  padding: 0;
}

.donation .amount {
  float: left;
  width: 35%;
  font-size: 110%;
  font-style: italic;
  padding-right: 14.5%;
  text-align: left;
  vertical-align: bottom;
}

.donation .letter {
  float: right;
  width: 35%;
  padding-left: 14.5%;
  text-align: right;
  vertical-align: bottom;
}

.donation .letter img {
  padding-right: 0.5em;
}

.donation .description,
.volunteer .description {
  float: left;
  width: 99%;
  clear: both;
  margin-top: 1.5em;
}

.event {
  float: left;
  clear: both;
  margin-bottom: 2em;
}

.event h3 {
  font-size: 120%;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event h4 {
  font-size: 105%;
}

ul.gallery div[align="center"] {
  text-align: left;
}

ul.gallery img {
  overflow: hidden;
}

#fb-root {
  float: left;
  clear: both;
}

table.contStyleExcSimpleTable {
  float: left;
  clear: both;
}

/**
 * Ride information should probably be retooled as a DIV. For the time being
 * though it is still a series of tables so that the Ride Leaders and Director do not
 * need to be technically savvy to make edits without reaching beyond the 
 * WYSIWYG limits
 */
.ride_information {
}

.ride_information td, 
.ride_information th {
  padding: 0.5em;
  vertical-align: top;
}

.ride_information th {
  text-align: left;
  font-weight: bold;
}

.daily_paces td.checkbox {
  text-align: center;
  font-weight: bold;
}

.ride_schedule thead td,
.ride_schedule tbody td {
  text-align: left;
  border: 0;
  padding-right: 1em;
}

.ride_schedule thead td {
  font-weight: bold;
}

/*
  * Also some nice zebra striping for improved readability
  */
.ride_schedule tbody tr:nth-child(odd),
.sunday_rides tbody tr:nth-child(odd) {
  background-color: rgb(224, 224, 224);
}

table.information {
}

table.information th {
  padding: 0 1em 0.5em 0;
  background: rgb(224, 224, 224);
}

table.information td {
  padding: 0 1em 0.5em 0;
}

table.information td:first-child {
  font-weight: bold;
}

/**
 * A banner for all rides to add some emphasis
 */
h1.marquee,
h2.marquee {
  background: #B3E5FF;
  font-weight: bold;
  padding: 0.5em;
}
  
/**
 * Use this sparingly at the top of a page to draw attention to the first paragraph.
 * If used in moderation it acs a bit like a call to action or pull quote to draw
 * attention to something
 */
p.marquee {
  font-size: 1.25em;
  line-height: 1.5em;
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

/* 
 * Float all footer content to the right automatically. This would be much much
 * easier if the markup was not a convoluted hot mess
 */
.footerContent p {
  float: right !important;
}

/**
 * That this level of markup is needed reflects the spaghetti code that is Wild
 * Apricot. At least with the theme roller it might be possible to retool this into
 * something better
 */
.mainMenu TD.itemNormal .d5 {
  background: none !important;
  padding-right: 0 !important;
}

#idHeaderLogo {
  top: 0 !important;
  left: 0 !important;
}

h1[class*=SystemPageTitle] {
  display: none;
}

/**
 * Formatting for the ride schedule to avoid having to rely on the awkward 
 * calendar format. Still uses events but in a slightly different form. Using tables
 * is a terrible idea as well but since Wild Apricot is already a hot mess trying to
 * anything elegant would be putting lipstick on a pig.
 */
table.sunday_rides {
  width: 100%;
  text-align: right;
}

table.sunday_rides td,
table.sunday_rides th {
  padding: 0.25em 0.5em;
}

table.sunday_rides td.date,
table.sunday_rides td.start_time {
  width: 8%;
}

table.sunday_rides td.distance {
  width: 18%;
}
table.sunday_rides td.start_location,
table.sunday_rides td.title {
  width: 28%;
}

table.sunday_rides tr.signature_ride {
  font-weight: bold;
}

/**
 * Customizations for the home page to help with flowing images inline and
 * doing some other tricks without resorting to lots and lots of ugly <font>
 * tags
 */
img.inline-left {
  position: relative;
  float: left;
  margin-right: 30px;
}

dt.contact-information {
}

dt.contact-information dd {
  margin-left: 0;
  padding-left: 0;
}
