@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap');

:root {
	--blue-main: #1C75BC;
	--green-main: #1a794b;
	--max-width: 1280px;
}


/* MENU  */
.nav, .mobileNav {
	background-color:#1C75BC;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 1em auto;
	padding: 0 5px;
	font-size: 1.1rem;
	text-align: center;
	min-height: 2.5em;
	color: white;
	font-family:'Gothic-Book';
	z-index:5;
	
}

.nav {
	display: block;
	justify-content: space-around;
}

.mobileNav { 
	display: flex;
	list-style: none;
	justify-content: flex-end;
}

.nav > li {
	/*flex: 1;*/
	padding: 7px;
	list-style: none;
	vertical-align: middle;
	position: static;
}

.mobileNav > li {
	padding: 7px;
}

.nav a:hover {
	text-decoration: none;
}

.nav .line-element {
	flex: 0 0 5px;
	color: white;
	display: none;
}

.nav .line-element span {
	vertical-align: middle;
}

.nav li * {
	vertical-align: middle;
	color: white;
}

.nav a {
	color: white;
	height: 100%;
	width: 100%;
}

.nav .last-menu-item {
	border-right: none;
}

.nav > li > ul {
	left: -9999px;
	transform: scaleY(0);
	transform-origin: top;
	vertical-align: top;
	position: absolute;
	list-style: none;
	padding: 0;
	text-align: left;
	padding-left: 20px;
	transition: transform 0.3s;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.level2/*, .level3*/ {
	display: none;
}

.level3 {
	font-size: .9em;
}

.nav a, .mobileNav li {
	display: inline;
	font-weight: 400;
	font-family: marion;
	font-size: 1em;
	margin: 0;
}

.nav h3 {
	font-size: 1.5em;
	background-color:#1C75BC;
	padding: 0 10px;
	font-weight: 400;

}

.nav > li > ul > li {
	display: block;
	width: 30%;
	padding-left: 3%;
}

.nav > li > ul > li > ul {
	list-style: disc;
}

.nav > li > a {
	font-size: 1em;
	font-family: sans-serif;
}
.nav > li:hover {
	background-color: #1C75BC;
}

.nav > li.line-element:hover {
	background-color:#1C75BC;
}

.nav > li.navHover.hover > ul {
	left: 5%;
	height: auto;
	transform: scaleY(1);
	padding: 1em 1em 1em 1em;
	background-color:#1C75BC;
	margin-top: 9px;
	z-index: 7;
	width: 90%;
}

.nav > li.hover > ul {
	left: 5%;
	height: auto;
	transform: scaleY(1);
	padding: 1em 1em 1em 1em;
	background-color:#1C75BC;
	margin-top: 10px;
	z-index: 7;
	width: 90%;
}

.nav > li > ul > li:hover {
	background-color: #1C75BC;
}

.nav > li > ul > li.hasSubs2 > ul {
	left: -9999px;
	height: 0;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.3s;
}

.nav > li > ul > li.hasSubs2.hover > ul {
	left: 0;
	height: auto;
	transform: scaleY(1);
	transition: transform 0.3s;
}

.nav > li > ul > li > ul > li:hover > a{
	background-color: #06733F;
	text-decoration: underline;
}

.nav > li:hover:first-child > ul {
	left: 0;
}

.nav > li:hover:last-child > ul {
	right: 0;
	left: auto;
}

.nav > li:hover:nth-last-child(3) > ul {
	right: -50%;
	left:auto;
}

.nav > li:hover > ul > * {opacity: 1;}

.menuArrow {
	transition: transform 0.3s;
}

.menuArrowOpen {
	transform: rotate(90deg);
}

.hamburger {
	width: 30px;
	height: 30px;
	padding-top: 3px;
}

.hamburger > span {
	display: block;
	width: 80%;
	margin: auto;
	border-bottom: 2px solid white;
	height: 7px;
}

.utilities {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	max-width: 1280px;
	margin: auto;
}

.printIcons img {
	width: 30px;
	margin-top: 4px;
	cursor: pointer;
}

#googleContainer {
	width: auto;
	margin: 0;
}

#header_textOnly {
	display: none;
}

#header_default {
	display: block;
	margin-top: 1em;
}

#header_default .townName {
	width: 80%;
	margin: auto;
	max-width: 1280px;
}

