/* WubSites shared additions: language switcher (EN / Amharic / FR) and the footer utility row.
   Linked from every page by tools/template_patch.py. Class prefix: wx-
   Header geometry comes from the Sitely export. Below 768px the page is a 320px design (480px
   from 480 up) scaled with CSS zoom, so px values here are in that design space and grow with
   the screen. From 768 up it is a fixed box of 768 / 960 / 1200 / 1920px centred in the window.
   The numbers below are measured from that layout. */

/* Ethiopic fallback. System fonts are listed first, so this file only downloads on devices
   that have no Ethiopic font of their own. */
@font-face{
  font-family:"WX Ethiopic";
  src:url(AbyssinicaSIL-Regular.woff2) format("woff2"),url(AbyssinicaSIL-Regular.woff) format("woff");
  font-display:swap;
  unicode-range:U+1200-139F,U+2D80-2DDF,U+AB00-AB2F;
}

.wx-lang{
  font-family:"Red Hat Display","Noto Sans Ethiopic","Kefa","Nyala","Ebrima","WX Ethiopic",sans-serif;
  font-weight:300;line-height:1;color:#fff;white-space:nowrap;margin:0;
  -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
.wx-lang-in{display:flex;align-items:center}
.wx-lang a,.wx-lang strong{display:block;color:inherit;text-decoration:none;padding:0 .55em;line-height:40px}
.wx-lang strong{font-weight:700}
.wx-lang a:hover,.wx-lang a:focus-visible{text-decoration:underline;text-underline-offset:.25em}
.wx-sep{opacity:.55}

/* ---- top of page, phones and small tablets: a 40px row above the header, right edge in line
        with the menu icon. The header pill has no free width for it (55px free at 320). ---- */
.wx-lang-top{display:flex;justify-content:flex-end;height:40px;box-sizing:border-box;font-size:14px;padding:0 calc(28px - .55em) 0 28px}
@media (min-width:480px) and (max-width:767px){
  .wx-lang-top{padding:0 calc(41px - .55em) 0 41px}
}

/* ---- desktop: inside the header, in the gap between the last nav item and the mail icon.
        A zero-height sticky box follows the sticky header without changing its height. ---- */
@media (min-width:768px){
  .wx-lang-top{display:block;position:sticky;top:0;height:0;padding:0;margin:0 auto;z-index:1000;width:768px;font-size:10px}
  .wx-lang-top .wx-lang-in{position:absolute;left:604.5px;top:40px;transform:translate(-50%,-50%)}
  .wx-lang-top a,.wx-lang-top strong{padding:0 .3em;line-height:2}
}
@media (min-width:960px){
  .wx-lang-top{width:960px;font-size:12px}
  .wx-lang-top .wx-lang-in{left:756px;top:50px}
}
@media (min-width:1200px){
  .wx-lang-top{width:1200px;font-size:15px}
  .wx-lang-top .wx-lang-in{left:945px;top:63px}
  .wx-lang-top a,.wx-lang-top strong{padding:0 .4em}
}
@media (min-width:1920px){
  .wx-lang-top{width:1920px;font-size:24px}
  .wx-lang-top .wx-lang-in{left:1511.5px;top:100px}
}

/* ---- footer utility row: language switcher again, plus the privacy link ---- */
.wx-foot{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 32px;
  background:#324d59;color:#fff;box-sizing:border-box;
  font-family:"Red Hat Display",sans-serif;font-weight:300;font-size:14px;line-height:1;
  /* bottom space keeps the row clear of the fixed Google and WhatsApp buttons on phones */
  padding:8px 18px 92px;
}
.wx-foot .wx-privacy{display:block;color:inherit;text-decoration:none;line-height:40px;padding:0 .55em}
.wx-foot .wx-privacy:hover,.wx-foot .wx-privacy:focus-visible{text-decoration:underline;text-underline-offset:.25em}
@media (min-width:768px){.wx-foot{font-size:11px;padding:10px 24px 14px}}
@media (min-width:960px){.wx-foot{font-size:12px;padding:12px 24px 18px}}
@media (min-width:1200px){.wx-foot{font-size:15px;padding:14px 24px 22px}}
@media (min-width:1920px){.wx-foot{font-size:22px;padding:22px 24px 34px}}

/* ---- footer service lists: the export gives each list a fixed-height box sized for four rows.
        With a fifth link (ERP Systems, SEO Services) the rows are set closer so the list keeps
        its old height and nothing below it moves. Same spacing on all three lists. ---- */
.wx-flist > li,.wx-flist > li a{line-height:1.44 !important}
