/* ADD STRIPE PAYMENTS TO CONTACT FORM 7 */
.sp4cf7p-public__wrapper, 
.sp4cf7p-public__wrapper *, 
.sp4cf7p-public__wrapper *::before, 
.sp4cf7p-public__wrapper *::after {
    box-sizing: border-box;
}

.sp4cf7p-public__wrapper {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    width: 100%;
}

.sp4cf7p-public__wrapper > * {
    flex: 1;
}

.sp4cf7p-public__items--item {
    align-items: center;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-size: 16px;
}

.sp4cf7p-public__items--item > * {
    /*border: 1px solid red;*/
    flex: 1 0 auto;
    padding: 1rem;
}

.sp4cf7p-public__items--item-img > img {
    height: auto;
    max-width: 300px;
    width: 100%;
}

.sp4cf7p-public__items--item-qty {
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
}

.sp4cf7p-public__quantity {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.sp4cf7p-public__items--item-total {
    text-align: center;
}

.sp4cf7p-public__items--item-info h3.sp4cf7p-public__items--item-info-name,
.sp4cf7p-public__items--item-info h4.sp4cf7p-public__items--item-info-sku {
    font-weight: 700;
    line-height: 1;
}
.sp4cf7p-public__items--item-info h3.sp4cf7p-public__items--item-info-name {
    font-size: 1.25rem;
}
.sp4cf7p-public__items--item-info h4.sp4cf7p-public__items--item-info-sku {
    font-size: 0.8125rem;
}

.sp4cf7p-public__items--item-info p.sp4cf7p-public__items--item-info-description {
    text-transform: initial;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
}

.sp4cf7p-public__total {
    font-size: 1.2em;
    font-weight: 600;
}

.sp4cf7p-public__strong {
    font-weight: 600;
}

.sp4cf7p-public__button {
    background-color: #f5f5f5;
    border-radius: 2px;
    border: 0;
    color: #545454;
    cursor: pointer;
    padding: 0.625rem;
    position: relative;
    z-index: 1;
}

.sp4cf7p-public__button:hover {
    color: #FFF;
}

.sp4cf7p-public__button::after {
    background: #545454;
    border-radius: 2px;
    color: #fff;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: scale(0);
    transition: transform 200ms ease-in;
    width: 100%;
    z-index: -1;
}

.sp4cf7p-public__button:hover::after {
    transform: scale(1);
}

.sp4cf7p-public__quantity input::-webkit-outer-spin-button,
.sp4cf7p-public__quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp4cf7p-public__quantity input {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
    background-color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    width: 2.5rem;
}

 /*-------------------- ORDER SUMMARY ----------------------- */
.sp4cf7p-public__order-summary > h3 {
    font-size: 1.875rem;
    margin-bottom: 1.875rem;
}

.sp4cf7p-public__add-items-to-order {
    color: #545454;
    text-align: center;
    background-color: #f5f5f5;
    margin: 1rem 0;
    padding: 3rem;
    text-transform: uppercase;
    font-weight: 400;
}
.sp4cf7p-public__item-remove {
    cursor: pointer;
}

.sp4cf7p-public__fee {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.sp4cf7p-public__fee h3,
.sp4cf7p-public__fee h4 {
    margin: 0 0 .5rem;
}

.sp4cf7p-public__order-summary--fees-desc {
    font-size: 1.3em;
}

.sp4cf7p-public__order-summary--fees-price {
    font-size: 1.2em;
}

/* --------------- PAYMENT WRAPPER ---------------------- */
.sp4cf7p-public__payments--header {
    align-items: center;
    display: flex;
}

.sp4cf7p-public__payments--header > h4 {
    font-size: 1.5rem;
}

.sp4cf7p-public__payments--header span {
    background-color: #ff0;
    border-radius: 5px;
    color: #000;
    font-size: .625rem;
    font-weight: 600;
    margin: 1rem;
    padding: 0.5rem;
    text-transform: uppercase;
}

.sp4cf7p-public_payments--body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sp4cf7p-public_payments--body > label {
    flex: 0 0 100%;
    padding: 0 0 1rem;
}

.sp4cf7p-public_payments--body > div {
    flex: 0 0 50%;
}

.sp4cf7p-public__stripe-card-icon {
    width: 100%;
    height: auto;
    max-width: 3.125rem;
    padding: 0 3px;
}

.sp4cf7p-public__payments--card-errors {
    flex: 1 1 100%;
    margin-top: 1em;
}

.sp4cf7p-public__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* --------------- END PAYMENT WRAPPER ---------------------- */
 /*----------------END  ORDER SUMMARY ----------------------- */

/* ----------------- MEDIA QUERIES ------------------- */
@media (max-width: 576px) {
    .sp4cf7p-public__fee {
        flex-direction: column;
    }
}
@media (min-width: 576px) {
    .sp4cf7p-public__items--item {
        /*align-items: flex-start;*/
        flex-direction: row;
        /*flex-wrap: wrap;*/
    }
    .sp4cf7p-public__items--item>* {
        flex: 1 1 50%;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .sp4cf7p-public__items--item {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .sp4cf7p-public__items--item > * {
        flex: 0 1 9.375rem;
    }
    .sp4cf7p-public__items--item-info {
        flex: 5;
    }
    .sp4cf7p-public__items--item-actions {
        flex: 0;
    }
}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .sp4cf7p-public__items--item-img {
        flex: 0 1 12.5rem;
    }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}