/* Removing default table styles */
#tripleseat_embed_form table {
    font-size: var(--font-lg);
    margin: 0;
    border-collapse: unset;
}

table th {
    background-color: unset;
    color: unset;
  }

#tripleseat_embed_form table tr td {
    padding-bottom: 20px;
    border: none;

    @media (width >=768px) {
        padding-right: 3%;
    }
}

#tripleseat_embed_form table tr:first-child td {
    border: none;
}

#tripleseat_embed_form table tr:nth-child(even) {
    background-color: unset;
}

#tripleseat_embed_form table tr:hover {
    background-color: unset;
}

table th:first-child,
table td:first-child {
  border: none;
}

table th,
table td {
  border: none;
}

#tripleseat_embed_form .ui-datepicker-div {
    font-size: 1.1em;
}

/* Setting custom styles for tripleseat form */
#tripleseat_embed_form {

    & h1,
    & h2,
    & h3,
    & h4,
    & h5,
    & h6 {
        margin-top: 1.4em;
        text-transform: uppercase;
    }
}

#tripleseat_embed_form h2 {
    font-size: var(--font-size-h1);
    line-height: 1;

    @media (width >=768px) {
        font-size: var(--font-size-h1-02);
        margin-bottom: 0.875rem;
    }
}

#tripleseat_embed_form label {
    font-family: var(--font-family-primary);
    font-size: 0.75rem;
    line-height: 2.6;
    color: #101010;
}

#tripleseat_embed_form input[type='text'],
#tripleseat_embed_form input[type='email'],
#tripleseat_embed_form input[type='password'],
#tripleseat_embed_form input[type='search'],
#tripleseat_embed_form input[type='color'],
#tripleseat_embed_form input[type='date'],
#tripleseat_embed_form input[type='datetime-local'],
#tripleseat_embed_form input[type='month'],
#tripleseat_embed_form input[type='number'],
#tripleseat_embed_form input[type='tel'],
#tripleseat_embed_form input[type='time'],
#tripleseat_embed_form input[type='url'],
#tripleseat_embed_form input[type='week'],
#tripleseat_embed_form input[list],
#tripleseat_embed_form input[type='file'],
#tripleseat_embed_form input[type='range'],
#tripleseat_embed_form input[type='search'],
#tripleseat_embed_form input[type='checkbox'],
#tripleseat_embed_form input[type='radio'] {
    background-color: #DDDDDD;
    border: 0.015625rem solid #000000;
    height: 2.375rem;
    line-height: 2.375rem;
    width: 100%;
    padding-left: 1em;
}

#tripleseat_embed_form textarea {
    background-color: #DDDDDD;
    border: 0.015625rem solid var(--color-black) !important;
    height: 13.375rem;
    padding-left: 1em;
    padding-top: 1em;
}

#tripleseat_embed_form select {
    background-color: #DDDDDD;
    border: 0.015625rem solid var(--color-black);
    padding-right: 2.8125rem;
    padding-left: 1.4375rem;
    padding-top: 0.3em;
    height: 2.375rem;
    max-width: 16.875rem;
    width: 100%;
    background-image: url('data:image/svg+xml,<svg width="24" height="14" viewBox="0 0 24 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.0833 1L11.5416 12L0.999995 1" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: 95% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;

    @media (width <=549px) {
        width: 100%;
        max-width: none;
    }
}

div.timeselect {
    min-width: 168px !important;
}

div.timeselect>a {
    padding: .5em .5em !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
}

#tripleseat_embed_form tr.row_event_date {
    position: relative;
}

