/* Navigation colours on hover */
#menu-navigation > li:hover::before, #menu-navigation > li.current-menu-item::before{
		content: "";
		display: block;
		position: absolute;
		width: 100%;
		height: 10px;
		left: 0px;
}
#menu-navigation {
	li:nth-child(1)::before {
		background-color: #D30D2B;
	}
	li:nth-child(2)::before {
		background-color: #234E9D;
	}
	li:nth-child(3)::before {
		background-color: #e6bb0e;
	}
	li:nth-child(4)::before {
		background-color: #9DCD58;
	}
	li:nth-child(5)::before {
		background-color: #BC98F2;
	}
	li:nth-child(6)::before {
		background-color: #44B39E;
	}
	li:nth-child(7)::before {
		background-color: #F6A117;
	}
}
footer.site-info {
	border-top: 4px solid #222222;
}
@media (width <= 768px) {
	.menu-item a {
		color: white !important;
		position: relative;
		z-index: 1;
	}
	#menu-navigation > li:hover::before, #menu-navigation > li.current-menu-item::before {
			height: 100%;
			border-radius: 20px;
	}
	.menu-item ul, .menu-item ul li:hover a {
		background-color: rgba(255,255,255,0.2) !important;
	}
	.current-menu-item a {
		background-color: rgba(0,0,0,0.2) !important;
	}
}
@media (width > 768px) {
	.menu-item ul li a:hover {
		color: #222 !important;
	}
}

/* Header triangles/ribbon.
 * Following is base for desktop */
header#masthead {
	position: relative;
	top: 0px;
	z-index: 2;
	background-color: transparent;
	height: 150px;
	margin-bottom: -150px;
	margin-top: 10px;
}
header#masthead::before {
	content:"";
	position: absolute;
	z-index: 3;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	clip-path: polygon(0 0, 0 0%, 100% 100%, 100% 0);
	background-color: #E8E8E8;
}
header#masthead::after {
	content: "";
	position: absolute;
	height: 10px;
	width: 100%;
	background: #e8e8e8;
	top: -10px;
}
.site-branding-container {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 150px;
	width: 100vw;
	background-color: #D30D2B;
	clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
	display: flex;
	flex-direction: row;
}
.site-logo {
	margin-left: 10px;
	position: absolute;
}
.site-branding p.main-title a {
	color: white;
	font-family: "Libre Franklin";
	font-size: 1.6vw;
	font-weight: bold;
}
.main-title {
	display: flex;
	margin-left: 100px;
	width: 18vw;
}
.page-banner {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 9vw));
}
.page-banner-container {
	z-index: 1;
}
.page-banner-container::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0px;
	left: calc(50% - 2px);
	width: 4px;
	height: 5vw;
	background-color: #D30D2B;
	z-index: -1;
}
.inside-header.grid-container {
	margin-right: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: right;
}
#site-navigation {
	margin: 0 !important;
	height: 150px;
}
#primary-menu {
	margin-top: -10px;
}
.main-navigation .main-nav ul li a {
	padding-left: 15px;
	padding-right: 15px;
	font-size: 1.1rem;
	font-weight: bold;
}
/* Page positioning - incl specific for if a banner image exists */
div#page {
		min-height: calc(100vh - 131px)
}
main#main.site-main{
	padding-top: 120px;
}
.page-banner {
	margin-top: -45px;
}
body.error404 div#page, body.search div#page{ margin-top: 70px; }
/* Only for NOT mobile - navigation positioning for varying screen widths */
@media (width > 768px) {
	#site-navigation {
		margin-left: 220px !important;
	}
	#menu-navigation {
		display: flex;
		flex-direction: row;
		justify-content: right;
	}
}
@media (width < 1000px) {
	#site-navigation {
		margin-left: 200px !important;
	}
	.main-navigation .main-nav ul li a {
		padding-left: 10px;
		padding-right: 10px;

	}
}
@media (max-width: 768px) {
	.inside-header {
		height: 0px;
	}
}

/* Reposition search button */
.menu-bar-items {
	margin-left: auto;
	position: absolute;
	right: 0px;
	top: 80px;
}
@media (width <= 768px) {
	.menu-bar-items {
		position: relative;
		top: -8px;
	}
}

/* Mobile view header adjustments */
@media screen and (width <= 960px) {
	.site-branding p.main-title a {
		display: none;
	}
	.site-header .header-image {
		width: 80px;
		height: 80px;
	}
}
span.gp-icon.icon-menu-bars, span.gp-icon.icon-menu-bars svg{
	width: 30px;
	height: 30px;
}
html.mobile-menu-open #menu-navigation {
	background-color: #333333;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	position: relative;
	top: -25px;
}
html.mobile-menu-open #menu-navigation li{
	padding-left: 20px;
	padding-right: 20px;
}

/* For some reason there is a margin on the footer text that required this to remove */
.footer-bar p.gb-text {
	margin-bottom: 0px;
}