/*
Theme Name: Mjam Theme
Theme URI: https://neues-food-depot.ch
Author: Tobias Zimmermann
Description: A theme intended for use with Foodcoop Manager Plugin.
Version: 1.0.0
*/

.fc_filters_wrapper {
  display: none !important;
}

html,
body {
  font-family: "Dosis", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 12pt;
  margin-top: 0 !important;
}

li {
  margin-bottom: 5px !important;
}

input:focus,
button:focus,
textarea:focus {
  box-shadow: none !important;
}

.navbar-toggler {
  border: none;
}

.navbar-toggle:focus {
  border: none;
}

.menu-item a {
  font-size: 1.3rem !important;
  margin-left: 10px !important;
  font-weight: 500 !important;
}

.current-menu-item {
  text-decoration: underline;
}

.menu-item:hover {
  text-decoration: underline;
}

.banner {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

button {
  transition: all 0.15s !important;
}

button:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1) !important;
  transform: translate(2px, -1px);
}

.woocommerce-account .woocommerce {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.woocommerce-account .woocommerce nav,
.woocommerce-account .woocommerce div {
  width: 100%;
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  list-style-type: none;
  width: 100%;
  padding: 10px 20px;
  margin: 0;
  overflow-x: auto;
}

.woocommerce-MyAccount-navigation ul li {
  padding: 0 15px;
  white-space: nowrap;
}

.woocommerce-MyAccount-navigation ul li.is-active {
  font-weight: bold;
  text-decoration: underline;
}

.woocommerce-MyAccount-navigation ul li:first-child {
  padding: 0 15px 0 0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
  padding: 0 0 0 15px;
  border-right: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  text-decoration: none;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  text-decoration: underline;
}

.woocommerce-MyAccount-content {
  width: 100%;
  padding: 25px 20px;
}

.container-fluid .woocommerce table {
  width: 100%;
  border: 1px solid #f0f0f0;
}

.container-fluid .woocommerce table th {
  padding: 5px;
  font-weight: bold;
  font-size: 0.9em;
  border-bottom: 1px solid #ccc;
  background-color: #fbfbfb;
  border-right: 1px solid #f0f0f0;
}

.container-fluid .woocommerce table td {
  padding: 5px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9em;
  border-right: 1px solid #f0f0f0;
}

.container-fluid .woocommerce table td:last-child,
.container-fluid .woocommerce table th:last-child {
  border-right: none;
}

.container-fluid .woocommerce table tr:nth-child(even) {
  background-color: #fbfbfb;
}

.container-fluid .woocommerce tfoot td,
.container-fluid .woocommerce tfoot th {
  background-color: #fbfbfb;
  border-bottom: 1px solid #f0f0f0;
}

.container-fluid .woocommerce tfoot tr {
  background-color: transparent !important;
}

.container-fluid .woocommerce h2,
.container-fluid .woocommerce h3 {
  font-size: 1.2em;
  margin-top: 10px;
}

.container-fluid .woocommerce section {
  margin-bottom: 25px;
}

.container-fluid .woocommerce form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.container-fluid .woocommerce-form-row,
.container-fluid .woocommerce .form-row {
  width: 100%;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.container-fluid .woocommerce-form-row label,
.container-fluid .woocommerce-form-row input,
.container-fluid .woocommerce-form-row textarea,
.container-fluid .woocommerce-form-row select,
.container-fluid .woocommerce-form-row div,
.container-fluid .woocommerce-form-row span,
.container-fluid .woocommerce .form-row label,
.container-fluid .woocommerce .form-row input,
.container-fluid .woocommerce .form-row textarea,
.container-fluid .woocommerce .form-row select,
.container-fluid .woocommerce .form-row div,
.container-fluid .woocommerce .form-row span {
  flex-basis: 50%;
}

.container-fluid .woocommerce-form-row span em {
  font-size: 0.85em;
  margin-top: 5px;
}

.container-fluid .woocommerce fieldset {
  width: 100%;
  margin-top: 50px;
}

.container-fluid .woocommerce fieldset legend {
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: bold;
}

.container-fluid .woocommerce-form-row .password-input {
  position: relative;
}

.container-fluid .woocommerce-form-row .password-input input,
.container-fluid .woocommerce-input-wrapper input,
.container-fluid .woocommerce-input-wrapper textarea {
  width: 100% !important;
}

.container-fluid .woocommerce form .show-password-input,
.container-fluid .woocommerce-page form .show-password-input {
  position: absolute;
  right: 0.7em;
  top: 0.3em;
  cursor: pointer;
}

.container-fluid .woocommerce form .show-password-input::after,
.container-fluid .woocommerce-page form .show-password-input::after {
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin-left: 0.618em;
  content: "\1F441";
  text-decoration: none;
}

input {
  padding: 5px 10px;
  border-radius: 0;
  border: 1px solid #ccc;
}

button {
  border: none;
  padding: 10px 2em;
  font-weight: bold;
}

.woocommerce-Address header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.woocommerce-Address header a {
  margin-left: 10px;
  font-size: 0.85em;
}

#billing_address_2_field {
  display: flex;
  justify-content: flex-end;
}

.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

.woocommerce-message,
.woocommerce-error {
  padding: 10px 20px;
  font-size: 0.85em;
  font-weight: bold;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.woocommerce-error {
  list-style-type: none;
}

.wp-block-woocommerce-filter-wrapper,
.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}

.container-fluid .products {
  display: flex;
  list-style-type: none;
  justify-content: flex-start;
  flex-grow: 1;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0;
}

.container-fluid .products li {
  width: 22%;
  background-color: #f0f0f0;
  padding: 10px;
  margin: 10px 1.5%;
  transition: all 0.1s;
}

.container-fluid .products li:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1) !important;
  transform: translate(2px, -1px);
}

