/*
 Theme Name:   Storefront Child
 Description:  BFF Shops Theme
 Author:       Michael Kinzl
 Author URI:   
 Template:     storefront
 Version:      1.0
 Text Domain:  storefront-child
*/

/* ------------------------------------ */
/* Color Schema                         */
/* ------------------------------------ */

:root {
    --primary: #32a9da;
    --secondary: #2a8bb5;
    --green: #3cb44a;
    --red: #ea1f25;
    --warning: #ba2121;
    --invalid: #c03618;
    --bg-gray: #f6f6f6;
    --bg-dark: #efefef;
    --border-color: #ccc;
    --border-checkout: #b2b2b0;
    --border-dark: #a8a8a8;
    --text-color: #333;
    --bff-green: #91c130;
    --bff-magenta: #ae197f;
    --box-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

/* ------------------------------------ */
/* Fonts                                */
/* ------------------------------------ */

body, button, input, select, textarea {
	font-family: "Roboto","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
}

body {
    --wp--preset--font-size--small: 14px;
    --wp--preset--font-size--medium: 23px;
    --wp--preset--font-size--large: 26px;
    --wp--preset--font-size--x-large: 42px;
    --wp--preset--font-size--normal: 16px;
    --wp--preset--font-size--huge: 37px;
}

p {
	margin: 0 0 12px 0;
}
p.form-row {
    margin: 0 0 20px 0;
}

body, button, input, textarea {
    line-height: 1.4;
}

/* ------------------------------------ */
/* Colors                               */
/* ------------------------------------ */

a {
    text-decoration: none !important;
    color: var(--secondary);
}
a:hover,
a:focus {
    color: var(--secondary);
}

body, .secondary-navigation a {
	color: var(--text-color);
}
.widget-area .widget a,
.hentry .entry-header .posted-on a,
.hentry .entry-header .post-author a,
.hentry .entry-header .post-comments a,
.hentry .entry-header .byline a {
	color: var(--text-color);
}

/* ------------------------------------ */
/* Buttons                              */
/* ------------------------------------ */

#content button, input[type="button"],
#content input[type="reset"],
#content input[type="submit"],
#content .button,
#content .widget a.button,
.storefront-sticky-add-to-cart__content-button {
	display: inline-block;
	line-height: 1rem;
	text-align: center;
	padding: 10px 20px !important;
	cursor: pointer;
	background-color: var(--primary) !important;
	text-decoration: none !important;
	color: #fff !important;
    border: none !important;
}
#content button:hover, input[type="button"]:hover,
#content input[type="reset"]:hover,
#content input[type="submit"]:hover,
#content .button:hover,
#content .widget a.button:hover,
.storefront-sticky-add-to-cart__content-button:hover {
	background-color: var(--secondary) !important;
}

.wp-block-search__button {
	margin-left: 0;
}

.post-edit-link {
    display: none !important;
}

.button.loading::after {
	color: #fff;
}
#content .button.loading {
    color: var(--secondary) !important;
    background-color: var(--secondary) !important;
    opacity: 1.0 !important;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link, .added_to_cart {
	font-weight: 500;
}

#content .customize-partial-edit-shortcut button, #content .widget .customize-partial-edit-shortcut button {
	padding: 3px !important;
    border: 2px solid #fff !important;
}

.thwmscf-buttons .button-prev, .thwmscf-buttons .button-next, .thwmscf-buttons .thwmscf-cart-url {
	border-radius: 0px;
}

/* ------------------------------------ */
/* Widgets                              */
/* ------------------------------------ */

a:focus, button:focus, .button.alt:focus, input:focus, textarea:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus,
input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus {
	outline-color: #7f54b3;
    outline: none !important;
}

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"],
textarea, .input-text, select, .select2-container .select2-selection--single, .select2-container--default .select2-selection--single {
	padding: 5px 6px 4px 6px;
	background-color: #fff;
	color: var(--text-color);
	border: 1px solid var(--border-color);
	-webkit-appearance: none;
	box-sizing: border-box;
	font-weight: normal;
	box-shadow: none !important;
    border-radius: 0;
}
select {
    -webkit-appearance: auto;
}
select:not(.orderby) {
    height: 33px;
}

.select2-container .select2-selection--single,.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0px;
}

/* ------------------------------------ */
/* Header                               */
/* ------------------------------------ */

