/*********************
/*****  CHECKOUT
/********************/
#onepagecheckoutps #header-order-detail-content,
#onepagecheckoutps #onepagecheckoutps_header,
#onepagecheckoutps .payment_content_html,
#onepagecheckoutps .payment_input,
#onepagecheckoutps .delivery_radio_content,
#onepagecheckoutps #onepagecheckoutps_step_one .ets_solo_social_title {
    display: none !important;
}

#onepagecheckoutps #panel_address_delivery .card-header,
#onepagecheckoutps #panel_address_invoice .card-header,
div#onepagecheckoutps .onepagecheckoutps_p_step {
    text-align: center;
    border-image-slice: 1;
    border-bottom-width: 2px !important;
    border-image-source: linear-gradient(to left, #fff, var(--red-dark), #fff);
    background: none;
}

div#onepagecheckoutps span,
div#onepagecheckoutps em,
div#onepagecheckoutps label {
    font-size: initial;
}

#onepagecheckoutps #panel_addresses_customer .card .card-body {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#onepagecheckoutps .delivery-option,
#onepagecheckoutps .module_payment_container {
    border: 1px solid var(--main-grey-border) !important;
    border-radius: var(--main-border-radius);
    margin-bottom: 5px;
}

#onepagecheckoutps .payment_content {
    width: 100%;
    padding: inherit;
}


#payment_method_container .payment-option > div {
    margin-right: 5px;
}

#payment_method_container .payment-option > p {
    margin-bottom: 5px;
}


#shipping_container .carrier-item-content,
#payment_method_container .payment-option {
    padding: 8px 8px;
}

#onepagecheckoutps #panel_addresses_customer .card {
    border: none;
}


#onepagecheckoutps_contenedor input[type=text],
#onepagecheckoutps_contenedor textarea,
#onepagecheckoutps_contenedor input[type=email],
#onepagecheckoutps_contenedor input[type=password],
#onepagecheckoutps_contenedor select {
    display: block;
    width: 100%;
    height: 40px !important;
    padding: 6px 44px 6px 12px;
    line-height: 22px !important;
    box-shadow: none;
    outline: 0;
    border-radius: var(--main-border-radius);
}

div#onepagecheckoutps input, div#onepagecheckoutps select {
    text-align: left;
    vertical-align: middle;
    margin: 0;
    max-width: none !important;
    height: 40px !important;
    position: inherit;
    left: auto;
    line-height: normal;
}

#onepagecheckoutps #onepagecheckoutps_step_one [type="checkbox"] {
    margin-top: 0px !important;
}

#shipping_container .carrier-item-content,
#payment_method_container .module_payment_container {
}

#shipping_container .carrier-item-content .delivery_option_logo.wo_image {
    width: 100%;
}

#shipping_container .carrier-item-content .carrier_delay.wo_image {
    width: 100%;
}

#onepagecheckoutps .selected.alert.alert-info {
    color: var(--color-text);
    border-color: var(--green) !important;
    background-color: var(--green-light);
}

#onepagecheckoutps_step_three .alert.alert-warning {
    color: var(--scnd-blue) !important;
    border: 2px solid var(--scnd-blue) !important;
}


div#onepagecheckoutps div.loading_big {
    background-color: var(--main-grey-bg);
    opacity: 0.5;
}

div#onepagecheckoutps div#onepagecheckoutps_step_review #list-voucher-allowed {
    margin-bottom: 10px;
    float: initial;
    border-radius: var(--main-border-radius);
}

div#onepagecheckoutps div#onepagecheckoutps_step_review #list-voucher-allowed #discount_name {
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
}

div#onepagecheckoutps div#onepagecheckoutps_step_review #submitAddDiscount {
    margin-top: 2px;
}


div#onepagecheckoutps #onepagecheckoutps_step_review .order_total_items {
    height: inherit;
    background: var(--main-grey-bg);
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border: 1px solid var(--main-grey-border);
    border-radius: var(--main-border-radius);
}

