/* ============================================================
   SY FORM – Auer Contact Form Styles
   ============================================================ */

/* ---------- Base / Container ---------- */
.tx-sy-form {
    font-family: inherit;
}

.syform-container {
    margin-top: 20px;
}

.syform-container .title {
    display: none;
}

.syform-container .syform_page {
    display: block;
}

.syform-container .syform_page.syform_dependency,
.syform-container .syform_page.hidden {
    display: none;
}

.syform-container .row {
    margin-bottom: 20px;
}

.syform-container .syform_fieldwrap_type_hidden {
    display: none;
}

/* ---------- Fieldset / Grid ---------- */
.syform_fieldset {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
}

.syform-container fieldset {
    padding: 0;
    border: 0;
    margin: 0;
    width: 100%;
    display: inline-block;
}

/* ---------- Container inner (form + sidebar) ---------- */
.syform-container--inner {
    display: flex;
    gap: 40px;
    width: 100%;
}

.syform-container--inner .syform_fieldset {
    width: 69%;
    flex-shrink: 1;
    flex-grow: 1;
}

.syform-container--inner .syform_description {
    width: 31%;
    flex-shrink: 1;
    flex-grow: 1;
}

.syform-container--inner .syform_description p {
    width: 100%;
    padding: 15px 20px;
    font-size: 17px;
    line-height: 32px;
    font-size: 1.0625rem;
    line-height: 2rem;
    margin: 0 0 20px 0;
    background-color: #f2f6f8;
}

.syform-container--inner .syform_description p a {
    font-weight: normal;
}

/* ---------- Field Wrapper – sizing ---------- */
.syform-container .syform_fieldwrap {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    width: 49%;
    box-sizing: border-box;
}

.syform_fieldset .syform_fieldwrap {
    width: 49%;
}

.syform_fieldset .syform_fieldwrap.sy_full,
.syform_fieldset .syform_fieldwrap.sy_col-12 {
    width: 100%;
}

.syform_fieldset .syform_fieldwrap.sy_half {
    width: 49%;
}

.syform_fieldset .syform_fieldwrap.sy_third {
    width: 32%;
}

.syform_fieldset .syform_fieldwrap.sy_col-4 {
    width: 31%;
}

.syform_fieldset .syform_fieldwrap.sy_right {
    text-align: right;
}

.syform_fieldset .syform_fieldwrap.sy_column .syform_fieldwrap_outer {
    flex-direction: column;
}

.syform_fieldset .syform_fieldwrap.field_legend {
    font-size: 12px;
    margin-top: -15px;
}

.syform_fieldset .syform_fieldwrap .syform_fieldwrap_outer {
    display: block;
    margin: 0;
}

.syform_fieldset .syform_fieldwrap.syform_fieldwrap_type_check .syform_fieldwrap_outer {
    display: flex;
}

.syform_fieldset .syform_fieldwrap_inner {
    display: inline-block;
    margin-right: 20px;
}

.syform_fieldset .syform_fieldwrap_type_radio.full-width .syform_fieldwrap_inner {
    display: block;
    width: fit-content;
}

/* ---------- Dependency visibility ---------- */
.syform-container .syform_fieldwrap.syform_dependency {
    display: none;
}

/* ---------- LABELS – hidden by default, placeholders used instead ---------- */
.syform-container .syform_fieldwrap > label,
.syform-container .syform_fieldset label.syform_label {
    display: none;
}

/* Keep labels visible for checkboxes and radio buttons */
.syform-container .syform_fieldwrap_type_check label,
.syform-container .syform_fieldwrap_type_radio label,
.syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox label {
    display: flex;
}

/* Keep label for select fields (acts as the first visual text) */
.syform-container .syform_fieldwrap_type_select > label {
    display: none;
}

/* Big label override for display text sections */
.syform-container .syform_fieldset .syform_fieldwrap.big_label > label {
    display: block;
    font-size: 24px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: #005781;
    font-weight: bold;
}

