/*
Theme Name: Schramm Showroom Wasserburg
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.1
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;
}