@charset "utf-8";

.contact-form {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
}

.contact-form h2.form-header {
    background: #f6f6f6;
    padding: 0.75rem 1rem;
    margin: -1rem -1rem 0 -1rem;
}

.subscribe-form {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 1rem;
    margin: 0 auto;
    background-image: url('/images/subscribe-bg.png');
    background-size: contain;
    background-position: right 0 top 1rem;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.85);
    background-blend-mode: overlay;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.subscribe-form input,
.subscribe-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    font: inherit;
    width: 100%;
    min-width: 200px;
    box-sizing: border-box;
}

.contact-form .tel-row {
    display: flex;
    gap: 0.5em;
}

.contact-form .tel-row input {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
}

.contact-form .tel-row select {
    width: 5em !important;
    min-width: 0;
}

.contact-form .tel-row input[type="tel"] {
    width: 0;        /* let flex do the work, not intrinsic width */
    min-width: 0;
    flex: 1 1 0;
}

.subscribe-heading {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: "Raleway", sans-serif;
    font-weight: 200;
}

.subscribe-heading-sub {
    font-size: 1.7rem;
}

.subscribe-heading-main {
    font-size: 2.7rem;
    font-weight: bold;
}

.extra-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}