/*Have header My AU Portal align with body & footer margins*/
@media only screen and (min-width: 769px) {
    .au-portal-hero-section .flex-box-section-full-interior,
    .custom-form-content .rfwf-full-panel .rfwf-panel-interior,
    div#rf-content .rfwf-full-panel .rfwf-panel-interior {
      --gutter-x: 60px;
      padding: 0 var(--gutter-x);
      width: 100% !important;
      max-width: calc(1500px + (var(--gutter-x) * 2))!important;
  }
}
@media only screen and (max-width: 768px){
    .au-portal-hero-section .flex-box-section-full-interior .flex-box-section,
    .custom-form-content .rfwf-full-panel .rfwf-panel-interior,
    div#rf-content .rfwf-full-panel .rfwf-panel-interior{
        width: 95%;
        margin: 0 auto;
    }
}


  @media print {
    @page {
      margin: .25in;
    }
    .certrow1 .flex-box-section .flex-box-child.rf-grid-layout-100 .flex-box-section:first-child .flex-box-child.rf-grid-layout-33:not(:first-child) {
      display: none;
    }
    .certrow1 .flex-box-section .flex-box-child.rf-grid-layout-100 .flex-box-section:nth-child(2) .flex-box-child.rf-grid-layout-33:last-child {
      display: none;
    }
  }
  @media only screen and (orientation: landscape) {
    .flex-box-section-full.certrow1 .flex-box-section {
      width: 100% !important;
    }
  }
  .sql-report-header {
    display: none;
  }
  .table-results {
    display: none;
  }
  .rf-workflow .md-frame.search-output {
    margin-top: 0;
  }
  .certrow2 {
    padding: 20px 0 0;
  }
  .certtable {
    padding-top: 0px;
  }
  .table-row.table-header div {
    color: black !important;
  }
  .rf-table-container .rf-table .table-body .table-row.table-header > div {
    border-bottom-color: black !important;
    border-top: none;
  }
  .table-row[data-test='adv-table-row'] {
    border-bottom-style: dashed !important;
  }
  .table-row:last-child {
    border-bottom: 1pt black !important;
  }
  .flex-box-section-full.certheader {
    padding-bottom: 0px;
  }
  .flex-box-section-full.certrow1 {
    padding-top: 0px;
  }
  .flex-box-section-full.certinfo {
    padding-top: 0px;
  }
  div#adsk-eprivacy-privacy-settings-footer-container {
    display: none;
  }
  .keep-bullets h3 {
    font-size: 24px !important;
  }

  @media print {
    .hidden-print {
      display: none !important;
    }

    .flex-box-section-full {
      padding-top: 0px;
    }
  }

/***Dashboard Code***/
/**My Profile Tab**/
/*Hide file name & extension, as well as icons beneath profile photo*/
.myprofile.tab-content .uploader-container.upload-file-area .container-file {
    display: none;
}
/*Remove false sense of ability to click on empty profile picture outline*/
.myprofile.tab-content .uploader-container.upload-file-area {
    pointer-events: none;
}
/*Hide duplicative text above profile picture section*/
.myprofile .upload-file-form-container.rf-upload-file .rf-label {
    display: none;
}
/*Profile Information card - Hide Review, back button, and initial divider text*/
.rf-card.booth-details-card .reviewpagebackbtn,
.rf-card.booth-details-card .reviewpageheader {
    display: none;
}
/*Hide unecessary dropdown selector that is on read-only form*/
.myprofile .rf-card.booth-details-card .card-body .rf-dropdown-container {
    display: none;
}

/*Move Hotel Card Book now button to left-aligned, and make black*/
.rf-card.hotel-card .card-controls button.mdBtnR.mdBtnR-primary {
    margin-right: auto;
    background-color: black;
    border-color: black;
}
.rf-card.hotel-card .card-controls button.mdBtnR.mdBtnR-primary span.mdBtnR-text {
    color: white;
}

