/* ---- demos ---- */

.content-filtering .isotope,
{
	width:100%;
	overflow:hidden;
}

.content-filtering #filtering .button {
  margin-bottom: 0.8em;
}

/* clearfix */
.isotope:before,
.isotope:after {
  content: " ";
  display: table;
}

.isotope:after {
  clear: both;
}

/* ---- item elements ---- */

.element-item {
	position: relative;
	float: left;
	width: 19.2%;
	margin: 0 0.8% 0.8% 0;
	/* [disabled]padding: 10px; */
	background: #666;
}

.element-item:nth-child(5n+5)
{
	/* margin: 0 0 1% 0; */
}

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

.element-item .name {
  position: absolute;
  left: 10px;
  top: 60px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: normal;
}

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

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

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

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

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

#filtering .button {
  display: table;
  padding: 0.3em 0.8em;
  background: #65757e;
  border: none;
  color: white;
  font-family: "DinCondensedfont", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1.2em;
  text-decoration: none;
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  -ms-border-radius: 0.5em;
  -o-border-radius: 0.5em;
  border-radius: 0.5em;
  cursor: pointer;
  margin:1em 0;
}

#filtering .button:hover {
  background-color: #c7d2db;
  color: #06294a;
}

#filtering .button:active,
#filtering .button.is-checked {
  background-color: #06294a;
}

#filtering .button.is-checked {
  color: white;
  background-color: #06294a;

}


/* hide radio inputs */
#filtering .button input[type="radio"] { display: none; }

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

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

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

.button-group .button:first-child { 
	border-radius: 0.5em 0 0 0.5em !important; 
	-webkit-border-radius: 0.5em 0 0 0.5em !important;
	-moz-border-radius: 0.5em 0 0 0.5em !important;
	-ms-border-radius: 0.5em 0 0 0.5em !important;
	-o-border-radius: 0.5em 0 0 0.5em !important;
}

.button-group .button:last-child {
	 border-radius: 0 0.5em 0.5em 0   !important ;
	 -webkit-border-radius: 0 0.5em 0.5em 0 !important;
	-moz-border-radius: 0 0.5em 0.5em 0 !important;
	-ms-border-radius: 0 0.5em 0.5em 0 !important;
	-o-border-radius: 0 0.5em 0.5em 0 !important;
}
	 