.site-header {
    padding-top: 10px;
    border: none;
}
.site-branding {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}
.site-branding .shop-name {
    margin-top: 4px;
    margin-left: 0px;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.custom-logo {
    height: 100px !important;
    width: auto !important;
}
.wp-custom-logo .custom-logo {
    padding: 10px 0 10px 0;
}

.storefront-breadcrumb {
    display: none !important;
}

.site-header {
	margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .storefront-secondary-navigation .site-header .site-branding img {
        max-width: 150px;
    }
    .storefront-secondary-navigation .site-header .site-branding {
        width: 150px !important;
        margin-right: 20px !important;
    }
    .storefront-secondary-navigation .secondary-navigation {
        width: calc(100% - 430px) !important;
        margin-right: 20px !important;
    }
    .storefront-secondary-navigation .site-search {
        width: 240px !important;
        margin-right: 0px !important;
    }
    
    .storefront-secondary-navigation .secondary-navigation {
        background-image: url('assets/img/bff-shop.png');
        height: 140px;
        margin-bottom: -20px;
        background-repeat: no-repeat;
        /* background-size: 160px 44px; */
        /* background-position: top 7px left -4px; */
        /* background-position: top 38px left 0px; */
        /* background-position: top 64px right 105px; */
        background-size: 175px 48px;
        background-position: top 64px right 105px;
        background-position: top 62px right 91px;
    }
}

.bff-link-header {
    float: right;
    margin-top: 44px;
    display: none;
}

@media (max-width: 768px) {
    .bff-link-header {
        display: none;
    }
}

/* ------------------------------------ */
/* Menu                                 */
/* ------------------------------------ */

.main-navigation ul li a, .site-title a, ul.menu li a, .site-branding h1 a, .secondary-navigation a,
button.menu-toggle, button.menu-toggle:hover, .handheld-navigation .dropdown-toggle {
	color: var(--text-color) !important;
}
.secondary-navigation a {
    margin-top: 10px;
}
.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .secondary-navigation a:hover,
.site-header ul.menu:not(.site-header-cart) li.current-menu-item > a {
	color: var(--bff-green) !important;
}

.site-header #site-navigation ul.menu li {
    margin-bottom: -1px;
}
.site-header #site-navigation ul.menu li > a {
    border-bottom: solid 2px transparent;
}
.site-header #site-navigation ul.menu li.current-menu-item > a {
    border-bottom: solid 2px var(--bff-green);
}
.handheld-navigation ul li a {
    width: fit-content;
}

@media (min-width: 768px) {
    .storefront-primary-navigation {
        margin-top: 10px;
        border-top: solid 1px #f0f0f0;
        border-bottom: solid 1px #f0f0f0;
    }
    .main-navigation ul.menu > li > a,
    .main-navigation ul.nav-menu > li > a,
    .site-header-cart .cart-contents {
        padding-top: 10px;
        padding-bottom: 9px;
    }
}

.handheld-navigation ul li a {
    padding-top: 20px;
	padding-bottom: 0px;
}

.handheld-navigation {
    position: fixed;
    background-color: #fff;
    top: 140px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    padding-left: 2.617924em;
    padding-right: 2.617924em;
    border-top: solid 1px transparent;
}
body.menu-open {
    overflow: hidden;
}
body.menu-open .handheld-navigation {
    border-top: solid 1px #f0f0f0;
}
body:not(.menu-open) .handheld-navigation {
    display: none !important;
}

/* ------------------------------------ */
/* Content                              */
/* ------------------------------------ */

#content {
    margin-top: 40px;
}
#primary {
    margin-bottom: 40px !important;
}
#main,
.hentry {
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .col-full {
        display: block;
    }
    #secondary {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1100px) {
    #primary,
    #secondary {
        width: 100% !important;
    }
    #secondary {
        display: none !important;
    }
}

/* ------------------------------------ */
/* Contact                              */
/* ------------------------------------ */

h4.margin-h4-text {
    margin-top: 24px;
}

/* ------------------------------------ */
/* Imprint                              */
/* ------------------------------------ */

h4.header-imprint {
    margin: 0 0 .5em !important;
    font-weight: 500;
}

.page-id-15 ol {
    margin: 0 0 1em 20px;
}
.page-id-15 ol li {
    margin-top: 1em;
}
.page-id-15 ol > li::marker {
    font-weight: 600;
}
.page-id-15 p {
    margin-left: 20px;
}

/* ------------------------------------ */
/* Page Height                          */
/* ------------------------------------ */

