/* Note selective use of fixed-height fonts for links etc due to IE rendering fonts otherwise defined significantly larger than other browsers*/

A, 			
A:link,		
A:visited	{ color: blue; text-decoration: none; font-weight: bold;  }
A:active,	
A:hover		{ color: gray; text-decoration: underline; font-weight: bold; }

a.bkmk		{ color: black; 
		display: block;		/* vertical offset for anchor link placement */
		position: relative;
		top: -30px;
		}
a.bkmk:hover	{text-decoration: none;}


a.anchor	{ color: black; 
		display: block;		/* vertical offset for glossary anchor link placement */
		position: relative;
		top: -100px;
		}
@media only screen and (max-width: 640px) {
	a.anchor {top: -150px;
	}
}


img.newpic 	{ padding: 0px;
		border: 1px solid #CCCCCC;
   		}

img.orderbutton { width: 60px;
		height: 17px;
		border-style: none;  	
		}
@media only screen and (max-width: 640px) {
	img.orderbutton {width: 90px;
		height: 25px;
		border-style: none;  	
		}
}

p.subcat	{ font-size: smaller; }	/* cat line w price, condition, nib */


	#banner {	position: relative;
		background-color: #1B1197;
		width: 100%;
		height: 61px;
		text-align: center;
		color: #FFFF80;
		font-family: Garamond, "Times New Roman", Times, serif;
		font-size: 25px;
		font-weight: bold;
		}
@media only screen and (max-width: 640px) {
	#banner {height: 80px;
		width: 850px; 		
/* width set to match cattxt HR */
		text-align: center;
		font-size: 30px;
		padding-top: 15px;
		}
}

#bannertitle { padding-top:15px;
		}

#bannerlogo {	position:absolute;
		top: 2px;
		left: 2px;
		}
@media only screen and (max-width: 640px) {
	#bannerlogo {display: none; /* hide logo on mobile */
	}
}
	#bannercartlink {  font-family: "Times New Roman", Times, serif;	
		width: 225px;
		position: absolute;
		top: 0;
		right: 0;
		font-size: 18px;
		font-weight: normal;
		line-height: 61px;
		}
	#bannercartlink a,
	#bannercartlink a:link,
	#bannercartlink a:visited {
		color: silver; 
		font-weight: normal;
		text-decoration: none;  }
	#bannercartlink a:active,
	#bannercartlink	a:hover { color: white; 
		font-weight: normal;		
		text-decoration: none; 	}

	#carticon {position: absolute;
		top: 15px;
		right: 30px;
		}
@media only screen and (max-width: 640px) {	/* adjust cart icon position on mobile */
	#carticon {position: absolute;
		top: 27px;
		right: 50px;
		}
}

	#newbanner {position: absolute;
		top: 0;
		left: 0;
		background-color: #1B1197;
		width: 100%;
		height: 61px;
		}
	#newsubbanner {position: fixed;
		top: 61;
		left: 0;
		z-index: 10;
		background-color: #333333;
		width: 100%;
		height: 25px;
		font-size: 20px;
		font-weight:bold;
		color: white;
		padding-top: 3px;
		text-align: center;
		}
	#newsubbanner a {font-size: 20px;
		font-weight:bold;
		color: white;
		padding-top: 3px;
		text-align: center;
		}
	#newsubbanner br {display: none}
@media only screen and (max-width: 640px) {
	#newsubbanner {height: 60px;
		padding-top: 5px;
		}
}
@media only screen and (max-width: 640px) {
	#newsubbanner br {display: inline;
	}
}
	#newbannertitle { padding-top: 15px;
		text-align: center;
		color: #FFFF80;
		font-family: Garamond, "Times New Roman", Times, serif;
		font-size: 25px;
		font-weight: bold;
		}
	#newbannerlogo {	position:absolute;
		top: 2px;
		left: 2px;
		}
@media only screen and (max-width: 640px) {
	#newbannerlogo {display: none;
	}
}
	#newhomeicon {position: absolute;
		top: 15px;
		right: 30px;
		}
	#glossarycontainer {position: absolute;
		top: 100px;
		left: 0px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		}
@media only screen and (max-width: 640px) {
	#glossarycontainer {top: 128px;
	}
}

	#footer td {font-size:15px;  /* copyright notice and contact info */
		font-weight: bold;
		line-height: 25px;
		} 
	#footer,
	#footer table {width: 100%;
		margin-left: auto;
		margin-right: auto;
		}
@media only screen and (max-width: 640px) {	/* adjust width of navigation links on mobile */
	#footer,
	#footer table {width: 790px;
		}
}
	#footer hr {width: 100%;
		}
@media only screen and (max-width: 640px) {	/* adjust width of dividing lines on mobile */
	#footer hr {width: 790px;
		}
}
	#catheadlinks br {display: none}  /* puts all on same line */

	#cattxt	{text-align: center;	/* main content of cat pages */
		width: 800px;
		margin-left: auto;
		margin-right: auto;
		font-weight: bold; 
		color: black;
		font-family: "Times New Roman", Times, serif; }		
	#cattxt p	{
		margin-left: auto;
		margin-right: auto;
		width: 800px;	}		
		
	#cattxt hr  { width: 850px; }
		margin-left: auto;
		margin-right: auto; }	/* wider than content for desktop, but has to be narrower for mobile */