@media screen and (max-width: 1000px) {
  .container-fluid .products {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .container-fluid .products li {
    width: 100%;
    background-color: #f0f0f0;
    padding: 10px;
    margin: 10px 0;
  }
}

.container-fluid .products li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.archive-img-wrap {
  height: 0;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.container-fluid .products li img {
  width: 100%;
  height: auto;
}

.container-fluid .products li a h2 {
  font-size: 1em;
  margin: 15px 5px 10px 5px;
}

.container-fluid .products li a h2 .count,
.container-fluid .products li .add_to_cart_button,
.woocommerce-products-header__title,
.product .related,
.product form.cart {
  display: none;
}

.container-fluid .products li .price {
  font-size: 0.85em;
}

.woocommerce-Price-currencySymbol {
  margin-right: 5px;
}

.woocommerce-breadcrumb {
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce-pagination ul {
  list-style-type: none;
  padding: 10px;
  margin-top: 30px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.woocommerce-pagination ul li {
  margin: 0 10px;
}

.woocommerce-pagination ul li a {
  text-decoration: none;
}

.woocommerce-pagination ul li .current {
  font-weight: bold;
}

.single-product .product {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.single-product .product .woocommerce-product-gallery {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 40%;
}

.single-product .product .woocommerce-product-gallery img {
  max-width: 100%;
  height: auto;
}

.single-product .product .summary {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-left: 5%;
  width: 55%;
}

.single-product .product .summary h1 {
  font-size: 1.5em;
}

.single-product .product .summary .price {
  margin-top: 10px;
}

.single-product .product .woocommerce-tabs {
  display: none;
}

.woocommerce-form-coupon-toggle,
.col2-set .col-2,
.woocommerce-terms-and-conditions-wrapper {
  display: none;
}

form.checkout.woocommerce-checkout {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.woocommerce-billing-fields__field-wrapper {
  padding: 20px;
  background-color: #fbfbfb;
}

.col2-set,
.col2-set .col-1,
.woocommerce-checkout-review-order {
  width: 100%;
}

form.checkout.woocommerce-checkout h3 {
  font-size: 1.2em;
  margin: 25px 0 10px 0;
}

.woocommerce-checkout-payment {
  margin-top: 25px;
}

.wc_payment_methods {
  list-style-type: none;
  background-color: #fbfbfb;
  padding: 20px;
}

.wc_payment_methods p {
  margin-top: 5px;
  padding: 10px;
  font-size: 0.85em;
  background-color: #f0f0f0;
}

.wc_payment_method label {
  margin-left: 10px;
  margin-top: 10px;
}

.place-order {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end !important;
}
