/*
 * Site-wide rules that replace inline style="" attributes in the templates. Loaded on every page,
 * after the theme CSS. Values are exactly the ones the inline styles used.
 */

/* <main> (was style="margin-top:0" on every page). */
main#wp--skip-link--target {
  margin-top: 0;
}

/* Header search icon (was style="width:21px;height:21px"). */
.searchImage img {
  width: 21px;
  height: 21px;
}

/* Form honeypot field, hidden from people (was an inline style on .cla-hp). */
.cla-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Contact map (was style="border:0" on the iframe). */
.consent-embed iframe {
  border: 0;
}

/* News photo gallery: column count and the widened last photo (were CSS variables in a style attribute). */
.news-gallery--cols-3 { --gallery-cols: 3; }
.news-gallery--cols-4 { --gallery-cols: 4; }
.news-gallery--last-1 { --gallery-last: 1; }
.news-gallery--last-2 { --gallery-last: 2; }
.news-gallery--last-3 { --gallery-last: 3; }
.news-gallery--last-4 { --gallery-last: 4; }
.news-gallery--last-sm-1 { --gallery-last-sm: 1; }
.news-gallery--last-sm-2 { --gallery-last-sm: 2; }

/*
 * Image focus point (was style="object-position: …" from the "Image focus" fields).
 * cla_image() adds .cla-pos plus one class per axis, e.g. "cla-pos pos-x-35 pos-y-30" for "35% 30%".
 * !important, like the inline style it replaces, so it still wins over the theme's default object-position.
 */
