/* Colours */
body {
    color: #535558;
    -webkit-font-smoothing: antialiased;
    font-family: 'canada-type-gibson', 'Gibson', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 300;
    padding-top: 81px;
    letter-spacing: 0.015rem;
}
h1 {
    font-size: 28px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 22px;
}
h4 {
    font-size: 20px;
}
h5 {
    font-size: 18px;
}
h1, h2, h3, h4, h5, h6 {
    color: #2a2d33;
    font-weight: 500;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6, .bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: #FFF;
}

.text-primary {
    color: #346ae2;
}

a {
    color: #346ae2;
    font-weight: 400;
}
a:hover,
a:focus {
    color: #1e469e;
}

b, strong, b a, strong a {
    font-weight: 500;
}

.bg-primary {
    background-color: #346ae2 !important;
    color: #FFF;
}
.bg-light {
    background-color: #f4f7f9 !important;
}
.bg-light-gradient {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(244,247,249,1)), color-stop(40%, rgba(255,255,255,1))) !important;
    background: linear-gradient(0deg, rgba(244,247,249,1) 0%, rgba(255,255,255,1) 40%) !important;
}
.bg-dark  {
    background-color: #1e293d !important;
    color: #96a8c7;
}
.bg-dark .card {
    background: #27354e;
}
.bg-primary hr, .bg-secondary hr, .bg-dark hr  {
    border-color: #aad2ec26
}

.btn-primary {
    background: #346ae2;
    border-color: #346ae2;
}
.btn-primary:not([disabled]):hover {
    background: #1e469e;
    border-color: #1e469e;
}
.btn-light {
    color: #1d48a9;
}
.btn-wireframe {
    border: 1px solid #2a2d33;
    background: transparent;
    color: #2a2d33;
}
.btn-wireframe:not([disabled]):hover {
    background: #2a2d33;
    color: #FFF;
}
.btn-wireframe-light {
    border: 1px solid #FFF;
    background: transparent;
    color: #FFF;
}
.btn-wireframe-light:not([disabled]):hover {
    background: #FFF;
    color: #2a2d33;
}

.sentiment-positive {
    color: #87c447
}
.sentiment-somewhat-positive {
    color: #b6db2e
}
.sentiment-neutral {
    color: #f2c300
}
.sentiment-somewhat-negative {
    color: #fc8f00
}
.sentiment-negative {
    color: #ea2440
}

/* Map loading */

@keyframes spinner {
  to {transform: rotate(360deg);}
}
.loading,
.loading-abs {
	position: relative;
	pointer-events: none;
}
.loading:before,
.loading-abs:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(236, 248, 255);
	background-color: rgba(236, 248, 255, 0.85);
	z-index: 98;
}
.loading:after,
.loading-abs:after {
  content: '';
  box-sizing: border-box;
  position: fixed;
  top: 50vh;
  left: 50%;
  width: 70px;
    height: 70px;
    margin-top: -70px;
    margin-left: -35px;
    border-radius: 50%;
    border: 3px solid #4a5054;
    border-top-color: #2ea0ff;
  animation: spinner .6s linear infinite;
  z-index: 99;
}
.loading-abs:after {
	position: absolute;
	margin-top: -35px;
	top: 50%;
}

/* Utilties */
.btn {
    border-radius: 10em;
    padding: .5rem 2rem;
}
.btn-sm {
    padding: .25rem 1.25rem;
}
.btn-lg {
    padding: .75rem 2.5rem;
    white-space: nowrap;
}

[disabled] {
    cursor: not-allowed;
}

.title-divider {
    font-size: 1.8rem;
    text-align: center;
    margin: 2.5em 0 1.5em;
    position: relative;
    overflow: hidden;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.title-divider:first-child {
	margin-top: 0.5em;
}
.title-divider:before {
	border-top: 1px solid #d2d5d8;
    content: '';
    width: 100%;
    position: absolute;
    -webkit-transform: translateX(calc(-100% - 15px));
            transform: translateX(calc(-100% - 15px));
    top: 50%;
}
.title-divider:after {
	border-top: 1px solid #d2d5d8;
    content: '';
    width: 100%;
    position: absolute;
    -webkit-transform: translateX(15px);
            transform: translateX(15px);
    top: 50%;
}

.title-caps {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #8f9399;
    letter-spacing: 0.2rem;
}

.ca-footnote {
    font-size: 0.75rem;
    opacity: 0.5;
    font-style: italic;
}

.svg-inline-block {
    display: inline-block;
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}
.loading,
.loading-abs {
	position: relative;
	pointer-events: none;
}
.loading:before,
.loading-abs:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #FFF;
	background-color: rgba(255, 255, 255, 0.85);
	z-index: 98;
}
.loading:after,
.loading-abs:after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
    height: 70px;
    margin-top: -70px;
    margin-left: -35px;
    border-radius: 50%;
    border: 3px solid #4a5054;
    border-top-color: #336ae2;
  animation: spinner .6s linear infinite;
  z-index: 99;
}
.loading-abs:after {
	position: absolute;
	margin-top: -35px;
	top: 50%;
}


/* Hotspots */

