/*!
Theme Name: BGS
Theme URI: http://underscores.me/
Author: Luv Digital
Author URI: https://www.luvgroup.co.uk
Description: Custom Developed Theme for BGS
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bgs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

BGS is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

footer .footer-top img {
	height: auto;
}

.leaflet-map-container {
	min-width: 1px;
	min-height: 1px;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

.mb-30 {
	margin-bottom: 30px;
}

.bgs-download-popup {
	display: block;
	z-index: 99;
	padding-top: 80px;
}

.bgs-download-popup .container {
	position: relative;
	background: white;
	padding-top: 60px;
}

.bgs-download-popup .close-download-button {
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	background: white;
}

.bgs-download-popup>div>div {
	overflow-y: auto;
	height: auto;
	max-height: none;
}

.bgs-download-popup .button-content {
	padding: 15px 25px;
}

.w-65 {
	width: 65%;
}

.skip-to-content-btn {
	width: 1px !important;
	height: 1px !important;
	overflow: hidden;
	opacity: 0;
	z-index: -99999 !important;
}

ul.first-level>li.first-level-li>a.first-level-a {
	white-space: nowrap;
}

.skip-to-content-btn:focus {
	width: auto !important;
	height: auto !important;
	overflow: hidden;
	opacity: 1;
	z-index: 99999 !important;
	outline: 1px solid #f0a845;
	border: 3px solid #f0a845 !important;
}

.ekko-lightbox .modal-footer {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

figure.img-wrap {
	position: relative;
}

.expand-box {
	position: absolute;
	bottom: 0px;
	right: 0px;
	background: #f1f4f8;
	padding: 6px;
	width: 38px;
	height: 38px;
}

.expand-box-top {
	top: -38px;
	bottom: unset;
}

figcaption {
	position: relative;
}

.gform_wrapper div.validation_error {
	text-align: left !important;
}

.cookies-no-display {
	display: none;
}

.social-wrap-inline-them>div {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}

.social-wrap-inline-them>div .heateor_sss_sharing_container {
	padding: 0;
}

.social-wrap-inline-them>div .heateor_sss_sharing_container .heateor_sss_sharing_ul>li {
	float: none !important;
}

.social-wrap-inline-them>div .heateor_sss_sharing_container .heateor_sss_sharing_ul {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 0 !important;
}

.heateorSssClear {
	display: none !important;
}

.tabs-content table td {
	white-space: nowrap;
	padding: 5px 10px;
}

.tabs-content table thead {
	background: #002e40;
	color: #fff;
}

.tabs-content table {
	overflow: auto;
	display: block;
	margin-top: 20px;
}

.quest-form-wrp {
	max-width: 900px;
	margin: auto;
}

.question-section .btn-quest:focus .answer-close::before {
	background: url(img/close-light-h.svg);
}

.quest-form-wrp .gform_confirmation_wrapper {
	background: white;
	z-index: 1;
	position: relative;
	padding-bottom: 5px;
	margin-top: -70px;
	padding-top: 70px;
}

.question-section .icon-close::before {
	width: 24px;
}

.btn-quest {
	position: absolute;
	right: 20px;
	top: 25px;
	height: 42px;
	width: 45px !important;
	min-width: 0;
}

.question-section .answer-close {
	right: 0;
	top: 0;
}

.question-section .gform_validation_error .answer-positive,
.question-section .gform_validation_error .answer-negative {
	display: block;
}

.question-section .gform_wrapper div.validation_error,
.question-section .gform_wrapper .validation_message {
	color: #fff !important;
}

.question-section .gform_wrapper li.gfield_error textarea {
	border-color: #fff !important;
}

.question-section .gform_wrapper .validation_message:before {
	background: url(../../uploads/2020/10/Error.svg);
	background-size: auto !important;
}

.content-section .owl-carousel .owl-item {
	max-height: none;
}

/* .gform_validation_error form {
	display: block!important;
} */

#map {
	z-index: 0;
}

.w3eden .btn-primary,
.w3eden .btn-primary:hover {
	color: #fff;
	background-color: #4a8eff;
	border-color: #4a8eff;
}

.list-group-item .badge {
	background: #2ca8ff;
}

.sidebar .cards-simple .media-wrap img {
	max-height: 200px;
}

footer .links a {
	display: inline;
}

.hero-section .social-wrap div {
	padding: 20px;
}

.social-wrap [class*="icon-"]::before,
.social [class*="icon-"]::before {
	height: 28px;
}

.hero-section-search .search-wrap input[type=search]:hover+.search-clear {
	display: block !important;
	pointer-events: none;
}

