.debug {
	display: block;
	font-family: monospace;
	white-space: pre;
	background: #d4d4d4;
}

.debug .debug {
	display: inline;
}



/************************************************** General */

html
{
	background: #eee;
	font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

body
{
	width: 760px;
	margin: 0 auto;
	padding: 2em 2em;
	line-height: 18px;
	color: #222;
}

:focus
{
	outline: 1px dotted #77a;
}

a.command
{
	display: block;
}

/* Moves the element out of sight, but keeps it around for screen readers. See http://www.webaim.org/techniques/css/invisiblecontent/. */
.accessibility
{
	position: absolute;
	top: -1000px;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* This is only applied by javascript. */
.hidden
{
	display: none !important;
}

a:link
{
	color: #00a;
}

a:visited
{
	color: #551a8b;
}

a:active
{
	color: #e00;
}

a[target]
{
	padding-right: 10px;
	background: url('/resources/images/popup_icon.png') no-repeat center right;
}

/************************************************** Header */

form#search
{
	float: right;
	height: 30px;
	width: 187px;
	margin: 0 0 4px 0;
	background: #666;
}

form#search div {
	background: #666;
}

#q
{
	float: left;
	width: 147px;
	margin: 4px 0 0 4px;
}

#search-submit
{
	display: block;
	height: 16px;
	width: 16px;
	margin: 0 auto;
	padding: 7px;
}

a#facebook_link {
	display: block;
	float: left;
/*	margin-right: 98px;*/
	margin-right: 4px;
	padding-left: 33px;
	height: 30px;
	line-height: 15px;
	width: 60px;
	border: 0;
	
	background: transparent url("/resources/images/facebook_icon2.png") center left no-repeat;
	
	font-family: "Trebuchet MS";
}

a#facebook_link span.n1 {
	display: block;
	font-size: 11px;
}

a#facebook_link span.n2 {
	display: block;
	font-size: 14px;
}

#header
{
	float: left; /* So it stretches to contain all of the floats it contains */
	width: 100%;
	margin-bottom: 4px;
}

h1
{
	clear: both;
	float: left;
	height: 123px;
	width: 185px;
	border: 1px solid black;
}

h1 a
{
	display: block;
	height: 123px;
	overflow: hidden;
	text-indent: -1000px;
	background: url('/resources/images/sbi_logo.png') center no-repeat;
}

#random_images {
	margin-right: -1px;
}

#random_images img
{
	display: block;
	float: left;
	height: 125px;
	width: 187px;
	margin-left: 4px;
}

/************************************************** Navigation */

/* This is an unsemantic kludge. Will be replaced if I can figure out how. */
.table_layout_wrapper
{
	display: table;
	clear: both;
	width: 100%;
}

#categories, #subcategories
{
	clear: both;
	display: table-row;
	width: 100%;
	margin: 0;
}

