@import url(reset.css);

body {
	background: #fff;
	color: #000;
	font-family: Verdana, Arial, sans-serif;
	font-size: 11px;
}

h1 {
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: normal;
	margin: 0 0 10px;
}

a {
	color: #d50202;
	text-decoration: none;
}
a:hover { text-decoration: underline; }

.note {
	color: #999;
	font-size: 10px;
	margin: 0 0 4px;
}

/*=wrap
--------*/
#wrap {
	margin: 0;
	padding: 0px; 
	width: 940px;
}


/*=page head/foot
------------------*/
/*.book-end { padding-bottom: 15px; }*/
.book-end .col {
	float: left;
	margin-bottom: 30px;
	width: 400px;
}
.book-end .col + .col { margin-left: 65px; }
.book-end .content { margin-bottom: 40px; }
.book-end p {
	font-size: 12px;
	line-height: 1.8;
	margin: 0 0 12px;
}
#page-foot {
	border-top: 4px solid #e6e6e6;
	margin-top: 20px;
	padding-top: 24px;
}
#page-foot h1 {
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
#page-foot h1 img {
	margin-left: 20px;
	vertical-align: bottom;
}
#page-foot .block {
	clear: left;
	margin-bottom: 20px;
}
#page-foot .block h2, #page-foot .block p, #page-foot .block ul { font-size: 10px; }


/*=axis changers
-----------------*/
.axis-changer {
	border-top: 5px solid #e6e6e6;
	padding: 10px 0 12px;
}
.axis-changer.performance { position: relative; }
.axis-changer h2 {
	font-family: Georgia, serif;
	font-size: 12px;
	margin: 0;
	text-transform: uppercase;
}
.axis-changer .note { margin: 2px 0 10px; }
.axis-changer fieldset { width: 620px; }
.axis-changer .field.bool {
	float: left;
	margin: 0 8px 12px 0;
}
.axis-changer .field.bool input {
	margin: 0;
	vertical-align: middle;
}
.axis-changer .field.bool label {
	font-size: 12px;
	vertical-align: middle;
}
#reset-performance {
	background: #333;
	color: #fff;
	font-size: 9px;
	margin-left: 10px;
	padding: 3px 12px;
	position: absolute;
	right: 1px;
	text-decoration: none;
	text-transform: uppercase;
	top: 6px;
}
#reset-performance:hover { background: #d50202; }



/*=graph wrap
--------------*/
#graph-wrap {
	border-top: 1px dotted #111;
	margin: 2px 0 0;
    padding: 20px 0 0;
	position: relative;
}


