﻿/*==== PAYPAL LOADING SPINNER ====*/
.loading #main {
    opacity: .1
}

.spinner {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 10;
}

    .spinner .spinWrap {
        width: 200px;
        height: 100px;
        position: fixed;
        top: 45%;
        left: 50%;
        margin-left: -100px;
        margin-top: -100px
    }

.framed .spinner {
    position: fixed
}

    .framed .spinner .spinWrap {
        position: fixed;
        top: 50%;
        height: 75px;
        margin-top: -37.5px
    }

.spinner .loader,
.spinner .spinnerImage {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 0;
    left: 50%;
    opacity: 1;
    filter: alpha(opacity=100)
}

.spinner .spinnerImage {
    margin: 23px 0 0 -30px;
    background: url(https://www.paypalobjects.com/images/checkout/hermes/icon_ot_spin_lock_skinny.png) no-repeat
}

.spinner .loader {
    margin: 0 0 0 -55px;
    background-color: transparent;
    -webkit-animation: rotation .7s infinite linear;
    -moz-animation: rotation .7s infinite linear;
    -o-animation: rotation .7s infinite linear;
    animation: rotation .7s infinite linear;
    border-left: 5px solid #cbcbca;
    border-right: 5px solid #cbcbca;
    border-bottom: 5px solid #cbcbca;
    border-top: 5px solid #2380be;
    border-radius: 100%
}

.spinner .loadingMessage {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 125px;
    text-align: center;
    z-index: 100;
    outline: 0
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0)
    }

    to {
        -webkit-transform: rotate(359deg)
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0)
    }

    to {
        -moz-transform: rotate(359deg)
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0)
    }

    to {
        -o-transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(359deg)
    }
}

@media only screen and (max-width: 768px) {
    .spinner {
        .spinWrap

{
    width: 200px;
    height: 100px;
    //180 or 212 position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -93px;
    //length of half spinwrap width margin-top: -50px;
    //length of half spinwrap height
}

}
}

.spinnerMessage {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 14px;
    margin: 0;
    position: fixed;
    left: 50%;
    top: 47%;
    margin-right: -50%;
    transform: translate(-50%, 0%)
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 1) {
    .spinnerMessage {
        font-size: 14px;
        margin-top: 10px;
    }
}
/* ----------- iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    .spinnerMessage {
        font-size: 14px;
        margin-top: 12px;
    }
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    .spinnerMessage {
        font-size: 14px;
        margin-top: 10px;
    }
}
/* ----------- Galaxy S4, S5 and Note 3 ----------- */
@media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    .spinnerMessage {
        font-size: 14px;
        margin-top: 10px;
    }
}


@media screen and (max-width:500px) {
    .dynamic-paypal-checkout-button {
        width: 100%;
        position: relative;
    }
}
@media screen and (min-width:550px) {
    .dynamic-paypal-checkout-button {
        width: 44%;
        position: relative;
        float:right;
    }
}
