/******** Swatches ********/
/******** Page layout ********/
body {
  background: #777;
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  border: 0;
}
#wrapper {
  width: 900px;
  height: 675px;
  margin-right: auto;
  margin-left: auto;
  background: white;
  position: relative;
  overflow: hidden;
}
#header {
  padding: 16px 30px 10px 30px;
  position: relative;
  height: 58px;
  background: #e9e9e9;
  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);
}
#mainarea {
  padding: 20px 20px 20px 0;
  position: relative;
}
.flash-version #mainarea {
  padding: 0;
}
.flash-version .not-in-flash-version {
  display: none;
}
#country-page {
  padding: 30px 30px 30px 60px;
  position: absolute;
  top: 16px;
  left: 0;
  width: 785px;
  -moz-border-top-right-radius: 8px;
  border-top-right-radius: 8px;
  -moz-border-bottom-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background: #e9e9e9;
  color: #333;
  border: 1px dotted #959595;
  height: 458px;
  z-index: 10;
  overflow: hidden;
}
/******** Default links ********/
a:link,
a:visited {
  color: #555;
  text-decoration: none;
}
a:hover,
a:active {
  color: #a49067;
  text-decoration: none;
}
/******** Header ********/
#masthead {
  color: white;
  position: absolute;
  top: 30px;
  left: 30px;
  height: 30px;
  width: 158px;
  background-image: url('goldmapheadingsprite.png');
  background-repeat: no-repeat;
}
#masthead:hover {
  background-position: 0 -30px;
}
#strap {
  width: 360px;
  position: absolute;
  right: 35px;
  text-align: right;
  top: 27px;
  font-size: 16px;
  color: #665a42;
  font-weight: bold;
}
/******** Nav ********/
#nav {
  font-size: 15px;
  width: 1200px;
  position: absolute;
  left: 20px;
  top: 15px;
  z-index: 10;
}
#nav .nav-section {
  display: inline-block;
  vertical-align: top;
  margin-right: 15px;
}
#nav .nav-section-label {
  padding-left: 0px;
  border-bottom: 1px solid #b4b4b4;
  color: #888;
  font-size: 13px;
  padding-bottom: 1px;
}
#nav #nav-button-_raw {
  width: 35px;
  height: 30px;
  margin-top: 16px;
  background-color: transparent;
  background-image: url(resetarrows.png);
  background-position: 0 -60px;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  padding: 0;
  border: 0;
}
#nav #nav-button-_raw.selected {
  background-position: 0 -200px;
}
#nav #nav-button-_raw:hover,
#nav #nav-button-_raw.selected:hover {
  background-position: 0 -30px;
}
#nav #addshading {
  text-align: right;
  padding-left: 10px;
}
#nav .nav-button,
#nav #shading-menu {
  background: #e9e9e9;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
  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);
  display: inline-block;
  padding: 6px;
  -moz-border-bottom-right-radius: 5px;
  border-bottom-right-radius: 5px;
  -moz-border-bottom-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-right: 1px dotted #959595;
  border-bottom: 1px dotted #959595;
  border-left: 1px dotted #959595;
  vertical-align: top;
}
#nav .nav-button.selected,
#nav #shading-menu.selected {
  background: #666666;
  color: white;
}
#nav .nav-spacer {
  width: 6px;
  height: 10px;
  display: inline-block;
}
#nav #shading-menu {
  background: #666666;
  width: 154px;
  color: white;
  text-align: right;
  cursor: pointer;
}
#nav #shading-menu .menu-title {
  color: white;
}
#nav #shading-menu ul {
  display: none;
}
#nav #shading-menu.dropdown {
  color: white;
}
#nav #shading-menu.dropdown a:link,
#nav #shading-menu.dropdown a:visited {
  color: white;
}
#nav #shading-menu.dropdown a:hover,
#nav #shading-menu.dropdown a:active {
  color: #a49067;
}
#nav #shading-menu.dropdown ul {
  display: block;
  padding: 0;
  vertical-align: top;
  margin: 0;
}
#nav #shading-menu.dropdown ul li {
  border-bottom: 1px dotted #999;
  padding: 6px;
  list-style-type: none;
}
/******** Map ********/
#maparea {
  position: relative;
  height: 550px;
  margin: 10px 0 0;
  top: 14px;
}
#maparea #loading {
  display: none;
  position: absolute;
  width: 220px;
  height: 19px;
  left: 320px;
  top: 187px;
}
#play #play-symbol {
  width: 158px;
  height: 158px;
  position: absolute;
  top: 165px;
  left: 348px;
  background-image: url(playsymbolsprite.png);
  background-repeat: no-repeat;
  cursor: pointer;
}
#play #play-text {
  top: 330px;
  left: 326px;
  position: absolute;
  font-size: 26px;
  width: 200px;
  text-align: center;
  line-height: 1em;
  color: #4a4231;
}
#play #play-text #play-intro {
  color: #4a4231;
  text-decoration: none;
  font-size: 36px;
  line-height: 1.3em;
  font-weight: bold;
}
#play:hover #play-symbol {
  background-position: 0 -158px;
}
#play:hover #play-text #play-intro {
  color: black;
}
/******** Infoarea ********/
#info-area {
  width: 130px;
  -moz-border-top-right-radius: 8px;
  border-top-right-radius: 8px;
  -moz-border-bottom-right-radius: 8px;
  border-bottom-right-radius: 8px;
  position: absolute;
  left: 0px;
  bottom: 80px;
  background: #666666;
  text-align: right;
  padding: 10px 10px 10px 20px;
  color: white;
  border: 1px dotted #959595;
  font-size: 13px;
  min-height: 70px;
}
#info-area #selected-country.no-map-data #map-separator,
#info-area #selected-country.no-shading-data #shading-separator {
  display: none;
}
#info-area #select-country {
  font-size: 18px;
  padding-left: 26px;
  color: #999;
  line-height: 1.1em;
}
#info-area #selected-country {
  display: none;
}
#info-area #selected-country #country-name {
  font-size: 18px;
  font-weight: bold;
  border-bottom: dotted 1px #999;
  margin-bottom: 10px;
  color: white;
}
#info-area #selected-country .topic {
  margin-top: 20px;
  font-weight: bold;
  font-size: 14px;
}
#info-area #selected-country .data-result {
  margin-top: 2px;
}
#info-area #selected-country .dataseparator {
  display: inline;
  margin: 0 2px;
  color: #999;
  position: relative;
  top: 1px;
}
#info-area #selected-country .year {
  font-size: 10px;
  display: inline;
}
#info-area #selected-country .rank {
  font-size: 10px;
  display: inline;
}
#info-area #selected-country #see-all-info,
#info-area #selected-country #see-sources {
  margin-top: 20px;
  font-size: 15px;
  padding-left: 8px;
}
#info-area #selected-country #see-all-info a:link,
#info-area #selected-country #see-sources a:link,
#info-area #selected-country #see-all-info a:visited,
#info-area #selected-country #see-sources a:visited {
  color: white;
}
#info-area #selected-country #see-all-info a:hover,
#info-area #selected-country #see-sources a:hover,
#info-area #selected-country #see-all-info a:active,
#info-area #selected-country #see-sources a:active {
  color: white;
  text-decoration: underline;
}
#info-area #selected-country #see-sources {
  margin-top: 4px;
}
.a-country-is-selected #info-area #select-country {
  display: none;
}
.a-country-is-selected #info-area #selected-country {
  display: block;
}
/* Map */
#map {
  height: 100%;
  width: 100%;
}
#map path {
  stroke: white;
  stroke-width: 0.3;
}
#map .country {
  cursor: pointer;
  fill: #a49067;
  -webkit-transition: fill 0.3s ease-in;
  -moz-transition: fill 0.3s ease-in;
  transition: fill 0.3s ease-in;
}
#map #country-tf,
#map #country-aq {
  fill: white !IMPORTANT;
}
#map #selected-country-outline {
  fill: none;
  stroke-width: 4;
}
#map #selected-country-fill {
  stroke-width: 0;
  fill: #666;
}
#map .selected-country {
  fill: #666 !IMPORTANT;
}
#map #selected-country-outline,
#map #selected-country-fill {
  pointer-events: none;
}
.shading-cascade #map .country {
  fill: #CCC;
  -webkit-transition: fill 1s ease-in;
  -moz-transition: fill 1s ease-in;
  transition: fill 1s ease-in;
}
.shading-cascade #map .country.cascaded {
  fill: #A49067;
}
/* Controls */#controlscontainer {
  display: none;
  /* shown once map has loaded */

  width: 860px;
  position: absolute;
  bottom: 24px;
  left: 20px;
}
#controlscontainer #soundtrack {
  width: 100%;
  outline: none;
}
/* Country pages */#country-page #country-page-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-image: url("countryclose.png");
  background-position: 0 -20px;
  cursor: pointer;
}
#country-page #country-page-close:hover {
  background-position: 0 0;
}
#country-page #country-page-map {
  position: absolute;
  top: 100px;
  right: 60px;
  width: 300px;
  height: 360px;
}
#country-page #country-page-name {
  font-size: 30px;
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-weight: bold;
  color: #555;
  border-bottom: 1px dotted #999;
}
#country-page .country-page-data-title {
  margin: 30px 0 13px;
  font-weight: bold;
  color: #666;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: -1px;
}
#country-page #country-page-data {
  font-size: 14px;
  padding-left: 14px;
}
#country-page .country-page-data-row {
  margin-bottom: 10px;
}
#country-page .country-page-category {
  font-weight: bold;
  color: #a49067;
}
#country-page .country-page-result {
  padding: 0 6px;
}
#country-page .country-page-year,
#country-page .country-page-rank {
  font-size: 12px;
  color: #888;
}
#country-page .country-page-year {
  margin: 0 4px;
}
#country-page #country-page-nav-links {
  position: absolute;
  bottom: 10px;
  width: 780px;
  font-weight: bold;
}
#country-page #backtomap {
  position: absolute;
  left: 20px;
  bottom: 10px;
  margin-top: 50px;
}
#country-page #sourceslink {
  position: absolute;
  left: 220px;
  bottom: 10px;
  margin-top: 50px;
}
#country-page #goldfactslink {
  position: absolute;
  right: 20px;
  bottom: 10px;
  margin-top: 50px;
}
/**** Sources ****/
#sources {
  padding: 20px;
  width: 100%;
  position: relative;
}
.sources-column {
  width: 250px;
  position: absolute;
  top: 40px;
}
#sources-column-1 {
  left: 40px;
}
#sources-column-2 {
  left: 320px;
}
#sources-column-3 {
  left: 620px;
}
#sources-h1 {
  margin-left: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #a49067;
}
.sources-h2 {
  font-size: 14px;
  margin-top: 18px;
  font-weight: bold;
  color: #665a42;
}
.sources-h2-black {
  font-size: 16px;
  margin-top: 18px;
  font-weight: bold;
  color: black;
}
.sources-definition {
  font-size: 12px;
  margin-top: 4px;
}
.sources-source {
  font-size: 12px;
  margin-top: 4px;
}
.sources-source a:link,
.sources-source a:visited {
  text-decoration: underline;
}
body#sourcespage #backtomap {
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 35px;
  top: 520px;
}
#rankdefinition {
  position: absolute;
  left: 320px;
  top: 520px;
  width: 540px;
  font-size: 12px;
  font-style: italic;
}
/**** Legend ****/
#legendtext {
  font-size: 11px;
}
#legendtext p {
  margin: 5px 0;
}
.legendswatch {
  width: 12px;
  height: 12px;
  float: left;
  margin-right: 5px;
}
.legendtext {
  font-size: 11px;
}
