/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific font styles <<<-----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

* { margin: 0px; padding: 0px; }

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 17.5px;
	color: #000;
}

/*ugly ie6 hacks.  it started adding horiz scrolls for some reason this take care of those but would need to be changed*/
* html body { width: 600px;}
* html body#image { width: auto; display: inline; }
* html body#gallery { width: auto;}

div#wrapper { margin: 0px; padding: 10px; }

p {
	color: #000;
	font-size: 13px;
	line-height: 17.5px;
	font-family: Arial, Helvetica, sans-serif;
	margin: .5em 0 1em 0;
}
p a:link { color: #6b2312; }
p a:visited { color: #666; }
p a:hover { color: #06f; }
	
ul, ol {
	color: #000;
	font-size: 13px;
	line-height: 1.35em;
	font-family: Arial, Helvetica, sans-serif;
	margin: 1em 0;
}

li { margin: 0 0 .75em 15px; }

h1 {
	font-size: 20px;
	line-height: 22px;
	margin: 0 0 6px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #000;
}
h1 a:link { color: #000; }
h1 a:hover { color: #06f; }

/*h2 with no class is for subheads inside of content items*/
h2 {
	font-size: 15px;
	line-height: 17px;
	margin: 0 0 10px 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-weight: bold;
}
h2 a:link { color: #6b2312; }
h2 a:visited { color: #222; }
h2 a:hover { color: #06F; }

/*h3 with no class is for content item sub, subheads*/
h3 {
	font-size: 14px;
	margin: 0px 0px 7px 0px;
	line-height: 16px;
	font-weight: bold;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
}
h3 a:link { color: #6b2312; }
h3 a:visited { color: #222; }
h3 a:hover { color: #06F; }

/*h4 with no class is for content item sub, subheads*/
h4 {
	font-size: 11px;
	margin: 0px 0px 5px 0px;
	line-height: 11px;
	font-weight: normal;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

/* ------- h5 ------- is for Author Names */
h5 {
	font-size: 13px;
	margin: 0px 0px 10px 0px;
	line-height: 15px;
	font-weight: normal;
	color: #000;
	font-family: Georgia, "Times New Roman", Times, serif;
}

/* ------- h6 ------- is the "from" line, like what issue or the posted date */
h6 {
	font-size: 13px;
	margin: 0px 0px 10px 0px;
	line-height: 15px;
	font-weight: normal;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
}
h6 a:link { color: #6b2312; }
h6 a:visited { color: #666; }
h6 a:hover { color: #06F; }

strong { font-weight: bold; }
em { font-style: italic; }

/* -- other generic styles -- */

sub, sup { vertical-align: baseline; font-size: .75em; line-height: 2px; position: relative; margin-left: 1px; }
sub { top: .25em; }
sup { top: -.5em; }


/* --- PAGINATION styles ----------------------------------------------------------- */

div#pagination { margin: 5px 0px; /*float: left;*/ padding: 5px 0px; clear: right; text-align: center; }

/* this is the style for a disabled button, ie previous on page 1 */
div#pagination span { color: #fff; font-size: 11px; line-height: 11px; padding: 2px 5px; background-color: #ccc; border: 1px solid #ccc; text-decoration: none; }

/*this is for the majority of the page #'s */
div#pagination a span { color: #6b2312; background-color: #fff; border: 1px solid #6b2312; text-decoration: none; }

div#pagination a { text-decoration: none; } /*without this it adds an underline below the box which looks really weird*/

div#pagination a:hover span { color: #000; background-color: #ced5e6; text-decoration: underline; }

div#pagination span.curr_page { background-color: #6b2312; border: 1px solid #6b2312; color: #fff; font-weight: bold; }

/* -(end of pagination styles)---------------- */
/* -------- debugging Styles -------- */

h1.debug {
	color: red;
	font-size: 12px;
}

/* --- LINK styles -------------------------------------------------------------------------------- */

a:link { color: #6b2312; text-decoration:underline; }

a:visited { color: #666; }

a:hover { color: #06f; }

a img { border: none; }

/* -(end of links)---------------- */

/* --- TABLE styles -------------------------------------------------------------------------------- */

table {
	color: #000;
	background-color: #fff;
	width: 100%;
	font-size: 12px;
	border-collapse: collapse;
}

table tr td {
	padding: 5px 5px;
	border: 1px solid #000;
	text-align: left;
	background-color: #fff;
}

table tr td p { margin: 0px 0px 5px 0px; }

table tr td.odd { background-color: #eaebeb; }

table caption { padding: 0px 0px 10px; }

table th {
	padding: 3px 5px;
	background-color: #D8DADF;
	text-align: center;
	border: 1px solid #000;
}

/* --- Formula Tables - table#formula   ------------------------------------------- */

table#formula { border-collapse: separate; margin-bottom: 10px; width: 100%; }

table#formula tr td { padding: 5px; }

table#formula tr td.part { padding: 10px 0px 0px 0px; background-color: #fff; }

table#formula tr td.part strong { background-color: #000; color: #fff; display: block; padding: 5px; }

table#formula tr td.ingredient { border-style: solid; border-color: #000; border-width: 0px 0px 1px 1px; }

table#formula tr td.amount { border-style: solid; border-color: #000; border-width: 0px 1px 1px 0px; width: 75px; text-align: right; }

table#formula tr td.odd { background-color: #fff; }

table#formula tr td.even { background-color: #ccc; }

table.simpleFormula { border-collapse: separate; margin-bottom: 10px; width: 100%; border-width: 1px 0px 0px 0px; }

table.simpleFormula tr td { padding: 5px; }

table.simpleFormula tr td.part { padding: 10px 0px 0px 0px; background-color: #fff; }

table.simpleFormula tr td.part strong { background-color: #000; color: #fff; display: block; padding: 5px; }

table.simpleFormula tr td.ingredient { border-style: solid; border-color: #000; border-width: 0px 0px 1px 1px; }

table.simpleFormula tr td.amount { border-style: solid; border-color: #000; border-width: 0px 1px 1px 0px; width: 75px; text-align: right; }

table.simpleFormula tr td.total { border-style: solid; border-color: #000; border-width: 1px 1px 1px 1px; text-align: right; }



/* -(end of tables)---------------- */

/* --- Photo Gallery styles ------------------------------------------------------------------------- */

body#gallery { margin: 0px; padding: 0px; }

/*body#gallery { overflow: hidden; }*/

div#main { height: 100%; padding: 0px 391px 0px 0px; overflow: hidden; position: relative; background-color: #73787d; /*margin-bottom: -20px;*/ }

/* --  #col1 styles: image and nav -----------------------------  */

div#main div#col1 {  float: left; width: 100%; } /*no padding can be applied here*/

div#mainImage { height: 404px; padding: 5px; text-align: center; }

div#mainImage img { border: 2px solid #fff; }

/* --  imageNav styles: description and thumbs --  */

div#imageNav { 	padding: 5px; height: 91px; text-align: center; }

div#imageNav h4,
div#imageNav p { color: #fff; padding: 0px 105px; margin: 0px 0px 5px 0px; text-align: center; }

div#imageNav div { width: 79px; height: 91px; overflow: hidden; }

div#imageNav div.prev { float: left; margin-left: 20px; }

div#imageNav div.next { float: right; margin-right: 20px; }

div#imageNav div a { display: block; text-decoration: none; }

div#imageNav div a h4 { text-decoration: none; color: #fff; margin: 0px 0px 0px 0px; padding: 0px 0px 2px 0px; }

div#imageNav div a.thumb { width: 75px; height: 75px; border: 2px solid #000; margin: 0px; padding: 0px; overflow: hidden; position: relative; }

div#imageNav div:hover a.thumb,
div#imageNav div a.thumb:hover { border-color: #fff; }

/*div#imageNav div a.thumb img { position: absolute; top: -20%; left: -27%; }*/
div#imageNav div a.thumb img { position: absolute; top: 0; left: 0; }

/* --  #col2 styles: thumbs and sponsor -----------------------------  */

div#main div#col2 {
	border-color: #000;
	border-style: solid;
	border-width: 0px 0px 0px 1px;
	float: left;
	margin: 0px -391px 0px 0px;
	width: 390px;
	padding: 0px;
}

/*div#main div#col2 iframe { width: 390px; height: 403px; }*/

div#main div#col2 div#sponsor {
	background-color: #fff;
	padding: 5px;
	height: 100px;
	border-style: solid;
	border-color: #000;
	border-width: 2px 0px 0px 1px;
	display: none;
}

div#main div#col2 div#sponsor img { width: 30px; height: 50px; float: left; margin: 0px 10px 0px 0px;}

div#main div#col2 div#sponsor p {padding-left: 71px; }

/* --  Thumbnail styles: everything thats in #col2 iframe --  */

body#thumbs { padding: 10px; background-color: #363636; color: #fff; width: 340px; }

body#thumbs h1, body#thumbs h2, body#thumbs p { color: #fff; width: 340px; }

body#thumbs a { width: 75px; height: 75px; border: 2px solid #000;  float: left; margin: 0px 5px 5px 0px; position: relative; text-align: center; vertical-align: middle; padding: 0px; overflow: hidden;}

body#thumbs a:hover { border-color: #fff; }
body#thumbs a.currPic { border-color: #ced5e6; }

/*body#thumbs a img { position: absolute; top: -20%; left: -27%;}
*/
body#thumbs a img { position: absolute; top: 0; left: 0;}

/* -- ie hacks - to be moved to seperate stylesheet soon --  */
* html #col1, * html #col2 { display: inline; }

