html, body {
  height: 100%;
  overflow: auto;
}
html.lock-scrolling,
html.lock-scrolling body {
  overflow: hidden;
}

.container {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.container.small {
  max-width: 800px;
}

/* Homepage */
.logo {
  width: 200px;
  margin: 8px 0;
}
.hero {
  min-height: 600px;
}
.nav {
  position: relative;
  float: right;
  width: 70%;
  text-align: right;
}
.nav li {
  display: inline-block;
  margin-left: 40px;
}
.nav li.dropdown {
  width: 20px;
}
.nav .dropdown-toggle {
  position: absolute;
  top: -2px;
  right: 0px;
  cursor: pointer;
}
.nav .dropdown-toggle .bar {
  width: 20px;
  height: 0;
  margin: 4px 0;
}
.nav .dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 23px;
  z-index: 100;
  border-radius: 5px;
  overflow: hidden;
}
.nav .dropdown.open .dropdown-content {
  display: block;
}
.nav .dropdown .dropdown-content a {
  display: block;
}
.nav .dropdown .dropdown-content a {
  padding: 6px 12px;
  margin: 0;
}
.nav .dropdown .dropdown-content a:first-child {
  padding-top: 12px;
}
.nav .dropdown .dropdown-content a:last-child {
  padding-bottom: 12px;
}

/* Graph Carousel */
.graph-carousel {
  margin-top: 20px;
}
.graphs {
  position: relative;
  height: 410px;
  margin-bottom: 20px;
}
.graphs .graph {
  display: none;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}
.graphs .lifetime-link {
  position: absolute;
  left: 0;
  bottom: 11px;
  width: 12%;
  text-align: right;
  cursor: pointer;
}
.graphs .graph.selected {
  display: block;
}
.graph-links {
  text-align: center;
}
.graph-links .graph-link-row {
  position: relative;
}
.graph-links hr {
  border-style: solid;
  border-width: 1px 0 0;
  margin: 0;
}
.graph-links .graph-link-row .row-name {
  position: absolute;
  left: 0;
  top: 26px;
}
.graph-link {
  display: inline-block;
  margin: 20px 12px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

/* Loading */
.graphs .graph-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-radius: 50%;
}
.graphs .graph-loading:after,
.graphs .graph-loading:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.graphs .graph-loading:after {
  left: -10px;
  top: -5px;
  transform-origin: 15px 10px;
  animation: axis 1s linear infinite;
}
.graphs .graph-loading:before {
  left: -25px;
  top: -15px;
  transform-origin: 30px 20px;
  animation: axis 2s linear infinite;
}
@keyframes axis {
  0% {
    transform: rotateZ(0deg) translate3d(0,0,0);
  }
  100% {
    transform: rotateZ(360deg) translate3d(0,0,0);
  }
}

/* Main Numbers */
.main-numbers {
  min-height: 150px;
}
.number-box {
  display: inline-block;
  width: 16.66%;
  margin: 20px 0;
}
.number-toggle {
  margin: -10px 0 -10px;
}
.number-toggle span {
  margin: 0 6px;
  cursor: pointer;
}
.main-numbers.count-view .set-count {
  cursor: default;
}
.main-numbers.percent-view .set-percent {
  cursor: default;
}
.number-box .number {
  position: relative;
  display: inline;
}
.main-numbers.count-view .number.hashrate::after {
  /* content: 'PH/s' */
}
.main-numbers.percent-view .number::after,
.main-numbers.percent-view .number.hashrate::after {
  content: '%';
}

