* { box-sizing: border-box; }

body {
	background: #fff;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
    font-size: 1em;
    margin: 0 auto;
    padding: 0px;
    background: linear-gradient(180deg, #ffab23 0%, #fff 100%);
    background-attachment: fixed;    
    }

img { max-width: 100%; }

form {
    padding: 0px;
    margin: 0px;
    }

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

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

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

a:active {
    color: #FFCC33;
    text-decoration: none;
    }

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

.header {
	flex: 1 100%;
	padding:0px;
}
.headsec { flex: 1 100%; }

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

.headleft {
padding:0px;
}

.headright {
padding:0px;
}

#header { background: url(header_bg.png) repeat-x; position: relative; }
#logo { display: inline-block; vertical-align: middle; }
#headright { display: inline-block; vertical-align: middle; }
#tagline { font-size: 2em; text-shadow: 2px 2px 2px #333; padding: 8px; text-align: center; color: #fff; }
#cartlinks { display: inline-block; vertical-align: bottom; padding-bottom: 9px; }

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

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

#cartlinks a:hover {
    color: rgba(207,82,36,1);
    text-decoration: none;
    }

#cartlinks  a:active {
    color: rgba(207,82,36,1);
    text-decoration: none;
    }

#home {  }

.buybutton {
	font-size:1.5em;
	padding: 16px;
	margin: 16px;
	border: 1px solid #000;
	color: #000 !important;
	font-weight:bold;
	border-radius:24px;
	box-shadow:inset 0px 1px 0px 0px #fff6af;
	background:linear-gradient(#ffec64, #ffab23);
}

.buybutton:hover {
	background: linear-gradient(#ffab23, #ffec64);
}

.phleft { display: inline-block; text-align: center; vertical-align: middle; }
.hometoptext { display: inline-block; width: calc(100% - 152px); padding: 0 40px; vertical-align: middle; }

.phright { display: inline-block; text-align: center; vertical-align: middle; }


.siteheader {
    background-color: #FFFFFF;
    text-decoration: none;
    }
.topnavbar {line-height:42px; display:block; float:right; width:800px; background-image:url(topnavbar.gif);background-repeat:no-repeat; padding-top:3px; margin-bottom:5px;}
.tnav {margin-right:60px;}
.tnav div {display:inline;}
.headercheckout {width:180px; background-color:#FFFFFF;}
.headercheckout div{width:180px; background-color:#FFFFFF; margin-right:5px;}

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

#homecontent {
    padding: 10px;
    max-width: 1280px;
    margin: auto;
}

#aboutimg { float: right; padding-left: 10px; }

#testimonials p {
    font-family: Georgia, serif;
    font-style: italic;
    background-color: #fcf6d9;
    margin-bottom: 0;
    padding: 8px;
    border: 1px solid #bdac84;
    border-radius: 3px;
}

#testimonials span {
    font-family: Arial, sans-serif;
    display: block;
    text-align: right;
    background-color: #fcf6d9;
    font-size: .9em;
    padding-top: 4px;
}

.smlogin-form {
    padding: 0px 5px 0px 10px;
    font-size: 10pt;
    }

.clear {
    clear: both;
    color: #ffffff;
    }

.viewcart {
    margin-top: 18px;
    text-align: center;
    }
	
.cartitems{
	font-size: 9pt;
	}

.logged-in-message {
    color: red;
    font-weight: bold;
    }

.feat-table {
    margin: 0px;
    padding: 0px;
    width: 100%;
    }

.feat-head {
    color: #FFFFFF;
    vertical-align: middle;
    text-align: left;
    font-weight: bold;
    font-size: 10pt;
    background-image: url(topprodhead.gif);
    margin: 0px;
    padding: 0px 0px 0px 15px;
    background-repeat: no-repeat;
    border-bottom: 2px solid #3366CC;
    }

.feat-cell {
    text-align: center;
    vertical-align: top;
    padding: 10px;
    }

.feat-cell div {
    text-align: center;
    }
	
.tinytxt {
    font-size: 7pt;
    line-height: 10px;
    margin: 0px;
    padding: 0px;
    }

.tinytxt input {
    font-size: 7pt;
    line-height: 10px;
    margin: 0px;
    padding: 0px;
    }

.tinytxt a:link {
    margin: 0px;
    padding: 0px;
    }

.tinytxt a:visited {
    margin: 0px;
    padding: 0px;
    }

.tinytxt a:hover {
    margin: 0px;
    padding: 0px;
    }
.footer {
    font-size: 10px;
    font-weight: bold;
    margin-top: 20px;
    }

.footer a:link {}

.footer a:hover {}

.footer a:visited {}	

.input-err { background-color: #ffff00; }
.contact-form {
    border: 1px solid #CCCCCC;
    width: 400px;
    background-color:#9999CC;
    padding: 4px;
    }
.cmbutton {background-color:#660099; color:#FFFFFF; border:groove;}	


@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; }
}

#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: #705d22;
			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: #000;
		transition: all 0.3s ease;
		font-weight: bold;
		font-size: 1.25em;
	}

	#nav > ul > li:hover > a,
	#nav > ul:not( :hover ) > li.active > a {
		color: #fff;
		background-color: #df1c24;
	}

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

	#bookback { padding: 0px 16px; background-color: #fff6; border-radius: 20px; border: 1px solid #333; margin-top: 8px; }

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

	.phleft { padding-left: 12px; }

	.hometoptext { display: inline-block; width: calc(100% - 164px); padding: 0 40px; vertical-align: middle; }

	.phright { padding-right: 12px; }

	#bookback { margin: 0px 8px; }

}



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

.hometoptext h2 { font-size: 2.25em; }
.hometoptext h3 { font-size: 1.5em;  }

}

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

	.phleft { display: block; padding: 12px; }
	.hometoptext { display: block; width: 100%; padding: 10px; }
	.phright { display: block; padding: 12px; }

}


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

	#tagline { font-size: 1.75em; }
	#aboutimg { float: none; padding: 10px; text-align: center; }
	.headright { display: none; }
	#home {
		padding-top: 0;
	}
	#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;
					}

.footer { margin: auto; }

}
