/* @see: https://wordx.press/creating-a-simpler-checkout-page-in-woocommerce/ */

/* we already show this in the template */
body.page-checkout.denhac_cart_contains_membership h1.entry-title {
    display: none;
}

/* Add Icons to Headers & Notifications */
/* @see: https://rawgit.com/woothemes/woocommerce-icons/master/demo.html */
form.woocommerce-checkout h3:before {
  font-family: "WooCommerce";
  font-size: 27px;
  content: '\e026';
  /* sets default icon to a circled "i" */
  color: #7ed026;
  padding-right: 10px;
  vertical-align: bottom;
}
.woocommerce-account-fields {
    margin-bottom: 30px;
}
/* icons for Create Account, Billing Address, and Review Your Order */
form.woocommerce-checkout .woocommerce-account-fields h3:before {
    content: '\e038';
}
form.woocommerce-checkout .woocommerce-billing-fields h3:before {
    content: '\e01e';
}
form.woocommerce-checkout .woocommerce-checkout-review-order h3:before {
    content: '\e01d';
}

/* Fancy Subscribe Now Btn */
/*#place_order {
  background-image: linear-gradient(25deg, #00aeef 0%, #7ed026 100%) !important;
  border: transparent;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.28) 0px 2px 8px 0px;
  font-size: 22px;
}
#place_order:hover {
  background-image: linear-gradient(25deg, #7ed026 0%, #00aeef 100%) !important;
}
*/

#place_order {
    color: #FFF;
    background-color: #1e85be;
    border-color: #1e85be;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    border-style: solid;
    border-width: 2px;
    border-radius: 0;
    padding: 15px 30px;
    margin: 0 auto;
    float: none !important
}
#place_order:hover,
#place_order:focus {
    color: #FFF;
    background-color: #0e5278;
    border-color: #0e5278;
}

/* payment radio buttons */
.woocommerce-checkout #payment ul.payment_methods li input {
    margin: 0 .5em 0 0 !important;
}
#payment > ul > li {
    margin: 0 0 10px 0;
}
#payment > ul > li > label {
    background-color: #EFEFEF;
    width: 95%;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    bottom: 2px;
}
#payment > ul > li > label:hover {
    background-color: #DADADA;
}
#payment ul.payment_methods li img {
  display: inline;
  margin: 0 5px !important;
  float: none;
}

.wc-stripe-elements-field, .wc-stripe-iban-element-field {
    border: 1px solid #ddd;
    margin: 5px 0;
    padding: 10px 15px;
    background-color: #fff;
    outline: 0;
    border-radius: 5px;
    font-size: 16px;
}


#billing_address_1_field {
    margin-bottom: 0;
}

abbr.required {
    display: none !important;
}
.woocommerce form .form-row.woocommerce-invalid label {
    color: #c30000;
}

/* 2 column layout */
@media (min-width: 981px) {
  .woocommerce {
    /*overflow: hidden;*/
  }
  .woocommerce:after {
    clear: both;
  }
  .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    width: 100%;
  }
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-2 {
    /*display: none;*/
    float: none;
    width: 100%;
  }
  .woocommerce .col2-set,
  .woocommerce-page .col2-set {
    float: left;
    width: 48%;
  }
  #order_review_heading, .woocommerce #order_review, .woocommerce-page #order_review {
    float: left;
    width: 48%;
    margin-left: 4%;
  }
}
/* Rounded corners on the WooCommerce "alert" messages */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  border-radius: 3px;
}
/* Style form fields to look like Divi */
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
  border: none;
  background-color: #eee;
}
.select2-container .select2-selection--single {
  height: 37px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 37px;
  color: #4e4e4e;
  font-weight: bold;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: 3px;
}
.select2-container--default .select2-selection--single {
  background-color: #eee;
  border: none;
}
/* some tweaks to simplify the payment method area */
.woocommerce-checkout #payment {
  background: none !important;
}
.woocommerce-checkout #payment ul.payment_methods {
  border: none;
}
#order_review table.woocommerce-checkout-review-order-table {
  border-collapse: collapse;
  margin-bottom: 10px;
}
/* Back To Cart button */
div.back-to-cart {
    margin-bottom: 30px;
}
.woocommerce a.button.button-sm {
    padding: 0.4em 0.65em;
    font-size: 75%;
    background-color: #b0d0e1;
    color: #FFF;
}
.woocommerce a.button.button-sm:hover {
    background-color: #1e85be;
}

/* Stripe Checkout */
.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
}
label[for="payment_method_stripe"] {
  font-weight: bold;
}
img.stripe-icon {
  float: left;
  margin: 15px 10px 5px -3px !important;
}
.woocommerce-checkout #payment div.form-row {
  padding: 0;
}
/* Privacy policy */
.woocommerce-privacy-policy-text {
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  margin-bottom: 20px !important;
  color: #888;
}
/* additional information definitely hidden */
.woocommerce-additional-fields {
  /*display: none;*/
  margin-top: 20px;
  margin-bottom: 30px;
}
/* hide subtotals */
#order_review .cart-subtotal {
  /*display: none;*/
}
#order_review tr.recurring-totals {
  /*display: none;*/
}
/* pretty up order received page */
body.woocommerce-order-received ul.woocommerce-thankyou-order-details {
  border: 1px dashed #ccc;
  padding: 10px;
  background: #fafafa;
  margin-bottom: 1em;
}

/* "remove item" checkout links */
#order_review .product-name dt.variation-remove_link {
  display: none !important;
}
#order_review .product-name dl.variation {
  display: inline-block;
}