.hotspot {
	position: absolute;
	display: table;
	width: 25px;
	height: 25px;
	text-align: center;
	background: #FFF;
	font-size: 16px;
	border-radius: 50%;
	border: 2px solid #FFF;
	background: #346ae2;
	color: #FFF;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    z-index: 3;
}
.hotspot-sm {
	width: 15px;
	height: 15px;
	font-size: 11px;
	border-width: 1px;
}
.hotspot-xs {
	width: 7px;
	height: 7px;
	font-size: 6px;
	border-width: 1px;
}
.hotspot-lg {
	width: 35px;
	height: 35px;
	font-size: 20px;
	border-width: 3px;
}
a.hotspot:hover,
a.hotspot:focus {
	color: #FFF;
	text-decoration: none;
	background: #0059a4;
	opacity: 1;
}

a.hotspot:hover:before {
	border-color: #0059a4;
}

/* Hotspot icon fixes */

.hotspot .fa {
	vertical-align: middle;
	display: table-cell;
}
.custom-icon svg {
	width: 75%;
	height: auto;
	vertical-align: middle;
}
.custom-icon path,
.custom-icon polygon,
.custom-icon-path {
	fill: #FFF;
}
.hotspot-icon {
	max-width: 65%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

/* Hotspot tooltips */

.hotspot-tooltip {
    display: none;
    background: rgb(14, 23, 39);
    background: rgba(14, 23, 39, 0.85);
    border-radius: 4px;
    position: absolute;
    padding: 4px 8px;
    font-size: 12px;
    white-space: nowrap;
    left: 50%;
    top: 100%;
    color: #FFF !important;
    line-height: 1.5;
    -webkit-transform-origin: center top;
            transform-origin: center top;
    z-index: 3;
    -webkit-transform: translate(-50%, 7px);
            transform: translate(-50%, 7px);
    font-family: inherit;
    font-weight: 400;
}
.show-hotspot-tooltip .hotspot-tooltip,
.hotspot:hover .hotspot-tooltip,
.hotspot:focus .hotspot-tooltip {
    display: block;
}
.hotspot:hover,
.hotspot:focus {
    z-index: 8;
}
/* Tooltip Position - Default is bottom-middle of circle */

.hotspot-tooltip:after {
    width: 0;
    height: 0;
    content: ' ';
    border: solid transparent;
    border-width: 6px;
    margin-left: -6px;
    border-color: rgba(14, 23, 39, 0);
    border-bottom-color: rgba(14, 23, 39, 0.85);
    position: absolute;
    bottom: 100%;
    left: 50%;
}
/* Tooltip Other Positions */

.hotspot-tooltip-t-m {
    top: auto;
    bottom: 100%;
    -webkit-transform: translate(-50%, -7px);
            transform: translate(-50%, -7px);
    -webkit-transform-origin: center bottom;
            transform-origin: center bottom;
}
.hotspot-tooltip-t-m:after {
    border-bottom-color: rgba(14, 23, 39, 0);
    border-top-color: rgba(14, 23, 39, 0.85);
    top: 100%;
    bottom: auto;
}
.hotspot-tooltip-r-m {
    top: 50%;
    bottom: auto;
    left: 100%;
    -webkit-transform: translate(7px, -50%);
            transform: translate(7px, -50%);
    -webkit-transform-origin: right center;
            transform-origin: right center;
    text-align: left;
}
.hotspot-tooltip-r-m:after {
    border-bottom-color: rgba(14, 23, 39, 0);
    border-right-color: rgba(14, 23, 39, 0.85);
    bottom: auto;
    top: 50%;
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-top: -6px;
}
.hotspot-tooltip-l-m {
    top: 50%;
    bottom: auto;
    left: auto;
    right: 100%;
    -webkit-transform: translate(-7px, -50%);
            transform: translate(-7px, -50%);
    -webkit-transform-origin: left center;
            transform-origin: left center;
    text-align: right;
}
.hotspot-tooltip-l-m:after {
    border-bottom-color: rgba(14, 23, 39, 0);
    border-left-color: rgba(14, 23, 39, 0.85);
    bottom: auto;
    top: 50%;
    left: 100%;
    margin-left: 0;
    margin-top: -6px;
}

/* Header */
.site-header .navbar {
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.ca-logo-wrapper {
    width: 140px;
    height: 56px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.header-slim .site-header .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    -webkit-box-shadow: 0 0 1.5em #1b202938;
            box-shadow: 0 0 1.5em #1b202938;
}
.header-slim .site-header .ca-logo-wrapper {
    width: 97px;
    height: 39px;
}
.navbar-light .navbar-toggler {
    border: 0 none;
    outline: none;
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 0;
}
.navbar-toggler .line {
	position: absolute;
	height: 2px;
	width: 100%;
	background: #2a2d33;
	border-radius: 1px;
    left: 0;
    -webkit-transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.35s;
    transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.35s;
}
.navbar-toggler .line:nth-child(1) {
	top:18%;
}
.navbar-toggler .line:nth-child(2) {
	top:48%;
}
.navbar-toggler .line:nth-child(3) {
	top:78%;
}
.navbar-toggler[aria-expanded="true"] .line:nth-child(1) {
	-webkit-transform:rotate(45deg);
	        transform:rotate(45deg);
	top:48%;
}
.navbar-toggler[aria-expanded="true"] .line:nth-child(2), .navbar-toggler[aria-expanded="true"] .line:nth-child(3) {
	-webkit-transform:rotate(-45deg);
	        transform:rotate(-45deg);
	top:48%;
}
.navbar-toggler[aria-expanded="true"] .line:nth-child(2) {
    opacity: 0;
}

.site-header .navbar-nav {
    text-align: right;
}
.site-header .navbar-nav .nav-link {
    font-weight: 400;
    padding: 1rem 0;
    color: #2a2d33;
}
.nav-item.active .nav-link {
    color: #336ae2 !important;
    border-right: .2rem solid #336ae2;
    padding-right: .8rem;
}


/* Sections */
.ca-section,
.ca-section-p4 {
    padding-top: 4em;
    padding-bottom: 4em;
}
.ca-section-p5 {
    padding-top: 5em;
    padding-bottom: 5em;
}
.ca-section-p3 {
    padding-top: 3em;
    padding-bottom: 3em;
}
.ca-section-p2 {
    padding-top: 2em;
    padding-bottom: 2em;
}
.ca-section-p1 {
    padding-top: 1em;
    padding-bottom: 1em;
}
.ca-section-p0 {
    padding-top: 0;
    padding-bottom: 0;
}

/* Heros */
.ca-hero {
    background: #FFF;
    padding-bottom: 3em;
}
.ca-hero-home {
    padding-bottom: 0;
}
.ca-hero-wrapper {
    padding-bottom: 3em;
}
.ca-hero-svg {
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}
.ca-hero-svg-analytics {
    margin-bottom: -1em;
}
.ca-hero-svg svg {
    max-height: 410px;
    max-height: 62vh;
}
.ca-hero-svg-portals svg {
    margin-left: -1em;
}
.ca-hero-text {
    max-width: 930px;
    margin: 0 auto 1em;
}
.ca-hero-text-home {
    text-align: center;
    margin: 2em 0;
    position: relative;
    z-index: 2;
}
.hero-title-home {
    font-size: 30px;
    font-weight: 400;
}
.ca-home-clients {
    margin-top: 2em;
}

.hero-title-byline {
    font-size: 1.2em;
}

/* Hero SVGs */
.ca-hero-home-svg {
    width: 100%; 
    padding-top: 60%;
    position: relative;
    z-index: 1;
    -webkit-transform: translateX(-10%);
            transform: translateX(-10%);
}
.hero-home-svg-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.hero-home-svg-link {
    position: absolute;
    width: 28%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    display: block;
}
.hero-home-svg-link svg {
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.hero-home-svg-link:hover svg {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}
.hero-home-svg-link .btn {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    border: 1px solid #FFF;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
}

/* Hooks */
.ca-hook-text {
    font-size: 24px;
}

/* Carousels */
.ca-carousel-nav {
    font-size: 0.7em;
    text-align: center;
    margin-bottom: 1em;
}
.ca-carousel-nav-item {
    margin-left: 0.25em;
    margin-right: 0.25em;
}
.ca-carousel-nav-item:hover,
.ca-carousel-nav-item:active {
    text-decoration: none;
    color: inherit;
}
.ca-carousel-nav-item img {
    display: block;
    margin: 0 auto 0.75em;
}
.ca-carousel-nav-item span {
    font-weight: 500;
    color: #2a2d33;
    padding-bottom: 0.6rem;
    display: inline-block;
}
.ca-carousel-nav-item:hover span {
    text-decoration: none;
    color: #2a2d33;
    border-bottom: 0.1rem solid #f4f7f9;
    padding-bottom: 0.5rem;
}
.ca-carousel-nav-item.active span,
.ca-carousel-nav-item:active span {
    color: #346ae2;
    border-bottom: 0.1rem solid #346ae2;
    padding-bottom: 0.5rem;
    text-decoration: none;
}
.ca-carousel-indicators {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 2em;
    list-style: none;
    padding: 0;
}
.ca-carousel-indicators li {
    cursor: pointer;
    width: 1.25em;
    height: 1.25em;
    border: 2px solid #346ae2;
    display: inline-block;
    border-radius: 50%;
    margin: 0 0.25em;
}
.ca-carousel-indicators li.active {
    background: #346ae2;
}

/* Cards */
.ca-feature {
    border: 0 none;
    min-width: 290px;
    margin-top: 1em;
}
.ca-feature-has-icon {
    margin-top: 90px;
}
.ca-feature-icon {
    width: 180px;
    height: 180px;
    margin: -90px 0 -1rem 1rem;
}
.bg-dark .ca-icon-bg {
    fill: #1e293d !important
}
.ca-feature .card-body {
    padding: 2rem;
}
.card-deck-sm .card-body {
    font-size: 0.9em;
}

/* Maps */
#mapboxMap {
    height: 50vh;
    background-position: center;
    background-size: cover;
}
.col-map-text {
    margin-left: auto;
    margin-right: auto;
}

.project-detail-popup {
    z-index: 2;
}
.cluster-hover-popup {
    pointer-events: none;
}

.mapboxgl-popup-content {
    padding: 1.2rem;
    font-family: 'canada-type-gibson';
    width: 290px;
    color: #535558;
}
.mapboxgl-popup-content h5 {
    color: #2a2d33;
}
.mapboxgl-popup-content h6 {
    color: #989ba0;
}

.cluster-hover-popup .mapboxgl-popup-content {
    background: #0e1727;
    padding: 0.45rem 0.6rem;
    width: auto;
    color: #FFF;
    z-index: 1;
}
.cluster-hover-popup.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.cluster-hover-popup.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.cluster-hover-popup.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
	border-top-color: #0e1727;
}
.cluster-hover-popup.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.cluster-hover-popup.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.cluster-hover-popup.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
	border-bottom-color: #0e1727;
}
.cluster-hover-popup.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
	border-right-color: #0e1727;
}
.cluster-hover-popup.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
	border-left-color: #0e1727;
}

