/*	Styles for The Pot Shop and The Magic Potter Websites

	Structure: Apart from the site structure IDs in UPPER_CASE
	(see below) , which appear first, the remaining selectors are arranged
	thus: element selectors appear grouped first, in alpha order;
	then class and id selectors mingled, again in alpha order.

	IDs in UPPER_CASE asre standard names used for all rgasite-based
	setups, although their definitions can change from site to site. In
	particular: #SITE_HEADER, #SITE_FOOTER, #SIDE_PANEL,
	#SIDE_HEADER, #SIDE_MENU, #SIDE_FOOTER, #MAIN_PANEL,
	#MAIN_HEADER, #MAIN_CONTENT and #MAIN_FOOTER.

	In HTML 4 IDs and classes were not case-sensitive; in XHTML they are.
*/

/*  #MAIN_CONTENT * {	border: 1px solid magenta;}	/* temporary development style */
/*  table * {background: #FFFF66}	/* temporary development style */
/*  #SITE_HEADER *, #SITE_FOOTER * {	border: 1px solid red;}	/* temporary development style */
/*  #SIDE_PANEL * {	border: 1px solid blue;}	/* temporary development style */
/*  #MAIN_HEADER *, #MAIN_FOOTER * {	border: 1px solid green;}	/* temporary development style */



body {
	padding: 0;
	margin: 0;
	font-size: 72%;
	font-family: Arial,Helvetica,sans-serif;
	background:#D6DCD6 url(../potsites/graphics/background.png) repeat fixed 0 0;
	color: #191970;
}
body.emailpopup {	/*	The popup emailer form */
	background: #d6dcd6 url(../potsites/graphics/topgradient.png) repeat-x scroll top left;
	margin: 1em 0 0 1em;
}

#SITE_HEADER 	/* Across the top of all pages, if used.	Height must be set to match 'top' of other top-levels */
{
	width: 100%;
	background: #d6dcd6 url(../potsites/graphics/topgradient.png) repeat-x scroll top left;
	height:110px;	/*	NB This is key to layout - must match top on other top-level elements */
	position:absolute;
	top:0;
	left:0;
}

#SITE_FOOTER 	/* Across the bottom of all pages, if used */
{
	position:relative;
	top:110px;				/* top must match height of SITE_HEADER */
	width:100%;
}
#SIDE_PANEL 		/* Container for all sidebar content, if used */
{
	margin:0;
	padding:1em;
	background-color:#FB9049;
	color:#FFFFCC;
	text-align:center;
	left:1.5%;
	position:absolute;
	top:110px;				/* top must match height of SITE_HEADER */
	width:16%;
	border-color: #FC6 silver silver #FC6;
	border-style: solid outset outset solid;
	border-width: 1px 4px 4px 1px;
}


#SIDE_HEADER 	/* Appears above the menu in the side panel, if used */
{

}
#SIDE_MENU 		/* Navigation menu panel, if used */
{
	clear:both;
	padding: 1em;
	font-weight: bold;
	text-align: left;
	border-color: #FC6 gray gray #FC6;
	border-style: double;
	border-width: 3px;
}
#SIDE_FOOTER 	/* Appears below the menu in the side panel, if used */
{

}
#MAIN_PANEL 		/* Container for main page content and related header and footer */
{
	margin:0 10% 0 21%;
	padding-bottom: 2.5em;
	position:relative;
	top:110px;				/* top must match height of SITE_HEADER */
	width:69%;
}

#MAIN_HEADER 	/* Content-related header such as a menu bar, if used */
{	display: none;
	width: 100%;
	margin: 0;
	padding: 1em .5em;
}

#MAIN_CONTENT 	/*  The main content for the page. Always used. */
{
	margin: 0;
	padding: 0 2%;
}

#MAIN_FOOTER 	/* Content-related footer such as textual navigation, if used */
{

}

/*	Here are the tag-based selectors in alpha order */


h1 {
	color: #191970;
	clear: both;
	width: 100%;
	float:left;
	font-size:2.5em;
	font-weight:bold;
	padding:0.5em;
}
h2 {
	color: #191970;
	clear: both;
	width: 100%;
	float:left;
	font-size:1.5em;
	font-weight:bold;
	padding:0.5em;
	margin: 0;
}
h3, h4, h5, h6 {
	clear: both;
}

/* Here are the classes and ids, mixed in alpha order */

.adminlink {
	clear: both;
}
.adminlink a {
	display: block;
	float: left;
	width: 10%;
	text-align:center;
	background: #CC9;
	border: 1px solid blue;
	text-decoration: none;
	font-weight: bold;
	font-size: 80%;
	padding: 3px;
	color: blue;
	height: 3em;
}
.adminlink a:hover {
	background: #9CC;
	color: maroon;
}

