/* @group General Styles */

* {
  margin: 0;
  padding: 0;
}

html { 
	min-height: 100%; margin-bottom: 1px; 
}

body {
  color: #333;
  font-family: 'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif;
  font-size: small;
  background: #f5f5f5;
}

pre {
  background-color: #eee;
  padding: 10px;
}

a {
  -moz-outline: 0 !important;
  color: #3a4c89;
  text-decoration: none;
}

a.underlined {
	border-bottom: 1px dotted #3a4c89;
}

/*a:visited {
  color: #666;
}*/

a img {
  border-style: none;
}

iframe {
  border-style: none;
}

#masthead {
  background: #fff url(../images/blue/masthead-bg.png) repeat-x left bottom;
  width: 100%;
  float: left;
  padding-top: 1.2em;
  padding-bottom: 15px;
  position: relative;
}

#masthead h1 {
  color: white;


/*text-transform: lowercase;*/
	font: 140% Arial, Helvetica, sans-serif;
  margin-bottom: .8em;
  margin-left: 24px;
  text-shadow: #333 2px 2px 1px;
}

#masthead #church-name a {
  color: white;
  text-decoration: none;
}

#content {
  background: url(../images/blue/content_bg.gif) repeat-y 75% 0px #ffffff;
  float: left;
  display: block;
  width: 100%;
  border-bottom: 1px solid #ffffff;
  position: relative;
  /*min-width: 900px;*/
}

#entry-sheet {
  background: transparent no-repeat url(../images/entry_left_shadow.png) left bottom;
  top: 0;
  width: 70%;
  z-index: 401;
  position: absolute;
  padding: 0 0 0 6px;
  margin-bottom: -6px;
  min-width: 700px;
  left: 15%;
}

#entry-rt {
  background: url(../images/entry_right_shadow.png) no-repeat right bottom  transparent;
  padding-right: 6px;
  padding-bottom: 0;
}

#entry-contents {
  background: transparent url(../images/entry_bg.png) left bottom repeat-x;
  padding: 1em;
  border-top: 2px solid #d8d8d8;
	position: relative;
}

#entry-close {
  top: 10px;
  right: 8px;
  position: absolute;
  background: url(../images/icons/cancel.png) no-repeat;
  text-indent: -2000px;
  display: block;
  width: 20px;
  height: 20px;
  z-index: 60;
  text-decoration: none;
}

#main {
  float: left;
  width: 75%;
  /*min-width: 660px;*/
  background: transparent url(../images/nav_shadow_trans.png) repeat-x left top;
}

#main h2 {
  font-size: 110%;
  color: #999999;

/*text-transform: lowercase;*/
	background: #eaeaea url(../images/th_bg.png) repeat-x;
  text-align: left;
  border-bottom: 1px solid #e1e1e1;
  border-top: 1px solid #e1e1e1;
  padding-top: .3em;
  padding-bottom: .3em;
  padding-left: 1em;
  text-shadow: #fff 2px 2px 1px;
  margin: 1em;
}

#main div {
  /*padding: 3%;*/
}

#footer {
  clear: both;
  border-top: 1px solid #dbdfe7;
  padding: 2% 2% 2% 160px;
  background: #f5f5f5 url(../images/footer_logo.png) no-repeat 20px center;
}

#footer p {
	margin-bottom: .3em;
}

#notice {
  background: #333333;
  color: #ffffff;
  padding: .5em;
  text-align: center;
  font-size: 85%;
}

.minor {
  color: gray;
  font-size: 83%;
}

.strong {
  font-weight: bold;
}

#entry-sheet table {
  margin-bottom: 12px;
}

.right {
	float: right;
}

/* @end */

/* @group Errors */

div.fieldWithErrors {
  display: inline;
}

div.fieldWithErrors input {
  background-color: #ffd377;
}

#errorExplanation {
  width: 98%;
  border: 1px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
  margin-top: 1em;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  background-color: #992821;
  color: #fff;
  font-size: 110%;
  margin: -7px -7px .5em;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  list-style: square;
}

#errorExplanation ul {
  margin-left: 3em;
}

/* @end */

/* @group Details Info Sheet */


#infosheet {
  z-index: 20;
  position: fixed;
  bottom: 0;
  background: url(../images/sheet_bg.png) repeat-x top transparent;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 30px;
  overflow: auto;
  max-height: 85%;
}

#loading {
  width: 100px;
  height: 70px;
  background: transparent url(../images/loading_bezel.png) no-repeat center center;
  top: 40%;
  left: 45%;
  position: fixed;
  z-index: 2000;
  color: #ffffff;
  text-align: center;
  font-size: 10px;
  padding-top: 35px;
  padding-left: 2px;
}

#flash {
  width: 30%;
  padding: 2em 1em;
  top: 40%;
  z-index: 500;
  background: black;
  position: absolute;
  left: 35%;
  text-align: center;
  color: white;
  text-shadow: #000 2px 2px 1px;
  opacity: 0.87;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-box-shadow: #000 0 0 2px;
}

#flash img {
  vertical-align: middle;
}

#flash a {
	color: orange;
}

#flash a.bezel-btn {
  color: #262626;
  background: #d0d0d0 none repeat-x 0 bottom;
  text-shadow: #fff 0 1px 0;
  padding: 4px 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  margin-right: 5px;
}

#flash p {
	margin-top: 1em;
}

#sheetcontent {
  margin-left: 2%;
  margin-right: 2%;
}

#info-close {
  top: 17px;
  right: 8px;
  position: absolute;
  background: url(../images/icons/cancel.png) no-repeat;
  text-indent: -2000px;
  display: block;
  width: 20px;
  height: 20px;
  text-decoration: none;
}

/* @group Details */

div.details-card {
  float: left;
  width: 45%;
}

.details-card img.photo {
  padding: 5px 5px 10px;
  border-top: 1px solid #e7e7e7;
  border-left: 1px solid #e7e7e7;
  border-right: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  margin-top: 25px;
  margin-left: -5px;
}

div.metadata {
  float: right;
  width: 53%;
  margin-top: 15px;
}

#notes-table {
	clear: both;
}

.metadata-table, #metadata-table {
  font-size: 85%;
  width: 100%;
	clear: both;
	/*border-top: 1px solid #d8d8d8;*/
}

.metadata-table th, #metadata-table th {
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid #e6edf5;
  border-right: 1px solid #e6edf5;
  width: 15%;
  padding-right: .3em;
}

.metadata-table th a {
	display: block;
	margin: -0.3em -0.3em -0.3em 0;
	padding-top: .3em;
	padding-right: .3em;
	padding-bottom: .3em;
}

.metadata-table th a.active {
	background-color: #ebf1fb;
}

.metadata-table td, #metadata-table td {
  border-bottom: 1px solid #e6edf5;
  padding-left: .3em;
}

.metadata-table td, .metadata-table th {
  padding-top: .3em;
  padding-bottom: .3em;
  vertical-align: top;
}

.metadata-table ul {
  list-style: none;
}

.metadata-table li {
  display: inline;
}

