/*   
Theme Name: CSB
Theme URI: http://csb.gc.ca
Description: Theme for the CSB site
.
*/


/* CONTAINERS */


#mainContainer {
	width: 823px; /*** Centers the design ***/
	min-height: 300px;
	text-align: left; /*** Because we centered the text in body we have to move the text back to left aligning ***/
	margin: 0 auto;
	padding-right: 30px;
	padding-left: 30px;
	height: 100%;
}
* html #mainContainer {
	height: 300px; /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}


/* END CONTAINERS */


/* RESETS */
* {
	padding: 0;
	margin: 0;
	border: 0;
}


.clear {
	clear: both;
}

/* END RESETS */


/* TYPOGRAPHY */

body, html {
	color: #000;
	font-family:  Verdana, Arial, sans-serif;
	height: 100%;
	text-align: center; /*** Centers the design in old IE versions ***/
	background: url(img/body_bg.gif) top center repeat-y #ffffff;
}

body {
	font-size: 0.7em;
	line-height: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	color:#3A373A;
	line-height: 1.6em;
	padding-bottom: 5px;
}

h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.4em;
}

h4 {
	font-size: 1.3em;
}

h5 {
	font-size: 1.2em;
}

h6 {
	font-size: 1.1em;
}

p {
	padding: 7px 0 7px 0;
}

.contentWrapnoright p, .contentWrap p {
	margin-left: 10px;
}

a {
	color: #51B3CB;
	text-decoration: none;
}
a:hover {
	color: #6C686E;
	text-decoration: underline;
}

#contentnoright h1, #contentnoright h2, #contentnoright h3, #contentnoright h4, #contentnoright h5 {
	padding-left: 0px;
	margin-left: 0px;
}

/* END TYPOGRAPHY */


/* HEADER */
#header {
	height:150px;
	
}
#header #menu {
	width:823px;
	height:23px;
	background-color:#666666;
	margin-top:-2px;
}
* html #header #menu {
	margin-top:0px;
}
#header #menu ul {
	list-style:none;
}
#header #menu ul li {
	float:left;
	width:15%;
	height:20px;
	padding-left:11px;
	padding-top:4px;
}
#header #menu ul li.mid {
	border-left-width: thin;
	border-left-style: solid;
	border-left-color: #FFFFFF;
}
#header #menu ul li a {
	color:#FFFFFF;
}

#page_heading_image {
	margin-top: 6px;
}

/* END HEADER */

/* BREADCRUMBS */
#breadcrumbs {
	padding-top:12px;
	padding-left:5px;
	color:#A7A3A8;
}
#breadcrumbs .split {
	color:#000000;
}

/* END BREADCRUMBS */



/* LAYOUT */

/** 3 COLUMN LAYOUR **/

.outer {
	padding-left: 175px;
	padding-top: 7px;
}
.inner {
	width: 630px; /*** This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers if you changes this value. Especially IE7 seems to create a horisontal scroll if this value is set too large ***/
}
/** END 3 COLUMN LAYOUT **/


/** 2 COLUMN LAYOUT **/
.outernoright {
	padding-left: 177px;
	padding-top: 7px;
}
.innernoright {
	width: 632px; /*** This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers if you changes this value. Especially IE7 seems to create a horisontal scroll if this value is set too large ***/
}
.float-wrap-noright {
	float: left;
	width: 827px;
	margin-left: -175px; /*** Same length as .outer padding-left but with negative value ***/
}
#contentnoright {
	float: right;
	width: 632px;
	background: #fff;
	position: relative; /*** IE needs this  ***/
	color:#0000000;
}

.float-wrap {
	float: left;
	width: 830px;
	margin-left: -173px; /*** Same length as .outer padding-left but with negative value ***/
}
/** END 2 COLUMN LAYOUT **/

.page_block
{
	border: 1px solid #ccc;
	overflow: hidden;
	line-height: 18px;
	padding: 5px; 
	margin: 5px;
	float: left;
	background: #fafafa;
	clear:both;
	width:95%;
}

/* END LAYOUT */

