@import url(http://images.theglobeandmail.com/v5/styles/base.css);

body { min-height: 1em !important }

div.holder { margin-bottom: 1em }

/* Align the search bar */
html body #secondaryNav form#searchSimple.nav { padding-top: 0}
body #secondaryNav > form#searchSimple.nav { padding-top: 5px}
* html body #secondaryNav form#searchSimple.nav { padding-top: 3px}

#chewy {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-left: 0;
margin-right: 0;
min-width: 0;
width: 100%;
max-width: 100%;
}

#chewy ul ,#chewy li {
font-size: 1em;
}

#chewy h4 {
height: 21px;
margin: 0pt 0pt 0.5em;
border-top: 5px solid #DFDFDF;
border-bottom: 1px solid #DFDFDF;
text-transform: uppercase;
color: #888888;
font-size: 11px;
}

#chewy h5, #chewy p { 
font-size: 11px;
margin: 3px 0;
}

#chewy .positiveChange { 
color:  #009933; 
}

#chewy .negativeChange { 
color:  #c4151c; 
}

#chewy .copy {
color: #9B9B9B;
margin-bottom: 20px;
}

#chewy thead { font-weight: bold }

#chewy td {
padding: 3px 1px;
font-size: 11px;
}

#chewy .db.quotes #chewy table td { padding: 0 }
#chewy a.sub {
background: transparent url(/v5/images/icon/icon-lock-ie_locked.gif) 100% 50% no-repeat;
padding-right: 12px;
}

#chewy p.error { font-size: 12px }

#chewy select { font-size: 11px }

#chewy input, #chewy select, #chewy label { vertical-align: middle; font-size: 11px }

/* Change quote bar */
#chewy #changeSymbol {
margin-top: 2px;
float: left;
width: 430px;
background-color: #F8F8F8;
border: 1px solid #E4E4E4;
padding: 0;
}

#chewy .error { color: #c4151c }

#chewy #changeSymbol form { vertical-align: bottom }

#chewy #changeSymbol .textbox, #chewy #changeSymbol .button {
font-size: 11px;
font-weight: normal;
text-transform: none;
margin: 0;
padding: 0 2px;
}

#chewy #changeSymbol table { 
padding: 0;
border-spacing: 0;
margin: 0;
}

/* Quote Ribbon */
#chewy #quoteRibbon {
float: left;
width: 760px;
margin-top: 25px;
}

#chewy #quoteRibbon h3 {
font-weight: normal;
font-size: 20px;
margin: 0;
float: left;
width: 430px;
}

#chewy #quoteRibbon h3 span#companyName { font-weight: bold }

#chewy #quoteRibbon h3 span#pageName { 
font-size: 14px;
text-transform: capitalize;
}

#chewy #quoteRibbon img { vertical-align: text-bottom }

#chewy #quoteRibbon ul#info, #chewy #quoteRibbon ul#tools {
list-style: none;
display: block;
float: left;
padding: 0;
margin: 0;
}

#chewy #quoteRibbon ul#info li, #chewy #quoteRibbon ul#tools li {
display: block;
float: left;
margin: 0;
padding-right: 10px;
}

#chewy #quoteRibbon ul#info {
width: 760px;
font-size: 0.75em;
float: left;
}

#chewy #quoteRibbon ul#info li#quote_time {
display: block;
text-align: right;
width: 180px;
padding-right: 0;
padding-top: 3px;
font-size: 11px;
color: #8D8D8D;
}

#chewy #quoteRibbon ul#info li#last_trade {
padding-top: 3px;
font-size: 11px;
}

#chewy .quote_data { font-weight: bold }

#chewy #quoteRibbon ul#tools {
float: right;
font-size: 0.65em;
}

#chewy #quoteRibbon ul#tools li#update {
background: transparent url(/v5/images/icon/icon-information-white.png) left center no-repeat;
padding-left: 14px;
}

#chewy #quoteRibbon ul#tools li#print {
background: transparent url(/v5/images/icon/icon-print.gif) left center no-repeat;
padding-left: 14px;
}

#chewy #quoteRibbon ul#tools li#help {
background: transparent url(/v5/images/icon/icon-help-grey.png) left center no-repeat;
padding-left: 11px;
}

