/**

 * We offer the best and most useful modules PrestaShop and modifications for your online store.

 *

 * We are experts and professionals in PrestaShop

 *

 * @author    PresTeamShop.com <support@presteamshop.com>

 * @copyright 2011-2020 PresTeamShop

 * @license   see file: LICENSE.txt

 * @category  PrestaShop

 * @category  Module

 */

@media (max-width: 991px) {
  #onepagecheckoutps .right_content {
    padding-top: 20px;
  }

  /*Compatibilidad con warehouse v4.3.2*/

  #onepagecheckoutps .modal-content {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  div#onepagecheckoutps #onepagecheckoutps_step_two_container,
  div#onepagecheckoutps #onepagecheckoutps_step_three_container,
  div#onepagecheckoutps #onepagecheckoutps_step_review {
    margin-top: 15px !important;
  }

  div#onepagecheckoutps div#onepagecheckoutps_step_one #opc_show_login {
    font-size: 20px;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_two
    #shipping_container
    .delivery_option_logo
    img {
    max-width: 65px;

    min-width: 65px;

    cursor: pointer;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_three
    #payment_method_container
    .payment_image
    img {
    max-width: 36px;

    min-width: 36px;

    cursor: pointer;
  }

  div#onepagecheckoutps #onepagecheckoutps_step_review .cart_item {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
  }

  div#onepagecheckoutps #onepagecheckoutps_step_review .cart_item > div {
    margin-bottom: 0.5em;
  }

  div#onepagecheckoutps
    #onepagecheckoutps_step_review
    .cart_item
    div.quantity-content {
    display: flex;

    justify-content: center;

    align-items: center;
  }

  .nopadding-xs {
    padding: 0 !important;
  }

  div#onepagecheckoutps
    #onepagecheckoutps_step_review
    #order-detail-content
    .item_total {
    height: auto;
  }
}

@media (min-width: 768px) {
  div#onepagecheckoutps div#onepagecheckoutps_step_review .cart_item {
    display: flex;

    align-items: center;
  }

  div#onepagecheckoutps
    #onepagecheckoutps_step_review
    .cart_item
    div.quantity-content {
    display: flex;

    justify-content: flex-end;

    align-items: center;
  }

  div#onepagecheckoutps #onepagecheckoutps_step_review .total-price-text {
    display: none !important;
  }
}

/*inizio personalizzazioni mobile*/

@media (max-width: 768px) {
  div#onepagecheckoutps #onepagecheckoutps_step_one [type="checkbox"],
  div#onepagecheckoutps #onepagecheckoutps_step_one [type="radio"] {
    margin-top: 8px;

    height: 23px;

    width: 33px;

    vertical-align: bottom;
  }

  div#onepagecheckoutps #onepagecheckoutps_step_one div.form-group label {
    float: left;

    font-size: 20px;
  }

  div#onepagecheckoutps label {
    font-weight: normal;

    padding: 0;

    margin-bottom: 5px;

    min-width: auto;

    text-align: inherit;

    line-height: normal;

    font-size: 20px;
  }

  div#onepagecheckoutps input,
  div#onepagecheckoutps textarea,
  div#onepagecheckoutps select {
    background: none;

    background-color: #fff;

    border: 1px solid #ccc;

    border-radius: 5px !important;

    color: inherit;

    font-size: 22px;

    padding: 0.5rem 1rem;

    height: auto;
  }

  div#onepagecheckoutps span.form-error {
    color: red;

    clear: both;

    float: left;

    font-size: 14px;

    margin: 1px 0;

    padding: 0;

    display: block;

    line-height: initial;
  }

  .form-control {
    height: 60px !important;
  }

  div#onepagecheckoutps #panel_addresses_customer .card .card-body {
    padding-left: 0px;

    padding-right: 0px;
  }

  .btn {
    font-size: 20px !important;
  }

  #btn_place_order {
    font-size: 30px !important;
  }

  div#onepagecheckoutps .container_card {
    font-size: 16px;
  }

  div#onepagecheckoutps #address_card_new #address_card_new_content span {
    font-size: 20px;
  }

  div#onepagecheckoutps #panel_addresses_customer .card .card-header a {
    font-size: 18px;
  }

  div#onepagecheckoutps #panel_addresses_customer .card .card-header {
    margin-top: 40px;
  }

  #checkbox-richiesta-fattura label {
    margin-bottom: 0px !important;
  }

  .alert {
    font-size: 18px;

    padding: 1.75rem 2.25rem;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_review
    #conditions-to-approve
    .js-terms
    input {
    height: 23px;

    width: 33px;
  }

  #check-box-indirizzo-fattura {
    margin: 30px 0px 30px 0px;
  }

  div#onepagecheckoutps span,
  div#onepagecheckoutps em,
  div#onepagecheckoutps label {
    font-size: 18px;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_review
    #order-detail-content
    .order_total_items
    .item_total
    .price {
    font-size: 25px;
  }

  #total_product {
    font-size: 18px;
  }

  #total_price {
    font-size: 18px;
  }

  .totale-checkout {
    font-size: 33px !important;

    margin-top: 5px;

    margin-bottom: 0px;
  }

  .text-totale-checkout {
    font-size: 25px !important;
    margin-top: 15px !important;
    display: block;
    margin-bottom: 0px;
  }

  #extra_fee_total_price_label {
    line-height: 25px;
    margin-top: 10px !important;
    font-size: 25px !important;
  }

  .cart_total_price.cart_total_product,
  .cart_total_price.cart_discount {
    margin-bottom: 8px;
  }

  .cart_total_price.cart_total_tax {
    margin-bottom: 8px;
    margin-top: 0 !important;
  }

  .price-discount.price i {
    font-size: 0.85em;
  }

  .price {
    font-size: 27px;
  }

  .extra_fee.cart_total_price {
    margin-bottom: 10px;
  }

  div#onepagecheckoutps.labels_checkout_cart {
    font-size: 1.25rem;
  }

  /* 
COMMENTATO DA ENRICA
.text-totale-checkout{

    font-size: 40px !important;

    margin-top: 40px;

    display: block;

    margin-bottom: 0px;

} */

  div#onepagecheckoutps
    div#onepagecheckoutps_step_review
    #list-voucher-allowed {
    margin-top: 30px;
  }

  .fa-stack-2x {
    font-size: 40px !important;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_two
    #shipping_container
    .delivery_option_logo
    img {
    max-width: 80px;

    min-width: 80px;
  }

  div#onepagecheckoutps
    div#onepagecheckoutps_step_two
    .delivery-option
    .delivery_option_title,
  div#onepagecheckoutps
    div#onepagecheckoutps_step_two
    .delivery-option
    .delivery_option_delay {
    font-size: 18px;
  }

  #extra_fee_label {
    display: block;

    margin-top: 20px;
    margin-bottom: 5px;
  }

  #extra_fee_total_price_label {
    display: block;

    margin-top: 20px;

    line-height: 35px;
  }

  #cart-subtotal-shipping {
    margin-top: 15px;
  }

  div#onepagecheckoutps #onepagecheckoutps_step_review i.cart_quantity_delete {
    font-size: 0.8em;
  }
  .cart_total_delivery {
    margin-bottom: 15px;
  }
}

@media (max-width: 412px) {
  #extra_fee_total_price_label {
    font-size: 21px !important;
  }

  .text-totale-checkout {
    margin-top: 10px !important;
    margin-bottom: 0px;
  }
  .cart_total_price.cart_discount {
    margin-bottom:8px;
  }
  .cart_total_delivery {
    margin-bottom: 15px;
  }
}

/*fine personalizzazioni mobile*/