@media only screen and (max-width: 640px) {	
	#cattxt p	{width: 750px;	}
	#cattxt hr  { width: 790px;
		}	
}

	#catimg	p {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		}

	#featured {
		margin-left: auto;
		margin-right: auto;
		border: 2px solid gray;
		width: 800px;
		padding-top: 5px;
		padding-left: 30px;
		padding-right: 30px;
		padding-bottom: 5px;
		
		}
	#featured hr {
		width: 80%;
		}	
		
#catidx		{text-align: center;	
		font-weight: bold; 
		font-family: "Times New Roman", Times, serif; }	
#catidx p	{
		margin-left: auto;
		margin-right: auto;
		width: auto;	}

table.txtcatlist 	{
		margin-left: auto;
		margin-right: auto;
		width: 850px;	}

	.txtcatlist td { font-size: 14px; padding: 1px 2px 1px 4px; }  /* text-only cat list */
	.txtcatlist th { font-size: 14px; font-weight: bold; 
		padding: 1px 2px 1px 4px;
		 } 

	.basicnavbar td { text-align: center; /* bottom links for noncat pages */
		font-size: 15px;
		font-weight: normal; 
		width: 20%; 
		}
	.catillnavbarshoppinglinks p,  /* bottom links on cat pages*/
	.catillnavbarshoppinglinks a:link,
	.catillnavbarshoppinglinks a:visited,
	.catillnavbarshoppinglinks a:active,
	.catillnavbarshoppinglinks a:hover  { text-align: center; 
		font-size: 18px; 
		font-weight: normal;  }
		
	.catillnavbarABCcatlinks p,  /* 1st line bottom links on cat pages to ill cat pages*/
	.catillnavbarABCcatlinks a:link,
	.catillnavbarABCcatlinks a:visited,
	.catillnavbarABCcatlinks a:active,
	.catillnavbarABCcatlinks a:hover  {
		font-size: 18px; 
		font-weight: normal;  }

	.catillnavbarcatlinks p,  /* rest of bottom links on cat pages to ill cat pages*/
	.catillnavbarcatlinks a:link,
	.catillnavbarcatlinks a:visited,
	.catillnavbarcatlinks a:active,
	.catillnavbarcatlinks a:hover  {
		font-size: 15px; 
		font-weight: bold;  }

		
/* formatting for order forms */

input[type=submit] {		
  width: 40%;
  padding: 12px 50px;
  margin: 8px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background-color: #1B1197;
  text-align: center;
  font-family: Garamond, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: bold; 
  color: yellow;
}
select {
  width: 40%;
  padding: 12px 50px;
  margin: 8px 0;
  border: none;
  border-radius: 10px;
  background-color: #1B1197;
  text-align: center;
  font-family: Garamond, "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: bold; 
  color: yellow;
}

		
/* GLOSSARY SETUP */

        .glossary tr:nth-child(odd) { background-color: #C0C0C0 }
	.glossary  a.bkmk	{ color: #000080;}  /* keeps anchor text dark blue */
	.glossary  td	{vertical-align: top; 
		text-align: left;
		padding-left: 15px;
		padding-right: 15px;
		}

@media only screen and (max-width: 640px) {
	.glossary  td {font-size: medium;
	}
}

	#glossarytitle,
	#glossarytitle td { color: #000080;
		font-weight: bold;
		white-space: nowrap;
		width: 200px;
		padding-left: 50px;
		}

@media (max-width: 640px) {
	#glossarytitle,
	#glossarytitle td {font-size: medium;
		white-space: normal;
		width: auto;
		padding-left: 10px;
		}
}

	#navicons img {height: 35px; /* no media query until viewport is reset */
		width: 35px;
		padding: 15px;
		}


	#rssicon {vertical-align: -8%;}



	#title 	{text-align: left;  /* catalogue table of contents list headings */
		width: 180px;
		margin-left: 15px;
		font-family: "Times New Roman", Times, serif;
		font-weight: normal;
		font-size: 18px;
		line-height: 20px;
		}

	#title A, 			
	#title A:link,		
	#title A:visited	{ color: blue; font-weight: normal; text-decoration: none; }

	#title A:active,	
	#title A:hover	{ color: gray; font-weight: normal; text-decoration: underline;  }

	#submenu  {text-align: left; /* cat table of contents list entries */
		margin-left: 35px;
		width: 180px;
		font-family: "Times New Roman", Times, serif;
		font-size: 15px;
		line-height: 18px;
		}

	.close_window {
		background: none;
		margin-left: auto;	
		margin-right: auto;
		width: 30%;	
		position: relative;
		display: block;
		background-color: #1B1197;
		font-size: 20px;
		padding: 5px;
		}

	a.close_window {
		color: #FFFF80;
		text-align: center;
		text-decoration: none;
		}


/* below may be unused, originally for old table-based cat contents */

	#catlinks a,  
	#catlinks a:link,
	#catlinks a:visited { color: silver; 
		text-decoration: none; font-weight: bold; }
	#catlinks a:active,
	#catlinks a:hover { color: white; text-decoration: none; 
		font-weight: bold; }

	#catlinks td { text-align: center; 
		width: 25%; height: 32; 
		background-color: #1B1197}  
	#catlinks hr { width: 750;	} 

