
body {
	margin: 0;
}

h2 {
	text-align: center;
}

hr#headstripe {
	height: 30px;
	margin: 0;
	margin-bottom: 20px;
	padding: 0;
}

div#headstripe {
	height: 30px;
	margin: 0px;
	padding: 0;
	background-color: rgb(22, 160, 73);
	padding-top: 6px;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: white;
}

#pagebottom-container {
	clear: both;
}

#pagebottom-container p {
	text-align: center;
}

/* navigation(s) */

#topnav,
#browselist,
.acnav {
	padding: 0;
}

.acnav {
	margin: 0;
}

#topnav li {
	display: inline-block;
}

#topnav li,
#browselist li,
.acnav li {
	text-align: center;
}

#topnav li {
	width: 20%;
	margin-right: 5%;
}

#topnav li:last-child {
	margin-right: 0;
}

#browselist li {
	width: 100%;
	margin: 0.5em 0;
}

.acnav li {
	margin: 1em 0;
}

.acnav>li:first-child {
	margin-top: 0;
	/*margin-bottom: 80px;*/
}

.acsubnav {
	padding: 0.2em;
	padding-top: 0.5em;
}

.acnav>li>div>.acsubnav,
.acnav>li>div>div {
	display: none;
	position: absolute;
	background-color: #fff;
	right: 0;
}

.acnav>li>div>div {
	border: 1px solid #603;
	width: 400px;
	padding: 0.5em;
}

.no-touch .acnav>li:hover>div>div,
.no-touch .acnav>li:hover>div>.acsubnav.if-no-touch,
#acnavaccounttoggle:checked+div>.acsubnav,
#acnavcarttoggle:checked+div>div {
	display: block;
}

#acnavaccounttoggle,
#acnavcarttoggle {
	display: none;
}

.touch .if-no-touch {
	display: none;
}

.no-touch .if-touch {
	display: none;
}

#accountcontext-container {
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: center;
}

h2.leftnav {
	text-align: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

h2.leftnav span {
	display: block;
	float: left;
}

#browsesearch>.hideme {
	height: 0;
	visibility: hidden;
}

/* stuff */

h1 {
	text-align: center;
	width: 100%;
	margin: 0px;
	margin-bottom: 0.5em;
	padding: 0px;
	clear: both;
}

.imgleft {
	float: left;
	margin-right: 0.5em;
}

.imgright {
	float: right;
	margin-left: 0.5em;
}

.homenews .bottle {
	margin-bottom: 0.5em;
}

.homenews div.publishdate {
	font-size: 0.9em;
	color: #8c8c8c;
	text-align: right;
	margin-bottom: 0.5em;
}

.homenews h1 {
	margin-bottom: 0;
}

.homenews p {
	margin-top: 0;
}

/* if you use the nobr tag, then fuck you! */
nobr {
	white-space: normal;
}

/* columns for home, and possibly other pages */

.shadedbg {
	text-align: center;
}

.shadedbg p {
	text-align: left;
	margin: 0.5em;
}

.homeabout.shadedbg {
	padding-bottom: 0.5em;
}

.homeabout img {
	width: 100%;
}

.homeabout {
	margin-bottom: 1em;
}

.homesocial {
	text-align: center;
}

.homesocial>a>img {
	margin: 0 20px;
}

.homesocial hr {
	width: 50%;
	border: none;
	border-top: 1px solid #603;
}

td.dibold,
td.didata,
td.label {
	vertical-align: top;
}

.giftsegment {
	display: inline-block;
	position: relative;
}

.giftsegment .segmentremove {
	position: absolute;
	top: 0;
	right: 0;
}

/* result sets */

ul.results {
	padding: 0;
}

ul.results.oneperline>li {
	width: 100%;
}

ul.results.oneperline>li input[type="checkbox"] {
	float: left;
}

ul.results.oneperline>li img {
	height: 200px;
	float: left;
	margin-right: 1em;
}

ul.results.oneperline>li h2 {
	text-align: left;
	margin-top: 0;
}

ul.results.oneperline>li p.resstat {
	text-align: left;
}

ul.results.oneperline>li .resprice {
	display: none;
}

ul.results.columnar>li div.buyamt {
	display: none;
}

ul.results.oneperline>li div.buyamt {
	float: right;
	margin-left: 1em;
}

ul.results.oneperline div.resdetails p.resbuywish {
	display: none;
}

ul.results.oneperline>li {
	margin-bottom: 1em;
}

.wd1 img {
	float: left;
}

.wd1 h2,
.res .resname {
	margin-top: 0;
}

.res img {
	float: left;
	margin-right: 0.5em;
}

