/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Product tables: align left column titles */
.product-info td:first-child,
.product-info th:first-child {
    text-align: left !important;
    vertical-align: top !important;
}

/* Product profile icons: keep small and inline */
.product-info img.profilo-icon {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 14px !important;
    margin-bottom: 8px !important;
}

/* Keep icon row compact */
.product-info td p img.profilo-icon {
    float: none !important;
}

.leghe-table-small {
    width: 100%;
    overflow-x: auto;
}

.leghe-table-small table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
}

.leghe-table-small th,
.leghe-table-small td {
    padding: 3px 4px !important;
    white-space: nowrap !important;
}

/* SIDEX ACCIAI IMPORTER START */

.sidex-technical-sheet {
    width: 100%;
    font: inherit;
    line-height: 1.55;
}

.sidex-technical-sheet h3 {
    margin: 1.45em 0 0.45em;
    font-size: 1.08em;
    line-height: 1.3;
    font-weight: 700 !important;
}

.sidex-technical-sheet h3 em {
    font-weight: inherit;
}

.sidex-technical-sheet p {
    margin: 0.45em 0 1em;
}

/* Reference-standard lines below the page title */
.sidex-technical-sheet .sidex-reference {
    margin: 0 auto 2.2em;
    text-align: center;
}

.sidex-technical-sheet .sidex-reference p,
.sidex-technical-sheet .sidex-reference h3 {
    margin: 0.35em 0;
    font-size: 1em;
    line-height: 1.45;
    font-weight: 400 !important;
}

/* Italian and English text columns */
.sidex-technical-sheet .sidex-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
    margin: 1.4em 0 1.8em;
}

.sidex-technical-sheet .sidex-two-columns > div > h3:first-child,
.sidex-technical-sheet .sidex-two-columns > div > p:first-child {
    margin-top: 0;
}

/* Responsive technical tables */
.sidex-technical-sheet .sidex-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1em 0 2em;
}

.sidex-technical-sheet .sidex-data-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
    line-height: 1.25;
}

.sidex-technical-sheet .sidex-data-table th,
.sidex-technical-sheet .sidex-data-table td {
    padding: 7px 8px;
    border: 1px solid #333;
    text-align: center;
    vertical-align: middle;
}

.sidex-technical-sheet .sidex-data-table th {
    font-weight: 700;
}

/* Merged cells are centered by default */
.sidex-technical-sheet .sidex-data-table th[colspan],
.sidex-technical-sheet .sidex-data-table td[colspan] {
    text-align: center;
}

/* Full-width descriptive header in the first table row */
.sidex-technical-sheet .sidex-data-table tr:first-child > th[colspan],
.sidex-technical-sheet .sidex-data-table tr:first-child > td[colspan] {
    padding-left: 10px;
    text-align: left !important;
}

/* Mobile layout */
@media (max-width: 767px) {
    .sidex-technical-sheet .sidex-two-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sidex-technical-sheet .sidex-data-table {
        min-width: 720px;
    }
}

/* SIDEX ACCIAI END */