#header_default .waterContainer {
	width: 100%;
	margin: auto;
	max-width: 1280px;
}

#header_default .townName img, #header_default .waterContainer img {
	width: 100%;
}

.wrapper {
	width: 100%;
	max-width: 1280px;
	margin: auto;
	padding: 0;
}
.menuBar, .qMenuBar {
	display: flex;
	justify-content: space-around;
	margin-bottom: 1em;
}
.qMenuBar img {
	width: 100%;
}

.menuBar .tile, .qMenuBar > a {
	width: 10%;
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	color: #1C75BC;
	text-decoration: none;
}

.menuBar .tile .tileBody {
	margin-bottom: 1em;
}

.menuBar .tile .tileTitle, .qMenuBar > a .menuItem {
	text-align: center;
}

.qMenuBar > a .menuItem .menuImage {
    margin-bottom: .5em;
} 

.menuBar .tile .tileTitle a {
	color: #1C75BC;
	text-decoration: none;
}

.menuBar .tile .tileImg {
	width: 100%;
}

.menuBar .tile .tileBodyMore {
	display: none;
}

#infoIcon .tileTitle {
	width: 27px;
	margin: 0 auto;
	overflow: hidden;
}

.banner img {
	width: 100%;
}

.body .contentBox {
	width: 90%;
	margin: auto;
	color: #1C75BC;
	text-align: center;
}

.body .contentHR:last-of-type {
	display: none;
}

.services {
	background: #1a794b;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 2em 0 1em 0;
	margin-bottom: 1em;
}

.services .tile {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	margin-bottom: 2em;
	width: 190px;
}

.services .tile .tileTitle {
	width: 60%;
	margin: 0 auto;
	text-align: center;
	color: white;
}
.services .tile .tileImg {
	border: 1px solid white;
	width: 190px;
}

.services .tile .tileBody {
	text-align: center;
	margin-bottom: 1em;
}

.services .tileBodyMore {
	display: none;
}

.footer-container {
	width: 100%;
	max-width: 1280px;
	margin: auto;
	background-color: #1C75BC;
}

#SiteDesignFoot1 {
	width: 100%;
	max-width: 1280px;
	margin: auto;
}

#SiteDesignFoot1 .top {
	display: grid;
	grid-template-columns: repeat(12, 8.33%);
	color: white;
	width: 75%;
	margin: auto;
	line-height: 1.5em;
}

#SiteDesignFoot1 .top a {
	color: white;
}

#SiteDesignFoot1 .top .contentBox {
	grid-column: span 12;
}

#SiteDesignFoot1 .top hr.contentHR{
	display: none;
}

#SiteDesignFoot1 .contentBox h2 {
	margin: 0;
	font-size: 18px;
}

#links1 p, #links2 p {
	margin: 0;
}

#links1 p {
	margin-top: 1em;
}

#SiteDesignFoot1 .bottom {
	padding: 5px 0;
	text-align: center;
	margin-top: 1em;
}
.poweredBy {
	width: 200px;
	margin: auto;
	background-color: white;
	border-radius: 5px;
}
.emergency-message-holder span {
    height: 2em;
    font-size: 1.5em;
    font-weight: bold;
}
@media screen AND (min-width: 480px) {

}

@media screen AND (min-width: 768px) {
	.mobileNav {
		display: none;
	}
	.nav .line-element {
		display: block;
	}
	#infoIcon .tileTitle {
		width: auto;
	}

	.services .tile {
		margin-bottom: 0;
	}

	#SiteDesignFoot1 .top {
		padding-top: 2em;
		width: 95%;
	}

	#SiteDesignFoot1 .top .contentBox {
		grid-column: span 6;
	}

	#links1 p, #links2 p {
		margin: 1em 0;
	}

	.contentBox#links1 p {
		margin-bottom: 0;
	}

	.contentBox#links1 {
		margin-left: 20%;
	}

	.contentBox#MSA, .contentBox#links2 {
		align-self: center;
	}
}

@media screen AND (min-width: 1024px) {

}

@media screen AND (min-width: 1280px) {
	#SiteDesignFoot1 .top .contentBox {
		grid-column: span 3;
	}

	.contentBox#links1 {
		border-left: 2px solid white;
		padding-left: 2em;
		margin-left: 0;
	}
}