/**
Theme Name: Astra Child
Author: Geoffrey Macasaet
Author URI: https://www.iwoork.com
Description: Customization of Astra theme defined for Timwendelboe Site
Version: 1.2.7.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

@font-face {
  font-family: "Fedra Serif Book2";
  src: url("./assets/fonts/fedora-seriff-book2.woff2") format("woff2"),
    url("./assets/fonts/fedora-seriff-book2.woff") format("woff");
}

body,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Fedra Serif Book2";
}

.tw-product-additional-information {
  padding-bottom: 25px;
}

.tw-default-notification {
  background: lightgray;
  padding: 20px;
  font-size: 15px;
  color: var(--ast-global-color-2);
}

.woocommerce-Price-currencySymbol {
  padding-right: 5px;
}

.woocommerce .woocommerce-error li {
  padding: 3px 20px !important;
}

.hover-effect-activated ul li:hover a h2,
.hover-effect-activated
  article.elementor-grid-item:hover
  .elementor-post__text
  h3
  a,
.ast-woocommerce-container ul li:hover a h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

table.variations tr td.label,
table.variations tr td.value {
  font-size: 15px;
  color: #2d2d2d;
}

.woocommerce .btn-tw-toggle.give-as-present {
  display: inline-block;
  margin: 0px 40%;
}

.custom-gift-subscription h5 {
  padding: 10px 0px;
}

.custom-gift-subscription-container {
  /* padding: 0px 0px; */
  padding: 15px 0px;
}

.custom-gift-subscription-container div {
  padding: 5px 0px;
}

.custom-gift-subscription-container label {
  display: inline-block;
  width: 20%;
  font-size: 15px;
}

.custom-gift-subscription-container input,
.custom-gift-subscription-container select {
  font-size: 15px;
}

body a:hover {
  text-decoration: underline;
}

.woocommerce-shop .ast-archive-entry-banner[data-post-type="product"] {
  background: none;
}

.woocommerce-shop
  .ast-archive-entry-banner[data-post-type="product"]
  .ast-container {
  padding-top: 50px;
}

.woocommerce-shop
  .ast-archive-entry-banner[data-post-type="product"]
  .ast-container
  h1 {
  font-size: 45px;
  font-weight: 100;
  position: relative;
  padding-bottom: 27px;
  margin: 0px;
}

.woocommerce-shop
  .ast-archive-entry-banner[data-post-type="product"]
  .ast-container
  h1:after {
  content: "";
  display: block;
  height: 2px;
  background-color: #2d2d2d;
  width: 50px;
  position: absolute;
  bottom: 0;
  left: 47.9%;
}

.woocommerce-shop
  .ast-archive-entry-banner[data-post-type="product"]
  .ast-container
  p {
  margin-top: 25px;
}

.woocommerce
  .ast-product-gallery-layout-first-image-large
  .tns-inner
  .tns-item
  a {
  padding-bottom: 0px;
}

.woocommerce
  .ast-product-gallery-layout-first-image-large
  .tns-inner
  .tns-item
  img {
  position: relative;
}

.archive-notification {
  padding: 10px;
  background: lightgray;
  margin-bottom: 35px;
}

.woocommerce-form-register label {
  display: block;
}

.woocommerce-form-register .woocommerce-input-wrapper input {
  width: 50%;
}

.ast-stock-detail,
.search-results
  .ast-archive-entry-banner[data-post-type="product"][data-banner-background-type="custom"] {
  display: none;
}

.login-notification h5 {
  margin: 0;
}

.login-notification {
  padding-bottom: 40px;
}
.ast-single-post .entry-content .woocommerce .login-notification h5 a {
  text-decoration: underline;
}

.woocommerce input[type="checkbox"] {
  appearance: auto;
}

.woocommerce .woocommerce-shipping-methods img.bring-fraktguiden-logo,
.woocommerce .recurring-total img.bring-fraktguiden-logo {
  float: unset;
  display: block;
  margin-left: auto;
  max-width: 73px !important;
  transform: translateY(-1px);
}

.woocommerce-js table.shop_table tbody .recurring-totals th,
.woocommerce-js table.shop_table tfoot .recurring-totals th {
  font-weight: bold;
  padding-top: 25px;
}

.single-farms nav.post-navigation .nav-links {
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  width: 50%;
}

/* Style country code input to be smaller and inline with phone number */
#billing_country_code_field,
#shipping_country_code_field
 {
  width: 15%;
}

#billing_phone_field,
#shipping_phone_field {
  display: inline-block;
  width: 85%;
}

/*
 * Layout changes for virtual gift cards.
 */
.product-template-default .wc_gc_datepicker .ui-datepicker-header {
  font-size: inherit;
  padding: 0;
}

.product-template-default .wc_gc_datepicker table.ui-datepicker-calendar{
  font-size: 0.9em;
}

.product-template-default .wc_gc_datepicker .ui-datepicker-header .ui-datepicker-prev, 
.product-template-default .wc_gc_datepicker .ui-datepicker-header .ui-datepicker-next {
  margin-top: 10px;
}

.woocommerce-page.woocommerce-checkout form #order_review td.product-name {
  display: block;
}

.tw-product-bundle-details {
  display: inline-block;
}

.tw-product-bundle-details p a {
  padding: 10px 20px;
  background-color: rgba(33, 39, 33, 0.95);
  text-decoration: none;
  color: white;
}

.tw-product-bundle-details p a:hover {
  background-color: #addc91;
}

.dhl-logo{
  max-width: 73px !important;
}

.woocommerce-cart .woocommerce-shipping-totals .dhl-description-area img.dhl-logo {
  margin-left: 0;
  transform: translateY(-1px);
  float: unset;
  display: block;
}

.woocommerce-cart .woocommerce-shipping-totals .dhl-description-area {
  margin-left: -21px;
}

.woocommerce-cart .woocommerce-shipping-totals .woocommerce-shipping-methods .woocommerce-Price-amount {
  display: block;
}

.single-product #wc-stripe-express-checkout-element {
  display: none !important;
}

@media (max-width: 1025px) {

  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    h1 {
    font-size: 35px;
    padding-bottom: 15px;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    h1:after {
    left: 46.5%;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    p {
    margin-top: 15px;
  }
  /*Footer section*/
  .ast-hfb-header .site-footer {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 768px) {
  .woocommerce-cart .woocommerce-shipping-totals .dhl-description-area img.dhl-logo {
    margin-left: auto;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    h1 {
    font-size: 30px;
    padding-bottom: 17px;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container {
    padding-top: 40px;
    padding-bottom: 0px;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    h1:after {
    left: 42.5%;
  }
  .woocommerce-shop
    .ast-archive-entry-banner[data-post-type="product"]
    .ast-container
    p {
    margin-top: 10px;
  }
  .recurring-totals, .recurring-total {
    display: none;
  }
}

@media (max-width: 480px) {
  .woocommerce-cart .woocommerce-shipping-totals .dhl-description-area img.dhl-logo {
    margin-left: auto;
  }
  .ast-single-post .entry-title {
    margin-top: 35px;
  }
  .recurring-totals, .recurring-total {
    display: none;
  }
}
