/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific font styles <<<-----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
* { margin: 0px; padding: 0px; }

body { color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17.5px; background-color: #fff; }

/*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; }

/*_________________________________________________________________________________
		BASIC STYLES
===================================================================================*/
p { margin: 5px 0 14px 0; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 22px; }

h1 { margin: 0px 0px 5px 0px; color: #222; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-weight: bold; font-size: 20px; line-height: 22px; }

h2 { margin: 0px 0px 10px 0px; color: #000; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 15px; line-height: 17px; }

h3 { margin: 0px 0px 7px 0px; color: #666; font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14px; line-height: 16px; }

h4 { margin: 0px 0px 5px 0px; color: #666; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-size: 11px; line-height: 11px; text-transform: uppercase; }

h5 { margin: 0px 0px 10px 0px; color: #000; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-size: 13px; line-height: 15px; } /* Author Names */

h6 { margin: 0px 0px 10px 0px; color: #666; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-size: 13px; line-height: 15px; } /* from issue or posted date */

sub, sup { margin-left: 1px; position: relative; font-size: .75em; line-height: 2px; vertical-align: baseline; }
sub { top: .25em; }
sup { top: -.5em; }

h1 sup { top: -.6em; font-size: 60%; }

hr { width: 50%; height: 1px; margin: 0px auto 10px; color: #ccc; }

ul, ol { margin: .5em 0 1em; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 1.35em; }
ul { list-style: disc outside; }

li { margin: 0 0 .5em 25px; }

/* - various list class options for editors - */
ol.references { margin-top: 0px; font-size: 11.5px; list-style: decimal outside; }
ol, ol.num { list-style-type: decimal; }
ol.numTwoDigits { list-style-type: decimal-leading-zero; }
ol.roman, ol.romanLower { list-style-type: lower-roman; }
ol.romanUpper { list-style-type: upper-roman; }
ol.alpha, ol.alphaLower { list-style-type: lower-alpha; }
ol.alphaUpper { list-style-type: upper-alpha; }
ul.square { list-style-type: square; }
ul.circle { list-style-type: circle; }

dl { margin-top: -5px; }
dl dt { margin-top: 10px; font-weight: bold; }
dl dd { padding-left: 10px; }


div.image { text-align: center; }
div.image img { height: auto; width: auto; max-height:100%; max-width: 100%; margin: 0 auto; }

/* ---- Formula Tables ---- */
body#formula table { width: auto; max-width: 100%; color: #000; border-collapse: collapse; }
body#formula table td { padding: 3px 5px; border: 1px solid #999; font-size: 12px; line-height: 14px; vertical-align: middle; text-align: left; background-color: #fff; }
body#formula table tr:nth-child(even) td {background-color: #eee; }
body#formula table th { padding: 3px 5px; border: 1px solid #999; font-weight: bold; font-size: 13px; line-height: 15px; vertical-align: bottom; text-align: left; background-color: #ccc; }
body#formula table tbody tr th { vertical-align: middle; text-align: center; }
body#formula table tfoot tr th { vertical-align: top; }
body#formula table td.empty, body#formula table th.empty { border: 0px; }
body#formula table td[colspan] { background-color: #fff; border-color: #fff; padding: 5px 10px; font-size: 14px; line-height: 15px; }

/* ---- Formula Tables ---- */
body#table table { width: auto; max-width: 100%; color: #000; border-collapse: collapse; }
body#table table td { padding: 3px 5px; border: 1px solid #999; font-size: 12px; line-height: 14px; vertical-align: middle; text-align: left; background-color: #fff; }
body#table table tr:nth-child(even) td {background-color: #eee; }
body#table table th { padding: 3px 5px; border: 1px solid #999; font-weight: bold; font-size: 13px; line-height: 15px; vertical-align: bottom; text-align: left; background-color: #ccc; }
body#table table tbody tr th { vertical-align: middle; text-align: center; }
body#table table tfoot tr th { vertical-align: top; }
body#table table td.empty, body#table table th.empty { border: 0px; }

/*_________________________________________________________________________________
		PAGINATION STYLES
===================================================================================*/
div#pagination { margin: 5px 0px; padding: 5px 0px; clear: right; text-align: center; }
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 the style for a disabled button */
div#pagination a span { color: #326076; background-color: #fff; border: 1px solid #326076; text-decoration: none; }/*this is for the majority of the page #'s */
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: #e5e3e4; text-decoration: underline; }
div#pagination span.curr_page { background-color: #326076; border: 1px solid #326076; color: #fff; font-weight: bold; }

/* -------- 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 { width: 390px; margin: 0px -391px 0px 0px; padding: 0px; border-color: #000; border-style: solid; border-width: 0px 0px 0px 1px; float: left; }

/*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: #326076; }

/*body#thumbs a img { position: absolute; top: -20%; left: -27%;}
*/
body#thumbs a img { position: absolute; top: 0; left: 0;}

/*bpa image causing double scroll bars */
body > img { margin-top: -1px; }

/*_________________________________________________________________________________
		LINK STYLES
===================================================================================*/
a:link { color: #326076; text-decoration:underline; }
a:visited { color: #666; }
a:hover, a:focus { color: #06f; }
a img { border: none; }

/* -------- debugging Styles -------- */
h1.debug { color: red; font-size: 12px; }
code { font-family:"Courier New", Courier, monospace; color: #160; font-weight: bold; }

/*_________________________________________________________________________________
		IE STYLES
===================================================================================*/
* html #col1, * html #col2 { display: inline; }