/* CONTENT */
#content {
	float: left;
	width: 630px;
	background: #fff;
	position: relative; /*** IE needs this  ***/
	color:#000000;
	padding-left:15px;
	position: relative;
}
.contentWrap {
	padding-top: 6px;
	width:440px;
	width:430px;
	float:left;
	padding-right: 6px;
}
#content ol, #content ul, .contentWrap ol, .contentWrap ul {
	margin: 3px 0 5px 35px;
}
#content il, .contentWrap li {
	padding-bottom: 2px;
}
.contentWrapnoright {
	padding-top: 6px;
	padding-bottom: 5px;
}
#sectionhead {
	margin-top: 6px;
	width: 100%;
}

#content #sectionbanner, #contentnoright #sectionbanner {
	margin-bottom:11px;
}
#content table, #contentnoright table {
	margin: 5px 0 5px 0;
	border: 1px solid #CCCCCC;
	border-collapse: collapse;
}
#content td, #contentnoright td {
	padding:6px;
}
#content td, #contentnoright td, #content td.cell, #contentnoright td.cell {
	background:#ffffff;
	border-left: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
}
#content td.cell, #contentnoright td.cell {
	text-align:center;
}
#contentnoright table.noborder, #contentnoright table.noborder tr td, #content table.noborder, #content table.noborder tr td {
	vertical-align: top;
	border: none;
}
#content td.emptycell, #contentnoright td.emptycell {
	text-align:center;
	background-image: url(img/na_cell.gif);
	background-repeat: repeat;
}
#content td.light, #contentnoright td.light {
	
	background:#E5E5E5;

}
#content td.medium, #contentnoright td.medium {
	border-left: 1px solid #ffffff;
	background:#A7A3A8;
	color:#ffffff;
}
#content td.dark, #contentnoright td.dark {
	border-left: 1px solid #ffffff;
	background:#6C686E;
	color:#ffffff;
}
#content .annoucement, #content p, #contentnoright p {
/*	margin: 5px 8px 0 5px; */
}
#content hr, #contentnoright hr {
	color:#6C686E;
	background:#A7A3A8;
	height:1px;
	margin:11px;
	margin:11px 11px 11px 7px;
}
#content img, #contentnoright img {
	margin: 0 8px 2px 0;
}
#content .date, #contentnoright .date {
	color:#000;
}
#content #searchresults, #contentnoright #searchresults {
	margin: 0 5px 0 5px;
}
#content #searchresult, #contentnoright #searchresult {
	padding-bottom:15px;
	border-bottom: 1px solid #CCCCCC;
}
#content input[type=text], #contentnoright input[type=text] {
	border: 1px solid #666666;
	padding:2px;
	margin-right:5px;
}
#content input.text, #contentnoright input.text {
	border: 1px solid #666666 !important;
	padding: 2px !important;
	margin-right: 5px !important;
}
#content input[type=submit], #contentnoright input[type=submit] {
	background-color:#EFEFEF;
	padding:1px;
	background-image: url(img/BCAN007_bt.gif);
	background-repeat: no-repeat;
	height: 23px;
	width: 91px;
}
#content input.submit, #contentnoright input.submit {
	background-color:#EFEFEF;
	padding:1px;
	background-image: url(img/BCAN007_bt.gif);
	background-repeat: no-repeat;
	height: 23px;
	width: 91px;
}
#content ul {
	list-style-type:square;
}
#contentnoright ul {
	list-style-type:square;
	margin-left:30px;
}
#contentnoright ol {
	margin-left:30px;
}
#content ul#collapsed, #contentnoright ul#collapsed {
	margin-top:5px;
	margin-bottom:5px;
	list-style:url(img/right_green.gif);
}
#content ul#collapsed li, #contentnoright ul#collapsed li {
	color:#529FA3;
}
#content #action, #contentnoright #action {
	margin: 0 5px 0 5px;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	padding: 2px 0 2px 0;
}

.announcement table.details {
	margin-bottom: 15px !important;
	border: none !important;
}
.announcement table.details td {
	border: none !important;
	text-align: left !important;
	vertical-align: top !important;
}
.announcement table.details td {
	background-color: #f2f2f2 !important;
}
.announcement {
	margin-bottom: 0.75em;
}
.all_announcements {
	padding: 0 1em;
}

