/* Base styles */

body.managing {
	padding-top: 10px;
}

input {
	padding: 5px;
}

td {
	border: none;
}

fieldset {
	background: #EAEAEA;
	border: 1px solid #CCC;
	display: inline;
	padding: 5px;
}
fieldset:hover {
	background-color: #FFF;
}
* html fieldset { /*\*/ 
	padding: 7px;
}

legend {
	color: #000;
	border: 1px solid #CCC;
	background-color: #FFF;
	padding: 0 6px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}
* html legend { /*\*/ 
	margin-bottom: 7px;
}

/* Login Module */

#sitelogin {
	float: right;
	margin: 5px;
	text-align: right;
    font-size: 10px;
}
#sitelogin ul {
	margin: 5px 0;
}
#sitelogin li {
	margin: 0;
	padding: 0;
	padding-left: 3px;
	border-left: 1px solid #33C3DE;
	list-style: none;
	display: inline;
}
#sitelogin li.first {
	margin-left: 0;
	border-left: none;
	list-style: none;
	display: inline;
}

#sitelogin input {
	padding: 2px;
    font-size: 10px;
    border: 1px solid #7f9db9;
    background-color: #ffffef;
    margin: 0;
}
#sitelogin .ssl_checkbox input {
    border-width: 1px;
    margin-left: 2px;
}
#sitelogin .ssl_checkbox {
	color: #33c3de;
}

#sitelogin #login_username {
	background: #ffffef url('../images/username.gif') bottom no-repeat;
	width: 85px;
}

#sitelogin #login_password {
	background: #ffffef url('../images/password.gif') bottom no-repeat;
	width: 85px;
}

#sitelogin #login_ssl {
	background-color: #ffffef;
	
}

#login_username {
	background: white url('../images/username.gif') center no-repeat;
	width: 165px;
}

#login_password {
	background: white url('../images/password.gif') center no-repeat;
	width: 165px;
}

/* Search Module */

.module.search.show-form {
	margin-top: 0;
}

/* Top Nav megadropdowns */

.megadropdown.section1133 { left: -390px; }

/* Section Manage */

.manage_section {
	background-color: #FFFFEF;
	border: 3px dashed #FF0000;
	padding: 5px;
	margin-top: 10px;
}
.manage_section h1 {
	padding: 0; margin: 0;
}

@media print {
	.manage_section {
		display: none;
	}
}

/* Subject module receipt voucher */

.subjectmodule.view_receipt {
    font-family: Arial;
    font-size: 90%;
    width: 450px;
    line-height: 10pt;
    margin-left: auto;
    margin-right: auto;

}
.subjectmodule.view_receipt .logo {
	height: 38px;
	width: 196px;
	margin-bottom: 10px;
	float: left;
}
.subjectmodule.view_receipt .voucher_id {
	float: left;
	margin: 0 0 0 30px;
    font-size: 125%;
}
.subjectmodule.view_receipt h2, .subjectmodule.view_receipt p {
	padding: 0; margin: 0;
	clear: both;
}

/* Student Application Module */

pre.transcript {
	font-size: 80%;
	line-height: 120%;
	background-color: #FEF7A6;
	border: 1px solid #F79C31;
	padding: 10px;
}

/* Grant Tracking Module */

.sticky-submit {
	position: fixed;
	width: 100%;
	height: 30px;
	bottom: 25px;
	background-color: yellow;
	display: block;
	left: 0;
	padding-left: 20px;
}

.grantsmodule .modify-settings {
	border: 1px solid #B6B6B6;
	padding: 0 5px 5px 5px;
	margin: 0 5px 10px -15px;
	font-size: 80%;
}
.grantsmodule .sidenote {
	background-color: #E7E8EA;
	border: 1px solid #B6B6B6;
	padding: 0 5px 5px 5px;
	margin: 0 5px 10px -15px;
	font-size: 80%;
}

