/* Analysevalg: the consent card and its button as on avanoq.no (consent.css there), same classes and values.
   Scoped to .avq-consent*; no page stylesheet changes. Loaded on every page next to /site/google-analytics.js.
   Additions to avanoq.no's values: height/width auto and an unchanged hover background (the July pages set
   button{height:48px}, button:hover{background:#405448} and width:100% on phones), and the storage-failure message. */
.avq-consent{position:fixed;z-index:60;left:24px;bottom:24px;width:420px;max-width:calc(100% - 48px);padding:19px 20px 16px;background:#fcfcfa;color:#2d332f;border:1px solid #d9dad4;border-radius:3px;box-shadow:0 6px 28px #252b2714;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;box-sizing:border-box;text-align:left}
.avq-consent h2{margin:0 0 7px;font-family:inherit;font-size:15px;line-height:1.35;letter-spacing:-.2px;font-weight:500;color:#4f6657}
.avq-consent p{margin:0;font-family:inherit;font-size:12px;line-height:1.65;color:#666b67}
.avq-consent a{color:#4f6657;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.avq-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.avq-consent-actions button{height:auto;min-height:40px;padding:9px 12px;border:1px solid #4f6657;border-radius:2px;background:#fcfcfa;color:#4f6657;font:400 12px/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif;cursor:pointer}
.avq-consent-actions button:hover{background:#eeede8}
.avq-consent-settings{position:fixed;bottom:12px;left:16px;z-index:50;height:auto;width:auto;border:1px solid #d9dad4;border-radius:2px;background:#fcfcfa;color:#4f6657;font:400 11px/1.4 "Helvetica Neue",Helvetica,Arial,sans-serif;padding:9px 12px;cursor:pointer;box-shadow:0 2px 10px #252b2708}
.avq-consent-settings:hover{background:#fcfcfa}
.avq-consent-settings[hidden]{display:none!important}
.avq-consent :focus-visible,.avq-consent-settings:focus-visible{outline:2px solid #4f6657;outline-offset:3px}
/* Selskapsanalyse only: the message shown in the card when the browser refuses to store the choice. */
.avq-consent .avq-consent-status{margin-top:10px;color:#9c332d}
@media(max-width:640px){.avq-consent{left:12px;bottom:12px;width:auto;right:12px;max-width:none;padding:16px}.avq-consent-actions button{min-height:44px}.avq-consent-settings{left:12px;bottom:10px}}
@media print{.avq-consent,.avq-consent-settings{display:none!important}}
