/* Global */

h1 {font-size: 2.2em;} 
h2 {font-size: 1.8em;} 
h3 {font-size: 1.4em;} 
h4 {font-size: 1.0em; font-weight: bold;} 

img { border:0px; }

.navbar.hazmattool .navbar-brand.site-logo-brand {
  padding: 6px 10px 6px 8px;
  height: 52px;
  display: flex;
  align-items: center;
}

.navbar.hazmattool .navbar-brand .site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: transparent;
}

.navbar.hazmattool .navbar-brand .site-logo-link:hover,
.navbar.hazmattool .navbar-brand .site-logo-link:focus {
  text-decoration: none;
  background: transparent;
}

.navbar.hazmattool .navbar-brand .site-logo-img {
  display: block;
  border: 0;
  background: transparent;
}

.navbar.hazmattool .navbar-brand .site-logo-img-trgs {
  height: 36px;
  width: auto;
  max-width: min(290px, 56vw);
}

.navbar.hazmattool .navbar-brand .site-logo-img-ushmr {
  height: 50px;
  width: auto;
  max-width: 180px;
}

body {
  padding-left: 0.5em;
  padding-right: 1em;
}

/* Elements */

#hazInfoMenu { 
  margin-top:0px;
}

#content {
  /* margin-top: 5.2em; */
  margin-bottom: 2em;
}

/* Classes */

.row {
  margin-bottom: 0.3em;
  padding-left: 1em;
}

.anchor {
  display: block;
  height: 4em; 
  margin-top: -4em;
  visibility: hidden;
}

@media (min-width:960px) { 
  .smallonly {
    display: none;
  }
}

.middle {
  vertical-align: middle;
}

.matRed { 
  color: white;
  background-color: red;
  -webkit-print-color-adjust: exact; 
  width: 20px
}

.matRed > a {  
  color: white;
}

.matYellow {
  color: black;
  background-color: yellow;
  -webkit-print-color-adjust: exact; 
  width: 20px
}

.matYellow > a {  
  color: black;
}

.matGreen {
  color: black;
  background-color: green;
  -webkit-print-color-adjust: exact; 
  width: 20px  
}

/* not used right now */
.matGreen > a {  
  color: white;
}

.border1 {
  border-width:medium !important; 
  border-style:dotted dotted solid dotted !important; 
  border-color:#FFA500 #FFA500 black #FFA500 !important; 
  border-width:3px 3px 1px 3px !important;
}

.border2 {
  border-width:medium !important; 
  border-style:dotted solid dotted dotted !important; 
  border-color:#FFA500 black #FFA500 #FFA500 !important;
  border-width:3px 1px 3px 3px !important;
}

.border3  {
  border-width:medium !important; 
  border-style:solid dotted dotted solid!important; 
  border-color:black #FFA500 #FFA500 black!important; 
  border-width:1px 3px 3px 1px !important;
}

.border4  {
  border-width:medium !important; 
  border-style:solid dotted solid dotted !important; 
  border-color:black #FFA500 black #FFA500 !important; 
  border-width:1px 3px 1px 3px !important;
}

.border5 {
  border-width:medium !important; 
  border-style:dotted solid dotted solid !important; 
  border-color:#FFA500 black #FFA500 black !important; 
  border-width:3px 1px 3px 1px !important;
}

.btn {
    white-space: normal !important;
    word-wrap: break-word;
}
	
.tooltip {
   z-index: 2000;   
   text-decoration:none;
}

div.tooltip-inner {
    max-width: 350px;
}

.source {
  color: gray;
  font-size:10px;
}

.checklist {
  list-style-image:url("../images/check_24.png")  
}

.rowAbschnitt td {
  vertical-align:top;
  border-top-width:4px !important; 
  border-top-style:solid; 
  border-top-color:black;
  border-bottom-width:4px !important; 
  border-bottom-style:solid; 
  border-bottom-color:black;
}

.breadcrumb * {
    padding:0px;
    margin:0px;
}

.tab a, #tabs-1 a, #tabs-2 a, #tabs-3 a, #tabs-4 a {
	color: blue;
}

