/**
 * Popup
 */
.g5u-popup-wrap {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 11, 11, 0.8);
}

.g5u-popup-wrapper {
  display: none;
}

.g5u-popup-container {
  display: flex;
  height: 100vh;
  align-items: center;
  padding: 50px 0;
  overflow: auto;
  box-sizing: border-box;
  --g5u-popup-width: 640px;
  --g5u-content-min-height: 0vh;
}

.g5u-popup {
  position: relative;
  background: #fff;
  border-radius: 5px;
  max-width: 90%;
  width: var(--g5u-popup-width);
  margin: auto;
}

.g5u-popup-header {
  margin: 0;
  padding: 20px;
  font-size: 16px;
  border-bottom: solid 1px #e1e1e1;
  background-color: #eee;
  position: relative;
  display: flex;
  align-items: center;
}

.g5u-popup-body {
  padding: 20px;
  min-height: var(--g5u-content-min-height);
}

.g5u-popup-footer {
  padding: 10px 20px;
  text-align: right;
  border-top: solid 1px #eee;
}

.g5u-popup-close {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.65;
  width: 50px;
  height: 61px;
  line-height: 56px;
  padding-bottom: 4px;
  font-size: 24px;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  outline: none;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
  color: #444;
}

.g5u-popup-close:active {
  top: 1px;
}

.g5u-popup-close:hover {
  opacity: 1;
}

/**
 * Loading
 */
@keyframes g5u-loading-animation {
  0% {
    top: 28px;
    left: 28px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: -1px;
    left: -1px;
    width: 58px;
    height: 58px;
    opacity: 0;
  }
}
.g5u-loading {
  position: absolute;
  display: flex;
  background: rgba(20, 30, 48, 0.2);
  background: -webkit-linear-gradient(to right, rgba(20, 30, 48, 0.2), rgba(36, 59, 85, 0.2));
  background: linear-gradient(to right, rgba(20, 30, 48, 0.2), rgba(36, 59, 85, 0.2));
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.g5u-loading > span {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.g5u-loading > span:before,
.g5u-loading > span:after {
  content: "";
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: g5u-loading-animation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.g5u-loading > span:after {
  animation-delay: -0.5s;
}

/**
 * Loading Button
 */
@keyframes g5u-lb-spin {
  0% {
    animation-timing-function: cubic-bezier(0.5856, 0.0703, 0.4143, 0.9297);
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.g5u-lb {
  transform-origin: 50% 50%;
  animation: g5u-lb-spin 1s infinite linear;
  width: 1em;
  height: 1em;
  color: inherit;
  display: inline-block;
  box-sizing: content-box;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em;
  opacity: 0;
  z-index: -1;
  transition: all 0.3s;
  transition-timing-function: ease-in;
}

.g5u-lb::after {
  content: " ";
  display: block;
  width: 2em;
  height: 2em;
  box-sizing: border-box;
  transform-origin: 0 0;
  transform: translateZ(0) scale(0.5);
  backface-visibility: hidden;
  border-radius: 50%;
  border: 0.3em solid currentColor;
  border-left-color: transparent;
}

.g5u-lb-right,
.g5u-lb-left {
  position: relative;
  transition: all 0.3s;
  transition-timing-function: ease-in;
}

.g5u-lb-right > .g5u-lb > *,
.g5u-lb-left > .g5u-lb > * {
  width: 1em;
  height: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-0.5em, -0.5em);
}

.g5u-lb-running > .g5u-lb {
  opacity: 1;
  z-index: auto;
  visibility: visible;
}

.g5u-lb-right.g5u-lb-running {
  padding-right: 2.5em !important;
}

.g5u-lb-right > .g5u-lb {
  top: 50%;
  left: auto;
  right: 1.25em;
}

.g5u-lb-left.g5u-lb-running {
  padding-left: 2.5em !important;
}

.g5u-lb-left > .g5u-lb {
  top: 50%;
  right: auto;
  left: 1.25em;
}

/*# sourceMappingURL=g5-utils.css.map */
