.appmockup-outside-container {
  position: relative;
  /*height: 400px;*/
  /*overflow: hidden;*/
  /*background: #EFEFEF;*/
  /*background: -webkit-radial-gradient(#EFEFEF, #CCC);*/
  /*background: radial-gradient(#EFEFEF, #CCC);*/
  /*border-radius: 4px;*/
}
.appmockup-grid-container {
  position: relative;
  padding: 0;
  margin: 0 auto;
  /*margin-left: 380px;*/
  /*margin-top: 160px;*/
  /*-webkit-transform: translateX(-330px) translateY(200px);*/
  /*transform: translateX(-330px) translateY(200px);*/
  /*margin-top: 160px;*/
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  border: none;
  outline: none;
  /*overflow: hidden;*/
}
.appmockup-grid {
  /*position: absolute;*/
  /*top: 100px;*/
  /*left: 0;*/
  width: 100%;
  /*width: 1060px;*/
  /*3D Transform*/
  /*-webkit-transform: rotateX(60deg) rotateZ(-50deg);*/
  /*transform: rotateX(60deg) rotateZ(-50deg);*/
  /*-webkit-transform: rotateX(60deg) rotateZ(50deg);*/
  /*transform: rotateX(60deg) rotateZ(50deg);*/
  /*Preserve 3D style for children*/
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}
.appmockup-grid:hover{
/*  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-outlinet;
  -o-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;*/
  -webkit-transform: rotateX(0deg) rotateZ(0deg);
  transform: rotateX(0deg) rotateZ(0deg);
}

.appmockup-grid li {
  cursor: pointer;
  /*height: 400px;*/
  /*width: 225px;*/
  float: left;
  margin: 20px;
  list-style-type: none;
  /*Hide the lighting gradient from the front face*/
  background-size: 0, cover;
  /*Preserve 3D style for children(pseudo elements)*/
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;

  /*-webkit-transform: rotateX(60deg) rotateZ(-50deg);*/
  /*transform: rotateX(60deg) rotateZ(-50deg);*/
  /*-webkit-transform: rotateX(60deg) rotateZ(50deg);*/
  /*transform: rotateX(60deg) rotateZ(50deg);*/
  /*Preserve 3D style for children*/

  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}
.appmockup-grid li:hover {
  -webkit-transform: translateZ(20px);
  transform: translateZ(20px);
}

/*Left and Bottom Sides*/
.appmockup-grid li:before,
.appmockup-grid li:after {
  content: '';
  position: absolute;
  /*100% height and width*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  background-size: cover;
}

/*Left Side*/
.appmockup-grid li.l2r:before {
  -webkit-transform-origin: center right;
  transform-origin: center right;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  /*Reducing the width of the left side for a flat feel*/
  width: 5px;
  left: auto;
  right: 0;
  background-position: right center;
}


/*Bottom Side*/
.appmockup-grid li.l2r:after {
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  /*Reducing the height*/
  height: 5px;
  top: auto;
  bottom: 0;
  /*Background fix - start the background from the bottom*/
  background-position: bottom center;
}


/*Left Side*/
.appmockup-grid li.r2l:before {
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: rotateY(90deg);
  transform: rotateY(90deg);
  width: 5px;
}

/*Bottom Side*/
.appmockup-grid li.r2l:after {
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  /*Reducing the height*/
  height: 5px;
  top: auto;
  bottom: 0;
  /*Background fix - start the background from the bottom*/
  background-position: bottom center;
}



.appmockup-shadow {
  position: absolute;
  /*30px smaller from each side*/
  /*top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;*/
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 30px 30px rgba(0, 0, 0, 0.4);
  /*Pushing down the shadow to give an elevated feel*/
  -webkit-transform: translateZ(-50px);
  transform: translateZ(-50px);
}
