* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  padding: 15px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  font-size: 16px;
  background: #F8FAFF;
  color: #232323;
}

h1, h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0;
  font-weight: 500;
}

h1 {
  font-size: 3em;
}
h2 {
  font-size: 1.3em;
}
h4 {
  font-weight: 400;
}

a {
  text-decoration: none;
}

a, .link {
  color: #1B7D62;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

thead th {
  background-color: #30D7A9;
  color: #FFF;
}

td, th {
  border: 1px solid #666;
  padding: 0.6rem 0.5rem;
  text-align: center;
  font-weight: 400;
}

/* ---------------------
  Common */

.hidden {
  display: none;
}

.icon {
  background-image: url("https://decentraland.org/images/icons.svg");
  vertical-align: top;
  display: inline-block;
}
.icon.icon-decentraland {
  width: 52px;
  height: 52px;
  background-position: 0 0;
}

.input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #CCC;
  border-radius: 5px;
}

.input[disabled] {
  background-color: #CCC;
}

.input.cmd {
  width: 78%;
  float: left;
}

.input.send {
  width: 20%;
  float: right;
  background-color: #30D7A9;
  border-color: #30D7A9;
  color: #FFF;
}

.header {
  margin-bottom: 20px;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
  display: flex;
  flex-wrap: wrap;
}
.row:before {
  content: " ";
  display: table;
}

.scrolleable {
  max-height: 400px;
  overflow: auto;
}

.col {
  width: 100%;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
}

.box {
  height: 100%;
  width: 100%;
  border: 1px solid #CCC;
  overflow: hidden;
}

.box h2 {
  margin-top: 0;
  margin-bottom: 5px;
  background: #c0d2ff;
  padding: 5px 10px;
}

.box > div {
  padding: 15px 20px;
}

@media (max-width: 768px) {
  .hidden-xs {
    display: none;
  }
}


/* ---------------------
  Col styles */

.miner, .tiles {
  margin-bottom: 20px;
}

.tiles .box > .tile-content {
  padding-top: 25px;
}

.tiles ul {
  list-style: none;
  margin-top: 28px;
}
.tiles li {
  margin-bottom: 5px;
  word-break: break-all;
}

.tiles .loading {
  margin-top: 20px;
}

.rpc .form {
  margin-bottom: 15px;
  overflow: hidden;
}

.rpc .result {
  width: 100%;
  margin-bottom: 15px;
  display: block;
}

.transfer-tiles-modal {
  min-width: 35%;
  padding: 20px 50px;
}

.transfer-tiles-modal ul {
  list-style: none;
}

.transfer-tiles-modal .scrolleable {
  max-height: 280px;
}

@media (min-width: 768px) {
  .col {
    width: 50%;
  }

  .miner, .tiles {
    margin-bottom: 0;
  }
}

/* ---------------------
   Toggle */

.toggle input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}

.toggle label {
  cursor: pointer;
  text-indent: -9999px;
  width: 60px;
  height: 30px;
  background: #CCC;
  display: block;
  border-radius: 100px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.toggle label:after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #CCC;
  background: #FFF;
  border-radius: 90px;
  transition: 0.3s;
}

.toggle input:checked + label {
  background: #30D7A9;
}

.toggle input:checked + label:after {
  left: 100%;
  transform: translateX(-100%);
}