.ca-analytics-map-wrapper {
    position: relative;
    max-width: 720px;
    margin: -7em auto 2em;
}
.ca-analytics-map-wrapper .map-fallback {
    opacity: 0.85;
}
.ca-analytics-map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}
.ca-analytics-map .mapboxgl-ctrl-logo {
    display: none !important;
}
.postcode-popup {
    max-width: 290px !important;
    width: 290px;
    pointer-events: none;
}
.postcode-popup .mapboxgl-popup-content {
    padding: 1.5em 1em;
    pointer-events: none;
    width: 290px;
}
.postcode-popup .mapbox-popup-table {
    margin-bottom: 0;
}
.postcode-popup .mapbox-popup-table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-top: 1px solid #f3f3f3;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0.25em 0;
}
.postcode-popup .mapbox-popup-table tr:first-child {
    border-top: 0 none;
}
.postcode-popup .mapbox-popup-table td {
    border-top: 0 none !important;
}
.postcode-popup .mapbox-popup-table-icon {
    font-size: 22px;
    opacity: 0.3;
}
.postcode-popup .mapbox-popup-table-value {
    font-size: 36px;
    color: #091d2b;
}
.postcode-popup .mapbox-popup-table-sentiment {
    padding: 1px 5px;
    color: #FFF;
    border-radius: 4px;
}
.postcode-popup .mapbox-popup-table-meta {
    font-size: 12px;
    line-height: 1.2;
    color: #989ba0;
}

