.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-2959 .elementor-element.elementor-element-f61604a{text-align:center;}.elementor-2959 .elementor-element.elementor-element-f61604a .elementor-heading-title{color:#000000;}/* Start custom CSS for section, class: .elementor-element-6374c20 */.custom-form-style .form-section {
    margin-bottom: 15px;
}
/* General form styling */
form.wpcf7-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

/* Style all labels */
form.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Style text inputs and textareas */
form.wpcf7-form input[type="text"],
form.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

/* Style for required fields */
form.wpcf7-form input[type="text"]::-webkit-input-placeholder, 
form.wpcf7-form textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #ccc;
}

/* Style the signature field */
form.wpcf7-form input[type="signature"] {
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Style the submit button */
form.wpcf7-form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form.wpcf7-form input[type="submit"]:hover {
    background-color: #005077;
}

/* Style for fieldset and legend */
form.wpcf7-form fieldset {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
}

form.wpcf7-form fieldset legend {
    padding: 0 5px;
    font-weight: bold;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    form.wpcf7-form {
        padding: 10px;
    }

    form.wpcf7-form input[type="text"],
    form.wpcf7-form textarea {
        padding: 8px;
    }
}
/* Style the signature canvas */
form.wpcf7-form .wpcf7-form-control-wrap.your-signature canvas {
    border: 2px solid #0073aa; /* Change the color as needed */
    background-color: #fff; /* Set a contrasting background */
    width: 100% ; /* Adjust width as needed */
    height: 100%; /* Adjust height as needed */
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional shadow for depth */
}

/* Style the signature canvas wrapper */
.wpcf7-form-control-signature-wrap {
    border: 2px solid #0073aa; /* Change the border color as needed */
    background-color: #fff; /* Set a contrasting background */
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional shadow for depth */
}

/* Style the signature canvas */
canvas.your-signature {
    width: 100% !important; /* Ensure the canvas fills the wrapper */
    height: 100% !important; /* Adjust height as needed */
    border: none; /* Remove any border from the canvas itself */
    background-color: transparent; /* Make the canvas background transparent */
}

/* Style for the 'Clear' button */
.wpcf7-form-control-clear-wrap input[type="button"] {
    background-color: #0073aa; /* Button background color */
    color: white; /* Button text color */
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    margin-top: 10px;
    cursor: pointer;
}

.wpcf7-form-control-clear-wrap input[type="button"]:hover {
    background-color: #005077; /* Darker shade for hover */
}

/* Responsive adjustments for signature canvas */
@media (max-width: 600px) {
    .wpcf7-form-control-signature-wrap {
        height: 100%; /* Smaller height on mobile devices */
    }
    canvas.your-signature {
        height: 100% !important; /* Adjust height for mobile devices */
    }
}
/* Style textareas with a maximum height */
form.wpcf7-form textarea {
    max-height: 75px; /* Adjust the max height as needed */
    overflow-y: auto; /* Adds a scrollbar if text exceeds the max height */
}/* End custom CSS */