/* OEE calculator finder: the search box in the page header, the grouped industry tiles and the "suggest a calculator" pop-up */
.oef-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.oef-search{position:relative;max-width:640px;margin-top:26px}
.oef-search input{width:100%;box-sizing:border-box;padding:15px 18px;border:0;border-radius:14px;font:inherit;font-size:16px;color:#12285F;background:#fff;box-shadow:0 18px 40px -18px rgba(0,0,0,.55)}
.oef-search input:focus{outline:3px solid #FF8A8F;outline-offset:2px}
.oef-search ul{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #E4E8F2;border-radius:14px;box-shadow:0 24px 50px -20px rgba(8,20,52,.45)}
.oef-search li{margin:0;padding:0}
.oef-search li a{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;color:#12285F;text-decoration:none}
.oef-search li a b{font-size:15px;line-height:1.3}
.oef-search li a span{font-size:12.5px;color:#5C6580}
.oef-search li:hover a,.oef-search li.is-active a{background:#EEF2FB}
.oef-search li.oef-none{display:flex;flex-direction:column;gap:8px;padding:12px;font-size:14px;color:#5C6580}
.oef-none-t{font-size:14px;line-height:1.45;color:#2B3350}
.oef-none-b{display:flex;flex-wrap:wrap;gap:8px}
.oef-none-b button{font:inherit;font-size:13.5px;font-weight:700;color:#fff;background:#12285F;border:0;border-radius:30px;padding:9px 16px;cursor:pointer}
.oef-none-b button:hover{background:#E43036}
.oef-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.oef-quick{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:18px}
.oef-quick a{display:inline-block;padding:7px 14px;border:1px solid rgba(255,255,255,.28);border-radius:30px;font-size:13.5px;font-weight:600;color:#fff;text-decoration:none;background:rgba(255,255,255,.08)}
.oef-quick a:hover{background:rgba(255,255,255,.18)}
@media (max-width:640px){.oef-quick a{padding:9px 14px}}

/* the grouped list of calculators */
.oef-browse{margin:8px 0 0}
.oef-browse h2{margin:0 0 6px}
.oef-lede{margin:0 0 6px;color:#5C6580}
.oef-browse h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:26px 0 12px;font-size:18px}
.oef-more{font-size:13.5px;font-weight:600;color:#12285F;text-decoration:underline}
.oef-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.oef-tiles li{margin:0;padding:0}
.oef-tiles a{display:flex;flex-direction:column;gap:3px;height:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #E4E8F2;border-radius:14px;background:#fff;color:#12285F;text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.oef-tiles a:hover,.oef-tiles a:focus-visible{border-color:#12285F;box-shadow:0 12px 26px -16px rgba(18,40,95,.5);transform:translateY(-1px)}
.oef-tiles b{font-size:15.5px;line-height:1.3}
.oef-tiles span{font-size:12.5px;line-height:1.4;color:#5C6580}
.oef-missing{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 22px;margin:28px 0 0;padding:18px 20px;border-radius:14px;background:#EEF2FB}
.oef-missing p{margin:0;flex:1 1 320px;font-size:15.5px;line-height:1.5;color:#2B3350}
@media (max-width:560px){.oef-tiles{grid-template-columns:1fr 1fr}.oef-tiles a{padding:12px 13px}}
@media (max-width:360px){.oef-tiles{grid-template-columns:1fr}}

/* the suggestion pop-up */
.oef-overlay{position:fixed;inset:0;z-index:310;background:rgba(8,20,52,.6);display:flex;align-items:flex-start;justify-content:center;padding:32px 16px;overflow-y:auto}
.oef-overlay[hidden]{display:none}
.oef-modal{position:relative;background:#fff;border-radius:20px;max-width:560px;width:100%;padding:30px 28px 24px;box-shadow:0 40px 90px -30px rgba(8,20,52,.7);color:#12285F}
.oef-modal h2{margin:0;font-size:24px;line-height:1.2;color:#12285F}
.oef-sg-lede{margin:8px 0 18px;font-size:15px;line-height:1.5;color:#5C6580}
.oef-close{position:absolute;right:14px;top:10px;width:40px;height:40px;border:0;background:none;font-size:30px;line-height:1;color:#5C6580;cursor:pointer}
.oef-kind{border:0;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px;font-size:15px}
.oef-kind legend{font-size:13px;font-weight:700;color:#5C6580;padding:0;margin-bottom:6px}
.oef-kind label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.oef-f{display:block;font-size:13.5px;font-weight:700;color:#12285F;margin-bottom:12px}
.oef-f input,.oef-f textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:11px 12px;border:1px solid #D5DBEA;border-radius:10px;font:inherit;font-size:15px;font-weight:400;color:#12285F;background:#fff}
.oef-f input:focus,.oef-f textarea:focus{outline:2px solid #12285F;outline-offset:1px}
.oef-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.oef-err{margin:6px 0 10px;padding:10px 12px;border-radius:10px;background:#FDF0F0;color:#B4361C;font-size:14px}
.oef-send{width:100%;justify-content:center}
.oef-legal{margin:12px 0 0;font-size:12.5px;color:#5C6580;line-height:1.45}
.oef-done{padding:20px 0 6px;text-align:left}
.oef-done p{margin:10px 0 18px;font-size:15.5px;line-height:1.55;color:#2B3350}
@media (max-width:560px){.oef-row{grid-template-columns:1fr}.oef-modal{padding:26px 18px 20px}}

/* the free-tools page header is light, so the search box and the quick links need their own colours there */
.tl-hero .oef-search input{border:1px solid #D5DBEA;box-shadow:0 10px 26px -16px rgba(18,40,95,.4)}
.tl-hero .oef-quick a{color:#12285F;background:#fff;border-color:#D5DBEA}
.tl-hero .oef-quick a:hover{background:#EEF2FB;border-color:#12285F}

/* the site's article lists add bullets and padding; the tiles are not a bullet list */
.tl-prose .oef-tiles,.oef-browse .oef-tiles{list-style:none;padding:0;margin:0}
.tl-prose .oef-tiles li,.oef-browse .oef-tiles li{margin:0;padding:0;list-style:none}
.tl-prose .oef-tiles li::before,.tl-prose .oef-tiles li::marker,.oef-browse .oef-tiles li::before{content:none}
.tl-prose .oef-browse h2{margin-top:0}

/* the header must not clip the list of matches, and must sit above the section that follows it */
.tl-hero.po-hero{overflow:visible;z-index:20}
.oef-search ul{max-height:70vh;overflow-y:auto}

/* the page "OEE calculators by industry": the two kinds of calculator, side by side */
.oef-kinds{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 8px}
.oef-kinds a{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border:1px solid #E4E8F2;border-radius:16px;background:#fff;color:#12285F;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.oef-kinds a:hover,.oef-kinds a:focus-visible{border-color:#12285F;box-shadow:0 14px 30px -18px rgba(18,40,95,.5)}
.oef-kinds b{font-size:18px;line-height:1.3}
.oef-kinds span{font-size:14.5px;line-height:1.5;color:#5C6580}
.oef-kinds em{font-style:normal;font-size:13.5px;font-weight:700;color:#E43036;margin-top:4px}
@media (max-width:720px){.oef-kinds{grid-template-columns:1fr}}
/* a short pointer to that page, used on the OEE pages and the tools hub */
.oef-pointer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 22px;margin:28px 0;padding:18px 20px;border-radius:14px;background:#EEF2FB}
.oef-pointer p{margin:0;flex:1 1 320px;font-size:15.5px;line-height:1.5;color:#2B3350}