#metadata-tabs, .metadata-tabs {
	list-style-type: none;
	margin-top: -15px;
	border-bottom: 1px solid #d8d8d8;
	float: left;
	width: 100%;
}

#metadata-tabs li, .metadata-tabs li {
	list-style-type: none;
}

#metadata-tabs li a, .metadata-tabs li a {
	display: block;
	float: left;
	padding: 2px 5px;
	border: 1px solid silver;
	border-bottom-style: none;
	font-size: 85%;
	margin-right: 3px;
}

.metadata-tabs {
	margin-top: 0;
	margin-bottom: 10px;
}

#tallies {
	font-size: 90%;
	width: 100%;
}

.tallies {
	max-height: 10.7em;
	overflow:auto;
}

td.chart {
	background-color: white !important;
	padding-left: 5px;
	padding-top: 7px;
}

#row_entry th input {
	width: 60px;
	text-align: right;
}

#row_entry img {
	vertical-align: text-bottom;
	margin-bottom: -1px;
}

.tally_form {
	font-size: 80%;
	margin-top: 5px;
}

.tally_form label {
	font-weight: bold;
	display: block;
	margin-bottom: 3px;
}

.tally_form select, .tally_form input[type=text] {
	font-size: 10px;
}

/* @end */

/* @end */

/* @group Search Autocomplete */

#searchbutton, #activesearch {
  text-indent: -5000px;
  width: 45px;
  height: 37px;
  background: transparent url(../images/blue/search_button.png) no-repeat 0px top;
  display: block;
  position: absolute;
  right: 3px;
}

#searchbutton:hover, #activesearch {
  background: 0px -37px  url(../images/blue/search_button.png) no-repeat;
  width: 45px;
  height: 37px;
}

#allsearch {
  position: absolute;
  z-index: 10;
  bottom: 52px;
  right: 0;
  width: 25%;
}

#searchinput {
  background: url(../images/blue/search_field_bg.png) transparent repeat-x  bottom;
  width: 100%;
  text-align: center;
  position: absolute;
  right: 0;
  top: 52px;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 10;
}

#searchinput input {
  background: url(../images/icons/search_16.png) no-repeat 3px center  white;
  padding-left: 23px;
  font-size: 110%;
  border: 1px solid #999999;
  height: 1.7em;
  line-height: 1em;
  padding-top: .2em;
  width: 86%;
}

div.auto_complete ul li span {
  background: url(../images/icons/user_gray.png) no-repeat 5px center;
  padding-left: 28px;
}

div.auto_complete ul li span.search-member {
  background: url(../images/icons/user_gray.png) no-repeat 5px center;
}

div.auto_complete ul li span.search-event {
  background: url(../images/icons/calendar.png) no-repeat 5px center;
}

div.auto_complete ul li span.search-family {
  background: url(../images/icons/group.png) no-repeat 5px center;
}

div.auto_complete ul li span.search-group {
  background: url(../images/icons/group.png) no-repeat 5px center;
}

div.auto_complete ul li {
  padding: 3px;
  border-bottom: 1px solid #e2e5eb;
  color: #333333;
  font-size: 100%;
  background-color: #fff;
}

div.auto_complete {
  width: 203px;
  background: transparent url(../images/search_results_bg.png) repeat-x  bottom;
  padding-bottom: 17px;
}

div.auto_complete ul {
  text-align: left;
  list-style: none;
  border-right: 1px solid white;
  border-left: 1px solid white;
  background-color: #fff;
}

div.auto_complete ul li.selected {
  background: #fceeb9;
}

div.auto_complete ul strong.highlight {
  background: #e94f31;
  color: white;
}

li.closesearch {
  font-size: 80%;
  text-align: right;
  padding-right: 5px;
  text-decoration: none;
}

li.closesearch a {
  text-decoration: none;
  display: block;
  font-size: 75%;
  color: #666666;
}

.autocompleted {
	background-color: #4e6e9d;
	color: #fff;
	padding: .2em .5em .3em;
	cursor: pointer;
}

#resource_auto_complete {
	position: absolute;
}

#contribution_resource_li, .autocomplete-li {
	z-index: 1000;
	position: relative;
}

/* @end */

/* @group Nav */

#nav {
  background: transparent;
  float: none;
  margin-left: 11px;
  padding-left: 10px;
}

#nav ul, #subnav ul {
  list-style: none;
  float: left;
  display: block;
}

#nav li, #subnav li {
  display: block;
  float: left;
}

#nav li a, #subnav li a {
  height: 27px;
  float: left;
}

#nav li a {
  text-indent: -2000px;
}

#subnav li a {
  font-size: 80%;
  color: #eaecf1;
  margin-right: 1em;
  text-decoration: none;
	/*text-shadow: #333 2px 2px 1px;*/
}

#subnav li a:hover {
  color: #ffffff;
  background: transparent;
  text-decoration: underline;
}

#subnav {
  top: 10px;
  position: absolute;
  right: 5px;
}

#dashboard-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f;
  width: 103px;
}

#people-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -103px top;
  width: 82px;
}

body#people.dashboard #dashboard-tab a {
  background: 0px -54px no-repeat url(../images/blue/tabs.png);
}

#dashboard-tab a:hover {
  background: 0px -27px no-repeat url(../images/blue/tabs.png);
}

#people.dashboard #people-tab a {
  background: -103px top  no-repeat url(../images/blue/tabs.png);
}

#people-tab a:hover, #people.dashboard #people-tab a:hover {
  background: -103px -27px  no-repeat url(../images/blue/tabs.png);
}

#people #people-tab a, #households #people-tab a {
  background: -103px -54px  no-repeat url(../images/blue/tabs.png);
}

#events-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -185px top;
  width: 83px;
}

#events-tab a:hover {
  background: -185px -27px  no-repeat url(../images/blue/tabs.png);
}

#events #events-tab a {
  background: -185px -54px  no-repeat url(../images/blue/tabs.png);
}

#messages-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -268px top;
  width: 101px;
}

#messages-tab a:hover {
  background: -268px -27px  no-repeat url(../images/blue/tabs.png);
}

#messages #messages-tab a {
  background: -268px -54px  no-repeat url(../images/blue/tabs.png);
}

#ministries-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -369px top;
  width: 98px;
}

#ministries-tab a:hover {
  background: -369px -27px  no-repeat url(../images/blue/tabs.png);
}

#ministries #ministries-tab a {
  background: -369px -54px  no-repeat url(../images/blue/tabs.png);
}

#groups-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -467px top;
  width: 84px;
}

#groups-tab a:hover {
  background: -467px -27px  no-repeat url(../images/blue/tabs.png);
}

#groups #groups-tab a {
  background: -467px -54px  no-repeat url(../images/blue/tabs.png);
}

#contributions-tab a {
  background: url(../images/blue/tabs.png) no-repeat #475c8f -551px top;
  width: 119px;
}

#contributions #contributions-tab, #contributions-tab a:hover {
  background: -551px -27px no-repeat url(../images/blue/tabs.png);
}

