/**
* ==============================================
* Payment Failure Screen
* ==============================================
*/
.animated-x {
    margin-top: 10%;
}
.animated-x svg#x-svg {
    margin: auto;
    width: 150px;
    height: 150px;
    display: block;
}
.animated-x svg#x-svg .cls-1 {
    fill: none;
    stroke: #ea2b00;
    stroke-miterlimit: 10px;
    stroke-width: 5px;
}
.animated-x svg#x-svg .circle {
    stroke-dasharray: 700px;
    stroke-dashoffset: 700px;
}
.animated-x svg#x-svg .x {
    stroke-dasharray: 150px;
    stroke-dashoffset: 150px;
}
.animated-x .x-animation .circle {
    -webkit-animation: 1s xCircleDraw forwards;
            animation: 1s xCircleDraw forwards;
}
.animated-x .x-animation .x {
    -webkit-animation: 1s xDraw forwards;
            animation: 1s xDraw forwards;
}
@-webkit-keyframes xCircleDraw {
    from {
      stroke-dashoffset: 700px;
    }
    to {
      stroke-dashoffset: 0px;
    }
}
@keyframes xCircleDraw {
    from {
      stroke-dashoffset: 700px;
    }
    to {
      stroke-dashoffset: 0px;
    }
}
@-webkit-keyframes xDraw {
    from {
      stroke-dashoffset: 150px;
    }
    to {
      stroke-dashoffset: 0px;
    }
}
@keyframes xDraw {
    from {
      stroke-dashoffset: 150px;
    }
    to {
      stroke-dashoffset: 0px;
    }
}
.payment-success-message,
.close-message-container {
    color: #4e4e55;
    text-align: center;
    margin: 15px auto;
}
.payment-error-message {
    color: #4e4e55;
    text-align: center;
    margin-top: 15px;
    overflow-wrap: break-word;
    font-family: Roboto, sans-serif;
}
.responsive-container {
    width: 375px;
    padding: 50px 0px 25px;
    margin: 0 auto;
    min-width: 290px;
    max-width: 100%;
    max-height: 100%;
}

/**
* ==============================================
* Dot Flashing
* https://codepen.io/nzbin/pen/GGrXbp
* ==============================================
*/
.dot-flashing {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: white;
    color: white;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
}
.dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: white;
    color: white;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
}
.dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: white;
    color: white;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes dot-flashing {
    0% {
      background-color: white;
    }
    50%, 100% {
      background-color: rgba(152, 128, 255, 0.2);
    }
}

/**
* ==============================================
* USAePay
* ==============================================
*/
#epay-container {
    flex-direction: column;
}
.epay-close-span {
    float: right;
    cursor: pointer;
}
.epay-form {
    border-width: 2px;
    border-style: inset;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-direction: flex-end;
    max-width: 333px;
    height: 430px;
}

#paymentCardContainer {
    height: 110px;
}
.epay-error-container {
    color: red;
    padding-bottom: 5px;
    height: 27px;
    font-size: 14px;
}
.epay-submit-button {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 39px;
}
.epay-secure-container {
    font-size: 12px;
    padding-top: 5px;
}