/* Custom Portal Sections */
#sectionPortalDevices,
#sectionCanvasTablet {
    position: relative;
}
.ca-portal-device-wrapper {
    overflow: hidden;
    margin: -7em 0 2em;
    position: relative;
}
.ca-portal-device-wrapper .devices {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 140%;
    left: 50%;
    -webkit-transform: translate(-43%,0);
            transform: translate(-43%,0);
}
.ca-canvas-tablet-wrapper .devices {
    -webkit-transform: translate(-49%,0);
            transform: translate(-49%,0);
}
.clipping-paths {
    width: 0;
    height: 0;
    position: absolute;
}
.ca-portal-device-wrapper .video {
    position: absolute;
    width: 69.66%;
    height: auto;
    left: 8%;
    top: 5%;
    z-index: 1;
    -webkit-clip-path: polygon(41% 0, 100% 0, 100% 67%, 59% 68%, 59% 96%, 58% 98%, 57% 98%, 45% 100%, 44% 99%, 43% 97%, 43% 81%, 0 86%, 0 31%, 41% 29%);
    clip-path: polygon(41% 0, 100% 0, 100% 67%, 59% 68%, 59% 96%, 58% 98%, 57% 98%, 45% 100%, 44% 99%, 43% 97%, 43% 81%, 0 86%, 0 31%, 41% 29%);
    transform: translateZ(-2px);
}
.ca-canvas-tablet-wrapper .video {
    width: 89.90578735%;
    left: 5.3%;
    top: 3%;
    -webkit-clip-path: polygon(72% 0, 100% 69%, 26% 100%, 25% 99%, 0 19%);
    clip-path: polygon(72% 0, 100% 69%, 26% 100%, 25% 99%, 0 19%);
}
.ca-portal-device-wrapper .devices-overlay {
    display: block;
    position: relative;
    z-index: 2;
    transform: translateZ(-1px);
}

