/*** Swatches ***/
/*** Fonts 

font-family:'Avenir LT W01 55 Roman';
font-family:'Avenir LT W01 85 Heavy';
font-family:'Avenir LT W01 95 Black';

***/
/*** Default links ***/
a:link,
a:visited {
  color: #555;
  text-decoration: none;
}
a:hover,
a:active {
  color: #00adee;
  text-decoration: none;
}
/*** Page layout ***/
body {
  background: white;
  font-family: 'Avenir LT W01 55 Roman', Helvetica, Arial, sans-serif;
  margin: 0;
  border: 0;
}
#wrapper {
  width: 900px;
  height: 618px;
  background: white;
  margin: 0 auto;
  position: relative;
  border: 1px solid #f0f0f0;
}
#header {
  background: #464747;
  position: relative;
  height: 94px;
}
#mainarea {
  position: relative;
  height: 524px;
  background: #f0f0f0;
}
#footer {
  color: white;
  position: relative;
  margin: 0 auto;
  font-size: 12px;
  width: 900px;
  height: 60px;
}
/*** Header ***/
#kilncredit {
  color: #999;
  font-size: 10px;
  text-align: right;
  padding-right: 10px;
  padding-top: 5px;
}
#mainnav {
  position: absolute;
  top: 34px;
  left: 50px;
  font-family: 'Avenir LT W01 85 Heavy', Helvetica, Arial, sans-serif;
  font-size: 25px;
}
#mainnav .mainnav-item {
  color: #333;
  margin-right: 24px;
  display: inline;
  background-color: #f8f8f8;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dedede));
  background-image: -moz-linear-gradient(top, #ffffff, #dedede);
  background-image: -o-linear-gradient(top, #ffffff, #dedede);
  background-image: -ms-linear-gradient(top, #ffffff, #dedede);
  background-image: linear-gradient(top, #ffffff, #dedede);
  border: #ccc solid 1px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  padding: 3px 8px;
}
#mainnav .mainnav-item:hover,
#mainnav .mainnav-item:active {
  color: #666;
  border-color: #bbb;
  background-color: #f8f8f8;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#d9d9d9));
  background-image: -moz-linear-gradient(top, #f8f8f8, #d9d9d9);
  background-image: -o-linear-gradient(top, #f8f8f8, #d9d9d9);
  background-image: -ms-linear-gradient(top, #f8f8f8, #d9d9d9);
  background-image: linear-gradient(top, #f8f8f8, #d9d9d9);
}
#mainnav .navdotselected .mainnav-item,
#mainnav .navdotselected:hover .mainnav-item {
  color: #d1232a;
  background-color: #f8f8f8;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dedede));
  background-image: -moz-linear-gradient(top, #ffffff, #dedede);
  background-image: -o-linear-gradient(top, #ffffff, #dedede);
  background-image: -ms-linear-gradient(top, #ffffff, #dedede);
  background-image: linear-gradient(top, #ffffff, #dedede);
  border: #ccc solid 1px;
}
#social {
  position: absolute;
  right: 30px;
  top: 16px;
  width: 100px;
}
#social #twittershare {
  margin-top: 4px;
}
#social #facebookshare {
  margin-top: 3px;
  margin-bottom: 6px;
}
/**** Panels ****/
#panels {
  width: 4500px;
  height: 524px;
}
#panel-frame {
  background: white;
  width: 900px;
  height: 524px;
  position: relative;
  left: 0;
  overflow: hidden;
}
.panel {
  width: 900px;
  height: 524px;
  float: left;
  background: #464747;
  position: relative;
}
#playicon {
  position: absolute;
  top: 120px;
  left: 350px;
  background-image: url('playsymbolsprite.png');
  width: 158px;
  height: 158px;
  margin: 0 auto;
}
#playicon:hover {
  background-position: 0 158px;
}
#controlscontainer {
  width: 840px;
  height: 45px;
  /* Audio controls are 45px high in IE 9; less in others */

  display: none;
  position: absolute;
  bottom: 10px;
  left: 30px;
}
body.torkie-audio #controlscontainer {
  display: block;
}
body.torkie-audio #grandad {
  display: none;
}
#controlscontainer #soundtrack {
  width: 100%;
  margin: 0;
  /* The Firefox default (as of FF 13) is to make the <audio> element 65px high, consisting of
     * 25px of controls beneath 40px of blank space. However we cannot make it fit tightly in FF
     * without breaking IE 9, which refuses to display the controls at a height of less than 45px.
     * Setting a height of greater than 25px causes a strange unsightly box in Safari. So between
     * all these considerations, a reasonable default is to set a max-height of 45px.
     */

  max-height: 45px;
}
/*** Map ****/
#panel-map {
  background: white;
}
#panel-map #map-bubbles-container svg {
  position: absolute;
  top: 70px;
  width: 900px;
  height: 524px;
}
#panel-map #map-bubbles-container svg .bubble circle.actual-bubble {
  fill: orange;
  stroke: white;
  stroke-width: 0;
  cursor: pointer;
}
#panel-map #map-bubbles-container svg .bubble circle.exchange {
  fill: #444;
}
#panel-map #map-bubbles-container svg .bubble text.exchange-name {
  fill: #666;
  text-anchor: middle;
  font-size: 15px;
}
#panel-map #map-bubbles-container svg .bubble text.value {
  fill: white;
  font-size: 24px;
  text-anchor: middle;
  font-weight: bold;
  pointer-events: none;
}
#panel-map #map-bubbles-container svg .bubble line {
  stroke-width: 2;
  stroke: red;
}
#mappage {
  position: relative;
  background: #a6a8ab;
}
#click-a-bubble {
  position: absolute;
  left: 355px;
  top: 412px;
  font-size: 26px;
  font-weight: bold;
  color: #dddddd;
}
#mapnav-category {
  position: absolute;
  top: 16px;
  left: 30px;
  width: 550px;
  font-size: 20px;
}
#mapnav-category .mapnav-item {
  display: inline;
  padding: 3px 8px;
  border-radius: 3px;
  moz-border-radius: 3px;
}
#mapnav-category .mapnav-item a:link,
#mapnav-category .mapnav-item a:visited {
  color: inherit;
}
#mapnav-category .mapnav-item:hover {
  background: #a6a8ab;
  color: white;
}
#mapnav-category .selected {
  color: #00adee;
}
#reserves-selector {
  position: absolute;
  right: 18px;
  top: 20px;
  text-align: center;
  font-size: 15px;
}
#reserves-selector .reserves-selector-option {
  padding: 2px 2px;
  border-radius: 2px;
  moz-border-radius: 2px;
}
#reserves-selector .reserves-selector-option a:link,
#reserves-selector .reserves-selector-option a:visited {
  color: inherit;
}
#reserves-selector .reserves-selector-option.selected {
  color: #00adee;
}
#reserves-selector .reserves-selector-option:hover {
  background: #a6a8ab;
  color: white;
}
.mapnav-explainer {
  position: absolute;
  top: 45px;
  left: 38px;
  font-size: 15px;
}
#mapnav-fuel {
  position: absolute;
  top: 260px;
  padding-left: 30px;
  left: 0;
  font-size: 24px;
}
#mapnav-fuel .mapnav-item {
  font-family: 'Avenir LT W01 85 Heavy';
  padding: 2px 10px;
  border-radius: 3px;
  moz-border-radius: 3px;
  margin-left: 10px;
  overflow: visible;
}
#mapnav-fuel .mapnav-item a:link,
#mapnav-fuel .mapnav-item a:visited {
  color: inherit;
}
#mapnav-fuel .mapnav-item.selected {
  background-image: url('selectedtriangle.png');
  background-repeat: no-repeat;
  background-position: -3px 10px;
}
#mapnav-fuel .mapnav-item#mapnav-fuel-all {
  color: #d1232a;
}
#mapnav-fuel .mapnav-item#mapnav-fuel-coal {
  color: #a6a8ab;
}
#mapnav-fuel .mapnav-item#mapnav-fuel-oil {
  color: #231f20;
}
#mapnav-fuel .mapnav-item#mapnav-fuel-gas {
  color: #00adee;
}
#mapnav-fuel .mapnav-item:hover {
  background: #f0f0f0;
}
#mapnav-label {
  padding: 2px 8px;
  font-size: 16px;
  text-transform: uppercase;
}
#mapimage {
  position: absolute;
  top: 70px;
}
#intensity-graph {
  display: none;
  width: 850px;
  background: white;
  height: 390px;
  position: absolute;
  top: 70px;
  left: 20px;
  z-index: 10;
}
#intensity-graph svg {
  width: 100%;
  height: 100%;
}
/*** Details pop-up ***/
#details {
  margin: 20px;
  position: relative;
  width: 862px;
  height: 430px;
  overflow: hidden;
  display: none;
}
#details #details-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  pointer-events: none;
}
#details #details-contents {
  display: none;
  position: absolute;
  width: 784px;
  height: 380px;
  padding: 24px 38px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  background: #00adee;
  border: 1px dotted #959595;
  color: white;
}
#details #details-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 20px;
  height: 20px;
  background-image: url("detailsclose.png");
  background-position: 0 -20px;
}
#details #details-close:hover {
  background-position: 0 0;
}
#details #details-h1 {
  font-size: 30px;
  font-family: 'Avenir LT W01 85 Heavy', Helvetica, Arial, sans-serif;
  color: white;
  padding-bottom: 6px;
  border-bottom: 1px dotted white;
}
#details #details-main {
  background: #F7F2F0;
  position: relative;
  height: 332px;
  width: 100%;
  border-bottom-right-radius: 5px;
  -moz-border-bottom-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  -moz-border-bottom-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
}
#details #details-exchange-code {
  font-size: 20px;
  margin-left: 8px;
}
#details .details-h2 {
  margin: 8px 0 8px;
  font-family: 'Avenir LT W01 85 Heavy', Helvetica, Arial, sans-serif;
  color: #d1232a;
  font-size: 20px;
  border-bottom: 1px dotted #d1232a;
}
#details .details-column {
  position: absolute;
  font-size: 16px;
  line-height: 24px;
  width: 345px;
}
#details #details-column-left {
  left: 16px;
  top: 10px;
}
#details #details-column-right {
  left: 400px;
  top: 10px;
}
#details .details-company {
  position: relative;
  height: 25px;
}
#details .details-company-ticker {
  position: absolute;
  left: 0;
  top: 0;
  color: #d1232a;
}
#details .details-company-name {
  position: absolute;
  left: 88px;
  top: 0;
  height: 24px;
  overflow: hidden;
  color: black;
}
#details .details-company-reserves {
  position: absolute;
  left: 280px;
  top: 0;
}
#details #details-nav-links {
  position: absolute;
  bottom: 10px;
  width: 780px;
  font-family: 'Avenir LT W01 85 Heavy', Helvetica, Arial, sans-serif;
}
#details #data-row-carbonintensity {
  margin-top: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: 20px;
  font-family: 'Avenir LT W01 85 Heavy', Helvetica, Arial, sans-serif;
  border-bottom: 1px dotted #d1232a;
}
#details .data-row {
  color: #d1232a;
  margin-bottom: 8px;
  font-size: 17px;
}
#details .data-result {
  color: black;
}
#backtomap {
  position: absolute;
  left: 0px;
  bottom: 20px;
  margin-top: 50px;
  font-size: 20px;
}
#backtomap a:link,
#backtomap a:visited {
  color: white;
}
#backtomap a:hover,
#backtomap a:active {
  text-decoration: underline;
}
/*** Take action ***/
#takeactioncontent {
  padding: 24px 50px;
  position: relative;
  background: #f0f0f0;
  height: 524px;
}
.takeaction-paragraph {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.4em;
}
.takeaction-paragraph a:link,
.takeaction-paragraph a:visited {
  color: #00adee;
  text-decoration: underline;
}
.takeaction-paragraph a:hover,
.takeaction-paragraph a:active {
  color: #464747;
  text-decoration: underline;
}
.takeaction-block-column {
  width: 45%;
  margin: 20px 20px 0 0;
  display: inline-block;
  vertical-align: top;
}
.takeaction-block-column .takeaction-paragraph {
  font-size: 14px;
}
.takeaction-h1 {
  color: #666;
  font-size: 26px;
  font-weight: bold;
}
.takeaction-h2 {
  color: #666;
  font-size: 20px;
  font-weight: bold;
  margin-top: 14px;
}
.takeaction-h2-subtitle {
  color: #00adee;
  font-size: 18px;
  font-weight: bold;
  font-style: normal;
}
#pension-tool {
  margin-top: 14px;
  padding: 20px 20px 0 30px;
  background: white;
  border: 1px dotted #999;
  font-size: 14px;
  height: 200px;
  position: relative;
}
#your-details {
  margin-top: 20px;
}
.form-field-label {
  margin-top: 6px;
}
#takeaction-dropdown-title {
  margin: 0 0 4px 0;
}
#email {
  position: absolute;
  left: 300px;
  top: 20px;
  text-align: right;
}
#email-text {
  display: block;
}
#email-submit {
  display: inline;
  margin-top: 6px;
}
.form-field {
  position: absolute;
  left: 110px;
  width: 140px;
}
/*** Share ***/
#panel-share {
  background: #464747;
  position: relative;
}
#share-column1,
#share-column2 {
  position: absolute;
  width: 435px;
  top: 20px;
}
#share-column1 {
  left: 20px;
}
#share-column2 {
  left: 450px;
}
.share-block {
  background: #efefef;
  padding: 20px;
  margin: 0 20px 30px;
  border: 8px solid white;
  min-height: 120px;
}
.share-block a:link,
a:visited {
  color: #00adee;
}
.share-block a:link,
a:visited {
  text-decoration: underline;
}
#share-column1 {
  float: left;
}
#share-column2 {
  float: left;
}
.share-h1 {
  color: black;
  font-size: 24px;
  font-weight: normal;
}
.share-icon {
  width: 50px;
  height: 50px;
  margin: 10px 10px 0 0;
  background-repeat: no-repeat;
  display: inline-block;
}
.share-text {
  font-size: 16px;
  margin-top: 10px;
}
.share-icon:hover {
  background-position: 0 -50px;
}
/*** Share images from YOOtheme - http://www.yootheme.com***/
#sharepage-twitter {
  background-image: url('twittersprite.png');
}
#sharepage-facebook {
  background-image: url('facebooksprite.png');
}
#sharepage-linkedin {
  background-image: url('linkedinsprite.png');
}
/*** Credits ***/
#kiln {
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 0;
  color: #a6a8ab;
}
#kiln a:link,
#kiln a:visited {
  color: #888;
}
#kiln a:hover,
#kiln a:active {
  color: #00adee;
}
/*** Failure ***/
#fail {
  padding: 100px 160px;
  text-align: center;
}
.fail-h1 {
  font-weight: bold;
  font-size: 25px;
}
.fail-p {
  font-size: 20px;
  margin-top: 20px;
}
.fail-p a:link,
.fail-p a:visited {
  color: #00adee;
  font-weight: bold;
}
#grandad {
  height: 20px;
  width: 680px;
  background: #666;
  color: white;
  margin: 10px auto;
  padding: 10px 10px 6px;
  text-align: center;
}
#grandad a:link,
#grandad a:visited {
  color: white;
}
#grandad a:hover,
#grandad a:active {
  color: yellow;
}
body.torkie-audio #grandad {
  display: none;
}
#panel-intro object {
  width: 100%;
  height: 100%;
}
#panel-intro svg text {
  fill: white;
  text-anchor: middle;
}
#panel-intro svg text.number {
  font-size: 72px;
  font-weight: bold;
}
#panel-intro svg text.unit {
  font-size: 24px;
}
