@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Sam Chen <sam.chen@opencart.cn>
// @created          2017-12-05 17:11:30
// @modified         2019-06-28 11:52:17
//

$control_height: 34px;

body.checkout-cart {
  background: #f2f2f2;

  .breadcrumb {
    background: transparent;
  }
}

.cart-well {
  background: #fff;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #eee;
}

.quick-checkout-wrapper {
  margin-bottom: 20px;

  .checkout-section {
    margin-bottom: $gutter * 2;
    padding: 8px;
    position: relative;
    border: 1px solid #d8d8d8;

    h2 {
      padding: 10px 5px;
      margin: 0 0 10px 0;
      font-size: 14px;
      font-weight: bold;
      background-color: #eee;
      color: #333;
    }

    legend {
      font-size: 14px;
    }
  }

  #login-section, #payment-address-section, #shipping-address-section {
    .form-group {
      overflow: hidden;
      display: block;
      clear: both;

      label.control-label {
        display: block;
        float: left;
        width: 35%;
        padding: 0;
        margin-bottom: 0;
        min-height: $control_height;
        line-height: $control_height;
      }
    }
  }

  #payment-confirm-wrapper {
    // padding: $gutter;
    // background-color: #fff;

    .buttons, #button-confirm {
      display: none !important;
      // cursor: not-allowed !important;
    }
  }

  .loading-mask {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.1;
  }

  @media (min-width: 992px) {
    .left-section-wrapper {
      #shipping-new {
        .form-group {
          margin-bottom: 10px;
          label {
            min-height: 24px;
            line-height: 24px;
            width: 100%;
            font-weight: bold;
            padding-top: 0 !important;
            margin-bottom: 5px !important;
            text-align: left !important;
          }
          .col-sm-10 {
            width: 100%;
          }
        }
      }
    }
  }

  .left-section-wrapper, .right-section-wrapper {
    & > .loading-mask {
      left: $gutter;
      right: $gutter;
    }
  }

  .text-danger {
    padding: 0 5px;
    margin-left: 5px;
    background: #a94442;
    color: #fff;
    display: inline-block;
  }

  #button-submit {
    padding: 10px 12px;
    font-size: 16px;
  }
}

#quick-checkout-connect {
  .quick-checkout-connect-wrapper {
    margin-top: $gutter * 2;

    .order-info {
      text-align: center;

      i {
        font-size: 120px;
        color: #dedede;
      }

    }

    #payment-confirm-wrapper {
      margin-top: $gutter * 2;
      .buttons {
        margin-top: $gutter;
        margin-bottom: $gutter;

        .pull-right {
          float: none !important;
          text-align: center;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  #checkout-cart .product-name {
    white-space: inherit;

    a.name {
      width: 150px;
      display: block;
    }
  }
}