ul.grant-overview {
	background-color: #ECEAEB;
	width: 190px;
	margin: 0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding: 1em;
	float: left;
}
ul.grant-overview li {
	list-style-type: none;
	border-bottom: 1px solid white
}
ul.grant-overview li.post-award, ul.grant-overview li.review-postmeeting {
	border-bottom: none;
}

.grant-overview h2 {
	display: inline-block;
	margin-right: 20px;
	width: 60px;
	height: 50px;
	background: url('../images/grantsmodule_sprite.png') 0 -66px no-repeat;
	text-indent: -999em;
}
.grant-overview .project h2 { background-position: 0 -186px; }
.grant-overview .sponsors h2 { background-position: 0 -306px; }
.grant-overview .review h2 { background-position: 0 -426px; }
.grant-overview .budget h2 { background-position: 0 -546px; }
.grant-overview .post-award h2 { background-position: 0 -666px; }
.grant-overview .review-application h2 { background-position: 0 -786px; }
.grant-overview .review-reviewers h2 { background-position: 0 -846px; }
.grant-overview .review-postmeeting h2 { background-position: 0 -906px; }

.grant-overview span {
	width: 60px;
	height: 50px;
	display: inline-block;
	background: url('../images/grantsmodule_sprite.png') 0 -16px no-repeat;
}
.grant-overview .check span { background-position: 0 25px; }
.grant-overview .cross.post-award span { background: none; }

.grant-overview a {
	float: right;
	margin: 30px 5px 0 0;
}

ul.grant-steps {
	margin: 0;
}

ul.grant-steps li {
	display: inline-block;
	width: 60px;
	height: 60px;
	background: url('../images/grantsmodule_sprite.png') 0 -126px no-repeat;
	text-indent: -999em;
	margin: 10px 10px 0 0;
}
ul.grant-steps li.applicants.active { background-position: 0 -66px; }
ul.grant-steps li.projects { background-position: 0 -246px; }
ul.grant-steps li.projects.active { background-position: 0 -186px; }
ul.grant-steps li.simplesponsors { background-position: 0 -366px; }
ul.grant-steps li.simplesponsors.active { background-position: 0 -306px; }
ul.grant-steps li.review { background-position: 0 -486px; }
ul.grant-steps li.review.active { background-position: 0 -426px; }
ul.grant-steps li.sponsors { background-position: 0 -606px; }
ul.grant-steps li.sponsors.active { background-position: 0 -546px; }
ul.grant-steps li.postaward { background-position: 0 -726px; }
ul.grant-steps li.postaward.active { background-position: 0 -666px; }
	

/* Publication Module */

.publicationmodule fieldset, .presentationmodule fieldset {
	display: inline;
	margin-bottom: 10px;
}

.publicationmodule.default input, .presentationmodule.default input {
	margin: 0 0.1em 0;
	font: 1.5em "Trebuchet MS", Verdana, sans-serif;
}

.publicationmodule table, .presentationmodule table {
	width: 124%;
}
.publicationmodule table td, .presentationmodule table td {
	font-size: 12px;
	line-height: 18px;
	padding-left: 10px;
}

* html .publicationmodule table, * html .presentationmodule table { /*\*/ 
	width: auto;
}

/* Randoms */

.toolbar td {
	padding: 0;
}

span.totalcount {
	color: #999;
	font-style: italic;
}

