div h1 {
	padding: 0 0 0 30px
}

nav ul{
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

li {
	background-color: rgba(198, 212, 214, .85);
	height: 48px;
	width: 100%;
	box-sizing: border-box;
	padding: 15px 5px;
	text-align: center;
	transition: .5s;
}

li:hover {
	background-color: rgba(176, 183, 184, .85);
}



nav ul{
	display: flex;
	flex-direction: row;
}

nav ul li{
	position: relative;
}

a {
	color: white !important;
	text-decoration: none;
	width: 100%;
	display: block;
}

nav ul li ul {
	display: none;
    position: absolute;
    top: 48px;
    left: 0px;
    width: 150%;
}

nav ul li ul li{
	background-color: rgba(198, 212, 214, .85);
}

nav ul li ul li:hover {
	background-color: rgba(176, 183, 184, .85);
}

nav ul li:hover .sub-ul1 /*nav ul li ul  doesn't work.*/{
	display: block;
}

nav ul li ul li {
	position: relative;
}

nav ul li ul li:hover .sub-ul2 /*nav ul li ul li ul  doesn't work*/{
	display: block;
	z-index: 9999;
}

nav ul li ul li ul {
	position: absolute;
	left: 100%;
	top: 0%;
	width: 100%;
	display: none;
}

/*main {
	margin: 40px 10% 40px 10%;
}*/

main div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
	background-color: #b0f8ff;
}

footer {
	margin-top: 40px;
}




@media only screen and (max-width: 1000px) {
	nav ul li {
		height: 66px;
	}

	nav ul li ul {
		top: 66px;
	}
}

@media only screen and (max-width: 600px) {
	nav ul {
		position: relative;
		left: -50%;
		width: 50%;
		flex-direction: column;
	}

	li {
		padding: 25px 0 25px;
	}

	header>h1 {
		display: none;
	}

	#head2 /*header div h1 doesn't work */{
		font-size: 2em;
		padding: 10px 20px 0 0;
	}

	header {
		position: relative;
	}

	#slide-nav /*need this for the JQuery*/{
		position: absolute;
		top: 15px;
		left: 20px;
		margin: 0;
		padding: 8px 5px 5px 5px;
		height: 30px;
		width: 30px;
		background-color: rgba(176, 183, 184);
		box-sizing: border-box;
	}

	.hamb-divs /*header div div div doesn't work*/{
		margin-top: 2px;
		border-top: solid white 2px;
		width: 20px;
	}

	nav ul li ul {
		top: 0px;
		left: 100%;
		width: 100%;
	}

	nav ul li ul li {
		background-color: rgba(176, 183, 184, .85);
	}

	nav ul li ul li:hover {
		background-color: rgba(227, 197, 170, .85);
	}

	nav ul li ul li ul {
		left: -100%;
	}

	nav ul li ul li ul {
		background-color: rgba(227, 197, 170, .85);
		
	}

	nav ul li ul li ul li:hover {
		background-color: rgba(176, 156, 137);
	}

}

@media only screen and (min-width: 300px) and (max-width: 450px) {
	#head2 /*header div h1 doesn't work */{
		font-size: 1.75em;
		padding-top: 15px;
	}
}