#content ul.plain, #contentnoright ul.plain {
	list-style: none;
}

.select_date
{
	text-align: center;
	white-space: nowrap;
	margin: 5px;
	line-height: 2em;
}

h3
{
	clear:both;
}

/* END CONTENT */

/* PAGINATION */

.pagination_left
{
	float:left;
}

.pagination_right
{
	float:right;
}

.pagination
{
	margin: 5px 0px -20px 5px;
	z-index:1000;
	position:relative;
	padding: 0px; 
	float: left;
	width:97%;
}

/* END PAGINATION */

/* LEFT COLUMN */

#left {
	float: left;
	width: 170px;
	background: #fff;
	padding: 6px 0px 0px 0px;
	position: relative; /*** IE needs this  ***/
}

#left ul{
	list-style: none;
	background-color: #FFF;
	padding-bottom:5px;
}

#left li{
	border-top-width: thin;
	border-top-style: solid;
	border-top-color: #FFF;
	border-bottom-color: #FFF;
	color:#FFF;
	width:170px;
}

#left li a{
	color: #FFF;
	display: block;
	padding: 4px 8px;
	font-weight: bold;
	text-decoration: none;
}

#left li ul li a{
	background-color:#EAEAEB;
	color:#333333;
	font-weight:normal;
	padding-left:14px;
}

#left li.topitem1 ul li a, #left li.topitem2 ul li a, #left li.topitem3 ul li a, #left li.topitem4 ul li a {
	background-color:#EAEAEB;	
}

#left li a:hover{
	color: #fff;
}

/** TOP1 **/

#left li.topitem1 a, #left li.topitem1 a:hover, #left ul li a.selected1, #left ul li ul li a.selected1 {
	background: #51b3cb;	
}

#left ul li a.selected1, #left ul li ul li a.selected1 {
	color: #fff;
}
/** TOP2 **/

#left li.topitem2 a, #left li.topitem2 a:hover, #left ul li a.selected2, #left ul li ul li a.selected2 {
	background: #DCDCCF;
	
}

#left ul li a.selected2, #left ul li ul li a.selected2, #left ul li.topitem2 > a, #left ul li.topitem2 ul li a:hover {
	color: #877B6D;
}


/** TOP3 **/


#left li.topitem3 a, #left li.topitem3 a:hover, #left ul li a.selected3, #left ul li ul li a.selected3 {
	background: #73685a;
}

#left ul li a.selected3, #left ul li ul li a.selected3 {
	color:#fff;
}
/** TOP4 **/

#left li.topitem4 a, #left li.topitem4 a:hover, #left ul li a.selected4, #left ul li ul li a.selected4 {
	background: #f5961d;
}

#left ul li a.selected4, #left ul li ul li a.selected4 {
	color:#fff;
}

/* END LEFT COLUMN*/


/* RIGHT COLUMN */

#right {
	padding-top:6px; 
	margin-left:4px;
	float: right;
	width: 180px;
}
#right .outerbox {
	padding:0px;
	margin:0px;
	border: 1px solid #999999;
	margin-bottom: 10px;
}
#right ul.outerbox {
	list-style: none;
}
#right ul.box {
	list-style: none;
	padding-left:3px;
	padding-top:5px;
	margin:0px;
	color:#000000;
	background-color: #FFFFFF;
	background-image: url(img/ul_bg.gif);
	background-repeat: repeat-x;
	background-position: left top;
	padding-bottom: 5px;
}
#right ul.nobox {
	list-style: none;
	margin-left:0px;
	color:#000000;
	margin-bottom:7px;
	background-color: #FFFFFF;
}
#right span#title {
	font-size:1.2em;
	background-color:#999999;
	padding: 1px 5px 1px 5px; 
	color:#fff;
}
.pbox_callout {
	width: 100%;
}
#right ul.nobox li.mid {
	border-bottom: thin dotted #A7A3A8;
	margin-bottom:10px;
	padding-bottom:10px;
}

