/* ---- button ---- */

.button {
    display: inline-block;
    padding: 7px 10px;
    margin-bottom: 10px;
    background: #222222;
    border: none;
    border-radius: 0px;
    color: #D9CAA5;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
  }
  
  .button:focus {
    outline: none;
    box-shadow: none;
  }

  .button:hover {
    background-color: #D9CAA5;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    color: #222;
  }
  
  .button:active,
  .button.is-checked {
    background-color: #A88852;
  }
  
  /*
  .button.is-checked {
    color: white;
    text-shadow: 0 -1px hsla(0, 0%, 0%, 0.2);
  }
  
  .button:active {
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.2  );
    border-radius: 3;
  }*/
  
  /* ---- button-group ---- */
  
  .button-group:after {
    content: '';
    display: block;
    clear: both;
  }
  
  .button-group .button {
    float: none;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }
  
  /*
  .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-container {
    margin: 0 auto;
    display: block;    
  }

  .grid{
    visibility:hidden;
  }

  /* clear fix */
  .grid:after {
    content: '';
    display: block;
    clear: both;
  }

  
  .element-item,
  .element-sizer {
    width: 50%;

  }
  

  /* ---- .element-item ---- */
  

  

  .element-item--width2 { width: 100%; }
  .element-item--height2 { height: 200px; }


.element-item .text {
  color: #D9CAA5;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.3rem 0.4rem;
}

/* Bottom left text */
.element-item .bottom-right {
  opacity: 0.9;
  color: #D9CAA5;
  position: absolute;
  font-weight: 500;
  bottom: 12px;
  right: 12px;
}

.element-item .icon {
  opacity: 0.9;
  color: #D9CAA5;
  position: absolute;
  font-weight: 500;
  font-size: 1.2rem;
  bottom: 12px;
  left: 14px;

}


.image {
  opacity: 0.9;
  display: block;
  width: 100%;
  transition: .5s ease;
  backface-visibility: hidden;
  padding: 0.5rem;
}

.middle {
  background-color: #222222;
  transition: .5s ease;
  opacity: 0.8;
  position: absolute;
  width: auto;
  top: 8px;
  left: 8px;
  text-align: center;
}


.element-item:hover .image {
  opacity: 1;
}

.element-item:hover .middle{
  opacity: 0.9;
  background-color: #D9CAA5;

}

.element-item:hover .bottom-right{
  opacity: 1;
}

.element-item:hover .text {
  color: #17191c;
}


@media (min-width: 768px) {
  
  .element-sizer, .element-item {
    width: 25%;
  }
  .element-item--width2 { width: 50%; }
}



@media (min-width: 1300px) {
  
  .element-sizer, .element-item {
    width: 16.66%;
  }
  .element-item--width2 { width: 33.33%; }
}