#tripleseat_embed_form input[type='text']#dp_lead_event_date {
    padding-left: 2.8125rem;
    max-width: 10.3125rem;
    width: 100%;
    background-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.61538 20.9998C5.15513 20.9998 4.77083 20.8457 4.4625 20.5373C4.15417 20.229 4 19.8447 4 19.3844V6.61519C4 6.15494 4.15417 5.77065 4.4625 5.46232C4.77083 5.15399 5.15513 4.99982 5.61538 4.99982H7.3846V2.76904H8.46152V4.99982H15.6154V2.76904H16.6154V4.99982H18.3846C18.8449 4.99982 19.2292 5.15399 19.5375 5.46232C19.8458 5.77065 20 6.15494 20 6.61519V19.3844C20 19.8447 19.8458 20.229 19.5375 20.5373C19.2292 20.8457 18.8449 20.9998 18.3846 20.9998H5.61538ZM5.61538 19.9998H18.3846C18.5385 19.9998 18.6795 19.9357 18.8077 19.8075C18.9359 19.6793 19 19.5383 19 19.3844V10.6152H5V19.3844C5 19.5383 5.0641 19.6793 5.1923 19.8075C5.32052 19.9357 5.46154 19.9998 5.61538 19.9998ZM5 9.61519H19V6.61519C19 6.46136 18.9359 6.32034 18.8077 6.19212C18.6795 6.06392 18.5385 5.99982 18.3846 5.99982H5.61538C5.46154 5.99982 5.32052 6.06392 5.1923 6.19212C5.0641 6.32034 5 6.46136 5 6.61519V9.61519ZM12 14.1537C11.7936 14.1537 11.6138 14.0771 11.4606 13.9238C11.3074 13.7706 11.2308 13.5908 11.2308 13.3844C11.2308 13.178 11.3074 12.9982 11.4606 12.845C11.6138 12.6918 11.7936 12.6152 12 12.6152C12.2064 12.6152 12.3862 12.6918 12.5394 12.845C12.6926 12.9982 12.7692 13.178 12.7692 13.3844C12.7692 13.5908 12.6926 13.7706 12.5394 13.9238C12.3862 14.0771 12.2064 14.1537 12 14.1537ZM8 14.1537C7.79358 14.1537 7.61378 14.0771 7.46058 13.9238C7.30738 13.7706 7.23077 13.5908 7.23077 13.3844C7.23077 13.178 7.30738 12.9982 7.46058 12.845C7.61378 12.6918 7.79358 12.6152 8 12.6152C8.20642 12.6152 8.38622 12.6918 8.53942 12.845C8.69263 12.9982 8.76923 13.178 8.76923 13.3844C8.76923 13.5908 8.69263 13.7706 8.53942 13.9238C8.38622 14.0771 8.20642 14.1537 8 14.1537ZM16 14.1537C15.7936 14.1537 15.6138 14.0771 15.4606 13.9238C15.3074 13.7706 15.2308 13.5908 15.2308 13.3844C15.2308 13.178 15.3074 12.9982 15.4606 12.845C15.6138 12.6918 15.7936 12.6152 16 12.6152C16.2064 12.6152 16.3862 12.6918 16.5394 12.845C16.6926 12.9982 16.7692 13.178 16.7692 13.3844C16.7692 13.5908 16.6926 13.7706 16.5394 13.9238C16.3862 14.0771 16.2064 14.1537 16 14.1537ZM12 17.9998C11.7936 17.9998 11.6138 17.9232 11.4606 17.77C11.3074 17.6168 11.2308 17.437 11.2308 17.2306C11.2308 17.0242 11.3074 16.8444 11.4606 16.6912C11.6138 16.538 11.7936 16.4613 12 16.4613C12.2064 16.4613 12.3862 16.538 12.5394 16.6912C12.6926 16.8444 12.7692 17.0242 12.7692 17.2306C12.7692 17.437 12.6926 17.6168 12.5394 17.77C12.3862 17.9232 12.2064 17.9998 12 17.9998ZM8 17.9998C7.79358 17.9998 7.61378 17.9232 7.46058 17.77C7.30738 17.6168 7.23077 17.437 7.23077 17.2306C7.23077 17.0242 7.30738 16.8444 7.46058 16.6912C7.61378 16.538 7.79358 16.4613 8 16.4613C8.20642 16.4613 8.38622 16.538 8.53942 16.6912C8.69263 16.8444 8.76923 17.0242 8.76923 17.2306C8.76923 17.437 8.69263 17.6168 8.53942 17.77C8.38622 17.9232 8.20642 17.9998 8 17.9998ZM16 17.9998C15.7936 17.9998 15.6138 17.9232 15.4606 17.77C15.3074 17.6168 15.2308 17.437 15.2308 17.2306C15.2308 17.0242 15.3074 16.8444 15.4606 16.6912C15.6138 16.538 15.7936 16.4613 16 16.4613C16.2064 16.4613 16.3862 16.538 16.5394 16.6912C16.6926 16.8444 16.7692 17.0242 16.7692 17.2306C16.7692 17.437 16.6926 17.6168 16.5394 17.77C16.3862 17.9232 16.2064 17.9998 16 17.9998Z" fill="black"/></svg>');
    background-position: 10% 50%;
}

#tripleseat_embed_form input[type='text']#lead_start_time {
    padding-left: 2.8125rem;
    max-width: 10.3125rem;
    width: 100%;
    background-image: url('data:image/svg+xml,<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_495_2629)"><path d="M9.5 17.25C14.0563 17.25 17.75 13.5563 17.75 9C17.75 4.44365 14.0563 0.75 9.5 0.75C4.94365 0.75 1.25 4.44365 1.25 9C1.25 13.5563 4.94365 17.25 9.5 17.25Z" stroke="%23606060" stroke-width="1.5"/><path d="M10.25 4.5C10.25 4.08579 9.91421 3.75 9.5 3.75C9.08579 3.75 8.75 4.08579 8.75 4.5H10.25ZM9.5 9.5H8.75C8.75 9.75076 8.87533 9.98494 9.08397 10.124L9.5 9.5ZM12.084 12.124C12.4286 12.3538 12.8943 12.2607 13.124 11.916C13.3538 11.5714 13.2607 11.1057 12.916 10.876L12.084 12.124ZM8.75 4.5V9.5H10.25V4.5H8.75ZM9.08397 10.124L12.084 12.124L12.916 10.876L9.91603 8.87596L9.08397 10.124Z" fill="%23606060"/></g><defs><clipPath id="clip0_495_2629"><rect width="19" height="18" fill="white"/></clipPath></defs></svg>');
    background-position: 10% 50%;
}

