#csweb_checkout_wrapper {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999998;
    font-family: Droid Serif;
}

.csweb_checkout_overflow {
    overflow: hidden;
}

#csweb_checkout {
    position: absolute;
    z-index: 999999;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    max-width: 95%;
    height: 700px;
    max-height: calc(80vh - env(safe-area-inset-bottom));
    background-color: #fff;
}

#csweb_checkout,
#csweb_checkout select,
#csweb_checkout textarea,
#csweb_checkout input {
    font-size: 15px;
    font-weight: 100;
}

#csweb_checkout h2,
#csweb_checkout h3 {
    font-size: 20px;
    text-transform: uppercase;
    line-height: 25px;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

#csweb_checkout p {
    margin: 0 0 15px 0;
}

#csweb_checkout #csweb_coupon_head {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 25px;
    padding: 10px;
    line-height: 20px;
    width: 40px;
    cursor: pointer;
}

#csweb_checkout #csweb_coupon_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #616161;
    color: #fff;
    line-height: 50px;
    text-align: right
}

#csweb_checkout #csweb_coupon_footer a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    padding: 0 15px;
}

#csweb_coupon_content {
    height: calc(100% - 70px);
    overflow: auto;
    color: #000 !important;
}

#csweb_checkout_tabs>div {
    display: none;
}

#csweb_checkout_tabs>div:first-child {
    display: block;
}


/* spinner */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    margin-left: -32px;
    margin-top: -32px;
    width: 64px;
    height: 64px;
}

.lds-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #000;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 6px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 6px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 26px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 45px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}


/* cart */

#csweb_coupon_cart_content {
    text-align: center;
}

#csweb_coupon_cart_content.loading {
    position: absolute;
    left: 50%;
    top: 50%;
}

.csweb_coupon-cart {
    display: inline-block;
    width: 100%;
}

.csweb_coupon-cart>div {
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

.csweb_coupon-cart-title {
    width: calc(100% - 100px - 75px - 250px);
    text-align: left;
}

.csweb_coupon-cart-products,
.csweb_coupon-cart-minutes,
.csweb_coupon-cart-amount {
    width: 100%;
}

@media all and (min-width: 768px) {
    .csweb_coupon-cart-products {
        width: 49%
    }
    .csweb_coupon-cart-minutes {
        width: 25%
    }
    .csweb_coupon-cart-amount {
        width: 25%
    }
}

.csweb_coupon-cart-products span,
.csweb_coupon-cart-minutes span,
.csweb_coupon-cart-amount span {
    display: flex;
    align-items: flex-start;
}

.csweb_coupon-cart-products span label,
.csweb_coupon-cart-minutes span label,
.csweb_coupon-cart-amount span label {
    margin-left: 5px;
}

.csweb_coupon-cart-products span label span {
    font-size: 12px;
}

.csweb_coupon-cart-products span input {
    vertical-align: top;
}

.csweb_coupon-cart span label,
#csweb_checkout_tab_shipment_type label,
#csweb_coupon-address-form label,
#csweb_checkout_tab_payment label {
    white-space: normal;
    font-weight: normal;
    vertical-align: middle;
    line-height: 26px;
}

#csweb_checkout_tab_shipment_type .block>div {
    white-space: nowrap;
}

#csweb_checkout_tab_shipment_type .block>div input {
    vertical-align: top;
}

#csweb_checkout_tab_shipment_type .block>div label {
    white-space: normal;
}

.csweb_coupon-cart-price {
    width: 250px;
    text-align: right;
}

#csweb_coupon-cart-summary {
    display: inline-block;
    text-align: right;
    width: 80%;
}

#csweb_coupon-cart-total {
    font-weight: bold;
    font-size: 20px;
}

.csweb_coupon-cart-taxes {
    font-size: 10px;
    font-weight: normal;
}

.csweb_coupon-instead-of {
    display: block;
    font-size: 15px;
    font-weight: normal;
}
.csweb_coupon-instead-of i {
    text-decoration: line-through;
}

.csweb_coupon_padding {
    padding: 15px;
}

#csweb_checkout_tab_present textarea {
    width: 100%;
    height: 150px;
    border: 1px solid #000;
}

#csweb_checkout_tab_payment .csweb_coupon_terms_and_condition {
    white-space: nowrap;
    margin-top: 25px;
}

#csweb_checkout_tab_payment .csweb_coupon_terms_and_condition input {
    vertical-align: top;
}

#csweb_checkout_tab_payment .csweb_coupon_terms_and_condition label {
    white-space: normal;
}


/*
 * tabs
 */

#csweb_checkout_tabs {
    padding: 10px;
}

#csweb_checkout_nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#csweb_checkout_nav li {
    display: inline-block;
    cursor: pointer;
    padding: 0 15px 0 0;
}

#csweb_checkout_nav li:before {
    content: "\00bb";
}

#csweb_checkout_nav li.active {
    color: darkblue;
}

#csweb_checkout_nav li.error:not(.active) {
    color: darkred !important;
}

#csweb_checkout_nav li.done {
    color: darkgreen;
}

.csweb_checkout_error_msg {
    display: none;
    color: darkred;
    font-weight: bold;
}

.input-validation-error {
    border: 1px solid #f00 !important;
}

.paarmassage_notice {
    text-align: left;
}


/*
 * shipment type
 */

.shipment_type_selector {
    display: inline-block;
    width: calc(50% - 5px);
    text-align: center;
}


/*
 * address
 */

#csweb_coupon-address-form>div {
    width: 100%;
    display: inline-block;
    margin: 0;
}

#csweb_coupon-address-form>div.row>div {
    width: 49%;
    display: inline-block;
}

#csweb_coupon-address-form>div label {
    display: block;
    margin-top: 15px;
}

#csweb_coupon-address-form>div input {
    border: 1px solid #000;
    padding: 5px;
    margin: 0;
    width: 100%;
    line-height: 25px;
    outline: none;
}

#csweb_coupon-address-form>div input[type="radio"] {
    display: inline-block;
    vertical-align: baseline;
    width: auto;
    margin-right: 15px;
}

#csweb_coupon-address-form>div label[for="salutation_male"],
#csweb_coupon-address-form>div label[for="salutation_female"] {
    display: inline-block;
    margin-right: 15px;
    margin-top: 0;
}


/*
 * payment type
 */

.payment_type_selector {
    display: inline-block;
    width: calc(50% - 5px);
    text-align: center;
}

#csweb_checkout_tab_payment a {
    color: #616161;
}


/*
 * coupon
 */

.csweb-coupon-product {
    display: inline-block;
}

.csweb-coupon-product a {
    display: inline-block;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    outline: 0;
    border: 1px solid #616161;
    border-radius: 5px;
    background-color: #fff;
    color: #616161;
}

.csweb-coupon-product a:hover {
    background-color: #616161;
    border: 1px solid #fff;
    color: #fff;
    outline: 0;
    text-decoration: none;
}

#csweb_checkout #csweb_coupon_head {
    right: 20px;
    top: 0;
}

#csweb_checkout_nav {
    padding: 10px;
    line-height: 20px;
    font-size: 18px;
}

#csweb_checkout_nav li {
    vertical-align: middle;
}

#csweb_checkout_nav li.done.active {
    color: #616161;
}

#csweb_checkout_nav li:before {
    content: '\279C';
}

#csweb_checkout_tabs {
    width: 95%;
    margin: auto;
    margin-top: 15px;
}

#csweb_checkout #csweb_coupon_footer a {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    outline: 0;
    border-radius: 5px;
    background-color: #fff;
    color: #616161;
    border: none;
    font-size: 16px;
}