/* ==========================================================================
   Edmonton Police Association — static rebuild
   Breakpoints follow the original Slider Revolution levels:
     desktop   >= 1024px
     notebook  778–1023px
     tablet    480–777px   (slide columns stack, side tabs hidden)
     phone     < 480px     (Forward / Back buttons appear)
   ========================================================================== */

:root {
  --cyan: #33ccff;
  --navy: #0c1725;
  --ink: #1c1d1b;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 15px/24px "Fira Sans", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.14em; flex: none; }
.ic-chev { width: .714em; }
.ic-tw { width: .929em; }
.ic-ig { width: .857em; }
.ic-scale { width: 1.286em; }
.ic-inst { width: 1.143em; }
.ic-umb { width: .929em; }
.ic-piggy { width: .951em; }
.ic-way { width: .689em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* -------------------------------------------------------------------------- */
/* Home slider                                                                 */
/* -------------------------------------------------------------------------- */
.es {
  position: relative;
  height: 100vh; height: var(--es-h, 100vh);
  min-height: 300px;
  overflow: hidden;
  background: var(--navy);
  font-family: "Nunito Sans", sans-serif;
}
.es-slides { position: absolute; inset: 0; }
.es-slide { position: absolute; inset: 0; visibility: hidden; z-index: 1; }
.es-slide.active { visibility: visible; z-index: 3; }
.es-slide.leaving { visibility: visible; z-index: 2; }
.es-bg { position: absolute; inset: 0; overflow: hidden; }
.es-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.es-img { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; transform-origin: 50% 50%; will-change: transform; }
.es-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); }

/* layer zone: welcome sits at the top, other slides are centred */
.es-zone { position: absolute; inset: 0; display: flex; align-items: center; }
.es-top .es-zone { align-items: flex-start; }
.es-row { display: flex; width: 100%; padding: 50px 0; }
.es-col1 { width: 60%; }
.es-col2 { width: 40%; padding-right: 100px; }
.es-layer-fade { transition: opacity .3s cubic-bezier(.645,.045,.355,1); }

.es-spacer { width: 150px; height: 184px; margin-bottom: 10px; }
.es-title {
  margin: 0; padding: 0;
  font: 700 50px/50px "Nunito Sans", sans-serif; color: #fff;
  text-shadow: 0 10px 30px rgba(12,23,37,.65);
}
.es-pl10 { padding-left: 10px; }
.es-intro {
  margin-top: 30px;
  background: rgba(0,0,0,.45); color: rgba(255,255,255,.75);
  font: 400 18px/28px Montserrat, sans-serif;
}
.es-intro-nunito { font-family: "Nunito Sans", sans-serif; }
.es-intro-welcome { padding: 10px; font: 400 20px/28px "Nunito Sans", sans-serif; }
.es-intro h4 {
  margin: 0 0 20px;
  font: 700 24px/24px "Nunito Sans", sans-serif; letter-spacing: -.4px;
  color: lightgray;
}
.es-intro-strong { background: rgba(0,0,0,.55); color: rgba(255,255,255,.85); }

.es-btns { display: flex; flex-wrap: wrap; align-items: flex-start; }
.es-cta {
  display: inline-block; margin-top: 40px; padding: 0 20px;
  font: 700 13px/40px Montserrat, sans-serif; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: var(--cyan);
  border: 0; border-bottom: 1px solid rgba(0,183,177,0); border-radius: 0;
  box-shadow: 0 0 60px var(--cyan);
  cursor: pointer; white-space: nowrap;
  transition: all .3s cubic-bezier(.25,.46,.45,.94);
}
.es-cta:hover { filter: grayscale(30%); }
.es-cta-fixed { width: 170px; padding: 0 10px; text-align: center; }
.es-cta-member { margin-left: 55px; }

