/* Compatibility and safety changes applied after the recovered theme. */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
.wrapper { max-width: calc(100% - 32px); }
.wrapper > aside, .wrapper > section { min-width: 0; }
.wrapper img { max-width: 100%; height: auto; }
.wrapper nav { min-height: 0; }
.wrapper nav ul { min-height: 0; }
.wrapper nav li { white-space: normal; }
.wrapper section a { overflow-wrap: anywhere; }
.wrapper section .headliner { margin-block: 12px; }
.history-context { line-height: 1.5; margin: 10px 0 18px; color: #454545; }
.logo-fallback { font-weight: bold; font-size: 2rem; line-height: 1.15; display: inline-block; }
.search [role="search"] { display: flex; gap: 4px; align-items: center; }
.search input { min-width: 0; max-width: 100%; }
.search button { background-color: transparent; border: 1px solid #777; border-radius: 3px; padding: 4px 7px; }
.search button:hover, .search button:focus-visible { background-color: #fff; }
.restored-banner { position: relative; margin-top: 16px; overflow: hidden; }
.restored-banner > * { position: relative; margin: 0; }
.restored-banner .main_img { height: auto; }
.restored-banner .main_img > img { width: 100%; display: block; object-fit: cover; }
.restored-banner .img_inner h2 { overflow-wrap: anywhere; }
.empty-feature, .wrapper .row:empty { display: none; }
.legacy-table { overflow-x: auto; }
#catalog-results ul { padding-left: 1.4em; }
#catalog-results li { margin: .8em 0; }
@media (max-width: 767px) {
  html body .wrapper { display: block; width: auto; max-width: none; min-width: 0; margin: 0 14px; }
  html body .wrapper > aside, html body .wrapper > section {
    display: block; float: none; width: auto; min-width: 0; max-width: none; position: static; margin-inline: 0;
  }
  html body .wrapper > aside { padding: 12px 0; }
  html body .wrapper aside .dropdown_custom { margin: 8px 0; display: block; position: static; }
  html body .wrapper aside .dropdown-menu_custom {
    margin: 7px 0; display: flex; position: static; gap: 6px 14px; flex-wrap: wrap; padding-left: 0;
  }
  html body .wrapper aside .dropdown-menu_custom li { margin: 0; padding: 0; list-style: none; }
  html body .wrapper aside .search { margin: 12px 0 0; position: static; }
  html body .wrapper nav { height: auto; min-height: 0; padding: 7px 0; }
  html body .wrapper nav ul { display: flex; height: auto; flex-wrap: wrap; list-style: none; gap: 6px; margin: 0; padding: 0; }
  html body .wrapper nav li, html body .wrapper nav li a {
    margin: 0; position: static; float: none; height: auto; display: block;
  }
  html body .wrapper nav li a { padding: 7px 10px; }
  html body .wrapper .row { margin-left: 0; margin-right: 0; }
  html body .wrapper .product_list, html body .wrapper .downloads, html body .wrapper .charact {
    min-width: 0; width: auto; float: none; padding: 0; margin-inline: 0; height: auto;
  }
  html body .wrapper .restored-banner .img_inner { inset: auto 0 0; padding: 6px 10px; width: auto; }
  html body .wrapper .restored-banner .img_inner h2 { font-size: clamp(1rem, 5vw, 1.5rem); line-height: 1.2; }
}


.restored-banner .main_img[hidden] { display: none !important; }
.restored-banner .slide-controls {
  display: flex; justify-content: flex-end; gap: 6px; position: absolute;
  inset: 10px 12px auto auto; z-index: 2;
}
.slide-controls .slide-button {
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  padding: 0; background: #fff; color: #272727; cursor: pointer;
}
.slide-controls .slide-button[aria-pressed="true"] { background: #343434; color: #fff; }
.wrapper .catalog_list p { max-width: 100%; }
.wrapper .search input { color: #454545; }
.wrapper .search button.search_icon { border: 0; }
.wrapper .search button.search_icon:focus-visible { outline: 2px solid #222; outline-offset: -3px; }
.wrapper nav li::after { pointer-events: none; }
@media (max-width: 767px) {
  html body .wrapper section { padding: 0 0 24px; }
  html body .wrapper nav ul { background: #00C19A; }
  html body .wrapper nav li::after { display: none; }
  html body .wrapper .headliner { padding: 16px 12px; }
}
/* The original theme splits the grey sidebar from the white content area. */
.grey { width: calc((100% - 1000px) / 2 + 310px); }
@media (max-width: 1030px) { .grey { display: none; } }
@media (max-width: 767px) {
  .grey { display: none; }
  html body .wrapper > aside { padding-inline: 8px; }
  .wrapper .site_desc img { display: block; float: none; padding-left: 0; margin: 0 0 10px; }
}
@media (min-width: 768px) {
  .restored-banner .main_img { height: 300px; }
  .restored-banner .main_img > img { height: 100%; object-position: center top; }
}
@media (max-width: 767px) {
  .wrapper .charact_headliner { margin-inline: 0; }
}
.restored-banner .slide-controls { gap: 1px; inset: auto 15px 25px auto; }
.slide-controls .slide-button, .slide-controls .slide-button[aria-pressed="true"] {
  background: transparent;
  font-size: 0;
}
.slide-controls .slide-button::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0690EB;
}
.slide-controls .slide-button[aria-pressed="true"]::before { background: #FFA200; }
@media (max-width: 767px) {
  .restored-banner .slide-controls { inset: 8px 8px auto auto; }
}
