/*
Theme Name: Werft68
Theme URI: https://github.com/elementor/hello-theme/
Description: websplash | Agentur für Internet und Mediendesign
Author: websplash
Author URI: https://websplash.de/
Template: hello-elementor
Version: 1.7
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
*/

.elementor-widget-text-editor p:last-of-type,
.elementor-widget-theme-post-content p:last-of-type {
  /* to remove margin of last p in text widget */
  margin-bottom: 0;
}

.websplash input {
  /* to hide weird shadow on some iOS input fields */
  outline: 0 !important;
}

.websplash .elementor-field-option input[type="checkbox"],
.websplash .elementor-field-option input[type="radio"] {
  /* align fields middle */
  vertical-align: middle;
}

input[type="date"] {
  /* iOS datefield fix */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.websplash .elementor-field-option label {
  /* pointer cursor for labels of options (checkbox etc.) */
  cursor: pointer;
}

.websplash input[type="checkbox"] {
  /* fix iOS Bug if label is too long not to shrink the input */
  min-width: 20px;
}

.websplash .elementor-field-group .elementor-field-textual:focus {
  /* to not focus fields with border on hover */
  box-shadow: none;
  outline: 0;
}

/* hover effect for icons in buttons */
.elementor-widget-button a.elementor-button .elementor-button-icon {
  -webkit-transition: left 0.2s ease-in;
  -moz-transition: left 0.2s ease-in;
  -o-transition: left 0.2s ease-in;
  -ms-transition: left 0.2s ease-in;
  transition: left 0.2s ease-in;
  left: 0;
  position: relative;
}
.elementor-widget-button a.elementor-button:hover .elementor-align-icon-right {
  left: 10px;
}

/* align the acceptence form checkbox in a way, that it stay left, even the label text is multiple lines long */
.elementor-field-type-acceptance .elementor-field-option {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
}
.elementor-field-type-acceptance .elementor-field-option input {
  top: 7px;
  position: relative;
}
.elementor-field-type-acceptance .elementor-field-option label {
  padding-left: 10px;
}

.elementor-select-wrapper select:focus {
  box-shadow: none;
}

.elementor-select-wrapper select option {
  color: var(--e-global-color-text);
}

/* hide recaptcha badge if active */
.grecaptcha-badge {
  visibility: hidden;
}

.elementor-video {
  /* fix height issue, after video has been unblocked by borlabs cookie banner */
  height: 100%;
}

/* style pw form on page pw protection at least a little bit nicer per default */
body.elementor-page form.post-password-form {
  display: flex;
  padding: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  height: 100vh;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #eee;
}
/* main overflow for letters and numbers */
.websplash main {
  overflow: hidden;
}
.websplash main .elementor-widget-heading,
.websplash main .elementor-widget-image,
.websplash main .elementor-widget-text-editor {
  position: relative;
  z-index: 10;
}
/* navigation */
.main-navigation .elementor-button {
  position: relative;
  z-index: 0;
}
.navigation-header div.trenner {
  background: #fff;
  width: 4px;
  padding: 8px 0;
}
.navigation-footer a:hover {
  text-decoration: underline;
}
.navigation-footer a.elementor-social-icon:hover {
  scale: 1.1;
}
.page-id-2 .navigation-header,
.page-id-2 .navigation-footer {
  background: var(--e-global-color-08a9b7c) !important;
}
.page-id-190 .navigation-header,
.page-id-190 .navigation-footer {
  background: var(--e-global-color-fd6ebcf) !important;
}
.page-id-192 .navigation-header,
.page-id-192 .navigation-footer {
  background: var(--e-global-color-56186d4) !important;
}
.page-id-2 .navigation-footer .elementor-social-icon svg {
  fill: var(--e-global-color-08a9b7c) !important;
}
.page-id-190 .navigation-footer .elementor-social-icon svg {
  fill: var(--e-global-color-fd6ebcf) !important;
}
.page-id-192 .navigation-footer .elementor-social-icon svg {
  fill: var(--e-global-color-56186d4) !important;
}
.e-off-canvas[aria-label="Menu"] {
  z-index: 2 !important;
}
.e-off-canvas .navigation-tile a {
  display: block;
  width: 100% !important;
  height: 121px;
}
.e-off-canvas .navigation-tile a > img {
  transition-duration: 0.3s;
  transition-property: transform;
}
.e-off-canvas .navigation-tile:hover a > img {
  transform: scale(1.1);
}
/* usercentrics */

.uc-embedding-wrapper button {
  height: auto;
  width: 100%;
  font-size: 24px;
  padding: 0.25em 1em;
  margin: 10px 0px;
  margin-bottom: 0px;
  color: var(--e-global-color-61323a3);
  background-color: var(--e-global-color-08a9b7c) !important;
  border-radius: 25px !important;
}

.uc-embedding-wrapper button:hover {
  color: var(--e-global-color-primary) !important;
}

/* navigation */
.e-off-canvas__content:has(.off-content) {
  position: absolute;
  top: 121px;
}

.nav-grid {
  display: inline-grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-grid span {
  transition: all 0.2s;
}

.nav-grid span .rect {
  background-color: #ffffff;
}

.rect {
  display: block;
  height: 4px;
  transform-origin: center;
  width: 4px;
}

.main-navigation .elementor-active .rect,
.main-navigation:hover .rect,
.offcanvas.showing ~ .menu-toggle .rect,
.offcanvas.show ~ .menu-toggle .rect {
  transform: rotate(45deg);
}
.main-navigation .elementor-active .rect1,
.main-navigation:hover .rect1,
.offcanvas.showing ~ .menu-toggle .rect1,
.offcanvas.show ~ .menu-toggle .rect1 {
  transform: translateX(100%) translateY(100%);
}
.main-navigation .elementor-active .rect2,
.main-navigation:hover .rect2,
.offcanvas.showing ~ .menu-toggle .rect2,
.offcanvas.show ~ .menu-toggle .rect2 {
  transform: translateY(-125%);
}
.main-navigation .elementor-active .rect3,
.main-navigation:hover .rect3,
.offcanvas.showing ~ .menu-toggle .rect3,
.offcanvas.show ~ .menu-toggle .rect3 {
  transform: translateX(-100%) translateY(100%);
}
.main-navigation .elementor-active .rect4,
.main-navigation:hover .rect4,
.offcanvas.showing ~ .menu-toggle .rect4,
.offcanvas.show ~ .menu-toggle .rect4 {
  transform: translateX(-115%);
}
.main-navigation .elementor-active .rect6,
.main-navigation:hover .rect6,
.offcanvas.showing ~ .menu-toggle .rect6,
.offcanvas.show ~ .menu-toggle .rect6 {
  transform: translateX(115%);
}
.main-navigation .elementor-active .rect7,
.main-navigation:hover .rect7,
.offcanvas.showing ~ .menu-toggle .rect7,
.offcanvas.show ~ .menu-toggle .rect7 {
  transform: translateX(100%) translateY(-100%);
}
.main-navigation .elementor-active .rect8,
.main-navigation:hover .rect8,
.offcanvas.showing ~ .menu-toggle .rect8,
.offcanvas.show ~ .menu-toggle .rect8 {
  transform: translateY(125%);
}
.main-navigation .elementor-active .rect9,
.main-navigation:hover .rect9,
.offcanvas.showing ~ .menu-toggle .rect9,
.offcanvas.show ~ .menu-toggle .rect9 {
  transform: translateX(-100%) translateY(-100%);
}

@media (hover: none) {
  .main-navigation:hover .nav-grid span {
    transform: unset;
  }
}

/* free space tables mobile */
@media screen and (max-width: 767px) {
  .table-head .e-child .elementor-widget-heading {
    transform-origin: top left;
    transform: translateX(-10px) translateY(0px) rotate(325deg);
  }
  .table {
    padding: 60px 0 0 0 !important;
  }
}

#usercentrics-root {
  z-index: 9999999999;
  position: relative;
}
