﻿/* ACCESSIBILITY OPTIONS
-------------------------------------------------- */

body {
	overflow-x: hidden;
}

#accessibility-options {
	position: fixed;
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	padding: 8px 0;
	background-color: #353535;
}

#accessibility-options .inner {
	max-width: 960px;
}

#accessibility-options .inner ul {
	margin: 0;
}

#accessibility-options .inner ul li {
	float: left;
	margin-right: 10px;
}

#accessibility-options .inner a {
	color: #fff;
}

#Body .accessible-nav a {
	top: -37px;
}

/* HEADER
-------------------------------------------------- */

.header {
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 62px;
	margin-bottom: 4px;
}

.header > .inner {
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 960px;
	padding: 0 0 0 160px;
	margin: 0 auto;
	background-color: #fff;
}

.header .right-column {
	float: right;
	padding-right: 15px;
}

@media (min-width: 992px) {
	.header {
		height: 96px;
	}

	.header > .inner {
		padding: 0 0 0 230px;
	}
}

/* HEADER - LOGO CONTAINER
-------------------------------------------------- */

#logo-container {
	float: left;
	display: table;
	width: 160px;
	height: 100%;
	margin-left: -160px;
}

#logo-container a {
	display: table-cell;
	vertical-align: middle;
}

#logo-container img {
	height: 42px;
}

@media (min-width: 992px) {
	#logo-container {
		width: 230px;
		margin-left: -230px;
	}

	#logo-container img {
		height: 64px;
	}
}

/* HEADER - TOP LINKS
-------------------------------------------------- */

.header .top-links {
	display: none;
	margin: 16px 0 6px 0;
}

.header .top-links li {
	display: inline-block;
	list-style: none;
	font-size: 13px;
	color: #42586F;
}

.header .top-links > li:nth-child(5) {
	margin-right: 10px;
}

.header .top-links li a {
	color: #42586F;
}

.header .top-links .social img {
	height: 22px;
}

#Body .header .browse-services {
	padding: 5px;
	font-size: 15px;
}

#Body .header .browse-services:hover {
	color: #4A4A4A;
	text-decoration: none;
}

@media (min-width: 992px) {
	.header .top-links {
		display: block;
	}
}

/* MEL TOPNAV CONTAINER
-------------------------------------------------- */

#mel-topnav {
	display: table;
	padding-top: 10px;
}

/* QUICK EXIT BUTTON CONTAINER
-------------------------------------------------- */

#exit-container {
	float: left;
	display: table;
	width: 130px;
	height: 100%;
	/* padding-left: 15px; */
	margin-left: -160px;
}

#exit-container a {
	display: table-cell;
	vertical-align: middle;
}

#exit-container img {
	height: 42px;
}

#exit-wide {
	height: 50px;
	margin-top: 10px;
}

@media (min-width: 992px) {
	#exit-container {
		width: 220px;
		margin-left: -235px;
	}

	#exit-container img {
		height: 50px;
	}
}

/* NAV BAR MEL
-------------------------------------------------- */

.navbar-links {
	display: none;
}

.navbar-links ul {
	list-style: none;
	font-size: 14px;
	font-weight: normal;
	position: absolute;
	z-index: 2;
	top: 2.5rem;
	right: 0;
	background: #fff;
	width: 250px;
	padding: 10px;
}

.navbar-links ul li {
	margin: 15px 0;
	white-space: nowrap;
}

.navbar-links ul li a {
	color: #0e3252;
	text-decoration: none;
	font-size: 1.2em;
	display: block;
}

.navbar-links ul li a:hover {
	color: orange;
}

.navbar-links ul li.sm a {
	font-size: 1em;
}

.navbar-links ul li.bt {
	border-top: 1px solid #eee;
	padding-top: 14px;
}

.toggle-button {
	position: absolute;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	top: 10px;
	right: 0;
	margin: 10px;
}

.bar1,
.bar2,
.bar3 {
	height: 3px;
	width: 100%;
	background-color: black;
	border-radius: 25px;
	transition: 0.4s;
}

/* Transform the bars into an "X" when the toggle button is clicked */
.change .bar1 {
	top: 50%;
	transform: rotate(-45deg) translate(-10px, 2px);
}

.change .bar2 {
	opacity: 0;
}

.change .bar3 {
	top: 50%;
	transform: rotate(45deg) translate(-10px, -2px);
}

#mel-hide {
	display: none;
}

@media only screen and (min-width: 992px) {
	#mel-hide {
		display: block;
	}
	
	#mel-nav {
		display: none;
	}
}

#nav {
	text-align: right;
}

#Body .nav-menu {
	position: static;
	margin-top: 6px;
}

#Body .sub-nav {
	z-index: 10;
	top: 139px;
	left: 0;
	width: 100%;
}

#Body .sub-nav .sub-nav-group {
	width: 25%;
}

/* CONTENT
-------------------------------------------------- */

#wrapper > .container {
	width: 100%;
	padding: 15px 15px 50px 15px;
	font-size: 14px;
}

.main-content .sidemenu {
	padding: 15px;
	background-color: #fbd596;
}

.main-content .sidemenu ul {
	list-style: none;
}

#wrapper:not(.multipane) .main-content .col-left {
	order: 2;
}

.main-content .col-left > section,
.main-content .col-left > section > div {
	float: left;
	width: 100%;
}

#wrapper:not(.multipane) .main-content .col-right {
	order: 1;
}

.main-content .section, .main-content .menu, .main-content .sectionnh, .main-content .sectionhpb {
	width: 100%;
}

.main-content .menutop,
.main-content .menubottom {
	display: none;
	background-size: 100% auto;
}

#container .smallbannerwrap,
#container .widebannerwrap,
.detailrow .subtitle h2 br {
	display: none;
}