/* Collapse & Expand button on Financials, competitors and earnings sections  */
#chewy #financialsContainer h4, #chewy #competitorsContainer h4, #chewy #earningsContainer h4 {
width: 878px;
float: left;
}

#chewy #competitor_action, #chewy #financial_action, #chewy #earning_action { clear: both }

#chewy .collapseExpand {
float: left;
width: 20px;
height: 21px;
margin: 0pt 0pt 0.5em;
border-top: 5px solid #DFDFDF;
border-bottom: 1px solid #DFDFDF;
}

#chewy .collapseExpand img { 
margin-top: 4px;
cursor: pointer;
}

/* PAGE ELEMENTS */

#chewy #quoteTable td,
#chewy #competitor_rpt table td, 
#chewy #financials td,
#chewy #earnings td { 
border-bottom: 1px solid #D0D0D0;
}

#chewy #earnings { margin-bottom: 10px }

#chewy #last_trade,
#chewy #find_out_more_2, 
#chewy #menuTabs ul,
#chewy #chartLinks {
display: inline;
list-style-type: none;
margin: 0px;
padding: 0px;
}

#chewy ul#chartLinks {
line-height: 1em;
margin-top: 0.5em;
float: left;
}

#chewy #last_trade li,
#chewy #find_out_more_2 li,
#chewy #menuTabs ul li,
#chewy #chartLinks li {
display: inline;
font-size: 11px !important; 
}
#chewy #stockSearch {
float:right;
text-align: left;
font-size: 0.7em;
}
#chewy #stockSearch #searchbox {
border: 1px solid #838383;
font-size: 11px;
color: #969696;
padding: 0px;
width: 120px;
height: 15px;
margin-left: 10px;
}
#chewy #companyContent {
width: 430px;
float: left;
}
#chewy #companyContent, #chewy #stockContent {
padding-top: 7px; 
margin-top: 5px; 
border-top: 1px solid #E4E4E4;
}
#chewy #quoteTable,
#chewy #intraday_activity,
#chewy #newsFrame { width: 430px }
#chewy #intraday_activity,
#chewy #newsFrame {
margin-bottom: 20px;
}
#chewy #financialsContainer,
#chewy #competitorsContainer,
#chewy #earningsContainer {
margin-top: 12px;
width: 100%;
}
#chewy #earningsContainer {
margin-bottom:15px;
}
#earningsContainer p#currency { font-size: 11px }

#chewy #chartContainer {
float: right;
}
#chewy #intraday_activity td.negative {
border-right: 1px solid #D0D0D0;
width: 80px;
text-align: right;
}

#chewy #intraday_activity td.positive {
width: 80px;
text-align: left;
}

#chewy #intraday_activity p {
margin: 2px 0 8px 0;
font-size: 11px;
}

#chewy #intraday_activityTable td { padding: 1px }

#chewy #bigBox {
width: 300px;
}

/*TEXT STYLES*/
#chewy .border4 .centrepoint {
padding: 0px;
background-color: #D0D0D0;
width: 1px;
}

#chewy .tabletext3 { 
margin: 3px 0; 
}

#chewy .tabletext3green { 
color:  #093; 
margin: 3px 0; 
}

#chewy .tabletext3red { 
color:  #c4151c; 
margin: 3px 0; 
}
#chewy .tabletext3blue { 
color:  #3979be; 
margin: 3px 0; 
}

#chewy .tabletext4 { 
font-size: 11px; 
font-weight: bold; 
margin: 3px 5px; 
}

#chewy .smalltype1 { 
color:  #666; 
font-size: 9px; 
}
#chewy .highlow { 
color:  #8cb1d9; 
font-size: 9px; 
}

#chewy #financialsContainer { clear: both }

#chewy .blockTitle { 
font-size: 11px; 
font-weight: bold; 
margin: 0 0 6px 0;
}

#chewy .blockTitleGreen { 
color:  #093; 
font-size: 11px; 
font-weight: bold; 
margin: 0 0 6px 0;
}
#chewy .blockTitlered { 
color:  #c4151c; 
font-size: 11px; 
font-weight: bold; 
margin: 0 0 6px 0;
}

#chewy .blockSubtitle { 
font-size: 11px;
font-weight: normal;
margin: 0 0 6px 0;
}