#contributions #contributions-tab a {
  background: -551px bottom no-repeat url(../images/blue/tabs.png);
}

#subnav {
  
}

#dashboard #dashboard-tab a {
  background: no-repeat url(../images/blue/tabs.png) 0px -54px;
}

#masthead #beta {
	position: absolute;
	left: 580px;
	top: 3em;
}

/* @end */

/* @group Login */

#login-form {
  position: absolute;
  height: 277px;
  width: 412px;
  margin: -150px 0px 0px -200px;
  left: 50%;
  text-align: left;
  padding: 0px;
  top: 50px;
}

#login-main {
	color: white;
}

#person_identity_url, #openid_url {
	padding-left: 20px;
	background: #fff url(../images/openid_icon.png) no-repeat left center;
}

#openid-link, #login-link {
	float: right;
	margin-right: 7px;
	margin-top: 2px;
}

/* @end */

/* @group Notifications */

#main div.notifications {
  background: url(../images/announcements_bg_right.gif) right bottom no-repeat #4c4c4c;
  position: relative;
  margin-bottom: 15px;
  padding-left: 0;
  padding: 10px;
  margin-right: -4px;
  padding-right: 0;
  color: #ffffff;
}

.notifications h3 {
  background: no-repeat left top url(../images/announcements_bg_left.gif);
  padding-top: 15px;
  font-family: Arial, Helvetica, sans-serif;
  padding-bottom: 8px;
  margin-top: -14px;
  margin-left: -14px;
  color: #ffffff;
}

.notifications h3 a {
  padding-left: 35px;
  background: no-repeat url(../images/icons/exclamation.png) 15px center;
  text-decoration: none;
  color: #ffffff;
}

.notifications .min-max {
  display: block;
  position: absolute;
  top: -4px;
  right: 0;
  background: no-repeat right top url(../images/announcements_bg_right.gif);
  padding-top: 5px;
  padding-right: 5px;
}

.notifications .preview-container {
  background: url(../images/announcements_bg_left.gif) no-repeat left bottom;
  display: block;
  margin-left: -14px;
  margin-bottom: -10px;
  padding-left: 10px;
  padding-bottom: 10px;
}

/* @end */

/* @group Container */

#main div.container {
  border-top: 1px none #e7e7e7;
  padding: 15px 20px 20px;
  position: relative;
  min-height: 350px;
}

.container h3, caption {
  background: none no-repeat left top;
  margin-top: -1px;
  color: #5a5a5a;
  /*text-transform: lowercase;*/
  margin-bottom: .6em;
  text-align: left;
  font: bold 110% Arial, Helvetica, sans-serif;
  padding-left: 25px;
  position: relative;
}

.container .nopad {
  padding-bottom: 0;
}

.container h3 a {
  padding-left: 35px;
  color: #505050;
  text-decoration: none;
}

.container h3 span.minor a {
	padding-left: 0;
	font-weight: normal;
	font-style: normal;
	color: gray;
	text-decoration: underline;
	font-size: 80%;
}

.container .min-max {
  display: block;
  position: absolute;
  top: -1px;
  right: 0;
  background: no-repeat right top url(../images/rounded_right.png);
  padding-top: 5px;
  padding-right: 5px;
}

.container table, .datatable {
  width: 100%;
  padding-left: 0px;
  margin-bottom: 1.5em;
  background: left center no-repeat;
  border-left: 1px solid #ececec;
}

#entry-contents .container table {
  border-left-style: none;
}

.container .preview-container {
  display: block;
  padding-bottom: 0;
  background: url(../images/rounded_left.png) no-repeat left -10px;
}

.container td, .datatable td {
  border-bottom: 1px solid #ebf1f6;
  border-right: 1px solid #ebf1f6;
  color: #333333;
  font-size: 88%;
  vertical-align: middle;
  padding-top: 4px;
  padding-left: 1em;
  padding-bottom: 4px;
}

.container td img, .datatable td img {
  vertical-align: text-top;
}

.container .thcell, .datatable .thcell {
  text-align: right;
  font: bold 85% Arial, Helvetica, sans-serif;
  color: #666666;
  white-space: nowrap;
  width: 1%;
}

.container .metacell, .datatable .metacell {
  width: 1%;
  white-space: nowrap;
  border-right-style: none;
  font-size: 70%;
  text-align: right;
  color: #666666;
}

.container th, .datatable th {
  background: #e6e6e6 url(../images/th_bg.png) repeat-x left top;
  color: #999999;
  font-size: 70%;
  border-right: 1px solid #ececec;
  padding: .4em 1.1em;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e2e2e2;
  text-shadow: #fff 2px 2px 1px;
  text-align: left;
  position: relative;
}

.container th a, .datatable th a {
  border-style: none;
}

/* @end */

.headrow {
  background: #f3f7fd;
  font-weight: bold;
  text-align: center;
}

.headrow td {
  border-bottom: 1px solid #d3dbea;
  padding-top: .3em;
  padding-bottom: .3em;
  color: #666666;
  text-shadow: #fff 2px 2px 1px;
}

.familytbody {
  border-bottom: 1px solid #a6d4ff;
}

.container th.endth, .datatable th.endth {
  text-align: right;
  border-right-style: none;
  padding-right: 1em;
  padding-left: 0;
}

.container td.center, .datatable td.center {
  text-align: center;
}

.container th.mainth, .datatable th.mainth {
  text-align: left;
}

table table {
  font-size: 125%;
}

.itemtools {
  margin-left: 1em;
}

.itemtools a {
  margin-right: .5em;
}

.min-btn a {
  background: url(../images/icons/min_blue.png) no-repeat right transparent;
  display: block;
  width: 18px;
  text-indent: -2000px;
  text-decoration: none;
  margin-right: 5px;
  margin-top: 5px;
}

.max-btn a {
  background: url(../images/icons/max_blue.png) no-repeat right transparent;
  display: block;
  width: 18px;
  text-indent: -2000px;
  text-decoration: none;
  margin-right: 5px;
  margin-top: 5px;
}

.page-head {
  padding-left: 20px;
	margin-bottom: .5em;
}

/* @group Login */

body#sessions {
  background-color: white;
}

#login-container {
  width: 460px;
  position: absolute;
  left: 50%;
  margin-left: -230px;
  top: 20%;
}

#login-container h1 {
  font: bold 140% Arial, Helvetica, Geneva, sans-serif;


/*text-transform: lowercase;*/
	background: url(../images/stafftool_logo.png) no-repeat right center;
  padding-right: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#login-main {
  background: #304189 url(../images/blue/login_bg.png) repeat-x;
  padding: 30px 30px 20px;
}

#login-main  {
  color: white;
  font-family: Arial, Helvetica, Geneva, sans-serif;
  padding-bottom: .5em;
  text-shadow: #333 2px 2px 1px;
  font-weight: bold;
}

#login-main label:after {
  content: "";
}

#login-main label#remember-me {
  font-size: 80%;
}

#login-main p {
  margin-bottom: 10px;
  margin-left: 140px;
	color: white;
}