/**Order Summary Tab**/
/*Fix padding to match card title*/
.order-summary-card .card-body {
    padding-left: 30px;
    padding-right: 30px;
}

/*Hide Back & Continue Buttons for Guest Management workflow*/
.rfwf-full-panel.rf-workflow-guest-pass .workflow-footer-buttons {
    display: none;
}


/*****BULK PASS MANAGEMENT/GROUP PASSES PAGE CODE*****/
/*Fix spacing for bulk pass management page*/
@media only screen and (min-width: 769px) {
    div#bulkPackagesDashboard {
        padding-top: 50px!important;
        --gutter-x: 60px;
        padding: 0 var(--gutter-x);
        width: 100% !important;
        max-width: calc(1500px + (var(--gutter-x) * 2));
    }
}
@media only screen and (max-width: 768px) {
    div#bulkPackagesDashboard {
        padding-top: 20px!important;
    }
}
.manage-registrants-card .item-card {
    margin-left: 0px;
}


/***Group codes path***/
body[class*="-groupregistration"] .rfwf-full-panel.rfwf-subheader {
    display: none;
}
body[class*="-groupregistration"] .custom-form-content > .rfwf-full-panel {
    padding-top: 0px;
}
body[class*="-au2026-groupregistration-form-account"] button#wf-btn-submit {
    margin-left: -12px;
}


/***Upgrade path - Orders page***/
/*Fix submit order button - make black*/
.orders-page .rfwf-full-panel.rfwf-orders-buttons button.mdBtnR.mdBtnR-primary {
    background-color: black;
    border-color: black;
}
.orders-page .rfwf-full-panel.rfwf-orders-buttons button.mdBtnR.mdBtnR-primary span.mdBtnR-text {
    color: white;
}

/***Edit attendee info Form***/
/*Align continue/save button to left margin with no back button*/
body[class*="-editattendeeinfo-form-"] button#wf-btn-submit {
    margin-left: -12px;
}

/**My Account/ Incomplete payment CSS*/
/*change submit button for payment modal to black*/
.payment-modal button.mdBtnR.mdBtnR-primary {
    background-color: black;
    border-color: black;
    color: white;
}

/***Request Visa Letter code***/
/*Fix alignement of Continue/save button*/
body[class*="-requestvisa-form-"] .form-footer-actions button#wf-btn-submit {
    margin-left: -12px;
}

/***Hotel Module Code***/
/****Housing Module Code****/
/**Housing Search button - black background, white text**/
button.rf-housing-search,
button.rf-housing-search:hover {
    background-color: black;
    border-color: black;
}
button.rf-housing-search span.mdBtnR-text,
button.rf-housing-search:hover span.mdBtnR-text {
    color: white;
}
button.rf-housing-search svg,
button.rf-housing-search svg:hover {
    fill: white !important;
}
/**Housing Book later button - black backgroudn, white text**/
button.rf-housing-book-later,
button.rf-housing-book-later:hover,
button.rf-housing-book-later:focus {
    background-color: black;
    border-color: black;
}
button.rf-housing-book-later span.mdBtnR-text,
button.rf-housing-book-later:hover span.mdBtnR-text,
button.rf-housing-book-later:focus span.mdBtnR-text {
    color: white;
}button.rf-housing-book-later,
button.rf-housing-book-later:hover {
    background-color: black;
    border-color: black;
}
button.rf-housing-book-later span.mdBtnR-text,
button.rf-housing-book-later:hover span.mdBtnR-text{
    color: white;
}
/*Thumbnail count for Hotel module*/
.thumbnail-count {
    color: white !important;
}
/**Booking button - make black*/
.room-pricing button.mdBtnR.mdBtnR-primary {
    background-color: black;
    border-color: black;
}
.room-pricing button.mdBtnR.mdBtnR-primary span.mdBtnR-text {
    color: white;
}
/**Complete booking hotel button*/
.complete-booking.details-block .summary-complete-action button.mdBtnR.mdBtnR-primary {
    background-color: black;
    border-color: black;
}
.complete-booking.details-block .summary-complete-action button.mdBtnR.mdBtnR-primary span.mdBtnR-text {
    color: white;
}
/*Hotel Confirmation page edits*/
.hotel-confirmation-wrapper button.mdBtnR.mdBtnR-primary {
    background-color: black;
    border-color: black;
}
.hotel-confirmation-wrapper button.mdBtnR.mdBtnR-primary span.mdBtnR-text {
    color: white;
}