body,
#page {
    min-height: 100vh;
}
#page {
    display: flex;
    flex-direction: column;
}
#content {
    flex-grow: 1;
}

body.has-admin-bar,
body.has-admin-bar #page {
    min-height: calc(100vh - var(--wp-admin--admin-bar--height));
}

/* ------------------------------------ */
/* Sidebar                              */
/* ------------------------------------ */

#secondary .widget {
    margin-bottom: 0px;
}
.widget-area .widget a {
	font-size: 1.0em;
	font-weight: 400;
}
.widget-area .widget a:hover,
.widget-area .widget a.current {
    color: var(--bff-green) !important;
}

#secondary .wp-block-woocommerce-product-categories {
    font-size: var(--wp--preset--font-size--normal);
}

.wc-block-product-categories .wc-block-product-categories-list-item a {
    margin-bottom: 2px;
    display: inline-block;
}
#secondary div.wc-block-product-categories > ul {
    display: none;
}

/* ------------------------------------ */
/* Footer                               */
/* ------------------------------------ */

footer {
    border-top: solid 1px #f0f0f0;
    background-color: var(--bff-green) !important;
    padding: 10px 0 !important;
}

.site-info {
	padding: 10px 0;
    width: 100%;
    font-size: 14px;
    display: contents;
}
.site-info .footer-menu {
    float: left;
}
.site-info .footer-copy {
    float: right;
}

.storefront-handheld-footer-bar {
	box-shadow: 0px 0px 4px rgba(0,0,0,.5);
}

.site-footer {
	color: var(--text-color);
}

.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
	color: var(--text-color) !important;
}

/* ------------------------------------ */
/* WooCommerce - Mini Cart              */
/* ------------------------------------ */

.widget_shopping_cart .total {
    text-align: left !important;
}
.widget_shopping_cart .total .amount {
    float: right;
}

.widget.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons a.button {
    background-color: var(--primary) !important;
    color: #fff !important;
}
.widget.woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons a.button:hover {
    background-color: var(--secondary) !important;
}
.site-header-cart .cart-contents::after {
	line-height: inherit;
}

.shipping-costs-cart-info.wc-gzd-total-mini-cart {
    display: none !important;
}

.site-header-cart .cart-contents .count {
    display: none;
}

/* ------------------------------------ */
/* WooCommerce - Product Grid           */
/* ------------------------------------ */

.woocommerce-result-count {
    margin-top: 5px !important;
}
.woocommerce-result-count {
    display: none;
}

#primary main .storefront-sorting:last-child {
    display: none;
}

.products.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 992px) {
    .products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .products.columns-3{
        grid-template-columns: repeat(1, 1fr);
    }
}
.products .product {
    width: 100% !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}
ul.products::before {
	display: none !important;
}

.products .woocommerce-placeholder,
.products .attachment-woocommerce_thumbnail {
    margin-bottom: 8px !important;
}
.products .product h2 {
    font-weight: 500 !important;
}
.products .price {
    margin-bottom: 0px !important;
    font-size: 1rem;
}
.products .price * {
    color: var(--text-color);
}
.products .wc-gzd-additional-info {
    margin: 0 0 15px 0 !important;
    font-size: 11px !important;
    line-height: 13px !important;
}
.products .add_to_cart_button {
    width: fit-content;
    margin: auto auto 0 auto;
}

.products .product .onsale {
    position: absolute;
    top: 20px;
    left: 20px;
}

.products .product {
    margin-right: 0;
    margin-bottom: 20px;
    padding: 20px;
}
.products .product:hover {
    box-shadow: var(--box-shadow);
}

/* ------------------------------------ */
/* WooCommerce - Product Details        */
/* ------------------------------------ */

.single-product .woocommerce-product-gallery {
    margin-top: 10px;
}

.single-product .wc-gzd-additional-info {
    margin: 0 0 15px 0 !important;
    font-size: 11px !important;
    line-height: 13px !important;
}

.single-product .quantity input {
    padding: 6px 6px !important;
}
.single-product .summary .price {
    margin-bottom: 2px !important;
}
.single-product .woocommerce-product-details__short-description {
    margin-top: 30px;
}
.single-product .summary .cart {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
}
.single-product .woocommerce-product-attributes tr > * {
    padding: 6px 12px 6px 12px;
}
.single-product .woocommerce-product-attributes tr th {
    font-weight: 500;
}
.single-product .woocommerce-product-gallery,
.single-product .summary {
    margin-bottom: 0px !important;
}

