/* Labels invalid
 * ---------------------------------------------------------------------
 */
form.pmcontact-form .invalid,
form.pmcontact-form .invalid a {
    color: #f00 !important;
    font-weight: normal;
}

/* Labels above fields
 * ---------------------------------------------------------------------
 */
.pmc-labels-above form.pmcontact-form .pmc-label {
    margin-bottom: 3px;
}

/* Labels over fields
 * ---------------------------------------------------------------------
 */
.pmc-labels-over form.pmcontact-form .pmc-field-container {
    position: relative;
}
.pmc-labels-over form.pmcontact-form .pmc-label {
    margin-bottom: 3px;
}
.pmc-labels-over form.pmcontact-form .pmc-field-text .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-name .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-email .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-phone .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-subject .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-password .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-date .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-textarea .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-select .pmc-label,
.pmc-labels-over form.pmcontact-form .pmc-field-multiple .pmc-label {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: auto !important;
    margin-bottom: 0;
}
.pmc-labels-over form.pmcontact-form .pmc-field-multiple .pmc-label {
    width: 100% !important;
    height: 100% !important;
}
.pmc-labels-over form.pmcontact-form .pmc-field-text label,
.pmc-labels-over form.pmcontact-form .pmc-field-name label,
.pmc-labels-over form.pmcontact-form .pmc-field-email label,
.pmc-labels-over form.pmcontact-form .pmc-field-phone label,
.pmc-labels-over form.pmcontact-form .pmc-field-subject label,
.pmc-labels-over form.pmcontact-form .pmc-field-password label,
.pmc-labels-over form.pmcontact-form .pmc-field-date label,
.pmc-labels-over form.pmcontact-form .pmc-field-textarea label,
.pmc-labels-over form.pmcontact-form .pmc-field-select label,
.pmc-labels-over form.pmcontact-form .pmc-field-multiple label {
    padding-left: 20px;
    line-height: 40px;
    cursor: text;
    color: #aaa;
    text-shadow: none;
    white-space: nowrap;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}
.pmc-labels-over form.pmcontact-form .pmc-field-multiple label {
    width: 100% !important;
    height: 100% !important;
}
.pmc-labels-over form.pmcontact-form .pmc-field-multiple select.pmc-blank option {
    color: #fff !important;
    color: rgba(255, 255, 255, 0) !important;
}

.pmc-date {
    background-image: URL("/media/mod_pmcontact/images/cal.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    cursor: pointer !important;
}
.uk-modal-dialog .uk-select:not([multiple]):not([size]) option {
    color: #1a1a1a;
}
.uk-modal-dialog .pmc-field-container.uk-margin {
    margin-bottom: 5px;
}
.pmc-st-customer {
    margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(41 39 38 / 20%);
}
[type="datetime-local"].pmc-date {
    background-image: none !important;
}

.flatpickr-months.lock,
.flatpickr-innerContainer.lock {
    opacity: 0.1;
    z-index: 1;
}

/* .capacity-date-picker {
    width: 307.875px;
}
.capacity-date-picker-options {
	position: absolute;
	height: 40px;
} */
.capacity-date-picker-options {
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 30px;
    gap: 10px;
    background: #f2f2f2;
    align-content: center;
    align-items: center;
}
.capacity-date-picker-headline {
    border-bottom: 1px solid #e6e6e6;
}
.capacity-date-picker-timezone {
    font-size: 10px;
}
.capacity-date-picker-option {
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 40px;
    background: #fff;
    white-space: nowrap;
}
.capacity-date-picker-option:hover,
.capacity-date-picker-option.active {
    background: #569ff7;
    color: #fff;
    cursor: pointer;
}

.capacity-date-picker-options-prev,
.capacity-date-picker-options-next {
    cursor: pointer;
    flex-basis: 20px;
}

.capacity-date-picker-options-prev svg,
.capacity-date-picker-options-next svg {
    width: 14px;
    height: 14px;
    line-height: 1;
}

.capacity-date-picker-options-wrapper {
    overflow: hidden;
    position: relative;
    /* background: #000; */
    width: 200px;
    height: 40px;
    flex-grow: 1;
}

.capacity-date-picker-options-container {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 5px;
    width: 600px;
    flex-direction: row;
    flex-wrap: nowrap;
    position: absolute;
    height: 40px;
    top: 0;
    left: -48px;
    transition: left 0.5s ease-out;
}
.capacity-date-picker-options.no-available-time-slots {
    display: none;
}

.flatpickr-calendar.loading {
    cursor: not-allowed;
}

.flatpickr-calendar.loading:before {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0!important;
    left: 0;
    z-index: 9999999999;
    background: #fff;
    opacity: 0.5;
    border: none;
    margin: 0;
}

.flatpickr-calendar.loading:before {
    background: linear-gradient(90deg, #0001 33%, #0005 50%, #0001 66%) #f2f2f2;
    background-size: 300% 100%;
    animation: l1 1s infinite linear;
}
@keyframes l1 {
    0% {
        background-position: right;
    }
}
.flatpickr-calendar.loading select,
.flatpickr-calendar.loading input,
.flatpickr-calendar.loading .numInputWrapper,
.flatpickr-calendar.loading .flatpickr-prev-month,
.flatpickr-calendar.loading .flatpickr-next-month,
.flatpickr-calendar.loading .flatpickr-innerContainer,
.flatpickr-calendar.loading .flatpickr-rContainer {
    z-index: -1;
}
