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

.button {
	font-family: 'Raleway', sans-serif;
	font-size:13px;
	font-weight: 500;
	color:white;
  display: inline-block;
  padding: 5px 15px;
  margin-bottom: 0;
  background-color: transparent;
 /* background-image: linear-gradient( hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.1) );
  border: 1px solid #CCC;
  border-radius: 5px;*/
}

.button:enabled {
  cursor: pointer;
}

.button:enabled:hover {
  background-color: #ddd; color:#373737;
}

.button.is-checked,
.button.is-selected {
  background-color: #ddd; color:#373737
}

.button:active {
  color: white;
  background-color: #59F;/*
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);*/
}

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

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

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

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

.button-group .button:first-child { border-radius: 5px 0 0 5px; }
.button-group .button:last-child { border-radius: 0 5px 5px 0; }



















  
 
/* element-item
------------------------- */

.element-item {
  position: relative;
  float: left;
  width: 30%;
   min-height: 25vh;
  margin:15px 14px;
  /*margin: 5px;*/
  /*padding: 10px;*/
  background:#FFFFFF;
  color: #262524;
  /*backface-visibility: hidden;*/
}
/*.dd{ filter: grayscale(99%); 
  	  -webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.dd:hover{
	   filter: grayscale(10%);  
} 
*/
.element-item > * {
  margin: 0;
  padding: 0;
}
.element-item .symbol {
  position: absolute;
  left: 0;
	right: 0;
  bottom:0;
  text-transform:uppercase;
  
  padding:2px 5px;
  /*font-weight: bold;*/
  color: white;
  background-color: #0084c2;
}

.element-item .number, .element-item .material{
	background-color:#000;
	color:white;
	font-size: 11px;
  position: absolute;
	padding:2px 5px;
  left: 0;
  bottom:0;
}

/*.element-item .name {
  position: absolute;

  left: 10px;
  top: 60px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8em;
  font-weight: normal;
}
*/

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

.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%); }


@media (max-width: 1200px){
.element-item {width: 46.5%;min-height: 22vh;margin:5px 10px;}	
	
}
@media (max-width: 588px){
.element-item {width: 99%;min-height: 12vh;margin:5px 0;}
}


 
.button {
	border:none;
  /*border-color: #222;*/
}

 
/* grid
------------------------- */

.grid {
  /*border: 2px solid #484542;
  background: hsla(0, 0%, 0%, 0.15);*/
  position: relative;
	min-height:800px;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
 

/* grid-image-item
------------------------- */

.grid-image-item,
.grid--images .grid-sizer { width: 33.33%; }

.grid-image-item {
  float: left;
}

.grid-image-item img {
  display: block;
  max-width: 100%;
}

/* grid-item
------------------------- */

.grid-item {
  float: left;
  width: 50px;
  height: 50px;
  background: #e6e5e4;
  border: 2px solid hsla(0, 0%, 0%, 0.4);
}

.grid-item--width2 { width: 100px; }
.grid-item--height2 { height: 100px; }

.grid-item--width3 { width: 150px; }
.grid-item--height3 { height: 150px; }

.grid-item--gigante {
  width: 150px;
  height: 200px;
}

.grid--clickable .grid-item:hover {
  border-color: #28F;
  background: #8CF;
  cursor: pointer;
}

/* ---- insert demo ---- */

.grid-item .number {
  line-height: 50px;
  text-align: center;
  color: #333;
  margin: 0;
  font-size: 1.3rem;
}



/* ui-group
------------------------- */

.ui-group { 
  display: inline-block;
	margin: 5px auto;
	width: 70%;
	text-align: center;
}

.ui-group__title {font-family: 'Raleway', sans-serif;
  color:#FFF;
  display: inline-block;
  vertical-align: baseline;
 font-size: 15px;
	font-weight: 500;
	  text-align:center;
  margin: 0 3px 0 0;
  	width: 100%;
}

/*.ui-group*/ .button-group {
  display: inline-block;
  margin-right:0;
  	width: 100%;
}
@media (max-width: 1200px){
.ui-group {
	width: 80%;
}

.ui-group__title{ 
  font-size: 13px;
  margin: 0;
}
 	
}
@media (max-width: 588px){
	.ui-group {
	width: 100%;
}
.ui-group__title{ 
  margin: 0;
	width: 100%;
}
.button-group {
	width: 100%;
}
.button {
	font-size:11px;
	 
  display: inline-block;
  padding: 5px 5px;

}
}

