@media all and (min-width: 1500px) {
.logoname h2 {
	font-size: 3.5rem;
	}
}


@media all and (max-width: 950px) {
#popupcontainer {
width:90%;
	height:90%;
	max-height:700px;
    position:fixed;
    top:5%;
    left:5%;
	margin:0;
}

/* On phones/tablets a percentage height resolves against the *large* viewport,
   so the bottom of the popup -- where the Checkout button lives -- ends up
   hidden underneath the browser toolbar. dvh tracks the visible viewport. */
@supports (height: 100dvh) {
	#popupcontainer {
		top: 5dvh;
		height: 90dvh;
	}
}
}

/* Phone-sized screens: don't cap the popup at the tablet 700px. Capping it on a
   tall phone wastes ~100px of screen while the cart contents are still clipped. */
@media all and (max-width: 700px) {
#popupcontainer {
	max-height:none;
}
}


@media all and (max-width: 700px) {

/***********************************/
/*             Columns             */
/***********************************/

.leftCol {
	float: none;
	width:100%;
	
}

.rightCol {
	float: none;
	width:100%;
}

.centerCol {
	margin: inherit;
	width: 100%;
}
#footer {
	padding-left:15px;
	box-sizing: border-box;
}
	
	
	#checkoutall {order:3; margin-right: 0px;}
	
	#shoppingcart {width: 100%; margin: 0px;}
		
}


@media all and (max-width: 500px) {
	

/***********************************/
/*          popup windows          */
/***********************************/
	
#searchBox {text-align: center;}

#quickviewiframe
 {
width:90%;
	height:90%;
	max-height:500px;
    position:fixed;
    top:5%;
    left:5%;
	margin:0;
}

		#FRAME_SEARCH { width: 100%;
		text-align: center; 
		padding: 0 10px 10px 10px;
	box-sizing: border-box;}
	
	#companynamemainmenu {border-bottom:  none;}


/***********************************/
/*    Quick View On Phone        */
/***********************************/




/***********************************/
/*    MOBILE STUFF         */
/***********************************/
header {
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
}

#mainContent {
	min-height:300px;
}

.container {
	padding:10px;
	margin-bottom:10px;
	
}

#headerimage {
	-webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
padding:0;
}

#mobilename {display: inline-block;}
#desktopname {display: none;}
	

 
.txtBoxStyle {
	font-size:1.1em;
}





/***********************************/
/*       Item listings on pages    */
/***********************************/

input[type="radio"]:checked:after {
    background-color: #609A59;
}

input:focus {
    outline:none;
}



#tealisting .p {
	font-size:1.3em;
}

#tealisting .n {
	font-size:1.3em;
}

#tealisting .d {
	color:grey;
	margin-left: 5px;
	font-size:1em;
	
}

#tealisting .x {
	font-size:1em;
	text-align:center;
	display:block;
}
	

.opt-field {
	margin-bottom:10px; 
}



.teaprice {
	font-size:1em;

}

.teaname a {
	font-size:1.2em;

}



.product-item {
	cursor:pointer;
	margin-bottom:20px;
}




.info-wrapper {  
	margin-top:0px;
	margin: auto;
	text-align:center;
	vertical-align:top;
	width:80%;
	padding-top: 5px;
}

.image-wrapper {
	display:inline-block;
	margin-top:0px;
	text-align:center;
	vertical-align:top;
}

.on-sale {
	font-size:.6em;
}

#userreviews .columns2 {
	width:100%;
	padding: 0px;
	
}



/***********************************/
/*        Category Settings        */
/***********************************/

#categorydescription {
	display:none;

}

.paging, .sort-by {
	text-align: center;

}

.sort-by {
	margin-bottom:1em;

}




/***********************************/
/*      Quick Search Box           */
/***********************************/

.searchlight-balloon {
}

.searchlight-results-wrapper {
	padding-top:10px;
	
}

#searchtable {
	position:inherit;
	
}

#searchparent {
}





/***********************************/
/*         Text Settings           */
/***********************************/

#tealisting h1 {
	font-size: 1.3em;
}

.menu {
	text-align:center;
	}
	
.menu li, .menu.rightCol li {
	display:inline;
	float:none;
	}
	
.menu.rightCol li:last-child {
	margin-left:0px;
	}
  
  
.menu li:last-child {
	margin-right:0px;
	}

.logoname {
	float:none;
}

.logoname h2 {
	line-height:1.8em;
	text-align:center;
	border-bottom:none;
	font-size:1.8em;
	margin:0;
	width: 100%;
	margin-bottom: .4em;
}
	



/***********************************/
/*           SHOW THINGS           */
/***********************************/


	
.hide-desktop {
	display: block;
	
}
	
/***********************************/
/*            BUTTONS              */
/***********************************/

.button {
	height:2em;
	line-height:2em;
	font-size:1.1em;
	width:100%;
	padding-left:0px;
	padding-right:0px;
	margin-bottom:10px;
}

.button.fullwidth, .button.right {
	height:2em;
	line-height:2em;
	width:100%;
	font-size:1.1em;
	padding-left:0px;
	padding-right:0px;
}

.button.marginbottom {
	margin-bottom:1em;
}

.button.narrow {
	height: 1.1em;
      line-height: 1.1em;
	  font-size:.9em;
	  	padding-left:5px;
	padding-right:5px;
	  
    }
	

.button.inline {
	width: initial;
	padding-left:10px;
	padding-right:10px;
    }	
	
	
	
/***********************************/
/*           hide things           */
/***********************************/
	
.hide-mobile {
	display: none !important;
}

.show-mobile {
	display: inline-block !important;
}
	
	
}


@media all and (max-height: 550px) {
#popupcontainer {
	height:90%;
	max-height:500px;
	min-height:200px;
    position:fixed;
    top:5%;
	margin-top:0px;
	margin-bottom:0px;
}

#quickviewiframe
 {
	height:90%;
	max-height:500px;
	min-height:200px;
    position:fixed;
    top:5%;
	margin-top:0px;
	margin-bottom:0px;
}

}
