body, html {
  margin: 0;
  font-family: 'Arial';
  background-image: url('/images/blue_faded_bg.png');
  background-repeat: repeat-x;
}
img {
  border: 0;
}
a {
  text-decoration: none;
  color: #3551c6;
}
a:visited {
  color: #3551c6;
}
table {
  /*padding: 0;*/
  border-collapse: collapse;
}
table tr {
  vertical-align: top;
  /*padding: 0;*/
}
table td {
 /* padding: 0;*/
}
tr.highlight {
  background-color: #c8d0ef;
}
.centerbody {
  position: relative;
  width: 750px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}
.floating_image {
  float: right;
  width: 250px;
  padding: 0;
  margin-right: 0;
  margin-left: 10px;
  margin-bottom: 10px;
  margin-top: -10px;
}
.main {
  margin: 0;
  padding-right: 10px;
  width: 490px;
}
.main_full {
  margin: 0;
  width: 750px;
}

h1 {
  color: #3551c6;
  font-size: 130%;
  font-weight: bold;
  font-style: normal;
}
h2 {
  color: #3551c6;
  font-size: 115%;
  font-weight: bold;
  font-style: normal;
}
h3 {
  color: inherit;
  font-size: 105%;
  font-weight: bold;
  font-style: normal;
}

.footer {
  color: #555;
  border-top: 1px solid #555;
  margin-top: 10px;
  clear: both;
  font-size: 10px;
  padding: 2px;
}
.footer a {
  font-size: inherit;
  color: inherit;
  margin-left: 2ex;
  float: right;
  display: block;
}



/* Mission-Specific Styles */
.mission_partner {
  padding-top: 0.8ex;
  margin-bottom: 0.8ex;
  border-top: 1px solid #3551c6;
}
.mission_name {
  font-weight: bold;
  margin-right: 1em;
}
.mission_org {
  font-style: italic;
}
.mission_detail {
  display: block;
  margin-left: 1.5em;
  margin-top: 0.3ex;
}
.mission_partner a {
  color: #3551c6;
}

.floatleft
{
	float:left;
	margin-top: 0px;
	margin-right: 20px;
	margin-bottom: 0px;
	margin-left: 5px;
}

.floatright
{
	float:right;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 10px;
}

/* Service-Specific Styles */
.services {
  width: 100%;
}

.service {
  border-bottom: 1px solid #3551c6;
  font-size: 80%;
  border-collapse: separate;
  border-spacing: 0;
}

.service td {
  padding-top: 5px;
  padding-bottom: 5px;
  vertical-align: middle;
  border-bottom: 1px solid #3551c6;
}

.service_time {
  text-align: center;
}

.service_title {
  font-size: 125%;
}

.service_series {
  font-style: italic;
}

.service_type {
  width: 1px;
  white-space: nowrap;
  text-align: right;
}

.service_series_title {
  width: 100%;
  font-size: 95%;
  font-weight: bold;
  margin-top: 20px;
  background-color: #3551c6;
  color: white;
  padding: 5px;
}
.service_series_title a {
  color: inherit;
}

/* Admin section */
.admin_menu {
  float: right;
  padding: 0;
  width: 250px;
  margin-right: 0;
  margin-left: 10px;
  margin-bottom: 10px;
  margin-top: -10px;
}

.admin_section {
  padding: 0;
  margin: 0;
}

.admin_section_title {
  width: 238px;
  background-color: #3551c6;
  color: white;
  margin: 0;
  padding: 3px 6px;
  font-weight:bold;
  font-size: 80%;
}
.admin_section_item {
  border-bottom: 1px solid #3551c6;
  margin: 0;
  padding: 3px 6px;
}

/* Upcoming events stuff */

.upcoming_float {
  float: right;
  width: 250px;
  border: 1px solid #3551c6;
  border-bottom: none;
  padding: 0;
  margin: 0;
  margin-left: 10px;
  margin-bottom: 10px;
}

/* Front Page Notices */

.front_notice {
  position: absolute;
  left: 500px;
  top: 112px;
  text-align: center;
  width: 250px;
  height: 222px;
  padding: 0;
  margin: 0;
}

.front_notice_icon {
  position: absolute;
  top: 6px;
  left: 0px;
}