@media only screen and (min-width: 576px) {
	.hero-section .social-wrap div {
		padding: 14px;
	}

	.modal-dialog {
		max-width: 95% !important;
	}

	.ekko-lightbox-item {
		display: flex;
		justify-content: center;
	}

	.ekko-lightbox-item img {
		width: auto !important;
		height: 100%;
	}

	.ekko-lightbox-container {
		min-height: 400px;
	}
}

.ccc-notify-button:focus-visible {
	background: red !important;
}

#ccc-button-holder {
	display: flex;
}

#ccc .ccc-content--dark a,
#ccc .ccc-content--dark h2,
#ccc .ccc-content--dark h3,
#ccc .ccc-content--dark p,
#ccc .ccc-content--dark span {
	color: black !important;
}

#ccc-info {
	display: none;
}

#ccc hr {
	background: black !important;
}

#ccc-icon {
	margin-bottom: 0;
}

#ccc-recommended-settings {
	border: solid 1px #002E40 !important;
	background: #002E40 !important;
	border-radius: 1px !important;
	font-weight: bold !important;
}

#ccc #ccc-recommended-settings span {
	color: white !important;
}

#ccc-reject-settings {
	border: solid 1px #002E40 !important;
	background: white !important;
	border-radius: 1px !important;
	font-weight: bold !important;
}

#ccc .ccc-content--dark span.checkbox-toggle-off,
#ccc .ccc-content--dark span.checkbox-toggle-on {
	color: white !important;
}

.content-section.content-with-anchors .row:last-child {
	max-width: 100%;
}

.content-with-anchors .anchors-acc .acc-wrap {
	background-color: #F6F6F5;
}

.content-with-anchors .anchors-menu-wrap ul {
	margin-left: 0 !important;
	list-style: none !important;
}

.content-with-anchors .anchors-menu-wrap a:not(:hover):not(:focus) {
	border-color: transparent !important;
}

.content-with-anchors .anchors-menu-wrap a:hover {
	border-color: #000 !important;
}

.content-section.content-with-anchors .accordions.anchors-acc .acc-top.open {
	background-color: #F6F6F5;
	border-color: #F6F6F5;
}

.content-section.content-with-anchors .accordions.anchors-acc .acc-body {
	padding-top: 5px;
}

.content-section .anchors-acc .button.acc-top:not(:focus-visible) .button-content {
	color: #000 !important;
}

.content-section.content-with-anchors.sticky-anchor {
	padding-top: 100px;
}

.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc {
	position: fixed;
	width: 100%;
	top: 0;
	left: 50%;
	z-index: 2;
	padding: 0 15px;
	transform: translate(-50%, 0);
}

.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc .acc-wrap {
	margin-bottom: 0;
}

.content-section.content-with-anchors .accordions.anchors-acc .acc-top:focus::before {
	background-image: url(./img/big-arrow.svg);
}

.content-section.content-with-anchors .accordions.anchors-acc .acc-top:focus-visible {
	background-color: #002E40;
	border-color: #002E40;
	color: #fff;
}

.content-section.content-with-anchors .accordions.anchors-acc .acc-top:focus-visible::before {
	background-image: url(./img/big-arrow-white.svg);
}

.content-with-anchors .anchor-link-wrap {
	margin-bottom: 0 !important;
}

.anchors-menu-link.active,
.anchors-menu-link:hover,
.anchors-menu-link:focus {
	text-shadow: 1px 0 0 currentColor;
	color: #002E40;
	background: none;
	outline: none;
}

.content-with-anchors .anchors-menu-wrap ul {
	list-style: disc !important;
	margin-left: 20px !important;
}

.anchors-menu-link:focus:not(:hover):not(.active) {
	font-weight: 400 !important;
}

.content-section.content-with-anchors .anchors-acc {
	pointer-events: none;
}

.content-section.content-with-anchors .anchors-acc .acc-wrap {
	pointer-events: all;
}

@media screen and (max-width: 768px) {
	.content-with-anchors .anchors-menu-wrap li {
		margin-top: 0 !important;
		margin-bottom: 5px !important;
	}

	.content-section.content-with-anchors .accordions.anchors-acc .acc-body {
		padding-top: 0 !important;
		padding-bottom: 10px !important;
	}
}

@media screen and (min-width: 576px) {
	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc .acc-wrap {
		max-width: 480px;
		margin: auto;
	}
}

@media screen and (min-width: 768px) {
	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc .acc-wrap {
		max-width: 660px;
	}

	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc {
		top: 70px;
	}
}

