/* PAT Discussions: styles for the header "Forum" menu, [pat-disc-menu].
   The first part is the rules of frontend.css that the menu uses, copied by a script so the header does not have to
   load the whole of frontend.css. If the Forum rows are restyled there, rebuild this file. The second part is the menu's own. */
.pat-disc-online-dot{ display: inline-block; width: 16px; height: 16px; box-sizing: border-box; margin-right: 2px; position: relative; top: 2px; background: transparent; border: 0px; box-shadow: none; isolation: isolate; padding: 0px !important; }
.pat-disc-online-dot::after{ content: ""; position: absolute; inset: 0px; width: auto; height: auto; box-sizing: border-box; border-radius: 50%; background: rgb(34, 197, 94); border: 2.5px solid rgb(255, 255, 255); box-shadow: rgba(178, 178, 178, 0.5) 0px 0px 4px; z-index: 1; margin: 0px !important; padding: 0px !important; }
.pat-disc-online-dot::before{ content: ""; position: absolute; inset: 0px; width: auto; height: auto; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(34, 197, 94, 0.6); transform-origin: 50% 50%; animation: 2.5s ease-out 0s infinite normal none running pat-disc-pulsate; z-index: 0; margin: 0px !important; padding: 0px !important; }
.pat-disc-staff-badge{ font-size: 11px; font-weight: 600; font-family: Inter; background: rgb(238, 246, 253); color: rgb(100, 116, 139); padding: 2px 5px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid rgb(216, 227, 235); display: inline-block; position: relative; }
.pat-disc-row-tag{ font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 10px; flex-shrink: 0; }
.pat-disc-row-author{ color: rgba(73, 80, 90, 0.85); font-weight: 600; }
.pat-disc-row-sep{ color: rgb(203, 213, 225); }
.pat-disc-row-client-type{ font-size: 11px; font-weight: 600; padding: 2px 5px; border-radius: 3px; }
.pat-disc-type-asp{ background: rgb(240, 253, 244); color: rgb(22, 163, 74); border: 1px solid rgba(22, 163, 74, 0.24); }
.pat-disc-type-nqp{ background: rgb(245, 243, 255); color: rgb(124, 58, 237); border: 1px solid rgba(124, 58, 237, 0.24); }
.pat-disc-type-exp{ background: rgb(254, 252, 232); color: rgb(202, 138, 4); border: 1px solid rgba(202, 138, 4, 0.39); }
.pat-disc-overall-group-label{ font-size: 20px; font-weight: 600; letter-spacing: 0.2px; color: rgb(81, 85, 88); padding-bottom: 4px; border-bottom: 1px solid rgb(229, 231, 233); }
.pat-disc-overall-online-bar{ display: inline-flex; align-items: flex-end; gap: 7px; color: rgb(144, 149, 155); padding-bottom: 3px; border: 1px solid rgb(229, 229, 229); border-radius: 30px; height: 32px; background-color: rgba(238, 238, 238, 0.53); align-self: center; margin-right: 8px; }
.pat-disc-overall-online-bar strong{ color: rgb(85, 85, 85); font-weight: 600; }
span.pat-disc-overall-online-count{ padding-left: 8px !important; font-size: 14px !important; }
.pat-disc-overall-online-bar .pat-disc-pill-label{ display: inline !important; font: inherit !important; color: inherit !important; padding: 0px !important; margin: 0px !important; letter-spacing: inherit !important; }
.pat-disc-debrief-badge{ display: inline-block; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--pat-disc-brand-fg, #fff); background: var(--pat-disc-brand, #D72723); border-radius: 4px; padding: 5px 7px 4px; margin-right: 8px; vertical-align: middle; line-height: 1; }
.pat-disc-overall-group-label{ display: flex; align-items: center; gap: 8px; }
@media (max-width: 600px){
.pat-disc-overall-group-label{ position: relative; }
}
.pat-disc-row-client-type{ white-space: nowrap; }
.pat-disc-ul{ display: inline-block; position: relative; font-weight: 600; color: rgb(52, 66, 76); padding-bottom: 9px; white-space: nowrap; }
.pat-disc-ul svg{ position: absolute; left: 0px; bottom: 0px; width: 100%; height: 12px; overflow: visible; pointer-events: none; }
.pat-disc-forum{ font-family: "Open Sans", sans-serif; color: rgb(52, 66, 76); font-size: 14px; background: rgb(255, 255, 255); text-align: left; }
.pat-disc-forum, .pat-disc-forum *{ box-sizing: border-box; }
.pat-disc-forum a{ text-decoration: none !important; }
.pdf-list{ position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); column-gap: 0px; margin: 0px; padding: 0px; background: rgb(255, 255, 255); }
.pdf-list::before{ content: ""; position: absolute; left: 50%; top: 0px; bottom: 0px; width: 1px; background: rgb(241, 245, 249); }
.pat-disc-forum .pdf-row{ display: grid; grid-template-columns: 84px minmax(0px, 1fr); gap: 0px 16px; align-items: center; padding: 14px 32px 14px 56px; border-bottom: 1px solid rgb(241, 245, 249); color: inherit; transition: 0.2s; }
.pat-disc-forum .pdf-row:nth-child(2n){ padding: 14px 56px 14px 32px; }
.pat-disc-forum a.pdf-row:hover{ background: rgba(248, 250, 252, 0.5); }
.pat-disc-forum a.pdf-row{ cursor: pointer; }
.pat-disc-forum a.pdf-row:hover .pdf-t-txt{ color: rgb(55, 147, 209); }
.pdf-lead{ width: 84px; height: 66px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgb(246, 248, 250); border: 1px solid rgb(237, 240, 243); overflow: hidden; }
.pat-disc-forum .pdf-lead img{ max-width: 56px; max-height: 46px; width: auto; height: auto; margin: 0px; }
.pdf-lead i{ width: 14px; height: 14px; border-radius: 50%; }
.pdf-lead.pdf-lead-tail{ justify-content: flex-start; padding: 0px; --pdf-tail-scale: 1.14; border-color: rgba(114, 114, 114, 0.08); box-shadow: rgba(186, 186, 186, 0.17) 0px 0px 4px inset; }
.pat-disc-forum .pdf-lead-tail img{ width: 75%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: left 75%; transform: scale(var(--pdf-tail-scale)); transform-origin: left center; }
.pdf-lead.pdf-lead-roundel{ border-color: rgba(114, 114, 114, 0.08); box-shadow: rgba(186, 186, 186, 0.17) 0px 0px 4px inset; }
.pat-disc-forum .pdf-lead-roundel img{ width: 70px; height: 58px; max-width: none; max-height: none; object-fit: contain; object-position: 15% center; display: block; margin: auto; }
.pat-disc-forum .pdf-list{ transition: opacity 0.15s; }
@media (min-width: 1921px){
.pat-disc-forum{ background: rgba(239, 247, 255, 0.86); }
}
.pdf-main{ display: block; min-width: 0px; }
.pdf-t{ display: flex; align-items: center; min-width: 0px; margin: 0px 0px 4px; font-size: 17px; font-weight: 600; color: rgb(52, 66, 76); font-family: Inter, sans-serif; line-height: 1.35; }
.pdf-t-txt{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0px; transition: color 0.12s; }
.pdf-t .pat-disc-debrief-badge{ flex: 0 0 auto; }
.pdf-m{ display: flex; gap: 5px; align-items: center; font-size: 13px; line-height: 1.5; color: rgba(100, 116, 139, 0.61); white-space: nowrap; overflow: hidden; }
.pdf-in{ flex: 0 0 auto; }
.pdf-by{ display: inline-flex; align-items: center; gap: 5px; }
.pat-disc-forum .pdf-m .pat-disc-staff-badge{ top: 0px; margin: 0px; line-height: 1.3; }
.pat-disc-forum .pdf-m .pat-disc-row-client-type{ line-height: 1.3; }
.pat-disc-forum .pdf-t .pat-disc-row-tag{ margin-left: 8px; font-family: Inter, sans-serif; line-height: 1.5; }
.pdf-sec{ font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-width: 0px; overflow: hidden; }
.pdf-sec span{ overflow: hidden; text-overflow: ellipsis; }
.pdf-by, .pdf-when{ flex: 0 0 auto; }
@media (max-width: 1500px){
.pdf-t{ font-size: 17px; }
.pat-disc-forum .pdf-row{ padding: 13px 24px 13px 40px; }
.pat-disc-forum .pdf-row:nth-child(2n){ padding: 13px 40px 13px 24px; }
}
@media (max-width: 1100px){
.pdf-t{ font-size: 16.5px; }
.pdf-list{ grid-template-columns: minmax(0px, 1fr); }
.pdf-list::before{ display: none; }
.pat-disc-forum .pdf-row, .pat-disc-forum .pdf-row:nth-child(2n){ padding: 14px 32px; }
}
@media (max-width: 600px){
.pat-disc-forum .pdf-row{ grid-template-columns: 60px minmax(0px, 1fr); gap: 0px 12px; padding: 12px 16px; }
.pat-disc-forum .pdf-row:nth-child(2n){ padding: 12px 16px; }
.pdf-lead{ width: 60px; height: 50px; }
.pat-disc-forum .pdf-lead img{ max-width: 40px; max-height: 34px; }
.pat-disc-forum .pdf-lead-tail img{ max-width: none; max-height: none; }
.pat-disc-forum .pdf-lead-roundel img{ width: 50px; height: 42px; max-width: none; max-height: none; }
.pdf-t{ font-size: 15.5px; }
.pdf-m{ font-size: 12px; }
.pdf-by{ display: none; }
.pdf-row-deb .pdf-t{ display: block; }
.pdf-row-deb .pdf-t .pat-disc-debrief-badge{ display: table; margin: 0px 0px 6px; font-size: 10.5px; }
.pdf-row-deb .pdf-t-txt{ display: block; }
}
.pat-disc-forum.pat-disc-preview{ background: none; }
.pdp-pill{ display: flex; margin: 0px 0px 18px; }
.pdp-pill .pat-disc-overall-online-bar{ margin: 0px; }
.pdp-frame{ border: 1px solid rgb(228, 233, 238); border-radius: 8px; overflow: hidden; background: rgb(255, 255, 255); }
.pat-disc-preview .pdf-list{ grid-template-columns: minmax(0px, 1fr); }
.pat-disc-preview .pdf-list::before{ display: none; }
.pat-disc-preview .pdf-row, .pat-disc-preview .pdf-row:nth-child(2n){ padding: 14px 22px; }
.pat-disc-preview .pdf-row:last-child{ border-bottom: 0px; }
.pat-disc-forum a.pdp-go{ flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0px 24px; border-radius: 30px; background: rgb(54, 69, 79); font: 600 14.5px Inter, sans-serif; white-space: nowrap; transition: background 0.15s; color: rgb(255, 255, 255) !important; }
.pat-disc-forum a.pdp-go:hover{ background: rgb(43, 55, 64); }
@media (max-width: 600px){
.pat-disc-preview .pdf-row, .pat-disc-preview .pdf-row:nth-child(2n){ padding: 12px 14px; }
.pat-disc-preview .pdf-by{ display: inline-flex; }
.pat-disc-preview .pat-disc-row-client-type, .pat-disc-preview .pdf-by .pat-disc-row-sep, .pat-disc-preview .pdf-t .pat-disc-row-tag{ display: none; }
.pdp-pill span.pat-disc-overall-online-count{ padding-right: 12px !important; }
}
.pdp-pill span.pdp-online-only{ padding-right: 12px !important; }
@keyframes pat-disc-pulsate { 
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---- PAT Discussions 3.9.71: the "Forum" menu in the logged-out header ([pat-disc-menu]) ---- */
#forum-box.popupbox{height:auto;padding:0;background:#fff}
#forum-box a{text-decoration:none;box-shadow:none}
.pat-disc-forum.pat-disc-preview.pdm{background:linear-gradient(180deg,#eff7ffdb 0%,#f6faff 55%,#fdfeff 100%);margin:0;text-align:left;line-height:1.5}
.pdm,.pdm *{box-sizing:border-box}
.pdm-wrap{padding:22px 42px 24px}
.pdm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px;border-bottom:1px solid rgba(229,231,233,.6);padding-bottom:8px}
.pdm-head .pdm-label{border-bottom:0;padding-bottom:0;margin:0;font-family:'Open Sans',sans-serif;gap:6px}
.pdm-dim{opacity:.6}
.pdm .pdp-pill{margin:0}
.pat-disc-preview .pdf-list.pdm-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.pdm-list::before{display:none}
.pat-disc-preview .pdf-list.pdm-list .pdf-row{padding:15px 22px!important;gap:16px;align-items:center;justify-content:flex-start;border-right:1px solid #f1f5f9}
.pdm-list .pdf-row:nth-child(2n){border-right:0}
.pdm-list .pdf-row:nth-last-child(-n+2){border-bottom:0}
.pdm-list .pdf-lead{flex:none;margin:0;width:76px;height:60px;position:relative;overflow:visible}
.pdm-lock{position:absolute;right:-7px;bottom:-7px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(29,52,97,.28);display:flex;align-items:center;justify-content:center}
.pdm-lock svg{width:13px;height:13px;fill:#1d3461;display:block}
.pdm-list .pdf-main{min-width:0;flex:1}
.pdm-list .pdf-t{display:flex;align-items:center;gap:8px;min-width:0}
.pdm-list .pdf-t-txt{font-size:16px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pat-disc-preview .pdm-list .pdf-t .pat-disc-debrief-badge{flex:none;display:block;padding:4.5px 7px;font-size:11.5px;line-height:1;letter-spacing:.4px;margin:0;box-shadow:0 1px 2px rgba(20,35,60,.22)}
/* where the browser can trim the line to the capitals' own height, the padding is then exactly equal above and below, whatever the font's metrics */
@supports (text-box-trim:trim-both){.pat-disc-preview .pdm-list .pdf-t .pat-disc-debrief-badge{text-box-trim:trim-both;text-box-edge:cap alphabetic;padding:6px 7px}}
/* the image glows blue when its row is hovered, as the Features menu does */
/* both states list the same two shadows (the faint inner one the image already has, and the glow), so the browser can fade between them */
.pat-disc-preview .pdm-list .pdf-lead{box-shadow:inset 0 0 4px rgba(186,186,186,.17),0 0 0 0 rgba(55,147,209,0);transition:box-shadow .25s ease}
.pat-disc-preview .pdm-list .pdf-row:hover .pdf-lead{box-shadow:inset 0 0 4px rgba(186,186,186,.17),0 0 8px 3px rgba(55,147,209,.42)}
.pdm-list .pdf-t .pat-disc-row-tag{flex:none}
.pdm-list .pdf-m{margin-top:6px}
.pdm-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:16px}
.pdm-foot>div{min-width:0}
.pdm-foot-t{font:400 15px/1.7 'Open Sans',sans-serif;color:#627279;white-space:nowrap}
.pdm-foot .pat-disc-ul{font-weight:600}
.pdm-foot .pdp-go{flex:none}
.pdm-n{display:none}
@media(max-width:1500px){.pdm-wrap{padding:22px 28px 24px}}
@media(max-width:1250px){.pdm-list .pdf-by{display:none}.pat-disc-preview .pdm-list .pdf-t .pat-disc-debrief-badge{font-size:10.5px;padding-left:6px;padding-right:6px}}
@media(max-width:1149px){.pdm-w{display:none}.pdm-n{display:inline}}
/* the small arrow beside "Forum" in the header, as the other drop-down items have */
.secondary-menu li.forum-menu>a::after{content:"";display:inline-block;margin-left:.4em;vertical-align:.18em;border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}