#login-main a {
	color: #fff;
	font-size: 80%;
	text-decoration: underline;
}

#forgot {
	text-align: right;
}

#login-main .text {
  width: 250px;
  margin-top: 4px;
}

#openid_url {
  width: 230px;
  margin-top: 4px;
}

/* @end */

/* @group Microformats */

/* @group Shared Styles */

div.details-card {
  padding: 15px;
  border-style: solid;
  border-color: #ebebeb;
  background-color: white;
  border-left-color: #e6e6e6;
  float: left;
  width: 40%;
  position: relative;
}

div.details-card .fn, div.details-card div.summary a, div.name, div.summary {
  font-weight: bold;
  text-decoration: none;
  font-size: 120%;
  display: block;
  width: auto;
  color: white;
  padding: .5em 4em .5em 1.1em;
  margin: -17px -17px 20px;
  background: #354684 url(../images/blue/login_bg.png) 0 bottom;
  text-shadow: #333 2px 2px 1px;
}

#card-buttons {
  position: absolute;
  right: 5px;
  top: .5em;
}

#download-vcard {
  padding-bottom: 25px;
}

#edit-btn {
  background-color: #666;
  color: white;
  font-size: 85%;
  text-decoration: none;
  padding: .2em .5em;
  text-transform: uppercase;
}

#edit-btn:hover {
  background-color: black;
}

#prev-record {
  position: absolute;
  top: 18px;
  left: 2%;
}

#next-record {
  position: absolute;
  top: 18px;
  left: 42%;
}

/* @end */

/* @group hCal */

/* @end */

/* @group hCard */

div.vcard img.photo {
  float: left;
  margin-top: 33px;
}

div.details-card div.adr, div.details-card div.tel, div.details-card div.email-div, div.details-card div.url-div {
  font-size: 85%;
  margin-top: .5em;
  margin-bottom: 1em;
  padding-left: 25px;
  display: block;
  margin-left: 90px;
}

div.details-card div.email-div {
  padding-left: 0;
}

div.details-card div.adr {
  background: url(../images/icons/home.gif) no-repeat left top;
	margin-left: 90px;
}

div.vevent div.adr {
	margin-left: 0;
}

div.details-card div.tel {
  background: url(../images/icons/phone.gif) no-repeat left top;
  padding-bottom: .5em;
  padding-top: 2px;
  margin-bottom: 0;
  margin-top: 0;
}

div.details-card div.url-div {
  background: url(../images/icons/bookmark.gif) no-repeat left top;
  padding-bottom: .5em;
  padding-top: 2px;
  margin-bottom: 0;
  margin-top: 0;
}

div.details-card a.email {
  background: url(../images/icons/email.gif) no-repeat left top;
  padding-bottom: .3em;
  margin-bottom: 0;
  padding-left: 25px;
  font-size: 95%;
  padding-top: 1px;
}



abbr.type {
  font-size: 85%;
  color: gray;
}

div.adr .type a {
  font-weight: bold;
  text-decoration: none;
  font-size: 110%;
}

div.owner {
  background: url(../images/owner_badge.png) no-repeat right bottom;
}

div.staffer {
  background: url(../images/admin_badge.png) no-repeat right bottom;
}

div.user {
  background: url(../images/user_badge.png) no-repeat right bottom;
}

/* @end */

/* @end */

/* @group Header Styles */

.page-head {
  font-family: Arial, Helvetica, Geneva, sans-serif;
  clear: both;
}

.messages-head, #messages-head {
  background: url(../images/icons/email.png) no-repeat left center;
  padding-left: 20px;
}

.events-head, #events-head {
  background: url(../images/icons/calendar.png) no-repeat left center;
  padding-left: 20px;
}

#groups-table caption, h3.groups-head {
  background: url(../images/icons/group.png) no-repeat left center;
}

#tags-table caption {
  background: url(../images/icons/tag_orange.png) no-repeat left center;
	position: relative;
}

#tickets-table caption {
	background: url(../images/icons/tag_orange.png) no-repeat left center;
}

#ministries-head {
  background: url(../images/icons/heart.png) no-repeat left center;
}

#members-head, h3.members-head, #people-table caption {
  background: url(../images/icons/vcard.png) no-repeat left center;
}

#contributions-head, h3.contributions-head, #contributions-table caption {
  background: url(../images/icons/money.png) no-repeat left center;
}

#assignments-head {
  background: url(../images/icons/note.png) no-repeat 15px center;
}

.invitations-head {
  background: url(../images/icons/door_in.png) no-repeat left center;
}

h3.tickets-head {
  background: url(../images/icons/tag_orange.png) no-repeat left center;
}

#newsfeed-head {
  background: url(../images/icons/newspaper.png) no-repeat left center;
}

#metrics-head {
  background: url(../images/icons/chart_bar.png) no-repeat left center;
}

/* @end */

/* @group Sidebar */

#sidebar {
  width: 25%;
  padding-bottom: 2em;
  float: right;
	padding-top: 2.2em;
	background: url(../images/blue/side_div_bg.png) repeat-x left top;
}

#sidebar > div {
  padding: 0 7% 7% 7%;
}

#sidebar div ul {
  font-size: 75%;
  margin-top: 1em;
  margin-bottom: 1em;
  list-style: none;
}

#sidebar #logo {
  padding: 5px;
  background: #ffffff;
  margin-left: -5px;
  margin-bottom: 1.2em;
}

#sidebar ul.sidebtns {
  list-style: none;
}

#sidebar ul ul {
  font-size: 100%;
}

#sidebar div a.sidebtn {
  display: block;
  color: #ffffff;
  padding-top: .5em;
  padding-bottom: .5em;
  padding-left: 1em;
  background: #203178 url(../images/blue/masthead-bg.png) repeat-x;
  margin-right: -7%;
  margin-left: -7%;
  margin-bottom: .3em;
  text-decoration: none;
  font-size: 110%;
  text-shadow: #333 1px 1px 1px;
	font-weight: bold;
}

#sidebar div a.sidebtn:hover {
  background-color: #444;
  background-image: none;
  color: white;
}

#sidebar ul.sub {
	margin-left: -12px;
}

#sidebar ul.sub a {
	display: block;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 10px;
	font-weight: bold;
	font-size: 10px;
}

#sidebar ul.sub a:hover {
	background-color: #d6d6d6;
}

#sidebar ul.sub a.current {
	background-color: #fefcb6;
}


/* @end */

div.pagination {
  font-size: 80%;
  color: #999999;
  font-weight: normal;
  font-style: normal;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

div.container div#top_pagination {
  margin: 0;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 15px;
}

div.container div#bottom_pagination {
  margin: 0;
  padding: 0;
}

div.pagination select {
  font-size: 80%;
}

div.pagination img {
  vertical-align: sub;
}

#members-table {
  clear: both;
  margin-bottom: .6em;
}

/*
#overlay {
  z-index: 400;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  -moz-opacity: 0.45;
  opacity: .45;
  filter: alpha(opacity=45);
}
*/

