html, body {
	font-family: SourceSansPro-Light, Arial, sans-serif;
	font-weight: 300;
	background-color: #ffffff;
}

html {
  font-size: 16px;
}

body {
  font-size: 62.5%;
}

/*header and other setup*/

section#ReutersGraphicsCharts {
	width:100%;
	margin: 0 auto 0 auto;
	position:relative;
	
}

section#ReutersGraphicsCharts header {
  position: fixed;
  text-align: center;
  top:0;
  left:-2px;
  width: 100%;
  padding: 10px 0 20px 0;
  background: #FFF;
  -webkit-box-shadow: 0 0px 10px -2px #cccccc;
  -moz-box-shadow: 0 0px 10px -2px #cccccc;
  box-shadow: 0 0px 10px -2px #cccccc;
  z-index: 10000000;
}

section#ReutersGraphicsCharts #logo {
	background-image: url('thelogo.png');
	height:25px;
	background-position: center center;
	background-repeat: no-repeat;
	width:100%;
	margin-top:7px;
}

section#ReutersGraphicsCharts #mainGraphic {
  padding-bottom: 40px;
  width: 800px;
  margin: 50px auto 120px auto;
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
}


/*Main sections*/

h1 {
  font-family: SourceSansPro-ExtraLight, Arial, sans-serif;
  font-weight: 200;
  font-size: 7em;
  width: 100%;
  text-align: center;
  display: inline-block;
  margin: 45px auto 10px auto;
  position: relative;
}

h2 {
  font-family: SourceSansPro-Regular, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.8em;
  margin: 30px auto 5px auto;
  width: 100%;
}

p {
  font-weight:300;
  font-family: SourceSansPro-Light, Arial, sans-serif;
  font-size: 1.8em;
  margin:0 auto;
  line-height: 120%;
}

p.main{
  width:100%;
  margin: 10px auto 60px auto;
  text-align: center;
  position: relative;
  font-style: italic;
  font-size:18px;
}

p.descriptions {
  position: relative;
  width:100%;
  margin-top:8px;
  /*margin-bottom:10px;*/
}

p.source {
  color:grey;
  margin-top:35px;
  margin-bottom:-100px;
  font-size: 1.4em;
  line-height: normal;
  width: 100%;
}

.absolute{
  position: absolute;
  width: 35%;
  /*top: -10px;*/
}

/*IMAGES*/

hr.faded {clear: both; float: none; width: 100%; height: 1px;margin: 30px 0px 40px 0px;border: none; background: #ddd; background-image: -webkit-gradient(       linear,       left bottom,       right bottom,       color-stop(0, rgb(255,255,255)),       color-stop(0.3, rgb(221,221,221)),       color-stop(0.7, rgb(221,221,221)),       color-stop(1, rgb(255,255,255)) );background-image: -moz-linear-gradient(
left center,rgb(255,255,255) 0%, rgb(221,221,221) 30%,
rgb(221,221,221) 70%,rgb(255,255,255) 100%
  );}

.pictureBoxes {
  margin: 20px 0px 0px 0px;
    background-size: 100%;
    background-repeat: no-repeat;
    overflow: hidden;
}

#balance {
  background-image: url(http://product.datastream.com/dscharting/gateway.aspx?guid=341c7833-2230-473e-8cdb-15bba14a08bf&chartname=OPEC%20demand%20supply&groupname=OPEC&date=20140804&owner=ZRTN277&action=REFRESH);
 background-position: 0 -40px; 
 padding-bottom: 41%; 
  }

#legend {
  background-image: url(../img/legend.png);
  padding-bottom: 3.3%;

}

#legend2 {
	background-image: url(../img/legend2.png);
  padding-bottom: 3.3%;

	
}

#breakeven {
  background-image: url(http://product.datastream.com/dscharting/gateway.aspx?guid=1d8ca787-ae62-4bfb-b3da-ac0d43364992&chartname=Oil%20production%20cost%20by%20country&groupname=Production&date=20140912&owner=ZRTN277&action=REFRESH);
  background-position: 0 -60px;
  padding-bottom: 90%;

}


#impact {background-image: url(https://product.datastream.com/dscharting/gateway.aspx?guid=29b3a5c0-d6ef-4803-be17-5e1138cbd914&chartname=Crude%20oil%20price%20change%20in%20various%20currencies%20L12M&groupname=Prices&date=20141016&owner=ZRTN277&action=REFRESH);
  background-position: 0 -60px;
  padding-bottom: 55%;
}

#brent {
  background-image: url(http://product.datastream.com/dscharting/gateway.aspx?guid=c1abf3b8-f5e2-4c32-8d89-8729332ef37b&chartname=Oil%20price%20in%20different%20EM%20currencies%20-%20bar%20chart&groupname=Markets&date=20141013&owner=ZRTN277&action=REFRESH);
  background-position: 0 -100%;
  padding-bottom: 80%;
}

