
/* ECC Bookstore stylesheet */

@import url("bookstore-print.css");

@media screen {  /* THIS CODE CREATES SEPARATE SCROLL BOXES FOR EACH SECTION OF THE BOOKSTORE PAGE  */
	#mainpg div#books, #mainpg div#products, #mainpg div#cds, #mainpg div#reports { 
		height: 25em;
		overflow: auto;
		border: 1px solid #BBBBBB;
	}
  
	#mainpg div#products {
		height: 34.7em;
	}

}

#mainpg .top { 
	display: none;
}

#mainpg div#books, #mainpg div#products, #mainpg div#cds, #mainpg div#reports { 
	position: relative; 
	padding-left: 1em; 
	background-color: #FFFFFF;
	color: #000000;
}

#mainpg div#books {
	padding-top: 0.9em;
}

#mainpg div#books p {
	margin-top: .1em;
	width: 96%;
}

#mainpg div#cds  p, #mainpg div#reports p { 
	margin-top: .5em;
	margin-bottom: .5em; 
}

#mainpg div#products p {
	position: relative;
	line-height: 1.2em;
	margin: 0.7em auto 0.7em 5%;
	width: 90%;
	text-align: left;
}

#mainpg div.centre ul, #mainpg div.centre blockquote {
	text-align: left !important;
	width: 15em;
}

#mainpg h2 {
	margin: .9em auto !important;
}

#mainpg h2 {
	margin: .8em 0 1em;
	font-size: 1.5em;	
	color:#006699; background-color: transparent;
}

#mainpg h3.pgtop {
	margin-top: -0.7em; 
	margin-bottom: 1em;
}

#mainpg h3.bookstore {
	background-color: #2D73B9; color: #FFFFFF;
	border: 1px solid #003366;
	font: bold 1.7em Verdana, Helvetica, sans-serif;
	margin: .8em auto 0;
	padding: .3em;
	text-align: center;
	z-index: 1;
}

* html #mainpg h3.bookstore {  /* code necessary for IE */
	position: relative;
	width: 97%;
}

#mainpg h3.bookstore span {
	display: block;
	font-style: italic;
	font-size: .6em;
	position: relative;
	
}

#mainpg h3.bookstore span a {
	display: block;
}

#mainpg h4 {
	background-color: #DDEEFF;
	color: #336699; 
	margin: 1.3em 0.5em 1em 0;
	padding: .2em; 
	border: solid 1px #BBCCDD; 
	text-align: center; 
}

#mainpg h5 {
	background-color: transparent; color: #336699; 
	font-style: italic; 
	font-size:1.1em; 
	margin-bottom: .6em; 
	margin-top: .9em; 
}

#mainpg h5.order a {
	display: block;
	position: relative;
	font-size: .7em;
	width: 20em;
	text-align: center;
	margin: 1em 0 1em auto;
	padding: .1em;
	border: 3px solid;
	text-decoration: none !important;	
}

#mainpg h5.order a:link, #mainpg h5.order a:visited {
	background-color: #2D73B9;	
	color: #FFFFFF;
	border-top-color: #8DB3E9;
	border-left-color: #8DB3E9;
	border-right-color: #004389;
	border-bottom-color: #004389;
}

#mainpg h5.order a:hover, h5.order a:active {
	background-color: #2D73B9;
	color: #CCCCFF;
	border-top-color: #004389; 
	border-left-color: #004389;
	border-right-color: #8DB3E9;
	border-bottom-color: #8DB3E9;
}

* html #mainpg div.whitepanel {
	text-align: center !important;
}

#mainpg h6 {
	background-color: transparent; color: #FF0000; 
	font-style: italic; 
	font-size:0.9em; 
	margin-bottom: 1em; 
	margin-top: 0; 
}

#mainpg hr {
	margin: 0 1em .4em auto !important;
}

#mainpg p {
	background-color: transparent;
	color: #000000;
	font: 13px/1.2em Verdana, Arial, Helvetica, sans-serif;
	margin: 1em;
}

#mainpg p.book {
	margin: 1em auto -.1em !important;
	text-align:left;
}

span#bookstore a:link, span#bookstore a:visited, span#bookstore a:hover, span#bookstore a:active {
	background-image:url(../images/highershelf-hover.jpg); color: #000066;
	cursor: default;
}