/* Substance info (info.php) — at a glance, jump nav, print */
.haz-info-glance {
  margin-bottom: 1em;
  border-color: #b8d4e8;
}
.haz-info-glance-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5em 1em;
}
.haz-info-glance-title {
  font-size: 1.35em;
  margin: 0;
  flex: 1 1 12em;
  line-height: 1.3;
}
.haz-info-hmt-badge {
  font-size: 85%;
  font-weight: normal;
  white-space: nowrap;
}
.haz-info-glance-facts {
  margin-bottom: 0.75em;
}
.haz-info-glance-facts dt {
  width: 11em;
  text-align: left;
}
.haz-info-glance-facts dd {
  margin-left: 12em;
}
@media (max-width: 480px) {
  .haz-info-glance-facts dt,
  .haz-info-glance-facts dd {
    width: auto;
    margin-left: 0;
    float: none;
  }
  .haz-info-glance-facts dt {
    margin-top: 0.5em;
    font-weight: bold;
  }
}
.haz-info-glance-actions .btn-group {
  margin-top: 0;
  margin-bottom: 0;
}
.haz-info-trgs-lgk {
  max-width: 220px;
}
.haz-info-trgs-lgk img {
  max-width: 100%;
  height: auto;
}
.haz-info-sources li {
  margin-bottom: 0.35em;
}
.haz-info-toolbar {
  margin: 0.25em 0 0.75em;
}
.haz-info-jump {
  margin-bottom: 1em;
}
.haz-info-print-header {
  display: none;
}

@media print {
  .no-print,
  .no-print *,
  .adsense-slot,
  .adsense-slot *,
  #hazInfoMenu,
  .haz-info-toolbar,
  .haz-info-jump,
  nav.navbar,
  .navbar,
  footer,
  .alert-dismissible {
    display: none !important;
  }
  body {
    margin-top: 0 !important;
    padding: 0.5em 1em;
    font-size: 11pt;
  }
  .haz-info-print-header {
    display: block !important;
    border-bottom: 1px solid #333;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
  }
  .haz-info-print-header .haz-info-print-meta {
    display: block;
    font-size: 9pt;
    color: #444;
    margin-top: 0.25em;
  }
  .haz-info-glance {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  .haz-info-glance-actions {
    display: none !important;
  }
  .haz-info-hmt-badge {
    border: 1px solid #666;
    color: #000 !important;
    background: #eee !important;
  }
  a[href]:after {
    content: none !important;
  }
  .anchor {
    height: 0;
    margin-top: 0;
  }
}

.table-borderless tbody tr td, .table-borderless tbody tr th, .table-borderless thead tr th {
    border: none;
}

.table_thcent th {
   text-align: center !important;
}

.row-centered {
  text-align:center;
}
.col-centered {
  display:inline-block;
  float:none;
  margin-right:-4px;
}

.pgBig {
  font-size:175%;
}

.outputbox {
  -moz-box-shadow:    3px 3px 5px 6px #E6E6E6;
  -webkit-box-shadow: 3px 3px 5px 6px #E6E6E6;
  box-shadow:         3px 3px 5px 6px #E6E6E6;
  padding:2px;
  margin:5px;
}

.datatable {
  background-color: #E6E6E6;
  border-style: solid solid solid solid;
  border-color: black;
  border-width: 1px;
  vertical-align: top;
  border-collapse: collapse; 
}

.datatable td { 
  border: 1px solid black;
  padding:2px;
}

.table-container {
  width: 100%;
  overflow-y: auto;
  _overflow: auto;
  margin: 0 0 1em;
}

.table-container::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.table-container::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}

/************************** */
/* linkblock_classes        */
/************************** */
.linkblock_default { width: 180px; height: 90px; }
@media (min-width: 470px) { .linkblock_default { width: 468px; height: 15px; } }
@media (min-width: 500px) { .linkblock_default { width: 728px; height: 15px; } }

/************************** */
/* linkblock_info_right */
/************************** */
.linkblock_info_right { width: 200px; height: 90px; }
@media (max-width: 1215px) { .linkblock_info_right { display: none !important; } }

