/* email validation styles */
input:invalid {
    border: 1px solid #DA1600 !important;
}

.email-validation-wrapper {
    margin-top: -30px;
    display: none !important;
}

#email{
    text-align: center;
}

.email-validation {
    font-size: 0.825rem !important;
    margin: auto;
    padding-top: 5px;
    color: #DA1600;
}

@media all and (min-width: 768px) {
    .email-validation {
        width: 250px;
        padding-left: 35px;
    }
}

.email-validation-wrapper.error {
    display: -ms-flexbox !important;
    display: -webkit-box !important;
    display: flex !important;
    margin-bottom: -20px;
}

/* amount validation styles */

.amount-validation-wrapper {
    margin: 5px auto auto;
    text-align: center;
    display: none !important;
}

.amount-validation-wrapper.error {
    display: block !important;
    margin-bottom: -24px;
}

@media all and (min-width: 1200px) {
    .amount-validation-wrapper {
        width: 20%;
        margin: 20px auto auto 76.5%;
    }
    .amount-validation-wrapper.error {
        margin-bottom: -39px;
    }
}

@media all and (min-width: 992px) and (max-width: 1200px) {
    .amount-validation-wrapper {
        width: 23%;
        margin: 20px auto auto 75%;
    }
    .amount-validation-wrapper.error {
        margin-bottom: -39px;
    }
}

.amount-validation {
    font-size: 0.825rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #DA1600 !important;
}

/* pay button fix*/

#payButton:hover {
    cursor: pointer;
}

/* loader styles */
#loader {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loader svg {
    width: 100px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    fill: #ff6700;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Safari prior 9.0 */
    transform: rotate(-90deg);
}

@keyframes dash {
    0% {
        stroke-dasharray: 2, 200;
        stroke-dashoffset: 0;
    }
    85% {
        stroke-dasharray: 200, 200;
        stroke-dashoffset: -124px;
    }
    100% {
        stroke-dasharray: 200, 200;
        stroke-dashoffset: -124px;
    }
}

@keyframes color {
    15% {
        stroke: #e41e0a;
    }
    31% {
        stroke: #23201c;
    }
    47% {
        stroke: #f39100;
    }
    63% {
        stroke: #cc0b18;
    }
    79% {
        stroke: #0077bd;
    }
    95% {
        stroke: #18a035;
    }
}

#loader svg circle {
    stroke-width: 0.25rem;
}

#loader svg circle.two {
    stroke: #e41e0a;
    stroke-dasharray: 2, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1s ease-in infinite, color 6s ease-in infinite;
}

/*overridden styles*/
#payments .container .email-input-row input:focus {
    border: 1px solid #ffffff !important;
    outline: none;
    background-color: #f8f8f8
}

header .logo img {
    width: 100%;
    max-width: 120px;
    height: 27px !important;
}


.text-success {
    color: #289640 !important;
}

/* fix iphone X/XS thank you page title*/
@media only screen
and (device-width: 375px)
and (device-height: 812px)
and (-webkit-device-pixel-ratio: 3) {
    #thankyou h1 {
        font-size: 3rem;
    }
}
