/***************
  Creative Buttons
*****************/  
/*=-=-=-=-=-=-=hover_button_one=-=-=-=-=-=*/
.ansarel-more-link {
  padding: 14px 30px;
  background-color: #5751E1;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  position: relative;
  fill: #fff;
  text-align: center;
  &:hover{
    background-color: #676ced;
    color: #fff;
  }
  .ansarel-cat-icon{
    margin-right: 5px;
  }
  &.winona {
    padding: 0;
    overflow: hidden;
    -webkit-transition: border-color 0.3s, background-color 0.3s;
    transition: border-color 0.3s, background-color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    &:after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      width: 100%;
      color: #fff;
      -webkit-transform: translate3d(0, 25%, 0);
      transform: translate3d(0, 25%, 0);
    }
    span {
      display: block;
    }
    &::after,
    & span {
      padding: 14px 30px;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s;
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    }
    &:hover {
      background-color: #5751E1;
    }
    &:hover span {
      opacity: 0;
      -webkit-transform: translate3d(0, -25%, 0);
      transform: translate3d(0, -25%, 0);
    }
    &:hover::after {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  /*=-=-=-=-=-=-=hover_button_two=-=-=-=-=-=*/
  &.ujarak {
    -webkit-transition: border-color 0.4s, color 0.4s;
    transition: border-color 0.4s, color 0.4s;
    z-index: 1;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    padding: 0;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #111;
      z-index: -1;
      opacity: 0;
      -webkit-transform: scale3d(0.7, 1, 1);
      transform: scale3d(0.7, 1, 1);
      -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
      transition: transform 0.4s, opacity 0.4s;
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      border-radius: 5px;
    }
    &:hover {
      color: #fff;
      background-color: transparent;
    }
    &:hover::before {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

  /*=-=-=-=-=-=-= hover_button_three =-=-=-=-=-=*/
  &.diagonal {
    background-color: #5751E1;
    color: #fff;
    transition: all 0.2s;
    padding: 0;
    z-index: 1;
    overflow: hidden;
    display: inline-flex;

    span {
      transition: all 0.3s;

      &::before {
        content: '';
        width: 0%;
        height: 100vh;
        position: absolute;
        top: 50%;
        left: 50%;
        background-color: black;
        transform: translate(-50%, -50%) rotate(45deg);
        transition: all 0.5s;
        display: block;
        z-index: -1;
      }
    }

    &:hover span::before {
      width: 105%;
    }

    &:hover {
      color: #fff;
    }
  }

  /*=-=-=-=-=-=-=hover_button_four=-=-=-=-=-=*/
  &.swipe {
    overflow: hidden;
    z-index: 1;
    padding: 0;

    &::before {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0%;
      height: 100%;
      background-color: #000;
      transition: all .3s;
      z-index: -1;
      transform-origin: left;
    }
    &:hover {
      color: #fff;
    }
    &:hover::before {
      width: 100%;
      left: 0;
      right: unset;
      transform-origin: right;
    }
  }
  /*=-=-=-=-=-=-=hover_button_five=-=-=-=-=-=*/
  /*  */
  &.wayra {
    overflow: hidden;
    z-index: 1;
    padding: 0;
    -webkit-transition: border-color 0.3s, color 0.3s;
    transition: border-color 0.3s, color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 150%;
      height: 100%;
      background: #37474f;
      z-index: -1;
      -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
      transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
      -webkit-transform-origin: 0% 100%;
      transform-origin: 0% 100%;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s, background-color 0.3s;
      transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
    }
    &:hover {
      color: #fff;
    }
    &:hover::before {
      opacity: 1;
      background-color: #111;
      -webkit-transform: rotate3d(0, 0, 1, 0deg);
      transform: rotate3d(0, 0, 1, 0deg);
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    }
  }
  /*=-=-=-=-=-=-=hover_button_six Tamaya=-=-=-=-=-=*/
  &.tamaya {
    overflow: hidden;
    color: #fff;
    text-align: center;
    &::before,
    &::after {
      content: attr(data-text);
      position: absolute;
      width: 100%;
      height: 50%;
      left: 0;
      background: #111;
      color: #fff;
      overflow: hidden;
      -webkit-transition: -webkit-transform 0.3s;
      transition: transform 0.3s;
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    }
    &::before {
      top: 0;
      padding-top: 0.9em;
    }
    &::after {
      bottom: 0;
      line-height: 0;
    }

    >span {
      display: block;
      -webkit-transform: scale3d(0.2, 0.2, 1);
      transform: scale3d(0.2, 0.2, 1);
      opacity: 0;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s;
      -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
      transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    }
    &:hover::before {
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
    }
    &:hover::after {
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
    &:hover>span {
      opacity: 1;
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
    }
  }
  /*=-=-=-=-=-=-=hover_button_seven=-=-=-=-=-=*/
  &.shine {
    z-index: 1;
    overflow: hidden;
    padding: 0;
    &:after {
      background: #fff;
      content: "";
      height: 155px;
      left: -75px;
      opacity: .2;
      position: absolute;
      top: -50px;
      transform: rotate(35deg);
      transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
      width: 50px;
      z-index: -1;
    }
    &:hover {
      color: #fff;
    }
    &:hover::after {
      left: 120%;
      transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    }
  }
  /*=-=-=-=-=-=-=hover_button_eight=-=-=-=-=-=*/
  &.alternate {
    z-index: 1;
    transition: all 0.5s;
    padding: 0;
    overflow: hidden;

    &::before {
      content: '';
      display: inline-block;
      background-color: #111;
      position: absolute;
      bottom: 100%;
      left: 0%;
      width: 25%;
      height: 100%;
      z-index: -1;
      transition: all 0.5s;
    }

    &:hover::before {
      bottom: 0;
    }

    &::after {
      content: '';
      display: inline-block;
      background-color: #111;
      position: absolute;
      bottom: 100%;
      left: 50%;
      width: 25%;
      height: 100%;
      z-index: -1;
      transition: all 0.5s;
    }

    &:hover::after {
      bottom: 0;
    }

    &:hover {
      color: #fff;
    }

    span::before {
      content: '';
      display: block;
      background-color: #111;
      position: absolute;
      top: 100%;
      left: 25%;
      width: 25%;
      height: 100%;
      z-index: -1;
      transition: all 0.5s;
    }

    &:hover span::before {
      top: 0;
    }

    span::after {
      content: '';
      display: block;
      background-color: #111;
      position: absolute;
      top: 100%;
      left: 75%;
      width: 25%;
      height: 100%;
      z-index: -1;
      transition: all 0.5s;
    }

    &:hover span::after {
      top: 0;
    }
  }
  /*=-=-=-=-=-=-=hover_button_nine=-=-=-=-=-=*/
  &.collision {
    z-index: 1;
    overflow: hidden;
    transition: all 0.8s;
    padding: 0;
    &:hover {
      color: #fff;
    }
    &::before,
    &::after {
      content: '';
      width: 15px;
      height: 15px;
      display: block;
      background-color: #111;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border-radius: 50%;
      z-index: -1;
      padding: 0 !important;
    }
    &::before {
      left: -20px;
      transform: translate(-50%, -50%);
    }
    &:hover::before {
      animation: criss-cross-left 0.8s both;
      animation-direction: alternate;
    }
    &::after {
      right: -20px;
      transform: translate(50%, -50%);
    }
    &:hover::after {
      animation: criss-cross-right 0.8s both;
      animation-direction: alternate;
    }
  }
  /*=-=-=-=-=-=-=hover_button_ten=-=-=-=-=-=*/
  &.rayen {
    overflow: hidden;
    padding: 0;
    &::before {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      background: #111;
      color: #fff;
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
    }
    >span {
      display: block;
    }
    &::before,
    >span {
      padding: 14px 30px;
      -webkit-transition: -webkit-transform 0.3s;
      transition: transform 0.3s;
      -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
      transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    }
    &:hover::before {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    &:hover>span {
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  }
  /*=-=-=-=-=-=-=hover_button_eleven=-=-=-=-=-=*/
  &.aylen {
    overflow: hidden;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    z-index: 1;
    padding: 0;
    &::before,
    &::after {
      content: '';
      position: absolute;
      height: 100%;
      width: 100%;
      bottom: 100%;
      left: 0;
      z-index: -1;
      -webkit-transition: -webkit-transform 0.3s;
      transition: transform 0.3s;
      -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
      transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    }
    &::before {
      opacity: 0.5;
    }
    &::after,
    &::before {
      background: #111;
    }
    &:hover {
      color: #fff;
    }
    &:hover::before,
    &:hover::after {
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
    &:hover::after {
      -webkit-transition-delay: 0.175s;
      transition-delay: 0.175s;
    }
  }
  /*=-=-=-=-=-=-=hover_button_Twelve=-=-=-=-=-=*/
  &.saqui {
    overflow: hidden;
    color: #fff;
    background: #5751E1;
    -webkit-transition: background-color 0.3s ease-in, color 0.3s ease-in;
    transition: background-color 0.3s ease-in, color 0.3s ease-in;
    padding: 0;
    &::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      color: #fff;
      -webkit-transform-origin: -25% 50%;
      transform-origin: -25% 50%;
      -webkit-transform: rotate3d(0, 0, 1, 45deg);
      transform: rotate3d(0, 0, 1, 45deg);
      -webkit-transition: -webkit-transform 0.3s ease-in;
      transition: transform 0.3s ease-in;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    &:hover::after,
    &:hover {
      -webkit-transition-timing-function: ease-out;
      transition-timing-function: ease-out;
    }
    &:hover {
      background-color: black;
      color: transparent;
    }
    &:hover::after {
      -webkit-transform: rotate3d(0, 0, 1, 0deg);
      transform: rotate3d(0, 0, 1, 0deg);
    }
  }
  &.none span{
    padding: 0 !important;
  }
  small{
    font-size: unset;
    display: inline-block;
  }
}
@keyframes criss-cross-left {
  0% {
    left: -20px;
  }
  50% {
    left: 50%;
    width: 20px;
    height: 20px;
  }
  100% {
    left: 50%;
    width: 150%;
    height: 150%;
  }
}
@keyframes criss-cross-right {
  0% {
    right: -20px;
  }

  50% {
    right: 50%;
    width: 20px;
    height: 20px;
  }

  100% {
    right: 50%;
    width: 150%;
    height: 150%;
  }
}
.ansarel-align-justify{
  .ansarel-more-link{
    width: 100%;
  }
}