/*#######################################################################*/
/* CSS FOR HIGHTIGHTED GRID PLUGIN */
/*#######################################################################*/

.feature-grid {
    display: flex;
    flex-wrap: wrap;

}

.grid-cell {
    /*background-color: rgba(255, 255, 0, .5);*/
    flex: 0 0 33.33333%;
    display: block;
    max-height: 20vw;
    min-width: 33%;
    min-height: 200px;
}

.grid-cell-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden
}

/* IMAGE ZOOM ANIMATION */

/* .grid-cell-image-wrap:hover .parent-hover {
    transform: scale(1.6);
} */

/* IMAGE SWAP ANIMATION */
.grid-cell-image-wrap .hover-image {
  display: none;
}

/* IMAGE SWAP ANIMATION */
.grid-cell-image-wrap:hover .parent-hover {
  display: none;
}

.grid-cell-image-wrap:hover .hover-image {
  display: block;
}

.grid-cell-image-wrap:hover .fromRight {
  display: none;
}

/* UNDERLINE HOVER ANIMATION */

.cell-content:after {
  display:block;
  content: '';
  border-bottom: solid 3px #ffffff;
  transform: scaleX(0);
  -webkit-transition: transform 250ms ease-in-out;
  -moz-transition: transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out;
}

.grid-cell-image-wrap:hover :after { transform: scaleX(1); }

.cell-content.fromRight:after{ transform-origin:100% 50%; }

.grid-cell-image-wrap img {
    position: absolute;
    z-index: -1;
    -webkit-transition: transform 250ms ease-in-out;
    -moz-transition: transform 250ms ease-in-out;
    transition: transform 250ms ease-in-out;
    -webkit-transition: opacity 250ms ease-in-out;
    -moz-transition: opacity 250ms ease-in-out;
    transition: opacity 250ms ease-in-out;

}

.grid-cell-flex-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Change the 'a' value below to adjust the darkness infront of the imgs */
    background-color: rgba(0,0,0,.45);
}

.cell-content {
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-family: Archivo;
    text-transform: uppercase;
    padding: 2em;
}

.cell-content h3 {
    width: 100%;
    text-align: right;
    padding: 0;
    margin: 0;
}

.cell-content h4 {
    width: 100%;
    text-align: right;
    padding: 0;
    margin: 0;
    font-size: 1em;

}

.more-projects-grid{
	width: 100%;
}

@media screen and (max-width: 800px) {
  .cell-content h3 {
    font-size: 1.2em;
  }

  .cell-content h4 {
      font-size: .75em;
  }

  .grid-cell {
      min-height: 100px;
  }

}


@media screen and (max-width: 415px) {


  .grid-cell-image-wrap img {
    min-height: 100px;
    min-width: 165px;
  }
}



/*#######################################################################*/
/*  END CSS FOR HIGHTIGHTED GRID PLUGIN */
/*#######################################################################*/