ul.tabs {
  list-style: none;
  float: left;
  display: block;
  width: 100%;
  clear: both;
  border-top: 1px solid #e8e8e8;
	background-image: url(../images/th_bg.png);
	border-bottom: 1px solid #d4d4d4;
}

ul.tabs li {
  float: left;
	padding-top: 0;
	padding-bottom: 0;
	padding: 0;
	border-right: 1px solid #ddd;
	border-top-style: none;
}

ul.tabs a {
  display: block;
  float: left;
  text-decoration: none;
  /*background: no-repeat right top url(../images/tab_right.png);*/
  color: #6e6e6e;
  padding: 6px 12px 4px;
	font: bold 100% Arial, Helvetica, sans-serif;
	text-shadow: #fff 1px 1px 1px;
}

ul.tabs li.active-tab {
  color: #666666;
}

.tab-div {
}

ul.tabs li.active-tab a {
  color: #fff;
	background: #5e7aae url(../images/selected_bg.png) repeat-x 0 top;
	text-shadow: #394c8b -1px -1px 1px;
	border-bottom: 1px solid #3f61a2;
	margin-bottom: -1px;
}

div span.tab-content {
  clear: both;
  display: block;
}

span.tab-content div {
  border: 1px solid #e8edf3;
  font-size: 85%;
}

span.tab-content div p {
  margin-bottom: 1em;
}

.arrow {
  border-style: none;
  vertical-align: middle;
  margin-top: -2px;
}

.left {
  float: left;
}

.right {
  float: right;
}

span.clip, td.description span {
  overflow: hidden;
  height: 1.2em;
  padding: 0;
  margin: 0;
  display: block;
  text-overflow: ellipsis;
}



.created_at {
  white-space: nowrap;
}

tr.data_row td {
  vertical-align: top;
}



th.select {
  width: 10px;
}

td.name {
  white-space: nowrap;
  padding-right: 20px;
}

.ellips {
	overflow: hidden;
    text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

.odd td {
  background-color: #f3f7fd;
}

tr.current td, td.current {
  background-color: #fefcb6;
}

#invert_selection {
  float: left;
}

div#notes-table {
	overflow: auto;
	max-height: 300px;
}

div#notes-table table {
	width: 99%;
}

.centered {
	margin-right: auto;
	margin-left: auto;
	display: block;
}

tr.total {
	/*background-color: #fad662;*/
	font-weight: bold;
}

tr.total td {
	border-style: none;
}

td#contributions-total {
	padding-left: 3px;
	text-align: left;
}

/* @group Welcome */

h3#welcome-head {
	font-size: 28px;
	padding-left: 0;
	text-align: center;
	background-color: #fefcb6;
	border-top: 1px solid #df9b44;
	border-bottom: 1px solid #df9b44;
	padding-top: 8px;
	padding-bottom: 8px;
	color: black;
	margin-bottom: 10px;
}

h4#welcome-sub {
	font-size: 22px;
	text-align: center;
	margin-bottom: 10px;
}

.container h4#welcome-sub {
	max-height: 0;
}

#welcome {
	width: 615px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

#welcome dl {
	width: 269px;
	float: left;
}

#welcome dl.rt {
	float: right;
}

#welcome dt {
	font-weight: bold;
	font-size: 140%;
	margin-bottom: 6px;
}

#welcome dd {
	width: 265px;
	padding-bottom: 10px;
}

.container #welcome dd {
	padding-bottom: 0;
}

#welcome img {
	border: 2px solid silver;
	margin-bottom: 10px;
}

div.row {
	clear: both;
	margin-top: 10px;
	margin-left: 10px;
}

.container div.row {
	margin: 0;
}



/* @end */

/* @group Tickets */

div.ticket_version {
	font-size: 95%;
	margin-bottom: 1em;
	background-color: #fefcb6;
	padding: .2em;
	margin-top: 1.5em;
}

div.ticket_version.first_message {
	background-color: transparent;
	font-size: 100%;
	padding: 0;
}

p.subhead {
	font-size: 85%;
	margin-top: .6em;
}



/* @end */

/* @group Messages */

#messages-table caption {
	background: url(../images/icons/email.png) no-repeat left center;
}

div.message_body, div.details-card div.description, div.details-card div.ticket_body {
	font-size: 85%;
	overflow: auto;
	max-height: 300px;
}

div.message_body p, div.message_body ul {
	margin-bottom: 1em;
	list-style-type: disc;
}

div.message_body li {
	padding-left: 1.2em;
	list-style-type: disc;
}

div.message_body blockquote {
	padding-left: 10px;
	border-left: 1px solid #ddd;
	font-style: italic;
	color: gray;
}

div.message_body {
	margin-left: 30px;
	position: relative;
}

td.read, th.read {
	padding: 0;
	width: 14px;
	text-align: center;
}

.message .mugshot {
	display: block;
	padding: 2px;
	border: 1px solid silver;
	position: absolute;
	z-index: 1000;
	left: 10px;
}



/* @end */

/* @group Tags */

td.tags {
  padding: 10px 20px;
  line-height: 2.5em;
}
td.tags a.category {
  padding: .2em .3em;
}
td.tags a.category:hover, td.tags a.active {
  background-color: #fceeb9;
}

/* @end */

/* @group Groups */

.group img {
  vertical-align: text-bottom;
  margin-right: 4px;
  padding-top: .3em;
}

.hierarchy_arrow {
  margin-left: -24px;
	padding: 3px;
	cursor: pointer;
}

.group_name {
  padding-left: 20px;
  background: url(../images/icons/folder.png) no-repeat 0 center;
}


.smart_group_name {
  padding-left: 20px;
  background: url(../images/icons/smart_group.png) no-repeat 0 center;
}

.smart_group .name {
  padding-left: 30px;	
}
	
}


/* @end */

/* @group People */

td.fn {
	padding: 0;
	white-space: nowrap;
}

a.account {
	padding-right: 20px;
	background: url(../images/icons/bullet_key.png) no-repeat right center;
}

td.tel {
/*width: 15%;*/
/*min-width: 130px;*/
  white-space: nowrap;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
}

td.photo {
  padding: 0;
  text-align: center;
  width: 30px;
}

th.edit, td.edit, td.nowrap, th.narrow {
  width: 40px;
  white-space: nowrap;
  padding-right: 0;
  padding-left: 5px;
}

th.center {
	text-align: center;
}

#groups td.edit {
	width: 90px;
}

td.nowrap {
  padding-right: 5px;
}

td.email {
/*width: 15%;*/
	/*min-width: 160px;*/
  white-space: nowrap;
  overflow: hidden;
  /*text-overflow: ellipsis;*/
}

#person_given_name {
  width: 15%;
  margin-right: 1%;
}

#person_additional_name {
  width: 15%;
  margin-right: 1%;
}

#person_family_name {
  width: 25%;
}

/*#person_title {
  width: 57%;
}*/

td.date_row, td.household_row {
	font-weight: bold;
	text-align: center;
	color: gray;
	background: #e1e1e1 url(../images/date_bg.png) repeat-x left bottom;
}

