/********************************************************************************************
**
** This will footer on PAS tix events pages. We made a theme with 'hideme' links
** we match on the hideme and then we hide them! We also use has() with hideme to specifically
** target these PAS forms for styling
**
********************************************************************************************/

/* Stop logo from being link to HT */
body:has(footer#footer-content a[href="https://hideme.hideme"])
.nt-navbar-logo a {
  pointer-events: none;
  cursor: default;
}

/* Cleanup some spacing items */
body:has(footer#footer-content a[href="https://hideme.hideme"])
.nt-navbar-brand {
    padding-bottom: 0px !important;
}
body:has(footer#footer-content a[href="https://hideme.hideme"])
#form-wrapper {
    margin-top: 0px !important;
    padding-top: 8px !important;
}

/* If the footer has the hideme link, hide the 'Event Registration' page title */
body:has(footer#footer-content a[href="https://hideme.hideme"])
  .neoncrm-page-title {
    display: none !important;
}

/* Make name and dates center + larger */
body:has(footer#footer-content a[href="https://hideme.hideme"])
.neoncrm-event-name {
    text-align: center;
    font-size: 26px;
}

/* header.nt-navbar:has(a[href*="hideme.hideme"]) ~ * */
body:has(footer#footer-content a[href="https://hideme.hideme"])
.neoncrm-event-date {
    text-align: center;
}

/* Hide footer if it contains the marker link */
footer#footer-content:has(a[href="https://hideme.hideme"]) {
  display: none !important;
}

/* remove margin spacing between VFCR and address */
body:has(footer#footer-content a[href="https://hideme.hideme"])
  .neoncrm-event-location .neoncrm-field-text {
    margin-top: 0 !important;
}

/* Hide the last row which contains under 18 / free option */
body:has(footer#footer-content a[href*="hideme.hideme"])
  .neoncrm-event-admission 
  .neoncrm-ticket-options-table tbody tr:last-of-type {
    display: none !important;
}

/********************************************************************************************
**
** This will target only the PAS Corp + Individual Sponsor forms -- form 20 and 21
**
********************************************************************************************/

/* Header bottom border */
body:has(#neonform_20) .container-fluid.neonfront_header, body:has(#neonform_21) .container-fluid.neonfront_header {
  border-bottom: 1px solid #e5e7eb !important;
}


/********************************************************************************************
**
** This will target only the PV250 Gala form - form 19
**
********************************************************************************************/

body:has(#neonform_19) #header-content.navbar {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/* remove Bootstrap container padding that prevents flush-left */
body:has(#neonform_19) #header-content .container-fluid.neonfront_header {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* kill brand padding/margins and stop it from imposing height */
body:has(#neonform_19) #header-content .navbar-brand {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
}

/* remove baseline/line-height “extra space” */
body:has(#neonform_19) #header-content .neonfront_logo,
body:has(#neonform_19) #header-content .neonfront_logo a {
  display: inline-block !important;
  line-height: 0 !important;
}

/* logo image flush-left and defines height */
body:has(#neonform_19) #header-content .neonfront_logo img {
  display: block !important;
  margin: 0 !important;
  height: auto !important;
}