.mobilebannerwrap  img {
	float: left;
	width: 100%;
	margin-bottom: 1.5rem;
}

.mobilebannerwrap h1 {
    font-size: 1.75em;
	font-weight: bold;
	color: #035594;
}

.detailrow .subtitle,
.detailrow span {
	width: 100%;
}

.detailrow ul,
.detailrow ol {
    margin-left: 15px;
}

.sectionnh ul,
.sectionnh ol {
	margin-left: 15px;
}

#breadcrumb {
	position: relative;
	z-index: 1;
}

.wave-banner {
	position: relative;
	z-index: 0;
	width: calc(100% + 30px);
	margin-left: -15px;
	background-image: url(/portals/0/library/banners/wdgenericblue.png);
	background-repeat: no-repeat;
}

#Body .multipane .heading-banner {
	margin: 0;
}

#Body .heading-banner {
	margin: 0 auto;
	width: 100%;
	max-width: 900px;
}


#Body .multipane .sidebar-links .menu {
	position: relative;
}

#Body .multipane .sidebar-links .menu a {
	background: transparent;
	color: rgb(0, 38, 67) !important;
	border: 2px solid rgb(0, 38, 67);
	border-radius: 3px;
}

.chevron {
    position: absolute;
	top: 24px;
	right: 24px;
    height: 20px; /*Height should be double border thickness*/
	width: 20px;
	pointer-events: none;
}
.chevron::before,
.chevron::after {
    position: absolute;
    content: "";
    border: 10px solid transparent; /*Adjust chevron size*/
}
/*Change the four instances of 'top' below to rotate chevron*/
/*Use (top/right/bottom/left) where you want the back of the chevron to be*/
.chevron::before {
    top: 0;
    border-top-color: rgb(0, 38, 67); /*Chevron Color*/
}
.chevron::after {
    top: -6px; /*Adjust thickness*/
    border-top-color: #fff; /*Match chevron background colour*/
}

#Body .left .sidebar-links li {
	margin: 6px 0px;
	list-style-type: none;
}

#Body .left .sidebar-links a {
	display: block;
    background: rgb(2, 56, 97);
    margin-bottom: 0px;
    color: white !important;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    padding: 1em .2em;
}

@media only screen and (max-width: 992px) {
	#Body .contactag h2,
	#Body .contactag table,
	#Body .contactag table tr,
	#Body .contactag table td {
		display: inline-block;
		width: 100%;
		height: auto;
		padding-left: 0;
	}
	
	#Body .multipane .heading-banner {
		margin-bottom: 40px;
	}
	
	#Body .multipane .heading-banner .content {
		padding: 3rem 2rem !important;
	}
	
	#Body .multipane .heading-banner .image-container:not(.none) {
		display: block;
		left: 0;
		right: 0;
		bottom: -40px;
		margin: 0 auto;
		align-items: unset;
	}
	
	#Body .multipane .heading-banner .image-container.large-icon:not(.none) {
		width: 80px;
		height: 80px;
	}
	
	#Body .multipane .sidebar-links {
		margin: 0;
	}
	
	#Body .multipane .sidebar-links a {
		padding: 1rem;
		text-align: left;
	}
	
	#Body .multipane .sidebar-links .menu:not([aria-expanded="true"]) ~ li {
		display: none;
	}
	
	#Body .multipane .sidebar-links .menu[aria-expanded="true"] i {
		top: 14px;
		transform: rotate(180deg);
	}
	
	#Body .multipane .commissioner-img {
		width: 50%;
		max-width: 280px;
	}
	
	#Body .noBulletts ul {
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

@media only screen and (min-width: 660px) and (max-width: 992px) {
	#Body .contactag table tr {
		width: 50%;
		vertical-align: top;
	}
}

@media only screen and (min-width: 992px) {
	#wrapper:not(.multipane) .main-content .col-left {
		order: 1;
	}
	
	#wrapper:not(.multipane) .main-content .col-right {
		order: 2;
	}
	
	.main-content .menutop,
	.main-content .menubottom,
	#container .smallbannerwrap,
	#container .widebannerwrap,
	.detailrow .subtitle h2 br {
		display: block;
	}
	
	.detailrow .subtitle h2 {
		line-height: 1.2rem;
	}
	
	#container .mobilebannerwrap {
		display: none;
	}
	
	.detailrow .subtitle {
		width: 30%;
	}
	
	.detailrow span {
		float: left;
		width: 70%;
	}
	
	#Body .multipane .heading-banner {
		margin: 0 15px;
	}
	
	#Body .multipane .sidebar-links .menu {
		display: none;
	}
}

/* FOOTER
-------------------------------------------------- */

footer {
	display: inline-block;
	width: 100%;
	max-width: none !important;
	text-align: center;
}

#Body footer * {
	color: #000;
	font-size: 14px;
}

footer .container {
	display: inline-block;
	max-width: 960px;
	background-color: #ccc;
	padding: 0;
	margin: 0 auto;
}

footer ul {
	list-style: none;
}

footer .site-links {
	padding: 3rem 3rem 0 3rem;
}

footer .site-links ul li:not(:last-child) {
	margin-bottom: 5px;
}

footer .bottom-links {
	padding: 1rem 3rem 2rem 3rem;
}

footer .bottom-links p,
footer .oc-links {
	margin-bottom: 0;
}

footer .oc-links li span {
	display: none;
}

footer .social a {
	background-color: #fff;
}

footer .social img {
	height: 22px;
}

@media (min-width: 768px) {
	footer .container {
		text-align: left;
	}

	footer .oc-links li,
	footer .oc-links li span {
		display: inline-block;
	}
}

@media (min-width: 960px) {
	footer .oc-links {
		text-align: right;
	}
	
	footer .social {
		display: none;
	}
}