* { box-sizing: border-box; }

body {
  font-family: sans-serif;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 0px;
/*  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );*/
  color: #222;
  font-family: sans-serif;
  font-size: 14px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #06C;
  text-shadow: 0 0px hsla(0, 0%, 100%, 0.5);
  color: #FFF;
}


.button:active,
.button.is-checked {
  background-color: #666;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  color: #fff;
  /*box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);*/
}

/* ---- button-group ---- */

.button-group {
  margin-bottom: 20px;
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 2px;
  margin-top:4px;
}

.button-group .button:first-child { /*border-radius: 0.5em 0 0 0.5em;*/ }
.button-group .button:last-child { /*border-radius: 0 0.5em 0.5em 0;*/ }
*/
/* ---- isotope ---- */

.grid {
  border: 1px solid #333;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

.element-item {
  position: relative;
  float: left;
  width: 190px;
  height: 190px;
  margin: 5px;
  padding: 5px;
  background: #eee;
  color: #262524;
  border-style:solid;
border-width:1px;
border-color:#ddd;
}

@media only screen and (max-width: 500px) {
  .element-item {
 
  width: 100px;
  height: 100px;}
  
  

  
  
}

.element-item:hover { 
/*box-shadow: 0px 0px 1px #999;*/
background: #f5f5f5;

 }

.element-item > * {
  margin: 0;
  padding: 0;
}

.element-item .name {
  position: absolute;

  left: 10px;
  top: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: bold;
}

.element-item .symbol {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #666;
}

.element-item .height {
  position: absolute;
  left: 10px;
  top: 95px;
  font-size: 12px;
  display:none;
}

.element-item .width {
  position: absolute;
  left: 10px;
  top: 76px;
  font-size: 12px;
  display:none;
}



.profiles h2{font-weight:600;
font-size:16px;
margin:2px;
margin-left:0px;}






/*
.element-item.L-Profil          { background: #F00; background: hsl(   0, 100%, 50%); }
.element-item.Z-Profil { background: #F80; background: hsl(  36, 100%, 50%); }
.element-item.Klemmprofil     { background: #FF0; background: hsl(  72, 100%, 50%); }
.element-item.T-Profil     { background: #0F0; background: hsl( 108, 100%, 50%); }
.element-item.U-Profil     { background: #0F8; background: hsl( 144, 100%, 50%); }
.element-item.C-Profil{ background: #0FF; background: hsl( 180, 100%, 50%); }
.element-item.Halbrund-Profil     { background: #08F; background: hsl( 216, 100%, 50%); }
.element-item.Seitenfuhrungsprofil       { background: #00F; background: hsl( 252, 100%, 50%); }
.element-item.Clip-Profil      { background: #F0F; background: hsl( 288, 100%, 50%); }
.element-item.Spezialprofil      { background: #F08; background: hsl( 324, 100%, 50%); }
*/

/*.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%); }
*/




.thumbnail {
  max-width: 100%;
  background:none;
  border: none;
}

.italic { font-style: italic; }
.small { font-size: 0.8em; }

/** LIGHTBOX MARKUP **/

.lightbox-isotope {
  /** Default lightbox to hidden */
  display: none;

  /** Position and style */
  position: fixed;
  z-index: 10000;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
}

.lightbox-isotope img {
  /** Pad the lightbox image */
  width: 30%;
  max-height: 80%;
  margin-top: 70px;
  background: rgba(255,255,255,1);
  padding:20px;
}

@media only screen and (max-width: 500px) {

  
  .lightbox-isotope img {
  /** Pad the lightbox image */
  width: 100%;
  max-height: 80%;

}
  
  
}

.lightbox-isotope:target {
  /** Remove default browser outline */
  outline: none;

  /** Unhide lightbox **/
  display: block;
}

.element-item p {
    padding: 5px;
    color: white;
    font-weight: 600;
}

.element-item i.fa.fa-times {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f1f1f1;
    font-size: 30px;
}

.element-item button.btn {
    position: absolute;
    top: 20px;
    right: 20px;
 
    
}




.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn.focus, .btn:focus, .btn:hover {
    color: #333;
  background-color: #ddd;
    text-decoration: none;
}

.btn-default {
    color: #fff;
    background-color: #777;
    border-color: #ccc;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