/* ---------- TEXT INPUTS & EMAIL & TEL ---------- */
.syform-container .syform_fieldwrap input[type="text"],
.syform-container .syform_fieldwrap input[type="email"],
.syform-container .syform_fieldwrap input[type="tel"],
.syform-container .syform_fieldwrap input[type="number"],
.syform-container .syform_fieldwrap input[type="date"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 15px;
    line-height: 48px;
    color: #333;
    background-color: #d5d5d5;
    border: none;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.syform-container .syform_fieldwrap input[type="text"]:focus,
.syform-container .syform_fieldwrap input[type="email"]:focus,
.syform-container .syform_fieldwrap input[type="tel"]:focus,
.syform-container .syform_fieldwrap input[type="number"]:focus,
.syform-container .syform_fieldwrap input[type="date"]:focus {
    background-color: #cacaca;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.syform-container .syform_fieldwrap input::placeholder {
    color: #555;
    font-weight: 600;
    font-size: 15px;
    opacity: 1;
}

/* ---------- FILE INPUTS ---------- */
.syform-container input[type="file"] {
    border: none;
    width: auto;
    padding: 0;
}

/* ---------- TEXTAREA ---------- */
.syform-container .syform_fieldset textarea,
.syform-container .syform_fieldwrap textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 22px;
    color: #333;
    background-color: #ededed;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.syform-container .syform_fieldwrap textarea:focus {
    background-color: #fff;
    border-color: #999;
}

.syform-container .syform_fieldwrap textarea::placeholder {
    color: #888;
    font-weight: 400;
    font-size: 15px;
}

/* ---------- SELECT ---------- */
.syform-container .syform_fieldset select,
.syform-container .syform_fieldwrap select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 16px;
    font-size: 15px;
    line-height: 48px;
    color: #555;
    font-weight: 600;
    background-color: #d5d5d5;
    border: none;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    transition: background-color 0.2s ease;
}