.ca-portal-eis-wrapper {
    margin: 2em auto -5em;
}
.ca-portal-eis-wrapper .ca-portal-eis {
    display: block;
    -webkit-box-shadow: 0 0 1.5em #1b202938;
            box-shadow: 0 0 1.5em #1b202938;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}


.ca-portal-media {
    margin: 1em auto 0;
    display: block;
}

/* Custom Canvas sections */
.canvas-attendance-wrapper {
    position: relative;
}
.canvas-attendance-count {
    font-size: 6em;
    font-weight: 600;
    line-height: 1;
    margin-top: 1rem;
    position: relative;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.canvas-attendance-notif {
    position: absolute;
    top: 50%;
    right: -1rem;
    background: #2656bf;
    padding: 0.25em 0.75em;
    font-size: 0.75rem;
    border-radius: 1em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    -webkit-transform: translate(100%, -50%);
            transform: translate(100%, -50%);
    white-space: nowrap;
}

.canvas-search-wrapper {
    max-width: 540px;
    margin: 2em auto 0;
}
.canvas-search-wrapper .btn {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    margin-right: 0.5em;
    border-radius: 0;
}
.canvas-search-wrapper .btn:last-child {
    margin-right: 0;
}
.canvas-search-wrapper .btn-primary {
    background-color: #e7eaec;
    border-color: #e7eaec;
    color: #212529;
}
.canvas-search-wrapper .btn-primary.active {
    pointer-events: none;
}
.canvas-search-images {
    position: relative;
}
.canvas-search-images {
    position: relative;
}
.canvas-search-image:last-child {
    position: absolute;
    left: 0;
    top: 0;
}

/* Custom Analytics sections */

.ca-analytics-table {
    width: 100%;
    font-size: 0.8em;
}
.ca-analytics-table thead th {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 400;
    color: #FFF;
    letter-spacing: 0.2rem;
    padding: 0.8em 1em;
}
.ca-analytics-table tbody {
    background: #FFF;
    color: #5a5d5f;
    margin-top: 1em;
}
.ca-analytics-table tfoot {
    background: #33537a;
    color: #FFF;
    font-weight: 500;
}
.ca-analytics-table tr:nth-child(even) {
    background: #f4f7f9;
}
.ca-analytics-table tbody tr:first-child td:first-child {
    border-top-left-radius: 1em;
}
.ca-analytics-table tbody tr:first-child td:last-child {
    border-top-right-radius: 1em;
}
.ca-analytics-table tfoot tr td:first-child {
    border-bottom-left-radius: 1em;
}
.ca-analytics-table tfoot tr td:last-child {
    border-bottom-right-radius: 1em;
}
.ca-analytics-table td {
    padding: 0.8em 1em;
}

.ca-analytics-table th:nth-child(2),
.ca-analytics-table td:nth-child(2) {
    width: 19%
}
.ca-analytics-table th:nth-child(4),
.ca-analytics-table td:nth-child(4) {
    display: none;
}
.ca-analytics-table .ca-analytics-live {
    display: block;
    font-size: 0.75em;
    text-transform: uppercase;
    color: #ea233f
}
.ca-analytics-table .ca-analytics-live i {
    animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}
@keyframes blinker {  
    from { opacity: 1; }
    to { opacity: 0; }
}
.ca-analytics-table .ca-analytics-live-val {
    color: #5a5d5f;
    font-weight: 500;
}
.ca-analytics-table tfoot .ca-analytics-live-val {
    color: #FFF;
}




/* Statistics */

.ca-statistic {
    text-align: center;
    margin-bottom: 1em;
}
.ca-statistic-stat {
    font-size: 5em;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.1rem;
}
.ca-statistic-meta {
    font-size: 0.9em;
    width: 60%;
    min-width: 150px;
    margin: 0 auto;
}

/* FAQs */

.accordion > .card {
    border: 0 none;
}
.accordion > .card .card-header {
    border: 0 none;
    border-top: 1px solid #2a2d33;
    padding: 0;
    background-color: transparent;
    margin-top: 0;
}
.accordion > .card .card-header .btn {
    width: 100%;
    color: #2a2d33;
    padding: 1em 2em 1em 0;
    text-align: left;
    font-weight: 400;
    position: relative;
}
.accordion > .card .card-header .btn:hover,
.accordion > .card .card-header .btn:focus {
    text-decoration: none;
}
.accordion > .card .card-header .btn:after {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
.accordion > .card .card-header .btn[aria-expanded=true]:after {
    content: "\f106";
}

.accordion > .card .card-body {
    border-left: 5px solid #f4f7f9;
    margin-bottom: 1.5em;
    padding: 0 1.25rem;
}
#sectionPortalCommentMaps,
#sectionAnalyticsCMSync {
    position: relative;
    z-index: 2;
}
.ca-portal-mapcomments {
    margin-top: -2em;
}



/* XY CTA */
.ca-xy {
    font-size: 1.5em;
    font-style: italic;
    position: relative;
}
.ca-xy-dropdown {
    display: inline-block;
    margin: 0 0.25em;
}
.ca-xy-dropdown .btn {
    min-width: 200px;
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 2.55rem;
    position: relative;
    z-index: 2;
}
.ca-xy-dropdown .btn[disabled] {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.2;
}
.ca-xy-dropdown .btn:focus,
.ca-xy-dropdown .btn[aria-expanded=true],
.ca-xy-dropdown .btn.active {
    background: #FFF;
    color: #346ae2;
    -webkit-box-shadow: none;
            box-shadow: none;
}
.ca-xy-dropdown .dropdown-toggle:after {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
.ca-xy-dropdown .dropdown-menu.show {
    position: relative;
    margin-top: -2.4rem;
    border: 1px solid #FFF;
    border-top: 0 none;
    border-radius: 1.2em;
    width: 100%;
    padding-top: 2.4rem;
    padding-bottom: 0.8rem;
    z-index: 1;
    -webkit-box-shadow: 0 1em 2em #1b202970;
            box-shadow: 0 1em 2em #1b202970;
}
.ca-xy-dropdown .dropdown-item {
    border-top: 1px solid #f4f7f9;
    padding: 0.85rem 1.5rem;
    line-height: 1.2;
    white-space: normal;

}

.ca-xy-result {
    max-width: 720px;
    margin: 2em auto;
    padding: 2em;
    border-radius: 0.5em;
    color: #535558;
    background: #FFF;
    position: relative;
    display: none;
    text-align: left;
}
.ca-xy-result:before{
    content: "";
    display: block;
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid transparent;
    border-bottom: 20px solid #FFF;
    position: absolute;
    top: -20px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.ca-xy-result h4 {
    color: #2a2d33
}
.ca-xy-result .btn {
    margin-bottom: 1rem;
}
.ca-xy-result .btn:last-child {
    margin-bottom: 0;
}

/* Footer */
.ca-footer-nav {
    list-style: none;
    padding: 0 1em;
    margin-bottom: 2em;
}
.ca-footer-nav li {
    line-height: 1.2;
}
.ca-footer-nav a {
    font-size: 0.75em;
    color: #535558;
    padding: 0.25em 0;
    display: inline-block;
}
.ca-footer-nav li:first-child a {
    font-size: 0.7em;
    text-transform: uppercase;
    color: #8f9399;
}
.ca-footer-nav a:hover,
.ca-footer-nav a:focus,
.ca-footer-nav li:first-child a:hover,
.ca-footer-nav li:first-child a:focus {
    text-decoration: none;
    color: #1e469e
}
.ca-footer-meta {
    margin-top: 2em;
    font-size: 0.75em;
}
.ca-footer-meta .divider {
    margin: 0 1em;
    display: block;
    color: #f4f7f9
}
.ca-footer-meta a:hover,
.ca-footer-meta a:focus {
    text-decoration: none;
}
.ca-footer-meta-social {
    margin-right: 0.5em;
}
.ca-footer-meta-social:last-child {
    margin-right: 0;
}

/* Modals */

.modal {
    background: #1e293dd9;
}
.ca-modal-form {
    max-width: none;
    margin: 4em auto;
}
.ca-modal .modal-content {
    border-radius: 1em;
}
.ca-modal .close {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    text-shadow: none;
    color: #FFF;
    opacity: 1;
    padding: 0.5em 1em;
    z-index: 2;
}
.ca-modal .close .title-caps {
    display: inline-block;
    padding-top: 0.4rem;
    padding-right: 0.3rem;
    color: #FFF;
    vertical-align: top;
}
.ca-modal .modal-body {
    padding: 2em
}

/* Forms */

.ca-form {
    position: relative;
}

.ca-form label:not(.form-check-label) {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    padding: 0 1rem
}
.label-required {
    font-size: 0.6rem;
}
.form-control {
    border-radius: 1.5rem;
    padding: 1.25rem 1rem;
    height: calc(1.5em + 1rem + 2px);
    font-weight: 300;
    color: #535558;
}
textarea.form-control {
    padding: 0.75rem 1rem;
}

.form-check {
    padding-left: 0;
}
.form-check-input {
    display: none;
}
.form-check-label {
    border-radius: 1.5rem;
    padding: 0.5rem 1rem;
    color: #535558;
    border: 1px solid #ced4da;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    cursor: pointer;
    margin-bottom: 0.5rem;
}
.form-check-label:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.form-check-input[disabled] + .form-check-label {
    cursor: not-allowed;
    opacity: 0.35;
}
.form-check-label:before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color: #ced4da;
    padding-right: 0.5rem;
}
.form-check-input[type=radio] + .form-check-label:before {
    content: "\f111";
}
.form-check-input:checked + .form-check-label {
    background-color: #336ae2;
    color: #FFF;
    border-color: #336ae2;
}
.form-check-input:checked + .form-check-label:before {
    content: "\f14a";
    font-weight: 900;
    color: #FFF;
}
.form-check-input[type=radio]:checked + .form-check-label:before {
    content: "\f192";
}

.form-check-label:hover {
    border-color: #989ba0
}
.form-check-input:checked + .form-check-label:hover {
    background-color: #1e469e;
    border-color: #1e469e;
}

.ca-form-complete {
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

.ca-form-image {
    max-width: 230px;
    margin: -9em auto 0;
    display: block;
}

.ca-form-message {
    background: #336ae2;
    padding: 1em 1.5em;
    border-radius: 1.5rem;
    color: #FFF;
    position: absolute;
    bottom: 0;
    font-weight: 400;
}
.ca-form-message-invalid {
    background: #dc3545;
}
.ca-form-message-complete {
    background: #29a745;
}



/* Media queries */
/* sm */
@media (min-width: 576px) {
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 26px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 22px;
    }
    h5 {
        font-size: 20px;
    }
    .hero-title-home {
        font-size: 30px;
    }
    .hero-title-byline {
        font-size: 1.4em;
    }
    .col-map-text {
        max-width: 540px;
    }
    .ca-xy-result .btn {
        margin-bottom: 0;
    }
    .ca-canvas-tablet-wrapper .devices {
        width: 115%;
        max-width: 690px;
    }
    .ca-modal-form {
        max-width: 540px;
    }
    .ca-form-image {
        max-width: 300px;
        margin-top: -12em;
    }

    .ca-analytics-table {
        font-size: 0.9em;
    }
    .ca-analytics-table th:nth-child(4),
    .ca-analytics-table td:nth-child(4) {
        display: table-cell;
    }
}

/* md */
@media (min-width: 768px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 24px;
    }
    .container-sm {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    .hotspot {
		width: 35px;
		height: 35px;
	}
	.hotspot-sm {
		width: 23px;
		height: 23px;
	}
	.hotspot-ssm {
		width: 15px;
		height: 15px;
	}
	.hotspot-lg {
		width: 45px;
		height: 45px;
	}
	.hotspot-none {
		width: 0px !important;
		height: 0px !important;
		border-width: 0px !important;
	}

	/* Pulsate the hotspot */
	.hotspot:not(.hotspot-no-pulse):before {
	    content: ' ';
	    height: 110%;
	    width: 110%;
	    height: calc( 100% + 10px );
	    width: calc( 100% + 10px );
	    border: 4px solid #FFF;
	    border-radius: 50%;
	    z-index: 1;
	    position: absolute;
	    left: -5px;
	    top: -5px;
	    pointer-events: none;
	    opacity: 0;
	    -webkit-animation: pulse 2s ease-out;
	    animation: pulse 2s ease-out;
	    -webkit-animation-iteration-count: infinite;
	    animation-iteration-count: infinite;
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
	@-webkit-keyframes pulse {
		0% {-webkit-transform: scale(0.7, 0.7); }
		33% { opacity: 0; }
		65% { opacity: 1; }
	    100% {-webkit-transform: scale(1.4, 1.4); opacity: 0; }
	}
	@keyframes pulse {
		0% {-webkit-transform: scale(0.7, 0.7);transform: scale(0.7, 0.7); }
		33% { opacity: 0; }
		65% { opacity: 1; }
	    100% {-webkit-transform: scale(1.4, 1.4);transform: scale(1.4, 1.4); opacity: 0; }
    }
    
    
    .hero-title-home {
        font-size: 33px;
    }
    .hero-home-svg-link:hover .btn {
        opacity: 1;
    }
    .ca-carousel-nav {
        font-size: 0.8em;
    }
    #mapboxMap {
        height: 60vh;
    }
    .mapboxgl-popup-content {
        width: 360px;
        padding: 1.5rem;
    }
    .col-map-text {
        max-width: 720px;
    }
    .ca-xy:before {
        content: '“';
        position: absolute;
        color: #4779e3;
        font-size: 3em;
        vertical-align: top;
        top: -0.6em;
        -webkit-transform: translateX(-0.5em);
                transform: translateX(-0.5em);
    }
    .ca-xy:after {
        content: '”';
        position: absolute;
        color: #4779e3;
        font-size: 3em;
        vertical-align: top;
        top: -0.6em;
        -webkit-transform: translateX(-0.1em);
                transform: translateX(-0.1em);
    }
    .ca-xy-quote-segment,
    .ca-xy-dropdown {
        display: inline-block;
    }
    .ca-xy-dropdown .dropdown-menu.show {
        position: absolute;
        width: 100%;
    }

    .ca-portal-device-wrapper {
        margin-bottom: 3em;
    }
    .ca-portal-device-wrapper .devices {
        width: 120%;
    }
    .ca-canvas-tablet-wrapper .devices {
        max-width: 820px;
    }
    .ca-footer-nav {
        margin-bottom: 0;
    }
    .ca-footer-meta .divider {
        display: inline;
    }

    .ca-modal-form {
        max-width: 640px;
    }
}

/* lg */
@media (min-width: 992px) {
    h1 {
        font-size: 34px;
    }
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 28px;
    }

    .site-header .navbar-nav .nav-link {
        padding: 0.5rem 1em;
        font-size: 0.9em;
        color: #2a2d33;
    }
    .site-header .navbar-nav .nav-link:hover {
        color: #346ae2;
    }
    .nav-item.active .nav-link {
        border-bottom: .2rem solid #336ae2;
        border-right: 0;
        padding-bottom: .3rem;
    }
    .site-header .navbar-nav .btn {
        font-size: 0.9em;
    }

    .ca-hero-home .container {
        position: relative;
        min-height: 500px;
        min-height: 70vh;
        min-height: calc(100vh - 225px);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .ca-hero-home .ca-hero-wrapper {
        position: relative;
        width: 100%;
    }
    .ca-hero-svg {
        margin-bottom: -1em;
    }
    .ca-hero-svg-analytics {
        margin-bottom: -7em;
    }
    .ca-hero-text-home {
        position: absolute;
        text-align: left;
        left: 15px;
        top: 5%;
    }
    .hero-title-home {
        font-size: 36px;
    }
    .ca-hero-home-svg {
        position: absolute; 
        left: 0; 
        top: 0;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    .ca-home-clients {
        padding-top: 64%;
        margin-top: 0;
    }

    .ca-hook-text-col {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .ca-hook-btn-col {
        -webkit-box-flex: 0;
            -ms-flex-positive: 0;
                flex-grow: 0;
    }
    .ca-hook-text {
        font-size: 24px;
    }
    .ca-carousel-nav {
        font-size: 0.9em;
    }
    .ca-carousel-nav-item {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
    #mapboxMap {
        height: 600px;
        height: 75vh;
    }
    .mapboxgl-popup-content {
        padding: 2rem;
    }

    .ca-portal-device-wrapper .devices {
        width: 992px;
    }
    .ca-canvas-tablet-wrapper .devices {
        max-width: 960px;
    }

    .ca-portal-eis-wrapper {
        margin: -5em -2.5em -8em;
    }
    .ca-portal-eis-wrapper .ca-portal-eis {
        -webkit-transform: skew(0,-5deg);
                transform: skew(0,-5deg);
        border-bottom: 5em solid #f0f1f2;
    }

    .ca-portal-mapcomments {
        margin-top: -1em;
        margin-bottom: -1em;
    }
    .ca-portal-media {
        margin: 0 0 0 -2em;
    }

    .canvas-search-wrapper {
        margin-top: 0;
    }

    #sectionAnalyticsFormSubmissions .container {
        min-height: 442px;
    }
    #sectionAnalyticsFormSubmissions .ca-portal-eis {
        border-bottom-color: #f3f7f9;
    }
    

}

/* xl */
@media (min-width: 1200px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    .hero-title-home {
        font-size: 40px;
    }
    .ca-hook-text {
        font-size: 28px;
    }
    .ca-carousel-nav-item {
        margin-left: 0.75em;
        margin-right: 0.75em;
    }
    .col-map-text {
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }

    #sectionPortalDevices .container {
        min-height: 366px;
    }
    #sectionCanvasTablet .container {
        min-height: 366px;
    }
    .ca-portal-device-wrapper {
        overflow: visible;
        position: absolute;
        right: 50%;
        top: 50%;
        -webkit-transform: translate(22%,-50%);
                transform: translate(22%,-50%);
        margin: 0;
    }
    .ca-portal-device-wrapper .devices {
        width: auto;
    }
    .ca-canvas-tablet-wrapper .devices {
        -webkit-transform: translate(-60%,0);
                transform: translate(-60%,0);
        max-width: none;
    }
    .ca-portal-device-wrapper .devices-overlay {
        width: auto;
        height: 514px;
        max-width: none;
    }
    .ca-canvas-tablet-wrapper .devices-overlay {
        height: 594px;
    }

    #sectionAnalyticsMap {
        position: relative;
    }
    #sectionAnalyticsMap .container {
        min-height: 600px;
    }
    .ca-analytics-map-wrapper {
        max-width: 970px;
        margin: 0;
        position: absolute;
        top: 50%;
        right: 50%;
        -webkit-transform: translate(10%,-50%);
                transform: translate(10%,-50%);
        width: 970px;
        height: 845px;
    }

    .ca-portal-eis-wrapper {
        margin: -8em -2.5em;
    }

    .ca-modal-form {
        max-width: 1140px;
    }
    .ca-form-image {
        max-width: 280px;
        margin: 0;
    }


}

