/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


:root {
    --font-smaller : 0.8rem;
    --font-regular : 1.2rem;
    --font-bigger : 1.5rem;
    --font-big : 2rem;
    --font-huge : 2.5rem;
    --ci-green: #76B729;
}


/**** FONTS ****/
@font-face {
    font-family: 'ClearGothic';
    src: url('./fonts/cleargothic_serial-regular-kern-latin.woff2') format("woff2"),
    url('./fonts/cleargothic_serial-regular-kern-latin.woff') format("woff");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'ClearGothic';
    src: url('./fonts/cleargothic_serial-medium-kern-latin.woff2') format("woff2"),
    url('./fonts/cleargothic_serial-medium-kern-latin.woff') format("woff");
    font-weight: 600;
    font-display: swap;
}

body {
    font-family: 'ClearGothic', sans-serif;
    font-weight: normal;
    font-size: var(--font-regular);
}


/**** LAYOUT ****/
@media (min-width: 1555px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner,
    .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main,
    #rs-header-nav .inner
    {
        max-width: 1555px;
    }
}

@media (max-width: 1554px) {
    .page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner,
    .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main,
    #rs-header-nav .inner
    {
        max-width: 1140px;
    }
}

.mobile-only {
    display: none !important;
}
/**** /LAYOUT ****/


/**** HEADER ****/
header#site-header {
    display: flex;
    flex-direction: column;
}

#rs-top-search form {
    height: 100%;
}

#rs-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

#rs-top-search {
    width: 50%;
    height: 2.4rem;
    background-color: #f6f6f6;
    border: 1px solid #bfbfbf;
    border-radius: 30px;
    position: relative;
}

#rs-top-search input[type="search"] {
    border: 0;
    background-color: unset;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.5rem 4rem 0.5rem 2rem;
    font-family: inherit;
    font-size: 1rem;
}

#rs-top-search input.search-submit {
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(./images/icon-search.svg);
    background-size: auto 1.2rem;
    color: transparent;
    border: 0;
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    padding: 0 1rem;
}

#rs-top-search input.search-submit:hover {
    background-color: unset;
}

#rs-top-icons {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}



#rs-top-icons a:not(:first-of-type) {
    margin-left: 28px;
}

#rs-top-icons a img {
    display: block;
    height: 1.8rem;
    width: 1.8rem;
    object-fit: contain;
}

#rs-top-icons .header-cart-icon {
    position: relative;
}

#rs-top-icons .cart-amount-number {
    background-color: var(--ci-green);
    display: flex;
    width: 1.5rem;
    height: 1.5rem;
    box-sizing: border-box;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    position: absolute;
    right: -0.8rem;
    bottom: -0.4rem;
}

/**** /HEADER ****/


/**** HEADER-NAV ****/
#rs-header-nav {
    height: 3rem;
    background-color: var(--ci-green);
    color: #fff;
    margin-top: 5rem;
}

#rs-header-nav .inner {
    margin: 0 auto;
    height: 100%;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

#rs-header-nav .inner .left, #rs-header-nav .inner .right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#rs-header-nav .logo {
    height: 100px;
    position: relative;
    top: -66px;
    flex-shrink: 0;
}

#rs-header-nav .logo img {
    display: block;
    width: 320px;
    height: auto;
}

#rs-header-nav a {
    color: #fff;
    text-transform: uppercase;
}

#rs-header-nav a:not(:first-of-type) {
    margin-left: 7.5rem;
}

@media (max-width: 1554px) {
    #rs-header-nav a:not(:first-of-type) {
        margin-left: 4.5rem;
    }
}

@media (max-width: 992px) {
    #rs-header-nav a:not(:first-of-type) {
        margin-left: 2rem;
    }
}

/**** /HEADER-NAV ****/


/**** BREADCRUMBS ****/
#main > nav.woocommerce-breadcrumb {
    /* font-size: 25px; */
    font-size: var(--font-smaller);
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.woocommerce-breadcrumb * {
    /*margin-right: 2rem;*/
    font-size: var(--font-regular);
    color: var(--ci-green); !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 2rem;
}

.woocommerce #main > nav.woocommerce-breadcrumb a::before, .woocommerce #main > nav.woocommerce-breadcrumb .current::before {
    display: inline-block;
    content: '';
    background-image: url(./images/breadcrumbs-icon.svg);
    width: 11px;
    height: 19px;
    background-size: contain;
    margin-right: 1.2rem;
}
/**** /BREADCRUMBS ****/


/**** BUTTONS ****/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    height: 3rem;
    padding: 0 2rem;
    font-size: var(--font-bigger);
    font-weight: bold;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    line-height: 1;
}
/**** /BUTTONS ****/


/**** FRONTPAGE ****/
#frontpage-teaser-container .elementor-widget-image {
    overflow: hidden;
}

#frontpage-teaser-container a.elementor-element img {
    transition: transform 0.2s ease-out;
    transform-origin: center;
}
#frontpage-teaser-container a.elementor-element:hover img {
    transform: scale(1.1);
}
/**** /FRONTPAGE ****/


