/**
 * Support CSS
 * -----------------------------------------------------------------------
 * Styles for support pages, data tables, press releases, and contact page.
 * -----------------------------------------------------------------------
 */


/* ==========================================================================
   Support & Tables
   Used on: support pages, Page #2104, Preparation Systems pages
   ========================================================================== */

/* Support software table — header row uses the light blue brand color */
.support-software-table-header tr,
.SDS-table-header tr { background: var(--e-global-color-ced374f); }

/* Support software table — cell padding for both header and data rows */
.support-software-table td,
.support-software-table-header td { padding: 10px; }

/* SDS (Safety Data Sheet) table — header row text in dark blue */
.SDS-table-header tr { color: var(--e-global-color-primary); }

/* Preparation Systems specs table — alternating row background colors */
.ps-specs-table tr:nth-child(even) { background-color: #f2f2f2 !important; }
.ps-specs-table tr:nth-child(odd) { background-color: #ffffff; }


/* ==========================================================================
   Press Releases — single posts in category #226
   ========================================================================== */

/* Press release banner — dark blue background strip at the top of press release posts */
.book_banner_press { padding: 0px; background: var(--e-global-color-primary); }

/* Book/report link — orange color for links inside the banner */
.book_link_press a { color: var(--e-global-color-secondary) !important; }

/* Banner paragraph spacing — adds top/bottom margin to text inside the banner */
.book_banner_press p,
.book_link_press p { margin-block-start: 20px !important; margin-block-end: 20px !important; }


/* ==========================================================================
   Contact Us — Page #3501 (/contact-us/)
   ========================================================================== */

/* Animated underline button — shrinks the line to 10% on hover */
.big-contant-button:hover .big-button-line { width: 10% !important; }
.big-button-line { transition: width 0.3s ease; }

/* Country dropdown — full width with padding inside the country selector form */
.selected_country_form select { width: 100%; padding: 10px; }

/* Office address block — text and link colors inside the filtered office address result */
#filtered_address h3 { color: var(--e-global-color-secondary); }
#filtered_address h4 { color: var(--e-global-color-secondary); }
#filtered_address a { color: White; }
#filtered_address a:hover { color: var(--e-global-color-secondary); }
#filtered_address p { color: White; }

/* Office name heading — white, bold, with bottom border separator */
.office-name { color: White; margin-top: 50px; font-weight: 700; border-bottom: solid 1px white; }


/* ==========================================================================
   Single Product Support — /support/[product-slug]/
   Used on: all pages under https://micromeritics.com/support/
   Software downloads table + consumables/accessories table
   ========================================================================== */

/* Software table — column widths for part number / description / notes / download */
.support-software-table { width: 100%; }
.software-part-number { width: 20%; border-bottom: 1px solid #ccc; }
.software-description { width: 30%; border-bottom: 1px solid #ccc; }
.software-note { width: 40%; border-bottom: 1px solid #ccc; }
.software-download-link { width: 10%; border-bottom: 1px solid #ccc; text-align: center !important; }

/* Download icon — scales up on hover */
.download-link-software:hover img { scale: 1.2; }
.download-link-software img { width: 25px; }

/* Software table header row */
.support-software-table-header { width: 100%; }
.support-software-table-header td { font-weight: 600; text-align: left; }
.header-part-number { width: 20%; }
.header-description { width: 30%; }
.header-note { width: 40%; }
.header-download { width: 10%; text-align: center !important; }

/* Mobile — smaller font, tighter padding, adjusted column widths */
@media screen and (max-width: 600px) {
    .support-software-table,
    .support-software-table-header { font-size: 12px !important; line-height: 15px; padding: 2px; }
    .software-part-number { width: 25%; padding: 1px !important; }
    .software-description { width: 40%; }
    .software-note { width: 20%; }
    .software-download-link { width: 15%; }
    .download-link-software img { width: 20px; }
    .support-software-table-header td,
    .support-software-table td { text-align: left; }
    .header-part-number { width: 25%; }
    .header-description { width: 40%; }
    .header-note { width: 20%; }
    .header-download { width: 15%; text-align: center; }
    .dt-search { text-align: left !important; }
    /* Hides the "Notes" column on mobile — too narrow to be readable */
    .support-software-table td:nth-child(3),
    .support-software-table-header td:nth-child(3) { display: none; }
}

/* Consumables/accessories table — 3-column layout (part / description / notes) */
.consumables td:first-child { width: 15%; }
.consumables td:nth-child(2) { width: 40%; }
.consumables td:nth-child(3) { width: 45%; }
@media screen and (max-width: 600px) {
    .consumables { font-size: 12px; line-height: 15px; }
}


/* ==========================================================================
   PTA Price List — Page #3571
   Used on: https://micromeritics.com/particle-testing/price-list/
   Controls the sidebar TOC menu styling
   ========================================================================== */

/* Bold top-level TOC items, hide the TOC header, remove top margin from the list */
.page-id-3571 .pta-list-menu .elementor-toc__top-level { font-weight: 700; }
.page-id-3571 .pta-list-menu .elementor-toc__header { display: none; }
.page-id-3571 .pta-list-menu ul { margin-block-start: 0px !important; }
