/*
=== Plugin Name: Hearty Glyph Light
frontend CSS - main CSS for the plugin.
*/

/* reset
====================================================================== */

div[id^="heartyglyphlight"] a,
div[id*=" heartyglyphlight"] a,
div[id^="heartyglyphlight"] a:hover,
div[id*=" heartyglyphlight"] a:hover,
div[id^="heartyglyphlight"] a:focus,
div[id*=" heartyglyphlight"] a:focus {
  text-decoration: none!important;
}

/* layout
====================================================================== */

div[id^="heartyglyphlight-box"],
div[id*=" heartyglyphlight-box"] {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  margin-top: 14px;
}

  /* extra small devices (portrait phones, less than 576px) */
  @media (max-width: 575.98px) {

    div[id^="heartyglyphlight-box"].hrty-col-xs-6,
    div[id*=" heartyglyphlight-box"].hrty-col-xs-6 {
      float: none !important;
      width: 100% !important;
      margin-left: 0 !important;
    }

  }

/* icon
====================================================================== */

/* left */
.heartyglyphlight-icon-left,
.heartyglyphlight-icon-left .heartyglyphlight-icon {
  float: left;
  width: 30%;
}
.heartyglyphlight-description-left {
  float: right;
  width: 64%;
}

/* right */
.heartyglyphlight-icon-right,
.heartyglyphlight-icon-right .heartyglyphlight-icon {
  float: right;
  width: 30%;
}
.heartyglyphlight-description-right {
  float: left;
  width: 64%;
}

/* top */
.heartyglyphlight-icon-top,
.heartyglyphlight-description-top {
  float: none;
}
.heartyglyphlight-description-top {
  text-align: center;
}
.heartyglyphlight-icon-top .heartyglyphlight-icon {
  margin: 0 auto;
  width: 60%;
}

/* bottom */
.heartyglyphlight-icon-bottom,
.heartyglyphlight-description-bottom {
  float: none;
}
.heartyglyphlight-description-bottom {
  text-align: center;
}
.heartyglyphlight-icon-bottom .heartyglyphlight-icon {
  margin: 0 auto;
  width: 60%;
}

/* description
====================================================================== */

.heartyglyphlight-description-left h2,
.heartyglyphlight-description-right h2,
.heartyglyphlight-description-left p,
.heartyglyphlight-description-right p {
  text-align: left;
}
div[id^="heartyglyphlight-description-text"] br,
div[id*=" heartyglyphlight-description-text"] br {
  margin-bottom: 1rem;
}

/* content
====================================================================== */

/* icon */
div[id^="heartyglyphlight-icon"] i,
div[id*=" heartyglyphlight-icon"] i {
  float: left;
  width: 100%;
  padding: 50% 0;
  line-height: 0;
  text-align: center;
}
div[id^="heartyglyphlight-icon"] a,
div[id*=" heartyglyphlight-icon"] a {
  cursor: pointer;
}
div[id^="heartyglyphlight"] h2,
div[id*=" heartyglyphlight"] h2 {
  line-height: 1.2em;
  font-weight: normal;
}
div[id^="heartyglyphlight"] h2 a:hover,
div[id*=" heartyglyphlight"] h2 a:hover,
div[id^="heartyglyphlight-icon"] a:hover,
div[id*=" heartyglyphlight-icon"] a:hover {
  text-decoration: none;
}
div[id^="heartyglyphlight-icon"]:after,
div[id*=" heartyglyphlight-icon"]:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

/* title */
p[id^="heartyglyphlight-title"] a,
p[id*=" heartyglyphlight-title"] a {
  color: #444;
  line-height: 1.3em;
  text-decoration: none;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}

/* description */
div.heartyglyphlight-description h2,
div.heartyglyphlight-description p {
  text-align: center;
}
div.heartyglyphlight-description p {
  margin-bottom: 28px;
}

/* icon effects
====================================================================== */

/* no icon effect */
.heartyglyphlight-effect-none {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}