/* wide displays */
@media (min-width: 1440px) {
    .ca-portal-device-wrapper {
        -webkit-transform: translate(20%,-50%);
                transform: translate(20%,-50%);
    }
    .ca-portal-device-wrapper .devices-overlay {
        height: 544px;
    }
    .ca-canvas-tablet-wrapper .devices-overlay {
        height: 594px;
    }
}

/* ultra wide displays */
@media (min-width: 1920px) {
    #sectionPortalDevices .container {
        min-height: 496px;
    }
    #sectionCanvasTablet .container {
        min-height: 496px;
    }
    .ca-portal-device-wrapper .devices-overlay {
        height: 694px;
    }
}

/* wide but short displays */
@media (min-width: 992px)
    and (max-width: 1440px)
    and (min-aspect-ratio: 17/9) {
    
    .ca-hero-home .container {
        min-height: calc(100vh - 81px);
    }
    .ca-form-image {
        max-width: 200px;
    }
}

/* very wide and very short displays */
@media (min-width: 992px)
    and (min-aspect-ratio: 2/1) {
    
    .ca-hero .container {
        height: auto;
    }
    .ca-hero-text-home {
        position: relative;
        text-align: center;
        left: auto;
        top: auto;
        max-width: 720px;
        margin: 1em auto;
    }
    .hero-title-home br {
        display: none !important;
    }
    .ca-hero-home-svg {
        position: relative;
        -webkit-transform: translateX(-10%);
                transform: translateX(-10%);
    }
    .ca-home-clients {
        padding-top: 0;
        margin-top: 2em;
    }

    .ca-hero-product .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .ca-hero-product .ca-hero-svg {
        -webkit-box-flex: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
        width: 40%;
        -ms-flex: 0 0 40%;
        -webkit-box-flex: 0;
                flex: 0 0 40%;
        margin-bottom: 0;
    }
    .ca-hero-product .ca-hero-text {
        -webkit-box-flex: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .ca-hero-product .ca-hero-text .col-lg-8 {
        max-width: 100%;
        -ms-flex: 0 0 100%;
        -webkit-box-flex: 0;
                flex: 0 0 100%;
        padding-left: 3em;
    }

    .ca-form-image {
        max-width: 200px;
    }

}

/* IE10 & IE11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .title-divider:before,
    .title-divider:after {
        border-top: 0 none;
    }
    .form-control {
        padding-top: 0;
        padding-bottom: 0;
    }
    [data-svg-fallback] {
        display: none;
    }
}
@media screen and (min-width: 1200px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	#sectionPortalDevices .container {
        min-height: 466px;
    }
    #sectionCanvasTablet .container {
        min-height: 430px;
    }
}
@media screen and (min-width: 1920px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	#sectionPortalDevices .container {
        min-height: 530px;
    }
    #sectionCanvasTablet .container {
        min-height: 530px;
    }
}

/* Edge */
@supports (-ms-ime-align:auto) {

    [data-svg-fallback] {
        display: none;
    }
    @media screen and (min-width: 1200px){
        #sectionPortalDevices .container {
            min-height: 466px;
        }
        #sectionCanvasTablet .container {
            min-height: 430px;
        }
    }
    @media screen and (min-width: 1920px) {
	#sectionPortalDevices .container {
        min-height: 530px;
    }
    #sectionCanvasTablet .container {
        min-height: 530px;
    }
}

}

/* iOS only */
@media not all and (min-resolution:.001dpcm) { @media (min-width: 1px) {

    @media (max-width: 991px) {
        /* .ca-portal-device-wrapper {
            margin-top: -5em;
        } */
    }
    .ca-portal-device-wrapper .video {
        -webkit-transform-style: preserve-3d;
    }
    .ca-portal-device-wrapper .devices-overlay {
        -webkit-transform-style: preserve-3d;
    }
}}