/*
Theme Name: HWK - Tag des Handwerks 2022
Theme URI: https://achtbit.media/
Author: Achtbit Media GmbH
Author URI: https://achtbit.media/
Description: WordPress-Theme für die Seite Tag des Handwerks-Seiten der Handwerkskammern
Version: 1.0
Text Domain: hwk_2022
*/

:root {
    --yellow: #F0CC46;
    --yellow-hover: #ead284;
    --red: #E55672;
    --red-hover: #e5778c;
    --green: #72BD9E;
    --green-hover: #97ce97;
    --disabled-grey: #9f9f9f;
}

* {
    font-family: 'Figtree', sans-serif;
}

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    counter-reset: section;
}

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

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

h3 {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 900;
}

h4 {
    text-transform: uppercase;
    margin: 0 0 5px;
}

a {
    color: var(--yellow);
    font-weight: bold;
    text-decoration: none;
}

p {
    hyphens: auto;
    -webkit-hyphens: auto;
}

p,
a,
table,
.button,
footer,
label,
input,
select,
textarea,
.tooltip,
.font-size,
.coming-soon-circle,
.multiselect-input-item,
.time-input-wrapper,
.day-input-wrapper,
.day-input-delete,
.success-area,
.form-field-error-message,
.form-field-label-constraint {
    font-size: 18px;
}

.button {
    padding: 10px 15px;
    display: inline-block;
    background-color: var(--green);
    color: black;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    transition: background-color .3s;
    cursor: pointer;
}

.hwk-row-wrapper:nth-child(odd) .button {
    background-color: var(--red);
}

.button-yellow {
    background-color: var(--yellow);
}

.button:hover {
    background-color: var(--green-hover);
}

.hwk-row-wrapper:nth-child(odd) .button:hover {
    background-color: var(--red-hover);
}

.button-yellow:hover {
    background-color: var(--yellow-hover);
}

.outer-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

header {
    flex: 0;
    padding: 60px;
}

.header-logo img {
    width: 150px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style-type: none;
    float: left;
    margin-right: 45px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li ul {
    display: none;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: normal;
}

.current-menu-item a,
.current-page-ancestor a {
    font-weight: bold;
}

.nav-social a {
    display: inline-block;
    text-decoration: none;
    color: black;
    font-size: 25px;
}

.nav-social a:not(:last-child) {
    margin-right: 20px;
}

.header-cnt {
    margin-top: 60px;
}

.header-cnt h1 {
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    font-size: 50px;
    font-weight: 900;
}

.header-cnt h2 {
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
}

.header-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top: 60px;
}

.header-button {
    width: 200px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--red);
    padding: 10px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color .3s;
    border-radius: 3px;
    position: relative;
}

.header-button:hover {
    background-color: var(--red-hover);
}

.header-button.green {
    background-color: var(--green);
}

.header-button.green:hover {
    background-color: var(--green-hover);
}

.header-button:not(:last-child) {
    margin-right: 15px;
}

.coming-soon-circle {
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(50%, -50%) rotate(-20deg);
    background-color: var(--yellow);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    text-transform: none;
    text-align: center;
}

.header-cnt-inner {
    display: flex;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: stretch;
}

