/* ===== Active Angels Network static site: header, menus, search, home slider, testimonials, accordion (hand-written) ===== */
:root{--red:#a80b25;--ink:#252525;--txt:#565656;--menu:"Raleway",Helvetica,Arial,sans-serif}

/* ---------- header (one layout for every page: logo centred over the menu) ---------- */
.hd{position:relative;z-index:199;height:161px;font-family:"Open Sans",Helvetica,Arial;font-size:14px;line-height:normal}
.hd-wrap{position:static;width:100%;height:161px;background:#fff;border-bottom:1px solid transparent;transition:height .4s ease-in-out,box-shadow .4s ease-in-out}
.hd-in{position:relative;width:1170px;max-width:100%;height:160px;margin:0 auto;padding:0 15px}
.hd-logo{display:block;height:80px;text-align:center;line-height:0;transition:height .4s ease-in-out}
.hd-logo a{display:inline-block;line-height:0}
.hd-logo img{height:80px;width:auto;max-width:none;transition:height .4s ease-in-out}
.hd-nav{height:80px;display:flex;align-items:center;justify-content:center}
.dm{list-style:none;margin:0;padding:0;display:flex;gap:6.3px}
.dm>li{position:relative;line-height:27px}
.dm>li>a{position:relative;display:inline;padding:11px 14px;font-family:var(--menu);font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--ink);line-height:normal;transition:color .3s}
.dm>li:hover>a,.dm>li.current>a{color:var(--red)}
.dm .sub{list-style:none;margin:0;position:absolute;left:0;top:21px;padding:10px 10px 10px 30px;background:#fff;border:1px solid #eee;box-shadow:0 0 18px rgba(0,0,0,.05);
  text-align:left;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;z-index:5}
.dm>li:hover>.sub{opacity:1;visibility:visible}
.dm .sub a{display:block;padding:12px 20px 12px 18px;font-family:"Open Sans",Helvetica,Arial;font-size:13px;font-weight:400;line-height:14px;color:#444;white-space:nowrap;transition:color .3s}
.dm .sub a:hover,.dm .sub li.current>a{color:var(--red)}
.dm>li.mega{position:static}
.dm .tg{display:none}
.dm .sub.mega{left:15px;right:15px;top:129px;display:flex;padding:30px 10px 30px 50px}
.dm .sub.mega li{width:181px;padding-left:20px}
.dm .sub.mega a{width:131px;padding:0;font-weight:700;text-transform:uppercase;white-space:normal}
/* search + login icons */
.hd-x{position:absolute;right:15px;top:80px;display:flex;gap:20px;list-style:none;margin:0;padding:0;transition:top .4s ease-in-out}
.hd-x a,.hd-x button{display:block;height:27px;padding:5px 0 0;border:0;background:none;color:var(--txt);font-size:14px;line-height:14px;cursor:pointer}
.hd-x.nolock{right:46px}
.hd-x a:hover,.hd-x button:hover{color:var(--red)}
.hd-x .fa-close{display:none}
.hd.searching .hd-x .fa-search{display:none}
.hd.searching .hd-x .fa-close{display:inline-block}
/* search field (covers the logo + menu while open) */
.hd-search{position:absolute;left:15px;right:110px;top:0;bottom:0;display:none}
.hd-search input{width:100%;height:100%;border:0;outline:0;background:transparent;padding:0;font-family:"Open Sans",Helvetica,Arial;font-size:30px;line-height:40px;letter-spacing:2px;color:#555}
.hd.searching .hd-search{display:block}
.hd.searching .hd-logo,.hd.searching .hd-nav{visibility:hidden}
/* burger (tablet + phone) */
.hd-burger{display:none;position:absolute;left:15px;top:0;width:24px;height:80px;padding:0;border:0;background:none;cursor:pointer}
.hd-burger span,.hd-burger span::before,.hd-burger span::after{display:block;position:absolute;left:0;width:16px;height:2px;background:#111;transition:transform .3s,top .3s,background .3s}
.hd-burger span{top:39px}
.hd-burger span::before{content:"";top:-5px}
.hd-burger span::after{content:"";top:5px}
.hd.menu-open .hd-burger span{background:transparent}
.hd.menu-open .hd-burger span::before{top:0;transform:rotate(45deg)}
.hd.menu-open .hd-burger span::after{top:0;transform:rotate(-45deg)}
/* sticky (desktop, after scrolling past the header) */
@media (min-width:992px){
  .hd.sticky .hd-wrap{position:fixed;top:0;left:0;height:121px;box-shadow:0 12px 6px rgba(0,0,0,.06)}
  .hd.sticky .hd-in{height:120px}
  .hd.sticky .hd-logo{height:40px}
  .hd.sticky .hd-logo img{height:40px}
  .hd.sticky .hd-x{top:40px}
  .hd.sticky .dm .sub.mega{top:89px}
}
@media (max-width:1199.98px){.hd-in{width:970px}}
/* tablet + phone: one 80px row, burger left, logo centre, icons right; menu drops down under the header */
@media (max-width:991.98px){
  .hd,.hd-wrap{height:81px}
  .hd-in{width:750px;height:80px}
  .hd-logo{height:80px;padding:0 90px}
  .hd-logo img{height:80px;max-width:100%;object-fit:contain}
  .hd-burger{display:block}
  .hd-x{top:26px}
  .hd-search{left:50px;right:90px}
  .hd-search input{font-size:22px}
  .hd-nav{display:none;position:absolute;left:0;right:0;top:80px;height:auto;max-height:calc(100vh - 80px);overflow-y:auto;background:#fff;padding:0 15px 20px;box-shadow:0 12px 6px rgba(0,0,0,.06)}
  .hd.menu-open .hd-nav{display:block}
  .dm{display:block}
  .dm>li{display:block;line-height:normal}
  .dm>li>a{display:block;padding:12px 40px 12px 0;font-size:13px;line-height:15px}
  .dm .tg{display:block;position:absolute;right:0;top:0;width:40px;height:39px;border:0;background:none;cursor:pointer;color:var(--txt)}
  .dm .tg::before{content:"";display:inline-block;width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);transition:transform .3s}
  .dm>li.open>.tg::before{transform:rotate(-135deg)}
  .dm>li.open>a{color:var(--red)}
  .dm .sub,.dm .sub.mega{position:static;display:none;opacity:1;visibility:visible;border:0;box-shadow:none;padding:0 0 0 36px;transition:none}
  .dm>li.open>.sub{display:block}
  .dm .sub.mega li{width:auto;padding:0}
  .dm .sub a,.dm .sub.mega a{width:auto;padding:12px 0}
}
@media (max-width:767.98px){
  .hd-in{width:100%;padding:0 10px}
  .hd-burger{left:10px}
  .hd-x{right:10px}
  .hd-logo{padding:0 70px;display:flex;align-items:center;justify-content:center}
  .hd-logo img{height:auto;max-height:73px}
  .hd-search{left:40px;right:70px}
  .hd-search input{font-size:18px;letter-spacing:1px}
}

/* ---------- footer wrapper + back-to-top ---------- */
.ft{position:relative;background:#000;color:#fff}
.to-top{position:fixed;right:26px;bottom:26px;z-index:198;width:40px;height:40px;border-radius:3px;background:rgba(0,0,0,.25);color:#fff;font-size:24px;line-height:39px;text-align:center;
  opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s,background .3s}
.to-top.show{opacity:1;visibility:visible}
.to-top:hover{background:var(--red);color:#fff}

/* ---------- home slider (rebuild of the Slider Revolution banner) ---------- */
.hs{position:relative;overflow:hidden;width:100%;background:#111}
.hs-slide{position:absolute;inset:0;opacity:0;z-index:1;transition:opacity .3s linear}
.hs-slide.on{opacity:1;z-index:2}
.hs-bg{position:absolute;inset:0;background-size:cover;background-position:center center;transform:scale(1)}
.hs-l{position:absolute;white-space:nowrap;color:#fff;opacity:0}
.hs-l.mask{overflow:hidden}
.hs-l>span{display:inline-block;will-change:transform}
.hs-arrow{position:absolute;top:50%;z-index:20;width:40px;height:40px;margin-top:-20px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;padding:0;transition:background .3s}
.hs-arrow:hover{background:#000}
.hs-arrow svg{width:16px;height:16px;display:block;margin:auto}
.hs-prev{left:20px}.hs-next{right:20px}
.hs-dots{position:absolute;left:0;right:0;bottom:20px;z-index:20;display:flex;justify-content:center;gap:5px}
.hs-dots button{width:16px;height:16px;padding:0;border:3px solid #e5e5e5;border-radius:50%;background:linear-gradient(to bottom,#999 0%,#e1e1e1 100%);cursor:pointer}
.hs-dots button:hover,.hs-dots button.on{background:#666}

/* ---------- testimonial carousel (rebuild of the Owl carousel on Connect) ---------- */
.tc{position:relative}
.tc-vp{overflow:hidden;touch-action:pan-y}
.tc-track{display:flex;transition:transform 1.3s ease}
.tc-slide{flex:0 0 100%;min-width:0}
.tc .owl-prev,.tc .owl-next{cursor:pointer;z-index:3;transition:background .3s,color .3s}
.tc .owl-prev:hover,.tc .owl-next:hover{background:var(--red);border-color:var(--red);color:#fff}
.tc .owl-dots{text-align:center;line-height:0}
.tc .owl-dot{padding:0;border:0;background:none;cursor:pointer}
.tc .owl-dot span{display:block;position:relative;width:10px;height:10px;margin:0 4px;border-radius:50%}
.tc .owl-dot span::after{content:"";position:absolute;inset:0;border-radius:50%;background:#ccc;transition:background .3s}
.tc .owl-dot.on span::after,.tc .owl-dot:hover span::after{background:var(--red)}

/* ---------- accordion (Sponsors) ---------- */
.ac-title{cursor:pointer}
.ac-item>.ac-title::before{transition:transform .3s}
.ac-item.open>.ac-title::before{transform:rotate(90deg)}
.ac-item.open>.ac-content{display:block}

/* ---------- Zoho Forms slot (replaces the DNN Live Forms) ---------- */
.zf-slot{margin:20px 0;padding:40px 20px;border:2px dashed #ccc;text-align:center;color:#888;font-size:15px}
.zf-slot iframe{width:100%;min-height:800px;border:0}

.zf-embed{margin:20px 0}
.zf-embed h1{text-transform:none}

/* ---------- Join Today application form (posts to /api/join -> Zoho CRM) ---------- */
.jf{max-width:760px;margin:10px auto 40px;padding:30px 40px 36px;background:#fff;border:1px solid #eee;box-shadow:0 0 18px rgba(0,0,0,.05);text-align:left}
.jf h3{margin:28px 0 12px;padding-bottom:8px;border-bottom:1px solid #e5e5e5;font-family:"Proza Libre",Helvetica,Arial;font-size:18px;font-weight:500;letter-spacing:1px;color:#252525}
.jf h3:first-child{margin-top:0}
.jf h4{margin:22px 0 6px;font-size:14px;font-weight:700;color:#252525}
.jf p{margin:0 0 12px}
.jf-lead{font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#252525}
.jf-radios label{display:flex;gap:10px;align-items:center;margin:0 0 10px;font-weight:600;cursor:pointer}
.jf-radios input{width:17px;height:17px;accent-color:var(--red);margin:0}
.jf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}
.jf-grid label{display:block;font-size:13px;font-weight:600;color:#444}
.jf-full{grid-column:1/-1}
.jf input[type=text],.jf input[type=email],.jf input[type=tel]{display:block;width:100%;height:40px;margin-top:5px;padding:0 12px;border:1px solid #ddd;border-radius:2px;font:inherit;font-size:14px;font-weight:400;color:#333;background:#fff}
.jf input:focus{outline:0;border-color:var(--red);box-shadow:0 0 0 2px rgba(168,11,37,.12)}
.req{color:var(--red)}
.jf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.jf-note{margin:24px 0 8px;font-size:13px;color:#777}
.jf-err{min-height:20px;margin:0 0 10px;color:var(--red);font-weight:600}
.jf-btn{display:inline-block;padding:12px 32px;border:0;border-radius:24px;background:var(--red);color:#fff;font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase;cursor:pointer;transition:background .3s}
.jf-btn:hover{background:#252525}
.jf-btn:disabled{opacity:.6;cursor:default}
.jf-done{max-width:760px;margin:10px auto 60px;padding:40px;border:1px solid #eee;text-align:center;outline:0}
.jf-done h3{font-family:"Proza Libre",Helvetica,Arial;font-size:24px;font-weight:400;color:#252525;margin:0 0 10px}
@media (max-width:767.98px){.jf{padding:22px 18px 28px}.jf-grid{grid-template-columns:1fr}}

/* ---------- search results ---------- */
.sr{max-width:1170px;margin:0 auto;padding:60px 15px 80px}
.sr form{display:flex;gap:10px;margin:0 0 30px}
.sr input{flex:1;height:44px;padding:0 14px;border:1px solid #ddd;font:inherit;font-size:16px}
.sr button{height:44px;padding:0 24px;border:0;background:var(--red);color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:1px;cursor:pointer}
.sr-count{margin:0 0 20px;color:#888}
.sr-item{margin:0 0 24px}
.sr-item a{font-size:18px;font-weight:600}
.sr-item p{margin:4px 0 0}
