/* Base styles for the site. Brand colours, header, footer and the editor's style classes live in the
   site template (Site header and footer, under /system/templates/), which is edited in the CMS. */
*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container-width, 1170px); margin-inline: auto; padding-inline: 15px; }

/* buttons / links styled from the editor's link style dropdown */
[class*="link-type-"] { display: inline-block; text-decoration: none; cursor: pointer; line-height: 1.3; }
.link-type-primary { background: var(--d-primary, #F37820); color: #fff; }
.link-type-primary:hover { color: #fff; }
.link-type-outline:hover { text-decoration: none; }
.link-type-light { background: #fff; }

/* blocks and columns from the editor */
.duoblock.block-width-fullwidth { box-shadow: 0 0 0 100vmax var(--blockbackground, transparent); clip-path: inset(0 -100vmax); background: var(--blockbackground, transparent); }
.duoblock:not(.block-width-fullwidth) { background: var(--blockbackground, transparent); }
.duocmsrow { display: flex; flex-wrap: wrap; }
.duocmscol { flex: 1 1 280px; min-width: 0; }
.alert { padding: 12px 18px; margin: 1em 0; background: var(--d-soft, #f2f2f2); }
table { border-collapse: collapse; max-width: 100%; }

/* menus: header navigation and its dropdowns */
.menucheckhide { display: none; }
ul.mainmenu, ul.mainmenu ul { list-style: none; margin: 0; padding: 0; }
ul.mainmenu { display: flex; align-items: stretch; }
ul.mainmenu > li { position: relative; display: flex; align-items: center; }
ul.mainmenu a { display: block; text-decoration: none; padding: 0 12px; line-height: 110px; }
ul.mainmenu .dropdown-arrow { display: none; }
ul.mainmenu ul.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid #ddd; z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .2s; }
ul.mainmenu li:hover > ul.dropdown-menu, ul.mainmenu li:focus-within > ul.dropdown-menu { opacity: 1; visibility: visible; }
ul.mainmenu ul.dropdown-menu a { line-height: 1.3; padding: 10px 14px; border-left: 5px solid transparent; }
ul.mainmenu ul.dropdown-menu li.active a, ul.mainmenu ul.dropdown-menu a:hover { border-left-color: var(--d-info, #51C0F5); }
ul.mainmenu ul.dropdown-menu li + li { border-top: 1px solid #eee; }
@media (max-width: 899px) {
  ul.mainmenu { flex-wrap: wrap; flex-basis: 100%; }
  ul.mainmenu a { line-height: 40px; }
  ul.mainmenu ul.dropdown-menu { display: none; }
}

/* Cookie banner and its modal. duo-kit's own css does not reach the shadow root on 8.8.6, so it is copied here
   (generated by tools/duo-kit-css.mjs). :host(cookie-banner) rules only apply inside the banner. */
:host(cookie-banner) .cookie-banner{position:fixed; bottom:0; left:0; right:0; background-color:rgba(0,0,0,0.8); padding:25px; color:white; display:flex; flex-wrap:wrap; font-size:14px; gap:15px; font-weight:400; z-index:1059;}
:host(cookie-banner) .message{flex:1 1 400px;}
:host(cookie-banner) .message::slotted{color:white; font-weight:400;}
:host(cookie-banner) .options{display:flex; gap:5px; align-items: center; justify-content: center}
:host(cookie-banner) .modal-body{padding:20px;}
:host(cookie-banner) button{background:black; border:1px solid white; padding:0.5em 1em; display:flex; color:white;}
:host(cookie-banner) .infopanel{max-height:50px; overflow:hidden; font-size:14px; transition:max-height 0.3s;}
:host(cookie-banner) .infopanel.active{max-height:800px;}
:host(cookie-banner) .infopanel .infotitle{all:unset; width:90%; display:block; background:#eee; padding:5px 30px; border-radius:5px; position: relative; cursor:pointer;}
:host(cookie-banner) .infopanel .infotitle h4{font-size:16px; padding:0; margin:0.5rem 0 0.5rem 0;}
:host(cookie-banner) .infopanel .infotitle:before{content:""; position: absolute; top: calc(50% - 10px); left: 5px; height:20px; width:20px; background-image:url('data:image/svg+xml;utf8,<svg width="100%" height="100%" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path style="fill:%23444" d="m66.156 50l-2.2188-2.5938-24-28-6.0938 5.1875 21.781 25.406-21.781 25.406 6.0938 5.1875 24-28z"/></svg>'); transition:transform 0.3s;}
:host(cookie-banner) .infopanel.active .infotitle:before{transform: rotate(90deg);}
:host(cookie-banner) .infopanel h4:is(span,
:host(cookie-banner) label){font-size:12px; text-align:right;}
:host(cookie-banner) .infotools{position: absolute; right:20px; top:0px; display:flex; gap:10px; align-items: center; height:45px;}
:host(cookie-banner) .infotools > *{margin:0;}
:host(cookie-banner) .panelinner{padding:10px;}
:host(cookie-banner) thead{background:#777; color:white;}
:host(cookie-banner) .checkbox{display:flex;}
:host(cookie-banner) .checkbox input[type=checkbox]{position: relative; width: 44px; height: 24px; margin: 0; background: #d0d5d2; -webkit-appearance: none; border-radius: 50px; cursor: pointer; outline: 0; border: none; top: 0;}
:host(cookie-banner) .checkbox input[type=checkbox]:before{position: absolute; content: ""; height: 20px; width: 20px; left: 2px; bottom: 2px; border-radius: 50%; background-color: white; -webkit-transition: 0.4s; transition: 0.4s; margin: 0;}
:host(cookie-banner) .checkbox input[type=checkbox]:checked{background:var(--s-success,#28a745);}
:host(cookie-banner) .checkbox input[type=checkbox]:checked:before{transform: translateX(20px);}
:host(cookie-banner){display:block;}
:host(cookie-banner) .smodal{display:block; position:static; background:white; z-index:1000; padding:15px; border-radius:var(--s-border-radius,4px); box-shadow:0 3px 10px rgba(0,0,0,0.5); transition:transform 0.5s; transform:scale3d(1,1,1); height: auto; max-width:100%; min-width:300px; align-self: flex-start;}
:host(cookie-banner) .backdrop{position:fixed; background-color:rgba(0,0,0,0.4); padding:20px; top:0; left:0; right:0; bottom:0; transition:background-color 0.5s; z-index:999; display:flex; align-content:start; overflow:auto; align-items: start; justify-content: center;}
:host(cookie-banner) .heading h3{margin:3px 0; font-size:21px; font-weight:normal;}
:host(cookie-banner) .heading{border-radius:var(--s-border-radius,4px) var(--s-border-radius,4px) 0 0; padding:10px 15px 10px 15px;; margin:-15px; margin-bottom:10px; border-bottom:1px solid rgba(0,0,0,0.1);}
:host(cookie-banner) .close{background:transparent; border:0px; font-size:24px; font-weight:bold; position:absolute; right:0px; top:0px; padding:7px 15px; cursor:pointer; opacity:0.5}
:host(cookie-banner) .close:hover{opacity:1;}
:host(cookie-banner) .modaltoolbar{border-top:1px solid #eee; padding:10px 10px 0px 10px; margin:20px -15px 0 -15px;}
:host(cookie-banner) .modaltoolbar:blank{display:none;}
/* EasyRoute look */
:host(cookie-banner) .cookie-banner{background-color:rgba(77,77,77,0.95); font-family:Roboto,-apple-system,system-ui,"Segoe UI",Arial,sans-serif;}
:host(cookie-banner) .options button{cursor:pointer; font:inherit; background:transparent;}
:host(cookie-banner) .options button:first-child{background:#F37820; border-color:#F37820;}
