/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1739546007
Updated: 2025-02-14 15:13:27

*/

/* Main Container Styles */
.sponsor-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Table Styles */
.sponsorship-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.sponsorship-table th,
.sponsorship-table td {
    padding: 20px 10px !important;
    border: 1px solid #ddd;
    text-align: left;
    background-color: #fff;
    vertical-align: middle;
}

.sponsorship-table th p {font-size: 18px}

.sponsorship-table h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.sponsorship-table h5 {
    padding: 10px 0;
    color: orange;
}

.sponsorship-table h5 span {
    color: #000;
}

.sponsorship-table tr {
    padding: 20px 0;
}

.sponsorship-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Level Column Styles */
.sponsorship-table .level {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    color: #000;
    background-color: #FFFFFF;
}

.sponsorship-table .level img {width: 60%}

/* Booking Status Styles */
.sponsorship-table .booking-status {
    text-align: center;
    vertical-align: middle;
}

.booking-status select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.booking-status.sold {
    color: red;
    font-weight: bold;
}

/* Form Row Styles */
.form-row {
    margin-bottom: 20px;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Two column layout for first/last name */
.form-row input[name="first-name"],
.form-row input[name="last-name"] {
    width: calc(50% - 10px);
    display: inline-block;
    margin-bottom: 20px;
}

.form-row input[name="first-name"] {
    margin-right: 20px;
}

/* Agreement Section Styles */
.agreement-section {
    display: flex;
    align-items: flex-start;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkbox-wrapper {
    flex: 0 0 auto;
    padding-right: 20px;
    padding-top: 4px;
}

.agreement-text {
    flex: 1;
}

.agreement-text h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.agreement-text p {
    margin: 0;
    line-height: 1.5;
}

.form-row.submit-button {text-align: left !mportant}

/* Submit Button Styles */
.submit-button input[type="submit"] {
    background-color: #141414;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal !important;
text-align: left;
}

.submit-button input[type="submit"]:hover {
    background-color: #333;
}

/* Hover Effects */
.sponsorship-table tr:hover {
    background-color: #f8f9fa;
}

.sponsorship-table tr:hover .level {
    background-color: #f8f9fa;
}

/* Form Field Styles */
.form-row {
    margin-bottom: 20px;
    width: 100%;
    clear: both;
}

/* Input Field Styles */
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

/* Name Fields Two Column Layout */
.form-row input[name="first-name"],
.form-row input[name="last-name"] {
    width: calc(50% - 10px);
    float: left;
    display: inline-block;
}

.form-row input[name="first-name"] {
    margin-right: 20px;
}

/* Form Field Focus States */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #141414;
    box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.1);
}

/* Agreement Section Styling */
.agreement-section {
    display: flex;
    align-items: flex-start;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    clear: both;
}

.checkbox-wrapper {
    flex: 0 0 auto;
    padding-right: 20px;
    padding-top: 4px;
}

.agreement-text {
    flex: 1;
}

.agreement-text h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.agreement-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

/* Submit Button Styling */
.submit-button {
    
    margin-top: 20px;
    text-align: left;
    margin-left: 0 !important;
}

.submit-button input[type="submit"] {
    background-color: #141414;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: auto;
}

.submit-button input[type="submit"]:hover {
    background-color: #333;
}

/* Form Validation Styles */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 12px !important;
    border-radius: 4px;
    clear: both;
}

/* Responsive Styles for Form Fields */
@media screen and (max-width: 768px) {
    .form-row input[name="first-name"],
    .form-row input[name="last-name"] {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .sponsorship-table {max-width: 100% !important}
    img.sponsor-logo {max-width: 120px !important;}

    .form-row input[name="first-name"] {
        margin-bottom: 10px;
    }

    .agreement-section {
        flex-direction: column;
        padding: 15px;
    }

    .checkbox-wrapper {
        margin-bottom: 10px;
        padding-right: 0;
    }

    .agreement-text h4 {
        font-size: 15px;
    }

    .agreement-text p {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .form-row input,
    .form-row select,
    .form-row textarea {
        padding: 10px;
        font-size: 13px;
    }

    .submit-button input[type="submit"] {
        padding: 10px 20px;
        font-size: 14px;
    }

    .agreement-text h4 {
        font-size: 14px;
    }

    .agreement-text p {
        font-size: 12px;
    }
}

/* Checkbox Styling */
.wpcf7-checkbox {
    display: block;
}

.wpcf7-checkbox .wpcf7-list-item {
    margin: 0;
}

/* Form Background */
#wpcf7-f71-p9-o1 > form {
    background: #e8e8e8 !important;
    padding: 10px;
    border-radius: 6px;
}

@media screen and (max-width: 480px) {

.sponsorship-table th,
    .sponsorship-table td {
        padding: 10px 5px !important; /* Reduce cell padding */
    }
	.form-row input,
.form-row select {padding-left: 5px; padding-right: 5px;}

}