.project-grid header {
  background: rgba(255,255,255,1);
  color: #000;
}

.project-grid header h1 span {
  border-color: #000;
}

.project-grid header .contact-btn img.black {
  opacity: 1;
}

.project-grid header .contact-btn img.white {
  opacity: 0;
}

.project-grid header.white-on-black .contact-btn img.black {
  opacity: 0;
}

.project-grid header.white-on-black .contact-btn img.white {
  opacity: 1;
}

.grid-wrapper {
  min-width: 1024px;
  padding: 0 2.2265625000%;
  padding-bottom: 150px;
}

.grid {
  margin: 140px 0 0;
}

.gutter-sizer {
  width: 2.044153720359771%;
}

.grid-sizer,
.grid-item {
  width: 23.46688470973017%;
}

.grid-item--width-2 {
  width: 48.97792313982011%;
}

.grid-item {
  float: left;
  margin-bottom: 2.044153720359771%;
  opacity: 0;

  /*
  box-shadow: [horizontal offset] [vertical offset] [blur radius] [optional spread radius] [color];
  */
  -webkit-box-shadow: 3px 3px 10px 0px #ddd;
     -moz-box-shadow: 3px 3px 10px 0px #ddd;
          box-shadow: 3px 3px 10px 0px #ddd;

  -webkit-transform: translateY(10%);
     -moz-transform: translateY(10%);
       -o-transform: translateY(10%);
          transform: translateY(10%);

  -webkit-transition: opacity 500ms ease-out 250ms, -webkit-transform 500ms ease-out 250ms;
     -moz-transition: opacity 500ms ease-out 250ms, -moz-transform 500ms ease-out 250ms;
       -o-transition: opacity 500ms ease-out 250ms, -moz-transform 500ms ease-out 250ms;
          transition: opacity 500ms ease-out 250ms, transform 500ms ease-out 250ms;
}

.grid-item.show {
  opacity: 1;
  -webkit-transform: translateY(0);
     -moz-transform: translateY(0);
       -o-transform: translateY(0);
          transform: translateY(0);
}

.grid-item img,
.grid-item video {
  display:block;
  width: 100%;
  height: auto;
}

.grid-wrapper .preloader-wrap {
  height: 150px;
  text-align: center;
  padding-top: 23px;
  position:absolute;
  top: auto;
  right:0;
  bottom:0;
  left:0;
}

@media screen and (max-device-width: 1024px) and (max-width: 1024px) {
  body,
  header,
  section.grid-wrapper {
    min-width: 0px;
  }
}

@media all and (max-device-width: 768px) and (max-width: 750px) {
  section.grid-wrapper {
    padding: 0 2% 150px;
  }

  .grid {
    margin: 50px 0 0;
  }

  .grid-item {
    /*
    box-shadow: [horizontal offset] [vertical offset] [blur radius] [optional spread radius] [color];
    */
    -webkit-box-shadow: 2px 2px 5px 0px #ddd;
       -moz-box-shadow: 2px 2px 5px 0px #ddd;
            box-shadow: 2px 2px 5px 0px #ddd;
  }
}

@media all and (max-device-width: 768px) and (max-width: 750px) and (orientation: portrait) {
  .gutter-sizer {
    width: 2%;
  }

  .grid-sizer,
  .grid-item {
    width: 49%;
  }

  .grid-item--width-2 {
    width:100%;
  }

  .grid-item {
    margin-bottom: 2%;
  }
}
