/* ==========================================================================
   Calgary Police Association — static rebuild
   Breakpoints mirror the original theme:
     993+   desktop header + 250px slide-out menu
     <=992  mobile header, 280px mobile menu, 20px page gutters
     <=778  hamburger only (phone + login move into the menu)
     <=767  grid columns stack
     <800   info circle becomes a list (handled in JS + CSS)
   ========================================================================== */

:root {
  --accent: #1c9ad5;
  --blue: #1e73be;
  --text: #8c8f93;
  --bottom: #85868c;
  --header-h: 70px;
  --ease3: cubic-bezier(.645, .045, .355, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/28px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  color: var(--text);
  background: #333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; transition: color .3s; }
p { margin: 0 0 10px; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; color: #fff; font-weight: 700; }
h2 { font-size: 34px; line-height: 44px; }
h3 { font-size: 24px; line-height: 34px; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 26px; }
h6 { font-size: 14px; line-height: 24px; }
strong { font-weight: 700; }
button { font: inherit; }
.sr, .skip-link { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100000; top: 5px; left: 5px; padding: 15px 23px 14px; background: #f1f1f1; color: #21759b; font-size: 14px; }
.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.125em; flex: none; }
.t-center { text-align: center; }
.t-left { text-align: left; }

/* Content images are greyscale until hovered (the7 "filter-grayscale") */
.content img { filter: grayscale(100%); }
.content img:hover, .content a:hover img { filter: none; }

/* -------------------------------------------------------------------------- */
/* Preloader                                                                   */
/* -------------------------------------------------------------------------- */
#load {
  position: fixed; inset: 0; z-index: 9901;
  background: #000;
  opacity: 1; visibility: visible;
  transition: all .35s ease-out;
}
#load svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
#load .spin-r { x: 46.5px; y: 40px; width: 7px; height: 20px; fill: #dc242d; opacity: .2; animation: spinner 1s cubic-bezier(1,1,1,1) infinite; }
@keyframes spinner { from { opacity: 1; } to { opacity: 0; } }
#load.loader-removed { opacity: 0; visibility: hidden; }

/* -------------------------------------------------------------------------- */
/* Top bar                                                                     */
/* -------------------------------------------------------------------------- */
#page { position: relative; background: #000; overflow-x: hidden; overflow-x: clip; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 102;
  height: var(--header-h);
  background: #000;
  transition: background .35s, top .35s;
}
.topbar-inner {
  height: 100%;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: flex-end;
}
.tb-phone {
  display: inline-flex; align-items: center;
  margin: 0 10px 0 0;
  font-size: 22px; line-height: 26px; font-weight: 600; color: #fff; white-space: nowrap;
}
.tb-phone .ic { font-size: 24px; width: 30px; margin-right: 7.857px; color: var(--accent); }
.tb-btn {
  position: relative; display: inline-flex; align-items: center;
  margin: 0 0 0 10px; padding: 11px 20px;
  border-radius: 100px;
  font-size: 14px; line-height: 18px; font-weight: 700; color: #fff; white-space: nowrap;
}
.tb-btn::before, .tb-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  transition: opacity .15s linear;
}
.tb-btn::before { background: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tb-btn::after  { background: #fff; box-shadow: inset 0 0 0 1px #fff; opacity: 0; transition-delay: .1s; }
.tb-btn:hover::before { opacity: 0; transition-delay: .1s; }
.tb-btn:hover::after  { opacity: 1; transition-delay: 0s; }
.tb-btn span, .tb-btn .ic { position: relative; z-index: 1; transition: color .15s linear; }
.tb-btn .ic { font-size: 14px; margin-left: 5px; }
.tb-btn:hover span, .tb-btn:hover .ic { color: var(--blue); }

.menu-toggle {
  position: relative; z-index: 500;
  width: 40px; height: 33px; margin: 0 0 0 40px; padding: 8px 5px;
  background: #000; border: 0; cursor: pointer;
}
.menu-line {
  position: absolute; left: 5px; width: 30px; height: 3px; background: #fff;
  transition: transform .2s linear;
}
.menu-line:nth-child(1) { top: 8px; }
.menu-line:nth-child(2) { top: 15px; }
.menu-line:nth-child(3) { top: 22px; }
.menu-toggle:hover .menu-line:nth-child(1) { transform: translateY(3px); }
.menu-toggle:hover .menu-line:nth-child(3) { transform: translateY(-3px); }

/* -------------------------------------------------------------------------- */
/* Slide-out menu (desktop) / mobile menu (<=992)                              */
/* -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 9401;
  background: rgba(0,0,0,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.side-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9402;
  width: 250px;
  background: #333;
  transform: translateX(100%);
  transition: transform .5s;
  overflow-y: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.side-menu::-webkit-scrollbar { display: none; }
.side-inner {
  min-height: 100%;
  padding: 30px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.main-nav { list-style: none; margin: -15px 0; padding: 0; }
.main-nav a {
  display: block; padding: 15px 0;
  font-size: 20px; line-height: 24px; color: #fff;
  transition: color .2s;
}
.main-nav li.act > a { color: var(--accent); }
.main-nav li:not(.act) > a:hover { color: var(--bottom); }
.side-extras { display: none; }
.side-soc { padding-top: 35px; display: flex; }
.soc-circle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-right: 5px; border-radius: 100px;
  font-size: 24px; color: #fff;
}
.soc-circle::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--accent); opacity: 0; transition: opacity .15s linear;
}
.soc-circle:hover::after { opacity: 1; transition-delay: .1s; }
.soc-circle .ic { position: relative; z-index: 1; font-size: 24px; }
.side-menu .soc-circle .ic { font-size: 16px; }

.menu-close {
  position: fixed; top: 0; right: 250px; z-index: 9403;
  width: 30px; height: 30px; margin: 15px 40px; padding: 5px;
  background: transparent; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .5s, visibility .5s, transform .5s;
}
.menu-close span {
  position: absolute; top: 13px; left: 5px; width: 20px; height: 4px; background: #fff;
  transform: rotate(45deg);
  transition: transform .5s;
}
.menu-close span + span { transform: rotate(-45deg); }

body.menu-open .side-menu { transform: translateX(0); }
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
body.menu-open .menu-close { opacity: 1; visibility: visible; }
/* "rotate-medium" close icon: spins in when the menu opens */
body.menu-open .menu-close span { transform: rotate(225deg); }
body.menu-open .menu-close span + span { transform: rotate(135deg); }

/* -------------------------------------------------------------------------- */
/* Hero (rebuild of the Slider Revolution header)                              */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1;
  margin-top: var(--header-h);
  height: calc(100vh - 60px);      /* SR "fullHeightOffset: 60" */
  height: calc(100svh - 60px);
  min-height: 300px;
  overflow: hidden;
  background: #222;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-bg-img {
  position: absolute; inset: 0;
  background: url(../img/hero-bg.jpg) 50% 50% / cover no-repeat;
  opacity: 0; transform: scale(1.4); transform-origin: 50% 50%;
}
.hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.75); opacity: 0; z-index: 8; }
.hero-stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 10; }
.hl { position: absolute; }
.hl-group { z-index: 19; }
.hl-mask { position: absolute; overflow: hidden; }
.hl-btb-mask { overflow: visible; perspective: 600px; }
.hl-text { white-space: nowrap; text-transform: uppercase; color: #fff; }
.t-anton { font-family: Anton, Impact, sans-serif; font-weight: 400; }
.t-barlow { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; color: #007aff; }
.hl-text .ch { display: inline-block; white-space: pre; transform-origin: 50% 50%; }
.hl-line { background: #ed1b24; z-index: 12; transform-origin: 50% 50%; }
.hl-welcome { color: #fff; font-family: "Open Sans", sans-serif; white-space: normal; z-index: 17; }
.hl-round {
  border: 4px solid #dc242d; border-radius: 50%; background: rgba(220,36,45,0);
  transition: background-color .3s cubic-bezier(.77,0,.175,1);
  z-index: 18;
}
.hl-round:hover { background: rgba(220,36,45,.15); }
.hl-roundtext {
  z-index: 11; color: #dc242d; font-weight: 700; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.hl-roundtext span { display: block; }
.hero.no-anim .hl, .hero.no-anim .hl-mask { opacity: 1 !important; }

/* -------------------------------------------------------------------------- */
/* Main layout grid (WPBakery-compatible proportions)                          */
/* -------------------------------------------------------------------------- */
#main { padding: 70px 0; position: relative; }
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 40px; position: relative; }
.row { position: relative; display: flex; flex-wrap: wrap; margin: 0 -25px; }
.row::after { content: ""; display: table; clear: both; }
.col { position: relative; padding: 0 25px; min-height: 1px; width: 100%; }
.c-12 { width: 100%; }
.c-9 { width: 75%; }
.c-8 { width: 66.6667%; }
.c-4 { width: 33.3333%; }
.c-3 { width: 25%; }
.c-2 { width: 16.6667%; }
.c-1-5 { width: 20%; }
.c-3-5 { width: 60%; }
.c-2-5 { width: 40%; }
.row.inner { width: calc(100% + 50px); }
/* WPBakery: filled rows, and the row right after a filled row, pad their columns 35px */
.has-fill > .col, .has-fill + .row > .col { padding-top: 35px; }
.row-bg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; pointer-events: none; }
.row-bg.full-bleed { left: calc(var(--vw, 100vw) / -2 + 50%); right: calc(var(--vw, 100vw) / -2 + 50%); }
.row > .col, .row > .tilt-sep { z-index: 1; }
.row-overlay { position: absolute; inset: 0; }
.spacer { display: block; }
.pb-30 { padding-bottom: 30px; }
.pb-20 { padding-bottom: 20px; }
.pt-25 { padding-top: 25px; }
.pt-32 { padding-top: 32px; }
.pad-l-32 { padding-left: 32px; }   /* replaces the 25px gutter, like vc_custom padding */

/* full width rows (vc_row stretch): background spans the viewport, content stays in the container */
.row.full-width {
  margin-left: calc(var(--vw, 100vw) / -2 + 50%); margin-right: calc(var(--vw, 100vw) / -2 + 50%);
  padding-left: calc(var(--vw, 100vw) / 2 - 50% - 15px); padding-right: calc(var(--vw, 100vw) / 2 - 50% - 15px);
}

.wpb-el, .single-image, .text-block, .typed-h2 { margin-bottom: 35px; }
.text-block > :last-child { margin-bottom: 0; }
.single-image { text-align: center; line-height: 0; }
.single-image.t-left { text-align: left; }
.single-image img { transition: opacity .38s; }

/* Ultimate headings */
.uvc-heading h2 { margin: 0 0 20px; color: #fff; font-weight: 700; font-size: 34px; line-height: 44px; }
.h-line { display: block; width: 250px; max-width: 100%; height: 0; margin-bottom: 30px; border-bottom: 4px solid var(--accent); }
.uvc-heading { text-align: left; margin: 0; }
.uvc-heading .portal-sub { margin-bottom: 10px; }

/* Typed headings */
.typed-h2 { font-size: 34px; line-height: 44px; color: #fff; font-weight: 700; margin-top: 0; }
.typed { display: inline-block; margin: 0 5px; min-height: 1px; }
.typed-cursor { opacity: 1; font-weight: 100; animation: blink .7s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

/* -------------------------------------------------------------------------- */
/* Info circle                                                                 */
/* -------------------------------------------------------------------------- */
.info-wrapper { padding-top: 1px; margin-bottom: 35px; }
.info-circle-wrapper { width: 100%; margin: 45px 0; }
.ic-ring {
  position: relative; max-width: 80%; margin: auto;
  border: 3px dotted #919191; border-radius: 50%;
  opacity: 0;
}
.ic-ring.ready { opacity: 1; }
.ic-list { position: absolute; top: 50%; left: 50%; z-index: 2; }
.ic-icon {
  position: absolute; left: 0; top: 0;
  width: 70px; height: 70px; margin: -35px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 35px; line-height: 70px; text-align: center;
  opacity: 0; cursor: pointer;
}
.ic-icon .ic { vertical-align: middle; position: relative; top: -2px; }
.ic-suffix { display: none; }
.ic-details { display: none; }
.ic-icon.pop { animation: circle-pop 1.5s linear infinite; }
@keyframes circle-pop { 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.ic-center {
  position: relative; width: 70%; height: 70%; margin: 15%;
  padding: 20px; border-radius: 50%;
  background: #fff; color: #000; text-align: center;
  overflow: hidden;
}
.ic-center-wrap { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; transition: opacity .6s; }
.ic-center-wrap.fade { opacity: 0; }
.ic-center h3 { margin: 0; color: #000; font-size: 24px; line-height: 34px; text-align: center; }
.ic-center .ic-text { width: 90%; margin: 0 auto; color: #000; font-size: 17px; line-height: 28px; }
.ic-mobile-list { display: none; list-style: none; margin: 0; padding: 0; }

/* -------------------------------------------------------------------------- */
/* Owl-style carousel (objectives)                                             */
/* -------------------------------------------------------------------------- */
.carousel { position: relative; z-index: 1; margin-bottom: 0; }
.car-viewport { overflow: hidden; position: relative; }
.car-track { display: flex; will-change: transform; }
.car-item { flex: none; text-align: center; font-size: 17px; line-height: 28px; color: var(--text); user-select: none; }
.car-nav {
  position: absolute; top: 50%; z-index: 10;
  width: 36px; height: 36px; margin: 0; padding: 0;
  border: 0; border-radius: 500px; background: none;
  color: #fff; font-size: 15px; line-height: 15px; cursor: pointer;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
}
.car-nav .ic { transition: color .15s .1s; }
.car-nav:hover { color: var(--accent); }
.car-prev { left: -43px; }
.car-next { right: -43px; }
.car-dots {
  position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; min-height: 28px; line-height: 28px;
  width: max-content; max-width: 100%;
}
.car-dot {
  position: relative; width: 10px; height: 10px; margin: 0 8px; padding: 0;
  border: 0; background: none; cursor: pointer;
}
.car-dot span {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--accent);
  transition: box-shadow .3s ease;
}
.car-dot.active span, .car-dot:hover span { box-shadow: inset 0 0 0 6px var(--accent); }

/* -------------------------------------------------------------------------- */
/* Services                                                                    */
/* -------------------------------------------------------------------------- */
.services .row-bg { background-size: cover; background-repeat: no-repeat; background-position: 50% 0; }
.tilt-sep { position: absolute; left: 0; top: 1px; width: 100%; transform: scale(1, -1); z-index: 1; pointer-events: none; display: block; }
.services .tilt-sep { top: 0; left: 0; }
.svc-inner { padding: 0 100px 15px 30px; }
.services .h-line { margin-bottom: 30px; }
.ubtn-link { display: block; width: max-content; max-width: 100%; margin-bottom: 35px; line-height: 0; }
.ubtn {
  position: relative; z-index: 1; overflow: hidden; display: block;
  padding: 21px 42px;
  font: 700 12px/16.8px Arial, sans-serif; color: #fff; text-align: center;
  background: rgba(30,115,190,.47);
  border: 2px solid var(--blue); border-radius: 4px;
  transition: all .3s;
}
.ubtn-icon {
  position: absolute; top: 0; bottom: 0; left: -500px; width: 100%; z-index: 3;
  transition: all .6s;
}
.ubtn-icon .ic { position: absolute; top: 50%; left: 50%; font-size: 40px; transform: translate(-50%, -50%); }
.ubtn-text { position: relative; z-index: 3; display: inline-block; transition: all .6s; }
.ubtn-link:hover .ubtn-icon { left: 0; }
.ubtn-link:hover .ubtn-text { transform: translateX(500px); }
.portal-h2 { margin: 0 !important; color: #fff; }
.portal-sub { color: #fff; font-size: 17px; line-height: 28px; }

/* Member portal cards */
.card-img { width: 500px; max-width: 100%; line-height: 0; overflow: hidden; }
.card-img img { width: 100%; transition: opacity .38s; }
.card-heading { margin-bottom: 0; }
.card-heading h4 { margin: 0; color: #fff; }
.line-icon { position: relative; height: 35px; color: #fff; font-size: 32px; line-height: 32px; }
.line-icon .ic { position: relative; z-index: 1; vertical-align: top; }
.line-icon::after { content: ""; position: absolute; top: 16px; left: 42px; width: 58px; border-top: 1px solid var(--blue); }
.reveal .text-block { margin-bottom: 35px; }
.reveal h6 { margin: 0 0 10px; }
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: slideInUp 2s both; }
@keyframes slideInUp { 0% { transform: translateY(2000px); } 100% { transform: translateY(0); } }

/* Magazine band */
.magazine .col { padding-top: 35px; }

/* -------------------------------------------------------------------------- */
/* Tributes                                                                    */
/* -------------------------------------------------------------------------- */
.tributes { background: #333; }
.tributes .tilt-sep { top: 1px; }
.tributes > .col.trib-inner { padding: 80px 25px 0; }
.trib-text { padding-right: 180px; }
.trib-sub { margin-bottom: 30px; font-size: 16px; line-height: 28px; }
.trib-sub h5 { margin: 0 0 10px; text-align: left; }
.trib-sub p { text-align: left; }
.tribute-slider {
  position: relative; height: 600px; margin: 0;
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ts-bg {
  position: absolute; top: 0; bottom: 0; left: calc(var(--vw, 100vw) / -2 + 50%); right: calc(var(--vw, 100vw) / -2 + 50%);
  background: #111 url(../img/tributes-bg.jpg) 50% 50% / cover no-repeat;
}
.ts-stage { position: absolute; inset: 0; perspective: 1200px; overflow: visible; }
.ts-slide {
  position: absolute; left: 50%; top: 50%;
  width: 600px; height: 600px; margin: -300px 0 0 -300px;
  display: flex; align-items: center; justify-content: center;
  transform-origin: 50% 50%; backface-visibility: hidden;
  cursor: grab;
}
.ts-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; pointer-events: none; filter: none !important; }
.tribute-slider.dragging .ts-slide { cursor: grabbing; }
.ts-arrow {
  position: absolute; top: 50%; z-index: 1000;
  min-width: 70px; min-height: 70px; width: 70px; height: 70px; margin-top: -35px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.5); cursor: pointer;
  transition: opacity 1s;
}
.ts-left { left: calc(var(--vw, 100vw) / -2 + 50% + 30px); }
.ts-right { right: calc(var(--vw, 100vw) / -2 + 50% + 30px); }
.ts-arrow svg { position: relative; z-index: 2; width: 20px; height: 20px; display: block; margin: 0 auto; }
.ts-title-wrap {
  position: absolute; top: 0; z-index: 1; display: inline-block;
  min-height: 70px; line-height: 70px; border-radius: 35px; overflow: hidden;
  background: rgba(0,0,0,.5);
  transform: scale(0); visibility: hidden; opacity: 0;
  transition: opacity .3s, transform .3s;
}
.ts-left .ts-title-wrap { left: 0; padding-left: 20px; padding-right: 10px; transform-origin: 0 50%; }
.ts-right .ts-title-wrap { right: 0; padding-right: 20px; padding-left: 10px; transform-origin: 100% 50%; }
.ts-arrow:hover .ts-title-wrap { transform: scale(1); opacity: 1; visibility: visible; }
.ts-img { position: absolute; inset: 0; background-position: center; background-size: cover; }
.ts-img-over { position: absolute; inset: 0; background: rgba(0,0,0,.51); }
.ts-title {
  position: relative; display: block; padding: 0 20px; margin-left: 11px;
  font: 600 13px/70px "Open Sans", sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #fff; white-space: nowrap;
  opacity: 0; transform: translateX(200px); transition: transform .3s;
}
.ts-left .ts-title { margin-left: 51px; }
.ts-right .ts-title { transform: translateX(-200px); margin-left: 0; margin-right: 51px; }
.ts-arrow:hover .ts-title { transform: translateX(0); opacity: 1; transition-delay: .1s; }

.black-band .col { padding-top: 35px; min-height: 36px; }
.black-band .row-bg { left: 0; right: 0; }

/* -------------------------------------------------------------------------- */
/* Contact                                                                     */
/* -------------------------------------------------------------------------- */
.contact-head { padding-top: 32px; }
.contact-info { margin-bottom: -40px; }
.contact-info > .col.ci-boxed { padding: 50px 75px; margin: 0 0 50px; }  /* 25 gutter + 25 margin + 50 padding */
.ci { text-align: center; margin: 0; }
.ci-icon { margin-bottom: 10px; height: 38px; font-size: 32px; line-height: 32px; color: var(--accent); }
.ci-icon .ic { vertical-align: top; margin-top: 2px; }
.ci h2 { margin: 0; font-size: 14px; line-height: 24px; color: var(--accent); }
.ci-sub { color: #fff; font-weight: 700; margin: 0 auto 30px; }
.ci-sub p { margin: 0; color: inherit; font: inherit; }
.ci-call { padding: 10px 0; }
.ci-call h3 { margin: 0; font-size: 24px; line-height: 34px; vertical-align: baseline; }
.ci-call h3 span { font-size: 13pt; }
.ci-18 { font-size: 18px; line-height: 28px; }
.ci-office { padding: 10px 0; }
.ci-office p { margin: 0; vertical-align: baseline; }
.ci-office span { font-size: 13pt; }
.ci-hours { margin-bottom: 40px; }
.ci-hours p { margin: 0 0 10px; }
.ci-hours p:first-child { margin-bottom: 20px; }

.follow-h2 { margin: 0; text-align: center; font-size: 20px; line-height: 24px; color: var(--accent); }
.soc-icons { text-align: center; display: flex; justify-content: center; }
.soc-circle.sm { width: 40px; height: 40px; margin-right: 10px; color: var(--accent); }
.soc-circle.sm:last-child { margin-right: 0; }
.soc-circle.sm:hover { color: #fff; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.footer { background: #000; }
.bottom-bar {
  position: relative; z-index: 9;
  min-height: 60px; padding: 10px 40px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; line-height: 22px; color: var(--bottom);
  background: #000;
}
.bb-left { margin-right: 10px; }
.bottom-bar a { color: var(--bottom); }
.bottom-bar a:hover { color: var(--accent); }
.bb-select { display: none; }

.scroll-top {
  position: fixed; bottom: 10px; left: -45px; z-index: -1;
  width: 40px; height: 40px; border-radius: 2px;
  background: rgba(0,0,0,.2); opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all .4s;
}
.scroll-top svg { width: 24px; height: 24px; fill: #fff; transition: all .4s; }
.scroll-top.on { left: 10px; opacity: 1; z-index: 109; }
.scroll-top:hover { background: rgba(0,0,0,.5); }

/* -------------------------------------------------------------------------- */
/* Privacy policy popup                                                        */
/* -------------------------------------------------------------------------- */
html.modal-lock, html.modal-lock body { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 10000;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 20px; border: 0;
  background: transparent; color: var(--text);
}
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal::backdrop { background: rgba(0,0,0,.75); animation: modal-fade .25s ease both; }
.modal-panel {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%; max-width: 860px; max-height: 100%;
  background: #222; border-top: 4px solid var(--accent); border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: modal-in .3s cubic-bezier(.215,.61,.355,1) both;
}
.modal-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 24px 30px 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal-head h2 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 400; color: #fff; }
.modal-close {
  position: relative; flex: none;
  width: 40px; height: 40px; margin-left: 20px; padding: 0;
  background: none; border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color .2s;
}
.modal-close span {
  position: absolute; top: 18px; left: 10px; width: 20px; height: 4px; background: #fff;
  transform: rotate(45deg); transition: background-color .2s;
}
.modal-close span + span { transform: rotate(-45deg); }
.modal-close:hover, .modal-close:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.modal-close:hover span, .modal-close:focus-visible span { background: var(--accent); }
.modal-body {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 30px 40px 40px;
  font-size: 17px; line-height: 28px; color: var(--text);
  scrollbar-width: thin; scrollbar-color: #555 transparent;
}
.modal-body p { margin: 0 0 10px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body strong { color: #fff; }
.modal.closing::backdrop { animation: modal-fade .25s ease reverse both; }
.modal.closing .modal-panel { animation: modal-out .25s ease both; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 778px) {
  .modal { padding: 10px; }
  .modal-head { padding: 16px 12px 14px 20px; }
  .modal-head h2 { font-size: 24px; line-height: 30px; }
  .modal-body { padding: 20px 20px 28px; font-size: 15px; line-height: 25px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .topbar-inner { padding: 0 20px; }
  .topbar .tb-phone { display: none; }
  .menu-toggle { margin-left: 30px; }

  /* mobile menu */
  .side-menu { width: 280px; background: rgba(0,0,0,.5); }
  .side-inner { justify-content: flex-start; padding: 30px 15px 30px 30px; }
  .main-nav { margin: 0; }
  .main-nav a { padding: 11.7px 25px 11.7px 0; font-size: 18px; line-height: 22px; }
  .side-extras { display: flex; flex-direction: column; align-items: flex-start; padding-top: 20px; }
  .side-extras .tb-phone { display: none; margin: 10px 0; font-size: 18px; line-height: 22px; font-weight: 400; }
  .side-extras .tb-phone .ic { font-size: 20px; width: 26px; margin-right: 6px; }
  .side-extras .tb-btn { display: none; margin: 10px 0; }
  .side-menu .side-extras .tb-phone { display: inline-flex; }
  .side-soc { display: none; }
  .menu-close { right: 280px; margin: 15px 20px; }
  .menu-close span { background: var(--accent); }

  #main > .wrap { padding: 0 20px; }
  .bottom-bar { flex-direction: column; justify-content: center; padding: 10px 20px; text-align: center; }
  .bb-left { margin: 0; }
}

@media (max-width: 990px) {
  .bb-right a { display: none; }
  .bb-select { display: inline-flex; position: relative; align-items: center; color: var(--bottom); font-size: 13px; }
  .bb-select select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
  .bb-select::after { content: ""; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
}

@media (max-width: 778px) {
  :root { --header-h: 27px; }
  .menu-toggle { height: 27px; padding: 5px; }
  .menu-line:nth-child(1) { top: 5px; }
  .menu-line:nth-child(2) { top: 12px; }
  .menu-line:nth-child(3) { top: 19px; }
  .topbar .tb-btn { display: none; }
  .side-menu .side-extras .tb-btn { display: inline-flex; }
}

@media (max-width: 767px) {
  .col, .c-12, .c-9, .c-8, .c-4, .c-3, .c-2, .c-1-5, .c-3-5, .c-2-5 { width: 100%; }
  .h-resp, .uvc-heading h2.h-resp { font-size: 24px; line-height: 34px; }
  .ubtn-link { padding: 12px 36px; }   /* Ultimate ".ubtn-large" on small screens */
  .svc-inner { padding: 0 100px 15px 30px; }
  .contact-info > .col.ci-boxed { padding: 50px 75px; }
}

/* info circle swaps to a vertical list below 800px (theme "responsive breakpoint") */
@media (max-width: 800px) {
  .ic-ring { display: none; }
  .info-circle-wrapper { margin: 45px 0 0; }
  .ic-mobile-list { display: block; margin-bottom: 10px; }
  .ic-mobile-list li { position: relative; display: flex; align-items: flex-start; padding-bottom: 30px; }
  .ic-mobile-list li:last-child { padding-bottom: 0; }
  .ic-mobile-list li:not(:last-child)::before {
    content: ""; position: absolute; left: 17.5px; top: 35px; bottom: 0;
    border-left: 1px dotted #919191;
  }
  .icm-icon {
    flex: none; position: relative; z-index: 1;
    width: 35px; height: 35px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-right: 35px;
  }
  .icm-desc {
    flex: 1; min-height: 105px; padding: 10px 10px 10px 15px;
    background: #fff; color: #000; border-radius: 5px;
    font-size: 13px; line-height: 1.64;
  }
  .icm-desc h3 { margin: 0; color: #000; font-size: 13px; line-height: 1.64; }
  .icm-desc p { margin: 0; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  .typed-cursor, .ic-icon.pop, .modal-panel, .modal::backdrop { animation: none !important; }
}
