
/* Base styles for mobile (by default, assume mobile-first approach) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Adjusting form fields for better mobile experience */
input, select, textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Adjusting the navigation for mobile */
#nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    margin: 0;
}

#nav li {
    padding: 8px 0;
    width: 100%;
    text-align: left;
}

/* Ensure the logo fits on small screens */
#logo img {
    max-width: 100%;
    height: auto;
}

/* Adjusting form layout */
form {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* Button styling for mobile */
input[type="submit"], input[type="reset"], input[type="button"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Footer styling for small screens */
#footer {
    text-align: center;
    padding: 10px 0;
}

/* Center the loading overlay */
#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Overlay */
#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Mobile breakpoint for screens up to 768px */
@media (max-width: 768px) {
    /* Adjust navigation items for smaller screens */
    #nav {
        flex-direction: column;
    }

    /* Stack form elements */
    input, select, textarea {
        width: 100%;
    }

    /* Adjust the logo size for mobile */
    #logo img {
        max-width: 80%; /* Adjust logo size */
    }

    /* Adjust the footer text */
    #footer {
        font-size: 14px;
        padding: 15px;
    }

    /* Add some padding to the body */
    body {
        padding: 10px;
    }
}

/* Large screen adjustments */
@media (min-width: 769px) {
    /* Use a more traditional horizontal layout for larger screens */
    #nav {
        flex-direction: row;
        justify-content: space-around;
    }

    /* Ensure form fields are not stretched too wide on large screens */
    form {
        width: 800px;
        margin: 0 auto;
    }
}




#header, #nav, #footer, .form-header, #content > p, hr, input[name="reset"], input[name="cancel"] {
  display: none !important;
}

#content > h1 {
  color: white;
}

body {
  background: none !important;
}

#container {
  box-shadow: none;
}

input, select, textarea {
  display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: 2.4375rem;
    margin: 0 0 1rem;
    padding: 0.5rem;
    border: 1px solid #cacaca;
    border-radius: .3rem;
    background-color: #fefefe;
    box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
    font-family: inherit;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    color: #0a0a0a;
    transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
  height: 10rem;
}

select {
  display: inline-block;
  width: 98% !important;
}

input[type="submit"] {
  width: initial;
  display: inline-block;
    vertical-align: middle;
    margin: 0 0 1rem 0;
    font-family: inherit;
    padding: 0.85em 1em;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: .3rem;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    font-size: 0.9rem;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background-color: gray;
    color: #fefefe;
}

#ticketForm, #ticketForm > table {
  width:100% !important;
  max-width:100vw !important;
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
    form {
        padding: 0 !important;
    }
}