/*=filter
----------*/
.yearfilter{
	width: 580px;
}
.yearfilter ul {
	font-size: 10px;
	font-weight: bold;
	height: 23px;

	list-style-type:none;
}
.yearfilter li {
	cursor: pointer;
	float: left;
	margin: 0 9px 0 0;

	display:inline;
}
.yearfilter li:hover {
	background: #d50202;
}
.datasetselect {
	cursor:pointer;
	margin: 0 9px 0 0;
	text-align: center;
	background: #333;
	color: #fff;
	padding: 5px 0 6px;
	text-align: center;
	text-decoration: none;
	width: 110px;
}
.datasetselected {
	cursor:pointer;
	margin: 0 9px 0 0;
	text-align: center;
	background: #d50202;
	color: #fff;
	padding: 5px 0 6px;
	text-align: center;
	text-decoration: none;
	width: 110px;
}
.filter {
	border-bottom: 5px solid #d50202;
	float: left;
	position: relative;
	width: 580px;
	z-index: 100;
}
.filter ul {
	font-size: 10px;
	font-weight: bold;
	height: 40px;
	text-transform: uppercase;
	left:0px;
	position:relative;
}
.filter .filtered { height: 52px; }
.filter li {
	cursor: pointer;
	float: left;
	margin: 0 9px 0 0;
}
.filter li a {
	background: #333;
	color: #fff;
	display: block;
	padding: 5px 0 6px;
	text-align: center;
	text-decoration: none;
	width: 110px;
}
.filter li a:hover, .filter li:hover > a, .filter li a.current,
.filter .filtered .market-cap.current > a, .filter .filtered .compensation.current > a { background: #d50202; }
.filter li ul {
	bottom: 0;
	display: none;
	font-size: 9px;
	font-weight: normal;
	height: 22px;
	left: 7px;
	position: absolute;
	text-transform: none;
	z-index: 1;
}
.filter li.current ul { display: block; }
.filter li li {
	cursor: default;
	height: 22px;
	margin: 0;
}
.filter .market-cap li a, .filter .compensation li a {
	background: transparent;
	color: #333;
	height: 21px;
	padding: 1px 13px 0 12px;
	width: auto;
}
.filter .market-cap li a:hover, .filter .compensation li a:hover,
.filter .market-cap li a.current, .filter .compensation li a.current { color: #d50202; }
.filter .market-cap li a.current, .filter .compensation li a.current { background: url(http://beta.images.theglobeandmail.com/static/ROB/executive-compensation/2012/images/filter-red-arrow.png) 50% 100% no-repeat; }


/*=industry*/
.filter .industry {
	height: 40px;
	/*position: relative;*/
}
.filter .industry ul {
	background: url(http://beta.images.theglobeandmail.com/static/ROB/executive-compensation/2012/images/industry-filter-arrow.png) 47px 0 no-repeat;
	bottom: auto;
	font-weight: bold;
	height: auto;
	left: 0px;
	padding-top: 7px;
	top: 25px;
	width: 170px;
	z-index: 100;
}
.filter .industry:hover ul { display: block; }
.filter .industry li {
	float: none;
	height: auto;
	margin: 0;
	position: static;
}
.filter .industry li a {
	padding: 12px 5px 10px;
	width: 160px;
}


/*=show/hide company details
-----------------------------*/
.show-hide {
	border-bottom: 5px solid #d50202;
	float: right;
	height: 40px;
	margin-bottom: 6px;
	position: relative;
	width: 330px;
}
.show-hide.filtered { height: 52px; }
.show-hide a {
	background: #333;
	bottom: 5px;
	color: #fff;
	display: none;
	font-size: 9px;
	padding: 3px 12px;
	position: absolute;
	right: 0;
	text-decoration: none;
	text-transform: uppercase;
}
.show-hide a:hover { background: #d50202; }

/*=graph
---------*/
#graph {
	float: left;
	height: 450px;
	position: relative;
	width: 580px;
	z-index: 1;
}


/*=details sidebar
-------------------*/
#details-wrap {
	float: right;
	margin-top: 20px;
	width: 330px;
	height: 440px;
}
#details-wrap h1 {
	font-family: Verdana, Arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	margin: 0 0 9px;
	text-transform: uppercase;
}

/*=pre-details*/
.pre-details { padding: 0 2px; }
.show-details .pre-details { display: none; }
.block { margin-bottom: 28px; }
.block h2 {
	font-size: 12px;
	font-weight: bold;
	margin: 0 0 12px;
	text-transform: uppercase;
}
.block p {
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 2px;
}
.block ul {
	font-size: 12px;
	line-height: 1.4;
	margin: 0 0 2px 40px;
}

/*=quadrants*/
.quadrants {
	background: url(http://beta.images.theglobeandmail.com/static/ROB/executive-compensation/2012/images/quadrants.png) 0 0 no-repeat;
	height: 245px;
	position: relative;
	width: 313px;
}
.quadrants ul {
	font-size: 10px;
	list-style: none;
	margin: 0;
	text-align: center;
}
.quadrants .quadrant {
	max-height: 100px;
	position: absolute;
	width: 127px;
}
.quadrants .quadrant.q1 {
	left: 11px;
	top: 32px;
}
.quadrants .quadrant.q2 {
	left: 167px;
	top: 38px;
}
.quadrants .quadrant.q3 {
	left: 11px;
	top: 154px;
}
.quadrants .quadrant.q4 {
	left: 167px;
	top: 159px;
}



/*=ceo details*/
.ceo-details {
	display: none;
	margin-bottom: 8px;
	padding: 0 5px;
	height: 190px;
}
.show-details .ceo-details { display: block; }
.ceo-details h1 { margin-bottom: 18px; }
.ceo-details .summary {}
.ceo-details .summary .thumb {
	float: left;
	text-align: center;
	width: 88px;
}
.ceo-details .summary .data {
	float: right;
	width: 220px;
}
.ceo-details .summary .data table {
	margin-bottom: 6px;
	width: 100%;
}
.ceo-details .summary .data th {
	color: #333;
	font-weight: normal;
	padding: 0 0 3px;
	text-align: left;
	vertical-align: top;
	width: 80px;
}
.ceo-details .summary .data td {
	color: #d50202;
	font-weight: bold;
	padding: 0 0 4px;
	vertical-align: top;
}

/*=relative performance*/
.relative-performance {
	background: #f7f7f7;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	display: none;
	margin-bottom: 30px;
	padding: 10px;
}
.show-details .relative-performance { display: block; }
.relative-performance .data {
	background: url(http://beta.images.theglobeandmail.com/static/ROB/executive-compensation/2012/images/slider-grid.png) 162px 100% no-repeat;
	padding-bottom: 15px;
}
.relative-performance .data table { width: 100%; }
.relative-performance .data th {
	font-size: 10px;
	font-weight: normal;
	padding: 6px 0;
	text-align: left;
	vertical-align: middle;
	width: 157px;
}
.relative-performance .data td {
	width: 137px;
	vertical-align: middle;
}
/*=slider*/
.slider {
	background: url(http://beta.images.theglobeandmail.com/static/ROB/executive-compensation/2012/images/slider-bar.png) 0 50% no-repeat;
	height: 13px;
	margin-left: 1px;
	position: relative;
	width: 123px;
}
.slider .marker {
	position: absolute;
	left: 0;
	top: 0;
	width: 13px;
}

.ipad-instructions {
	display: none;
	font-style: italic;
	margin: 18px 0 0 71px;
}
.ipad .ipad-instructions { display: block; }
