.rl-switch{position:relative;display:inline-block;font:500 14px/1.2 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Arabic","Noto Sans Devanagari","Noto Sans CJK SC",sans-serif;z-index:99990}
.rl-switch__btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border-radius:999px;border:1px solid rgba(14,58,74,.25);background:#fff;color:#0e3a4a;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.12);font:inherit;letter-spacing:.02em}
.rl-switch__btn:hover,.rl-switch__btn:focus-visible{border-color:#0e3a4a;outline:none}
.rl-switch__flag{font-size:18px;line-height:1}
.rl-switch__list{display:none;position:absolute;bottom:calc(100% + 8px);right:0;margin:0;padding:6px;list-style:none;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.18);min-width:190px;max-height:70vh;overflow:auto}
.rl-switch.is-open .rl-switch__list{display:block}
.rl-switch__list li{margin:0;padding:0}
.rl-switch__list a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:#13232a!important;text-decoration:none!important;white-space:nowrap}
.rl-switch__list a:hover,.rl-switch__list a:focus-visible{background:#e6f1f5;outline:none}
.rl-switch__list a.is-cur{background:#0e3a4a;color:#fff!important}
.rl-switch__list a span{font-size:18px}
.rl-switch--float{position:fixed;bottom:18px}
.rl-switch--right{right:18px}
.rl-switch--left{left:18px}
.rl-switch--left .rl-switch__list{right:auto;left:0}
.rl-switch--inline .rl-switch__list{bottom:auto;top:calc(100% + 8px)}
.rl-switch--inline .rl-switch__btn{box-shadow:none}
@media (max-width:600px){.rl-switch--float{bottom:12px}.rl-switch--right{right:12px}.rl-switch--left{left:12px}}
@media print{.rl-switch{display:none!important}}
/* lingue con scritture diverse */
html[lang="ar"] body{font-family:"Noto Sans Arabic","Segoe UI",Tahoma,sans-serif}
html[lang="hi"] body{font-family:"Noto Sans Devanagari","Nirmala UI","Mangal",sans-serif}
html[lang="zh-Hans"] body{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
html[lang="ja"] body{font-family:"Hiragino Sans","Yu Gothic","Meiryo","Noto Sans CJK JP",sans-serif}
html[lang="ko"] body{font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR",sans-serif}
html[lang="ja"] body,html[lang="zh-Hans"] body,html[lang="ko"] body{word-break:keep-all;overflow-wrap:anywhere}
/* arabo: da destra a sinistra, ma numeri di telefono, orari e codici restano leggibili */
html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="url"],html[dir="rtl"] input[type="number"]{direction:ltr;text-align:right}
html[dir="rtl"] .rl-switch--right{right:auto;left:18px}
html[dir="rtl"] .rl-switch--right .rl-switch__list{right:auto;left:0}