.syform-container .syform_fieldset select:focus,
.syform-container .syform_fieldwrap select:focus {
    background-color: #cacaca;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* Sub-selects in dynamic select fields */
.syform-container .syform_fieldwrap select.syform_dynamic_subtrigger,
.syform-container .syform_fieldwrap select.syform_dynamic_subhidden {
    margin-top: 10px;
}

/* ---------- CHECKBOXES ---------- */
.syform-container .syform_fieldwrap_type_check {
    margin-bottom: 8px;
    width: 100%;
}

.syform-container .syform_fieldwrap_type_check > label {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox {
    margin-bottom: 8px;
}

.syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox label {
    display: flex;
    align-items: flex-start;
    column-gap: 10px;
    font-size: 13px;
    line-height: 20px;
    color: #333;
    font-weight: 400;
    cursor: pointer;
    margin-right: 10px;
}

.syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox label a {
    line-height: inherit;
    text-decoration: underline;
}

.syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox label input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    position: relative;
    top: 1px;
    cursor: pointer;
    accent-color: #333;
    flex-shrink: 0;
}

/* ---------- RADIO BUTTONS ---------- */
.syform-container .syform_fieldwrap_type_radio {
    margin-bottom: 16px;
}

.syform-container .syform_fieldwrap_type_radio > label {
    display: block !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.syform-container .syform_fieldwrap_type_radio .syform_fieldwrap_inner label {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    cursor: pointer;
}

.syform-container .syform_fieldwrap_type_radio .syform_fieldwrap_inner label > p {
    display: inline-block;
}

.syform-container .syform_fieldwrap_type_radio .syform_fieldwrap_inner label > p img {
    margin-left: 5px;
}

.syform-container .syform_fieldwrap_type_radio .syform_fieldwrap_inner input[type="radio"] {
    width: inherit;
    display: inline-block;
    padding: 0;
    bottom: -3px;
    accent-color: #333;
}

/* ---------- DISPLAY TEXT ---------- */
.syform-container .syform_fieldwrap_type_displaytext.sy_bigtext {
    font-size: 24px;
    color: #97b816;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    width: 90% !important;
}

.syform-container.ehedg_default .syform_fieldwrap_type_displaytext {
    color: #000;
}

/* ---------- DISPLAY HTML ---------- */
.syform-container .syform_fieldwrap.syform_fieldwrap_type_displayhtml {
    margin-bottom: 0;
}

.syform-container .syform_fieldwrap.syform_fieldwrap_type_displayhtml h4 {
    margin-top: 1rem;
}

/* ---------- SUBMIT BUTTON ---------- */
.syform-container .syform_fieldwrap_type_submitbutton {
    width: 100%;
    text-align: right;
    margin-top: 8px;
    margin-bottom: 0;
}

.syform-container .syform_fieldwrap_type_submitbutton button[type="submit"] {
    display: inline-block;
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
    min-width: 160px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.syform-container .syform_fieldwrap_type_submitbutton button[type="submit"]:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: translateY(-1px);
}

.syform-container .syform_fieldwrap_type_submitbutton button[type="submit"]:active {
    transform: translateY(0);
}

/* Remove the old arrow pseudo-element */
.syform-container .syform_fieldwrap_type_submitbutton button[type="submit"]::after {
    display: none;
}

.syform-container .syform_fieldwrap_type_submitbutton .submitbutton-info {
    border: 0;
    margin: 1rem 0 1rem auto;
    padding: 10px 40px;
    color: black;
    background-color: #c2c6c8;
    text-transform: uppercase;
    font-size: 24px;
    cursor: initial;
    width: fit-content;
    display: none;
}

/* ---------- ERROR STATE ---------- */
.syform_fieldwrap.has-error select,
.syform_fieldwrap.has-error input,
.syform_fieldwrap.has-error textarea {
    box-shadow: inset 0 0 0 2px #c0392b;
    background-color: #fdf0ef;
}

.syform_fieldwrap.has-error label {
    color: #c0392b;
}

/* ---------- BREADCRUMB (multi-step forms) ---------- */
.syform-container .syform-breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 160px;
    width: 100%;
    padding: 80px 20px 130px 0;
    margin: 0;
}

.syform-container .syform-breadcrumb ul li {
    font-size: 20px;
    font-weight: 500;
    position: relative;
}

.syform-container .syform-breadcrumb ul li::after {
    content: 'next';
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    position: absolute;
    right: -85px;
    top: 4px;
    font-weight: bold;
    color: #054277;
}

.syform-container .syform-breadcrumb ul li:last-child::after {
    display: none;
}

.syform-container .syform-breadcrumb ul li.active {
    color: #03A926;
}

/* ---------- PREVIEW ---------- */
.syform_page .syform_preview {
    margin-bottom: 40px;
    background: #f2f2f2;
    padding: 76px 28px 76px 132px;
    width: 900px;
    box-sizing: border-box;
    margin-right: 70px;
}

.syform_page .syform_preview h2 {
    position: relative;
    margin-bottom: 20px;
    font-size: 40px;
}

.syform_page .syform_preview h2 span.link-btn {
    font-size: 20px;
    right: 10px;
    position: absolute;
    cursor: pointer;
    font-weight: 500;
}

.syform_page .syform_preview h2 span.link-btn:hover {
    color: #2CCE0F;
}

.syform_page .syform_preview .preview-page-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.syform_page .syform_preview .preview-page-row .preview-page-col {
    width: 100%;
    margin-bottom: 30px;
}

.syform_page .syform_preview .page-1 .preview-page-row .preview-page-col {
    width: 48%;
}

.syform_page .syform_preview .preview-page-row .preview-page-col h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.syform_page .syform_preview .preview-page-row .preview-page-col ul {
    list-style: none;
    padding-left: 0;
    line-height: 40px;
}

/* ---------- NEXT BUTTON ---------- */
.syform_fieldset .btn {
    background: #164194;
    border-radius: 4em;
    padding: 0.2em 1em;
    border: transparent;
    color: white;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    margin-top: 50px;
    width: auto;
}

/* ---------- FILE UPLOAD AREA ---------- */
.syform_fieldwrap .file-drop-area {
    height: 150px;
    width: 100%;
    border: 0;
    font-size: 16px;
    background-color: #ccc;
    color: #004C85;
    padding: 10px;
    box-sizing: border-box;
    background-image: url(../Img/Upload.svg);
    background-repeat: no-repeat;
    background-position: center 70%;
}

.syform_fieldwrap .file-drop-area.is-dragover {
    border: 2px dotted #004C85;
}

.syform_fieldwrap .uploaded-files ul {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0;
    padding-left: 0;
}

.syform_fieldwrap .uploaded-files ul li {
    position: relative;
    font-size: 16px;
    padding: 0 12px;
    background: #f2f2f2;
    margin-bottom: 10px;
    height: 50px;
    line-height: 50px;
}

.syform_fieldwrap .uploaded-files ul li span.remove-file-btn {
    position: absolute;
    right: 32px;
    cursor: pointer;
    font-size: 48px;
}

/* ---------- PAGE INFO ---------- */
.syform_page-info {
    max-width: 590px;
    margin-right: 172px;
}

.syform_page-info h1,
.syform_page-info h2,
.syform_page-info h3,
.syform_page-info h4,
.syform_page-info h5 {
    margin-top: 0;
}

/* ---------- SELECTBOXIT (legacy plugin) ---------- */
.selectboxit-container .selectboxit {
    width: 100% !important;
    height: 48px;
    line-height: 48px;
    border: none;
    background-color: #d5d5d5;
    margin: 0;
    font-size: 15px;
}

.syform_fieldset .selectboxit-container .selectboxit-options {
    width: 100% !important;
}

.syform_fieldset .selectboxit-container li.selectboxit-option {
    position: static;
    margin-top: 0 !important;
    width: 100%;
    padding: 0 10px;
}

.selectboxit-container span,
.selectboxit-container .selectboxit-options a {
    height: 48px;
    line-height: 48px;
    font-size: 15px;
}

/* content-column override */
#content-column2-1 {
    padding: 20px 20px 50px 20px;
}