.single-product section.related.products {
	clear: both;
    padding-top: 2.617924em;
}

/* ------------------------------------ */
/* WooCommerce - Widgets                */
/* ------------------------------------ */

.widget_product_search {
    margin: 15px 0 0 0;
}
.site-search .search-field {
    padding: 6px 6px 6px 6px !important;
    padding-left: 28px !important;
}
.site-search .widget_product_search form::before {
	top: 9px;
	left: 9px;
}

.added_to_cart.wc-forward {
    display: none !important;
}

/* ------------------------------------ */
/* WooCommerce - Checkout Fields        */
/* ------------------------------------ */

@media (min-width: 768px) {
    #billing_address_2_field {
        margin-top: 26px;
    }
    #billing_customer_type_field, #billing_country_field, #billing_address_1_field, #billing_postcode_field, #billing_email_field,
    #shipping_company_field, #shipping_country_field, #shipping_address_1_field, #shipping_postcode_field, #shipping_email_field {
        width: 47.8260869565%;
        float: left;
        margin-right: 4.347826087%;
        clear: none;
    }
    #billing_address_2_field, #billing_city_field,
    #shipping_address_2_field, #shipping_city_field {
        width: 47.8260869565%;
        float: right;
        clear: none;
    }
}

.woocommerce-additional-fields {
    clear: both !important;
}
.woocommerce-form__input-checkbox {
    position: relative;
    top: -1px;
}
.woocommerce-message li, .woocommerce-info li, .woocommerce-error li {
	margin-top: 0px !important;
    margin-bottom: -2px !important;
    list-style: none !important;
}
#content .woocommerce .woocommerce-message .button.wc-forward {
    background-color: transparent !important;
    padding: 3px 0px !important;
}

.thwmscf-content .woocommerce-invalid input[type=text],
.thwmscf-content .woocommerce-invalid input[type=email],
.thwmscf-content .woocommerce-invalid input[type=number],
.thwmscf-content .woocommerce-invalid select {
    border: solid 1px var(--invalid);
}

#ship-to-different-address {
    display: none;
}
#billing_company_field,
#billing_vat_field {
    display: none;
}
#alg_wc_eu_vat_progress {
    display: none;
}

#billing_email_field input.invalid {
    border: solid 1px var(--invalid);
}
#billing_email_error {
    margin-top: 8px;
    color: var(--invalid);
}
.readonly {
    pointer-events: none !important;
}

/* ------------------------------------ */
/* WooCommerce - Payment Fields         */
/* ------------------------------------ */

.payment_box.payment_method_bsp_direct_payment,
.payment_box.payment_method_invoice_payment {
    padding-bottom: 12px !important;
}
.wc_payment_methods fieldset.wc-payment-form {
    background-color: transparent !important;
}
#bsp_direct_payment-name_field,
#bsp_direct_payment-iban_field,
#bsp_direct_payment-tan-code_field {
    position: relative;
    float: left;
    margin-right: 20px !important;
}
#bsp_direct_payment-name_field,
#bsp_direct_payment-iban_field {
    width: 320px;
}
#invoice_payment-number_field,
#invoice_payment-password_field {
    width: 320px;
    position: relative;
    float: left;
    margin-right: 20px !important;
}
#payment .payment_methods li .payment_box fieldset {
	font-size: 1.0em;
}
#payment .payment_methods li .payment_box fieldset {

}
#payment .payment_methods li .payment_box fieldset .form-row.last-row {
	margin-bottom: 0 !important;
}

#bsp_direct_payment-tan-number_field,
#bsp_direct_payment-login_field {
    display: none !important;
}
#bsp_direct_payment-tan-code_field {
    display: none;
    width: 130px;
}
#bsp_direct_payment-tan-code {
    margin-left: 44px;
}
#bsp_direct_payment-tan-valid_field,
#bsp_acc_payment-cvc-valid_field,
#invoice_payment-verified_field {
    width: 0px;
    overflow: hidden;
    height: 0px;
}

#bsp_acc_payment-ccard_holder_field,
#bsp_acc_payment-ccard_field,
#bsp_acc_payment-valid_month_field,
#bsp_acc_payment-valid_year_field,
#bsp_acc_payment-cvc_field {
    position: relative;
    float: left;
    margin-right: 20px !important;
    width: 320px;
}
#bsp_acc_payment-valid_month {
    width: 50%;
    float: left;
}
#bsp_acc_payment-valid_year {
    width: calc(50% + 1px);
    float: left;
    margin-left: -1px;
}