div.outerbox p {
	border-bottom:1px solid #999;
	padding: 7px 5px;
	margin:0;
}

div.pbox_default div.outerbox p {
	background: url(img/ul_bg.gif) top left repeat-x;
}

/* END RIGHT COLUMN */


/* FOOTER */

#footer {	
	margin: 0;	
	margin-left:1px;
	background-color: transparent;
	color:#A7A3A8;
	height: 30px;
	text-align: top;
	padding-bottom: 15px;
}

#footer a, #footer p {
	width: 272px; 
	float: left; 
	margin-left:1px;
	padding: 0;
}

#footer a.center {
	text-align: center;	
}

#footer a.right {
	text-align: right;
}

#footer hr {
	height: 15px;
	color: #666666;
	background-color: #666666;
}

/* END FOOTER */



/* S40 */

#s40 div.subtitle {
	font-size:14px;
	padding-top:15px;
}
#s40 ul {
	margin:0;
	margin-left: 1em;
}
#s40 ul li {
	float:left;
	list-style:none;
	padding:5px 0;
	width: 6.25em;
	text-align:center;
}

.s40_details
{
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	margin: 5px !important;
	float: left;
	clear:both;
	width:97% !important;
}

table.s40_details caption {
	text-align:center;
	font-size:11px;
	font-weight:bold;
	padding-bottom:3px;
}

table.s40_details th {
	background-color: #FAFAFA;
	padding: 7px;
	border-left: 1px solid #CCC;
	border-top: 1px solid #CCC;
}
table.s40_details td.value{
	white-space:nowrap;
}

table.s40_details th.originalvalue
{
	text-align:center;
}

table.s40_details td {
	background-color: #F7F7F7;
	text-align:center;
}

form select {
	border:1px solid #CCC;
}
.bond_type {
	text-align:center;
}
#right .bond_type {
	text-align:left;
}
#right .bond_type .btn{
	display:block;
	text-align:center;
	margin-top:5px;
}
#content .matured, #content .matured td, #content .matured th,
#contentnoright  .matured, #contentnoright .matured td, #contentnoright .matured th,
table.s40_details .matured th{
	background:#ddd;
}
#content .closed-book, #content .closed-book td, #content .closed-book th,
#contentnoright  .closed-book, #contentnoright .closed-book td, #contentnoright .closed-book th,
table.s40_details .closed-book th{
	font-weight:bold
}
.s40_error
{
	background-color:#FFFFCC;
	border:1px solid #CCCCCC;
	font-size:0.9em;
	margin:3em 5px !important;
	overflow: hidden;
	line-height: 18px;
	padding: 5px; 
	float: left;
	clear:both;
	width:95%;
}

.s40_paragraph
{
	padding: 0px !important;
	margin: 5px !important; 
	float: left !important;
	clear:both !important;
	width:95% !important;
}

ul.bond_list {
	list-style:none;
	overflow:hidden;
	margin: 20px 0;
	background-color: #F9F9F9;
	position: relative;
	margin: 0 auto;
	padding: 5px;
}

ul.bond_list li {
	float:left;
    padding: 0 0 7px 2em;
	width: 5em;
	list-style: none;
}

#contentnoright form table, #contentnoright form td {
	border:none;
}

table#wp-calendar {
	border: 1px solid #ccc;
	margin-top: 0;
}
table#wp-calendar caption {
	width: 50%;
	padding: 3px;
	margin: 0;
	background: #ccc;
	font-weight: bold;
}
table#wp-calendar tr td {
	border: none;
}
table#wp-calendar tr th {
	padding: 2px;
	text-align: center;
	border-bottom: 1px solid #ccc;
}
table#wp-calendar td.pad {
	background: url(img/na_cell.gif) top left repeat;
}

select.redemption_year {
	border:1px solid #CCC;
}

select.redemption_month {
	border:1px solid #CCC;
}

#month, #status{
	text-align: center;
}

#bond_type, #interest_type{
	width: 173px;
	margin-bottom: 5px;
}

div.page_block form span input{
	float:right;
}

/* END S40 */



