.filter-submit { width: 100%; text-align: center; }
.filter-submit button { min-width: 30%; }
.detail-block h2 { margin-bottom: 0.5em !important; }

/* Homepage */
.activity-header h2 { color: #000; font-size: 30px; }
.activity-block { background: #F5F9FF; }
@media (min-width: 768px) { .activity-block { padding-bottom: 80px; } }
@media (min-width: 1024px) { .activity-block { padding-bottom: 120px; } }
.activity-box p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Contact Page */
.info-list a:hover { font-weight: 600; }

/* Posts Page */
.detail-block .meta { margin-bottom: 2em !important; }

/* Map Filter */
.filter-input-row .select-date::placeholder { font-weight: 600; color: #00588b; }
.select-dropdown .opener { font-size: 15px; }

/* Scroll to top button, only shows after 150px */
.back-to-top.hide { display: none !important; }

/* Main Menu */
#menu-header-menu li img { height: 27px; width: auto; display: inline-block; margin-right: 10px; }

/* My Account Page */
/*.select2-dropdown { margin-top: 30px; }*/
.fmd_alert { border-radius: 6px; border: 3px solid #00588b; padding: 15px; text-align: center; font-weight: 700; background: #fff; font-size: 18px; margin-bottom: 30px; }
.fmd_alert.hide { display: none; }
#alert-empty { text-align: center; font-weight: 700; }
#alert-empty.hide { display: none; }
#alert-preference.hide { display: none; }
#alert-preference .input-holder > span { min-width: 100%; }
@media (min-width: 768px) {
    .preferences-block .form-holder .input-row .input-col.wide { width: 100%; }
}
#mobile_number_alert { font-weight: 700; color: #ff0000; }
#mobile_number_alert.hide { display: none; }

/* Register / Login Popups */
.registration-popup, .login-popup, .common-popup { margin: 150px 0; }
.ts-wrapper.multi .ts-control > div { background: #00588b !important; color: #fff !important; }
#register-popup .cta-box h3 { color: #fff; font-size: 18px; margin-bottom: 5px; font-weight: 500; line-height: 34px; }
#register-popup p.title { font-size: 16px; font-weight: 600; }
.registration-popup .hide { display: none; }
form#gform_2 input.isrequired { border-color: #ff0000 !important; }
#register-popup #field_2_14 .gfield_label { display: inline; }
#validation_message_2_14 { margin-top: 0 !important; margin-bottom: 30px !important; }

/* Chart Popup */
.chart-popup { position: fixed; height: auto; width: 80%; max-height: 80%; display: none; z-index: 1000; }
.chart-popup.show { display: block; }
.chart-popup img { height: auto; width: 100%; max-height: 100%; }
@media (min-width: 576px) {
    .chart-popup { height: 80%; width: auto; }
    .chart-popup img { max-width: unset; height: 100%; width: auto; }
}

/* New Account Password Page */
.form-holder.fullpage { background: none; box-shadow: none; }

/* My Account Page */
#general-updates { border-top: solid 1px rgba(0, 0, 0, 0.2); padding-top: 25px; margin-top: 25px; }

/* Contact Page */
.contactus-block .row { align-items: flex-start; }
.gform-theme--foundation .gform_fields { row-gap: 0 !important; }
.form-holder .gform_fields { margin: 0 !important; }
.form-holder .gform_fields .gfield { padding: 0 !important; }
.gform-theme--foundation .gform_fields input, .gform-theme--foundation .gform_fields textarea { border-color: #A4A4A4 !important; padding: 5px 24px !important; border-radius: 6px !important; height: auto !important; }
.gform-theme--foundation .gform_fields input::placeholder, .gform-theme--foundation .gform_fields textarea::placeholder { color: #79797B; }
.gform-theme--foundation .gform_footer { margin-top: 0 !important; }
.gform-theme--foundation .gform_footer input[type=submit] { width: 100% !important; border-radius: 6px !important; text-align: center !important; background: #00588b !important; text-transform: uppercase !important; padding: 16px 20px !important; }
.gform-theme--foundation .gfield textarea.large { max-height: 150px; min-block-size: unset !important; }

/* Footer */
#footer .logo img { width: 200px; height: auto; }

/* Google Maps */
.reset-btn { font-weight: 600; text-decoration: none; }
.map-block.hide { display: none; }
.acf-map { height: 700px; }

p.noprojects { text-align: center; margin: 40px 0; }

.gm-style-mtc-bbw { left: unset !important; right: 70px; }

.gm-style-iw.gm-style-iw-c { background: #fff !important; padding: 20px !important; border-radius: 10px; width: 350px !important; }
.gm-style-iw.gm-style-iw-c .gm-style-iw-ch { display: none; }
.gm-style-iw.gm-style-iw-c button { background: transparent !important; position: absolute !important; top: 0 !important; right: 0 !important; }
.gm-style-iw.gm-style-iw-c button span { background-color: #000; }
.gm-style-iw.gm-style-iw-c .details { line-height: 1.5em; margin-bottom: 20px; }
.gm-style-iw.gm-style-iw-c .details span { display: block; }
.gm-style-iw.gm-style-iw-c .details span.parish { font-weight: 700; }

.gm-style-iw.gm-style-iw-c .projectbody { line-height: 1.5em; }
.gm-style-iw.gm-style-iw-c .projectbody p { margin-bottom: 0; }
.gm-style-iw.gm-style-iw-c .projectbody p span.label { display: inline-block; font-weight: 500; width: 100px; }

.gm-style-iw.gm-style-iw-c a { display: block; color: #00588b; font-weight: 700; margin-top: 20px; text-decoration: none; }
.gm-style-iw.gm-style-iw-c a:hover { text-decoration: underline; }
.gm-style-iw.gm-style-iw-c a span { font-weight: 900; }

.map-popup.not-found h4 { color: #F1860D; font-weight: 600; font-size: 25px; }

.filter-input-row .active .form-control, .select-dropdown.active .opener { border-color: #C9C9CA; }

.project-detail-block .detail-header .icon.traffic-management:before { color: #E51E25; }
.project-detail-block .detail-header .icon.traffic-management:after { background: #E51E25; }

.project-detail-block h1.heading { font-size: 22px; }
@media (min-width: 576px) {
    .project-detail-block h1.heading { font-size: 28px; }
}

/* List view */
.activity-listing .activity-list .heading { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
@media (min-width: 576px) {
    .activity-listing .activity-list .title-holder { width: 40%; }
    .activity-listing .activity-list .heading { width: 30%; }
}
@media (min-width: 768px) {
    .activity-listing .activity-list .title-holder { width: 30%; }
    .activity-listing .activity-list .heading { width: 20%; }
    .activity-listing .activity-list .scheme { width: 50%; }
}

body.page-id-1436 #pswmeter, body.page-id-1436 #pswmeter-message { max-width: 400px; }


/* Empty list view fade */
.map-block .activity-listing.faded:before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: '';
    right: 0;
    background: #fff;
    opacity: 0.7;
    z-index: 11;
}

/* OS MAPS */
#ol-map.map { height: 700px; }
.map-block .os-view { top: 80px; }
@media (max-width: 575px) {
    .map-block .list-view, .map-block .os-view { top: 70px; }
    .map-block .activities-map-os .list-view, .map-block .activities-map-os .os-view { top: 10px; }
    .map-block .os-view { left: 170px; }
}
.ol-zoom { left: unset !important; right: .5em; }

.gm-style-mtc button { border-radius: 4px !important; margin-left: 20px !important; }

.popover {
  --bs-popover-zindex: 1070;
  --bs-popover-width: 350px;
  --bs-popover-font-size: 0.875rem;
  --bs-popover-bg: #fff;
  --bs-popover-border-width: 1px;
  --bs-popover-border-color: rgba(0, 0, 0, 0.175);
  --bs-popover-border-radius: 0.5rem;
  --bs-popover-inner-border-radius: calc(0.5rem - 1px);
  --bs-popover-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-popover-header-padding-x: 1rem;
  --bs-popover-header-padding-y: 0.5rem;
  --bs-popover-header-font-size: 1rem;
  --bs-popover-header-color: var(--bs-heading-color);
  --bs-popover-header-bg: #f0f0f0;
  --bs-popover-body-padding-x: 1rem;
  --bs-popover-body-padding-y: 1rem;
  --bs-popover-body-color: #212529;
  --bs-popover-arrow-width: 1rem;
  --bs-popover-arrow-height: 0.5rem;
  --bs-popover-arrow-border: var(--bs-popover-border-color);
  z-index: var(--bs-popover-zindex);
  display: block;
  width: var(--bs-popover-width);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  white-space: normal;
  word-spacing: normal;
  line-break: auto;
  font-size: var(--bs-popover-font-size);
  word-wrap: break-word;
  background-color: var(--bs-popover-bg);
  background-clip: padding-box;
  border: var(--bs-popover-border-width) solid var(--bs-popover-border-color);
  border-radius: var(--bs-popover-border-radius);
}
.popover .popover-arrow {
  display: block;
  width: var(--bs-popover-arrow-width);
  height: var(--bs-popover-arrow-height);
}
.popover .popover-arrow::before, .popover .popover-arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
  border-width: 0;
}

.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
  bottom: calc(var(--bs-popover-arrow-height) * -1 - var(--bs-popover-border-width));
}
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before, .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
  border-width: var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
}
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
  bottom: 0;
  border-top-color: var(--bs-popover-arrow-border);
}
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
  bottom: var(--bs-popover-border-width);
  border-top-color: var(--bs-popover-bg);
}

/* rtl:begin:ignore */
.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
  left: calc(var(--bs-popover-arrow-height) * -1 - var(--bs-popover-border-width));
  width: var(--bs-popover-arrow-height);
  height: var(--bs-popover-arrow-width);
}
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before, .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  border-width: calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;
}
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
  left: 0;
  border-right-color: var(--bs-popover-arrow-border);
}
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
  left: var(--bs-popover-border-width);
  border-right-color: var(--bs-popover-bg);
}

/* rtl:end:ignore */
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
  top: calc(var(--bs-popover-arrow-height) * -1 - var(--bs-popover-border-width));
}
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
  border-width: 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
}
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
  top: 0;
  border-bottom-color: var(--bs-popover-arrow-border);
}
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
  top: var(--bs-popover-border-width);
  border-bottom-color: var(--bs-popover-bg);
}
.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: var(--bs-popover-arrow-width);
  margin-left: calc(var(--bs-popover-arrow-width) * -0.5);
  content: "";
  border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-header-bg);
}

