* { box-sizing: border-box; }

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    margin: 0 auto;
	color:#fff;
	background: #000 url("homebg.jpg") top center no-repeat fixed;
	background-size: cover;
	padding-top: 12px;
    }

a:link {
    color: #ffc728;
    text-decoration: none;
    }

a:visited {
    color: #ffc728;
    text-decoration: none;
    }

a:hover {
    color: #fff;
    text-decoration: none;
    }

a:active {
     color:#999;
    text-decoration: none;
    }
h1, h2, h3, h4, h5, h6 { color: #ffc728; text-shadow: #00000066 2px 3px 0px; font-weight: bold; }

img { max-width: 100%; }

.wrapper {
	display: flex;  
	flex-flow: row wrap;
	font-weight: bold;
	text-align: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0;
	flex: 1 100%;
	background: transparent;
	align-items: center;
}

.header {
	flex: 1 100%;
	padding:8px;
	text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

#logo { max-width: 375px; }
#phlink { font-size: 1.25em; }

.footer {
	flex: 1 100%;
	padding: 13px;
}

.headsec { flex: 1 100%; text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000; }
.footsec { flex: 1 100%; padding: 13px; }

#cta { font-size: 2.5em; padding: 80px; margin: auto; text-align: center; text-shadow: rgba(0,0,0,.9) 5px 7px 5px; }

#cta-button { 
   border-top: 1px solid #f0c235;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f0c235));
   background: -webkit-linear-gradient(top, #fff, #f0c235);
   background: -moz-linear-gradient(top, #fff, #f0c235);
   background: -ms-linear-gradient(top, #fff, #f0c235);
   background: -o-linear-gradient(top, #fff, #f0c235);
   padding: 7.5px 15px;
   -webkit-border-radius: 16px;
   -moz-border-radius: 16px;
   border-radius: 16px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: #333;
   font-size: 1em;
   font-weight: bold;
   display: inline-block;
}

#septic-truck {
	text-align: center;
	margin-left: 13px;
	margin-bottom: 13px;
}

#septic-truck img {
    border-radius: 18px;
	max-width: 375px;
}

#about-box { background: #fffff7cc; padding: 20px 20px 40px 20px; color: #000; margin-bottom: 20px; border-radius: 14px; font-size: 1.33em; }

#maincontainer { display: flex; margin-top: 13px; }

.main {
	text-align: left;
	flex: 1 100%;
	padding-bottom: 13px;
	border-bottom: 1px solid #333;
}

.headleft {
padding:8px;
}

.headright {
padding:8px;
}

#home {
	padding: 0px 13px;
}

.top-products {
	display: flex;
	flex-wrap: wrap;
	background: #fffff74d;
	border-radius: 9px;
}

.product-card {
	display: flex;
	padding: 8px;
	flex: 1 20%;
	flex-direction: column;
}

.product-image { 
	text-align: center; 
}
.product-image img { border: 1px solid #333; border-radius: 14px; }

.product-info {
	margin-top: auto;
	padding-top: 8px;
	text-align: center;
	color: #000;
	text-shadow: #ffc72866 0 1px 0;
    background: radial-gradient(#ffffff 0, #fffff733 80%, transparent 100%);
	font-size: 1.25em;
}

div.product-info > div > a { display: block; text-shadow: rgba(0,0,0,.9) 2px 3px 2px; font-size: 1.5em; padding-bottom: 4px; }

.product-info h1 {
    margin-bottom: 0px;
}

.testimonial { background: #fffff7cc; padding: 2px 12px; margin: 8px; color: #333; border-radius: 9px; font-style: italic; font-weight: normal; }
.testimonial span { font-weight: bold; font-style: normal; }

@media all and (min-width: 600px) {
	.headsec { flex: 1 0 0; }
	.footsec { flex: 1 0 0; }
}

@media all and (min-width: 800px) {
	.header    { flex: 3 0px; }
	.footer    { flex: 3 0px; }
	.headleft { order: 1; } 
	.header    { order: 2; }
	.headright { order: 3; }
	.nav { order: 4; }
	.main { order: 5; }
	.foot-left { order: 6; }
	.footer { order: 7; }
	.foot-right { order: 8; }
}


a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 15px;
    border:4px solid yellow;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}

#nav {
	flex: 1 100%;
	position: relative;
	z-index: 101;
	text-align: left;
	background: #000;
	box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
}

	#nav > a {
		display: none;
	}

	#nav li {
		position: relative;
	}
		#nav li a {
			color: #fff;
			display: block;
			text-decoration: none;
		}
		#nav li a:active {
			background-color: rgba(192,192,192,0.8) !important;
		}

	/* first level */

	#nav > ul {
		list-style:none;
		margin: 0;
		padding: 0;
	}
	#nav > ul > li {
		float: left;
	}
	#nav > ul > li > a {
		text-align: center;
		padding: 8px 13px;
		color: #fff;
		transition: all 0.3s ease;
		font-weight: bold;
		font-size: 1.34em;
	}

	#nav > ul > li:hover > a,
	#nav > ul:not( :hover ) > li.active > a {
		color: #f0c235;
	}

	/* second level */

	#nav li > ul {
		z-index: 1001;
		background-color: #fff;
		position: absolute;
		list-style:none;
		margin: 0; 
		padding: 0;
		max-height:0px;
		opacity: 0;
		overflow: hidden;
	}

	#nav li ul li {
		padding: 2px;
		white-space: nowrap;
	}

	#nav li:hover > ul {
		max-height: 100vh;
		left: 0;
		right: 0;
		transition: max-height .3s ease-in, opacity .3s ease-in .1s;
		border: 1px #ccc solid;
		opacity: 1;
		overflow: visible;
	}

	#nav li > ul a {
		font-weight: 300;
		font-size: .825em;
		padding: 2px 4px;
		color: #101a4f;
	}
	#nav li ul > li a:hover,
	#nav li ul:not( :hover ) li.active a {
		color: #f1c390;
		background-color: #336699;
		transition: all 0.3s ease;
	}


#navsel a { color: #ffc728 !important; }

@media only screen and ( max-width: 800px ) {

}

@media only screen and ( max-width: 1240px ) {


}

@media only screen and ( max-width: 800px ) {


	.headleft { text-align: left; }
	#logo { max-width: 300px; }
	#maincontainer { display: block; margin-top: 13px; }

	#cta { font-size: 2.5em; padding: 14px; }


	#septic-truck {
		margin-left: 0;
	}

	#septic-truck img {
		max-width: 100% !important;
	}


	#nav
	{
		position: absolute;
		top: 0;
		left: 0;
		width:100%;
		z-index: 9999;
	}
		#nav > a
		{
			width: 50px;
			height: 50px;

			position: absolute;
			top: 10px;
			right: 0;
			z-index: 2;

		}

		#nav:not( :target ) > a:first-of-type,
		#nav:target > a:last-of-type
		{
			display: block;
		}


	/* first level */

	#nav > ul
	{
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 65px;
		background-color: #000;
		width: 100%;
		margin: 0; padding: 0;


	}
		#nav:target > ul
		{
			display: block;
		}
		#nav > ul > li
		{
			float: none;

		}
			#nav > ul > li > a
			{
				height: auto;
				text-align: left;
				font-size: 1.25em;
				padding: 8px;
				margin-left: 8px;


			}
				#nav > ul > li:not( :last-child ) > a
				{
					border-right: none;
				}

				/* second level */

				#nav li ul
				{
					position: static;
					padding: .5em; /* 20 */
					padding-top: 0;
					
				}

					#nav li ul a
					{
						font-size: 1em;
					}


}