#attribution {
	text-align: center;
	color:#191970;
	font-size: 80%;
	font-style: italic;
	font-family: "Times New Roman", Times, serif;
}
#backupframe {
	border-width: 3px;
	border-style: outset;
	border-color: #FC6 silver silver #FC6;
	background-color: ivory;
	font-size: 80%;
	position: fixed;
	left: 5%;
	overflow: auto;
	top: 5%;
	width: 90%;
	min-height: 450px;
	height: 90%;
	padding: 0;
	z-index: 999;
}
.backtotop {
	clear:both;
	border-top: 1px solid #CCC;
	font-size: 80%;
	text-align: right;
	display: block;
}
.buybutton {
}
.catblock {
	clear: both;
	background: #E6ECE6;
	border-style: outset;
	border-width: 3px;
	border-color: #FC6 silver silver #FC6;
	overflow: hidden;		/* Force intuitive handling of floats without unwanted scrollbars */
}
.catdesc {
}
#emailblock {
	display: none;
	border-width: 3px;
	border-style: outset;
	border-color: #FC6 silver silver #FC6;
	background-color: ivory;
	font-size: 80%;
	position: fixed;
	left: 30%;
	overflow: auto;
	top: 10%;
	width: 40%;
	min-height: 450px;
	height: 40%;
	padding: 0;
	z-index: 999;
}

.err_field {
	background-color: #FCC;
}
.err_msg {
	color:red;
	display:block;
	text-indent:3em;
}

#MAIN_HEADER a, #MAIN_HEADER .current {
	display: block;
	margin: .5em 1em;
	float: left;
	width: 8%;
	text-align: center;
	text-decoration: none;
	background: #D6DCD6;
}
#MAIN_HEADER a {
	color: #191970;
}
#MAIN_HEADER a:hover {
	color: maroon;
	background: #B9A69B;
}
.men_main, men_main_cur {
	font-weight:bold;
	text-decoration:none;
	display: block;
	padding: .5em 0;
}
.men_sub,.men_sub_cur {
	font-weight:normal;
	text-decoration:none;
	display: block;
	padding: .5em 0;
}
div.men_main, div.men_sub {
	color: #FC6;
}
a.men_main, a.men_sub {
	color: #090940;
}
a.men_main:hover, a.men_sub:hover {
	color: blue;
	background: #FFCC66;
}

#picholder {
	display: none;
	position: absolute;
	left: 20px;
	top: 120px;
	margin: 0;
	padding: 0;
	border-right: 5px outset silver;
	border-bottom: 5px outset silver;
	border-top: 1px solid silver;
	border-left: 1px solid silver;
	z-index: 500;
	cursor: pointer;
}
.proddetails {
	padding-left: 2%;
	float: left;
	width: 75%;
}
.prodimages {
	width: 20%;
	min-height: 110px;
	padding: 0;
	margin: 0;
	float: left;
}
.prod_shop {
	float: left;
	width: 75%;
	display: block;
}
.proddesc {
	padding-bottom:1em;
}
.prodlist {
	overflow: auto;	/* simplest known way to force intuitive behaviour and stop inner floats peeping out */
}
.prodsize {
	font-style: italic;
}
.secdesc, .secfooter {
}
.secdesc p, .secfooter p {
		clear: both;
}
#secpage {
}
#secpage>img {
	clear: both;
}
#secpage ul {
	display: block;
	list-style-position: inside;
	list-style-image: url(graphics/listbullet.png);
}
#secpage ul li{
	min-height: 20px;
}
#secpage ul li a {
	text-decoration: none;
	color: inherit;
}
#secpage ul li a:hover {
	text-decoration: none;
	background: #FC6;
	color: blue;
}

.shopproduct {
	margin: 6px 6px 6px 6px;
	border-color: #666 silver silver #666;
	border-width: 2px;
	border-style: outset;
	padding: 6px 6px 6px 6px;
	background: #E6ECE6;
	overflow: auto;	/* simplest known way to force intuitive behaviour and stop inner floats peeping out */
}
.shopproduct h3 {
	background-color: #FC6;
	margin: -6px -6px 6px -6px;
	padding: 3px 6px 3px 6px;
}
.shopproduct legend {
	font-weight: bold;
}
#SITE_HEADER #heading {
	position: relative;
	top: 6px;
	left: 20px;
	width: 710px;
	height: 110px;
	background: transparent url(magicpotterlogo.png) no-repeat top left;
	text-align: right;
	color: black;
}

#SITE_HEADER #heading .message {
	position: absolute;
	top: 22px;
	left: 46em;
	background: #e6ece6;
	width: 18em;
	padding: .5em 1em;
}

.thumb {
	background: white;
	border-color: silver;
	border-style: solid outset outset solid;
	border-width: 1px 3px 3px 1px;
	padding: .5em;
	margin-right: 1em;
	margin-bottom: .5em;
	float: left;
	cursor: pointer;
}
userref {
	display:inline-block;
	font-size:80%;
	font-style:italic;
	font-weight:normal;
	padding-left:2em;
}