tr.deleted {
	background-color: #ff9292;
}

tr.deleted td {
	text-decoration: line-through;
	color: #ffd2d2;
}

tr.deleted td a {
	color: #ffd2d2;
}

#letter_directory  {
	margin: 0;
	padding: 0;
	border-top: 1px solid #e8e8e8;
}

#letter_directory td {
	border-style: none;
	margin: 0;
	padding: 0;
}

#letter_directory td a {
	display: block;
	margin: 0;
	text-align: center;
	border-right: 1px solid #e8e8e8;
	padding-top: .2em;
	padding-bottom: .2em;
}

#letter_directory td a.current, #letter_directory td a:hover {
	background-color: #4e6e9d;
	color: #fff;
}

#people-list > .hidden {
	display: none;
}

/* @end */

/* @group Events */

.main_cal {
  background: white;
  border: 1px solid #e3e3e3;
  border-top-color: #f1f1f1;
  border-left-color: #f1f1f1;
  width: 100%;
  table-layout:fixed;
}

.day, .today, .dayName, .specialDay {
  border-bottom: 1px solid #f6f6f6;
  border-top: 1px solid #f6f6f6;
  border-left: 1px solid #f6f6f6;
  border-right: 1px solid #ededed;
  background: transparent;
}

.dayName th {
  color: #666666;
  border-bottom: 1px solid #ececec;
  background: #f9f9f9;
}

.main_cal td {
  width: 14.25%;
  vertical-align: top;
  background: transparent;
  border-right: 1px none #ffffff;
  border-top: 1px none #ffffff;
  border-left-style: none;
	position: relative;
	padding: 0;
	min-height: 8em;
}

.main_cal td span.vevent, div.vevent span.summ {
	overflow: hidden;
	text-overflow:ellipsis;
	display: block;
	margin-bottom: 2px;
	margin-left: -3px;
	margin-right: -4px;
	white-space: nowrap;
	padding-right: 5px;
}

.main_cal td span.vevent.allday {
	padding-right: 0;
}

.main_cal .calcell a {
	padding-left: 5px;
	line-height: 1.4em;
	border-left-style: solid;
	border-left-color: #cacaca;
	margin-left: 5px;
	padding-right: 5px;
}

.main_cal .calcell a.allday {
	display: block;
	color: white;
	padding-left: 5px;
	margin-left: 0;
	border-left-color: #819dd3;
	overflow: hidden;
	text-overflow:ellipsis;
	padding-right: 3px;
	background-color: #4e6e9d;
	background-image: url(../images/blue/masthead-bg.png);
}

.main_cal td span.vevent.multiday a.allday {
	border-left-color: #4e6e9d;
}

div.calcell a.add {
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  position: absolute;  
  border: none;
}

div.calcell {
  font-size: 80%;
  min-height: 8em;
	position: relative;
}

#main .main_cal td {
  border-right: 1px dotted #e6e6e6;
  position: relative;
}

#main .main_cal td.specialDay {
  background: #fcffdb;
}

.main_cal .today {
  background: #e2efff;
	border-bottom-color: #819dd3;
	border-top-style: solid;
	border-top-color: #819dd3;
	border-bottom-width: 1px;
}

.main_cal .today div {
	margin-top: -1px;
	margin-left: -1px;
}

#sidebar #flatcal {
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
  margin: 1em auto 0;
}

#sidebar #flatcal {
  margin: 0;
  padding: 0;
}

#sidebar div #flatcal .calendar {
  z-index: 1;
}

#cal-full {
  padding: 0;
  margin: 0;
}

td.weekendDay {
  /*background-color: #ffd399;*/
}

td.otherMonth {
  background-color: #f4f4f4;
  color: #c3c3c3;
  font-size: 70%;
}

#events-main {
  position: relative;
}

.monthName th, tr.total {
  background: #e6e6e6 url(../images/th_bg.png) repeat-x left top;
  color: #8d8d8d;
  text-align: center;
  border-right: 1px solid #ececec;
  border-top: 1px solid #e8e8e8;
  /*border-bottom: 1px solid #e2e2e2;*/
  text-shadow: #fff 2px 2px 1px;
  border-style: none;
  font-size: 110%;
  padding: .4em 1.1em .4em .4em;
}

#events-table caption {
	background: url(../images/icons/calendar.png) no-repeat left center;
}

div.vevent div.date {
	float: left;
	width: 80px;
	background-color: #fff;
	margin-left: 6px;
	text-align: center;
	border: 1px solid #d1d2d0;
}

div.vevent .month {
	font-weight: bold;
	font-size: 11px;
	background-color: #484848;
	color: #fff;
	text-shadow: black 1px 1px 2px;
	padding-top: 2px;
	padding-bottom: 2px;
}

div.vevent .mday {
	font-size: 30px;
	font-weight: bold;
}

div.vevent div.weekday {
	font-size: 10px;
	font-style: italic;
	margin-bottom: 5px;
}

.vevent .details {
	margin-left: 120px;
}

.vevent .details .location {
}

#tally-average,
#attendees-summary {
	color: #fff;
	text-align: center;
	font-size: 90%;
	padding-top: .2em;
	padding-bottom: .2em;
	background: #304189 url(../images/blue/masthead-bg.png) 0 -370px;
	clear: both;
}

#attendance_chart {
	width: 520px;
	height: 70px;
	margin-bottom: 3px;
	margin-top: 2px;
}

#attendance_table {
	position: relative;
}

.tally img {
	margin-right: 5px;
}

.attending {
	color: #158408;
}

.not_attending {
	color: #ca3009;
}

.unknown {
	color: #ababab;
}

/* @end */

/* @group Contributions */

#contributions #bar_chart, #contributions #pie_chart {
	margin-bottom: 10px;
	margin-top: 4px;
	margin-left: -6px;
}

#contributions #sidebar h4 {
	margin-bottom: 6px;
	font-weight: normal;
	font-style: normal;
	font-size: 88%;
}

#contributions #sidebar h4 span {
	font-weight: bold;
	font-size: 120%;
}

#contributions #sidebar #side-total {
	/*font-size: 100%;*/
}

#contributions #sidebar h5 {
	margin-top: 15px;
	margin-bottom: 5px;
	border-bottom: 1px solid #d4d4d4;
	padding-bottom: 3px;
	background: url(../images/th_bg.png) repeat-x;
	border-top: 1px solid #e4e4e4;
	padding-top: 3px;
	padding-left: 5px;
	margin-left: -7px;
	text-shadow: #fff -1px -1px 1px;
}

#contributions_chart {
	margin-top: 5px;
}

.pledge-container {
  height: 20px;
  border: 1px solid #d8d8d8;
  margin-top: 4px;
  margin-bottom: 4px;
}

.pledge-percent {
  height: 20px;
  background-color: #c63c3c;
}

.pledge-percent p {
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  vertical-align: middle;
  line-height: 20px;
  padding-left: 4px;
}

h3#pledge-progress {
  font-size: 11px;
  color: #595959;
}

#contributions #contributions-side th {
  text-align: right;
  vertical-align: bottom;
  padding-right: 4px;
}

