/*
 Theme Name:   Charity Is Hope Child
 Theme URI:    http://charity-is-hope.themerex.net/
 Description:  Charity Is Hope Child Theme
 Author:       ThemeREX
 Author URI:   http://themerex.net/
 Template:     charity-is-hope
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,flexible-header,buddypress,custom-background,custom-colors,custom-header,custom-menu,editor-style,featured-image-header,featured-images,front-page-post-form,full-width-template,microformats,post-formats,sticky-post,theme-options,threaded-comments,translation-ready,holiday
 Text Domain:  charity-is-hope-child
*/

body h1,
body h2,
body h3,
body h4,
body h5 {
  margin-top: 0;
}
.hide-this {
  display: none !important;
}
.gfield--donate-amount .ginput_container:before {
  content: "$ ";
}
.gfield_error input {
  border-radius: 0;
}
.gform_button {
  padding: 15px 20px !important;
  white-space: nowrap;
}
.gfield.gfield--donate-amounts .gfield_radio {
  -webkit-align-content: space-around;
  -ms-flex-line-pack: distribute;
  align-content: space-around;
  display: flex;
  -webkit-justify-content: space-between;
   -ms-flex-pack: justify;
   justify-content: space-between;
  margin: 20px 0 0; 
}
.gfield.gfield--donate-amounts .gfield_radio li {
  -webkit-flex: 1 1 150px;
  -ms-flex: 1 1 150px;
  flex: 1 1 150px;
  margin-left: 20px;
  padding: 0 !important;
}
.gfield.gfield--donate-amounts .gfield_radio li:first-child {
  margin-left: 0;
}
.gfield.gfield--donate-amounts .gfield_radio [type="radio"] {
  display: none; 
}
.gfield.gfield--donate-amounts .gfield_radio label {
  background: #8ab75b;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  margin: 0 !important;
  padding: 10px 0;
  text-align: center;
  transition: all .2s linear;
  width: 100%;
}
.gfield.gfield--donate-amounts .gfield_radio label:hover {
   background: #588925;
 }
.gfield.gfield--donate-amounts .gfield_radio input:checked + label {
  background: #588925;
  color: #fff;
}
.form--donate .gform_footer {
  padding-top: 0 !important;
}

/**
* Woocommerce overrides
*/

.woocommerce-page .post_info {
  display: none;
}

.woocommerce-cart-form__cart-item:first-child,
.woocommerce-checkout-review-order-table .cart_item:first-child {
  background: #f6f5f2 !important;
}

.woocommerce-cart-form__cart-item:first-child .product-name {
  color: #000;
  font-weight: normal;
}

.woocommerce-checkout-review-order-table .product-name {
  color: #000;
  font-weight: normal !important;
  font-size: .9em !important;
}

.woocommerce-cart-form__cart-item:first-child .product-price,
.woocommerce-cart-form__cart-item:first-child .product-subtotal {
  color: #000;
  font-weight: normal !important;
  font-size: .9em !important;
}

.woocommerce-cart-form__cart-item .quantity {
  color: #000 !important;
}

.woocommerce-checkout-review-order-table .product-total {
  color: #000;
  font-weight: normal;
  font-size: .9em !important;
}

.woocommerce-checkout-review-order-table .product-total .woocommerce-Price-amount,
.woocommerce-checkout-review-order-table .product-total .woocommerce-Price-currencySymbol {
  font-weight: normal !important;
}

.woocommerce-form-login-toggle {
  display: none;
}

.woocommerce-checkout .form-row.form-row-last {
  width: calc(100% - 25px)
}

@media only screen and (max-width: 1263px) {
  .woocommerce-checkout .form-row.form-row-last {
    width: calc(100% - 30px)
  }
}

.woocommerce-checkout .wc-stripe-elements-field .__PrivateStripeElement{
  height: 20px !important;
}

.woocommerce-billing-fields__field-wrapper #billing_last_name_field {
  width: 50%;
}

.post_item_product .cart .quantity {
  align-items: center !important; 
  display: flex !important; 
  width: 200px !important;
}

.post_item_product .cart .single_add_to_cart_button {
  clear: both !important; 
  margin-top: 20px !important;
}

.post_item_product .cart .quantity .qty {
  width: 80px !important;
}

@media only screen and (max-width: 960px) {
  .woocommerce-billing-fields__field-wrapper #billing_first_name_field,
  .woocommerce-billing-fields__field-wrapper #billing_last_name_field {
    padding: 0;
    width: 100%;
  }
}

.single-product .top_panel_title {
  display: none;
}

.single-product .product_meta .product_id {
  display: none;
}

@media only screen and (max-width: 1260px) {
  .post_item_product .cart .quantity {
    width: 180px !important;
  }
}

@media only screen and (min-width: 1023px) {
  .menu-item-donate {
    display: none;
  }
  .menu_main_nav--alert a span {
    color: orange !important;
  }
}

@media only screen and (max-width: 1024px) {
  .menu-item-donate > a {
    background: #fff !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    color: #8AB75B !important;
    display: block !important;
    font-weight:700 !important;
    font-size: 0.875em !important;
    letter-spacing: -0.012em !important;
    line-height: 1.4em !important;
    margin: 10px auto;
    padding:0.77em 2.1em !important;
    text-align:center !important;
    text-transform: uppercase !important;
    width: 80px !important;
  }
  .menu-item-donate > a:hover {
    background: #fff !important;
    color: #8AB75B !important;
  }
  .menu_main_nav--alert a span {
    background: #fff !important;
    color: orange !important;
    padding: 4px;    
  }
}

@media only screen and (max-width: 768px) {
  .post_item_product .cart .quantity {
    width: 170px !important;
  }
}

@media only screen and (max-width: 480px) {
  .header_mobile .menu_button {
    right: 20px !important;
  }
  .logo_main {
    height: auto !important;
    max-width: 220px !important;
  }
  .gfield.gfield--donate-amounts .gfield_radio {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .gfield.gfield--donate-amounts .gfield_radio li {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
  .gfield.gfield--donate-amounts .gfield_radio label {
    font-size: 14px;
  }
}

/* Fix for social icons */
[class^="icon-"]:before {
  margin-left: 0;
}

/* Post image */
.top_panel_image {
  width: 770px;
  max-width: 100%;
  margin: 0 auto;
}

/* MailChimp */
ul.mc-form li:before {
  content: '';
}

ul.mc-form li {
  padding-left: 0;
}

ul.mc-form input[type=submit] {
  margin: 10px 0 0 0;
}