/* Gallery identity. Print mockups and historical product assets are untouched. */
.ts-gallery-wordmark{display:inline-block;width:208px;max-width:100%;line-height:0!important;text-decoration:none!important;padding:0!important;vertical-align:middle}
.ts-gallery-wordmark .ts-brand-logo{display:block;width:100%!important;max-width:100%;height:auto!important;margin:0!important;border:0}
#id-testa{position:relative;background:#faf9f6!important;padding-bottom:0!important;border-bottom:1px solid #dedcd5}
#id-testa .ts-gallery-topbar{position:absolute;top:0;left:0;right:0;box-sizing:border-box;width:100%!important;max-width:1180px;min-height:32px;height:auto;margin:0 auto;padding:4px 28px}
#id-testa .ts-gallery-topbar::after{content:"";display:block;clear:both}
#id-testa #id-testa-table{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(160px,1fr) minmax(0,2fr);align-items:center;gap:28px;width:100%!important;max-width:1180px;margin:0 auto!important;padding:32px 28px 25px!important;text-align:left}
#id-testa #id-testa-table>li{display:block!important;width:auto!important;min-width:0!important;margin:0}
#id-testa #id-testa-logo-img{text-align:left!important;padding-block:8px}
#id-testa #id-testa-logo-img h1,#id-testa #id-testa-logo-img h2{margin:0;line-height:1!important}
#id-testa #id-testa-login-div{text-align:right}
#id-testa #id-testa-login-table{display:block;float:none!important}
#id-testa #id-testa-login-table>.ts-gallery-header-controls{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:16px 20px;width:100%!important;line-height:1.5}
#id-testa #id-testa-login-table>.ts-gallery-header-controls>li{min-width:0;padding:0!important}
#id-testa #id-testa-login-table a,#id-testa #id-testa-login-table a span{font:13px/1.5 Arial,Helvetica,sans-serif!important;color:#20201f!important;letter-spacing:0}
#id-testa #id-testa-login-table a:hover{color:#a5573e!important}
#id-testa #id-testa-login-autenticazione,#id-testa #id-testa-login-inscrizione,#id-testa #id-testa-insert{padding:0!important}
#id-testa .ts-gallery-search{box-sizing:border-box;display:flex!important;align-items:center;gap:8px;width:clamp(180px,21vw,260px)!important;margin:0!important;border:0!important;border-bottom:1px solid #b6b3aa!important;background:transparent!important;line-height:1}
#id-testa .ts-gallery-search-field{display:block!important;flex:1;min-width:0;float:none!important}
#id-testa .ts-gallery-search #id-ricerca{box-sizing:border-box;width:100%!important;min-width:0;min-height:44px;margin:0;border:0!important;border-radius:0!important;background:transparent!important;color:#20201f;padding:10px 4px!important;font:14px/1.4 Arial,Helvetica,sans-serif}
#id-testa .ts-gallery-search-action{display:block!important;flex:0 0 44px;padding:0!important}
.ts-gallery-search-submit{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:10px;border:0;background:transparent;color:#20201f;cursor:pointer}
.ts-gallery-search-submit svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5}
.ts-gallery-search-submit:hover{color:#a5573e}
#id-ris_ricerca{box-sizing:border-box;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.ts-gallery-wordmark:focus-visible,.ts-gallery-search-submit:focus-visible{outline:2px solid #a5573e;outline-offset:5px}
#id-piede2{background:#faf9f6!important;color:#20201f!important;border-top:1px solid #dedcd5;padding:40px 0 24px!important}
#id-piede2>div{display:block!important;max-width:100%}
#id-piede2>div>ul{box-sizing:border-box;display:flex!important;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:28px;width:calc(100% - 56px)!important;max-width:1124px;margin:0 auto;background:transparent!important;border-top:0!important}
#id-piede2>div>ul>li{display:block!important;padding:0!important;max-width:100%;min-width:0}
#id-piede2 .ts-gallery-footer-brand{padding-top:12px!important}
#id-piede2 .ts-gallery-wordmark{width:180px}
@media(max-width:760px){
 body:has(.ts-catalog-card) .c585,body:has(#id-scheda-design) .c585,body:has(#id-corpo_inscrizione) .c585{box-sizing:border-box;width:calc(100% - 24px)!important;max-width:100%}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu){box-sizing:border-box;max-width:100%}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu)>li{box-sizing:border-box;width:100%!important;max-width:100%}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu)>li:first-child{display:flex!important;align-items:center}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu)>li:first-child>ul{display:flex;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;overscroll-behavior-x:contain}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu)>li:first-child>ul>li{flex:none}
 body:has(.ts-catalog-card,#id-scheda-design,#id-corpo_inscrizione) .c585>ul:has(.elem_menu)>li:first-child>div{flex:0 0 42px;margin-right:6px}
 .ts-gallery-wordmark{width:180px}
 #id-testa .ts-gallery-topbar{padding:4px 20px;min-height:28px}
 #id-testa #id-testa-table{grid-template-columns:1fr;gap:12px;padding:20px 20px 20px!important}
 #id-testa #id-testa-login-table>.ts-gallery-header-controls{justify-content:flex-start;gap:12px 18px}
 #id-testa .ts-gallery-search{width:100%!important;min-width:0}
 #id-testa #id-testa-login-table>.ts-gallery-header-controls>li:last-child{width:100%}
 #id-piede2>div>ul{width:calc(100% - 40px)!important;gap:24px}
 #id-piede2 .ts-gallery-footer-brand{width:100%!important;padding-bottom:8px!important}
 #id-piede2 div[style*="width:585px"]{box-sizing:border-box;width:100%!important;max-width:100%;float:none!important}
}
@media(max-width:360px){.ts-gallery-wordmark{width:168px}}
