/* ==========================================================================
  c-app-popover
   ========================================================================== */

@keyframes c-app-popover-fadein {
   from {
     transform: scale(0.9) translateY(-500px);
     opacity: 0;
   }
   to {
     transform: scale(1) translateY(0);
     opacity: 1;
   }
}

.c-app-popover {
  position: absolute;
  top: -1000px;
  right: -1000px;
  z-index: 100;
  display: none;
}

.c-app-popover {
  &.will-animate {
    animation: c-app-popover-fadein 0.3s ease-in-out;
  }
  transform-origin: top;
  background: rgba(0,0,0,0.8);
  padding: 15px;
  @include clearfix;
  text-align: center;
  //position: relative;
  min-width: 400px;
  max-width: 400px;
  svg {
    display: block;
    margin: 0 auto 4px;
    * {
      fill: #FFF;
    }
  }
  a {
    display: block;
    width: 33.3%;
    float: left;
    padding: 4%;
    color: rgba(#FFF,0.8);
    &:hover {
      background: $blue;
      color: #FFF;
      text-decoration: none;
      transition: background 0.18s ease-in-out;
    }
  }
  &:before {
    width: 0;
    height: 0;
    content: " ";
    border-left: 10px solid transparent;
    border-top: 10px solid transparent;
    border-bottom: 10px solid rgba(0,0,0,0.8);
    border-right: 10px solid transparent;
    position: absolute;
    top: -20px;
    left: 50%;
    left: calc(50% - 10px);
  }
}