@charset "UTF-8";
/* Histomvision / Italiano, rebuilt 2026-08-28.
 * Load after main.css as /default/static/css/main_it.css.
 * Independent of all earlier Italian overrides. Browser visual QA pending.
 */

/* Use the agreed shared header layout: reserve space for utility controls.
 * Keep the English header appearance, but allocate one explicit desktop row.
 */
html[lang|="it"] { --histom-header-offset: 81px; }
/* bottom.js writes an inline margin once on load; override it on resize too. */
html[lang|="it"] .mat { margin-top: var(--histom-header-offset) !important; }
@media screen and (min-width: 1360px) {
  html[lang|="it"] .head .zong {
    display: flex;
    align-items: flex-start;
    column-gap: 12px;
    height: 80px;
    padding-top: 13px;
    padding-bottom: 0;
  }
  html[lang|="it"] .head .logo {
    float: none;
    flex-shrink: 0;
    margin-inline-end: 40px;
  }
  html[lang|="it"] .head nav { order: 1; flex: 1 1 auto; min-width: 0; }
  html[lang|="it"] .head .sousuo { order: 2; flex-shrink: 0; margin-right: 0; }
  html[lang|="it"] .head .yvn { order: 3; flex-shrink: 0; }
  html[lang|="it"] .head .zong > .clear { display: none; }
  html[lang|="it"] .head .daohang {
    display: flex;
    float: none;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }
  html[lang|="it"] .head .daohang > li {
    float: none;
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
  }
  html[lang|="it"] .head .daohang > li > a { white-space: nowrap; }
  html[lang|="it"] .head .yijiw {
    width: max-content;
    max-width: min(32rem, calc(100vw - 2rem));
  }
  html[lang|="it"] .head .erji {
    width: max-content;
    max-width: min(34rem, 36vw);
  }
  html[lang|="it"] .head .yiji li a {
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    padding: 9px 16px;
  }
  html[lang|="it"] .head .daohang > li:hover .yiji > li > a,
  html[lang|="it"] .head .yiji > li:hover .erji > li > a { line-height: 1.5; }
  html[lang|="it"] .head .daohang > li:nth-last-child(-n+2) .yijiw {
    left: auto;
    right: 0;
    transform: none;
  }
}
@media screen and (min-width: 1360px) and (max-width: 1599px) {
  html[lang|="it"] .head .zong { column-gap: 8px; }
  html[lang|="it"] .head .daohang { gap: 8px; }
  html[lang|="it"] .head .daohang > li > a { font-size: 16px; }
}
@media screen and (max-width: 1359px) {
  html[lang|="it"] .smdaohang { max-width: 100vw; }
  html[lang|="it"] .smdaohang .topnav { padding-bottom: 70px; }
  html[lang|="it"] .smdaohang ul.topnav li a {
    padding-right: 34px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  html[lang|="it"] .smdaohang ul.topnav ul ul li a { font-size: 14px; line-height: 1.5; }
  html[lang|="it"] .smdaohang form { max-width: 100%; }
}

/* Reuse the original <=999px navigation styles at the earlier threshold. */
@media screen and (max-width: 1359px) {
  html[lang|="it"] .head .zong {padding: 5px 0;}
  html[lang|="it"] .logo { width: 100px; margin-top: 5px;}
  html[lang|="it"] .daohang,
  html[lang|="it"] .hea { display: none}
  html[lang|="it"] .clear2 {clear:both;}
  html[lang|="it"] .sousuo { display:none}
  html[lang|="it"] .yvn { margin-right: 45px;}
  html[lang|="it"] .yvzhonga { height: 30px; line-height: 30px; padding-right: 18px;}
  html[lang|="it"] .yvzhonga i { right: 5px;}
  html[lang|="it"] .xnav { display:block}
  html[lang|="it"] .nav { position:fixed;width: 35px;height: 24px;background: #0F6AAC;right:2.5%;top:8px;cursor: pointer; border-radius:5px; z-index: 999999999}
  html[lang|="it"] .nav span {display: block;width: 20px;height: 2px;background: #fff;position: absolute;left: 50%;margin-left: -10px;top: 50%;transition:0.8s;z-index: 99999991}
  html[lang|="it"] .nav .nav1 {margin-top: -1px;}
  html[lang|="it"] .nav .nav2 {margin-top: -8px;}
  html[lang|="it"] .nav .nav3 {margin-top: 6px;}
  html[lang|="it"] .navh .nav1 {transform: rotate(45deg)}
  html[lang|="it"] .navh .nav2 {transform: rotate(-45deg);width: 10px;margin-left: -1px;margin-top: -5px;}
  html[lang|="it"] .navh .nav3 {transform: rotate(-45deg);width: 9px;margin-top: 3px;margin-left: -8px;}
  html[lang|="it"] .smdaohang {position: fixed;width:300px;height:0px;overflow: auto;top:0px;right:0px; background: rgba(15, 106, 172, 0.9); z-index: 9999999;transition:0.8s;text-align: center;}
  html[lang|="it"] .smdaohangh {right: 0px; top:0px; height:100%;}
  html[lang|="it"] .topnav {margin: auto;margin-top: 30px;padding: 20px;}
  html[lang|="it"] ul.topnav li {text-align: left; position:relative;}
  html[lang|="it"] ul.topnav li a {padding:15px 5px;padding-left: 0px;color: #fff;display: block; font-size: 16px;font-size: 1.6rem;line-height: 24px; padding-right:50px; border-bottom: 1px dashed rgba(255,255,255,0.5);}
  html[lang|="it"] ul.topnav ul {display: none;}
  html[lang|="it"] ul.topnav ul li {clear: both;}
  html[lang|="it"] ul.topnav ul li a {padding: 10px 5px; padding-left: 20px;font-size: 14px;font-size: 1.4rem;font-weight: normal;outline: 0; border: none;}
  html[lang|="it"] ul.topnav ul li a:hover {}
  html[lang|="it"] ul.topnav ul ul li a {padding-left: 40px; font-size: 12px; font-size: 1.2rem;}
  html[lang|="it"] ul.topnav ul ul { border-top: 1px dashed rgba(255,255,255,0.5); border-bottom: 1px dashed rgba(255,255,255,0.5);}
  html[lang|="it"] ul.topnav ul ul ul li a {padding-left: 60px;}
  html[lang|="it"] ul.topnav span { display:block; position:absolute; right:0px; top:15px; width:20px; height:20px; background:#fff; background:rgba(255,255,255,0.6); cursor:pointer; border-radius:50%; transition:0.5s;}
  html[lang|="it"] ul.topnav span:before { content:""; width:6px; height:2px; background:#333; position:absolute; left:50%; margin-left:-3px; top:50%; margin-top:0px; transform:rotate(45deg); transform-origin:right center}
  html[lang|="it"] ul.topnav span:after { content:""; width:6px; height:2px; background:#333; position:absolute; left:50%; margin-left:-3px; top:50%; margin-top:-1px; transform:rotate(-45deg); transform-origin:right center; transition:0.5s;}
  html[lang|="it"] ul.topnav span.yizi { transform:rotate(90deg)}
  html[lang|="it"] .smdaohang form { margin-top:10px; margin-bottom:15px; width: 240px;height: 36px;border: 1px solid #fff;position: relative;background: #fff;}
  html[lang|="it"] .smdaohang form .iptc {-moz-box-sizing: border-box;box-sizing: border-box;padding-left: 15px;background-color: #fff;width: 80%;height: 34px;line-height: 34px;display: block;float: left; border-radius:10px;}
  html[lang|="it"] .smdaohang form .ipsc {width: 20%;height: 34px;line-height: 34px;display: block;float: right;background: transparent;position: relative;z-index: 99;}
  html[lang|="it"] .smdaohang form i {position: absolute;right: 10px;top: 6px;}
  html[lang|="it"] { --histom-header-offset: 41px; }
  html[lang|="it"] .head .zong { height: 40px; }
  html[lang|="it"] .head nav { display: none; }
  html[lang|="it"] .xnav .nav { display: block; }
  html[lang|="it"] .smdaohang { max-width: 100vw; }
  html[lang|="it"] .smdaohang .topnav { padding-bottom: 70px; }
  html[lang|="it"] .smdaohang ul.topnav li a { padding-right: 34px; overflow-wrap: anywhere; hyphens: auto; }
  html[lang|="it"] .smdaohang ul.topnav ul ul li a { font-size: 14px; line-height: 1.5; }
  html[lang|="it"] .smdaohang form { max-width: 100%; }
}

/* Italian compound words may wrap; retain the original heading type scale. */
html[lang|="it"] .m2biao .m2biaon,
html[lang|="it"] .prrtbiao,
html[lang|="it"] .jianjie h1,
html[lang|="it"] .pr22biao,
html[lang|="it"] .pr2biao,
html[lang|="it"] .soh1,
html[lang|="it"] .ca2l h1,
html[lang|="it"] .ne2main h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

/* Remove ellipses from names, without changing descriptive article excerpts. */
html[lang|="it"] .main2 .m2a,
html[lang|="it"] .main6 .m6a,
html[lang|="it"] .somain .soa,
html[lang|="it"] .so2lie .so2a,
html[lang|="it"] .so3llie .so3la2,
html[lang|="it"] .calie .caa,
html[lang|="it"] .dolie .doa {
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  overflow-wrap: anywhere;
  hyphens: auto;
}
html[lang|="it"] .m5lie .m5a,
html[lang|="it"] .prlie .pra,
html[lang|="it"] .nelie .nea,
html[lang|="it"] .main9 .m9p a,
html[lang|="it"] .main9 .m9lp a {
  display: block;
  height: auto;
  -webkit-line-clamp: unset;
  overflow: visible;
  overflow-wrap: anywhere;
  hyphens: auto;
}
html[lang|="it"] .m5lie .m5a { min-height: 3em; }
/* main.css makes .soxa display important; unclamping needs no display change. */
html[lang|="it"] .soxlie .soxa {
  -webkit-line-clamp: unset;
  overflow: visible;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Product overlays may grow only within their image, preserving original padding. */
html[lang|="it"] .main5 .m5mor,
html[lang|="it"] .prlie .m5mor {
  width: max-content;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[lang|="it"] .prlie .prin { display: flex; align-items: flex-start; gap: 6px; }
html[lang|="it"] .prlie .prin input { flex-shrink: 0; margin-top: 7px; margin-right: 0; }
html[lang|="it"] .prlie .prmor { min-width: 0; flex: 0 1 auto; }
html[lang|="it"] .jianjie .inno { display: flex; flex-wrap: wrap; gap: 10px; }
html[lang|="it"] .jianjie .inno a {
  max-width: 100%;
  margin-right: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Text buttons across the audited templates: one line, bounded by their parent.
 * Keep native colors, borders, padding and mobile visibility rules from main.css.
 */
html[lang|="it"] .main3 .m3mor,
html[lang|="it"] .main9 .m9mor,
html[lang|="it"] .prmain2 .pr2mor,
html[lang|="it"] .jianjie .inno a,
html[lang|="it"] .prlie .prmor,
html[lang|="it"] .so2lie .so2mor,
html[lang|="it"] .nelie .so2mor,
html[lang|="it"] .soxlie .soxmor,
html[lang|="it"] .dolie .domor,
html[lang|="it"] .fuxuan input,
html[lang|="it"] .foxin input[type="submit"],
html[lang|="it"] .prxin input[type="submit"],
html[lang|="it"] .coxin input[type="submit"],
html[lang|="it"] .so3xin input[type="submit"],
html[lang|="it"] .xpxin input[type="submit"] {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
html[lang|="it"] .fuxuan { max-width: calc(100% - 20px); }
/* A heading and CTA share this row; allow the CTA to move, not its label to wrap. */
html[lang|="it"] .main9 .m9t { gap: 12px; }

/* Solution-detail category tab (also used outside .pr2main2).
 * The original 25% width wraps the Italian label; use its natural width, capped.
 */
html[lang|="it"] .so3b #tab li {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: 20px;
  white-space: nowrap;
  overflow: hidden;
}
html[lang|="it"] .so3b #tab li span {
  display: block;
  max-width: 100%;
  min-width: 0;
  line-height: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  hyphens: none;
}

/* Product tabs: whole controls may reflow; their labels remain single-line. */
html[lang|="it"] .pr2main2 #tab { display: flex; flex-wrap: wrap; }
html[lang|="it"] .pr2main2 #tab li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 60px;
  padding: 12px;
  line-height: 1.5;
}
html[lang|="it"] .pr2main2 #tab li span {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  hyphens: none;
}
@media screen and (max-width: 439px) {
  html[lang|="it"] .pr2main2 #tab li { flex-basis: 45%; min-height: 44px; }
}

/* Narrow-column labels, FAQ questions, breadcrumbs and contact information. */
html[lang|="it"] .m1lie .m1p,
html[lang|="it"] .pryiji > li > a,
html[lang|="it"] .se3lie .se3a,
html[lang|="it"] .foot .fobiao,
html[lang|="it"] .foot .fonav a,
html[lang|="it"] .foot .foul li,
html[lang|="it"] .comain1 .co1p2,
html[lang|="it"] .mianbao,
html[lang|="it"] .fanpian li,
html[lang|="it"] .fanpian2 li { overflow-wrap: anywhere; hyphens: auto; }
html[lang|="it"] .foot .fonav a { line-height: 1.5; padding-block: 5px; }

/* CAPTCHA and INVIA need separate rows in the narrow footer form. */
html[lang|="it"] .foot .foxin .int3,
html[lang|="it"] .foot .foxin .int4 { width: 100%; }
@media screen and (max-width: 1359px) {
  html[lang|="it"] .foot .foxin .int1 { width: 100%; }
}
/* main.css leaves only 50px for the product-form submit input on phones. */
@media screen and (max-width: 767px) {
  html[lang|="it"] .pr23r .prxin .int3,
  html[lang|="it"] .pr23r .prxin .int4 { width: 100%; }
}
