* { box-sizing: border-box; }

body {
    font-family: sans-serif;
    font-size: 1em;
    margin: 0 auto;
	color:#000;
	background: url('https://lizziesdelights.com/lizziesdelights_header.jpg'); 
	background-position: top center;
	background-repeat: repeat-x;
    }

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

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

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

a:active {
     color:#999;
    text-decoration: none;
    }
h1, h2, h3, h4, h5, h6 { font-family: serif; }

img { max-width: 100%; height: auto; }

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

#headwrap { font-weight: bold; width: 100%; display: flex; align-items: center; height:180px; }

.header {
	flex: 1 100%;
	padding:8px;
	display: flex;
    align-items: center;
    justify-content: center;	
}

#logo {
	color: #3d183f; 
	text-shadow: 1px 1px 1px #f8ed72, 1px -1px 1px #f8ed72, -1px 1px 1px #f8ed72, -1px -1px 1px #f8ed72,
	5px 5px 5px #fff, 5px -5px 5px #fff, -5px 5px 5px #fff, -5px -5px 5px #fff;
	font-size: 2.5em; 
}

.headright a { 
	color: #3d183f; 
	text-shadow: 1px 1px 1px #f8ed72, 1px -1px 1px #f8ed72, -1px 1px 1px #f8ed72, -1px -1px 1px #f8ed72,
	5px 5px 5px #fff, 5px -5px 5px #fff, -5px 5px 5px #fff, -5px -5px 5px #fff;
	font-size: 1em;
}

#searchinput {
    width: 450px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50px;
    vertical-align: middle;
    box-shadow: 2px 2px 4px #999;
	margin: auto;
	background-color: #cccccccc;
}

#search-input {
    width: 385px;
    vertical-align: middle;
    margin-top: 8px;
    margin-left: 11px;
    font-size: 1.1em;
    border: 0;
	color: #000;
	background-color: transparent;
}

.circbutt {
	height: 28px;
    width: 28px;
    background-color: #f1c390;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    font-size: .75em;
    color: #333;
    font-family: "Segoe UI Symbol";
    vertical-align: middle;
    margin-top: 4px;
    padding-left: 8px;
    box-shadow: 2px 2px 4px #999;
}

#phlink { font-size: 1.25em; }
#tagline { font-size: .825em; }

#cartlinks { margin-top: 13px; }

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

.headsec { flex: 1 100%; border-radius: 20px; }
.footsec { flex: 1 100%; padding: 13px; }

.home_feat_title { font-weight: bold; font-size: 1.5em;  }

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

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

.headleft {
padding:8px;
}

.headright {
	background-color: #ffffff99;
	border: 1px #ccc solid;
	padding:8px;
}

#home {
	padding: 0px 13px;
}
#item, #category, #content, #user, #cart {
	padding: 12px 13px 0 13px;
}

.cat-subcats {
	display: flex;
	flex-wrap: wrap;
}
.subcat-card {
	display: flex;
	padding: 8px;
	flex: 1 33%;
	flex-direction: column;
}

.cat-products {
	display: flex;
	flex-wrap: wrap;
	background: #fffff74d;
}

.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 { max-height: 200px; }

.product-info {
	margin-top: auto;
	padding-top: 8px;
	text-align: center;
}
.product-info h1 {
    margin-bottom: 0px;
}

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: transparent;
	box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
}

	#nav > a {
		display: none;
	}

	#nav li {
		position: relative;
	}
		#nav li a {
			color: #f0c235;
			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: #045917;
		transition: all 0.3s ease;
		font-weight: bold;
		font-family: serif;
		font-size: 1.34em;
	}

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

	/* 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;
	}

	.nwide li { float: left; width:250px; }

	#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: #333;
		background-color: #f1c390;
		transition: all 0.3s ease;
	}



@media only screen and ( max-width: 1000px ) {
		#searchinput {
		    width: 250px;
		    height: 40px;
		    border: 1px solid #ccc;
		    border-radius: 50px;
		    vertical-align: middle;
		    box-shadow: 2px 2px 4px #999;
			margin: auto;
			background-color: #cccccccc;
		}

		#search-input {
		    width: 185px;
		    vertical-align: middle;
		    margin-top: 8px;
		    margin-left: 11px;
		    font-size: 1.1em;
		    border: 0;
			color: #000;
			background-color: transparent;
		}
}

#aboutimg { float: left; padding: 0 8px 8px 0; }

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

body {
	background: none; 
    }

	.headright { background-color: transparent; border: none; }

	#searchinput { width: 100%; }
	#search-input { width: calc(100% - 60px); }

	#maincontainer { display: block; }
	#about { margin: auto; }
	#headwrap { 
		background: url(https://lizziesdelights.com/lizziesdelights_header.jpg);
		display: block; 
		height: auto;
		background-position: top center;
		background-repeat: no-repeat;
		background-size: cover;
	 }

	.headleft { padding-right: 50px; }
	.headright a { font-size: .825em; }

	#aboutimg { float: none; padding: 8px; text-align: center; }

	#nav
	{
		position: absolute;
		top: 10px;
		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: #fff;
		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;
					}


}



.goog-te-menu-value {
    display: inline !important;
}