/* ============================================================
   ID-specific overrides
   ============================================================ */
#c4379 .syform-container--inner .syform_fieldset,
#c4291 .syform-container--inner .syform_fieldset {
    flex-grow: 0;
    margin: 0 auto;
}

#c4379 .syform-container--inner .syform_description,
#c4291 .syform-container--inner .syform_description {
    display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 1400px) {
    .syform-container--inner .syform_fieldset {
        width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .syform-container .syform-breadcrumb ul {
        padding: 20px 0;
        flex-direction: column;
        gap: 10px;
    }

    .syform_page-info {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0;
    }

    .syform-container fieldset {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0;
    }
}

@media only screen and (max-width: 768px) {
    .tx-sy-form form {
        padding: 50px 10px 50px 10px;
    }

    .syform-container--inner {
        display: block;
    }

    .syform_fieldset,
    .syform-container--inner .syform_fieldset {
        width: 100%;
        padding: 0 10px;
    }

    .syform-container .syform_fieldwrap,
    .syform_fieldset .syform_fieldwrap,
    .syform_fieldset .syform_fieldwrap.sy_half {
        width: 100%;
    }

    .syform_fieldset .syform_fieldwrap.sy_third {
        width: 100%;
    }

    .syform_fieldset {
        width: 100%;
        padding: 30px 0 0;
    }

    .syform-container--inner .syform_description {
        width: 100%;
    }

    .syform-container .syform_fieldwrap_type_submitbutton button[type="submit"] {
        width: 100%;
    }

    .syform_fieldset .syform_fieldwrap .syform_fieldwrap_outer {
        display: block;
        width: 100%;
    }

    .syform-container .syform_fieldwrap_type_check .syform_fieldwrap_checkbox label p {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {
    .syform_page-info {
        font-size: large;
    }
}