#iban_valid,
#name_valid,
#tan_valid,
#number_valid,
#password_valid,
#bsp_acc_payment-cc-form .valid {
    display: none;
    position: absolute;
    right: 5px;
    top: 27px;
    width: 24px;
    height: 24px;
    background-image: none;
    background-size: contain;
}
#tan_valid {
    right: -39px;
}
#iban_valid.valid,
#name_valid.valid,
#tan_valid.valid,
#number_valid.valid,
#password_valid.valid,
#bsp_acc_payment-cc-form .valid {
    display: block;
    background-image: url('assets/img/icon-check.svg');
}
#tan_number_display {
	position: absolute;
	top: 23px;
	left: 0px;
	width: 45px;
	padding: 5px 6px 3px 6px;
	border: solid 1px var(--border-color);
}
#tan_error_msg,
#ccard_error_msg {
    display: none;
    color: var(--invalid);
}

.wc_payment_method label {
    font-weight: 600;
}
.wc_payment_method label .payment-title-hint {
    font-weight: normal;
}
.wc_payment_method label .payment-title-hint span {
    font-weight: 600;
}

/* ------------------------------------ */
/* WooCommerce - Cart Table             */
/* ------------------------------------ */

.woocommerce .shop_table {
    background-color: var(--bg-dark);
}
table:not(.has-background) th {
	background-color: var(--bg-dark);
}
table:not(.has-background) tbody td {^
	background-color: #fff !important;
}
table:not(.has-background) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
	background-color: #fff !important;
}
table.cart td.product-remove, table.cart td.actions {
	background-color: #fff !important;
}

@media (min-width: 768px) {
    table.cart th, table.cart td,
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 6px 12px 6px 12px;
    }
    table.cart td.product-remove, table.cart td.actions {
        width: 20px;
        padding: 0 0 0 10px;
    }
    
    .woocommerce .shop_table tr.cart_item td {
        border-bottom: solid 1px var(--border-checkout);
        vertical-align: middle;
        padding-right: 40px;
    }
    .woocommerce .shop_table tr.cart_item td:last-child {
        padding-right: 0px;
    }
    .wc-gzd-product-name-right {
        min-height: 60px;
        line-height: 60px;
     }
     .woocommerce .shop_table .product-name {
        width: 100%;
    }
}

.woocommerce .shop_table thead tr th {
    border-top: solid 1px var(--border-checkout);
    border-bottom: solid 1px var(--border-checkout);
}

.woocommerce .shop_table .size-woocommerce_thumbnail {
    width: auto;
    height: 60px;
}

#payment .payment_methods > li {
	background-color: var(--bg-dark) !important;
    border: solid 1px var(--border-checkout);
    border-bottom: 0;
}
#payment .payment_methods > li:last-child {
    border-bottom: solid 1px var(--border-checkout) !important;
}

.cart_totals *,
.woocommerce-shipping-totals {
    white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot tr th {
    text-align: right;
}
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
    padding: 2px 12px 2px 12px;
    padding-right: 20px !important;
}
.woocommerce-checkout-review-order-table tfoot tr:first-child th,
.woocommerce-checkout-review-order-table tfoot tr:first-child td {
    padding: 6px 12px 2px 12px;
}
.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    border-bottom: solid 1px var(--border-checkout) !important;
    padding: 2px 12px 6px 12px;
}

ul.woocommerce-shipping-methods li label[for^=shipping_method] {
    display: inline-block;
    width: 210px;
}

ul.woocommerce-shipping-methods li label[for^=shipping_method] span.amount {
    float: right;
}

table.cart td.product-remove, table.cart td.actions {
	background-color: #fdfdfd !important;
}

/* ------------------------------------ */
/* WooCommerce - Cart Summary           */
/* ------------------------------------ */