@media screen and (min-width: 992px) {
	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc {
		max-width: 930px;
	}

	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc .acc-wrap {
		max-width: 280px;
		margin: 0;
	}

	.content-section.content-with-anchors,
	.content-section.content-with-anchors.sticky-anchor {
		padding-top: 20px;
		margin-top: 60px;
	}

	.content-section.content-with-anchors .accordions.anchors-acc .acc-body {
		display: block !important;
		padding-top: 0;
	}

	.content-section.content-with-anchors .accordions.anchors-acc .acc-top::before {
		display: none;
	}

	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc {
		top: 100px;
	}

	.content-section.content-with-anchors .anchors-acc .acc-top {
		pointer-events: none;
	}
}

@media screen and (min-width: 1200px) {
	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc {
		max-width: 1110px;
	}

	.content-section.content-with-anchors.sticky-anchor .accordions.anchors-acc .acc-wrap {
		max-width: 247.5px;
	}
}




/* wpdm major update */
.downloads-header.hero-section .hero-info-wrap .hero-info {
	padding-bottom: 0;
	text-align: center
}

.downloads-header.hero-section .hero-info-wrap .hero-info>* {
	max-width: none
}

.w3eden .wpdm-page-template {
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-ms-flex-direction: column-reverse;
	flex-direction: column-reverse;
	margin: 0;
	background: #bbd0d4;
	padding: 0 20px 50px;
	font-family: 'aileron'
}

.w3eden .list-group-item {
	border-width: 0 0 2px 0;
	font-weight: 700;
	padding: 6px 0;
	border-radius: 0 !important;
	margin-top: 1px !important
}

.w3eden .list-group-item:nth-child(2) {
	border-top: 2px solid;
	margin-top: 16px;
	border-color: rgba(0, 0, 0, 0.125)
}

.w3eden .list-group-item:last-child {
	border-bottom: 3px solid rgba(0, 0, 0, 0.125)
}

.w3eden .list-group-item:nth-last-child(3),
.w3eden .list-group-item:nth-last-child(5) {
	display: none !important
}

.w3eden .badge {
	background-color: transparent;
	color: #000;
	font-size: 16px;
	padding-right: 0
}

.wpdm-download-link {
	position: relative;
	background: #002e40 !important;
	border: 0 !important;
	max-width: 250px;
	padding-left: 30px !important;
	margin: auto;
	border-radius: 0 !important;
	padding: 11px 25px 11px 50px !important
}

.w3eden a.btn {
	text-transform: none;
	font-family: 'aileron-b';
	border: 2px solid #002E40 !important;
	font-size: 16px;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	width: 100%;
	max-width: 250px
}

.wpdm-download-link:before {
	margin-left: -30px;
	pointer-events: none;
	content: "";
	background-repeat: no-repeat !important;
	background-size: contain !important;
	position: absolute;
	cursor: pointer;
	z-index: 1;
	height: 16px;
	width: 16px;
	top: calc(50% - 8px);
	background-image: url(../../../wp-content/uploads/2019/12/Download_Button_white.svg)
}

.w3eden a.btn:focus {
	color: #000 !important;
	background-color: #CCD5D9 !important
}

.w3eden a.btn:hover {
	color: #000;
	background-color: #E5EAEB !important;
	border-color: #002E40 !important
}

.w3eden a.btn:hover:before,
.w3eden a.btn:focus:before {
	background-image: url(../../../wp-content/uploads/2019/12/Download_Button_black.svg)
}

.w3eden .col-md-7 {
	max-width: 100%;
	padding: 0
}

.w3eden .list-group {
	background: #fff;
	padding: 0px 30px;
	max-width: 650px;
	margin: 0 auto -1px !important
}

.w3eden .card {
	background: #fff;
	padding: 10px;
	max-width: 650px;
	margin: 0 auto !important;
	border-radius: 0;
	border: 0;
	text-align: center
}

.w3eden .wpdm-page-template {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column
}

.w3eden .wpdm-page-template>.list-group {
	width: 100%;
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2
}

.w3eden .wpdm-page-template>.card:not(:last-child) {
	width: 100%;
	-webkit-box-ordinal-group: 4;
	-ms-flex-order: 3;
	order: 3
}

.w3eden .wpdm-page-template>.card:last-child {
	text-align: left;
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 1;
	order: 1;
	width: 100%
}

.w3eden .card .card-header {
	display: none
}

.w3eden .tab-pane p:last-child {
	margin-bottom: 0
}

.w3eden .badge {
	font-weight: initial
}

/* fix for table pay benefits */

.tabs-content .ui-tabs-panel table tbody:first-child {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.tabs-content .ui-tabs-panel table tbody:first-child tr {
	display: flex;
	width: 100%;
}

.tabs-content .ui-tabs-panel table tbody:first-child td {
	white-space: normal;
	padding: 5px 10px;
	flex: 0 0 50%;
}

.tabs-content .ui-tabs-panel table tbody:first-child tr>td:first-child {
	font-weight: 600;
}