/* button animation  */
@keyframes btnBorderAnimation {
  0% {
    width: 0;
    height: 0;
    border-bottom-color: var(--r-br, var(--r-br-b));
  }

  99.9999% {
    width: 100%;
    height: 100%;
    border-bottom-color: var(--r-br, var(--r-br-b));
  }

  100% {
    width: 0;
    height: 0;
    border-bottom-color: transparent;
  }

}

.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button {
  position: relative;
  overflow: hidden;
}

.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a::after,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a::before,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button::after,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button::before {
  content: '';
  position: absolute;
  inset-block-end: 0;
  width: 0;
  height: 0;
  inset-inline-end: 0;
  background-color: transparent;
  border-block-end: 5px solid transparent;
}

.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a::before,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button::before {
  inset-inline-start: 0;
}

.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a::after,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button::after {
  inset-inline-end: 0;
}

.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a:hover::after,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>a:hover::before,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button:hover::after,
.page-wrapper nav ul:not(.header ul,
.solo-ul,
.field ul,
.pager ul) li>button:hover::before {
  animation: btnBorderAnimation 0.5s ease-out forwards;
}

a,
button,
input.button {
  -webkit-transition: color .4s ease, background-color .4s ease, border-color .4s ease;
  -moz-transition: color .4s ease, background-color .4s ease, border-color .4s ease;
  -ms-transition: color .4s ease, background-color .4s ease, border-color .4s ease;
  -o-transition: color .4s ease, background-color .4s ease, border-color .4s ease;
  transition: color .4s ease, background-color .4s ease, border-color .4s ease;
}

.page-wrapper form input.button.form-submit:hover {
  animation: wiggle 0.6s ease-out both;
}

.solo-animate-opacity,
.solo__fade-in {
  animation: opac 0.8s;
  animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes opac {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

.solo-animate-top {
  position: relative;
  animation: animatetop 0.6s;
  animation-timing-function: var(--solo-ease-in-out);
}

@keyframes animatetop {
  from {
    inset-block-start: -300px;
    opacity: 0;
  }

  to {
    inset-block-start: 0;
    opacity: 1;
  }

}

.solo-animate-left {
  position: relative;
  animation: animateleft 0.6s;
  animation-timing-function: var(--solo-ease-in-out);
}

@keyframes animateleft {
  from {
    inset-inline-start: -300px;
    opacity: 0;
  }

  to {
    inset-inline-start: 0;
    opacity: 1;
  }

}

.solo-animate-right {
  position: relative;
  animation: animateright 0.6s;
  animation-timing-function: var(--solo-ease-in-out);
}

@keyframes animateright {
  from {
    inset-inline-end: -300px;
    opacity: 0;
  }

  to {
    inset-inline-end: 0;
    opacity: 1;
  }

}

.solo-animate-bottom {
  position: relative;
  animation: animatebottom 0.6s;
  animation-timing-function: var(--solo-ease-in-out);
}

@keyframes animatebottom {
  from {
    inset-block-end: -300px;
    opacity: 0;
  }

  to {
    inset-block-end: 0;
    opacity: 1;
  }

}

.solo-animate-zoom {
  animation: animatezoom 0.6s;
  animation-timing-function: var(--solo-ease-in-out);
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }

}

.solo-animate-input {
  transition: width 0.4s ease-in-out;
}

.solo-animate-input:focus {
  width: 100% !important;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotateZ(0deg) scale(1);
  }

  15% {
    transform: rotateZ(-2.5deg) scale(1.01);
  }

  30% {
    transform: rotateZ(2deg) scale(0.99);
  }

  45% {
    transform: rotateZ(-1.5deg) scale(1.005);
  }

  60% {
    transform: rotateZ(1deg) scale(0.995);
  }

  75% {
    transform: rotateZ(-0.5deg) scale(1.0025);
  }

  90% {
    transform: rotateZ(0.25deg) scale(1);
  }
}


.dis-anim-submit form input.button.form-submit:hover {
  animation: none !important;
}

.dis-anim-link nav ul li>a:hover::after,
.dis-anim-link nav ul li>a:hover::before,
.dis-anim-link nav ul li>button:hover::after,
.dis-anim-link nav ul li>button:hover::before {
  animation: none !important;
}