.cart-collaterals {
    margin-top: -50px;
}
.cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
}
.cart-collaterals .cart_totals .shop_table {
    border-top: solid 1px var(--border-checkout);
    border-bottom: solid 1px var(--border-checkout);
}
.cart-collaterals .cart_totals .shop_table th {
    width: 100%;
    text-align: right;
}
.cart-collaterals .cart_totals .shop_table td {
    background-color: var(--bg-dark) !important;
}
.cart-collaterals .cart_totals .shop_table tr th,
.cart-collaterals .cart_totals .shop_table tr td {
    padding: 2px 12px 2px 12px;
    padding-right: 20px !important;
}
.cart-collaterals .cart_totals .shop_table tr:first-child th,
.cart-collaterals .cart_totals .shop_table tr:first-child td {
    padding: 6px 12px 2px 12px;
}
.cart-collaterals .cart_totals .shop_table tr:last-child th,
.cart-collaterals .cart_totals .shop_table tr:last-child td {
    border-bottom: solid 1px var(--border-checkout) !important;
    padding: 2px 12px 6px 12px;
}

.cart-collaterals .cart_totals .shop_table ul#shipping_method {
    margin-bottom: 0px;
}

button[name=update_cart],
.wc-proceed-to-checkout .checkout-button {
    float: right;
    width: 220px;
}

.woocommerce-table--order-details tfoot tr:nth-child(4) {
    font-weight: 600;
}

/* ------------------------------------ */
/* WooCommerce - Checkout Widgets       */
/* ------------------------------------ */

#thwmscf_wrapper {
    margin-top: -50px;
}

.thwmscf-tab-panels {
    background-color: transparent !important;
    padding: 10px 0 0 0;
}

#action-prev {
    float: left;
}
#action-prev.confirm {
    margin-top: -60px;
}

.wc-gzd-place-order {
    float: right;
    margin-top: 20px;
}
.wc-gzd-place-order #place_order {
    position: relative;
    top: -14px;
}

@media (min-width: 1160px) {
    .thwmscf_time_line_step .thwmscf-index {
        /* right: -120px; */
    }
}

.wc-proceed-to-checkout .button.checkout-button {
	font-size: 1.0em;
}

/* ------------------------------------ */
/* WooCommerce - Thank You Page         */
/* ------------------------------------ */

.woocommerce-thankyou-order-received {
    font-weight: 500;
}
.woocommerce-thankyou-order-details {
    margin: 30px 0 !important;
    background-color: var(--bg-dark);
    border-top: solid 1px var(--border-checkout);
    border-bottom: solid 1px var(--border-checkout);
}
.woocommerce-thankyou-order-details > li {
    border-bottom: solid 1px var(--border-checkout);
}
ul.order_details li:last-child {
	padding-bottom: 1.0em;
}
ul.order_details::before, ul.order_details::after {
    display: none !important;
}
body.woocommerce-order-received .shipped_via {
    display: none;
}
body.woocommerce-order-received .woocommerce-order-details table tr th,
body.woocommerce-order-received .woocommerce-order-details table tr td {
    padding: 6px 12px 6px 12px;
}
body.woocommerce-order-received .woocommerce-order-details table tfoot tr th,
body.woocommerce-order-received .woocommerce-order-details table tfoot tr td {
    padding: 2px 12px 2px 12px;
}
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:first-child th,
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:first-child td {
    border-top: solid 1px var(--border-checkout) !important;
    padding: 6px 12px 2px 12px;
}
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-order-details table tfoot tr:last-child td {
    border-bottom: solid 1px var(--border-checkout) !important;
    padding: 2px 12px 6px 12px;
}
body.woocommerce-order-received .woocommerce-order-details {
    margin-bottom: 30px;
}
address {
	font-style: normal;
}

/* ------------------------------------ */
/* Language Switch                      */
/* ------------------------------------ */

ul.menu > li.wpm-languages {
    position: absolute !important;
    right: 32px;
    top: 32px;
}

@media (max-width: 1260px) {
    ul.menu > li.wpm-languages {
        right: 42px;
        top: 90px;
    }
}

ul.menu li.wpm-languages a > img {
    display: none;
}
#menu-item-language-de > a,
#menu-item-language-it > a,
#menu-item-language-en > a {
    display: block;
    width: 30px;
    height: 18px;
    background-image: url(assets/img/de.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    opacity: 0.65;
}
ul.menu li.wpm-languages > a:hover,
ul.menu li.wpm-languages.active-language > a {
    opacity: 1.0 !important;
}
#menu-item-language-de > a {
    background-image: url(assets/img/de.png);
}
#menu-item-language-it > a {
    background-image: url(assets/img/it.png);
}
#menu-item-language-en > a {
    background-image: url(assets/img/en.png);
}
ul.menu > li.wpm-languages ul.sub-menu li {
    padding-top: 8px;
}

ul.menu li.wpm-languages:hover ul.sub-menu li a {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

