/* Start of CMSMS style sheet 'Hilliers: Page Style' */
/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
body {
	text-align: left;
	font-family: Century Gothic, Helvetica, Verdana, Geneva, Arial, sans-serif;
	font-size: 85%;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
a, a:link a:active {
/* set all links to have underline */
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
/* this is a bluish color, you change this for all default link colors */
	color: #703010;
}
a:visited {
/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #703010;
}
a:hover {
/* remove underline on hover */
	text-decoration: underline;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #990010;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
	color: #401000;
        background-color: #fffdf4;
}
div#pagewrapper {
	width: 940px;
	margin: 0 auto;
	color: #401000;
        padding: 0 10px 0 10px;
	background: #fffefc url(images/layout/pagewrapper_bg.gif);
}
div#header {
	height: 150px;
	margin: 0;
	padding: 0;
	background: url(images/layout/header-bg.jpg);
}
div#header h1 a {
/* you can set your own image here */
	background:  no-repeat left top;
/* this will make the "a" link a solid shape */
	display: block;
/* adjust according your image size */
	height: 150px;
        font-size: 1.0em;
        line-height: 1.0em;
	text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
	text-decoration: none;
}
h1.home {
	background:  no-repeat left top;
	display: block;
	height: 150px;
        font-size: 1.0em;
        line-height: 1.0em;
	text-indent: -999em;
	text-decoration: none;
}
div#header h1 {
	margin: 0;
	padding: 0;
	background: url(images/layout/logo.gif) 212px 20px no-repeat;
}

div#extra-home-text {
	height: 75px;
        width: 940px;
	margin: 0;
	padding: 0;
	background: url(images/layout/search-bg.jpg) no-repeat left top;
	text-indent: -999em;
	text-decoration: none;
}

div#search-container {
	height: 75px;
        width: 940px;
	margin: 0;
	padding: 0;
	background: url(images/layout/search-bg.jpg) no-repeat left top;
}

div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 20em;
	text-align: right;
	padding: 1.3em 2.0em 0.2em 0;
	margin: 0;
}
/* a class for Submit button for the search input box */
input.search-button {
	border: none;
	height: 28px;
	width: 30px;
	margin-left: 10px;
	padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: url(images/layout/search.gif) no-repeat center center;
}

div#content {
/* some air above and under menu and content */
	margin: 0 auto;
}

div#main {
	width: 700;
	padding: 0px;
}

div#main-content {
        padding: 15px 30px 0 20px;
}

div#home-main {
        padding-right: 30px;
	background: url(images/layout/main-bg.jpg) no-repeat left top;
}

div#home-text {
	margin-left: 110px;
	margin-top: 40px;
        width: 485px;
        height: 235px;
        font-size: 0.9em;
}

div#home-text p {
       margin: 0 0 0.3em 0;
}

p.underline {
	font-size: 1.1em;      
	text-align: left;
        padding-bottom: 5px;
	background: url(images/layout/underline.gif);
}

div#sidebar {
	float: left;
	width: 250px;
	display: inline;
	margin: 0px;
	padding: 0px;
}

div#sidebar-home {
	float: left;
	width: 210px;
        height: 533px;
	display: inline;
	margin: 0px;
	padding: 0px;
	background: url(images/layout/sidebar-home-bg.jpg) no-repeat;
}

div#menu {
        height: 300px;
	margin: 0;
	padding: 0;
	background: url(images/layout/menu-bg.jpg) no-repeat;
}

div#random-images {
        height: 210px;
	margin: 0;
	padding: 0;
	background: url(images/layout/random-image.jpg) no-repeat;
}

div#under-menu {
	margin: 15px 20px 0 20px;
}

table.products {
        width: 660px;
        border: none;
}

td.side {
        width: 220px;
        padding-bottom: 0.5em;
        border: none;
}

td.middle {
        width: 220px;
        padding-bottom: 0.5em;
        border-left: solid 1px #b4890e;
        border-right: solid 1px #b4890e;
}

div#extra-text-box {
        width: 780px;
	margin: 0 auto;
        padding-top: 250px;
        padding-bottom: 50px;
        font-size: 0.95em;
        color: #000000;
}

td.box-top-left {
        width: 24px;
        height: 24px;
	background: url(images/layout/top-left.gif);
}
td.box-top-right {
        width: 24px;
        height: 24px;
	background: url(images/layout/top-right.gif);
}
td.box-bottom-left {
        width: 24px;
        height: 24px;
	background: url(images/layout/bottom-left.gif);
}
td.box-bottom-right {
        width: 24px;
        height: 24px;
	background: url(images/layout/bottom-right.gif);
}
td.box-top {
        height: 24px;
	background: url(images/layout/top.gif);
}
td.box-bottom {
        height: 24px;
	background: url(images/layout/bottom.gif);
}
td.box-left {
	background: url(images/layout/left.gif) repeat;
}
td.box-right {
	background: url(images/layout/right.gif) repeat;
}
td.box-middle {
        tex-align: left;
        padding-left: 15px;
	background-color: #f7efe2;
}

div#bottom-menu {
        height: 25px;
        text-align: right; 
        margin: 30px 30px 0 0; 
        padding: 0;
}

div#bottom-menu-home {
        font-size: 1.1em;
        margin: 0; 
        padding: 0;
}

div#footer {
	width: 960px;
        height: 50px;
	margin: 0 auto;
	padding: 0;
	color: #cca40e;
	background: url(images/layout/footer_bg.gif) no-repeat;
}

div#footer p {
/* sets different font size from default */
	font-size: 0.8em;
	text-align: right;
        padding: 15px 40px 0 0;
	margin: 0;
}

div#ebiz {
        width: 940px;
        height: 30px;
	margin: 0 auto;
        font-size: 0.85em;
	text-align: right;
        padding: 5px 30px 0 0;
}

/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
	margin: 0;
	font-size: 1.5em;   
	line-height: 1.5em;   
	background: url(images/layout/h1-bg.gif);
}
div#content h2 {
	color: #902010;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.4em;
	text-align: left;
/* some air around the text */
	padding-bottom: 0.5em;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0;
}
div#content h3 {
	color: #502000;
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 1.2em 0 0.2em 0;
}
div#content h4 {
	color: #902010;
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 1.0em 0 0 0;
}
div#content h5 {
	color: #294B5F;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #294B5F;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1.0em;
/* some air around p elements */
	margin: 0 0 1.0em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#box-text ul,
div#main ol,
div#box-text ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#faq ul {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0;
}
div#main ul li,
div#box-text ul li,
div#box-text ol li,
div#main ol li {
	margin: 0 0 0.5em 3em;
}
div#faq ul li {
	margin: 0 0 0.8em 1.5em;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */
/* End of 'Hilliers: Page Style' */