/**** CATEGORY ****/
header.woocommerce-products-header h1 {
    font-size: var(--font-big);
}

p.woocommerce-result-count, .woocommerce .woocommerce-ordering {
    display: none;
}

.woocommerce ul.products li.product .button {
    background-color: var(--ci-green);;
    color: #fff;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    font-size: var(--font-bigger);
    line-height: 1;
    color: var(--ci-green);;
    padding: 1rem 0;
    font-weight: bold;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: #333;
    margin-bottom: 0;
    line-height: 1.2;
}

.woocommerce ul.products li.product .shipping-costs-info a {
    color: #333;
    text-decoration: underline;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 0;
}

.woocommerce ul.products p.wc-gzd-additional-info {
    margin: 0;
    line-height: 1.2;
}
/**** /CATEGORY ****/


/**** PRODUCT DETAIL ****/
body.single-product div.product .product_title {
    font-size: var(--font-big);
    color: var(--ci-green);;
    font-weight: bold;
}
body.single-product  div.product p.price {
    font-size: var(--font-bigger);
    color: var(--ci-green);;
    font-weight: bold;
}

body.single-product .rh-product-description {
    clear: both;
    float: none;
    margin-bottom: 3rem;
}

body.single-product h2 {
    font-size: var(--font-bigger);
    color: var(--ci-green);;
}

.woocommerce div.product form.cart .button {
    background-color: var(--ci-green);;
}

.woocommerce div.product div.summary a {
    color: #A8874E;
}

.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.woocommerce .quantity .qty {
    display: block;
    height: 3rem;
    box-sizing: border-box;
    width: 4rem;
    padding: 0;
    font-size: var(--font-regular);
    text-align: center;
}

.product .product_meta {
    display: flex;
    flex-direction: column;
}

.rh-product-additional-info {
    margin-bottom: 3rem;
}

.woocommerce table.shop_attributes th {
    padding: 1rem;
    vertical-align: middle;
}

.woocommerce table.shop_attributes td {
    padding: 1rem;
}

.woocommerce div.product form.cart .variations td.label {
    padding: 1rem;
}

/* paypal pay later */
.woocommerce div.product div.summary .ppcp-messages {
    display: none !important;
}

/* subscription interval override */
.subscription-details > .subscription-details {
    display: none;
}

.single-product .price > .subscription-details:after {
    content: ' wiederkehrend';
}

.woocommerce-message {
    display: flex    ;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
}

.woocommerce .woocommerce-message .button {
    font-size: 1rem;
    text-align: center;
}

/**** /PRODUCT DETAIL ****/


/**** PAGES ****/
.page-header .entry-title, .line-heading h1, .line-heading h2  {
    font-size: var(--font-huge) !important;
    font-weight: bold !important;
}

.line-heading h1 span, .line-heading h2 span {
    display: inline-block;
    padding: 0 1rem;
    position: relative;
}

.line-heading h1 span:before, .line-heading h2 span:before, .line-heading h1 span:after, .line-heading h2 span:after {
    content: '';
    display: block;
    width: 150px;
    height: 5px;
    position: absolute;
    left: -150px;
    top: calc(50% - 2px);
    background-color: #76B729;
}

.line-heading h1 span:after, .line-heading h2 span:after {
    left: unset;
    right: -150px;
}

.content-no-margin * {
    margin: 0;
}

.page-header.line-heading {
    text-align: center;
    padding: 24px 0;
    color: #77b43f;
    font-weight: bold;
}
/**** /PAGES ****/


/**** CART ****/
table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
    font-size: var(--font-regular);
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title, body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
    font-size: var(--font-regular);
}

.wp-block-woocommerce-cart.alignwide {
    margin: 0;
}

/* paypal pay later */
#ppcp-cart-paylater-messages {
    display: none;
}

/**** /CART ****/


/**** CHECKOUT ****/
body.woocommerce-checkout .wc-block-components-title.wc-block-components-title {
    color: #77b43f;
    font-size: 1em;
    text-transform: uppercase;
}

[type=button], [type=submit], button, .wc-block-components-button:not(.is-link) {
    color: var(--ci-green);
    border-color: var(--ci-green);
    transition: color 0.2s ease-out, background-color 0.2s ease-out;
}
[type=button]:hover, [type=submit]:hover, button:hover, .wc-block-components-button:not(.is-link):hover {
    background-color: var(--ci-green);
    color: #fff;
}

/* paypal pay later */
#order_review .ppcp-messages {
    display: none !important;
}
/**** /CHECKOUT ****/


/***** CLASSIC CHECKOUT OVERRIDES ****/
.woocommerce table.woocommerce-checkout-review-order-table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}
.woocommerce table.woocommerce-checkout-review-order-table th,
.woocommerce table.woocommerce-checkout-review-order-table td {
  padding: 16px 12px;
  border: none;
}
.woocommerce table.woocommerce-checkout-review-order-table tfoot {
  background: #f6f6f6;
  font-weight: bold;
}
.woocommerce table.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce table	.woocommerce-checkout-review-order-table .order-total {
  border-top: 1px solid #eee;
}