.header-image {
    width: 300px;
    height: 300px;
    margin-left: 60px;
    flex-grow: 0;
    flex-shrink: 0;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.header-title {
    flex-grow: 1;
    flex-shrink: 1;
}

.header-title h1 {
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    font-size: 45px;
}

.wrapper {
    flex: 1;
}

footer {
    flex: 0;
    background-color: black;
    color: white;
    padding: 30px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: normal;
}

.footer-wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-upper {
    display: flex;
    align-items: center;
    justify-content: stretch;
    padding-bottom: 30px;
    border-bottom: 1px solid #3f3f3f;
    margin-bottom: 30px;
}

.footer-logo {
    flex-shrink: 0;
    flex-grow: 0;
    width: 90px;
}

.footer-social {
    flex-shrink: 1;
    flex-grow: 1;
    margin: 0 60px;
}

.footer-social a {
    font-size: 30px;
}

.footer-social a:not(:last-child) {
    margin-right: 20px;
}

.footer-address {
    flex-grow: 0;
    text-align: right;
}

.footer-partners img {
    height: 50px;
    margin-right: 20px;
    vertical-align: top;
}

.footer-partners .footer-logo-handwerk-bayern {
    height: 45px;
}

.footer-partners img:last-child {
    margin-right: 0;
}

.footer-legal {
    overflow: hidden;
}

.footer-lower {
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
}

.footer-contact {
    text-align: right;
    margin-bottom: 30px;
}

.footer-contact p {
    hyphens: none;
    -webkit-hyphens: none;
}

.footer-info {
    text-align: right;
}

.footer-legal a {
    display: block;
    float: right;
    margin-left: 30px;
}

.panel-grid {
    margin-bottom: 0 !important;
}

.hwk-row-wrapper {
    padding: 60px 30px;
    position: relative;
}

.hwk-row-wrapper:nth-child(odd) {
    background-color: var(--green);
    padding: 120px 30px;
}

.hwk-row-wrapper:nth-child(odd)::before {
    content: "";
    background-image: url("./inc/img/top.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
}

.hwk-row-wrapper:nth-child(odd)::after {
    content: "";
    background-image: url("./inc/img/bottom.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
}

.hwk-row-wrapper-inner {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hwk-row-wrapper:last-child {
    padding-bottom: 80px;
}

.hwk-row-wrapper:last-child::after {
    display: none;
}

.hwk-row-wrapper:first-child .hwk-row-wrapper-inner::before {
    content: "";
    background-image: url("./inc/img/firstgreen_left.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
}

.hwk-row-wrapper:first-child .hwk-row-wrapper-inner::after {
    content: "";
    background-image: url("./inc/img/firstgreen_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    top: 10%;
    right: 0;
    width: 100%;
    height: 80%;
}

.panel-grid {
    position: relative;
    z-index: 100;
}

.hwk-two-images {
    display: flex;
    justify-content: stretch;
    align-items: center;
    height: 200px;
}

.hwk-two-images img {
    flex-grow: 1;
    flex-shrink: 1;
    display: block;
    min-width: 0;
}

.hwk-two-images img:first-child {
    margin-right: 15px;
    transform: translateY(-23%);
}

.hwk-two-images img:last-child {
    margin-left: 15px;
    transform: translateY(10%);
}

.hwk-image {
    width: 100%;
}

.hwk-heading-button {
    position: relative;
}

.hwk-heading-button-title-inner-wrapper {
    position: relative;
}

.hwk-heading-button .coming-soon-circle {
    top: 0;
    left: unset;
    right: 0;
    bottom: unset;
    transform: translate(110%, -50%) rotate(-20deg);
}

.hwk-heading-button-text {
    max-width: 80%;
    margin-bottom: 30px;
}

.hwk-heading-button-text:empty {
    margin-bottom: 0;
}

.hwk-counter-text {
    display: flex;
    justify-content: stretch;
    align-items: center;
}

.hwk-counter-text-cnt {
    flex-grow: 1;
}

.hwk-counter-text-count {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--red);
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 900;
    margin-right: 30px;
}

.hwk-counter-text h3 {
    margin-bottom: 15px;
}

.widget_hwk_faq {
    margin-bottom: 0 !important;
}

.widget_hwk_faq:not(:last-child) .hwk-faq-wrapper {
    border-bottom: 1px solid black;
}

.hwk-faq-heading {
    font-weight: bold;
    font-size: 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    cursor: pointer;
    padding-right: 50px;
}

.hwk-faq-cnt {
    height: 0;
    margin-bottom: 0;
    transition: margin-bottom .5s, height .5s;
    overflow: hidden;
}

.hwk-faq-wrapper.open .hwk-faq-cnt {
    margin-bottom: 20px;
}

.hwk-faq-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 45px;
    transition: transform .5s;
}

.hwk-faq-wrapper.open .hwk-faq-arrow {
    transform: translateY(-50%) rotate(90deg);
}

.mobile-nav-button, .mobile-menu {
    display: none;
}

.widget_hwk_faq_heading {
    margin-bottom: 30px !important;
}

.add-offer-form {
    margin-top: 60px;
}

.form-area, .success-area {
    width: 100%;
    border: 2px solid var(--green);
    padding: 60px 30px;
    margin-left: -32px;
    position: relative;
    border-radius: 5px;
}

.success-area {
    padding: 30px;
    margin-top: 90px;
}

.success-area.error {
    border: 2px solid var(--red);
}

.success-area.hidden {
    display: none;
}

.form-area:not(:last-child) {
    margin-bottom: 90px;
}

.form-area-heading {
    background-color: white;
    position: absolute;
    top: -1px;
    left: 15px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.form-area-button-wrapper {
    background-color: white;
    position: absolute;
    bottom: -1px;
    left: 15px;
    transform: translateY(50%);
    padding: 0 15px;
}

.form-area-counter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--green);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 25px;
    margin-right: 15px;
}

.form-area-title {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

.form-area.disabled {
    border: 2px solid var(--disabled-grey);
    cursor: not-allowed;
}

.form-area.disabled * {
    pointer-events: none;
}

.form-area.disabled .form-area-counter {
    background-color: var(--disabled-grey);
}

.form-area.disabled .form-area-button {
    background-color: var(--disabled-grey);
    cursor: not-allowed;
    pointer-events: all;
}

.form-field {
    display: flex;
    justify-content: stretch;
    align-items: center;
}

.form-field:not(:last-child) {
    margin-bottom: 20px;
}

.form-field-divided:not(:first-child) {
    margin-top: 80px;
}

.form-field-label {
    width: 325px;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
}

.form-field-input {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    position: relative;
}

.form-field-input-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-field-input input,
.form-field-input select,
.form-field-input textarea {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #CAD9E5;
    background-color: #F0F5F9;
    padding: 10px;
    border-radius: 3px;
    outline: none;
}

.textarea-counter {
    font-size: 12px;
    text-align: right;
}

.form-area.disabled .form-field-input input,
.form-area.disabled .form-field-input select,
.form-area.disabled .form-field-input textarea,
.form-field-input input:disabled {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

/*noinspection CssInvalidPseudoSelector*/
.form-field-input input:disabled,
.form-field-input input:disabled::-webkit-datetime-edit {
    cursor: not-allowed;
}

.form-area.disabled .form-field-input input,
.form-area.disabled .form-field-input input::placeholder,
.form-area.disabled .form-field-input textarea::placeholder,
.form-area.disabled .form-field-input .textarea-counter,
.time-input-wrapper div,
.time-input-wrapper-duration div,
.form-area.disabled .form-field-input select {
    color: var(--disabled-grey) !important;
}

.form-field-input select {
    cursor: pointer;
}

.form-field-input textarea {
    min-height: 200px;
    min-width: 100%;
    max-width: 100%;
}

.form-field-input .textarea-time {
    min-height: 100px;
}

.form-field-input .select-wrapper {
    position: relative;
}

.form-field-input .select-wrapper::after {
    content: "\f0d7";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: bold;
    pointer-events: none;
}

.form-field.mandatory .form-field-label label:after,
.form-privacy-wrapper.mandatory label:after {
    content: "*";
    color: var(--red);
}

.form-area.disabled .form-field.mandatory .form-field-label label:after,
.form-area.disabled .form-privacy-wrapper.mandatory label:after {
    color: var(--disabled-grey);
}

.form-field-label-constraint {
    color: var(--red);
}

.form-area.disabled .form-field-label-constraint {
    color: var(--disabled-grey);
}

.form-area.disabled label {
    color: var(--disabled-grey);
}

.button-addOffer-addDate {
    margin-top: 30px;
}

.form-privacy-wrapper {
    position: relative;
    padding-left: 30px;
}

.form-privacy-wrapper:not(:last-child) {
    margin-bottom: 20px;
}

.form-privacy-wrapper input, input[type="checkbox"]:not(.brlbs-cmpnt-dialog-box input) {
    position: absolute;
    left: 0;
    top: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    border: 0;
    cursor: pointer;
    border: none !important;
    background-color: unset !important;
}

.form-privacy-wrapper input::before, input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    padding-top: 1px;
    box-sizing: border-box;
    border: 1px solid #cad9e5;
    background-color: #F0F5F9;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.form-area.disabled .form-privacy-wrapper input::before,
.form-area.disabled input[type="checkbox"]::before {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

.form-privacy-wrapper input:checked::before, input[type="checkbox"]:checked::before {
    content: "X";
}

.form-privacy-wrapper label, .checkbox-label {
    cursor: pointer;
}

.checkbox-label {
    margin-left: 30px;
}

.form-field-input input[type=file] {
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    border: none;
}

input[type="radio"] {
    position: absolute;
    left: 0;
    top: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    border: 0;
    cursor: pointer;
    border: none !important;
    background-color: unset !important;
}

input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    padding-top: 1px;
    box-sizing: border-box;
    border: 1px solid #cad9e5;
    background-color: #F0F5F9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

input[type="radio"]::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    background-color: black;
    border-radius: 50%;
    display: none;
}

.radio-label {
    padding-left: 30px;
    position: relative;
    margin-right: 20px;
    cursor: pointer;
    display: inline-block;
}

.form-area.disabled input[type="radio"]::before {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

input[type="radio"]:checked::after {
    display: block;
}

label.file-select {
    background-color: #F0F5F9;
    border: 1px solid #cad9e5;
    padding: 10px;
    margin-right: 10px;
}

label.file-select:hover {
    background-color: #cad9e5;
}

.form-area.disabled label.file-select {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

.form-area.disabled a {
    color: var(--disabled-grey) !important;
}

.address-input-street-hnr,
.address-input-additional {
    margin-bottom: 20px;
}

.address-input-street-hnr,
.address-input-postalCode-city {
    display: flex;
}

.address-input-street-hnr input:first-child {
    width: 70%;
    box-sizing: border-box;
}

.address-input-street-hnr input:last-child {
    width: calc(30% - 20px);
    margin-left: 20px;
    box-sizing: border-box;
}

.address-input-postalCode-city input:first-child {
    width: calc(30% - 20px);
    box-sizing: border-box;
}

.address-input-postalCode-city input:last-child {
    width: 70%;
    box-sizing: border-box;
    margin-left: 20px;
}

.form-field.hide,
.form-privacy-wrapper.hide {
    overflow: hidden;
    height: 0;
    margin-top: -20px;
}

.multiselect-input-items:not(:empty) {
    margin-top: 10px;
}

.multiselect-input-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: -20px;
}

.multiselect-input-item {
    border: 1px solid var(--green);
    border-radius: 3px;
    margin-top: 10px;
    position: relative;
    padding: 10px 35px 10px 10px;
    margin-right: 20px;
}

.multiselect-input-item-delete {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.time-input-wrapper {
    display: flex;
    justify-content: stretch;
    align-items: center;
}

.time-input-wrapper div {
    margin: 0 20px;
    flex-shrink: 0;
    flex-grow: 0;
}

.time-input-wrapper input {
    flex-shrink: 1;
    flex-grow: 1;
}

.time-input-wrapper-duration {
    margin-top: 20px;
    display: flex;
    justify-content: stretch;
    align-items: center;
}

.time-input-wrapper-duration div {
    margin-left: 20px;
    flex-shrink: 0;
    flex-grow: 0;
}

.time-input-wrapper-duration input {
    flex-shrink: 1;
    flex-grow: 1;
    max-width: 100px;
}

.day-input-wrapper {
    background-color: #F0F5F9;
    border: 1px solid #cad9e5;
    border-radius: 3px;
}

.form-area.disabled .day-input-wrapper * {
    color: var(--disabled-grey) !important;
}

.form-area.disabled .day-input-wrapper {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

.day-input-cnt {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 30px 30px;
}

.day-input-header {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

.day-input-nav {
    flex-grow: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.day-input-month {
    flex-grow: 1;
    flex-shrink: 1;
    text-align: center;
}

.day-input-day {
    width: 40px;
    height: 40px;
    margin-right: calc(16.6665% - 47px);
    border-radius: 50%;
    background-color: #F0F5F9;
    border: 1px solid #cad9e5;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-top: 10px;
    cursor: pointer;
}

.day-input-day:nth-child(7n) {
    margin-right: 0;
}

.day-input-day:nth-child(-n+7) {
    margin-top: 0;
}

.form-area.disabled .day-input-day {
    background-color: #eeeeee;
    border: 1px solid #d2d2d2;
}

.day-input-day-hidden {
    opacity: 0;
    visibility: hidden;
    cursor: default;
}

.day-input-day-disabled {
    background-color: white !important;
    color: darkgrey !important;
    cursor: default !important;
}

.day-input-day-selected {
    background-color: var(--green);
}

.day-input-result {
    padding: 0 30px 30px;
}

.day-input-delete {
    cursor: pointer;
    position: absolute;
    top: calc(100% - 20px);
    left: 0;
}

.form-field-divided:first-child .day-input-delete {
    display: none;
}

.form-field-divided:not(:first-child) .label-with-delete {
    margin-bottom: 20px;
    display: inline-block;
}

div.hp {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.file-label.error {
    color: var(--red);
}

#addOffer-submit {
    position: relative;
}

#addOffer-submit .button-waiting-content {
    display: none;
}

#addOffer-submit.waiting .button-default-content {
    opacity: 0;
    visibility: hidden;
}

#addOffer-submit.waiting .button-waiting-content {
    display: block;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#booking-submit {
    position: relative;
}

#booking-submit .button-waiting-content {
    display: none;
}

#booking-submit.waiting .button-default-content {
    opacity: 0;
    visibility: hidden;
}

#booking-submit.waiting .button-waiting-content {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
}

.tooltip {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-left: 10px;
    flex-shrink: 0;
}

.tooltip-content {
    position: absolute;
    top: 80%;
    left: 80%;
    width: 200px;
    background-color: var(--green);
    padding: 10px;
    z-index: 50000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.form-field-label-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.form-area.disabled .button-addOffer-addDate,
.form-area.disabled .tooltip {
    background-color: var(--disabled-grey);
}

.form-field.invalid div:not(.address-input-wrapper) input,
.form-field.invalid textarea,
.form-field.invalid .day-input-wrapper,
.form-field.invalid select {
    border: 1px solid var(--red);
}

.form-field.invalid div.address-input-wrapper input {
    border: 1px solid #CAD9E5;
}

.form-field.invalid div.address-input-wrapper input.invalid {
    border: 1px solid var(--red);
}

button:disabled {
    cursor: not-allowed;
    background-color: var(--disabled-grey) !important;
}

.form-field-error-message {
    color: var(--red);
    padding-top: 5px;
    display: none;
}

.form-field.invalid .form-field-error-message,
.form-privacy-wrapper.invalid .form-field-error-message {
    display: block;
}

.booking-header {
    display: flex;
    max-width: 1000px;
    padding: 0 30px;
    margin-left: auto;
    margin-right: auto;
    justify-content: stretch;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.booking-header-image {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 30px;
    width: 300px;
    height: auto !important;
}

.booking-header-image img {
    border-radius: 5px;
    width: 100%;
}

.booking-header-info {
    flex-grow: 1;
    flex-shrink: 1;
}

.booking-header .header-cnt h2 {
    text-align: left;
}

.booking-header-info {
    margin-top: 0 !important;
}

.booking-header-info table {
    margin-top: 30px;
}

.booking-header-info table td:first-child {
    font-weight: bold;
    padding-right: 10px;
}

.button-container {
    margin-top: 30px;
    overflow: hidden;
}

.button-container .button {
    display: block;
    float: left;
}

.button-container .button:not(:last-child) {
    margin-right: 15px;
}

.booking h3:not(:first-child) {
    margin-top: 60px;
}

.booking-header-arrow {
    position: absolute;
    top: 0;
    left: -150px;
}

.booking-header-arrow a {
    font-size: 75px;
    color: black;
}

#booking-submit {
    width: 200px;
}

.booking-important {
    color: var(--red);
    font-weight: bold;
    margin-top: 30px;
}

.form-area.disabled .booking-important {
    color: var(--disabled-grey);
}

.search-page-heading-wrapper {
    display: flex;
    align-items: center;
    justify-content: stretch;
    margin-bottom: 30px;
}

.search-page-heading-wrapper h3 {
    flex-grow: 1;
    flex-shrink: 0;
    margin-bottom: 0;
}

.search-page-heading-wrapper .search-page-sort {
    flex-grow: 0;
    flex-shrink: 1;
}

.search-page-sort .select-wrapper {
    float: left;
    margin-left: 10px;
}

.select-wrapper-maxPerPage {
    width: 75px;
}

.select-wrapper-dir {
    width: 145px;
}


.select-wrapper-order {
    width: 151px;
}

.offer:not(:last-child) {
    margin-bottom: 30px;
}

.offer {
    border: 2px solid var(--green);
    padding: 30px;
    width: 100%;
    margin-left: -32px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: stretch;
}

.offer-image {
    width: 300px;
    height: 200px;
    margin-right: 30px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px;
    flex-grow: 0;
    flex-shrink: 0;
}

.offer-cnt {
    flex-grow: 1;
    flex-shrink: 1;
    position: relative;
}

.offer-button {
    position: absolute;
    bottom: 0;
    right: 0;
}

.offer-cnt table {
    border-spacing: 0;
}

.offer-cnt table * {
    vertical-align: top;
}

.offer-cnt table td:first-child {
    font-weight: bold;
    padding-right: 10px;
}

.offer-cnt h3 {
    font-size: 23px;
    margin-bottom: 0;
}

.offer-cnt h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.offer-cnt span.full {
    color: var(--red);
}

.pagination-button.current {
    background-color: black;
    color: white;
}

.pagination-button.disabled {
    background-color: var(--green) !important;
    cursor: auto;
}

.search-sub-fields {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}

.search-sub-fields input {
    width: 100%;
}

.search-sub-fields input[type="date"] {
    box-sizing: content-box;
    /*noinspection CssNonIntegerLengthInPixels*/
    height: 21.5px;
}

input[type=date]::-webkit-calendar-picker-indicator {
    display: none;
}

/*noinspection CssInvalidPseudoSelector*/
input[type=date]::-webkit-datetime-edit {
    cursor: text;
}

.search-sub-fields .field-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.search-sub-fields select {
    height: 100%;
    padding-right: 30px;
    text-overflow: ellipsis;
}

.search-sub-fields {
    margin-bottom: 30px;
}

.search-submit {
    text-align: center;
}

.search-map {
    width: 100%;
    border-radius: 5px;
    padding-bottom: 56.25%;
    margin-top: 60px;
    margin-bottom: -180px;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.search-map-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.hwk-row-wrapper-search-margin {
    margin-top: 60px;
}

.search-fields-upper {
    margin-bottom: 30px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
}

.search-field-upper {
    width: 50%;
}

.search-main-field {
    position: relative;
}

.search-wrapper input {
    padding: 20px 20px 20px 60px;
}

.search-main-field::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    font-size: 24px;
    pointer-events: none;
}

.search-count-field::before {
    content: "\e533";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    font-size: 24px;
    pointer-events: none;
}

.search-date-field .fa-calendar {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: 400;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    font-size: 24px;
    cursor: pointer;
}

.search-perimeter-field {
    position: relative;
}

.search-perimeter-field::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    font-size: 24px;
    pointer-events: none;
}

.search-perimeter-field i {
    font-family: "Font Awesome 5 Free", sans-serif;
    font-weight: bold;
    font-style: normal;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 140px;
    font-size: 24px;
    cursor: pointer;
}

.search-field-heading h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.search-perimeter-field input {
    width: calc(100% - 125px);
    border-right: 1px solid #CAD9E5;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-right: 40px;
}

.search-sub-field {
    width: 100%;
}

.form-field-input .search-select-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 125px;
    height: 100%;
}

.form-field-input .search-select-wrapper select {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100%;
    padding: 20px;
}

.popup-inner {
    display: none;
    margin-top: 40px;
    padding-bottom: 60px;
}

.popup-inner.open {
    display: block;
}

.popup-navigation {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 18px;
    width: 100%;
    text-align: center;
    color: var(--green);
    font-weight: bold;
}

.popup-navigation i {
    padding: 0 10px;
    cursor: pointer;
}

.popup-navigation i.disabled {
    color: grey;
    cursor: not-allowed;
}

.leaflet-popup-content-wrapper h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.leaflet-popup-content-wrapper h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.leaflet-popup-content-wrapper table {
    font-size: 14px;
}

.leaflet-popup-content-wrapper td:first-child {
    font-size: 20px;
    padding-right: 10px;
    text-align: center;
}

.leaflet-popup-content-wrapper tr:not(:first-child) {
    padding-top: 5px;
}

.leaflet-popup-content {
    position: relative;
    min-width: 300px;
}

.leaflet-popup-content-wrapper .button {
    color: black;
    background-color: var(--green) !important;
    position: absolute;
    bottom: 10px;
    right: 0;
    width: calc(50% - 3px);
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
    padding: 0;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaflet-popup-content-wrapper .button-secondary {
    background-color: white !important;
    border: 2px solid var(--green);
    right: unset;
    left: 0;
    transition: background-color .3s, border .3s;
}

.leaflet-popup-content-wrapper a.button-secondary:hover {
    background-color: var(--green) !important;
}

.leaflet-popup-content-wrapper .button:hover {
    background-color: var(--green-hover) !important;
}

.leaflet-popup-close-button * {
    font: 16px/24px Tahoma, Verdana, sans-serif;
}

.search-map .BorlabsCookie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-map .BorlabsCookie ._brlbs-content-blocker {
    width: 100%;
    height: 100%;
}

.search-map .BorlabsCookie ._brlbs-default {
    width: 100%;
    height: 100%;
    margin-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.search-map .BorlabsCookie + span {
    position: absolute;
    width: 100%;
    bottom: 30px;
    color: black !important;
    background-color: var(--red) !important;
}

.search-map > span {
    position: absolute;
    width: 100%;
    bottom: 30px;
    color: black !important;
    background-color: var(--red) !important;
    z-index: 9999;
}

.optional-media-image-current-container {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.optional-media-image-current {
    display: block;
    width: 100%;
}

.optional-media-image-current-remove {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--green);
    opacity: 0;
    transition: opacity .3s;
    cursor: pointer;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.optional-media-image-current-remove:hover {
    opacity: .8;
}

.time-count::after {
    counter-increment: section;
    content: counter(section);
}

.leaflet-control-attribution svg {
    display: none !important;
}

.select-radius-mobile-text {
    display: none;
}

.add-offer-phone-publish {
    position: relative;
    display: block;
    padding-left: 30px;
    margin-top: 15px;
    cursor: pointer;
}

h3 a {
    font-size: unset;
}

.offer-short-mail-text {
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: bold;
    margin-top: -15px;
    display: block;
}

.form-area-special {
    padding-top: 30px;
    margin-bottom: 0 !important;
}

#shortMail-submit .button-default-content {
    display: block;
}

#shortMail-submit .button-waiting-content {
    display: none;
}

#shortMail-submit.waiting .button-default-content {
    display: none;
}

#shortMail-submit.waiting .button-waiting-content {
    display: block;
}

.search-map .brlbs-cmpnt-cb-preset-a {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.search-map .brlbs-cmpnt-container {
    position: absolute;
    width: 100% !important;
}

@media (max-width: 1600px) {
    .booking-header-arrow {
        position: absolute;
        top: 0;
        left: -75px;
    }

    .booking-header-arrow a {
        font-size: 50px;
        color: black;
    }
}

@media (max-width: 1350px) {
    .booking-header {
        padding-top: 80px;
    }

    .booking-header-arrow {
        position: absolute;
        top: -20px;
        left: 30px;
    }

    .booking-header-arrow a {
        font-size: 50px;
        color: black;
    }
}

@media (max-width: 1120px) {
    .form-area {
        margin-left: -17px;
        padding: 45px 15px;
    }

    .success-area {
        margin-left: -17px;
        padding: 15px;
    }

    .offer {
        margin-left: -17px;
        padding: 15px;
    }

    .offer-short-mail-text {
        margin-bottom: 15px;
    }

    .form-area-special {
        padding-top: 15px;
    }
}

@media (max-width: 1000px) {
    .nav-wrapper {
        justify-content: center;
        position: relative;
    }

    .nav-wrapper nav, .nav-wrapper .nav-social {
        display: none;
    }

    .mobile-nav-button {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .mobile-nav-button .bars {
        width: 30px;
        height: 2px;
        background-color: black;
        transition: transform .5s, opacity .5s, visibility .5s;
    }

    .mobile-nav-button .bars:not(:last-child) {
        margin-bottom: 7px;
    }

    .mobile-nav-button.open .bar1 {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-nav-button.open .bar2 {
        opacity: 0;
        visibility: hidden;
    }

    .mobile-nav-button.open .bar3 {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-menu {
        display: block;
        height: 0;
        overflow: hidden;
        transition: height .5s;
    }

    .mobile-menu a {
        color: black;
        font-weight: normal;
    }

    .current-menu-item a,
    .current-page-ancestor a {
        font-weight: bold;
    }

    .mobile-nav ul {
        margin: 0;
        padding: 0;
    }

    .mobile-menu ul li {
        list-style-type: none;
        display: block;
        text-align: center;
        padding: 15px;
    }

    .mobile-menu ul li:not(:last-child) {
        border-bottom: 1px solid #b4b4b4;
    }

    .mobile-social {
        text-align: center;
        margin: 45px 0;
    }

    .mobile-social a {
        font-size: 30px;
        display: inline-block;
    }

    .mobile-social a:not(:last-child) {
        margin-right: 30px;
    }

    .header-cnt {
        margin-top: 45px;
    }

    .header-buttons {
        margin-top: 45px;
    }

    .header-title h1 {
        font-size: 40px;
    }

    .header-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 920px) {
    .offer {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .offer-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .offer-cnt h4 {
        margin-bottom: 15px;
    }

    .offer-button {
        position: static;
        top: unset;
        left: unset;
        right: unset;
        bottom: unset;
        margin-top: 20px;
    }
}

@media (max-width: 830px) {
    .header-cnt h1 {
        font-size: 40px;
    }

    .header-cnt h2 {
        font-size: 27px;
    }

    .header-cnt-inner, .booking-header {
        flex-direction: column;
    }

    .header-image {
        margin-left: 0;
        margin-top: 45px;
        width: 300px;
        height: 300px;
    }

    body:not(.home) header {
        padding-bottom: 30px;
    }

    .footer-upper {
        flex-wrap: wrap;
    }

    .footer-social {
        margin: 0;
        width: calc(100% - 90px);
        text-align: right;
    }

    .footer-address {
        margin-top: 30px;
        text-align: left;
    }

    .footer-lower {
        display: block;
    }

    .footer-contact {
        text-align: left;
        margin: 30px 0;
    }

    .footer-info {
        text-align: left;
    }

    .footer-legal {
        display: flex;
        flex-direction: column-reverse;
    }

    .footer-legal a {
        float: none;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .footer-legal a:first-child { /* Achtung: Last-Child, aber über Flex die Reihenfolge geändert! */
        margin-bottom: 0;
    }

    .hwk-two-images {
        display: block;
        height: auto;
        margin-top: -130px;
        margin-bottom: -130px;
    }

    .hwk-two-images img:first-child,
    .hwk-two-images img:last-child {
        transform: none;
        margin: 0;
        width: 70%;
    }

    .hwk-two-images img:last-child {
        margin-left: auto;
        margin-top: 60px;
    }

    .hwk-image {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .header-title {
        align-self: flex-start;
    }

    .form-field {
        display: block;
    }

    .form-field-label {
        width: auto;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .form-field-label label {
        display: inline-block;
    }

    .form-field-label .form-field-label-constraint {
        display: inline-block;
    }

    .day-input-delete {
        display: inline-block;
        margin-left: 20px;
    }

    .form-field-divided:not(:first-child) {
        margin-top: 45px;
    }

    .tooltip-content {
        left: unset;
        right: 80%;
    }

    .success-area {
        margin-top: 60px;
        margin-bottom: -15px;
    }

    .search-sub-fields {
        display: block;
    }

    .search-sub-fields .select-wrapper {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .search-sub-fields .field-wrapper {
        width: 100%;
        display: block;
    }

    .search-sub-fields input {
        width: 100% !important;
    }

    .search-sub-fields input[type="date"] {
        width: 100%;
        box-sizing: border-box;
        /*noinspection CssNonIntegerLengthInPixels*/
        height: 63.5px;
    }

    .search-sub-field:first-child {
        margin-bottom: 30px;
    }

    .search-sub-field:nth-child(2) {
        margin-bottom: 15px;
    }

    .search-sub-field:last-child .search-field-heading {
        display: none;
    }

    .search-fields-upper {
        display: block;
    }

    .search-field-upper:not(:first-child) {
        margin-top: 30px;
    }

    .search-field-upper {
        width: 100%;
    }

    .search-page-heading-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .search-page-sort .select-wrapper {
        margin: 0;
        float: none;
    }

    .search-page-sort {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (max-width: 670px) {
    .offer-short-mail-text {
        font-size: 16px;
    }

    p,
    a,
    table,
    .button,
    footer,
    label,
    input,
    select,
    textarea,
    .tooltip,
    .font-size,
    .coming-soon-circle,
    .multiselect-input-item,
    .time-input-wrapper,
    .day-input-wrapper,
    .day-input-delete,
    .success-area,
    .form-field-error-message,
    .form-field-label-constraint {
        font-size: 16px;
    }

    .header-cnt h1 {
        font-size: 35px;
    }

    .header-cnt h2 {
        font-size: 25px;
    }

    .header-title h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 25px;
    }

    .hwk-faq-heading {
        font-size: 22px;
    }

    .header-button {
        padding: 7px;
    }

    .coming-soon-circle {
        width: 70px;
        height: 70px;
    }

    .hwk-row-wrapper {
        padding: 30px;
    }

    .hwk-row-wrapper:nth-child(odd) {
        padding: 90px 30px;
    }

    .hwk-row-wrapper:last-child {
        padding-bottom: 60px;
    }

    header {
        padding: 30px;
    }

    .hwk-two-images img:first-child, .hwk-two-images img:last-child {
        width: 85%;
    }

    .hwk-two-images img:last-child {
        margin-top: 45px;
    }

    .widget_hwk_faq_heading {
        margin-bottom: 0 !important;
    }

    .hwk-two-images {
        margin-top: -75px;
        margin-bottom: -75px;
    }

    .hwk-row-wrapper-search-margin {
        margin-top: 120px;
    }

    .search-map {
        height: 600px;
        max-height: 80vh;
        padding-bottom: 0;
    }
}

@media (max-width: 530px) {
    .footer-partners img {
        height: 37px;
    }

    .footer-partners .footer-logo-handwerk-bayern {
        height: 32px;
    }
}

@media (max-width: 500px) {
    .header-cnt h1 {
        font-size: 30px;
    }

    .header-cnt h2 {
        font-size: 22px;
    }

    .header-title h1 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .hwk-faq-heading {
        font-size: 20px;
    }

    .header-buttons {
        display: block;
    }

    .header-button, .header-button:not(:last-child) {
        margin-left: auto;
        margin-right: auto;
        height: 40px;
    }

    .header-button:not(:last-child) {
        margin-bottom: 20px;
    }

    .coming-soon-circle {
        transform: translate(50%, -25%) rotate(-20deg);
        font-size: 12px;
        width: 55px;
        height: 55px;
    }

    .hwk-two-images img:first-child, .hwk-two-images img:last-child {
        width: 90%;
    }

    .hwk-counter-text-count {
        width: 60px;
        height: 60px;
    }

    .footer-social a {
        font-size: 25px;
    }

    .footer-social a:not(:last-child) {
        margin-right: 10px;
    }

    .header-image {
        width: 240px;
        height: 240px;
    }

    .day-input-cnt {
        padding: 0 15px 15px;
    }

    .day-input-day {
        width: 30px;
        height: 30px;
        margin-right: calc(16.666% - 37px)
    }

    .booking-header {
        padding-top: 35px;
    }

    .booking-header-arrow a {
        font-size: 30px;
    }

    .booking-header h2 {
        font-size: 20px;
    }

    .booking-header-info table,
    .booking-header-info table tbody,
    .booking-header-info table tr,
    .booking-header-info table td {
        display: block;
    }

    .booking-header table td:first-child {
        padding: 0;
    }

    .booking-header table tr:not(:last-child) {
        margin-bottom: 10px;
    }

    .booking-header-image {
        width: 100%;
    }

    .button-container .button {
        clear: both;
    }

    .button-container .button:not(:last-child) {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .booking h3:not(:first-child) {
        margin-top: 30px;
        margin-bottom: -20px;
    }

    .offer table,
    .offer table tbody,
    .offer table tr,
    .offer table td {
        display: block;
    }

    .offer table td:first-child {
        padding: 0;
    }

    .offer table tr:not(:last-child) {
        margin-bottom: 10px;
    }

    .search-page-heading-wrapper {
        display: block;
    }

    .search-page-sort {
        margin-top: 15px;
    }

    .offer-image {
        width: 100%;
        height: 0;
        padding-bottom: 66.666%;
    }

    .select-radius-mobile {
        position: absolute;
        left: 0;
        bottom: -76px;
        display: flex;
        width: 100%;
        justify-content: stretch;
        align-items: center;
        gap: 20px;
    }

    .search-perimeter-field input {
        width: 100%;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .search-perimeter-field {
        margin-bottom: 106px;
    }

    .search-perimeter-field i {
        right: 20px;
    }

    .form-field-input .search-select-wrapper select {
        border-left: 1px solid #cad9e5;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }

    .select-radius-mobile-text {
        display: block;
    }

    .form-field-input .search-select-wrapper {
        position: relative;
        top: unset;
        left: unset;
        flex-grow: 1;
    }

    .search-field-heading h3 {
        font-size: 16px;
    }
}

@media (max-width: 410px) {
    .footer-partners img {
        display: block;
    }

    .footer-partners .footer-logo-handwerk-bayern {
        margin-bottom: 15px;
    }
}