#onepagecheckoutps .row.cart_item,
#onepagecheckoutps .row.item_total {
    margin-right: 0;
    margin-left: 0;

}

div#onepagecheckoutps input[type="checkbox"] {
    height: 1.5em !important;
    width: 1.5em;
}

div#onepagecheckoutps div#onepagecheckoutps_step_review #div_leave_message {
    border-top: none;
}

div#onepagecheckoutps .cart_item .price-percent-reduction{
    display: none !important;
}
div#onepagecheckoutps .cart_item  .product-available{
    background: transparent !important;
    color: var(--btn-green) !important;

    white-space: break-spaces !important;
    text-align: initial !important;
}

@media (max-width: 999px) {
    #onepagecheckoutps .delivery-option,
    #onepagecheckoutps .module_payment_container {
        min-width: 100%;
        max-width: 100%;
        margin: 2px 0px 2px 0px !important;
    }

    #onepagecheckoutps_step_one_container,
    #onepagecheckoutps_step_two_container,
    #onepagecheckoutps_step_three_container,
    #onepagecheckoutps_step_review_container {
        border-left: none !important;
    }

    /* bottoni social login */
    div#onepagecheckoutps #onepagecheckoutps_step_one #opc_social_networks button,
    .login-box #opc_social_networks button {
        min-width: 100%;
        max-width: 100%;
    }

    div#onepagecheckoutps #list-voucher-allowed .col-8, div#onepagecheckoutps #list-voucher-allowed .col-4 {
        width: 50% !important;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

#checkout .breadcrumb li:last-child {
    color: var(--btn-green);
}

#checkout .breadcrumb li:last-child:before {
    content: '\f023';
    font-family: 'Line Awesome Free';
    font-weight: bold;
}

#checkout .btn-info {
    color: #fff;
    border-color: var(--btn-green) !important;
    background-color: var(--btn-green);
}

div#onepagecheckoutps div#onepagecheckoutps_step_one #opc_show_login {
    border-radius: var(--main-border-radius);
    padding: 8px 20px;
    line-height: initial;
    text-transform: inherit;
    float: none;
}

div#onepagecheckoutps div#onepagecheckoutps_step_review .bootstrap-touchspin .input-group-btn-vertical .btn-touchspin {
    padding: 1px 3px;
}

div#onepagecheckoutps div#onepagecheckoutps_step_review .bootstrap-touchspin .input-group-btn-vertical .btn-touchspin i {
    top: 50%;
}

div#onepagecheckoutps #opc_modal .modal-dialog {
    top: initial;
    min-width: 50vw;
    max-width: 500px;
    transform: none;
}

div#onepagecheckoutps .modal-header {
    display: initial;
}

div#onepagecheckoutps .modal-header .close {
    margin: auto 0 auto auto;
}

/*********************
/*****  SOCIAL LOGIN  *****/
/********************/
#onepagecheckoutps .ets_solo_or {
    margin: 5px 0 10px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
}

#onepagecheckoutps .ets_solo_social_item {
    width: calc(30% - 4px);
}

#onepagecheckoutps .ets_solo_social_btn.medium.flat {
    width: 100%;
}

#onepagecheckoutps .ets_solo_social_btn.medium.flat i {
    font-size: 24px;
}

.ets_solo_or span {
    border: none;
    border-radius: initial;
    width: initial;
    font-size: initial;
}

#onepagecheckoutps .ets_solo_social_btn.medium i.icon-facebook:Before {
    float: initial;
    margin-right: inherit;
    line-height: inherit;
    margin-top: inherit;
    font-size: inherit;
}

#authentication .ets_solo_social_wrapper.lgp {
    border-bottom: none;
}

#onepagecheckoutps .orer-login.wc-tabs-wrapper {
    cursor: pointer;
    border-bottom: none;
}

@media (min-width: 320px) and (max-width: 480px) {
    #onepagecheckoutps .ets_solo_social_item {
        width: calc(50% - 4px);
    }

    #onepagecheckoutps .ets_solo_or {
        margin: 5px 0 10px;
        margin-left: 0%;
    }
}