/* Layout around the original Liefkeshoek CLNDR widget. */
#calendar_holder {
    max-width: 400px;
    margin: 2em 0;
}
.clndr .button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 26px;
    color: inherit;
}
.clndr .days .day.today {
    background: #9be863;
    color: #000;
    outline: 2px solid currentColor;
}
#calendar_holder #legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 1em;
    font-size: .85em;
}
#calendar_holder .swatch {
    background: #9be863;
}
#get_info_modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1000;
    overflow: hidden;
    padding: 2em 1em;
    box-sizing: border-box;
}
#get_info_modal.visible {
    display: flex;
    align-items: center;
    justify-content: center;
}
#get_info_modal #contact {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 600px;
    margin: auto;
    padding: 2em;
    box-sizing: border-box;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    overflow-y: auto;
    overscroll-behavior: contain;
}
#get_info_modal .get_info_modal-close {
    position: absolute;
    z-index: 1;
    right: 1em;
    top: 1em;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #efefef;
    color: #222;
    font-size: 26px;
    line-height: 40px;
    cursor: pointer;
}
#get_info_modal h3 {
    margin: 0 0 15px;
    color: var(--titles, #766a5e);
    font-family: inherit;
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.3;
}
#get_info_modal #availability-form-title {
    max-width: calc(100% - 48px);
}
/* Compact field layout from Liefkeshoek, scoped to this popup. */
#get_info_modal .form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 0;
}
#get_info_modal .form form .field {
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: .9em;
}
#get_info_modal .form .field.textarea,
#get_info_modal .form .field.header,
#get_info_modal .form .field.checkbox,
#get_info_modal .form .field.checkboxes,
#get_info_modal .form .field.radio,
#get_info_modal .form .field.radiobuttons,
#get_info_modal .form .field.fileupload {
    grid-column: 1 / -1;
}
#get_info_modal .form .field.header {
    margin-top: 10px;
}
#get_info_modal .form form label {
    margin: 0;
    line-height: 1.4;
}
#get_info_modal .form form input[type=text],
#get_info_modal .form form input[type=email],
#get_info_modal .form form input[type=tel],
#get_info_modal .form form input[type=number],
#get_info_modal .form form input[type=date],
#get_info_modal .form form input[type=time],
#get_info_modal .form form textarea,
#get_info_modal .form form select {
    width: 100%;
    min-width: 0;
    margin-top: 3px;
    padding: 8px;
    border: 0;
    border-radius: 2px;
    box-sizing: border-box;
    background-color: var(--background, #f2ebe1);
    color: var(--main, #444);
    font-family: inherit;
    font-size: inherit;
    line-height: 1.4;
}
#get_info_modal .form form textarea {
    min-height: 80px;
    max-height: 300px;
    resize: vertical;
}
#get_info_modal .form form input[type=checkbox],
#get_info_modal .form form input[type=radio] {
    background-color: var(--background, #f2ebe1);
}
#get_info_modal :focus-visible {
    outline: 2px solid var(--primarycta, #766a5e);
    outline-offset: 2px;
}
#get_info_modal .form form .btn.submit {
    grid-column: 1 / -1;
    justify-self: end;
    width: auto;
}
#get_info_modal .form form label.error {
    position: static;
    padding: 4px 0 0;
    background: transparent;
    color: var(--error, #b00020);
    line-height: 1.4;
}
#get_info_modal .form form label.error:after,
#get_info_modal .form form label.error.checked {
    display: none;
}
@media (max-width: 480px) {
    #get_info_modal #contact {
        padding: 2em 1em 1em;
    }
    #get_info_modal .form form {
        grid-template-columns: minmax(0, 1fr);
    }
}
