.elementor-18 .elementor-element.elementor-element-9993bdc{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-18 .elementor-element.elementor-element-9993bdc:not(.elementor-motion-effects-element-type-background), .elementor-18 .elementor-element.elementor-element-9993bdc > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#000000;}.elementor-18 .elementor-element.elementor-element-703050f{--display:flex;--min-height:1065px;--justify-content:flex-end;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-18 .elementor-element.elementor-element-703050f:not(.elementor-motion-effects-element-type-background), .elementor-18 .elementor-element.elementor-element-703050f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://gerhardwedding.com/wp-content/uploads/2025/08/A-UNION-OF-LOVE-ELEGANCE-AND-MAGNIFICENCE.-WE-REQUEST-THE-PLEASURE-OF-YOUR-COMPANY-AT-THE-ROYAL-UNION-OF-THEIR-LIVES-2000-x-800-px.png");background-repeat:no-repeat;background-size:contain;}.elementor-18 .elementor-element.elementor-element-703050f.e-con{--align-self:center;}.elementor-18 .elementor-element.elementor-element-ceca7bc{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 108px) 0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-18 .elementor-element.elementor-element-703050f{--width:51%;}}@media(max-width:767px){.elementor-18 .elementor-element.elementor-element-703050f:not(.elementor-motion-effects-element-type-background), .elementor-18 .elementor-element.elementor-element-703050f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://gerhardwedding.com/wp-content/uploads/2025/08/A-UNION-OF-LOVE-ELEGANCE-AND-MAGNIFICENCE.-WE-REQUEST-THE-PLEASURE-OF-YOUR-COMPANY-AT-THE-ROYAL-UNION-OF-THEIR-LIVES-2000-x-800-px-800-x-1700-px-1.png");}.elementor-18 .elementor-element.elementor-element-703050f{--min-height:291px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-18 .elementor-element.elementor-element-ceca7bc{margin:460px 0px calc(var(--kit-widget-spacing, 0px) + 400px) 0px;}}/* Start custom CSS for container, class: .elementor-element-703050f *//* Position the form widget absolutely within the container */
.elementor-18 .elementor-element.elementor-element-703050f .elementor-widget-shortcode {
  
  
    width: 75%;
    max-width: 550px;
}

/* Remove default paragraph margins from Contact Form 7 */
.elementor-18 .elementor-element.elementor-element-703050f .wpcf7-form p {
    margin: 0;
}

/* Style the form layout and labels */
.elementor-18 .elementor-element.elementor-element-703050f .wedding-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 18px; 
}
.elementor-18 .elementor-element.elementor-element-703050f .form-label {
    color: #bda575; 
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
   
    display: block;
}

/* Style the text inputs */
.elementor-18 .elementor-element.elementor-element-703050f .wpcf7-text,
.elementor-18 .elementor-element.elementor-element-703050f .wpcf7-email {
    background: transparent !important;
    border: 1px solid #bda575 !important; 
    color: #ffffff !important;
    border-radius: 4px !important;
   
    width: 100%;
}
.elementor-18 .elementor-element.elementor-element-703050f ::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Flexbox for side-by-side layout for attendance questions */
.elementor-18 .elementor-element.elementor-element-703050f .attendance-questions {
    grid-column: 1 / -1;
    display: flex;
    
}
.elementor-18 .elementor-element.elementor-element-703050f .attendance-questions .field-full {
    flex: 1;
}

/* Style the Radio Buttons ("YES" / "NO") */
.elementor-18 .elementor-element.elementor-element-703050f .radio-group .wpcf7-list-item {
    margin: 0 10px 0 0;
}
.elementor-18 .elementor-element.elementor-element-703050f .wpcf7-list-item-label {
    color: #bda575; 
    font-size: 14px;
    font-weight: 700;
}

/* Style the Submit Button */
.elementor-18 .elementor-element.elementor-element-703050f .wpcf7-submit {
    grid-column: 1 / -1;
    background: #bda575 !important; 
    color: #0b0b0b !important;
    border: none !important;
    border-radius: 4px;
    font-family: "Cinzel", serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    margin-top:15px;
    
    /* --- THE FIX: Use margin:auto for centering --- */
    display: block;}
    /* Center the entire shortcode widget within the Elementor column */


/* Make the submit row span both grid columns and center its content */
.elementor-18 .elementor-element.elementor-element-703050f .wedding-form > p:has(.wpcf7-submit) {
  grid-column: 1 / -1;   /* full width across the grid */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;              /* space between button and spinner */
}/* End custom CSS */