.clear_separation {
	margin-top: 5px;
	padding-top: 5px;
}
h1.clear_separation {
	border-top: 7px solid #33C3DE;
	margin-top: 10px;
}
h2.clear_separation { border-top: 5px solid #ACD474; }
h3.clear_separation { border-top: 2px solid #f57b20; }
h4.clear_separation { border-top: 2px solid red; }
p.clear_separation  { border-top: 2px dashed #33C3DE; }

.fancy {
	border: 1px solid #B0BEC7;
	padding: 10px;
	background-color: rgb(241, 245, 246);
}

.fancy2 {
	border: 1px solid #FF9966;
	padding: 0;
	background-color: #FFFF96;
}

/** Copied from original **/

/* Resources module */

.resourcesmodule ul {
	border-bottom: solid 1px #33C3DE;
	padding: 0; margin: 0;
}
.resourcesmodule li {
	list-style-type: none;
	border: solid 1px #33C3DE;
	border-bottom: 0;
	padding: 3px;
}

/* Booking module */
.bookingmodule fieldset {
	display: inline;
	margin-bottom: 10px;
}

.tabs ul {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: 5px;
	margin-top: 5px;
} 

.tabs ul li {
	list-style: none;
	display: inline;
	white-space: nowrap;
	line-height: 35px;
}

.tabs ul li a {
	padding: 5px;
	border: 1px solid #000;
	background-color: #DDFF7F;
	background-color: #95D6F6;
	color: black;
}

div.bookingmodule_timetable {
	clear: both;
	background-color: white;
	margin: 0 0 5px -5px;
}
* html div.bookingmodule_timetable { /*\*/
    margin-left: 0;
    margin-top: -30px;
}

table.bookingmodule_timetable_top, table.bookingmodule_timetable {
	font-size: 10px;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	background-color: white;
}
table.bookingmodule_timetable_top {
	table-layout: fixed;
}
table.bookingmodule_timetable {
	table-layout: fixed;
}
table.bookingmodule_timetable_top th, table.bookingmodule_timetable th {
	font-weight: normal;
	text-align: left;
	background-color: #26447F;
	color: white;
	font-size: 10px;
	padding: 0;
	margin: 0;
	white-space: nowrap;
}
table.bookingmodule_timetable_top th {
	line-height: 16px;
	padding-left: 1px;
	border-bottom: solid 1px white;
}

table.bookingmodule_timetable_top td {
	padding: 0;
	margin: 0;
	border-bottom: solid 1px white;
	border-left: solid 1px white;
}
table.bookingmodule_timetable td {
	font-size: 10px;
	padding: 0;
	margin: 0;
	border-left: solid 1px white;
	border-bottom: solid 1px white;
	line-height: 8px;
}
* html table.bookingmodule_timetable td { /*\*/
	border-bottom: solid 2px white;
}
table.bookingmodule_timetable td img, table.bookingmodule_timetable td form {
	border-left: 1px solid white;
}

table.bookingmodule_timetable_top th.today {
	background-color: green;
	font-size: 12px;
	text-align: center;
	color: white;
	padding-left: 0;
}

table.bookingmodule_timetable_top th.differentday {
	background-color: #0057FF;
	font-size: 12px;
	text-align: center;
	color: white;
	padding-left: 0;
}

table.bookingmodule_timetable_top th.times {
	text-align: center;
	font-size: 11px;
	padding-left: 0;
	border-left: solid 2px white;
}

table.bookingmodule_timetable.legend th, table.bookingmodule_timetable.legend td {
	padding-left: 5px;
}

table.bookingmodule_timetable td.project_expired {
  background-color: red;
  color: white;
}

table.bookingmodule_timetable td.blackout_start, .bookingmodule_timetable td.blackout_continued {
  background-color: #6F292D;
  color: white;
}

table.bookingmodule_timetable td.invalid_slot {
	background-color: #E4DC04;
}

table.bookingmodule_timetable td.valid_slot {
  background-color: #99CC00;
}

table.bookingmodule_timetable td.valid_slot:hover {
  background-color: #C0EF2C;
}

table.bookingmodule_timetable td.valid_slot_too_far_ahead {
  background-color: #ffd3b5;
}

table.bookingmodule_timetable td.valid_slot_too_close {
  background-color: #ff946f;
}

table.bookingmodule_timetable td.my_reservations_start, table.bookingmodule_timetable td.my_reservations_continued {
  background-color: #5E7FB1;
  color: white;
}

table.bookingmodule_timetable td.my_reservations_cant_modify_start, table.bookingmodule_timetable td.my_reservations_cant_modify_continued {
	background-color: #FFB708;
}

table.bookingmodule_timetable td.my_past_reservations_start, table.bookingmodule_timetable td.my_past_reservations_continued {
  background-color: #A0A1A1;
}

table.bookingmodule_timetable td.other_reservations_start, table.bookingmodule_timetable td.other_reservations_continued {
	background-color: #D2DDEC;
}

table.bookingmodule_timetable td.other_past_reservations_start, table.bookingmodule_timetable td.other_past_reservations_continued {
  background-color: #CFCFCF;
}

table.bookingmodule_timetable td.date_elapsed {
  background-color: #333333;
  color: white;
}

/* Table stuff */

.tablelist {
	width: 100%;
	border: 1px solid #7F7F7F;
}

.tablelist th {
	font-weight: normal;
	text-align: left;
	background-color: #DDD;
	color: black;
	padding: 5px;
	border: none;
	border-left: 1px solid #CBCBCB;
	border-bottom: 1px solid #7F7F7F;
}
.tablelist table, .tablelist th th, .tablelist th td, .tablelist td th, .tablelist td td {
	border: none;
}
.tablelist th a {
	color: black;
}

td.header, td.header a, td.header a:hover {
	background-color: #DDD;
	color: black;
	font-weight: normal;
	padding: 2px;
	white-space: nowrap;
}

.tablelist th div.fancy {
    background-color: black;
    color: white;
}

.tablelist td {
    padding: 5px;
	border-left: 1px solid #CBCBCB;
}

/* Error Message Style */
div.error, span.error {
	font-weight: bold;
	color: #F00;
	padding-bottom: 1em;
}

div.success {
	font-weight: bold;
	color: green;
	padding-bottom: 1em;
}

/* Container Styles */

div.container_box {
	padding: 6px;
	margin: 2px;
}

div.container_editbox {
	border: 2px dashed #CCC;
	margin: 2px;
}

div.container_editheader {
	padding: 3px;
	background-color: #ccc;
}

div.container_editheader table tr td.info {
	font-size: 8pt;
	font-weight: bold;
	color: black;
}

/* popup date / time control */
span.datefield {
	
}

span.datefield_disabled {
	color: #DDD;
	font-style: italic;
	text-decoration: line-through;
}

/* Weblog styles */
div.weblog_comment {
	margin: 3px;
	margin-bottom: 1em;
	border: 1px dashed #DDD;
}

div.weblog_comment_title {
	font-size: 10px;
	font-weight: bold;
	background-color: #DDD;
	padding: 2px;
}

div.weblog_comment_attribution {
	font-size: 10px;
	font-style: italic;
	padding: 5px;
}

div.weblog_comment_body {
	font-size: 10px;
	padding: 5px;
}

/* Workflow */
div.workflow_action {
	border: 1px solid #DDD;
	margin-bottom: 1em;
}

div.workflow_inapproval {
	margin-left: 35px;
}

div.workflow_approved {
	border: 2px solid #030;
	background-color: #DDD;
}

div.workflow_action_restored {
	border: 2px dashed #030;
	background-color: #FFF;
}

div.workflow_action_posted {
	border: 2px solid black;
}

.ticketmodule .message {
	padding-bottom: 10px;
}
.ticketmodule .resolution {
	margin-left: 10px;
	padding-left: 5px;
	border-left: 3px solid #33C3DE;
}

/* Themable Forms */

div.form_title {
	font-weight: bold;
	margin-top: 20px;
}
div.form_header {
	border-top: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	margin-bottom: 1em;
}

/* Table stuff */

.tablelist {
    width: 100%;
}

.tablelist th {
	font-weight: normal;
    text-align: left;
    background-color: #DDD;
    color: black;
    padding: 5px;
}
.tablelist th a {
	color: black;
}
.tablelist th div.fancy {
    background-color: black;
}

.tablelist td {
    padding: 5px;
}
.fullwidth {
	width: 126%;
}

.tablelist.fullwidth {
    width: 126%;
}
* html .fullwidth { /*\*/ 
	width: auto; /* For IE, going past boundaries scews everything up */
}
.tablelist.notitle {
	border: solid 1px black;
}
tr.even_row td {
	background-color: #EDF5FF;
	color: black;
}
tr.row:hover td, tr.row:hover td a {
	background-color: #DBEAFF;
}
tr.odd_row td {
	background-color: white;
	color: black;
}

/** Administration Module Manager form **/
.administration_modmgrheader {
	background-color: #CCCCCC;
	border-top: 1px solid black;
	border-left: 1px solid black;
	border-right: 1px solid black;
}

.administration_modmgrheader span.active {
	color: green;
	font-weight: bold;
}

.administration_modmgrheader span.inactive {
	color: red;
	font-weight: bold;
}

.administration_modmgrbody {
	padding-left: 10px;
	border: 1px solid #666666;
}

/** Debugger Styles **/
table.debug_null,table.debug_null tr td, div.debug_null {
	background-color: #000;
	color: #fff;
	font-weight: bold;
}

table.debug_object, table.debug_object tr td {
	background-color: #a00;
	color: #fff;
}

table.debug_array, table.debug_array tr td {
	background-color: #0a0;
	color: #fff;
}

table.debug_scalar, table.debug_scalar tr td, div.debug_scalar {
	background-color: #00a;
	color: #fff;
}

td.debug_attribute {
	font-family: monospace;
	font-size: 10px;
}

td.debug_varname {
	font-weight: bold;
}

td.debug_type {
	background-color: #aaa;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}

td.debug_value {
	font-family: monospace;
	font-size: 11px;
	color: #fff;
}

/** Bulletin Board Module  **/
.bb_moduletitle {
        color: #333333;
        font-weight: bold;
        font-size: 16px;
        padding-bottom: 5px;
		border-bottom:1px dashed #cccccc;
		margin-bottom:5px;

}

.bb_postsubject {
        color: #333333;
        font-weight: bold;
        font-size: 16px;
        padding-bottom: 5px;
		border-bottom:1px dashed #cccccc;
		margin-bottom:5px;

}


.bb_editicons {
 float:right;
}

.bb_boarddesc {
        color: #999999;
        font-weight:normal;
        font-size: 11px;
        padding-bottom: 3px;
}

.bb_boardlist_header {
	background:#b1d83d;	
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	height: 30px;
	background-image: url(images/green-bg-image.gif);
	background-repeat: repeat-x;
}
/* Not used */
.bb_boardlist_header2 {
	background:#e3e3e3;	
	font-size: 10px;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	height: 30px;
	background-image: url(images/gray-bg-image.gif);
	background-repeat: repeat-x;
}/**/

.bb_boardlist_header td{
	padding:5px 2px 5px 2px;
	border-top:0px solid #666699;
	border-left:0px solid #666699;
	border-bottom:1px solid #8dab35;
	border-right:1px solid #8dab35;
}

.bb_boardtitle {
	padding: 3px;
}
.bb_boardtopics {
	text-align:center;
}

.bb_boardposts {
	text-align:center;
}

.bb_boardlastpost {
  width: 120px;
	font-size: 11px;
	text-align: center;
}

.bb_header {
    background:#65A8BF;	
	font-size: 10px;
	font-weight: bold;
	border-top:1px solid #333333;
	border-bottom:1px solid #eeeeee;
	color: #ffffff;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
    padding-right: 2px;
    padding-left: 2px;
}

.bb_threadlist {
	font-size: 10px;
	padding: 5px;
}


.bb_postcredit {
	text-align: left;
	vertical-align: top;
	font-size: 10px;
	padding-left: 5px;
	width: 150px;
}

.bb_postsubject {
        color: #333333;
        font-weight: bold;
        font-size: 16px;
        padding-bottom: 5px;
		border-bottom:1px dashed #cccccc;
		margin-bottom:5px;
}

.bb_replysubject {
        color: #777777;
        font-weight: bold;
        font-size: 13px;
        padding-bottom: 5px;
		border-bottom:1px dashed #cccccc;
		margin-bottom:5px;
}

.bb_postbody {
}

a.bb_icon_link {
	text-decoration: none;
	border: 0 dotted #111111;
}



tr.bb_row {
        background-color: #fff;
		font-size:12px;
		color:#555555;
		vertical-align:middle;
}

tr.bb_row:hover td, tr.row:hover td a a:hover {
        background: #f8ffe2;
		border-bottom:1px solid #e2f0b6;
		border-right:1px solid #f8ffe2;
}

tr.bb_row td {
		border-bottom:1px solid #effcc5;
		border-right:1px solid #effcc5;
		padding:5px;
		height:40px;
		vertical-align:middle;
}
tr.bb_row td span.bb_date {
		font-size:10px;
		color:#999999;
}



div.bb_bio {
		float:right;
		font-style:italic;
		font-size:10px;
		color:#999999;
		text-align:left;
		width:250px;
		border-left: 1px dotted #999999;
		padding:0 0 0 10px;
		font-style:italic;
		margin:0 0 0 10px;
}
.bb_reply_light{
		padding:5px;
		background:#FBFBFB;
		width:100%;
}

.bb_reply_dark{
		padding:5px;
		background:#fff;
		background:#F3F3F3;
		width:100%;
}

.bbreplies{
font-size:12px;
color:#6e891f;
		background:#b1d83d;
		padding:5px;
		border-bottom:1px solid #8dab35;
}

.bb_avitar {
  	float: right;
	margin: 0 0 10px 0;
}

.bb_signature {
		padding:5px;
		clear:both;
		border:1px dotted #555555;
		
}

.bb_quote{
	border-left:1px dotted #999999;
	margin-left: 15px;
	padding-left:5px;
	margin-bottom: 20px;
	font-style:oblique;
	color:#999999;
}

.bb_quote span{
	font-weight:bold;
	color:#555555;
}

.bb_whosonline {
 	background:#f8ffe2 url(images/sidebox_rep.gif);
	padding:0 0 0 0;
	margin:0 0 0 0;
	text-align:left;
}

.bb_whosonline span {
	color:#555555;
	display:block;
	padding:0 0 0 45px;
	margin:0 0 10px 0;
	text-align:left;
}

.bb_whosonline ul {
	list-style:none;
	padding:0 0 0 45px;
	margin:0;
}

.bb_whosonline ul li {
	list-style:url(images/arrowsub3.gif);
	padding:0;
	margin:0;
}

/** New Tab style of interface for Nav manager **/
td.tab_btn {
	border: 1px solid black;
	border-right: 0 solid black;
	background-color: #DDD;
	padding: .5em;
}

td.tab_btn_last {
}

td.tab_spacer {
	border-bottom: 1px solid black;
	border-left: 1px solid black;
}

td.tab_btn_current {
	background-color: inherit;
	border-bottom: 0 solid black;
}

td.tab_main {
	padding: .5em;
	border: 1px solid black;
	border-top: 0 solid black;
}

/********************************** Baycrest WordPress *******************************/

body.baycrestwp .module.search.show-form {
	margin-top: -49px;
	margin-left: 88px;
}
body.baycrestwp .module.search.show-form input[type="submit"] {
	background: url("http://www.baycrest.org/wp-content/themes/baycrestwp/images/search.png") no-repeat scroll 0 -2px transparent;
	border: none;
	box-shadow: none;
	border-radius: 0; -moz-border-radius: 0;
	cursor: pointer;
	height: 30px;
	margin-left: -37px;
	width: 33px;
	text-indent: -9999999px;
}

body.baycrestwp #sitelogin {
	margin-top: 15px;
}
body.baycrestwp .donate-button a {
	padding: 12px;
}
body.baycrestwp .donate-button {
	margin-left: 545px;
}
body.baycrestwp.full-width .donate-button {
	margin-left: 545px;
	right: auto;
}
body.baycrestwp .top-nav a {
	margin-left: 11px;
}