/* effect 1 */
.heartyglyphlight-effect1 {
  -webkit-transition: all 1s ease-in-out 0s;
          transition: all 1s ease-in-out 0s;
}
.heartyglyphlight-effect1:hover {
  -webkit-transform: rotate(-360deg) scale(1, 1);
  -moz-transform: rotate(-360deg) scale(1, 1);
  -o-transform: rotate(-360deg) scale(1, 1);
  transform: rotate(-360deg) scale(1, 1);
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect1 i:hover {
  color: #444!important;
}

/* effect 2 */
.heartyglyphlight-effect2 {
  -webkit-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
}
.heartyglyphlight-effect2:hover {
  animation-name: effect2;
  -webkit-animation-name: effect2;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  background-color: #eee!important;
  border-color: #444!important;
}
.heartyglyphlight-effect2 i:hover {
  color: #444!important;
}

@-webkit-keyframes effect2 {
  60% {
    -webkit-transform: scale(1);
  }
  80% {
    -webkit-transform: scale(0.7);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}
@-moz-keyframes effect2 {
  60% {
    -webkit-transform: scale(1);
  }
  80% {
    -webkit-transform: scale(0.7);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}
@keyframes effect2 {
  60% {
    transform: scale(1);
  }
  80% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* effect 3 */
.heartyglyphlight-effect3 {
  -webkit-transition: 1.5s;
  -moz-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
  -webkit-transform: rotate(0deg);
}
.heartyglyphlight-effect3:hover {
  -webkit-transform: rotate(720deg) scale(1.2, 1.2);
  -moz-transform: rotate(720deg) scale(1.2, 1.2);
  -o-transform: rotate(720deg) scale(1.2, 1.2);
  transform: rotate(720deg) scale(1.2, 1.2);
  transition: all 2s ease-in-out 0s;
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect3 i:hover {
  color: #444!important;
}

/* effect 4 */
.heartyglyphlight-effect4 {
  -webkit-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
  -webkit-transform: rotateY(0deg);
}
.heartyglyphlight-effect4:hover {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-perspective-origin: 50% 100px;
  -moz-perspective-origin: 50% 100px;
  -o-perspective-origin: 50% 100px;
  perspective-origin: 50% 100px;
  -webkit-transition: all 2s ease-in-out 0s;
  -moz-transition: all 2s ease-in-out 0s;
  -o-transition: all 2s ease-in-out 0s;
  transition: all 2s ease-in-out 0s;
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect4 i:hover {
  color: #444!important;
}

/* effect 5 */
.heartyglyphlight-effect5 {
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
  -webkit-transform: rotate(0deg)
}
.heartyglyphlight-effect5:hover {
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
  -webkit-animation: effect5 2s linear infinite;
  -moz-animation: effect5 2s linear infinite;
  animation: effect5 2s linear infinite;
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect5 i:hover {
  color: #444!important;
}

@-webkit-keyframes effect5 {
  from {
    -webkit-transform: rotate(0deg)
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes effect5 {
  from {
    -moz-transform: rotate(0deg)
  }
  to {
    -moz-transform: rotate(360deg);
  }
}
@keyframes effect5 {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg);
  }
}

/* effect 6 */
.heartyglyphlight-effect6 {
  -webkit-transition: 700ms;
  -o-transition: 700ms;
  transition: 700ms;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.heartyglyphlight-effect6:hover {
  -webkit-transform: translateY(10%);
  -ms-transform: translateY(10%);
  -o-transform: translateY(10%);
  transform: translateY(10%);
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect6 i:hover {
  color: #444!important;
}

/* effect 7 */
.heartyglyphlight-effect7 {
  -webkit-transition: all 400ms linear;
  -moz-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.heartyglyphlight-effect7:hover,
.heartyglyphlight-effect7:focus {
  -webkit-animation-name: effect7;
  animation-name: effect7;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect7 i:hover {
  color: #444!important;
}

@-webkit-keyframes effect7 {

  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
    transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
    transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

}
@keyframes effect7 {

  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
    transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
    transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

}

/* effect 8 */
.heartyglyphlight-effect8 {
  -webkit-transition: all 400ms linear;
  -moz-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}
.heartyglyphlight-effect8:hover {
  -webkit-transform-origin: top center 0;
  -ms-transform-origin: top center 0;
  transform-origin: top center 0;
  -webkit-animation-name: effect8;
  animation-name: effect8;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  background-color: #eee!important;
  border-color: #444!important;
  color: #444!important;
}
.heartyglyphlight-effect8 i:hover {
  color: #444!important;
}

@-webkit-keyframes effect8 {
  20% {
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
  }

  40% {
    -webkit-transform: rotate(-20deg);
    transform: rotate(-20deg);
  }

  60% {
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
  }

  80% {
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@keyframes effect8 {
  20% {
    -webkit-transform: rotate(25deg);
    -ms-transform: rotate(25deg);
    transform: rotate(25deg);
  }

  40% {
    -webkit-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
  }

  60% {
    -webkit-transform: rotate(5deg);
    -ms-transform: rotate(5deg);
    transform: rotate(5deg);
  }

  80% {
    -webkit-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    transform: rotate(-5deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

/* layout effects
====================================================================== */

/* js classes */
.heartyhide { opacity:0; }
.heartyshow { opacity:1; }

/* no layout effect */
.layout-effect-none {
   -webkit-animation: none;
   -moz-animation: none;
   -o-animation: none;
   -ms-animation: none;
   animation: none;
}

/* layout effect 1 */
.layout-effect1 {
  -webkit-animation-name: layout-effect1;
  -moz-animation-name: layout-effect1;
  animation-name: layout-effect1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}
@-moz-keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}
@keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}

/* layout effect 2 */
.layout-effect2 {
  -webkit-animation-name: layout-effect2;
  -moz-animation-name: layout-effect2;
  animation-name: layout-effect2;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect2 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}
@-moz-keyframes layout-effect2 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}
@keyframes layout-effect2 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    -moz-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: translate3d(0, -100%, 0);
    transform: none;
  }

}

/* layout effect 3 */
.layout-effect3 {
  -webkit-animation-name: layout-effect3;
  -moz-animation-name: layout-effect3;
  animation-name: layout-effect3;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect3 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}
@-moz-keyframes layout-effect3 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}
@keyframes layout-effect3 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-25%, 0, 0);
    -moz-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/* layout effect 4 */
.layout-effect4 {
  -webkit-animation-name: layout-effect4;
  -moz-animation-name: layout-effect4;
  animation-name: layout-effect4;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect4 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}
@-moz-keyframes layout-effect4 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}
@keyframes layout-effect4 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(25%, 0, 0);
    -moz-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/* layout effect 5 */
.layout-effect5 {
  -webkit-animation-name: layout-effect5;
  -moz-animation-name: layout-effect5;
  animation-name: layout-effect5;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect5 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}
@-moz-keyframes layout-effect5 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}
@keyframes layout-effect5 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/* layout effect 6 */
.layout-effect6 {
  -webkit-animation-name: layout-effect6;
  -moz-animation-name: layout-effect6;
  animation-name: layout-effect6;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect6 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}
@-moz-keyframes layout-effect6 {

  0% {
    opacity: 0;
    -moz-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}
@keyframes layout-effect6 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    -moz-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}

/* layout effect 7 */
.layout-effect7 {
  -webkit-animation-name: layout-effect7;
  -moz-animation-name: layout-effect7;
  animation-name: layout-effect7;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect7 {

  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

}
@-moz-keyframes layout-effect7 {

  0% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -moz-transform: perspective(400px);
    transform: perspective(400px);
  }

}
@keyframes layout-effect7 {

  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    -moz-transform: perspective(400px);
    transform: perspective(400px);
  }

}

/* layout effect 8 */
.layout-effect8 {
  -webkit-animation-name: layout-effect8;
  -moz-animation-name: layout-effect8;
  animation-name: layout-effect8;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect8 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }

}
@keyframes layout-effect8 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }

}
