/*
#header .topbar {
	display: none;
	padding: 0;
}
*/
.navigation .gva_menu .megamenu > .sub-menu {
    padding: 8px;
}
.navigation .gva_menu .megamenu > .sub-menu > li > a {
    padding: 0 0 5px !important;
    margin-bottom: 3px !important;
}
/*
header .site-branding-logo {
    padding: 8px 0 10px;
}
*/
.rs-background-video-layer::after {
	background: none;
}

/* Menu padding and margin reset */
.navigation .gva_menu .sub-menu > li > a {
    padding-bottom: 5px;
    margin-bottom: 3px;
}

#block-topbaralert {
	background-color: #84e11b;
	margin: 0 auto;
	padding: 2rem 1rem;
	position: relative;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}
#block-topbaralert.hidden {
    display: none !important;
}
#block-topbaralert * {
	color: #034a48;
	text-align: center;
	max-width: calc(100vw - 10rem);
	margin: 0 auto;
}
#block-topbaralert a::after {
	color: #034a48;
	background: url(data:image/svg+xml;utf8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDc2OCA3NjgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDc2OCA3Njg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4gLnN0MHtmaWxsOiMwMzRhNDg7fSA8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNjQwLDY0MEgxMjhWMTI5LjlsMTI4LTEuOVYwSDB2NzY4aDc2OFY0NDhINjQwVjY0MHogTTM4NCwwbDEyOCwxMjhMMzIwLDMyMGwxMjgsMTI4bDE5Mi0xOTJsMTI4LDEyOFYwSDM4NHoiIC8+IDwvc3ZnPgo=);
	background-repeat: no-repeat;
	left: 5px;
	top: 1px;
	opacity: 1;
}
#close-notice,
#close-popup {
    position: absolute;
    width: 32px;
    height: 32px;
    cursor: pointer;
    right: 2rem;
    top: 2rem;
}
@media (max-width: 460px) {
	#close-popup {
		right: 0;
		top: 1rem;
	}
}
#close-notice::after,
#close-popup::after {
	font-family: "FontAwesome";
	font-size: 16px;
	font-weight: 600;
	content: "\f00d";
}

#close-popup::after {
	color: #fff;
}

#block-terrirtorialacknowledgementpopup {
	position: fixed;
	display: flex;
	background: #a00033;
/* sd63 mods to remove picture and put background image in territorial popup
    o added background-image, repeat, size, position
*/
    background-image: url("/sites/default/files/assets/images/Home/Saanich_Landscape_Darker.jpg");
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	width: 90vw;
	max-width: 1220px;
/*
	height: 60vh;
*/
    min-height: auto;
	max-height: 550px;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
	#block-terrirtorialacknowledgementpopup {
		height: 95%;
		max-height: 95%;
		overflow-y: auto;
	}
}
#block-terrirtorialacknowledgementpopup.hidden {
    display: none !important;
}
#block-terrirtorialacknowledgementpopup .block-content {
	color: #fff !important;
	display: flex;
	margin: 0 auto;
	width: calc(100% - 10rem);
}
@media (max-width: 767px) {
	#block-terrirtorialacknowledgementpopup .block-content {
		width: 100%;
	}
}
#block-terrirtorialacknowledgementpopup .block-content .field {
	display: flex;
	margin: auto;
}
@media (max-width: 767px) {
	#block-terrirtorialacknowledgementpopup .block-content .field {
		flex-direction: column;
	}
}

/* sd63 mods to remove picture and put background image in territorial popup
    o added text-align, changed max-width from 50 to 80%
*/
#block-terrirtorialacknowledgementpopup .block-content .field div {
    flex: 1 0 auto;
	max-width: 80%;
	margin: auto;
    text-align: center;
}
@media (max-width: 767px) {
	#block-terrirtorialacknowledgementpopup .block-content .field div {
		max-width: 80%;
	}
}
#block-terrirtorialacknowledgementpopup .block-content .field div .small-border {
    background: #81dd19;
    display: inline-block;
    height: 4px;
    width: 50px;
	margin-bottom: 12px;
/* sd63 mods to remove picture and put background image in territorial popup
    o added margin-right: 50px; to allow for width of line when centered.
*/
    margin-right: 50px;
}
#block-terrirtorialacknowledgementpopup .block-content .field div h2 {
	color: #fff !important;
	width: 90%;
	line-height: 1.2em;
	font-weight: 300;
	margin-bottom: 2rem;
}
@media (max-width: 991px) {
	#block-terrirtorialacknowledgementpopup .block-content .field div h2 {
		font-size: xx-large;
	}
}
@media (max-width: 460px) {
	#block-terrirtorialacknowledgementpopup .block-content .field div h2 {
		font-size: x-large;
	}
}
#block-terrirtorialacknowledgementpopup .block-content .field div img {
	max-width: 100%;
	height: 100%;
	width: 80%;
}
@media (max-width: 767px) {
	#block-terrirtorialacknowledgementpopup .block-content .field div img {
		height: auto;
		margin: 2rem 0;
	}
}
