* { box-sizing: border-box; }

body {
text-decoration:none;
width:100%;
}

.filters {
  width:90%;
  text-align:center;
}

.ui-group {
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
  margin-top: 10px;
  padding-right:10px;
padding-left:10px;
}

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

.button {
  display: inline-block;
  outline: none;
  padding: 0.5em 1.0em;
  margin-top:6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.2s;
}

.button:hover {
  background-color: #ccc;
  color: green;
}

.button:active,
.button.is-checked {
  background-color: #444;
  border:1px solid #444;
}

.button.is-checked {
  color: white;
}

.button:active {
}

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

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

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

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

/* ---- isotope ---- 

.grid {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  width: 1300px;
}
*/
/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

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

.element-item {
  position: relative;
  float: left;
  width: 530px;
  height: 255px;
  margin: 12px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
/*  background: linear-gradient(rgba(255,0,0,0) 66%, #efefef 34%); */
  box-shadow: 0px 0px 16px 0px rgba(0,0,0,.17);
  transition: all 0.2s;
}

.element-item:hover {
  box-shadow: 3px 4px 16px 6px rgba(0,0,0,.17);
  transform: translateY(-5px);
  border-color: #ff0000;
}

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

.element-item .logo {
  align: center;
  text-align: center;
  font-size: 1.6em;
  letter-spacing: 1px;
  font-weight: bold;
  color: #444;
  margin-top: 10px;
}