/* Downloads */
.download-section {
  padding: 60px 20px;
}
.download-links {
  text-align: center;
}
.download-link {
  display: inline-block;
  margin: 20px 25px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.download-client {
  display: none;
  text-align: center;
}
.download-client.selected {
  display: block;
}
.download-options {
  padding: 40px 0;
}
.download-option {
  display: inline-block;
  width: 110px;
  margin: 10px 60px;
  padding-top: 80px;
  background-repeat: no-repeat;
  background-position: center top;
}
.download-option.windows { background-image: url(../images/Windows-Unselected.png); }
.download-option.windows:hover { background-image: url(../images/Windows.png); }
.download-option.mac { background-image: url(../images/Apple-Unselected.png); }
.download-option.mac:hover { background-image: url(../images/Apple.png); }
.download-option.linux { background-image: url(../images/Linux-Unselected.png); }
.download-option.linux:hover { background-image: url(../images/Linux.png); }
.download-option.github { background-image: url(../images/Github-Unselected.png); }
.download-option.github:hover { background-image: url(../images/Github.png); }

/* Links */
.link-section {
  padding: 20px 0 40px;
}
.link-section .column {
  float: left;
  width: 33.33%;
}
.link-section a {
  display: block;
  margin: 20px 20px 20px 0;
}

/* Donate */
.donate-section {
  padding: 20px 0 40px;
}

/* Credit */
.credit-section {
  padding: 20px 0;
  text-align: center;
}
.footer-nav {
  margin-bottom: 10px;
}
.footer-nav a {
  margin: 0 20px;
}


/* Mini Block Explorer */
#g_block_explorer.graph {
  padding-top: 10px;
}
.block-count-container .block-count {
  display: inline-block;
  padding: 10px 0;
}
.block-count-container .block-count:after {
  content: ',';
  display: inline-block;
  padding-right: 10px;
}
.block-count-container .block-count:last-child:after {
  display: none;
}
.block-count-container .block-count:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 19px;
  margin-right: 6px;
}
table.block-explorer {
  position: relative;
  border-collapse: separate;
  border-spacing: 0px;
  border-style: solid;
  border-width: 0 0 1px 1px;
}
table.block-explorer td {
  position: relative;
  width: 50px;
  height: 30px;
  text-align: center;
  border-style: solid;
  border-width: 1px 1px 0 0;
}
table.block-explorer td a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-decoration: none;
}
table#mini-block-explorer td {
  width: 10px;
  height: 20px;
}

/* Rented Mining */
.mining-donation-section table {
  margin: 0 auto;
}
.mining-donation-section a img {
  width: 120px;
  height: auto;
  margin-left: 10px;
}
.mining-data-section {
  padding: 20px 0;
}
.data-section {
  max-width: 600px;
  border-radius: 20px;
  margin: 10px auto;
}

/* Preload Images */
.preload-images {
  display: none;
}

/* Graph List */
.graph-list .graph {
  position: relative;
  min-height: 300px;
  margin: 80px 0;
  z-index: 1;
}
.graph-list .close {
  position: relative;
  width: 20px;
  float: right;
  cursor: pointer;
  z-index: 2;
}

/* Social Buttons */
.social-buttons {
  position: absolute;
  right: 0;
  bottom: -20px;
  text-align: right;
}
.social-buttons h4 {
  margin: 0 0 4px;
}

/* Notice Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.popup-container {
  position: relative;
  height: auto;
  width: 100%;
  padding: 40px 0;
}
.popup .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.popup .popup-close {
  position: absolute;
  right: 5px;
  top: 2px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.popup .popup-close:before {
  content: '\00D7';
}
.popup .popup-content {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  width: 90%;
  max-width: 1000px;
  padding: 0 30px 20px;
  border-radius: 10px;
  z-index: 2;
}
.popup .popup-content h2 {
  padding-top: 30px;
}
.popup .popup-content li {
  margin-bottom: 10px;
}
a.open-notice-popup {
  position: absolute;
  left: 20px;
  bottom: 0;
}

span.hover-info {
  border-bottom: 1px dashed;
  cursor: pointer;
}

.node-options table {
  width: 100%;
}
.node-options td {
  padding: 20px 10px;
}
.node-options td h3 {
  text-align: left;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
