/* Start of CMSMS style sheet 'CSSmain' */
/* 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: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}
/*set font size for all divs, this overrides some body rules*/
div, p {
	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 */
        font-weight: bold;
	text-decoration: none;
/* 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;
	color: #363;
}
a:visited {

}
a:hover {
/* remove underline on hover */
	text-decoration: underline;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #065708;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: black;
/* you can set your own image and background color here */
	background: #e2ded3 url(images/bkg1.jpg) repeat-x left top;
}
div#pagewrapper {
        width: 90%;
        max-width: 1400px;
/* now that width is set this centers wrapper */
	margin: 0 auto;
	color: black;
}
* html div#pagewrapper {
        width: 90%;
        margin-left: 20px;
}

/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
	height: 110px;
	margin: 0;
	padding: 0;
        clear: both;
/* you can set your own image here, will go behind h1 a image */
	background: #9fa991;
}

div#header img {
    float: left;
    margin: 9px 12px;
    display: inline;
}

div#header h2 {
/* this is where the site name is */
	float: right;
        text-align: right;
	line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
	font-size: 2em;
        font-weight: normal;
        width: 460px;
/* keeps the size uniform */
	margin: 20px 28px 0px 0px;
/* adjust according your text size */
	color: #f4f4f4;
}

div#header h2 a {
        font-weight: normal;
        color: white;
}
div#header h2 a:hover {
        color: #065708;
}

div#divider {
     clear: both;
     height: 26px;
     background: #e3dfd4 url(images/divider.jpg) center center no-repeat;
}

span.lastitem {
	font-weight: bold;
}

div#search {
/* position for the search box */
	float: right;
/* enough width for the search input box */
	width: 246px;
	text-align: right;
        padding: 4px;
        background: white;
        color: #666;
        font-size: .9em;
        font-weight: bold;
}

div#search input {
        background: #e2ded2;
}
/* a class for Submit button for the search input box */
div#search input.search-button {
	border: none;
	height: 19px;
	width: 30px;
	margin-left: 5px;
	padding: 0;
/* makes the hover cursor show, you can set your own cursor here */
	cursor: pointer;
/* you can set your own image here */
	background: #fff url(images/search-submit.jpg) no-repeat center left;
}

div#content {
/* some air above and under menu and content */
	margin: 0 auto 0 0;
	padding: 0px;
	background: #fff url(images/verticalgradient.jpg) repeat-x;
}

div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
	margin-left: 28%;
	padding-left: 8px;
        padding-right: 8px;
	line-height: 1.4em;
        min-height: 400px;
/* you can set your own image here */
}

div#main div#sresults {
       background: #fff url(images/verticalgradient.jpg) repeat-x;
       padding-left: 24px;
}

div#main div#sresults p img {
       vertical-align: middle;
       margin-right: 12px;
}

div#main div#sresults p a {
       font-weight: bold;
}

div#main div#sresults p a img {
        border: 4px solid #9fa991;
}

div#main div#sresults p a:hover img {
        border-style: inset;
}

div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
	float: left;
/* sidebar width, if you change this change div#main margins */
	width: 25%;
/* FIX IE double margin bug */
	display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
	margin: 0px 0px 20px 2%;
	padding: 0px;
        background: #fff url(images/verticalgradient.jpg) repeat-x;
        border-right: 1px solid #b8bcab;
}

div#footer {
        clear: both;
/* this sets 10px on left to balance 10px right on last div */
	padding: 0px 16px;
/* color of text, the link color is set below */
/* you can set your own image here */
	background: white;
        border-top: 1px solid #b8bcab;
        font-size: .9em;
}

div#footer a {
         font-weight: bold;
}     

div#footer p {
/* sets different font size from default */
/* some air for footer */
	padding: 1.5em;
/* centered text */
	text-align: center;
        font-weight: normal;
	margin: 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;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100%  might lead to rounding error on some browser */
	width: 70%;
}
div.right49 {
	float: right;
	width: 29%;
/* set right to keep text on right */
	text-align: right;
        margin-top: 15px;
}

.item_info {
       width: 19%;
       float: right;
}

.item_images img {
        border: 5px solid #9ca98f;
        float: left;
}

div .hide {
        clear: both;
        visibility: hidden;
}

div#media {
   float: right; 
   width: 50%;
   display: inline;
   padding-left: 10px;
}

div#media img {
   border: 1px solid black; 
   vertical-align: top; 
   margin: 10px; 
   float: left;
   width: 150px;
   height: 207px;
}

div#media h3 {
   text-align: center;
}

div#retailer {
	float: left;
	width: 215px;
	height: 120px;
	text-align: left;
}

div#retailer a {
	font-weight: normal;
}

div#wishadd {
        margin-top:  24px;
        font-weight: bold;
        border: 1px solid #060;
        padding: 4px 0 4px 8px;
        background: #9ca98f;  /* #9ca98f;  */
        color: white;
        font-size: .9em;
}

div#wlogin {
        float: right;
        width: 45%;
        margin-right: 2%;
        margin-bottom: 20px;
}

.lined {
        border: 1px solid #060;
        padding: 12px;
}

table#wlist {
        border-top: 1px solid #060;
}
table#wlist th {
        font-weight: normal;
        padding: 6px;
        border-bottom: 1px solid #060;
}
table#wlist td {
        padding: 6px;
        border-bottom: 1px solid #060;
        font-weight: bold;
}

.recalc {
        margin-top: 10px;
        margin-left:  100px;
}

div#priceq {
	float: right;
	width: 35%;
        background: #9ca98f;
        margin: 32px 0 8px 20px;
        padding: 10px;
}

div#wform {
        clear: left;
        margin: 0 24px;
        padding: 16px;
        border: 1px solid #060;
        background: #e2ded3;
}

div#wform td {
        padding: 0 8px;
}

/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
/* font size for h1 */
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #030;
/* font size for h2 the higher the h number the smaller the font size, most times */
	font-size: 1.5em;
	text-align: left;
        border-bottom: 1px solid #b8bcab;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* a larder than h1 line height */
	line-height: 1.5em;
/* and some air under the border */
	margin: 0 0 0.5em 0;
}
h3, div#content h3 {
	color: #065708;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #065708;  /* original:  #294B5F */
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 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: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 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;
}
.small {
        font-size: .85em;
}

.center {
        text-align: center;
}

/* END TEXT */
/* LISTS */


div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 2em;
}

/* 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 'CSSmain' */