#contributions #contributions-side td {
  font-size: 10px;
  vertical-align: bottom;
  line-height: 140%;
}


/* @end */

/* @group Forms */

.container fieldset table, .datatable fieldset table {
  background: none;
}

/*
.container fieldset table:hover {
	background: #fffdef;
}
*/

form fieldset {
  border-style: none;
  margin-bottom: 1em;
  /*margin-left: 1px;*/
	clear: both;
	background-color: #fff;
}

.container form fieldset th, .datatable form fieldset th {
  font: bold 78% Arial, Helvetica, sans-serif;
  white-space: nowrap;
  border-right: 1px solid #e6edf5;
  color: #666666;
  padding: 1.3em .6em .4em;
  border-bottom: 1px solid #e6edf5;
  background: transparent none;
  width: 20%;
  vertical-align: top;
  border-top-style: none;
  border-left-style: none;
  /*min-width: 125px;*/
  text-align: right;
}

.container fieldset td, .datatable fieldset td {
  padding-left: .8em;
  border-bottom: 1px solid #e6edf5;
  padding-top: .8em;
  padding-bottom: .8em;
  font-size: 75%;
  color: #333333;
  border-right-style: none;
  line-height: 1.5em;
}

.container fieldset td td, .datatable fieldset td td {
  border-bottom-style: none;
}

.container form fieldset thead th, .datatable form fieldset thead th {
  background: #f3f7fd;
  border-bottom: 1px solid #ebf0f7;
  font-size: 85%;
  font-weight: bold;
  color: #666666;
  padding-top: .5em;
  padding-bottom: .5em;
  border-right-style: none;
  text-shadow: #fff 2px 2px 1px;
  text-align: left;
}

input.time-entry {
  width: 2.2em;
}

table.submit-tbl {
  border-top: 3px solid #e0e9f2;
}

table.submit-tbl td {
  text-align: right;
}

#addressform table {
  background: none;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}

.phone-field {
  width: 15em;
}

form ol {
  list-style: none;
}
form ol li {
  min-height: 2em;
}

form ol ul {
	list-style-type: none;
}

span.or {
	font-size: 80%;
	font-weight: bold;
	color: red;
}

form ol label {
  display: block;
  float: left;
  text-align: right;
  padding-right: .5em;
  white-space: nowrap;
  color: #666666;
  padding-top: .4em;
  padding-bottom: .4em;
  width: 25%;
  margin-right: .5em;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.add-btn {
  text-decoration: none;
  font-weight: bold;
  padding: 6px 4px 4px 26%;
}

.remove-btn, img.existing_photo {
  margin-right: 5px;
  margin-top: 3px;
  position: absolute;
  top: 5px;
  right: 5px;
}

img.existing_photo {
  right: 25px;
}

#add_address {
  border-top: 1px solid #e6edf5;
}

.add-btn a {
  text-decoration: none;
  font-size: 100%;
  line-height: 150%;
}

/*
label:after {
  content: ":";
}
*/

label.overlabel {
    color:#999;
}

label.overlabel-apply {
	text-align: left;
	position:absolute;
	top: -.4em;
	left: .4em;
	z-index:1;
	color:#999;
}

form input {
  font-size: 110%;
	padding-top: 1px;
	padding-bottom: 1px;
}

span.relative {
  position: relative;
}

.add-btn a img {
  vertical-align: text-bottom;
  margin-bottom: -1px;
  margin-right: 3px;
}

form br {
  clear: left;
}

form li, form td {
  border-top: 1px solid #ecf0f6;
  padding-bottom: .5em;
  padding-top: .5em;
  position: relative;
  font-size: 85%;
}

.selected {
  background-color: #fefcb6;
}

form fieldset {
  border: 1px solid #ecf0f5;
  border-top-width: 1.5em;
  border-top-color: #f3f7fc;
  padding-top: 0;
}

legend {
  font-weight: bold;
  color: #666;
  text-shadow: #fff 2px 2px 1px;
  background-color: #f3f7fb;
  border-top: 1px solid #f3f7fb;
  padding-left: 1em;
  border-right-style: none;
  border-left-style: none;
	font-size: .8em;
	line-height: .8em;
	padding-top: .5em;
	padding-bottom: .5em;
}

legend a{
  text-decoration: none;
  display: block;
  width: 100%;
}

option {
  padding-right: 1em;
}

div.submit-buttons {
  border-top: 6px solid #ecf0f4;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 31%;
	clear: both;
}

.required {
  color: red;
  font-weight: bold;
}

a.tag:hover {
	background-color: #fdfbb5;
}

#current-tags, .current-tags {
	position: absolute;
	z-index: 10;
	width: 60%;
	margin-left: 26%;
	opacity: 0.97;
	padding: 6px 8px 15px;
	background: #fff url(../images/entry_bg.png) repeat-x 0 bottom;
}

a.selected, a.selected:hover, a.tag.selected:hover {
	background-color: #33448c;
	color: #fff;
}

#current-tags a.tag, .current-tags a.tag {
	margin-right: 8px;
}

/*#person_tag_list, #event_tag_list {
	text-transform: lowercase;
}*/

ol.column-one {
	width: 50%;
	float: left;
}

ol.column-two {
	width: 50%;
	float: right;
	border-left: 1px solid #ecf0f6;
	margin-right: -1px;
}

ol.column textarea {
	width: 60%;
	height: 3em;
}

ol.column .minor {
	display: block;
	margin-left: 33%;
	float: left;
}

form ol input[type=text], form ol textarea {
	max-width: 70%;
}

form textarea#message_body {
	height: 30em;
	width: 70%;
}

#message_subject {
  width: 60%;
}

td.relative div {
	position: relative;
}

.cal-btn {
	position: absolute;
	margin-left: -20px;
	margin-top: 2px;
}

.with-cal {
	padding-right: 20px;
}

/* @group wysihat */

.editor_toolbar {
  width: 70%;
  margin-left: 25%;
  position: static;
  display: inline;
}

.editor_toolbar .button {
  padding: 3px 5px;
  display: inline-block;
}

iframe.editor {
  width: 70%;
  height: 400px;
  border: 1px solid #ecf0f6;
  margin-top: 5px;
}

iframe.editor body {
  font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}



/* @end */

/* @end */



.pagination {
  float: right;
  margin-top: 3px;
  margin-left: 3px;
}

/* @group Dashboard */

#weeks-head th {
  text-align: center;
}

#weeks td {
  font: bold 18px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  padding: 6px;
}

.notice {
  font-size: 12px;
  background-color: #fad662;
  padding-bottom: 8px;
  padding-left: 10px;
  margin-bottom: 18px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  padding-top: 8px;
  text-align: center;
  position: relative;
}

.notice a.hide-notice {
  display: block;
  text-indent: -5000px;
  width: 20px;
  height: 20px;
  background: url(../images/cancel.png) no-repeat center center;
  position: absolute;
  right: 8px;
  top: 6px;
}

.notice.subdued {
  background-color: #ededed;
  color: #5f5f5f;
}

