@font-face {
  font-family: 'Cabin';
  src: url('Cabin-Bold-webfont.eot');
  src: url('Cabin-Bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('Cabin-Bold-webfont.woff') format('woff'),
       url('Cabin-Bold-webfont.ttf') format('truetype'),
       url('Cabin-Bold-webfont.svg#CabinBold') format('svg');
  font-weight: bold;
  font-style: normal;
}
.animated-gif {
  position: relative;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000px;
  min-width: 80px;
  min-height: 80px;
  display: inline-block;
}
.animated-gif:hover .gif-circle {
  -webkit-transform: rotate3d(45, 45, 0, 180deg);
          transform: rotate3d(45, 45, 0, 180deg);
}
.animated-gif:hover .gif-outer-ring {
  -webkit-transform: rotate3d(45, 0, 0, 180deg);
          transform: rotate3d(45, 0, 0, 180deg);
}
.animated-gif .play-gif {
  display: none;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
}
.animated-gif .gif-front, .animated-gif .gif-back {
  width: 80px;
  height: 80px;
  background-color: transparent;
}
.animated-gif .gif-circle, .animated-gif .gif-outer-ring {
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
          transition-timing-function: cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.animated-gif .gif-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0;
  left: 0;
}
.animated-gif .gif-front, .animated-gif .gif-back {
  border-radius: 50%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  -webkit-backface-visibility: visible;
  -moz-backface-visibility: visible;
  -ms-backface-visibility: visible;
  -o-backface-visibility: visible;
  backface-visibility: visible;
  position: absolute;
  top: 10px;
  left: 10px;
}
.animated-gif .gif-front {
  background-color: #fff;
  z-index: 2;
}
.animated-gif:hover .gif-front {
   z-index: 0;
} 
.animated-gif .gif-front span {
  display: block;
  margin: 0;
  line-height: 80px;
  font-family: Cabin, Tahoma, Verdana, Segoe, sans-serif;;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  color: #c02227;
}
.animated-gif .gif-back {
  -webkit-transform: rotate3d(45, 45, 0, 180deg);
          transform: rotate3d(45, 45, 0, 180deg);
  background-color: #fff;
}
.animated-gif .gif-back img {
  width: 50px;
  display: block;
  margin: 15px 20px;
}
.animated-gif .gif-back .btn-play {
  display: block;
  margin: 15px 20px;
  width: 50px;
  height: 50px;
  background: url('./addons/pr_pause_gif/styles/btn_play.svg') no-repeat;
}
/*
.animated-gif .gif-back .btn-play {
  display: block;
  margin: 16px 26px;
  border-style: solid;
  border-width: 24px 0 24px 40px;
  border-color: transparent transparent transparent #c02227;
}
*/
.animated-gif .gif-outer-ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  border: 3px solid #fff;
  width: 94px;
  height: 94px;
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
