* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
@font-face {
font-family: 'AvenirLTStd-Light';
src: url('AvenirLTStd-Light.woff') format('woff'),url('AvenirLTStd-Light.eot') format('embedded-opentype'),url('AvenirLTStd-Light.ttf') format('turetype');
}
body {
  font-family: 'AvenirLTStd-Light', sans-serif;
}
.pagetitle {
	text-align: center;
	margin: 20px auto;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 10px;
  background-color: white;
  border: none;
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 0px white;
  cursor: pointer;
}

.button:hover {
  text-shadow: 0 0px hsla(0, 0%, 100%, 0.0);
  color: #006;
}

.button:active,
.button.is-checked {

}

.button.is-checked {
  color: blue;
  text-shadow: 0 0px hsla(0, 0%, 0%, 0.0);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group {
	width: 980px;
	text-align: left;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}


/* ---- isotope ---- */

.isotope {
  border: 0px solid #333;
  margin-left:auto;
  margin-right:auto;
  width:980px;
}

/* clear fix */
.isotope:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .listing-item ---- */

.listing-item {
  position: relative;
  float: left;
  width: 300px;
  height: 475px;
  margin: 5px;
  padding: 0px;
  color: #262524;
  overflow: hidden;
  border: solid 1px black;
}

.lising-item > * {
  margin: 0;
  padding: 0;
}

.listing-item img {
position: absolute;
left: 0px;
top: -12px;
z-index: -100;
}

.listing-item p {
	display: inline;
	
}

.thedata {
  width: 100%;
  height: 30%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 220px;
  padding: 5px;
  text-align:center;
}

.listing-item .address {
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}
.listing-item .city {
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.listing-item .date {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  text-transform: uppercase;
}
.listing-item .price {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight:bold;
  text-transform: uppercase;
}

.listing-item .symbol {
  position: absolute;
  left: 10px;
  top: 0px;
  font-size: 42px;
  font-weight: bold;
  color: white;
}

.listing-item .number {
  position: absolute;
  right: 8px;
  top: 5px;
}

.listing-item .weight {
  position: absolute;
  left: 10px;
  top: 76px;
  font-size: 12px;
}

.listing-item.alkali          { background: #F00; background: hsl(   0, 100%, 50%); }
.listing-item.alkaline-earth  { background: #F80; background: hsl(  36, 100%, 50%); }
.listing-item.lanthanoid      { background: #FF0; background: hsl(  72, 100%, 50%); }
.listing-item.actinoid        { background: #0F0; background: hsl( 108, 100%, 50%); }
.listing-item.transition      { background: #0F8; background: hsl( 144, 100%, 50%); }
.listing-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }
.listing-item.metalloid       { background: #08F; background: hsl( 216, 100%, 50%); }
.listing-item.diatomic        { background: #00F; background: hsl( 252, 100%, 50%); }
.listing-item.halogen         { background: #F0F; background: hsl( 288, 100%, 50%); }
.listing-item.noble-gas       { background: #F08; background: hsl( 324, 100%, 50%); }
