.inner-page .popup-wrapper,
.popup-wrapper {
    width: 100%;
    height: 100%;
    display: none;
    overflow: scroll;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .8)
}

.popup-wrapper .popup {
    max-width: 900px;
    display: none;
    font-size: 14px;
    line-height: 20px;
    padding: 0 0 50px;
    position: relative;
    top: 50px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
}

.popup-wrapper .popup .popup-inner {
    padding: 34px 40px 40px 40px;
    position: relative;
    border-radius: 10px;
    -webkit-box-shadow: 0 15px 50px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 15px 50px 0 rgba(0, 0, 0, .15);
    -o-box-shadow: 0 15px 50px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, .15);
    background: #fff
}

.popup-wrapper .popup .close-popup-link {
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    top: 15px;
    right: 15px
}

.popup p {
    margin: 0
}

.popup-wrapper .popup .close-popup-link:after,
.popup-wrapper .popup .close-popup-link:before {
    content: '';
    width: 14px;
    height: 2px;
    display: block;
    position: absolute;
    left: -1px;
    top: 5px;
    background: #000
}

.popup-wrapper .popup .close-popup-link:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
}

.popup-wrapper .popup .close-popup-link:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.popup-wrapper .popup footer {
    text-align: center;
    padding: 30px 0 0 0;
    margin: 8px 0 0 0;
    border-top: 1px solid #ddd;
    top: auto
}

.popup-wrapper .popup footer .close-popup-link {
    width: auto;
    height: 38px;
    display: inline-block;
    font-size: 20px;
    color: #766118;
    line-height: 36px;
    letter-spacing: -.5px;
    opacity: 1;
    padding: 0 25px;
    position: relative;
    top: 0;
    right: 0;
    border: 1px solid #e0b712;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 0 #ffe786;
    -moz-box-shadow: inset 0 1px 0 #ffe786;
    -o-box-shadow: inset 0 1px 0 #ffe786;
    box-shadow: inset 0 1px 0 #ffe786;
    -webkit-text-shadow: 1px 1px 0 #fbe27e;
    -moz-text-shadow: 1px 1px 0 #fbe27e;
    -o-text-shadow: 1px 1px 0 #fbe27e;
    text-shadow: 1px 1px 0 #fbe27e;
    background: #fdd638;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fdd638), to(#f3c81e));
    background: -webkit-linear-gradient(#fdd638, #f3c81e);
    background: -moz-linear-gradient(#fdd638, #f3c81e);
    background: -ms-linear-gradient(#fdd638, #f3c81e);
    background: -o-linear-gradient(#fdd638, #f3c81e);
    background: linear-gradient(#fdd638, #f3c81e)
}

.popup-wrapper .popup footer .close-popup-link:hover {
    color: #77620d;
    background: #f3c81e;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f3c81e), to(#fdd638));
    background: -webkit-linear-gradient(#f3c81e, #fdd638);
    background: -moz-linear-gradient(#f3c81e, #fdd638);
    background: -ms-linear-gradient(#f3c81e, #fdd638);
    background: -o-linear-gradient(#f3c81e, #fdd638);
    background: linear-gradient(#f3c81e, #fdd638)
}

.popup-wrapper .popup footer .close-popup-link:after,
.popup-wrapper .popup footer .close-popup-link:before {
    display: none
}

.popup-wrapper .popup h2 {
    padding: 0 0 16px;
    margin: 0
}

.popup-wrapper .popup h3 {
    line-height: 24px;
    padding: 0 0 17px;
    margin: 0
}

.popup-wrapper .popup h4 {
    font-weight: 700;
    font-size: 20px;
    padding: 0 0 15px;
    margin: 0
}

.popup-wrapper .popup header+h3 {
    padding: 3px 0 17px
}

.popup-wrapper .popup p {
    padding: 0 0 17px
}

.popup-wrapper .popup ul {
    padding: 0 0 17px
}

.popup-wrapper .popup .form-popup {
    padding: 8px 0 22px
}

.popup-wrapper .popup .form-popup .form-holder {
    width: auto;
    margin: 0
}

.popup-wrapper .popup .form-popup .form-holder input[type=email],
.popup-wrapper .popup .form-popup .form-holder input[type=text],
.popup-wrapper .popup .form-popup .form-holder select {
    width: 400px
}

.popup-wrapper .popup .form-popup .form-holder .error-message {
    height: auto;
    font-size: 13px;
    color: #ff1c1c;
    line-height: 14px;
    text-align: left;
    padding: 3px 4px 2px 4px;
    position: relative;
    right: 0;
    top: 0;
    background: 0 0
}

.popup-wrapper .popup .form-popup .form-holder .error-message:after {
    display: none
}

.popup-wrapper .popup .form-popup .button {
    width: 160px;
    height: 60px;
    font-size: 36px;
    line-height: 60px;
    padding: 0;
    letter-spacing: -1px;
    border-radius: 5px
}

.popup-wrapper .popup .form-popup .button:hover {
    color: #fff !important
}

.popup-wrapper #popup-declined .popup-inner {
    position: relative;
    padding: 27px 40px 40px 40px
}

.popup-wrapper #popup-declined h2 {
    text-align: center;
    padding: 0 0 24px
}

.popup-wrapper #popup-declined h3 {
    font-size: 18px;
    line-height: 20px;
    text-transform: none;
    padding: 0 0 4px
}

.popup-wrapper #popup-declined .reason {
    text-align: center;
    padding: 23px 100px 25px;
    margin: 0 0 23px;
    border: 2px solid #f3351b;
    border-radius: 5px
}

.popup-wrapper #popup-declined .reason h3 {
    color: #f3351b;
    padding: 0 0 8px
}

.popup-wrapper #popup-declined ul {
    padding: 4px 0 3px 30px
}

.popup-wrapper #popup-declined form {
    padding: 12px 0 0 0;
    margin: 0
}

.popup-wrapper #popup-declined form .form-holder {
    width: 100%;
    padding: 0 0 10px
}

.popup-wrapper #popup-declined form .form-holder label {
    width: 150px;
    float: left;
    line-height: 34px
}

.popup-wrapper #popup-declined form .form-holder input[type=text] {
    width: 300px
}