#russia {
  background-image: url(http://product.datastream.com/dscharting/gateway.aspx?guid=abffd63b-7417-4cbb-b134-608ded241d7e&chartname=Crude%20Oil%20vs.%20Russia%20Reserves&groupname=Prices&date=20120313&owner=ZRTN224&action=REFRESH);
  background-position: 0 -132%;
  padding-bottom: 60%;
}

/*FOOTER*/

footer a {
  text-decoration: none;
  color:black;
  font-family: SourceSansPro-Bold;
}


footer {
  float: left;
  background-color: #F3F3F3;
  border-top: 1px solid #EAEAEA;
  color: #aaa;
  width: 100%;
  position: relative;
  bottom: 0;
}

footer .wrapper {
  padding: 1.8em 0;
}

footer a:link, footer a:visited {
  color: #949494;
}

footer a:hover, footer a:active, footer a:focus {
  color: #444444;
}

footer ul {
  margin-bottom: 1.9em;
  color: #ddd;
  font-size: 1em;
  text-align: center;
}

footer li {
  display: inline;
  border-right: 1px solid #bebebe;
  margin-right: .3em;
  padding-right: 0.6em;
}

footer li.last-child {
  border: none;
}

footer p {
  font-size: 1em;
  line-height: 1.6em;
}


/*MEDIA QUERIES*/

@media (max-width: 800px) {

  section#ReutersGraphicsCharts #mainGraphic{ 
    padding-bottom: 40px;
    width:100%;
    margin: 40px auto 100px auto;
    position: relative;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px), (max-width:600px) {

  section#ReutersGraphicsCharts header {
    text-align: center;
    padding: 4px 0 10px 0;
  }

  section#ReutersGraphicsCharts #logo {
    background-image: url('thelogo@2x.png');
    height:22px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width:100%;
    margin-top:7px;
  }

  section#ReutersGraphicsCharts #mainGraphic{
    width: 94%;
    margin-bottom: 110px;
  }

  .share-toolbar{
    display: none;
  }

  h1 {
    text-align: left;
    font-size: 4em;
    top: -24px;
    margin-bottom: -14px;
  }

  h2 {
    text-align: left;
    font-size: 1.8em;
  }

  p {
    text-align: left !important;
    font-size: 1.5em;
  }

  p.main {
  margin-top: 10px;
  margin-bottom: 40px;
  }

  .absolute {
    width: 100%;
    position: relative;
  }
}



/*FONTS*/

@font-face {
  font-family: 'SourceSansPro-ExtraLight';
  font-style: normal;
  font-weight: 200;
  src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/toadOcfmlt9b38dHJxOBGC-IiwWNzQT_LXAtr-Ee9Pw.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-Light';
  font-style: normal;
  font-weight: 300;
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/toadOcfmlt9b38dHJxOBGMVNtom4QlEDNJaqqqzqdSs.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-Regular';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/ODelI1aHBYDBqgeIAH2zlNHq-FFgoDNV3GTKpHwuvtI.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-Semibold';
  font-style: normal;
  font-weight: 600;
  src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/toadOcfmlt9b38dHJxOBGCmgpmuQqK2I-L2S9cF65Ek.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-Bold';
  font-style: normal;
  font-weight: 700;
  src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/toadOcfmlt9b38dHJxOBGIqjGYJUyOXcBwUQbRaNH6c.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-Black';
  font-style: normal;
  font-weight: 900;
  src: local('Source Sans Pro Black'), local('SourceSansPro-Black'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/toadOcfmlt9b38dHJxOBGC7eGk4PJkA83J1AXCmgUfc.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-ExtraLightIt';
  font-style: italic;
  font-weight: 200;
  src: local('Source Sans Pro ExtraLight Italic'), local('SourceSansPro-ExtraLightIt'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/fpTVHK8qsXbIeTHTrnQH6OE3EfhCMemg4BxrY2mmJD_3rGVtsTkPsbDajuO5ueQw.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-LightIt';
  font-style: italic;
  font-weight: 300;
  src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/fpTVHK8qsXbIeTHTrnQH6H7XMO6S-yJpg1torQFmnv33rGVtsTkPsbDajuO5ueQw.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-It';
  font-style: italic;
  font-weight: 400;
  src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/M2Jd71oPJhLKp0zdtTvoM_bce-VcyLJMRR1FC9qWbU8.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-SemiboldIt';
  font-style: italic;
  font-weight: 600;
  src: local('Source Sans Pro Semibold Italic'), local('SourceSansPro-SemiboldIt'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/fpTVHK8qsXbIeTHTrnQH6J4LxuTxC3JbLqy8IUt0K1T3rGVtsTkPsbDajuO5ueQw.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-BoldIt';
  font-style: italic;
  font-weight: 700;
  src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldIt'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/fpTVHK8qsXbIeTHTrnQH6PgYMAt3u4NmhhzLLLPJ5qH3rGVtsTkPsbDajuO5ueQw.woff) format('woff');
}

@font-face {
  font-family: 'SourceSansPro-BlackIt';
  font-style: italic;
  font-weight: 900;
  src: local('Source Sans Pro Black Italic'), local('SourceSansPro-BlackIt'), url(http://themes.googleusercontent.com/static/fonts/sourcesanspro/v5/fpTVHK8qsXbIeTHTrnQH6MJvEBP8Mx4XcuTrPnlPwTr3rGVtsTkPsbDajuO5ueQw.woff) format('woff');
}

/* SHARE BUTTON STUFF */

div.article-share {
  position:fixed;
  width: 100px;
  left:0px;
  top:22px;
}

div.share-toolbar {
  width: auto;
}

div.article-share div.share-toolbar div.share-icon {
  float: right;
  margin: 0 0 0 10px;
}

div.article-share div.share-toolbar div.share-buttons-container {
  left: -50px;
  top: 26px;
}

#share-toolbar, .share-buttons-wrapper {
  position: absolute;
  padding-top: 15px;
  background: white;
  border: 1px solid #e1e1e1;
  height: 35px;
  width: 415px;
  z-index: 2;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

#share-toolbar .fb, .share-buttons-wrapper .fb {
  display: inline-block;
  width: 125px;
  height: 20px;
  margin-left: 10px;
  border: none;
}

#share-toolbar .twitter, .share-buttons-wrapper .twitter {
  margin-left: 15px;
  width: 80px;
  height: 20px;
}

#share-toolbar .IN-widget, .share-buttons-wrapper .IN-widget {
  margin-left: 15px;
}

#share-toolbar .plusone, .share-buttons-wrapper .plusone {
  display: inline-block;
  height: 20px;
  width: 32px;
  margin-left: 15px;
}