/* Forward / Back (phone only) */
.es-nav {
  display: none;
  position: absolute; top: 630px; z-index: 8;
  padding: 7px 17px; border: 0; border-radius: 30px;
  font: 400 9px/11px Roboto, sans-serif; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(0,0,0,.75);
  cursor: pointer;
  transition: color .2s ease-out, background-color .2s ease-out;
}
.es-nav:hover { color: #000; background: #fff; }
.es-nav .ic { vertical-align: -.1em; }
.es-next { left: min(320px, calc(100% - 117px)); }
.es-back { left: min(240px, calc(100% - 197px)); }

/* vertical slide tabs */
.es-tabs {
  position: absolute; left: 0; top: 50%; z-index: 10;
  width: 340px; height: 640px; margin-top: -320px;
  background: rgba(0,0,0,.45);
  animation: es-fade 1s both;
}
.es-tabs-inner { position: absolute; top: 30px; left: 30px; width: 280px; }
.es-tab {
  display: block; width: 280px; height: 120px; margin: 0 0 10px; padding: 20px 25px;
  text-align: left; border: 0; cursor: pointer;
  background: rgba(255,255,255,0); opacity: .65;
  font-family: "Nunito Sans", sans-serif;
  transition: all .3s;
}
.es-tab:hover, .es-tab.selected { background: rgba(255,255,255,.1); opacity: 1; box-shadow: 0 3px 20px rgba(12,23,37,.1); }
.es-tab-bar { display: block; height: 3px; margin-bottom: 15px; background: rgba(255,255,255,.25); transition: background-color .3s; }
.es-tab.selected .es-tab-bar { background: var(--cyan); }
.es-tab-title { display: block; font: 700 18px/20px "Nunito Sans", sans-serif; color: #fff; }
@keyframes es-fade { from { opacity: 0; } to { opacity: 1; } }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.stm-footer { background: #000; color: #fff; padding-top: 67px; }
.footer-widgets { display: flex; flex-wrap: wrap; margin: 0 -15px; padding-bottom: 44px; }
.stm-footer .widget { width: 33.3333%; padding: 0 15px; margin-bottom: 24px; }
.stm-footer .widget h4 { margin: 0 0 20px; font: 600 18px/24px "Nunito Sans", sans-serif; letter-spacing: -.4px; color: #fff; }
.stm-footer ul { list-style: none; margin: 0; padding: 0; }
.stm-footer li { margin-bottom: 10px; }
.stm-footer li:last-child { margin-bottom: 0; }
.stm-footer a { color: #fff; transition: color .3s; }
.stm-footer a:hover { color: var(--cyan); }

/* -------------------------------------------------------------------------- */
/* Lightbox popups                                                             */
/* -------------------------------------------------------------------------- */
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 999999; opacity: 0; transition: opacity .5s ease; }
.lb.open { opacity: 1; }
.lb[hidden] { display: none; }
.lb-underlay { position: fixed; inset: 0; background: rgba(12,23,37,.5); }
.lb-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lb-module { position: relative; min-height: 1000px; display: flex; align-items: center; justify-content: center; }
.lb-panel {
  display: none; position: relative; z-index: 1;
  width: 900px; max-width: 100%;
  padding-bottom: 40px;
  background: var(--navy);
  transition: opacity .3s cubic-bezier(.645,.045,.355,1);
}
.lb-panel.active { display: block; }
.lb-panel.fading { opacity: 0; }
.lb-contact { padding-top: 100px; padding-bottom: 120px; }
.lb-hist { padding-bottom: 150px; }

.lb-title { margin: 50px 0 0; padding: 0 40px; font: 700 40px/40px "Nunito Sans", sans-serif; color: #fff; }
.lb-content { margin-top: 40px; padding: 0 40px; font: 400 18px/28px Montserrat, sans-serif; color: rgba(255,255,255,.75); }
.lb-address { height: 484px; margin-bottom: 50px; }
.lb-mb20 { margin-bottom: 20px; }
.lb-btn {
  display: inline-block; margin: 40px 40px 0 40px; padding: 0 20px;
  font: 700 13px/40px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px;
  color: #fff; background: var(--cyan);
  border-bottom: 1px solid rgba(0,183,177,0);
  box-shadow: 0 0 60px var(--cyan);
  transition: all .3s;
}
.lb-btn:hover { filter: grayscale(30%); }
.lb-logo { display: block; width: 155px; height: 191px; margin-left: 40px; }
.lb-header { display: block; width: 100%; }
.lb-social { display: flex; align-items: flex-end; }
.lb-follow { display: inline-block; padding-left: 40px; font: 400 18px/20px "Open Sans", sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.lb-soc { display: inline-flex; justify-content: center; align-items: center; height: 51px; margin: 0; font-size: 50px; line-height: 50px; color: #fff; transition: color .3s; }
.lb-soc:first-of-type { width: 53px; margin: 0 25px; }
.lb-soc:hover { color: var(--cyan); }

.lb-grid { display: flex; padding: 30px; background: var(--navy); }
.lb-grid-last { padding-bottom: 150px; }
.lb-cell { width: 33.3333%; padding: 10px; color: #fff; }
.lb-icon { display: block; height: 40px; margin: 0 10px 10px 0; font-size: 40px; color: #fff; }
.lb-resp { padding-bottom: 0; }
.lb-resp .lb-title { margin-bottom: 40px; }
.lb-cell h3 { margin: 0 0 20px; font: 400 25px/25px "Nunito Sans", sans-serif; color: #fff; }
.lb-cell p { margin: 0; font: 400 17px/25px Roboto, sans-serif; color: #fff; }

.lb-trib { margin: 50px 0 0; }
.lb-portrait { display: block; margin: 0 0 0 50px; }
.lb-date { padding: 20px 0 0 40px; font: 400 18px/25px Montserrat, sans-serif; letter-spacing: 2px; color: #fff; }
.lb-pn { display: flex; }
.lb-link {
  display: inline-block; margin: 40px 0 0 20px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 13px/38px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #fff;
  border-bottom: 2px solid rgba(255,255,255,.5);
  transition: color .3s, border-color .3s;
}
.lb-link.lb-prev { margin-left: 40px; }
.lb-link:hover { color: var(--cyan); border-color: var(--cyan); }

.lb-close {
  position: absolute; top: 30px; right: 30px; z-index: 5;
  width: 50px; height: 50px; padding: 0; border: 0; border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--navy); background: #fff; cursor: pointer;
  transition: color .3s, background-color .3s;
}
.lb-close:hover { color: #fff; background: #ff0066; }

/* -------------------------------------------------------------------------- */
/* Responsive: slider levels                                                   */
/* -------------------------------------------------------------------------- */
@media (min-width: 778px) and (max-width: 1023.98px) {
  .es-title { font-size: 40px; line-height: 40px; }
  .es-cta-member { margin-left: 0; }
  .lb-panel { width: 800px; }
  .lb-date { padding-top: 18px; }
}
@media (max-width: 777.98px) {
  .es-tabs { display: none; }
  .es-row { flex-direction: column; }
  .es-col1 { width: 100%; height: 0; }
  .es-col2 { width: 100%; padding: 0 40px; }
  .es-slide:not(.es-top) .es-col2 { padding-top: 150px; }
  .es-title { font-size: 40px; line-height: 40px; }
  .es-cta-member { margin-left: 40px; margin-right: 30px; }
  .lb-panel { width: 640px; }
  .lb-close { top: 20px; right: 20px; }
  .lb-date { padding-top: 14px; }
  .widget, .stm-footer .widget { width: 100%; }
}
@media (max-width: 479.98px) {
  .es-title { font-size: 30px; line-height: 30px; }
  .es-intro, .es-intro-welcome { font-size: 15px; line-height: 22px; }
  .es-cta-fixed { width: 150px; font-size: 10px; }
  .es-cta-member { margin-left: 25px; margin-right: 0; }
  .es-nav { display: block; }

  .lb-panel { width: 480px; padding-bottom: 20px; }
  .lb-contact { padding-top: 0; padding-bottom: 20px; }
  .lb-hist { padding-bottom: 20px; }
  .lb-title { margin-top: 40px; padding: 0 20px; font-size: 25px; line-height: 25px; }
  .lb-content { margin-top: 30px; padding: 0 20px; font-size: 15px; line-height: 22px; }
  .lb-btn { margin: 30px 20px 0 20px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-date { padding: 11px 0 0 20px; font-size: 15px; }
  .lb-link { margin: 30px 0 0 20px; }
  .lb-link.lb-prev { margin-left: 20px; }
  .lb-grid { flex-direction: column; padding: 20px; }
  .lb-grid-last { padding-bottom: 60px; }
  .lb-cell { width: 100%; }
  .lb-follow { padding-left: 20px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .es-img { transform: none !important; }
  .lb, .lb-panel, .es-tabs { transition: none; animation: none; }
}

/* ==========================================================================
   History page (WPBakery layout rebuilt without the plugin)
   ========================================================================== */
.page-history { background: #fff; }
.page-history h1, .page-history h2, .page-history h3, .page-history h4, .page-history h5, .page-history h6 {
  margin: 0; font-family: "Nunito Sans", sans-serif; font-weight: 700; color: var(--ink);
}
.page-history h2 { font-size: 44px; line-height: 40px; letter-spacing: -2.4px; }
.page-history h3 { font-size: 20px; line-height: 30px; letter-spacing: -1px; }
.page-history h4 { font-size: 24px; line-height: 24px; letter-spacing: -.4px; }
.page-history h5 { font-size: 20px; line-height: 24px; }
.page-history p { margin: 0 0 25px; }
.page-history p:last-child { margin-bottom: 0; }
.page-history .text-transform { text-transform: uppercase; }
.page-history .text-center { text-align: center; }
.page-history .text-left { text-align: left; }
.page-history em { font-style: italic; }

/* bootstrap-style containers and grid */
.vc_container-fluid, .container-fluid { width: 100%; padding: 0 15px; position: relative; }
.page-history .row, .page-history .vc_row { display: flex; flex-wrap: wrap; margin: 0 -15px; position: relative; }
.page-history .container > .vc_row { margin: 0 -15px; }
.page-history .vc_column_container { width: 100%; min-height: 1px; position: relative; }
.page-history .vc_column-inner { padding: 0 15px; display: flow-root; }
.page-history .vc_col-has-fill > .vc_column-inner { height: 100%; }
.vc_row-o-content-bottom > .container > .row { align-items: flex-end; }
@media (min-width: 768px) {
  .vc_col-sm-1 { width: 8.3333% !important; } .vc_col-sm-2 { width: 16.6667% !important; }
  .vc_col-sm-3 { width: 25% !important; } .vc_col-sm-4 { width: 33.3333% !important; }
  .vc_col-sm-6 { width: 50% !important; } .vc_col-sm-8 { width: 66.6667% !important; }
  .vc_col-sm-9 { width: 75% !important; } .vc_col-sm-10 { width: 83.3333% !important; }
  .vc_col-sm-12 { width: 100% !important; }
  .page-history .container { max-width: 750px; }
}
@media (min-width: 992px) {
  .vc_col-md-6 { width: 50% !important; }
  .page-history .container { max-width: 970px; }
}
@media (min-width: 1200px) {
  .vc_col-lg-6 { width: 50% !important; }
  .page-history .container { max-width: 1140px; }
}
/* the "lg/md 6" columns stay full width below 992px */
@media (max-width: 991.98px) { .vc_col-sm-12.vc_col-md-6 { width: 100% !important; } }

.wpb_content_element { margin-bottom: 35px; }
.wpb_text_column :last-child { margin-bottom: 0; }

/* responsive spacers */
.stm_spacer > div { display: none; }
@media (min-width: 992px) { .stm_spacer .visible-lg, .stm_spacer .visible-md { display: block; } }
@media (min-width: 768px) and (max-width: 991.98px) { .stm_spacer .visible-sm { display: block; } }
@media (max-width: 767.98px) { .stm_spacer .visible-xs { display: block; } }

/* icon list */
.stm_iconlist ul { list-style: none; margin: 0; padding: 0; }
.stm_iconlist li { display: flex; align-items: flex-start; margin-bottom: 13px; padding-bottom: 1px; }
.ic-list { flex: none; width: 19px; height: 19px; margin: 3px 15px 0 0; color: var(--ink); }

blockquote { margin: 0; padding: 0 30px; border-left: 5px solid var(--ink); font: italic 400 18px/30px "Fira Sans", sans-serif; }
blockquote p { font-weight: 300; }
.page-history figure { margin: 0; }
.vc_single_image-wrapper { display: inline-block; line-height: 0; }
.page-history .vc_custom_heading { margin-bottom: 13px; }
.vc_align_left { text-align: left; }

/* dark bands with a photo stretched to the viewport edge */
.mbc { background-color: var(--ink); }
.mbc .vc_row-o-equal-height > .container > .row { align-items: stretch; }
.vc_col-has-fill > .vc_column-inner { background-size: cover; background-repeat: no-repeat; background-position: center; }
.page-history { --cw: 100vw; --stretch: 15px; }
@media (min-width: 768px) { .page-history { --stretch: calc((var(--vw, 100vw) - 720px) / 2); } }
@media (min-width: 992px) { .page-history { --stretch: calc((var(--vw, 100vw) - 940px) / 2); } }
@media (min-width: 1200px) { .page-history { --stretch: calc((var(--vw, 100vw) - 1110px) / 2); } }
[data-stretch="right"] > .vc_column-inner { margin-right: calc(-1 * var(--stretch)); }
[data-stretch="left"] > .vc_column-inner { margin-left: calc(-1 * var(--stretch)); }

/* parallax banner */
.stm-parallax { background-size: cover; background-position: 50% 0; background-attachment: fixed; overflow: hidden; }
.stm_row-opacity { position: absolute; inset: 0; }
.vc_parallax { overflow: hidden; }
.vc_parallax-inner { position: absolute; left: 0; right: 0; top: 0; height: 150%; z-index: 0; background-size: cover; background-position: 50% 0; }
.vc_parallax > .container { position: relative; z-index: 1; }
.page-history .stm-parallax { margin-left: 0; margin-right: 0; }

/* accordion */
.acc { margin-bottom: 35px; }
.acc-title { margin: 0; font: 700 24px/24px "Nunito Sans", sans-serif; }
.acc-head {
  position: relative; display: block;
  padding: 14px 60px 14px 20px;
  font: 700 14px/24px "Nunito Sans", sans-serif; letter-spacing: -.4px; text-transform: uppercase;
  color: var(--ink); background: transparent;
  border: 1px solid rgba(0,0,0,.2); border-bottom: 0;
  transition: all .25s;
}
.acc-item:last-child .acc-head { border-bottom: 1px solid rgba(0,0,0,.2); }
.acc-item.active .acc-head { color: #fff; background: var(--ink); border-color: var(--ink); }
.acc-caret { position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -3px; }
.acc-caret::before {
  content: ""; position: absolute; left: 0; top: 0;
  border: 6px solid transparent; border-top-color: currentColor;
  transition: transform .25s;
}
.acc-item.active .acc-caret::before { transform: scale(-1) translateY(6px); }
.acc-body { overflow: hidden; transition: height .3s ease-in-out; }
.acc-inner { padding: 20px 0 23px; }

@media (max-width: 767.98px) {
  body.page-history, .stm-footer { font-size: 16px; }
  .page-history h2 { font-size: 37px; line-height: 44.4px !important; }
  .page-history h3 { line-height: 24px !important; }
  .acc-head { padding: 11px 20px; line-height: 18px; }
  .acc-head span { font: 400 15px/15px "Fira Sans", sans-serif; letter-spacing: -.4px; }
  .footer-widgets { padding-bottom: 0; }
  .stm-footer .widget { margin-bottom: 10px; }
  .page-history .stm_default_paddings > .vc_column-inner { padding-left: 15px !important; padding-right: 15px !important; }
}
