/*
Theme Name: M+S Theme
Author: Mues + Schrewe GmbH
Author URI: https://www.mues-schrewe.de/
Version: 1.0
Requires at least: 6.0
Text Domain: ms-theme
*/
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body.frontend,
.is-root-container {
  font-family: "Montserrat";
  font-weight: 500;
  hyphens: auto;
  line-height: 1.4;
}
body.frontend.no-transition,
.is-root-container.no-transition {
  transition: none !important;
}
body.frontend.no-transition *,
.is-root-container.no-transition * {
  transition: none !important;
}
body.frontend button,
body.frontend input,
body.frontend textarea,
body.frontend select,
.is-root-container button,
.is-root-container input,
.is-root-container textarea,
.is-root-container select {
  font-family: "Montserrat";
  font-weight: 500;
}
body.frontend a,
.is-root-container a {
  text-decoration: none;
  color: var(--wp--preset--color--turquoise);
  transition: opacity 150ms;
}
body.frontend a:hover,
.is-root-container a:hover {
  opacity: 0.75;
}
body.frontend h1, body.frontend h2, body.frontend h3, body.frontend h4, body.frontend h5, body.frontend h6,
.is-root-container h1,
.is-root-container h2,
.is-root-container h3,
.is-root-container h4,
.is-root-container h5,
.is-root-container h6 {
  font-family: "Allround Gothic Demi";
}
body.frontend h1,
.is-root-container h1 {
  font-size: 2em;
}
body.frontend h2,
.is-root-container h2 {
  font-size: 2em;
}
body.frontend h3,
.is-root-container h3 {
  font-size: 1.5em;
}
body.frontend h4,
.is-root-container h4 {
  font-size: 1.25em;
}
body.frontend h5,
.is-root-container h5 {
  font-size: 1em;
}
body.frontend h6,
.is-root-container h6 {
  font-size: 0.75em;
}
body.frontend .mt-2,
.is-root-container .mt-2 {
  margin-top: 2rem;
}
body.frontend .mb-2,
.is-root-container .mb-2 {
  margin-bottom: 2rem;
}

#ui-datepicker-div {
  display: none;
}

main,
.is-root-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main > p,
.is-root-container > p {
  margin-block-start: 0;
  margin-block-end: 0;
  max-width: var(--wp--custom--spacing--content-size);
  padding: 2rem;
}
main .wp-block,
.is-root-container .wp-block {
  max-width: none !important;
}
main .block,
.is-root-container .block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
main .block.alignwide .block-inner,
.is-root-container .block.alignwide .block-inner {
  max-width: var(--wp--custom--spacing--wide-size);
}
main .block.alignfull .block-inner,
.is-root-container .block.alignfull .block-inner {
  max-width: none;
}
main .block .block-inner,
.is-root-container .block .block-inner {
  width: 100%;
  max-width: var(--wp--custom--spacing--content-size);
  padding: 0 2rem;
}
main .custom-checkbox,
.is-root-container .custom-checkbox {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border: solid 0.12em var(--wp--preset--color--darkgrey);
  background: var(--wp--preset--color--white);
  flex-shrink: 0;
  cursor: pointer;
}
main .custom-checkbox > input,
.is-root-container .custom-checkbox > input {
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
main .custom-checkbox > input:checked + .icon,
.is-root-container .custom-checkbox > input:checked + .icon {
  opacity: 1;
}
main .custom-checkbox .icon,
.is-root-container .custom-checkbox .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  padding: 0.15rem;
}
main .custom-checkbox .icon > svg,
.is-root-container .custom-checkbox .icon > svg {
  width: 100%;
  height: 100%;
  fill: var(--wp--preset--color--generic);
}

body:not(.wp-admin) .animation-left-to-right {
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
}
body:not(.wp-admin) .animation-right-to-left {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}
body:not(.wp-admin) .animation-top-to-bottom {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
body:not(.wp-admin) .animation-bottom-to-top {
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}
body:not(.wp-admin) .animation-opacity {
  opacity: 0;
}
body:not(.wp-admin) .animation-scale {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}
body:not(.wp-admin) .animation-duration-0 {
  transition: 0ms;
}
body:not(.wp-admin) .animation-duration-150 {
  transition: 150ms;
}
body:not(.wp-admin) .animation-duration-300 {
  transition: 300ms;
}
body:not(.wp-admin) .animation-duration-450 {
  transition: 450ms;
}
body:not(.wp-admin) .animation-duration-600 {
  transition: 600ms;
}
body:not(.wp-admin) .animation-duration-750 {
  transition: 750ms;
}
body:not(.wp-admin) .animation-delay-0 {
  transition-delay: 0ms;
}
body:not(.wp-admin) .animation-delay-150 {
  transition-delay: 150ms;
}
body:not(.wp-admin) .animation-delay-300 {
  transition-delay: 300ms;
}
body:not(.wp-admin) .animation-delay-450 {
  transition-delay: 450ms;
}
body:not(.wp-admin) .animation-delay-600 {
  transition-delay: 600ms;
}
body:not(.wp-admin) .animation-delay-750 {
  transition-delay: 750ms;
}
body:not(.wp-admin) .visible .animation-left-to-right,
body:not(.wp-admin) .visible .animation-right-to-left {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
body:not(.wp-admin) .visible .animation-top-to-bottom,
body:not(.wp-admin) .visible .animation-bottom-to-top {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
body:not(.wp-admin) .visible .animation-opacity {
  opacity: 1;
}
body:not(.wp-admin) .visible .animation-scale {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}
.gallery.gallery-columns-1 .gallery-item {
  width: calc(100% / 1);
}
.gallery.gallery-columns-2 .gallery-item {
  width: calc(100% / 2);
}
.gallery.gallery-columns-3 .gallery-item {
  width: calc(100% / 3);
}
.gallery.gallery-columns-4 .gallery-item {
  width: calc(100% / 4);
}
.gallery.gallery-columns-5 .gallery-item {
  width: calc(100% / 5);
}
.gallery.gallery-columns-6 .gallery-item {
  width: calc(100% / 6);
}
.gallery.gallery-columns-7 .gallery-item {
  width: calc(100% / 7);
}
.gallery.gallery-columns-8 .gallery-item {
  width: calc(100% / 8);
}
.gallery.gallery-columns-9 .gallery-item {
  width: calc(100% / 9);
}
.gallery .gallery-item {
  margin: 0;
  padding: 1rem;
  cursor: pointer;
}
.gallery .gallery-item .gallery-icon {
  position: relative;
}
.gallery .gallery-item .gallery-icon::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
.gallery .gallery-item .gallery-icon img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.BorlabsCookie._brlbs-cb-default ._brlbs-content-blocker ._brlbs-default {
  background: var(--wp--preset--color--brightgrey);
}