/* +++++++++  pf_nav.css +++++++++ */
/*__________________________________________________________________________________________________
		PRIMARY NAVIGATION
====================================================================================================*/
#nav { height: 100px; margin: 0px; overflow: hidden; clear: none; background: #000; }

#nav_main { width: 100%; height: 100px; overflow: hidden; background: #fff url("http://media.perfumerflavorist.com/designimages/pf_nav_main_bg.gif") repeat-x top left; }
/*#homepage #nav_main { background: #ced5e6 url("http://media.cosmeticsandtoiletries.com/designimages/ct_nav_main_bg_s.gif") repeat-x top left; }*/

#primary_nav { width: 843px; height: 36px; padding: 0px; margin: 0px; display: inline; float: left; background: url("http://media.perfumerflavorist.com/designimages/pf_pnav_bg.png") no-repeat 0px 0px; }

#primary_nav ul { width: 843px; height: 36px; margin: 0; position: relative; display: inline; float: left; list-style: none; }
#primary_nav ul li { height: 36px; margin: 0; padding: 0; display: inline; float: left; font-size: 1.0em; line-height: 1em; list-style-type: none; }

#primary_nav ul li a { height: 36px; border: none; position: absolute; top: 0px; text-decoration: none; background-position: 0px 0px; background-repeat: no-repeat; }
#primary_nav ul li a:hover { background-position: 0px -36px; }
#primary_nav ul li.curr_page a { background-position: 0px -72px; }
#primary_nav ul li.curr_page a:hover { background-position: 0px -108px; }

#primary_nav ul li a span { display: block; text-indent: -9999px; } /*image replacement*/

/*_________________________________________________________________________________
		PRIMARY NAVIGATION ITEMS
===================================================================================*/
/*   left = (width of previous + left of previous + 3)   */
/* Flavor */
div#primary_nav #pn_item_1 a { width: 104px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_flavor.png"); }

/* Fragrance */
div#primary_nav #pn_item_2 a { width: 143px; left: 105px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_fragrance.png"); }

/* Allured's FFM */
div#primary_nav #pn_item_3 a { width: 182px; left: 249px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_ffm.png"); }

/* Networking */
div#primary_nav #pn_item_4 a { width: 161px; left: 432px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_networking.png"); }

/* Events */
div#primary_nav #pn_item_5 a { width: 109px; left: 594px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_events.png"); }

/* Magazine */
div#primary_nav #pn_item_6 a { width: 139px; left: 704px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_pnav_mag.png"); }

/*__________________________________________________________________________________________________
		SECONDARY NAVIGATION
====================================================================================================*/
#secondary_nav { width: 843px; height: 34px; margin: 0; padding: 0; float: left; background: no-repeat top left; }

#secondary_nav ul { height: 34px; margin: 0; position: relative; display: inline; float: left; list-style: none; }

#secondary_nav ul li { height: 34px; margin: 0; padding: 0; display: inline; float: left; font-size: 1.0em; line-height: 1em; list-style-type: none; }

#secondary_nav ul li a { height: 34px; border: none; position: absolute; top: 0px; text-decoration: none; background-position: 0px 0px; background-repeat: no-repeat; }

#secondary_nav ul li a:hover { background-position: 0px -34px; }
#secondary_nav ul li.curr_page a { background-position: 0px -68px; }
#secondary_nav ul li.curr_page a:hover { background-position: 0px -102px; }

#secondary_nav ul li a span { display: block; text-indent: -9999px; } /*image replacement*/

/* --- Directory Temp Fix ----------------------------- */

/*body#directory #secondary_nav ul li { height: auto; }
body#directory #secondary_nav ul li a { position: static; margin: 0px 10px; color: #636567; text-decoration: underline; }
body#directory #secondary_nav ul li.curr_page a { font-weight: bold; }
body#directory #secondary_nav ul li a:hover { color: #06f; }
body#directory #secondary_nav ul li a span { display: inline; text-indent: 0px; }
*/

/*_________________________________________________________________________________
		SECONDARY NAVIGATION INSTRUCTIONS
===================================================================================*/
/*
 it must be determined if the secondary navigation should be 
 left-aligned, right-aligned or centered under its respective primary nav item --
 
 For CENTER Alignment: _____________________________________________
 middleOfPnavItem = left Of pnavItemA + 1/2 * width of pnavItemA;
 Primary Middles:
 Fragrance: 176.5; FFM: 340; Networking: 512.5; Events: 648.5;
 div#secondary_nav|padding_left = middleOfPnavItem - 1/2 * bgImageWidth;
 div#secondary_nav|width = 843 - padding_left;
 
 if (div#secondary_nav|padding_left <= 0) the secondary should be left aligned;
 if (div#secondary_nav|padding_left + bgImageWidth >= 843) the secondary should be right aligned;

 For LEFT Alignment: _____________________________________________
 div#secondary_nav|padding_left = 0px;
 div#secondary_nav|width = 843px;
 
 For RIGHT Alignment: _____________________________________________
 div#secondary_nav|padding_left = 843 - bgImageWidth;
 div#secondary_nav|width = bgImageWidth;
*/

/*_________________________________________________________________________________
		FLAVOR - SECONDARY NAV
===================================================================================*/
div.Flavor div#secondary_nav { padding-left: 0px; width: 843px; } 