/* ============================================================
   VISA LETTER PRINT STYLES
   Applied when the user clicks "Print / Save as PDF" on the
   visa letter page (/visaletter/page/...).
   Only affects print output — zero impact on screen rendering.
   ============================================================ */

@media print {

  /* ── Hide My AU Portal chrome ──
     The hero banner, left nav sidebar, and progress bar should
     not appear in the printed visa letter. */
  #nav-sidebar,
  .au-portal-hero-section,
  #rf-progress-bar,
  div#adsk-eprivacy-privacy-settings-footer-container {
    display: none !important;
  }

  /* ── Fix multi-page clipping ──
     The portal wraps its main content in a scrollable container
     with a fixed height or overflow:auto. The browser honours
     this during print layout and clips everything beyond the
     first "screen" to a single page.
     Setting overflow:visible and height:auto on every ancestor
     of the visa letter content forces the browser to lay out
     the full document height instead of the viewport height. */
  html,
  body,
  .rf-workflow,
  .rf-workflow-body-content,
  .rf-workflow-section,
  .md-frame,
  .page-builder-display-reset,
  .flex-box-section-full,
  .flex-box-section-full-interior,
  .flex-box-section,
  .flex-box-child,
  .element-container-wrapper,
  .element-container,
  .keep-bullets {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  /* ── Make content fill the full page width once sidebar is gone ── */
  .rf-workflow {
    display: block !important;
  }
  .rf-workflow-body-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* ── 50/50 column layout ──
     Flex containers do not split across print pages; table-cell
     does. Convert the certrow1 columns to table layout so the
     header row prints correctly. */
  .certrow1 .flex-box-section {
    display: table !important;
    width: 100%;
  }
  .certrow1 .rf-grid-layout-50 {
    width: 50%;
    display: table-cell !important;
  }

    
    
/*CHAT GPT FIX*/
  /* ============================================================
     VISA LETTER PRINT SPACING FIX
     Fixes portrait + landscape spacing inconsistencies
     between Autodesk logo and visa letter date.
     ============================================================ */

  /* Remove inconsistent empty spacer div behavior */
  .keep-bullets div:empty {
    display: none !important;
  }

  /* Normalize div spacing in print */
  .keep-bullets div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Portrait print:
     preserve natural spacing below logo */
  .keep-bullets img:first-of-type {
    display: block !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Landscape print:
     Chrome collapses spacing, so force it back */
  @media print and (orientation: landscape) {
    #visalogo {
      margin-bottom: 32px !important;
    }
    .todays-date{
      margin-top:32px;
    }
  }

  /* Consistent spacing below date 
  #todays-date {
    display: block !important;
    margin-bottom: 32px !important;
  }*/
}



/*Hide Exec Summit cancellation policy from Upgrade Orders page*/
body[class*="-upgrade-order"] .execsummitcancellationpolicy {
    display: none;
}

/* Change Manage Booking dropdown highlighted text color and icon from white to black */
button.simple-over-action-item,
button.simple-over-action-item span {
    color: black !important;
}
#edit-hotel-booking .rfSI svg path:not([fill="none"]) {
    fill: black !important;
}
#change-hotel-booking:hover .rfSI svg path:not([fill="none"]),
#change-hotel-booking:focus .rfSI svg path:not([fill="none"]) {
    fill: black !important;
}