/************************** */
/* banner_specialprovisions */
/************************** */
.banner_specialprovisions { width: 234px; height: 60px; }
@media (min-width: 470px) { .banner_specialprovisions { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_specialprovisions { width: 728px; height: 90px; } }
@media (min-width: 997px) { .banner_specialprovisions { width: 336px; height: 280px; } }

/*********************** */
/* banner_specialprovisions_wide */
/*********************** */
.banner_specialprovisions_wide { width: 234px; height: 60px; } 
@media (min-width: 470px) { .banner_specialprovisions_wide { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_specialprovisions_wide { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .banner_specialprovisions_wide { width: 970px; height: 90px; } }

/************************** */
/* banner_classes           */
/************************** */
.banner_classes { }
@media (max-width: 997px) { .banner_classes { display: none !important; } }
@media (min-width: 997px) { .banner_classes { width: 336px; height: 280px;padding-top:1em;} }

/*********************** */
/* banner_classes_wide   */
/*********************** */
.banner_classes_wide { width: 234px; height: 60px; } 
@media (min-width: 470px) { .banner_classes_wide { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_classes_wide { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .banner_classes_wide { width: 970px; height: 90px; } }

/*********************** */
/* banner_classes_bottom */
/*********************** */
.banner_classes_bottom { width: 234px; height: 60px; }
@media (min-width: 470px) { .banner_classes_bottom { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_classes_bottom { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .banner_classes_bottom { width: 970px; height: 90px; } }

/*********************** */
/* banner_matched        */
/*********************** */
.banner_matched { width: 234px; height: 300px;} 
@media (min-width: 600px) { .banner_matched { width: 600px; height: 300px; } }
@media (min-width: 800px) { .banner_matched { width: 800px; height: 400px; } }

/*********************** */
/* info_top */
/*********************** */
.info_top { width: 234px; height: 60px;} 
@media (min-width: 470px) { .info_top { width: 468px; height: 60px; float:left;} }
@media (min-width: 740px) { .info_top { width: 728px; height: 90px; float:left;} }
@media (min-width: 980px)  { .info_top { width: 970px; height: 90px; float:left;} }

/*********************** */
/* info_top2 */
/*********************** */
.info_top2 { width: 234px; height: 60px; } 
@media (min-width: 470px) { .info_top2 { width: 468px; height: 60px; } }
@media (min-width: 740px) { .info_top2 { width: 728px; height: 90px; } }
@media (min-width: 1000px) { .info_top2 { width: 468px; height: 60px;} }
@media (min-width: 1150px) { .info_top2 { width: 728px; height: 90px;} }
@media (min-width: 1200px) { .info_top2 { width: 468px; height: 60px;} }
@media (min-width: 1470px) { .info_top2 { width: 728px; height: 90px;} }
@media (min-width: 2000px) { .info_top2 { width: 970px; height: 90px;} }

/* Wrapper to reserve ad slot size and center content (reduces CLS). */
.adsense-slot { display: flex; justify-content: center; align-items: flex-start; margin: 10px 0; }

/* Nav quick search: show autosuggest above dropdown panel */
.navbar.hazmattool .dropdown-grid-wrapper > .dropdown-menu {
  overflow: visible;
}

/* Keep Chemical Search nav panel open while autosuggest list is visible */
@media (min-width: 768px) {
  .navbar.hazmattool.dropdown-onhover .navbar-nav > li.dropdown-grid.hazmat-suggest-open > .dropdown-grid-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.hazmat-suggest-host {
  position: relative !important;
}

/* HazMat autosuggest (absolute dropdown under input) */
.hazmat-suggest-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 280px;
  margin-top: 2px;
  z-index: 10050;
  display: none;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #b8c5d4;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.hazmat-suggest-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.hazmat-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.35;
}
.hazmat-suggest-item:hover,
.hazmat-suggest-item:focus {
  background: #e8f4fc;
  outline: none;
}
.hazmat-suggest-label {
  display: block;
  font-weight: 600;
  color: #0e69be;
}
.hazmat-suggest-info {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-top: 2px;
}

/* help.php */
.help-lead {
  font-size: 1.15em;
  line-height: 1.5;
  margin-bottom: 1.25em;
  color: #333;
}
.help-disclaimer {
  border-left: 4px solid #f0ad4e;
}
.help-disclaimer-title {
  margin-top: 0;
  font-size: 1.2em;
  line-height: 1.35;
}
.help-disclaimer p:last-child {
  margin-bottom: 0;
}

/* impressum.php */
.impressum-lead {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 1.25em;
}
.impressum-tech-list {
  padding-left: 1.25em;
}
.impressum-tech-list > li {
  margin-bottom: 1.25em;
}
.impressum-tech-list ul {
  margin-top: 0.35em;
  margin-bottom: 0;
}
/* segregationtable.php */
.segregation-page-wrap {
  max-width: 1100px;
}
.segregation-lead {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 1em;
}
.segregation-cta {
  margin-bottom: 1.25em;
}
.segregation-class-form {
  margin: 0;
}
.segregation-class-form .control-label {
  margin-right: 0.35em;
  font-weight: normal;
}
.segregation-matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.75em;
}
.segregation-matrix-scroll .table-container {
  margin-bottom: 0;
}
.segregation-legend {
  margin-top: 0.5em;
  margin-bottom: 0;
}
.segregation-downloads .panel-body {
  text-align: center;
}
.segregation-preview {
  margin: 0 auto 1em;
  max-width: 100%;
  height: auto;
}
.segregation-download-list {
  text-align: left;
  margin: 0;
}
.segregation-download-list li {
  margin-bottom: 0.5em;
}
.segregation-download-list .glyphicon {
  color: #666;
  margin-right: 0.35em;
}
.segregation-note {
  margin-top: 1em;
}
.segregation-note p:last-child {
  margin-bottom: 0;
}

/* privacy.php */
.privacy-page-wrap {
  max-width: 820px;
}
.privacy-lead {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 0.75em;
}
.privacy-toc {
  font-size: 0.95em;
  margin-bottom: 1.5em;
  padding-bottom: 1em;
  border-bottom: 1px solid #e9ecef;
}
.privacy-log-list {
  margin-bottom: 1em;
}
.privacy-matomo-optout {
  margin: 1em 0 1.5em;
  max-width: 100%;
  overflow-x: auto;
}
.privacy-matomo-iframe {
  border: 0;
  width: 100%;
  max-width: 600px;
  height: 200px;
  display: block;
}

/* feedback.php */
.feedback-page-wrap {
  max-width: 820px;
}
.feedback-lead {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 1em;
  color: #333;
}
.feedback-scope {
  border-left: 4px solid #f0ad4e;
  margin-bottom: 1em;
}
.feedback-scope-text {
  margin: 0;
}
.feedback-hint-title {
  margin: 0 0 0.5em;
  font-size: 1.05em;
}
.feedback-hint-list {
  margin: 0;
  padding-left: 1.2em;
}
.feedback-hint-list li {
  margin-bottom: 0.35em;
}
.feedback-hint-list li:last-child {
  margin-bottom: 0;
}
.feedback-panel .panel-heading {
  background: #f7f9fb;
}
.feedback-message {
  min-height: 10em;
  resize: vertical;
}
.feedback-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 1em;
  margin-bottom: 0.5em;
}
.feedback-captcha-img {
  border: 1px solid #ccc;
  border-radius: 3px;
}
.feedback-captcha-input {
  max-width: 12em;
  font-size: 1.1em;
  letter-spacing: 0.08em;
}
.feedback-privacy-label {
  font-weight: normal;
  margin: 0;
}
.feedback-sent-title {
  margin-top: 0;
}
.feedback-footer-note {
  margin-top: 1.25em;
}
@media (max-width: 767px) {
  .feedback-panel .control-label {
    text-align: left;
    padding-bottom: 0.25em;
  }
  .feedback-panel .col-sm-offset-3 {
    margin-left: 0;
  }
}

.site-contact {
  font-style: normal;
  line-height: 1.6;
}
.site-contact-note {
  margin-top: 0.75em;
}

/*********************** */
/* info_top2_indy01      */
/*********************** */
.info_top2_indy01 { border-width:1px !important; border-style:solid; border-color:gray; }
.info_top2_indy01 { width: 310px; height: 60px; } 
#info_top2_indy01_header { font-size:90%; text-align:left; }
#info_top2_indy01_text1 { font-size:80%; }
#info_top2_indy01_text2 { display:none; }
#info_top2_indy01_text3 { display:none; }

@media (min-width: 490px)  { 
  .info_top2_indy01 { width: 468px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:none; }
}

@media (min-width: 749px)  { 
  .info_top2_indy01 { width: 728px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:none; }
}

@media (min-width: 992px)  { 
  .info_top2_indy01 { width: 468px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:none; }
}

@media (min-width: 1095px)  { 
  .info_top2_indy01 { width: 728px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:none; }
}

@media (min-width: 1204px)  { 
  .info_top2_indy01 { width: 468px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:none; }
}

@media (min-width: 1450px)  { 
  .info_top2_indy01 { width: 728px; height: 120px; } 
  #info_top2_indy01_header { font-size:180%; text-align:center }
  #info_top2_indy01_text1 { font-size:100%; }
  #info_top2_indy01_text2 { display:block; }
  #info_top2_indy01_text3 { display:block; }
}

/*********************** */
/* info_right_top        */
/*********************** */
.info_right_top {padding-top:2em; }  
@media (max-width:511px) { .info_right_top { display: none !important;} }
@media (min-width:512px) { .info_right_top { width: 468px; height: 60px; } }
@media (min-width:993px) { .info_right_top { width: 300px; height: 250px; } }
@media (min-width:1002px) and (min-height: 797px) { .info_right_top { width: 300px; height: 600px; } }
@media (min-width:1208px) and (min-height: 1100px)  { .info_right_top { width: 300px; height: 1050px; } }

/*********************** */
/* info_right_top_indy01 */
/*********************** */
.info_right_top_indy01 { margin-top:2em; padding:0.3em; border-width:1px !important; border-style:solid; border-color:gray; } 
@media (max-width:511px) { 
  .info_right_top_indy01 { display: none !important;} 
}

@media (min-width:993px) { 
  .info_right_top_indy01 { width: 300px; height: 282px; } 
  #info_right_top_indy01_header { font-size:180%; }
  #info_right_top_indy01_text1 { font-size:120%; }
  #info_right_top_indy01_text2 { font-size:100%; display:block; }
  #info_right_top_indy01_text3 { font-size:90%; display:block; }
}

/*********************** */
/* info_right_top2        */
/*********************** */
.info_right_top2 { padding-top: 40em; }  
@media (max-width:511px) { .info_right_top2 { display: none !important;} }
@media (min-width:512px) { .info_right_top2 { width: 300px; height: 600px;} }

/*********************** */
/* info_bottom        */
/*********************** */
.info_bottom { width: 234px; height: 60px; }
@media (min-width: 470px) { .info_bottom { width: 468px; height: 60px; } }
@media (min-width: 740px) { .info_bottom { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .info_bottom { width: 970px; height: 90px; } }

/*********************** */
/* banner_segregationtable */
/*********************** */
.banner_segregationtable { width: 234px; height: 60px; } 
@media (min-width: 300px) { .banner_segregationtable { width: 468px; height: 60px; } }
@media (min-width: 680px) { .banner_segregationtable { width: 728px; height: 90px; } }

/*********************** */
/* banner_erg_wide */
/*********************** */
.banner_erg_wide { width: 234px; height: 60px; } 
@media (min-width: 470px) { .banner_erg_wide { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_erg_wide { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .banner_erg_wide { width: 970px; height: 90px; } }

/*********************** */
/* banner_erg_side */
/*********************** */
.banner_erg_side { width: 234px; height: 60px; padding-top:1em; }
@media (min-width: 470px) { .banner_erg_side { width: 468px; height: 60px; padding-top:1em;} }
@media (min-width: 740px) { .banner_erg_side { width: 728px; height: 90px; padding-top:1em;} }
@media (min-width: 997px) { .banner_erg_side { width: 336px; height: 280px;padding-top:1em; } }

/*********************** */
/* banner_erg_bottom     */
/*********************** */
.banner_erg_bottom { width: 234px; height: 60px; }
@media (min-width: 470px) { .banner_erg_bottom { width: 468px; height: 60px; } }
@media (min-width: 740px) { .banner_erg_bottom { width: 728px; height: 90px; } }
@media (min-width: 800px)  { .banner_erg_bottom { width: 970px; height: 90px; } }


.label-new {
    background-color: yellow; /* Red background for visibility */
    color: black; /* White text */
    font-size: 10px; /* Smaller font size to fit well */
    padding: 2px 4px; /* Padding for the label */
    border-radius: 3px; /* Rounded corners */
    vertical-align: middle; /* Aligns the label vertically with the menu text */
    display: inline-block;
    text-transform: uppercase;
}

/* Collapsible scope note (segregation check, no-conflict result) */
.hmt-scope-note {
  margin-top: 12px;
  border: 1px solid #b8d4e8;
  border-radius: 6px;
  background: #f4f9fc;
}
.hmt-scope-note-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  font-weight: 600;
  color: #0E69BE;
  user-select: none;
}
.hmt-scope-note-summary::-webkit-details-marker { display: none; }
.hmt-scope-note-summary::marker { content: ""; }
.hmt-scope-note-chevron {
  color: #0E69BE;
  font-size: 12px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.hmt-scope-note[open] .hmt-scope-note-chevron {
  transform: rotate(90deg);
}
.hmt-scope-note-title { flex: 1 1 auto; min-width: 12em; }
.hmt-scope-note-hint {
  font-weight: normal;
  font-size: 0.85em;
  color: #6c757d;
  margin-left: auto;
}
.hmt-scope-note[open] .hmt-scope-note-hint { display: none; }
.hmt-scope-note-body {
  margin: 0 12px 12px;
  border-top: 1px solid #d4e8f4;
}

/* Printable report: scope note only in appendix section, not under conflicts */
.hmt-compat-print-page .hmt-scope-note--inline {
  display: none !important;
}

/* Compatibility / segregation check — screen + print report */
.hmt-compat-page {
  max-width: 1280px;
  margin: 0 auto 2rem;
}
.hmt-compat-toolbar {
  margin-bottom: 1.25rem;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  border: 1px solid #d8e2ec;
  border-radius: 8px;
}
.hmt-compat-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hmt-compat-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hmt-compat-toolbar-hint {
  margin: 10px 0 0;
}
.hmt-compat-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
}
.hmt-compat-status-ok {
  background: #dff0d8;
  color: #2d6a2d;
  border: 1px solid #b8ddb8;
}
.hmt-compat-status-warn {
  background: #fcf8e3;
  color: #7a5b00;
  border: 1px solid #f0e4b0;
}
.hmt-compat-page-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.hmt-compat-intro {
  color: #555;
  max-width: 52em;
}
.hmt-compat-layout {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.hmt-compat-matrix-wrap {
  overflow-x: auto;
  padding: 4px;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 6px;
}
.hmt-compat-conflicts-col .alert,
.hmt-compat-conflicts .alert {
  margin-bottom: 0;
}
.hmt-compat-section-title {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.15em;
  font-weight: 600;
  border-bottom: 1px solid #e2e8ef;
  padding-bottom: 0.35rem;
}
.hmt-compat-section {
  margin-bottom: 1.5rem;
  page-break-inside: avoid;
}
.hmt-compat-report-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #0E69BE;
}
.hmt-compat-report-title {
  margin: 0 0 0.25rem;
  font-size: 1.5em;
  font-weight: 600;
  color: #1a3a52;
}
.hmt-compat-report-subtitle {
  margin: 0;
  color: #5a6a78;
  font-size: 0.95em;
}
.hmt-compat-report-dl {
  margin: 0;
  min-width: 220px;
}
.hmt-compat-report-dl dt {
  width: 88px;
  text-align: left;
  color: #666;
}
.hmt-compat-report-dl dd {
  margin-left: 96px;
}
.hmt-compat-items-table {
  max-width: 480px;
}

/* Print report window */
.hmt-compat-print-body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}
.hmt-compat-print-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a3a52;
  color: #fff;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hmt-compat-print-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hmt-compat-print-actions .btn {
  margin-left: 6px;
}
.hmt-compat-print-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}
.hmt-compat-print-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 20px 24px;
  border-top: 1px solid #ddd;
  font-size: 0.8em;
  color: #666;
}
.hmt-compat-print-footer p {
  margin: 0;
}

@media print {
  .hmt-compat-print-bar,
  .no-print,
  .no-print * {
    display: none !important;
  }
  .hmt-compat-print-body {
    background: #fff;
  }
  .hmt-compat-print-page {
    max-width: none;
    padding: 0;
    margin: 0;
  }
  .hmt-compat-section {
    page-break-inside: avoid;
  }
  .hmt-compat-matrix-wrap {
    overflow: visible;
    border: none;
    page-break-inside: avoid;
  }
  .matRed,
  .matYellow,
  .matGreen,
  table td[style*="background-color:red"],
  table td[style*="background-color:yellow"] {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  a[href]:after {
    content: "" !important;
  }
  /* Always print full scope text at end of report (no collapsed details) */
  .hmt-scope-note summary.hmt-scope-note-summary {
    display: none !important;
  }
  .hmt-scope-note .hmt-scope-note-body {
    display: block !important;
    border-top: none;
    margin: 0 12px 12px;
  }
  .hmt-compat-section-scope {
    page-break-inside: avoid;
  }
}

/* TRGS 510 storage structure (solve.php) */
.hmt-solve-legend {
  border-color: #c5d4e8;
  box-shadow: 0 1px 2px rgba(15, 35, 60, 0.06);
  margin-bottom: 1.25rem;
}
.hmt-solve-legend .panel-heading {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
  border-bottom-color: #c5d4e8;
}
.hmt-solve-legend-text p {
  margin-bottom: 0.75rem;
  line-height: 1.55;
  color: #3d4a57;
}
.hmt-solve-legend-text p:last-child {
  margin-bottom: 0;
}
.hmt-solve-legend-options {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e8edf2;
}
.hmt-solve-table-wrap {
  margin-top: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 35, 60, 0.08);
}
.hmt-solve-table {
  margin-bottom: 0;
  background: #fff;
}
.hmt-solve-table > thead > tr > th {
  background: #f0f4f8;
  border-bottom-width: 2px;
  font-size: 0.92rem;
  vertical-align: middle;
}
.hmt-solve-table > tbody > tr > td {
  vertical-align: top;
}
.hmt-solve-row:hover {
  background-color: #f9fbfd;
}
.hmt-solve-section-count {
  display: inline-block;
  min-width: 1.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #e8eef5;
  font-weight: 600;
  color: #2c5282;
}
.hmt-solve-opt-cell {
  min-width: 8.5rem;
}
.hmt-solve-opt-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.hmt-solve-opt-badge--good {
  background: #d4edda;
  color: #155724;
  border: 1px solid #b7dfc3;
}
.hmt-solve-opt-badge--std {
  background: #f1f3f5;
  color: #495057;
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
}
.hmt-solve-diagram-cell {
  min-width: 6rem;
}
.hmt-solve-restrictions-cell {
  min-width: 14rem;
  max-width: 28rem;
}
.hmt-lager-diagram-wrap {
  display: inline-block;
  max-width: 100%;
}
.hmt-lager-diagram {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.hmt-lager-section + .hmt-lager-section .hmt-lager-cell {
  border-top: 3px solid #4a5568;
}
.hmt-lager-cell {
  min-width: 3.25rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #1f2933;
  border: 1px solid rgba(55, 65, 81, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.hmt-lager-cell--0 { background: #dbeafe; }
.hmt-lager-cell--1 { background: #fef3c7; }
.hmt-lager-cell--2 { background: #d1fae5; }
.hmt-lager-cell--3 { background: #ede9fe; }
.hmt-lager-cell--4 { background: #ffe4e6; }
.hmt-lager-cell--5 { background: #e0f2fe; }
.hmt-lager-cell-meta {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #52606d;
  margin-bottom: 0.15rem;
}
.hmt-lager-diagram-wrap--legend .hmt-lager-cell {
  font-size: 0.82rem;
  font-weight: 500;
}
.hmt-solve-restrictions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hmt-solve-restriction-toggle {
  display: block;
  padding: 0.45rem 0.6rem;
  border: 1px solid #d8e0ea;
  border-radius: 4px;
  background: #f8fafc;
  color: #2b6cb0;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hmt-solve-restriction-toggle:hover,
.hmt-solve-restriction-toggle:focus {
  background: #edf2f7;
  border-color: #b8c9dc;
  color: #1a4f8b;
  text-decoration: none;
}
.hmt-solve-restriction-toggle .glyphicon {
  font-size: 0.75rem;
  color: #718096;
}
.hmt-solve-restriction-detail {
  margin: 0.25rem 0 0.35rem;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid #ecc94b;
  background: #fffff0;
  border-radius: 0 4px 4px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d4a57;
}
.hmt-solve-restriction-detail b {
  color: #2d3748;
}
@media (max-width: 767px) {
  .hmt-solve-restrictions-cell {
    max-width: none;
  }
  .hmt-lager-cell {
    min-width: 2.75rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Site footer, scope banner, substance feedback CTA */
.hmt-site-footer {
  margin: 1.5rem 0 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid #dce3ea;
  text-align: center;
}
.hmt-theme-toggle {
  color: #5c6570;
}
/* 49 CFR 172.102 special provisions page */
.sp-page-wrap {
  margin-bottom: 1.5rem;
}
.sp-hero {
  margin-bottom: 1.25rem;
}
.sp-hero h1 {
  margin-top: 0;
  font-size: 1.85rem;
  line-height: 1.25;
}
.sp-hero-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4a5560;
  margin-bottom: 0.75rem;
}
.sp-source-note {
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
}
.sp-category-grid {
  margin-top: 0.5rem;
}
.sp-category-col {
  margin-bottom: 0.85rem;
}
.sp-category-tile {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  padding: 0.95rem 1rem 0.85rem;
  color: #343a40;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(14, 105, 190, 0.07);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sp-category-tile:hover,
.sp-category-tile:focus {
  text-decoration: none;
  color: #0E69BE;
  border-color: #0E69BE;
  box-shadow: 0 4px 14px rgba(14, 105, 190, 0.14);
  transform: translateY(-1px);
}
.sp-category-abbr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #e8f2fb;
  color: #0E69BE;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.sp-category-title {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
.sp-category-desc {
  display: block;
  flex: 1 1 auto;
  font-size: 0.84rem;
  color: #5c6570;
  line-height: 1.4;
  margin-bottom: 0.55rem;
}
.sp-category-cta {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0E69BE;
}
.sp-sidebar-panel {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(14, 105, 190, 0.06);
}
.sp-sidebar-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.sp-sidebar-title small {
  display: block;
  font-size: 0.78rem;
  color: #7a8490;
  font-weight: 400;
  margin-top: 0.15rem;
}
.sp-category-intro .panel-title {
  font-size: 1.45rem;
  line-height: 1.3;
}
.sp-category-lead {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.sp-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}
.sp-filter-wrap {
  flex: 1 1 220px;
  max-width: 420px;
}
.sp-code-filter {
  width: 100%;
}
.sp-list-panel .table {
  margin-bottom: 0;
}
.sp-code-table th {
  white-space: nowrap;
}
.sp-col-code {
  width: 7.5rem;
}
.sp-col-action {
  width: 6.5rem;
  text-align: right;
  white-space: nowrap;
}
.sp-code-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #eef4fb;
  border: 1px solid #c8d9ee;
  color: #0E69BE;
  font-size: 0.92rem;
  font-weight: 700;
}
a.sp-code-link:hover .sp-code-badge,
a.sp-code-link:focus .sp-code-badge {
  background: #dbeaf8;
  border-color: #0E69BE;
}
.sp-desc-cell {
  word-wrap: break-word;
  line-height: 1.45;
  font-size: 0.94rem;
}
.sp-view-btn {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}
.sp-detail-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.sp-code-badge-lg {
  font-size: 1.15rem;
  padding: 0.25rem 0.65rem;
}
.sp-detail-meta {
  font-size: 0.95rem;
}
.sp-section-title {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.65rem;
  color: #343a40;
}
.sp-detail-section:first-of-type .sp-section-title {
  margin-top: 0.35rem;
}
.sp-provision-text {
  line-height: 1.55;
  font-size: 0.96rem;
}
.sp-provision-text p {
  margin-bottom: 0.75rem;
}
.sp-crossref ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}
.sp-crossref li {
  margin-bottom: 0.35rem;
}
.sp-detail-sidebar {
  margin-top: 1rem;
}
@media (min-width: 992px) {
  .sp-detail-sidebar {
    margin-top: 0;
  }
}
.sp-detail-nav {
  margin-top: 1.25rem;
}
.sp-back-wrap {
  margin: 1rem 0 0;
}
.sp-ad-row td {
  padding: 0.75rem 0;
  text-align: center;
  background: transparent !important;
}
@media (max-width: 767px) {
  .sp-col-action {
    display: none;
  }
  .sp-desc-cell {
    font-size: 0.9rem;
  }
  .sp-code-table tbody tr[data-sp-search] {
    cursor: pointer;
  }
}

.hmt-scope-banner {
  margin-bottom: 1rem;
}
.hmt-scope-banner-text {
  margin: 0;
  padding-right: 1.5rem;
}
.haz-info-feedback-cta {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

/* Lagerklassen / hazard class picker (input.php) */
.input-lgk-section {
  margin-top: 1rem;
}
.input-lgk-heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.input-lgk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  width: 100%;
}
@media (min-width: 768px) {
  .input-lgk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .input-lgk-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.input-lgk-cell {
  padding: 0.65rem 0.5rem;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  line-height: 1.35;
  font-size: 0.88rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-lgk-cell:hover {
  border-color: #0E69BE;
  box-shadow: 0 2px 8px rgba(14, 105, 190, 0.12);
}
.input-lgk-cell label {
  display: block;
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}
.input-lgk-cell--unknown {
  grid-column: 1 / -1;
  max-width: 28rem;
}
.input-lgk-cell img {
  display: block;
  margin: 0.35rem auto 0;
}

/* Dark mode (toggle + prefers-color-scheme default via data-theme on html) */
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background-color: #15181c;
  color: #e8eaed;
}
html[data-theme="dark"] #content,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .index-panel,
html[data-theme="dark"] .index-tile,
html[data-theme="dark"] .input-lgk-cell,
html[data-theme="dark"] .well,
html[data-theme="dark"] .help-page-wrap,
html[data-theme="dark"] .feedback-page-wrap,
html[data-theme="dark"] .privacy-page-wrap,
html[data-theme="dark"] .sp-page-wrap,
html[data-theme="dark"] .sp-sidebar-panel,
html[data-theme="dark"] .sp-category-tile {
  background-color: #1e2228;
  color: #e8eaed;
}
html[data-theme="dark"] .panel-default > .panel-heading,
html[data-theme="dark"] .haz-info-glance-heading {
  background-color: #252a31;
  border-color: #3a424d;
  color: #e8eaed;
}
html[data-theme="dark"] .panel,
html[data-theme="dark"] .panel-default,
html[data-theme="dark"] .table-bordered,
html[data-theme="dark"] .table-bordered > thead > tr > th,
html[data-theme="dark"] .table-bordered > tbody > tr > td,
html[data-theme="dark"] .index-panel,
html[data-theme="dark"] .index-tile,
html[data-theme="dark"] .sp-category-tile,
html[data-theme="dark"] .sp-sidebar-panel,
html[data-theme="dark"] .hmt-site-footer {
  border-color: #3a424d;
}
html[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #1a1f26;
}
html[data-theme="dark"] a {
  color: #7eb8ff;
}
html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:focus {
  color: #a8d0ff;
}
html[data-theme="dark"] .text-muted {
  color: #9aa3ad !important;
}
html[data-theme="dark"] .jumbotron.index-hero {
  background-color: #1a2740 !important;
  border-color: #2d5a9e;
}
html[data-theme="dark"] .index-tile-text,
html[data-theme="dark"] .sp-category-desc,
html[data-theme="dark"] .sp-hero-lead {
  color: #b0b8c0;
}
html[data-theme="dark"] .index-tile:hover,
html[data-theme="dark"] .index-tile:focus,
html[data-theme="dark"] .sp-category-tile:hover,
html[data-theme="dark"] .sp-category-tile:focus {
  color: #a8d0ff;
  border-color: #4a8fd4;
}
html[data-theme="dark"] .input-lgk-cell:hover {
  border-color: #4a8fd4;
  box-shadow: 0 2px 8px rgba(74, 143, 212, 0.2);
}
html[data-theme="dark"] .sp-category-abbr,
html[data-theme="dark"] .sp-code-badge {
  background-color: #1a3040;
  border-color: #2d5a7a;
  color: #a8d0ff;
}
html[data-theme="dark"] .alert-warning {
  background-color: #3d3018;
  border-color: #6b5424;
  color: #f0e6cf;
}
html[data-theme="dark"] .alert-info {
  background-color: #1a3040;
  border-color: #2d5a7a;
  color: #d6e8f5;
}
html[data-theme="dark"] .form-control {
  background-color: #252a31;
  border-color: #3a424d;
  color: #e8eaed;
}
html[data-theme="dark"] .breadcrumb {
  background-color: #1e2228;
}
html[data-theme="dark"] .haz-info-hmt-badge {
  background-color: #2d5a7a;
}