.popup-wrapper #popup-declined form .form-holder select,
.popup-wrapper #popup-declined form .form-holder.cvv-code input[type=text] {
    width: 100px !important;
    float: left;
    margin: 0 5px 0 0
}

.popup-wrapper #popup-declined form .form-holder.cvv-code .cvv-link a {
    font-size: 12px;
    color: #21a90b;
    line-height: 34px
}

.popup-wrapper #popup-declined form .form-holder.cvv-code .cvv-image {
    height: auto;
    display: none;
    text-align: left;
    padding: 10px 0 0 150px
}

.popup-wrapper #popup-declined form .form-holder.cvv-code .cvv-image img {
    width: 205px
}

.popup-wrapper #popup-declined form .button {
    width: 205px;
    font-size: 24px;
    margin: 0 0 0 150px
}

.popup-wrapper #popup-declined .lock {
    height: 30px;
    font-size: 11px;
    color: #999;
    line-height: 14px;
    text-align: right;
    padding: 1px 33px 0 0;
    position: absolute;
    right: 45px;
    bottom: 10px
}

.popup-wrapper #popup-declined .lock img {
    width: 32px;
    position: absolute;
    top: 0;
    right: 0
}

.popup-wrapper #popup-declined .tip {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    bottom: 10px
}

.popup-wrapper #popup-declined .tip .icon {
    width: 30px;
    height: 30px;
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    line-height: 32px;
    text-align: center;
    padding: 0 0 0 1px;
    position: relative;
    border-radius: 20px;
    background: #21a90b
}

.popup-wrapper #popup-declined .tip .text {
    width: 370px;
    font-size: 12px;
    color: #fff;
    line-height: 14px;
    display: none;
    text-align: right;
    padding: 10px 15px 12px;
    position: absolute;
    top: 45px;
    right: -10px;
    border-radius: 4px;
    background: #21a90b
}

.popup-wrapper #popup-declined .tip .text:before {
    content: '';
    width: 0;
    height: 0;
    display: block;
    position: absolute;
    right: 17px;
    top: -10px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 10px solid #21a90b
}

.popup-wrapper #popup-declined .tip:focus .text,
.popup-wrapper #popup-declined .tip:hover .text {
    display: block
}

.popup-loading-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, .95)
}

.popup-loading-wrapper .popup {
    min-width: 300px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

.popup-loading-wrapper .popup h2 {
    width: 300px;
    font-size: 32px;
    color: #e5f3fc;
    line-height: 36px;
    letter-spacing: -1px;
    padding: 0 0 20px;
    margin: 0
}

.popup-loading-wrapper .popup h3 {
    line-height: 26px;
    letter-spacing: -1px;
    padding: 0 0 24px;
    margin: 0;
    color: #fff
}

.popup-loading-wrapper .popup p {
    font-size: 18px;
    color: #e5f3fc;
    padding: 8px 0 3px;
    opacity: .5
}

.popup-loading-wrapper .popup .product-image {
    width: 250px;
    height: 110px;
    margin: 0 auto 15px;
    position: relative;
    background: url("../images/1pk.html") no-repeat left top;
    background-size: 100% auto
}

.popup-loading-wrapper .popup .lock-image {
    width: 90px;
    margin: 0 auto 3px
}

.popup-loading-wrapper .popup .loading-image {
    width: 70px;
    height: 70px;
    margin: auto;
    -webkit-animation: spin 3s linear infinite;
    -moz-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite
}

.popup-banner-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .8)
}

.popup-banner-wrapper .popup-banner {
    padding: 50px 10px 0 10px
}

.popup-banner-wrapper .popup-banner figure a {
    max-width: 600px;
    margin: auto
}

.popup-banner-wrapper .popup-banner figure a {
    display: block
}

.popup-banner-wrapper .popup-banner figure a img {
    width: 100%
}

@media screen and (max-width:990px) {
    .popup-wrapper .popup {
        max-width: none;
        padding: 10px;
        top: 0;
        left: 0;
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0)
    }

    .popup-wrapper .popup h3 {
        padding: 0 0 12px
    }

    .popup-wrapper .popup p+h3,
    .popup-wrapper .popup ul+h3 {
        padding: 0 0 12px
    }

    .popup-wrapper #popup-declined .reason {
        padding: 24px 70px 23px
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}