/*
Theme Name: Mylna
Theme URI: http://www.osberget.no/
Author: Maxim Kukulinsky at RASAMAX SIA
Author URI: http://www.osberget.no/
Description: Mylna Wordpress theme
Version: 0.0.18
Tags: mylna osberget rasamax
Text Domain: mylna
*/
/**
 * Reset CSS instead of Normalize inside of Bootstrap
 */
.menu-container {
  position: relative;
}
.menu-container .menu-wrapper {
  z-index: 999;
  width: 340px;
  position: absolute;
  right: 0;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), visibility 0s 0.5s;
  overflow: hidden;
  background: var(--bs-secondary);
}
.menu-container #menu-close-icon {
  display: none;
}
.menu-container.expanded .menu-wrapper {
  max-height: 1000px;
  visibility: visible;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0), visibility 0s;
}
.menu-container.expanded #menu-icon {
  display: none;
}
.menu-container.expanded #menu-close-icon {
  display: inline;
}

.primary-menu li a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bs-dark);
}

.sub-menu-button {
  font-size: 0;
  width: 15px;
  height: 15px;
  position: relative;
}
.sub-menu-button:before, .sub-menu-button:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--bs-primary);
  transition: transform 0.5s;
}

.primary-menu {
  padding: 30px 50px;
}
.primary-menu li {
  width: 100%;
  margin-top: 20px;
}
.primary-menu li.expanded > .sub-menu {
  max-height: 1000px;
  visibility: visible;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0), visibility 0s;
}
.primary-menu li.expanded > .sub-menu-button:after {
  transform: rotate(0deg);
}
.primary-menu > li:first-child {
  margin-top: 0;
}
.primary-menu .sub-menu {
  list-style: none;
  position: relative;
  width: auto;
  padding: 0 0 0 20px;
  box-shadow: none;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), visibility 0s 0.5s;
  overflow: hidden;
}
.primary-menu .sub-menu a {
  text-transform: none;
}

.sub-menu-button:before, .sub-menu-button:after {
  top: 40%;
  left: 0;
}
.sub-menu-button:after {
  transform: rotate(90deg);
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
  float: right;
  width: 48%;
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  float: left;
  width: 48%;
  clear: none;
}

.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: calc((100% - 45px) / 4);
  float: none;
  list-style: none;
}

.primary-checkbox, #form form input[type=checkbox], .woocommerce-form__input-checkbox {
  width: 45px;
  height: 45px;
  display: inline-block;
  margin-right: 30px;
  flex-shrink: 0;
  border-radius: 0;
  border: 0;
  background: white;
  border-bottom: 2px solid var(--bs-primary);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
}

.primary-checkbox:checked:before, #form form input[type=checkbox]:checked:before, .woocommerce-form__input-checkbox:checked:before {
  content: "";
  display: block;
  width: 13px;
  height: 22px;
  position: absolute;
  top: 5px;
  left: 16px;
  border-bottom: 2px solid var(--bs-primary);
  border-right: 2px solid var(--bs-primary);
  transform: rotate(45deg);
}

.woocommerce-form__input-checkbox {
  background-color: var(--bs-secondary);
}

a.added_to_cart.wc-forward {
  position: absolute;
  right: 20px;
  background: var(--bs-horse-brown);
  border-radius: 50px;
  width: 0;
  height: 0;
  font-size: 0;
  padding: 30px;
}
a.added_to_cart.wc-forward:before {
  content: "";
  display: block;
  width: 10px;
  height: 15px;
  border-right: 3px solid var(--bs-primary);
  border-bottom: 3px solid var(--bs-primary);
  transform: translate(-50%, -50%) rotate(45deg);
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  text-decoration: none;
}

.woocommerce-info::before {
  color: var(--bs-primary);
}

.woocommerce-info {
  border-top-color: var(--bs-primary);
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
  display: flex;
  align-items: center;
}

.woocommerce div.product :is(p.price, span.price) {
  color: var(--bs-primary);
  font-size: 1em;
}

:root {
  --wp-edit-button-primary: #764F24;
  --wp-edit-button-secondary: #F4F0EC;
}

/* Page commons */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 26px;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.alignleft {
  float: left;
  margin: 0 20px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 20px;
}

.aligncenter {
  margin: 0 auto 10px auto;
  display: block;
}

.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  margin-top: 50px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.post-content h2 {
  font-size: 36px;
}
.post-content h3 {
  font-size: 34px;
}
.post-content h4 {
  font-size: 32px;
}
.post-content h5 {
  font-size: 30px;
}
.post-content h6 {
  font-size: 28px;
}

@media (max-width: 991px) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    margin-top: 30px;
  }
  .post-content h2 {
    font-size: 23px;
  }
  .post-content h3 {
    font-size: 22px;
  }
  .post-content h4 {
    font-size: 21px;
  }
  .post-content h5 {
    font-size: 20px;
  }
  .post-content h6 {
    font-size: 19px;
  }
}
span.wpcf7-list-item {
  margin-left: 0;
}

span.wpcf7-list-item label {
  display: flex;
}

/* Hide Google reCaptcha after 1s */
@keyframes hide_after_1s {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}
.grecaptcha-badge {
  animation-name: hide_after_1s;
  animation-delay: 3s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/* Mini-cart */
.mini-cart-items-counter {
  position: absolute;
  left: 11px;
  top: 5px;
  font-size: 10px;
  border-radius: 100%;
  width: 16px;
  padding: 3px 0;
}

#footer .footer-logo {
  height: 120px;
}

@media screen and (max-width: 991px) {
  #footer .footer-logo {
    height: 60px;
  }
}
#footer .footer-partners {
  height: 90px;
}

@media screen and (max-width: 991px) {
  #footer .footer-partners {
    height: 55px;
  }
}