.front_notice_title_with_icon, .front_notice_title {
  height: 32px;
  background-color: #3551c6;
  position: absolute;
  top: 28px;
  left: 0;
  vertical-align: middle;
  color: white;
  line-height: 32px;
  font-size: 20px;
}
.front_notice_title_with_icon {
  width: 204px;
  padding-left: 46px;
}
.front_notice_title {
  width: 250px;
  padding-left: 0px;
}
.front_notice_main {
  width: 230px;
  height: 143px;
  position: absolute;
  top: 60px;
  left: 0px;
  padding: 10px;
  border-bottom: 3px solid #3551c6;
}
.front_notice_main div {
  vertical-align: middle;
}

/* Misc */
.email_image {
  vertical-align: text-bottom;
}

.flash_notice {
  border: 2px solid #3551c6;
  padding: 5px;
}

.main_full .flash_notice {
  margin-top: -10px;
  margin-bottom: 10px;
  border: 0px;
  border-bottom: 2px solid #3551c6;
}

/* Main calendar */

.calendar_event {
  display: block;
  border-left-style: solid;
  border-left-width: 10px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-color: #3551c6;
  margin-bottom: 10px;
  padding-left: 10px;
  padding-bottom: 5px;
}
.calendar_summary {
  padding-top: 5px;
  font-weight: bold;
  font-size: 110%;
}
.calendar_location {
  font-style: italic;
  margin-top: 5px;
}
.calendar_location:before {
  content: "Location: ";
  font-weight: bold;
}
.calendar_time {
  margin-top: 5px;
}
.calendar_description {
  margin-top: 5px;
}
.calendar_calendar {
  margin-top: 5px;
}
.calendar_calendar:before {
  content: "Calendar: ";
  font-weight: bold;
}
.calendar_ical_link {
  float: right;
}

/* Events calendar in sidebar */

.calendar_sidebar {
  clear: right;
  float: right;
  width: 250px;
  padding: 5px;
  border: 1px solid #3551c6;
  margin-right: 0;
  margin-left: 10px;
  margin-bottom: 10px;
  border-collapse: collapse;
}

.calendar_sidebar th {
  background-color: #3551c6;
  color: white;
  padding: 5px;
}
.calendar_sidebar td {
  padding: 3px;
  vertical-align: middle;
  border-bottom: 1px solid #3551c6;
}
.calendar_sidebar_time {
  width: 100px;
  text-align: center;
}

/* Sidebar content */

.sidebar {
  clear: right;
  float: right;
  width: 240px;
  padding: 5px;
}

/* Ticker Styles */
#ticker {
  width: 100%;
  border-bottom: 2px solid #3450c4;
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 80%;
  padding-top: 2px;
  padding-bottom: 2px;
  display: none; /* initially hidden; shown by javascript */
}
#ticker_news_type {
  font-weight: bold;
}

/* Login buttons */
.login_buttons {
  height: 16px;
  margin-top: -16px;
  font-size: 12px;
  padding: 0;
  color: #494949;
}
.login_buttons a {
  color: inherit;
  font-weight: bold;
}
.login_buttons a:visited {
  color: inherit;
}

/* Rota styles */
table.rota td {
  text-align: center;
  vertical-align: middle;
  padding: 3px;
}


.iphone_layout_button {
  display: block;
  width: 100%;
  font-size: 250%;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 10px;
  border-bottom: 3px solid #3551c6;
}

/* Wizzy front */

.wizzycontainer {
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
  margin-top: -10px;
}
.wizzycontainer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  cursor: pointer;
}
.wizzyfront li {
  list-style: none;
  float: left;
}
.wizzyelement {
  position: relative;
  padding: 0;
  margin: 0;
}
.wizzytext, .wizzytext_background {
  width: 480px;
  top: 177px;
  height: 25px;
  position: relative;
  display: block;
  padding: 10px;
  text-align: center;
  color: white;
  font-size: 20px;
  background-color: black;
  opacity: 0.6;
  -webkit-opacity: 0.6;
  -moz-opacity: 0.6;
  text-decoration: none;
}
.wizzycontrols {
  position: absolute;
  top: 3px;
  right: 3px;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.wizzycontrols a {
  padding: 0;
  margin: 0;
}
.wizzytext, .wizzytext:visited, .wizzytext:hover {
  color: white !important;
}
.wizzycontrols img {
  vertical-align: center;
}


.expandable_box {
  border: 1px dotted #3551c6;
  padding: 5px;
  margin-bottom: 10px;
}