.cla-pos {
  object-position: var(--pos-x, 50%) var(--pos-y, 50%) !important;
}
.pos-x-0{--pos-x:0%}.pos-x-1{--pos-x:1%}.pos-x-2{--pos-x:2%}.pos-x-3{--pos-x:3%}.pos-x-4{--pos-x:4%}.pos-x-5{--pos-x:5%}.pos-x-6{--pos-x:6%}.pos-x-7{--pos-x:7%}.pos-x-8{--pos-x:8%}.pos-x-9{--pos-x:9%}.pos-x-10{--pos-x:10%}.pos-x-11{--pos-x:11%}.pos-x-12{--pos-x:12%}.pos-x-13{--pos-x:13%}.pos-x-14{--pos-x:14%}.pos-x-15{--pos-x:15%}.pos-x-16{--pos-x:16%}.pos-x-17{--pos-x:17%}.pos-x-18{--pos-x:18%}.pos-x-19{--pos-x:19%}.pos-x-20{--pos-x:20%}.pos-x-21{--pos-x:21%}.pos-x-22{--pos-x:22%}.pos-x-23{--pos-x:23%}.pos-x-24{--pos-x:24%}.pos-x-25{--pos-x:25%}.pos-x-26{--pos-x:26%}.pos-x-27{--pos-x:27%}.pos-x-28{--pos-x:28%}.pos-x-29{--pos-x:29%}.pos-x-30{--pos-x:30%}.pos-x-31{--pos-x:31%}.pos-x-32{--pos-x:32%}.pos-x-33{--pos-x:33%}.pos-x-34{--pos-x:34%}.pos-x-35{--pos-x:35%}.pos-x-36{--pos-x:36%}.pos-x-37{--pos-x:37%}.pos-x-38{--pos-x:38%}.pos-x-39{--pos-x:39%}.pos-x-40{--pos-x:40%}.pos-x-41{--pos-x:41%}.pos-x-42{--pos-x:42%}.pos-x-43{--pos-x:43%}.pos-x-44{--pos-x:44%}.pos-x-45{--pos-x:45%}.pos-x-46{--pos-x:46%}.pos-x-47{--pos-x:47%}.pos-x-48{--pos-x:48%}.pos-x-49{--pos-x:49%}.pos-x-50{--pos-x:50%}.pos-x-51{--pos-x:51%}.pos-x-52{--pos-x:52%}.pos-x-53{--pos-x:53%}.pos-x-54{--pos-x:54%}.pos-x-55{--pos-x:55%}.pos-x-56{--pos-x:56%}.pos-x-57{--pos-x:57%}.pos-x-58{--pos-x:58%}.pos-x-59{--pos-x:59%}.pos-x-60{--pos-x:60%}.pos-x-61{--pos-x:61%}.pos-x-62{--pos-x:62%}.pos-x-63{--pos-x:63%}.pos-x-64{--pos-x:64%}.pos-x-65{--pos-x:65%}.pos-x-66{--pos-x:66%}.pos-x-67{--pos-x:67%}.pos-x-68{--pos-x:68%}.pos-x-69{--pos-x:69%}.pos-x-70{--pos-x:70%}.pos-x-71{--pos-x:71%}.pos-x-72{--pos-x:72%}.pos-x-73{--pos-x:73%}.pos-x-74{--pos-x:74%}.pos-x-75{--pos-x:75%}.pos-x-76{--pos-x:76%}.pos-x-77{--pos-x:77%}.pos-x-78{--pos-x:78%}.pos-x-79{--pos-x:79%}.pos-x-80{--pos-x:80%}.pos-x-81{--pos-x:81%}.pos-x-82{--pos-x:82%}.pos-x-83{--pos-x:83%}.pos-x-84{--pos-x:84%}.pos-x-85{--pos-x:85%}.pos-x-86{--pos-x:86%}.pos-x-87{--pos-x:87%}.pos-x-88{--pos-x:88%}.pos-x-89{--pos-x:89%}.pos-x-90{--pos-x:90%}.pos-x-91{--pos-x:91%}.pos-x-92{--pos-x:92%}.pos-x-93{--pos-x:93%}.pos-x-94{--pos-x:94%}.pos-x-95{--pos-x:95%}.pos-x-96{--pos-x:96%}.pos-x-97{--pos-x:97%}.pos-x-98{--pos-x:98%}.pos-x-99{--pos-x:99%}.pos-x-100{--pos-x:100%}
.pos-y-0{--pos-y:0%}.pos-y-1{--pos-y:1%}.pos-y-2{--pos-y:2%}.pos-y-3{--pos-y:3%}.pos-y-4{--pos-y:4%}.pos-y-5{--pos-y:5%}.pos-y-6{--pos-y:6%}.pos-y-7{--pos-y:7%}.pos-y-8{--pos-y:8%}.pos-y-9{--pos-y:9%}.pos-y-10{--pos-y:10%}.pos-y-11{--pos-y:11%}.pos-y-12{--pos-y:12%}.pos-y-13{--pos-y:13%}.pos-y-14{--pos-y:14%}.pos-y-15{--pos-y:15%}.pos-y-16{--pos-y:16%}.pos-y-17{--pos-y:17%}.pos-y-18{--pos-y:18%}.pos-y-19{--pos-y:19%}.pos-y-20{--pos-y:20%}.pos-y-21{--pos-y:21%}.pos-y-22{--pos-y:22%}.pos-y-23{--pos-y:23%}.pos-y-24{--pos-y:24%}.pos-y-25{--pos-y:25%}.pos-y-26{--pos-y:26%}.pos-y-27{--pos-y:27%}.pos-y-28{--pos-y:28%}.pos-y-29{--pos-y:29%}.pos-y-30{--pos-y:30%}.pos-y-31{--pos-y:31%}.pos-y-32{--pos-y:32%}.pos-y-33{--pos-y:33%}.pos-y-34{--pos-y:34%}.pos-y-35{--pos-y:35%}.pos-y-36{--pos-y:36%}.pos-y-37{--pos-y:37%}.pos-y-38{--pos-y:38%}.pos-y-39{--pos-y:39%}.pos-y-40{--pos-y:40%}.pos-y-41{--pos-y:41%}.pos-y-42{--pos-y:42%}.pos-y-43{--pos-y:43%}.pos-y-44{--pos-y:44%}.pos-y-45{--pos-y:45%}.pos-y-46{--pos-y:46%}.pos-y-47{--pos-y:47%}.pos-y-48{--pos-y:48%}.pos-y-49{--pos-y:49%}.pos-y-50{--pos-y:50%}.pos-y-51{--pos-y:51%}.pos-y-52{--pos-y:52%}.pos-y-53{--pos-y:53%}.pos-y-54{--pos-y:54%}.pos-y-55{--pos-y:55%}.pos-y-56{--pos-y:56%}.pos-y-57{--pos-y:57%}.pos-y-58{--pos-y:58%}.pos-y-59{--pos-y:59%}.pos-y-60{--pos-y:60%}.pos-y-61{--pos-y:61%}.pos-y-62{--pos-y:62%}.pos-y-63{--pos-y:63%}.pos-y-64{--pos-y:64%}.pos-y-65{--pos-y:65%}.pos-y-66{--pos-y:66%}.pos-y-67{--pos-y:67%}.pos-y-68{--pos-y:68%}.pos-y-69{--pos-y:69%}.pos-y-70{--pos-y:70%}.pos-y-71{--pos-y:71%}.pos-y-72{--pos-y:72%}.pos-y-73{--pos-y:73%}.pos-y-74{--pos-y:74%}.pos-y-75{--pos-y:75%}.pos-y-76{--pos-y:76%}.pos-y-77{--pos-y:77%}.pos-y-78{--pos-y:78%}.pos-y-79{--pos-y:79%}.pos-y-80{--pos-y:80%}.pos-y-81{--pos-y:81%}.pos-y-82{--pos-y:82%}.pos-y-83{--pos-y:83%}.pos-y-84{--pos-y:84%}.pos-y-85{--pos-y:85%}.pos-y-86{--pos-y:86%}.pos-y-87{--pos-y:87%}.pos-y-88{--pos-y:88%}.pos-y-89{--pos-y:89%}.pos-y-90{--pos-y:90%}.pos-y-91{--pos-y:91%}.pos-y-92{--pos-y:92%}.pos-y-93{--pos-y:93%}.pos-y-94{--pos-y:94%}.pos-y-95{--pos-y:95%}.pos-y-96{--pos-y:96%}.pos-y-97{--pos-y:97%}.pos-y-98{--pos-y:98%}.pos-y-99{--pos-y:99%}.pos-y-100{--pos-y:100%}