#chewy .newstitle { 
color:  #3979be; 
font-size: 11px; 
font-weight: bold; 
margin: 3px 0 0 0; 
}

#chewy .newssource { 
color:  #666; 
font-size: 11px; 
margin: 0; 
}

#chewy .news_options {
color:  #666666;
font-size:10px;
margin:6px ;
}

#chewy #competitorsContainer p { float: left }

#chewy #competitorsContainer p.noData { float: none }

#chewy #competitorsContainer p.news_options { float: right }

#chewy #competitorsContainer #competitor_table { clear: both; width: 100% }

#chewy #competitorsContainer #competitor_table #title td { 
font-weight: bold;
margin: 0 2px;
padding: 0;
font-size: 9px;
}

#chewy #competitorsContainer #competitor_table td.marketCap, 
#chewy #competitorsContainer #competitor_table td.weekLow { 
border-right: 1px solid #D0D0D0;
}

#chewy #competitorsContainer #competitor_table td.performance { 
padding: 0;
width: 100px;
}

#chewy #competitorsContainer #competitor_table td { padding: 3px 0 }

#chewy #competitorsContainer #competitor_table td.performance.negative { 
border-right: 1px solid #999999;
text-align: right;
}

#chewy #competitorsContainer #competitor_table .competitorSelected { 
background-color: #F0F0F0;
}

#chewy #chartContainer #chart {
height: 330px;
width: 330px;
padding: 0px;
border: 1px solid #D0D0D0; 
}

/*LINK SYTLES*/
#chewy .linktext { 
color:  #3979be; 
font-size: 11px; 
padding: 0 3px; 
}
a.menutab { 
text-decoration: none; 
}
a.menutab:hover { 
text-decoration: underline; 
}
a.linktext1 { 
color:  #3979be; 
text-decoration: none; 
}
a.linktext1:hover { 
color:  #3979be; 
text-decoration: underline; 
}

/*BORDER STYLES*/

#chewy .blockHeader { 
color:  #878787; 
font-size: 11px; 
font-weight: bold; 
padding: 2px 5px 2px 6px; 
}
#chewy .border1 { 
border-bottom: 1px solid #D0D0D0;
padding:0px;
}
#chewy .border2 { 
border-right: 1px solid #D0D0D0; 
border-bottom: 1px solid #D0D0D0; 
}
#chewy .border3 { 
border-right: 1px solid #D0D0D0; 
}
#chewy .border4 { 
border: 1px solid #D0D0D0; 
}
#chewy .borderNone {
padding:0px;
}
#chewy #competitorsContainer .border1 { 
border-bottom: 1px solid #D0D0D0;
}
#chewy #competitorsContainer.border2 { 
border-right: 1px solid #D0D0D0; 
border-bottom: 1px solid #D0D0D0; 
}

#chewy .menutab_on {
border-left:1px solid #B4B4B4;
border-right:1px solid #B4B4B4;
border-top:1px solid #B4B4B4;
border-bottom:1px solid #FFF;
color:  #000;
background-color:  #FFF;
font-size: 11px;
font-weight:bold;
margin: 0 0 -1px 0;
padding:2px 8px;
}
#chewy .menutab_off {
background-color:  #F4F4F4;
color:  #666666;
font-size: 11px;
font-style:normal;
font-weight:bold;
margin: 0px;
padding:2px 8px;
}


/* Chart items */

fieldset {
border: 0; 
margin: 0; 
padding: 0;
} 

#chewy iframe#chart {
width: 760px; 
height: 500px; 
margin-top: 1em; 
}

#exchangecodes {
font-size: small;
}

.caption {
margin-top: 0;
text-align: right;
font-size: 75%;
}

/* search */

#stockSearch form#searchSimple.nav {
background-color: transparent;
color: #000;
border: 0;
margin: 0;
padding: 0;
}

#stockSearch  form#searchSimple fieldset {
border: 0;
margin: 0;
padding: 0 0 1em;
}

#stockSearch  form#searchSimple label {
padding: 0 4px 0 0;
}

#stockSearch  form#searchSimple input, 
#stockSearch  form#searchSimple label {
font-size: 11px; 
font-weight: normal;
text-transform: none;
}

