* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

main, .info {
  padding: 1rem;
}

h1.mobile-heading {
  margin: 0;
  padding: 1rem .2rem;
  text-align: center;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / span 2;
  -ms-grid-column: 4;
  -ms-grid-column-span: 8;
  grid-column: 4 / span 8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #FAAB18;
  color: white;
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

main#mobileTable {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[auto];
      grid-template-columns: repeat(auto, 1fr);
  -ms-grid-rows: (1fr)[auto];
      grid-template-rows: repeat(auto, 1fr);
  grid-gap: .5rem;
  padding: 1rem 0;
}

main#mobileTable abbr {
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-column: 1;
  grid-column: 1;
  padding: .5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 4px solid white;
  -webkit-box-shadow: 0 9px 5px -4px rgba(0, 0, 0, 0.3);
          box-shadow: 0 9px 5px -4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  -webkit-transition: .1s all ease;
  transition: .1s all ease;
  background: #FAAB18;
  color: white;
  opacity: .35;
}

main#mobileTable abbr.clickable {
  opacity: 1;
  cursor: pointer;
}

main#mobileTable abbr.clickable:hover, main#mobileTable abbr.clickable.focus {
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  -webkit-box-shadow: 0 19px 15px rgba(0, 0, 0, 0.7);
          box-shadow: 0 19px 15px rgba(0, 0, 0, 0.7);
}

main#mobileTable abbr.metal {
  border-color: #C2CC8B;
}

main#mobileTable abbr.metalloid {
  border-color: #9CC4B2;
}

main#mobileTable abbr.transition {
  border-color: #E1B07E;
}

main#mobileTable abbr.noble {
  border-color: #ECDCB0;
}

main#mobileTable abbr.nonmetal {
  border-color: #7CE577;
}

main#mobileTable abbr.alkali {
  border-color: #A0CCDA;
}

main#mobileTable abbr.alkaline {
  border-color: #B9E28C;
}

main#mobileTable abbr.lanthanide {
  border-color: #CC8B8C;
}

main#mobileTable abbr.actinide {
  border-color: #F1C8DB;
}

main#fullTable {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[auto];
      grid-template-columns: repeat(auto, 1fr);
  -ms-grid-rows: (1fr)[auto];
      grid-template-rows: repeat(auto, 1fr);
  grid-gap: .5rem;
}

main#fullTable h1 {
  height: 100%;
  width: 100%;
  margin: 0;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / span 2;
  -ms-grid-column: 4;
  -ms-grid-column-span: 8;
  grid-column: 4 / span 8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #FAAB18;
  color: white;
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

main#fullTable abbr {
  width: 2rem;
  height: 2rem;
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-column: 2;
  grid-column: 2;
  padding: .5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 4px solid white;
  -webkit-box-shadow: 0 9px 5px -4px rgba(0, 0, 0, 0.3);
          box-shadow: 0 9px 5px -4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  -webkit-transition: .1s all ease;
  transition: .1s all ease;
  background: #FAAB18;
  color: white;
  opacity: .35;
}

main#fullTable abbr.clickable {
  opacity: 1;
  cursor: pointer;
}

main#fullTable abbr.clickable:hover, main#fullTable abbr.clickable.focus {
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  -webkit-box-shadow: 0 19px 15px rgba(0, 0, 0, 0.7);
          box-shadow: 0 19px 15px rgba(0, 0, 0, 0.7);
}

main#fullTable abbr.metal {
  border-color: #C2CC8B;
}

main#fullTable abbr.metalloid {
  border-color: #9CC4B2;
}

main#fullTable abbr.transition {
  border-color: #E1B07E;
}

main#fullTable abbr.noble {
  border-color: #ECDCB0;
}

main#fullTable abbr.nonmetal {
  border-color: #7CE577;
}

main#fullTable abbr.alkali {
  border-color: #A0CCDA;
}

main#fullTable abbr.alkaline {
  border-color: #B9E28C;
}

main#fullTable abbr.lanthanide {
  border-color: #CC8B8C;
}

main#fullTable abbr.actinide {
  border-color: #F1C8DB;
}

.info {
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #FAAB18;
  -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  color: white;
  font-weight: 300;
  -webkit-transition: .5s height ease-in-out;
  transition: .5s height ease-in-out;
}

.info #name, .info #summary {
  display: none;
}

.info p {
  margin-bottom: 0;
  line-height: 1.3;
}

.info ul {
  line-height: 1.3;
  list-style: none;
}

.info ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.info ul li span {
  text-align: right;
  min-width: 120px;
}

.info ul li span.bold {
  font-weight: bold;
  text-align: left;
}

.info a:link,
.info a:visited,
.info a:hover,
.info a:active {
  color: inherit;
  text-decoration: none;
}

@media all and (min-width: 576px) {
  .d-grid {
    display: -ms-grid !important;
    display: grid !important;
  }
  .d-inline-grid {
    display: -ms-inline-grid !important;
    display: inline-grid !important;
  }
  .d-none {
    display: none !important;
  }
}

@media all and (min-width: 768px) {
  .d-sm-grid {
    display: -ms-grid !important;
    display: grid !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-inline-grid {
    display: -ms-inline-grid !important;
    display: inline-grid !important;
  }
  .d-sm-none {
    display: none !important;
  }
}

@media all and (min-width: 992px) {
  .d-md-grid {
    display: -ms-grid !important;
    display: grid !important;
  }
  .d-md-inline-grid {
    display: -ms-inline-grid !important;
    display: inline-grid !important;
  }
  .d-md-none {
    display: none !important;
  }
  .info h2 {
    font-size: 1.6em;
  }
  .info p {
    font-size: 1.4em;
  }
}

@media all and (min-width: 1200px) {
  .d-lg-grid {
    display: -ms-grid !important;
    display: grid !important;
  }
  .d-lg-inline-grid {
    display: -ms-inline-grid !important;
    display: inline-grid !important;
  }
  .d-lg-none {
    display: none !important;
  }
}
/*# sourceMappingURL=custom.css.map */