#metrics-intro a {
  text-decoration: underline;
  font-weight: bold;
}



/* @end */
  .pagination a {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #7ba5e6;
    text-decoration: none;
    color: #35468b;
  }

#stats {
	margin-left: -10px;
	margin-top: 20px;
}

#stats h4 {
	/*margin-bottom: -.6em;*/
}

#stats p {
	font-size: 85%;
	margin: 0 0 -.7em;
	font-weight: bold;
}

#stats ul li {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
  .pagination a:hover, .pagination a:active {
    border: 1px solid #33448c;
    color: #000;
  }
  .pagination span.current {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #000099;
    font-weight: bold;
    background-color: #33448c;
    color: white;
  }
  .pagination span.disabled {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #eee;
    color: #ddd;
  }

body.info {
	background-color: white;
}

body.info div#info {
	width: 700px;
	margin-right: auto;
	margin-left: auto;
}

body.info #masthead {
	float: none;
	display: block;
}

body.info #masthead h1 {
}

span.domain {
	font-weight: bold;
}

body.info div#info h1 {
	font-size: 130%;
	margin-top: 20px;
	text-align: center;
}

div#sidebar div.upgrade {
	background-color: #fad662;
	border: 1px solid #e48800;
	font-weight: bold;
	font-size: 80%;
	margin-bottom: 10px;
	padding: 5px 8px;
}

li.needs_upgrade {
	color: #cc421c;
}

#vcard, #csv_tab {
	clear: both;
}

.highlight {
	background-color: #f9ff00;
}

#payment_summary {
	margin: 20px auto 25px;
	width: 400px;
	border: 3px solid silver;
	padding: 10px;
	text-align: center;
}

#payment_summary input {
	margin-top: 10px;
}

.main_cal td span.active {
	background-color: #3a58b3;
	color: white;
	white-space: normal;
	padding-left: 14px;
	text-indent: -14px;
}

.main_cal td span.active a {
	color: white;
	overflow: visible;
	text-overflow: visible;
	height: auto;
}

.page-head {
  position: relative;
}

.page-head a.view-all {
  background: url(../images/th_bg.png) repeat-x;
  padding: 4px 8px;
  border: 1px solid #d1d6db;
  text-shadow: #fff 0 1px 0;
  font-size: 11px;
  margin-top: -5px;
  color: #959595;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  position: absolute;
  right: 0;
}

.page-head a.view-all:hover {
  color: #3c3c3c;
}

/* @group Public */

.pub_popup {
	position: absolute;
	background-color: white;
	padding: 5px;
	border: 1px solid silver;
	width: 97%;
	z-index: 1000;
	color: black;
	margin-left: -3px;
	margin-top: -2px;
}

.pub_popup a {
	color: black;
}

.pub_popup div {
	margin-bottom: 5px;
}

.pub_popup .adr {
	margin-top: 1em;
}

.pub_cal {
	margin-left: auto;
	margin-right: auto;
	width: 99%;
}



.popup {
	cursor: pointer;
}


/* @end */

/* @group pricing */

#pricing {
	font-size: 85%;
	border-left: 1px solid #dcdcdc;
	border-top: 4px solid #dcdcdc;
	width: 100%;
	border-bottom: 3px solid #dcdcdc;
	margin-top: 10px;
}

#pricing .current_plan {
	background-color: #fefcb6;
}

tr.highlight .title {
	background-color: #fcff61;
	font-weight: bold;
}

#pricing th {
	padding-top: .2em;
	padding-right: .4em;
	padding-left: .4em;
	font-size: 1.4em;
	background-color: #ebf0f8;
}

#pricing .current_plan th {
	background-color: #ffa400;
}

#pricing th a, #pricing th img {
	margin-top: 5px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 0;
}

#pricing img {
	border: none;
}

#pricing th .price {
	color: #a52117;
	font-size: .7em;
}

#pricing th, #pricing td {
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	padding-bottom: .2em;
	padding-top: .2em;
}

#pricing td {
	text-align: center;
}

#pricing td.title {
	text-align: left;
	padding-left: .5em;
	padding-right: .5em;
}

#faqs h4 {
	font-size: 120%;
}

#account p.subhead {
	margin-bottom: .6em;
	margin-top: .7em;
	font-size: .85em;
}

#account .page-head {
	background: url(../images/icons/creditcards.png) no-repeat left bottom;
}

.churches-head {
	background: url(../images/icons/report_edit.png) no-repeat left bottom;
}

/* @end */

/* The main calendar widget.  DIV containing a table. */

.calendar {
  padding:  0;
  position: relative;
  display: none;
  border-top: 1px solid #e7e7e7;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-left: 1px solid #e7e7e7;
  font-size: 90%;
  color: #000;
  cursor: default;
  background: #f0f0f0;
  font-family: tahoma,verdana,sans-serif;
  z-index: 5000;
  float: left;
}

#sidebar div #flatcal .calendar {
  z-index: 1;
}

.calendar table {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #ffffff;
  font-size: 90%;
  color: #000;
  cursor: default;
  background: #ffffff;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-left: 1px solid #fff;
	background: #f0f0f0;
}

.calendar .nav {
  background: #f0f0f0 url(/images/menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 1px;
  border: 1px solid #cccccc;
  background: #cccccc;
  color: #333333;
  text-align: center;
	font-size: 90%;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames { /* Row <TR> containing the day names */;
	border-bottom: 1px solid #dcdcdc;
	border-right: 1px solid #dcdcdc;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #ccc;
  padding: 2px;
  text-align: center;
  background: #f0f0f0;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  border-top: 2px solid #fff;
  border-right: 1px solid #999999;
  border-bottom: solid #999999 1px;
  border-left: 2px solid #fff;
  padding: 0px;
  background-color: #f0f0f0;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #dcdcdc;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #dcdcdc;
  background-color: #ededed;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
  color: #faa;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #dcdcdc;
  background: #f0f0f0;
}

.calendar tbody .rowhilite td {
  background: #ebf0f7;
}

.calendar tbody .rowhilite td.wn {
  background: #cccccc;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border-top: 1px solid #fff;
  border-right: 1px solid #e2e5eb;
  border-bottom: 1px solid #e2e5eb;
  border-left: 1px solid #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border-top: 1px solid #999999;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #999999;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border-top: 1px solid #dcdcdc;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #dcdcdc;
  padding: 2px 2px 0px 2px;
  background: #f0f0f0;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #4a5f8f;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #f4f0e8;
  padding: 1px;
  border: 1px solid #dcdcdc;
  background: #f0f0f0;
  color: #333333;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #fff;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-left: 1px solid #fff;
  padding: 1px;
  background: #ebf0f7;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #999999;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #999999;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border-top: 1px solid #fff;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-left: 1px solid #fff;
  background: #f0f0f0;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .active {
  background: #cccccc;
  padding: 0px;
  border-top: 1px solid #cccccc;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #cccccc;
}

.calendar .combo .hilite {
  background: #374a88;
  color: #fea;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #766;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}
