#hero {
    position: relative;
    background-color: var(--bs-heroblue);
    background: url(../img/hero.webp) no-repeat center center / cover;
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}
.hero-banner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.hero-title {
    max-width: 900px;
    height: auto;
}
label {
    margin-top: 15px;
    text-align: right;
}

input[type="text"],
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

#loading {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

#acknowledgment {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
}

input,
select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.event_detail {
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    /* Centers the div itself if it has a width */
    color: var(--bs-yellow) !important;
}

.family_desc{
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    text-decoration: underline;
}
.activity {
    border: 1px solid var(--bs-yellow);
    padding: 1rem;
}
.activity_detail {
    text-align: center;
    /* Centers the text horizontally */
    margin: 0 auto;
    /* Centers the div itself if it has a width */
}

.activity_title {
    color: var(--bs-green) !important
}

input[type="radio"] {
    -webkit-appearance: none;
    /* Remove default radio button styling */
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    /* Set the width */
    height: 20px;
    /* Set the height */
    border: 1.5px solid #000;
    /* Add border */
    border-radius: 0;
    /* Make it square */
    outline: none;
    /* Remove outline */
    cursor: pointer;
    /* Pointer cursor */
}

input[type="radio"]:checked {
    background-color: #007bff;
    /* Background color when checked */
    border: 2px solid #007bff;
    /* Border color when checked */
}

.form-group {
    display: flex;
    /* Use Flexbox */
    align-items: start;
    /* Center vertical alignment */
    margin-bottom: 15px;
    /* Space between rows */
    justify-content: start;
    flex-direction: column;
}

.form-group label {
    text-align: left;
}

.form-group input,
.form-group select {
    flex: 1;
    /* Allow input/select to take more space */
}

.tnc,
.terms-and-conditions {
    background-color: #f0f0f0;
    /* Light grey background */
    padding: 50px;
    /* Add some padding */
    border-radius: 5px;
    /* Optional: rounded corners */
    overflow: auto;
    /* Enable scrolling when content overflows */
    max-height: 400px;
    /* Limit height, adjust as needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: shadow for depth */
    margin-bottom: 20px;
    /* Space below this section */
}

/*
.acknowledgment-section label{
    text-align: left;
    padding: 10px 10px;
}
*/
.acknowledgment-section {
display: grid;
grid-template-columns: repeat(2, 1fr);
/* Two equal columns /
gap: 15px;
/ Space between grid items */
}

.acknowledgment-section label {
display: flex;
align-items: flex-start; /* Align checkbox to the top */
/* Center checkbox with text */
text-align: left;
}

.acknowledgment-section label span {
padding-left: 10px;
/* Space between checkbox and text */
}

.acknowledgment-section input[type="checkbox"] {
    /* width: 20px;
    Adjust as needed /
    / height: 20px;
    Adjust as needed */
    margin-top: 5px;
}

.acknowledgment-section {
    grid-template-columns: 1fr;
/* Stack into a single column on mobile */
}
 
.star {
    color: red;
}

/* Mobile styles */
@media (max-width: 768px) {

    
    /* Adjust the max-width based on your design needs */
    .form-group {
        flex-direction: column;
        /* Stack elements vertically */
    }

    .form-group label {
        flex: 1 0 100%;
        /* Allow label to take full width */
        margin-right: 0;
        /* Remove margin for full-width labels */
        white-space: normal;
        /* Allow label text to wrap */
        width: 100%;
        text-align: left;
        /* Align text to the left */
    }

    .form-group input,
    .form-group select {
        flex: 1 0 100%;
        /* Allow input/select to also take full width */
        margin-top: 5px;
        /* Optional: add some spacing above inputs */
        width: 100%;
    }
}

table.campaign-period td:first-child {
    width: 100px;
}

html[lang="en"] table.campaign-period td:first-child {
    width: 180px;
}


#remove-button {
    display: none;
    margin-left: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#response {
    margin-top: 20px;
}