/* set the width for this nav -- this will equal the width of the bg image used for this section; set the particular bg image for this nav */
div.Flavor div#secondary_nav ul { width: 673px; background: transparent url("http://media.perfumerflavorist.com/designimages/pf_snav_flavor_bg.png") no-repeat top left; }

/*  to calculate the left of each one, take the previous item's left + its width + 1  */
/* Creation / Application */
div.Flavor div#secondary_nav #sn_item_1 a { width: 173px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_creation.png"); }

/* Raw Materials */
div.Flavor div#secondary_nav #sn_item_2 a { width: 123px; left: 174px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_raw_materials.png"); }

/* Regulatory */
div.Flavor div#secondary_nav #sn_item_3 a { width: 99px; left: 298px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_regulatory.png"); }

/* Research */
div.Flavor div#secondary_nav #sn_item_4 a { width: 84px; left: 398px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_research.png"); }

/* Trends */
div.Flavor div#secondary_nav #sn_item_5 a { width: 68px; left: 483px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_trends.png"); }

/* Flavor Library */
div.Flavor div#secondary_nav #sn_item_6 a { width: 121px; left: 552px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_flavor_library.png"); }

/*_________________________________________________________________________________
		FRAGRANCE - SECONDARY NAV
===================================================================================*/
div.Fragrance div#secondary_nav { padding-left: 0px; width: 843px; } 

/* set the width for this nav -- this will equal the width of the bg image used for this section; set the particular bg image for this nav */
div.Fragrance div#secondary_nav ul { width: 551px; background: transparent url("http://media.perfumerflavorist.com/designimages/pf_snav_fragrance_bg.png") no-repeat top left; }

/*  to calculate the left of each one, take the previous item's left + its width + 1  */
/* Creation / Application */
div.Fragrance div#secondary_nav #sn_item_1 a { width: 173px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_creation.png"); }

/* Raw Materials */
div.Fragrance div#secondary_nav #sn_item_2 a { width: 123px; left: 174px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_raw_materials.png"); }

/* Regulatory */
div.Fragrance div#secondary_nav #sn_item_3 a { width: 99px; left: 298px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_regulatory.png"); }

/* Research */
div.Fragrance div#secondary_nav #sn_item_4 a { width: 84px; left: 398px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_research.png"); }

/* Trends */
div.Fragrance div#secondary_nav #sn_item_5 a { width: 68px; left: 483px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_trends.png"); }

/*_________________________________________________________________________________
		ALLURED'S FFM - SECONDARY NAV
===================================================================================*/

/*_________________________________________________________________________________
		NETWORKING - SECONDARY NAV
===================================================================================*/
div.Networking div#secondary_nav { padding-left: 347px; width: 496px; } 

/* set the width for this nav -- this will equal the width of the bg image used for this section; set the particular bg image for this nav */
div.Networking div#secondary_nav ul { width: 331px; background: transparent url("http://media.perfumerflavorist.com/designimages/pf_snav_networking_bg.png") no-repeat top left; }

/*  to calculate the left of each one, take the previous item's left + its width + 1  */
/* Careers */
div.Networking div#secondary_nav #sn_item_1 a { width: 76px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_networking_careers.png"); }

/* Industry News */
div.Networking div#secondary_nav #sn_item_2 a { width: 125px; left: 77px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_networking_ind_news.png"); }

/* Web Directory */
div.Networking div#secondary_nav #sn_item_3 a { width: 128px; left: 203px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_networking_web_dir.png"); }

/*_________________________________________________________________________________
		EVENTS - SECONDARY NAV
===================================================================================*/
div.Events div#secondary_nav { padding-left: 499px; width: 344px; } 

/* set the width for this nav -- this will equal the width of the bg image used for this section; set the particular bg image for this nav */
div.Events div#secondary_nav ul { width: 298px; background: transparent url("http://media.perfumerflavorist.com/designimages/pf_snav_events_bg.png") no-repeat top left; }

/*  to calculate the left of each one, take the previous item's left + its width + 1  */
/* Calendar of Events */
div.Events div#secondary_nav #sn_item_1 a { width: 160px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_events_calendar.png"); }

/* Event Coverage */
div.Events div#secondary_nav #sn_item_2 a { width: 137px; left: 161px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_events_coverage.png"); }

/* Webinars */
/*div.Events div#secondary_nav #sn_item_3 a { width: 88px; left: 299px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_events_webinars.png"); }*/

/*_________________________________________________________________________________
		MAGAZINE - SECONDARY NAV
===================================================================================*/
div.Magazine div#secondary_nav { padding-left: 610px; width: 233px; } 

/* set the width for this nav -- this will equal the width of the bg image used for this section; set the particular bg image for this nav */
div.Magazine div#secondary_nav ul { width: 233px; background: transparent url("http://media.perfumerflavorist.com/designimages/pf_snav_mag_bg.png") no-repeat top left; }

/*  to calculate the left of each one, take the previous item's left + its width + 1  */
/* Advisory Board */
div.Magazine div#secondary_nav #sn_item_1 a { width: 133px; left: 0px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_mag_adv_board.png"); }

/* Past Issues */
div.Magazine div#secondary_nav #sn_item_2 a { width: 99px; left: 134px; background-image: url("http://media.perfumerflavorist.com/designimages/pf_snav_mag_past_issues.png"); }