.share-toolbar {
  z-index: 2;
  width: 20px;
  position: absolute;
}

.share-toolbar .share-more:hover {
  background-position: 0px -60px;
}

.share-toolbar .share-buttons-container {
  width: 0px;
  height: 55px;
  left: -5px;
  top: 39px;
  -webkit-transition: left, opacity, 250ms ease-out;
  -moz-transition: left, opacity, 250ms ease-out;
  -o-transition: left, opacity, 250ms ease-out;
  transition: left, opacity, 250ms ease-out;
  overflow: hidden;
  position: absolute;
  z-index: 99;
  opacity: 0;
}

.share-toolbar .open.share-buttons-container {
  display: block;
  width: 230px;
  opacity: 1;
  left: 0px;
  z-index: 900;
}

.share-toolbar .share-buttons-wrapper {
  width: 183px;
  position: absolute;
  top: 0px;
  left: 30px;
}

.share-toolbar .share-icon {
  position: relative;
  float: left;
  width: 20px;
  height: 20px;
  margin-top: 10px;
  padding-top: 0;
  background: transparent url(../css/share_sprite-gray-20x20.png) no-repeat;
  cursor: pointer;
}

.share-toolbar .share-icon .share-iframe {
  display: block;
  width: 0;
  height: 0;
  opacity: 0;
  padding: 0;
  border: 0;
  background: #FFFFFF;
  position: absolute;
  top: -6px;
  left: -5px;
  overflow: hidden;
}

.share-toolbar .share-icon.open {
  z-index: 999;
}

.share-toolbar .share-icon.open .share-iframe {
  opacity: 1;
  width: auto;
  height: 20px;
  border: 1px solid #dadada;
  padding: 6px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  box-shadow: 0 2px 0 #eaeaea;
  -webkit-box-shadow: 0 2px 0 #eaeaea;
  -moz-box-shadow: 0 2px 0 #eaeaea;
}

.share-toolbar .share-icon:first-child {
  margin: 0px;
}

.share-toolbar .share-more {
  background-position: 0px -40px;
  cursor: pointer;
  height: 17px;
}

.share-toolbar .fb-icon {
  background-position: 0px 0px;
}

.share-toolbar .fb-icon .share-iframe {
  width: 125px;
}

.share-toolbar .fb-icon .share-iframe .fb {
  display: inline-block;
  width: 125px;
  height: 20px;
  border: none;
}

.share-toolbar .twitter-icon {
  background-position: 0px -20px;
}

.share-toolbar .twitter-icon .share-iframe .twitter {
  width: 80px;
}

div.share-toolbar div.share-icon:hover div.share-iframe {
  display: block;
  opacity: 1;
  width: auto;
  height: auto;
  border: 1px solid #E1E1E1;
  border-bottom: 4px solid #E1E1E1;
  padding: 6px 5px;
}