/* rtl:begin:ignore */
.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
  right: calc(var(--bs-popover-arrow-height) * -1 - var(--bs-popover-border-width));
  width: var(--bs-popover-arrow-height);
  height: var(--bs-popover-arrow-width);
}
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before, .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
  border-width: calc(var(--bs-popover-arrow-width) * 0.5) 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);
}
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
  right: 0;
  border-left-color: var(--bs-popover-arrow-border);
}
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
  right: var(--bs-popover-border-width);
  border-left-color: var(--bs-popover-bg);
}

/* rtl:end:ignore */
.popover-header {
  padding: var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);
  margin-bottom: 0;
  font-size: var(--bs-popover-header-font-size);
  color: var(--bs-popover-header-color);
  background-color: var(--bs-popover-header-bg);
  border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-border-color);
  border-top-left-radius: var(--bs-popover-inner-border-radius);
  border-top-right-radius: var(--bs-popover-inner-border-radius);
}
.popover-header:empty {
  display: none;
}

.popover-body {
  padding: var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);
  color: var(--bs-popover-body-color);
  line-height: 1.5em;
  font-weight: 300;
  font-size: 13px;
}

.popover-body .details {
	line-height: 1.5em;
	margin-bottom: 20px;
}
.popover-body .details span.parish {
	font-weight: 700;
}
.popover-body .details span {
	display: block;
}
.popover-body p {
	margin-bottom: 0;
}
.popover-body span.label {
	display: inline-block;
	font-weight: 500;
	width: 100px;
}
.popover-body a {
	display: block;
	color: #00588b;
	font-weight: 700;
	margin-top: 20px;
	text-decoration: none;
}