#stockSearch  form#searchSimple legend {
display: none;
}

#stockSearch  #searchSimple label {
text-transform: uppercase;
}

#stockSearch  #searchSimple label { 
font-weight: bold; 
}

* html #stockSearch {
float: right;
width: 315px;
white-space: nowrap;
}

* html #stockSearch {
margin-top: 10px;
}

#bigBoxHolder {
padding: 15px;
margin-top: 10px;
border: 1px solid #D0D0D0;
}

/* Find Out More */
#findOutMore { 
margin-top: 2px;
clear: both;
float: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
width: 120px;
color: #999999;
padding: 0;
margin-right: 10px;
}

#findOutMore h4, #findOutMore h5 {
display: inline;
font-size: 11px;
color: #000000;
line-height: 18px;
}

#findOutMore h5 { 
text-transform: uppercase;
padding-bottom: 4px;
padding-right: 12px;
background: transparent url(http://images.theglobeandmail.com/v5/content/ROB/styles/images/chevron_red_11x11.gif) top right no-repeat;
}

#findOutMore a:link, #findOutMore a:hover, #findOutMore a:active, #findOutMore a:visited {
font-size: 11px;
color: #333333;
text-decoration: none;
}

#findOutMore a:hover { text-decoration: underline }

#findOutMore img { 
border: 0;
margin-top: 10px;
}

#findOutMore ul {
background-color: #EFEFEF;
list-style-type: none;
margin: 0;
padding: 0;
}

#findOutMore li {
border-top: 1px solid #CCCCCC;
padding: 1px 0;
font-size: 11px;
}

#findOutMore li.active {
background: transparent url(/v5/images/icon/icon-redarrow.gif) left center no-repeat;
padding-left: 10px;
color: #333333;
}

#findOutMore ul li ul li { border-top: 0 }

#chewy #stockContent {
float: left;
width: 760px;
}

#chewy #stockContent #chartOptions{
margin-top: 10px;
background: #EFEFEF;
border: 1px solid #E5E5E5;
width: 100%;
}

#chewy #stockContent #chartOptions td.first { width: 65px }
#chewy #stockContent #chartOptions td.second { width: 365px }
#chewy #stockContent #chartOptions td.third { width: 180px }
#chewy #stockContent #chartOptions td * { vertical-align: text-bottom }


#chewy #chartForm {
margin-top: 10px;
font-size: 11px;
background: #EFEFEF;
border: 1px solid #E5E5E5;
width: 760px;
} * html #chewy #chartForm { padding: 2px; width: 756px }

/* Ajax message */
#chewy #changeSymbolError {
text-align: right;
position: absolute;
margin-top: 26px;
}

#chewy #changeSymbolError p {
background-color: #FFA3A9;
color: #560109;
border: 1px solid #750004; 
-moz-border-radius: 10px;
margin: 0;
padding: 10px 3px 20px 3px;
font-size: 11px;
}

#chewy #changeSymbolError span.close {
font-weight: bold;
cursor: pointer;
}

#chewy #changeSymbolError #errorMessage { text-align: center; display: block; width: 100% }

/* Oracle page hacks */
#chewy #db_oracle_table #quoteRibbon ul#tools { font-size: 11px }
#chewy #db_oracle_table #quoteRibbon ul#info { font-size: 12px; padding-bottom: 7px; margin-bottom: 5px; border-bottom: 1px solid #E4E4E4 }
#chewy #db_oracle_table #changeSymbol td { font-size: 11px }
#chewy #db_oracle_table > tbody > tr > td > table { clear: both }
#chewy #db_oracle_table form { margin: 0; vertical-margin: middle }
#chewy #db_oracle_table td td, #chewy #db_oracle_table p { font-size: 12px }
#chewy #db_oracle_table #searchSimple label { text-transform: none; font-weight: normal }
#chewy #db_oracle_table #findOutMore li { border-top: none; padding-bottom: 4px }
#chewy #db_oracle_table #findOutMore li#sectionHeader { border-top: 1px solid #CCCCCC }
.reports #chewy #db_oracle_table div#tradeNowMenu li a { font-size: 10px !important }
#chewy #quoteRibbon ul#tools li#help { display: none }