#categories li, #subcategories li
{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#categories
{
	height: 30px;
	background: #800;
	font-size: 12px;
	font-weight: bold;
}

#subcategories
{
	background: #47d;
}

#categories a, #subcategories a
{
	text-decoration: none;
	color: white;
}

#categories a:hover, #subcategories a:hover, #categories a.current, #subcategories a.current
{
	color: #fd8;
}

/************************************************** Content */

#content
{
	position: relative;
	float: right;
	clear: left;
	font-size: 12px;
	width: 568px;
}

#content.full-width
{
	width: 760px;
}

/*************** Headings  */

h2
{
	font-weight: bold;
	font-size: 2em;
	padding: 12px 0 6px;
	margin-bottom: .75em;
}

h3
{
	overflow: visible;
	font-weight: bold;
	font-size: 1.4em;
	padding: 0 0 2px 0;
	margin: -4px 0 18px;
	border-bottom: 2px solid black;

}

h3:target
{
	margin-left: -1.5em;
	padding-left: 1.5em;
	background: url("/resources/images/current_item_marker2.png") no-repeat 0 center;
}

h4
{
	font-weight: bold;
}

h5
{
	font-style: italic;
	font-weight: normal; /*  */
}

/*************** Bottom Margins  */

p, ul, ol, dl, blockquote, div.figure
{
	margin-bottom: 18px;
}

div.figure
{
	overflow: auto;
}

/*************** Indentation  */

blockquote
{
	margin-left: 1em;
}

/*************** Lists  */

/*ul, ol {
	margin-left: -2em;
	padding-left: 2em;
}*/

ul
{
	list-style-type: disc;
}

ul ul
{
	list-style-type: circle;
}

ol
{
	list-style-type: decimal;
}

dl
{
	overflow: auto;
}

dl dt
{
	float: left;
	clear: both;
	width: 20%;
}

dl dd {
	float: left;
	width: 80%;
}

/*************** Miscellaneous Inline formatting  */

em
{
	font-style: italic;
}

strong
{
	font-weight: bold;
}

cite
{
	font-style: italic;
}

a[href^="#"] /* Gracefully degrades in IE. */
{
	text-decoration: none;
	border-bottom: 1px dashed;
}

code
{
	font-family: "Consolas", "Monaco", "Courier", "Courier New";
}

/*************** News  */

#news
{
	position: relative;
	min-height: 284px;
	padding-top: 10px;
}

#news h2
{
	margin-left: 382px;
	padding-left: .5em;
}

#news .item
{
	margin-left: 382px;
	padding-left: 1em;
}

#news .item h3
{
	margin-left: 0;
}

#news .item h3 a
{
	text-decoration: none;
	color: #222;
}

#news .item img
{
	position: absolute;
	left: 0;
	top: 10px;
	height: 284px;
	width: 378px;
	margin: 0;
}

#news .item:first-child img
{
	z-index: 2;
}

#current_news_item
{
	background: #eaeeee;
}

/*************** Calendar  */

object.calendar
{
	width: 100%;
	height: 56em;
}

.calendar_controls h3
{
	width: 20em;
	margin: 0 auto;
	border: none;
	text-align: center;
}

.calendar_controls .prev
{
	float: left;
}

.calendar_controls .next
{
	float: right;
	clear: none;
}

/*************** Contacts  */

ul.contact
{
	list-style-type: none;
	margin-left: 0;
}

div.vcard
{
	width: 200px;
	margin-bottom: 1em;
	margin-left: 1em;
}

div.vcard.main
{
	margin-left: 0;
	padding: 12px;
	background: #eee;
}

div.vcard.main h4
{
	margin-left: 0;
}

div.vcard:target h4
{
	margin-left: -3.5em;
	padding-left: 1.5em;
	background: url("/resources/images/current_item_marker2.png") no-repeat 0 center;
}

/************************************************** Secondary */

#secondary
{
	width: 156px;
	margin-top: 4.5em;
	padding-left: 16px;
}

#secondary h4 {
	margin-left: 0;
}

#secondary ul {
	margin-left: 0;
}

/************************************************** Footer */

#footer
{
	position: relative;
	clear: both;
	margin-top: 1em;
	border: 1px solid #cfd6e9;
	border-width: 1px 0;
	padding-left: 190px;
}

#footer_home_link
{
	position:absolute;
	left: 0;
	height: 100%;
	width: 187px;
}

#footer_home_link a
{
	display: block;
	height: 100%;
	width: 133px;
	margin: 0 auto;
	overflow: hidden;
	text-indent: -1000px;
	background: transparent url("/resources/images/sbi_logo_small.png") center no-repeat;
}

#footer_home_link_main
{
	position:absolute;
	left: 0;
	height: 100%;
	width: 187px;
}

#footer_home_link_main a
{
	display: block;
	height: 22px;
	width: 133px;
	margin: 2px auto;
	padding-left: 20px;
	background-position: top left;
	background-repeat: no-repeat;
}

#footer_home_link_main a.fb {
	background-image: url("/resources/images/facebook_tiny.png");
}

#footer_home_link_main a.twit {
	background-image: url("/resources/images/twitter_tiny.png");
}

.divisions
{
	clear: left;
	margin: 0;
	padding: .4em 0 .5em;
	overflow: auto;
	list-style-type: none; /* I think that this is a Safari bug. */
}

/* A border-bottom on .n1 would have made more sense, but IE doesn't think so. Why? Such is the ineffable wisdom of Redmond. */
.divisions.n1
{
	border-bottom: 1px solid #cfd6e9;
}

.divisions li
{
	float: left;
	margin-left: .8em;
	border-left: 1px solid #cfd6e9;
	padding-left: .8em;
	line-height: 1em;
}

.divisions li.n1
{
	margin: 0;
	border: 0;
	padding: 0;
}

.divisions a
{
	text-decoration: none;
}

#byline
{
	clear: both;
	padding-left: 190px;
}

#byline a
{
	text-decoration: none;
}