.buyamt {
	text-align: right;
}

.buyamt p {
	margin: 0;
}

.wd1 .buyamt {
	float: right;
	padding-left: 1em;
	margin-left: 1em;
}

.wd1 .restable {
	float: left;
	padding: 0 1em;
	margin: 0 1em;
}

.wd1 .resdesc {
	margin-top: 0;
}

.didata {
	text-align: left;
}

.cartdetail {
	float: left;
	text-align: left;
}

.buytab {
	float: right;
}

/*
ul.results.oneperline > li img {
	float: left;
	max-width: 10%;
	height: auto;
}

ul.results.oneperline > li p.resdesc, ul.results.oneperline > li h2{
	float: left;
	text-align: left;
	margin-left: 1em;
	margin-right: 1em;
}

ul.results.oneperline > li p.resprice {
	display: none;
}

ul.results.oneperline > li table.restable {
	float: right;
	width: 20%;
}

ul.results.oneperline > li .resbuywish {
	float: right;
	width: 20%;
	text-align: right;
	display: block;
}
*/

ul.results>li {
	vertical-align: top;
	display: inline-block;
	text-align: center;
}

ul.results p.resdesc {
	text-align: left;
}

ul.results li div.resdetails {
	padding: 0 0.5em;
}

p.resprice {
	margin: 0;
}

.resbuywish {
	margin: 0;
}

.resbuywish a {
	padding: 0 0.5em;
	margin: 0.5em 0.2em;
	display: inline-block;
}

/*
.resbuywish {
	position: relative;
	height: 0.5em;
}

.resbuy, .reswish {
	position: absolute;
}

.reswish {
	right: 0;
}

.resbuy {
	left: 0;
}
*/

.pagecontrols .rescount {
	float: left;
}

.pagecontrols .searchnav {
	text-align: center;
}

.pagecontrols .searchsort {
	float: right;
}

hr.lopro,
div.res {
	clear: both;
}

.cartdetail .resname {
	margin: 0;
}

.insetbottle img {
	height: 200px;
}

.insetbottle.imgleft {
	clear: left;
}

.insetbottle.imgright {
	clear: right;
}

.insetbottle.imgleft img {
	margin-right: 0.5em;
}

.insetbottle.imgright img {
	margin-left: 0.5em;
}

.nlimage {
	text-align: center;
	clear: both;
}

.label {
	text-align: right;
	font-weight: bold;
}

#searchnav select {
	width: 100%;
}

#searchnav input[type="text"] {
	width: 95%
}

.sidesearchlabel {
	margin-bottom: 0.2em;
}

.pagebreak {
	page-break-after: always;
}

@media only screen and (min-width: 1043px) {
	#pagehead-container {
		position: relative;
	/*	margin-left: 0;*/
		height: 125px;
	}
	#storehours-container {
		position: absolute;
		top: 0px;
		left: 400px;
		right: 126px;
		text-align: center;
		font-family: "Noto Sans", sans-serif;
		color: #603;
	}
	}

@media only screen and (min-width: 768px) {
	#storehours-container {
		position: absolute;
		top: 0px;
		left: 358px;
		right: 126px;
		text-align: center;
		font-family: "Noto Sans", sans-serif;
		color: #603;
	}
}
@media only screen and (min-width: 641px) {
	#storehours-container {
		position: absolute;
		top: 0px;
		left: 302px;
		right: 126px;
		text-align: center;
		font-family: "Noto Sans", sans-serif;
		color: #603;
	}
}
/*
@media only screen and (max-width: 640px) {
	#storehours-container {
		display: none;
	}
}
*/
@media screen and (min-width: 868px) and (max-width: 959px) {
	#pagehead-container {
		height: 135px;
	}

	#pagehead-container img {
		left: 0px;
		width: 360px;
		height: 87px;
	}

	#quicksearch-container {
		top: 108px;
	}

	#quicksearch-container input[type="text"] {
		width: 50%;
	}

}

@media screen and (min-width: 641px) and (max-width: 867px) {
	#pagehead-container {
		height: 105px;
	/*	margin-left: 25%; */
	}

	#pagehead-container img {
		left: 0px;
		width: 240px;
		height: 58px;
	}

	#quicksearch-container {
		top: 78px;
	}

	#quicksearch-container input[type="text"] {
		width: 50%;
	}

	#nav-container {
		margin-left: 25%;
	}

	#pageleft-container {
		width: 24%;
		margin-right: 1%;
	}

	#pagemain-container {
		width: 75%;
	}

	.acnav li {
		width: 100px;
	}

	ul.results.columnar>li,
	ul.results.columnar>li:first-child:nth-last-child(3),
	ul.results.columnar>li:first-child:nth-last-child(3)~li {
		width: 50%;
	}

	.halfcol {
		float: none;
		width: 100%;
	}

	.colleft,
	.colright {
		margin: 0;
	}

	.halfcol.colright {
		float: initial;
	}
}