#customer_details {
    display: flex;
    flex-direction: column;    
}

#customer_details > * {
    float: none;
    width: 100%;
    max-width: 800px;
}

#customer_details .col-1 {
    margin-bottom: 4rem;
}

.woocommerce-additional-fields {
    margin-top: 4rem;
}

div#order_review {
    margin-top: 4rem;
}

#order_review_heading {
    margin-top: 4rem;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
    background-color: #fff;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
	background-color: #fff;
}

.woocommerce-checkout-review-order-table .rh-spacer * {
	border: 0 !important;
	padding: 0 !important;
}

.order-total th, .order-total td strong {
    font-size: 1.6rem;
}

button#place_order {
    background-color: var(--ci-green);
}

tr.recurring-totals > * {
    border-top: none !important;
}

tr.recurring-totals > th {
    font-size: 1.2em;
}

/***** /CLASSIC CHECKOUT OVERRIDES ****/


/**** CUSTOMER ACCOUNT ****/
nav.woocommerce-MyAccount-navigation ul {
    margin-left: 0;
    padding-left: 0;
}

nav.woocommerce-MyAccount-navigation li {
    background-color: #77b43f;
    margin-bottom: 1rem;
    color: #fff;
    margin-right: 6rem;
    padding: 0;
}

nav.woocommerce-MyAccount-navigation li a {
    color: #fff;
    padding: 0 1rem;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.woocommerce-account .subscription_details .button {
    margin-bottom: 1rem !important;
}
/**** /CUSTOMER ACCOUNT ****/


/**** SEARCH RESULTS ****/
#search-results-heading {
    margin-bottom: 0.3rem;
}

#search-result-query {
    color: var(--e-global-color-text);
    font-size: 1.7rem;
}

article.search-result-entry {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

article.search-result-entry:not(:first-of-type) {
    margin-top: 2rem;
}

#search-results-list .search-result-entry a {
    color: var(--ci-green);
    flex-shrink: 0;
    margin-right: 1rem;
}

#search-results-list .search-result-entry img {
    display: block;
    width: 12rem;
    height: auto;
}
/**** /SEARCH RESULTS ****/


/**** FOOTER ****/
#site-footer {
    height: 62px;
    background-color: #76B729;
    color: #fff;
    margin-top: 95px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

footer .site-navigation ul.menu .menu-item:not(:first-of-type) {
    margin-left: 2rem

}

footer .site-navigation ul.menu a {
    color: #fff;
    padding: 0;
    line-height: 1;
}

/**** /FOOTER ****/

/**** MOBILE ****/
@media screen AND (max-width: 550px) {

    /* globals */
    .mobile-only { display: block !important;  }
    .mobile-only.flex { display: flex !important; }
    .desktop-only { display: none !important;}
    .mobile-as-column { display: flex; flex-direction: column !important;  }
    .mobile-full-width { width: 100%; }


    header#site-header {
        display: block;
    }

    #rs-header-top {
        justify-content: space-between;
    }

    #rs-header-nav {
        height: auto;
        margin-top: 3.5rem;
    }

    #rs-header-nav .inner {
        flex-direction: column;
        align-items: center;
        padding-bottom: 1rem;
    }

    #rs-header-nav .logo {
        height: 4rem;
        top: -2.4rem;
        margin-bottom: -2.4rem;
    }

    #rs-header-nav .logo img {
        width: auto;
        height: 100%;
    }

    .elementor-element.line-heading {
        overflow: hidden;
    }

    #rs-top-icons {
        position: static;
        transform: unset;
    }

    #rs-top-icons a:not(:first-of-type) {
        margin-left: 1.2rem;
    }

    #rs-top-icons .header-cart-icon {
        margin-right: 12px;
    }

    /* category */
    .woocommerce ul.products {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
        display: none;
    }

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: none;
        min-width: 0;
        margin: 0 !important;
        display: flex
    ;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .woocommerce ul.products li.product .button {
        font-size: 1rem;
        text-align: center;
    }

    /* pages */
    .page-header .entry-title {
        overflow: hidden;
        padding: 0;
        margin-left: 1rem;
        margin-right: 1rem;
        width: calc(100% - 2rem);
    }

    /* order-details */
    .woocommerce ul.order_details {
        display: block;
        padding: 0;
        margin-bottom: 3rem;
    }

    .woocommerce ul.order_details li {
        float: none;
        border: 0;
        margin-bottom: 1rem;
    }

    .woocommerce .woocommerce-column--shipping-address {
        margin-top: 3rem;
    }

    /* footer */
    #site-footer {
        height: auto;
        padding: 1rem 0;
    }

    .site-footer .footer-inner .site-navigation ul.menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .site-footer .footer-inner .site-navigation ul.menu li {
        text-align: left;
        margin: 0 !important;
    }




}


/**** /MOBILE ****/