#tripleseat_embed_form input[type='text']#lead_end_time {
    padding-left: 2.8125rem;
    max-width: 10.3125rem;
    width: 100%;
    background-image: url('data:image/svg+xml,<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23clip0_495_2629)"><path d="M9.5 17.25C14.0563 17.25 17.75 13.5563 17.75 9C17.75 4.44365 14.0563 0.75 9.5 0.75C4.94365 0.75 1.25 4.44365 1.25 9C1.25 13.5563 4.94365 17.25 9.5 17.25Z" stroke="%23606060" stroke-width="1.5"/><path d="M10.25 4.5C10.25 4.08579 9.91421 3.75 9.5 3.75C9.08579 3.75 8.75 4.08579 8.75 4.5H10.25ZM9.5 9.5H8.75C8.75 9.75076 8.87533 9.98494 9.08397 10.124L9.5 9.5ZM12.084 12.124C12.4286 12.3538 12.8943 12.2607 13.124 11.916C13.3538 11.5714 13.2607 11.1057 12.916 10.876L12.084 12.124ZM8.75 4.5V9.5H10.25V4.5H8.75ZM9.08397 10.124L12.084 12.124L12.916 10.876L9.91603 8.87596L9.08397 10.124Z" fill="%23606060"/></g><defs><clipPath id="clip0_495_2629"><rect width="19" height="18" fill="white"/></clipPath></defs></svg>');
    background-position: 10% 50%;
}

#tripleseat_embed_form input[type='text']#lead_phone_number_extension {
    width: 60px;
}

#tripleseat_embed_form input[type='text']#lead_phone_number {
    max-width: 252px;
    width: 100%;
}

#tripleseat_embed_form .row_first_name td {
    width: 50%;
    box-sizing: border-box;
}

#tripleseat_embed_form .row_time {
    @media (width >768px) {
        display: flex;   
    }
}

#tripleseat_embed_form input[type='text']#lead_first_name,
#tripleseat_embed_form input[type='text']#lead_last_name,
#tripleseat_embed_form input[type='text']#lead_email_address,
#tripleseat_embed_form input[type='text']#lead_phone_number,
#tripleseat_embed_form input[type='text']#lead_company {
    @media (width <=549px) {
        width: 100%;
    }
}

#tripleseat_embed_form .g-recaptcha {
    margin-top: 2.0625rem;
    margin-bottom: 2.3125rem;
}

#tripleseat_embed_form .button {
    padding: 1.1875rem 4.25rem 1.0625rem 4.25rem;
    color: var(--color-white);
    background-color: var(--color-red);
    border: none;
    text-transform: uppercase;
    font-size: 1em !important;
    font-weight: 700 !important;
    font-family: var(--font-family-heading);
    cursor:pointer;
}

#tripleseat_embed_form #lead_form_submit a {
    display: none;
}

/* Datepicker styles */
#tripleseat_embed_form div#ui-datepicker-div {
    top: 2.1875rem !important;
    left: 11rem !important;
    margin: 0;
    padding: .2em .2em 0;
    font-size: 12px !important;

    @media (width <=549px) {
        top: 5.25rem !important;
        left: 0 !important;
    }
}

#tripleseat_embed_form .ui-datepicker-header {
    padding: .2em 0;
    margin: 0;
    border: none;
}

#tripleseat_embed_form .ui-datepicker-calendar {
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

#tripleseat_embed_form div#ui-datepicker-div table th:first-child {
    border-left: 1px solid #ddd;
}

#tripleseat_embed_form div#ui-datepicker-div table tbody td .ui-state-default {
    color: #555555;
    border: 1px solid #d3d3d3;
    background: #e6e6e6;
    text-align: right;
    line-height: 1.25;
    border-radius: unset;
}

#tripleseat_embed_form div#ui-datepicker-div table tbody td .ui-state-highlight {
    color: #363636;
    border: 1px solid #fcefa1;
    background: #fbf9ee
}

#tripleseat_embed_form div#ui-datepicker-div .ui-datepicker-prev {
    left: 2px;
}

#tripleseat_embed_form div#ui-datepicker-div .ui-datepicker-next {
    right: 2px;
}

#tripleseat_embed_form div#ui-datepicker-div .ui-datepicker-prev::before,
#tripleseat_embed_form div#ui-datepicker-div .ui-datepicker-next::before {
    left: 7px;
    top: 7px;
}

.ui-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-title select {
    margin: 0 !important;
}