@media screen and (max-width: 640px) {
	#storehours-container {
		position: absolute;
		top: 0px;
		left: 280px;
		right: 126px;
		text-align: center;
		font-family: "Noto Sans", sans-serif;
		color: #603;
	}
	#pagecontent-container {
		display: table;
		width: 100%;
	}

	#pageleft-container {
		display: table-footer-group;
	}

	#pagemain-container {
		display: table-row-group;
		width: 100%;
	}

	#pagehead-container {
		position: relative;
		margin-bottom: 40px;
	}

	#quicksearch-container {
		position: absolute;
		left: 0px;
		top: 58px;
	}

	#quicksearch-container input[type="text"] {
		width: 80%;
	}

	ul.results.columnar>li img {
		height: 100px;
	}

	.acsubnav>li {
		width: 120px;
	}

	#accountcontext-container {
		/*width: 100%;*/
		text-align: center;
		/*top: 20px;*/
	}

	/*
	.acnavtoggle {
		font-size: 20px;
		padding: 0.2em;
	}
	
	.touch #acnavtoggle:checked ~ .acnav, .no-touch .acnavtoggle:hover ~ .acnav {
		display: block;
		background: #fff;
		margin: 0 auto;
		position: absolute;
		right: 0px;
		width: 220px;
		padding: 20px;
	}
	
	*/
}

@media only screen and (min-width: 481px) and (max-width: 640px) {
	/* top-level layout */

	#pagehead-container img {
		width: 240px;
		height: 58px;
	}

	#toplevel-container {
		margin: 0 0.2em;
	}

	#browsesearch {
		width: 60%;
		margin: 0 auto;
	}

	/* result sets */
	ul.results.columnar>li {
		width: 25%;
	}

	ul.results.columnar>li:first-child:nth-last-child(3),
	ul.results.columnar>li:first-child:nth-last-child(3)~li {
		width: 33.3333%;
	}

	.halfcol {
		float: left;
		width: 48%;
	}

	.colleft {
		margin-right: 2%;
	}

	.colright {
		margin-left: 2%;
	}

	.halfcol.colright {
		float: right;
	}


	.halfcol.colleft {
		clear: left;
	}

	.if-narrowformat {
		display: none;
	}

	.acnav li {
		width: 100px;
	}
}

@media only screen and (max-width: 480px) {
	/* top-level layout */
	/*
	.acnav {margin-bottom: 4px;}
*/
	#pagehead-container img {
		width: 160px;
		height: 39px;
	}

	#quicksearch-container {
		position: absolute;
		left: 0px;
		top: 40px;
	}

	#toplevel-container {
		margin: 0 0.2em;
	}

	/* result sets */

	/* even with only three, make sure we go to 50% */
	ul.results.columnar>li,
	ul.results.columnar>li:first-child:nth-last-child(3),
	ul.results.columnar>li:first-child:nth-last-child(3)~li {
		width: 50%;
	}

	.if-wideformat {
		display: none;
	}

	.acnav>li>div>div {
		width: 240px;
	}

	.halfcol {
		float: none;
		width: 100%;
	}

	.colleft,
	.colright {
		margin: 0;
	}

	.halfcol.colright {
		float: initial;
	}

	.acnav>li .icofont {
		font-size: 20px;
		padding: 0.2px;
	}

	.acnav>li {
		padding: 0.3em;
	}
}

@media screen and (max-width: 359px) {
	#pagehead-container img {
		width: 160px;
	}

	#quicksearch-container {
		position: absolute;
		left: 0px;
		top: 40px;
	}

	#quicksearch-container input[type="text"] {
		width: 175px;
	}
}

/* new topnav */
/* Inserting this collapsed row between two flex items will make 
 * the flex item that comes after it break to a new row */
 .break {
	flex-basis: 100%;
	height: 0;
  }

.newhead-container {
	display: flex;
	flex-flow: row nowrap;
	width: auto;
	justify-content: space-around;
}
.newhead-item {
	order: 1;
}
.newhead-item img{
	height: 66%;
	width: auto;
}
#newhead-item2 {
	order: 1;
}
#newhead-item3 {
	order: 1;
}
#storehoursnew-container {
	text-align: center;
	font-family: "Noto Sans", sans-serif;
	color: #603;
}