#mainpg span.author {
	background-color: transparent;
	color: #000000;
}

#mainpg span.info {
	font-size: 0.9em;
	margin-left: 2em;
	display: block;
	line-height: 1.4em;
	margin-bottom: 1em;
}

#mainpg span.pages, #mainpg span.time {
	background-color: transparent;
	color: #2D73B9;
}

#mainpg span.price {
	background-color: transparent;
	color: #2D73B9;
	font-style: italic;
}

#mainpg span.price2 {
	font-style: italic;
	color: #2D73B9;
	background-color: transparent;
}

#mainpg span.product {
	background-color: transparent;
	color: #333366;
	font-weight: bold;
}

#mainpg span.description {
	display: block;
}

#mainpg span.title {
	background-color: transparent;
	color: #000000;
	font-style: italic;
	font-weight: bold;
	margin-top: 1em;
}

#mainpg h5.classorder {
	font-size: 1.2em !important;
}

div#mainpg #formheading p, div#mainpg #astroinfo p {
	text-align: justify;
	text-indent: 0;
	margin-left: 0;
	width: 100%;
}

.indent {
	margin-left: 2em;
}

.margin2em {
	position: relative;
	left: 2em;
}

#mainpg ul.nobullets li {
	list-style-type: none;
}

#mainpg a.productindex {
	display: block;
	margin: -1em auto 0.5em;
	width: 20em;
	text-align: left;
	font-size: 0.9em;	
}

#mainpg a.productindex:hover {
	text-decoration: underline;
}

#mainpg h4.top1em {	
	margin-top: -0.4em;
}
/*  ADDED 060720  */
h5.discount {
	color: #000033 !important; background-color: transparent;
	font-size: 0.9em !important;
}

h5.order {
	margin-right: 1em;
}

#cataloglinks a {
	font-weight: bold;
	font-size: 1.1em;
	color: #3366FF !important;
}

p {
	font-size: 1em !important;
}

#mainpg #productitems {
	margin-top: 0;
	padding-top: 8px;
}

#mainpg #items div {  /* NEW */
	margin-top: 0;
	padding-top: 8px;
}

#mainpg #products {
	margin-top: 1.5em;
}

/* BELOW ARE THE PRODUCT CSS POPUP BOX RULES */

p.index span.product a:hover span {
	display: block;
}

* html div#productitems p.index span.product a {
	color: #000 !important; background-color: transparent;
}

/* END OF PRODUCT POPUP BOX RULES */

#mainpg .whitepanel {
	color: #000000; background-color: #EEE;
	border: 1px solid #CCC;
	margin-top: -1em;
	margin-bottom: -21px;
}

#mainpg #cds {
	position: absolute; 
}

#mainpg #reports {
	position: absolute;
}

#mainpg .membership {
	color: #F00; background-color: #FFF;
	float: right;
	text-align: center;
	border: 1px solid #999;
	font: italic bold 1em Georgia, serif;
	width: 12em;
	padding: 0.5em;
	margin-left: 1em;
}

#mainpg .membership a {
	font-family: Georgia, serif;
}

@media screen {
/* DOM JavaScript popups below */

#mainpg #js-popups div {
	position: fixed;
	top: 15px;
	left: 48%;
	width: 46%;
	border-color: #DC9000;
	border: 4px solid #DC9000;
	background-color: #FFD; color: #003;
	padding: 10px;
	z-index: 15;
}

* html #mainpg #js-popups div {
	position: absolute;
	top: 80%;
	left: 25%;
	width: 75%;
}

#mainpg #js-popups div img {
	float: right;
	margin-left: 10px;
}

div#items a {
	background-color: inherit; color: #3366CC;
	cursor: default;
	text-decoration: none;
}
div#items a:hover, div#items a:active {
	text-decoration: none;
}
	
#js-popups { 
	visibility: hidden; 
}  

.hide { display: none; }  

.show {
	display: block; 
	width: 300px; 
	border: 1px solid #666; 
	margin: 100px auto; padding: 10px; 
	text-align: left; 
	background-color: #FFD; color: #003; 
}

p.printmessage {
	display: none;
}
}
