Search result for 'wp_nav_menu css submenu'
(0.057107925415 seconds)
3 pages : 1 2 3 Next › Last»

amyb/Wordpress - only show sub menu when parent selected (for wp_nav_menu) ( CSS)

.sub-menu { display: none; }
.current_page_item .sub-menu, .current_page_parent .sub-menu { display: block; }

baires/Adding Classes to the Current Page Item in wp_nav_menu() ( PHP)

add_filter( 'nav_menu_css_class', 'additional_active_item_classes', 10, 2 );

function additional_active_item_classes($classes = array(), $menu_item = false){

	if(in_array('current-menu-item', $menu_item->classes)){
		$classes[] = 'active';
	}

	return $classes;
}

ivorpad/Add Description To the Menu Using wp_nav_menu ( PHP)

// This goes in function.php

class My_Walker extends Walker_Nav_Menu
{
	function start_el(&$output, $item, $depth, $args) {
		global $wp_query;
		$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';

		$class_names = $value = '';

		$classes = empty( $item->classes ) ? array() : (array) $item->classes;

		$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) );
		$class_names = '';

		$output .= $indent . '<li id="menu-item-'. $item->ID . '"' . $value . $class_names .'>';

		$attributes  = ! empty( $item->attr_title ) ? ' title="'  . esc_attr( $item->attr_title ) .'"' : '';
		$attributes .= ! empty( $item->target )     ? ' target="' . esc_attr( $item->target     ) .'"' : '';
		$attributes .= ! empty( $item->xfn )        ? ' rel="'    . esc_attr( $item->xfn        ) .'"' : '';
		$attributes .= ! empty( $item->url )        ? ' href="'   . esc_attr( $item->url        ) .'"' : '';

		$item_output = $args->before;
		$item_output .= '<a'. $attributes .'>';
		$item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
		$item_output .= '<span>' . $item->description . '</span>';
		$item_output .= '</a>';
		$item_output .= $args->after;

		$output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
	}
}

// Then Display the Menu anywhere

	<?php
	$walker = new My_Walker; 
	wp_nav_menu( array( 
		'container_id' => 'mainmenu', 
		'menu_class' => 'sf-menu',
		'walker' => $walker
		)); 
	?>

chiesalo/Crear un menú horizontal con submenú desplegable ( JavaScript)

<link rel="stylesheet" type="text/css" href="../css/jqueryslidemenu.css" />	
	<script type="text/javascript" src="../js/jqueryslidemenu.js"></script>
<!--
function MM_jumpMenuGo(objId,targ,restore){ //v9.0
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}
//-->

	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>




<body>
		<!Inicia menú/submenú>  
			<div id="myslidemenu" class="jqueryslidemenu">
				<ul>
				<li><a href="file:///C:/Users/USUARIO/Desktop/Akyab_proyecto/html/quienes_somos.html" title="P&amp;aacute;gina Qui&amp;eacute;nes somos">Qui&amp;eacute;nes somos</a></li>
				<li><a href="file:///C:/Users/USUARIO/Desktop/Akyab_proyecto/html/index.html" title="P&amp;aacute;gina Tarifas">Tarifas</a>
				  <ul>
				  <li><a href="file:///C:/Users/USUARIO/Desktop/Akyab_proyecto/html/precios.html" title="P&amp;aacute;gina Precios">Precios</a></li>
				  <li><a href="file:///C:/Users/USUARIO/Desktop/Akyab_proyecto/html/promociones.html" title="P&amp;aacute;gina Promociones">Promociones</a></li>
				  </ul>
				</li>
				<li><a href="file:///C:/Users/USUARIO/Desktop/Akyab_proyecto/html/contacta.html" title="P&amp;aacute;gina Contacta">Contacta</a></li>
			</ul>
				<br style="clear: left" />
			</div>
		<!Finaliza menú/submenú>

smoothdzion/Hover Menu - No Wrap Submenu Items ( CSS)

ul li li{
  display: block;
  white-space: nowrap;
}

When creating a drop-down menu/hover menu, the subitems will usually go as wide as the parent li. To make them go as wide as the value of their containing li you have to add a white-space: nowrap.

If you still run into issues you may have to make sure you've assigned display:block to the li that is wrapping also.

indianocean/Highlight menu on hover with delay and display submenu ( JavaScript)

// attach events to all menu items
function addHooks() 
  {
  var menuLinks = document.getElementById('head_nav1').getElementsByTagName('a');

  for(var i = 0; i < menuLinks.length; i++) 
    {
    addEvent(menuLinks[i], "mouseover", activateMenuWithDelay);
    addEvent(menuLinks[i], "mouseout", deactivateMenu);
    }
  }

// helper for addHooks(), needed for different browser behaviour
function addEvent (elm, type, fnc) 
  {
	if (window.addEventListener) 
	  {
		elm.addEventListener(type, fnc, false);
	  }
	// IE
	else 
	  {
		elm.attachEvent("on" + type, fnc);
	  }
  }

function activateMenuWithDelay()
  {
  var oThis = this;
  var ident;
  
  // IE &amp; Opera
  if (window.event) 
    { 
    srcElm = window.event.srcElement;
    ident = srcElm.attributes["ident"].value;
    oThis = srcElm;
    } 
  // W3C DOM (FF, Mozilla, Safari)
  else 
    { 
    ident = this.attributes["ident"].value;
    }

  if(oThis.timer)
    {
    clearTimeout(oThis.timer);            
    }
  oThis.timer = setTimeout(function() { displaySubMenu.apply(oThis, [ident,oThis]); }, 130);
  }

function deactivateMenu()
{
  var oThis = this;
  
  // IE &amp; Opera
  if (window.event) 
  { 
    oThis = window.event.srcElement;
  } 
            
  if(oThis.timer)
  {
    clearTimeout(oThis.timer);
  }
}

  • Adjustable delay until menu appears to prevent accidental activation
  • Snipped out of production sources, needs some generalization.
  • http://alexle.net/archives/169
  • http://www.klevo.sk/javascript/javascripts-settimeout-and-how-to-use-it-with-your-methods/
  • http://www.tomanthony.co.uk/demo/delayedCSSmenu/

labsecrets/Using JQuery Tools to Add a Tabbed Submenu to Pages and Posts ( HTML)

TO USE THIS SNIPPET:
1) Copy the following CSS and then open your existing theme stylesheet and paste it at the very bottom of the sheet (The style sheet is typically located inside of directory "wp-content/themes/yourthemename/" and called "custom.css" if you are using one of our modified WooThemes or "style.css" for most other themes);

2) Copy the following HTML snippet and paste it into your new blog post or page, be SURE to use the HTML editor tab and NOT the visual editor tab (which will not accept code).


----------------Start CSS - Do Not Copy This Line --------------------------

/* Style for css-tabs Submenu */
/* root element for tabs  */
ul.css-tabs {  
	margin:0 !important; 
	padding:0;
	height:30px;
	border-bottom:1px solid #666;	 	
}

/* single tab */
ul.css-tabs li {  
	float:left;	 
	padding:0; 
	margin:0;  
	list-style-type:none;	
}

/* link inside the tab. uses a background image */
ul.css-tabs a { 
	float:left;
	font-size:13px;
	display:block;
	padding:5px 30px;	
	text-decoration:none;
	border:1px solid #666;	
	border-bottom:0px;
	height:18px;
	background-color:#efefef;
	color:#777;
	margin-right:2px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright:4px;
	position:relative;
	top:1px;	
}

ul.css-tabs a:hover {
	background-color:#F7F7F7;
	color:#333;
}
	
/* selected tab */
ul.css-tabs a.current {
	background-color:#ddd;
	border-bottom:2px solid #ddd;	
	color:#000;	
	cursor:default;
}

	
/* tab pane */
.css-panes div {
	display:none;
	border:1px solid #666;
	border-width:0 1px 1px 1px;
	min-height:150px;
	padding:15px 20px;
	background-color:#ddd;	
}

/* end css-tabs*/



----------------End CSS - Do Not Copy This Line --------------------------



----------------Start HTML - Do Not Copy This ----------------------------

<!-- include the Tools Library -->
<script src="http://cdn.jquerytools.org/1.2.3/jquery.tools.min.js?select=full&amp;debug=true"></script>

<!-- tabs -->
<ul class="css-tabs">
	<li><a href="#">First Tab Title</a></li>
	<li><a href="#">Second Tab Title</a></li>
	<li><a href="#">Third Tab Title</a></li>
</ul>

<!-- panes -->
<div class="css-panes">

	<div>
		<p>
                       Content inside first tab pane
		</p>			
	</div>
	
	<div>
		<p>
                       Content inside second tab pane
		</p>		
	</div>

	
	<div>
		<p>
                       Content inside third tab pane
		</p>		
	</div>
</div>

<!-- activate tabs with JavaScript -->

<script>
$(function() {
	// :first selector is optional if you have only one tabs on the page
	$(".css-tabs:first").tabs(".css-panes:first > div");
});
</script>


----------------End HTML - Do Not Copy This ----------------------------

ivorpad/Superfish - On click in the submenu remain open ( JavaScript)

$(function(){
    var menu = $("#nav");

    menu.find("ul.sf-menu")
        .superfish({
            delay:         0,
            speed:         'fast',
            autoArrows:    false,
            dropShadows:   false,
            onHide:        function(){
                if (this.parent().is('.sfPersist')) {
                    this.show().css('visibility','visible').parent().addClass('sfHover');
                }
            }
        })
        .find('li > ul > li').click(function(){
            // hide previously persistent children (LOL that just sounds wrong)
            menu.find('.sfPersist')
                .removeClass('sfPersist sfHover')
                .find('> ul').hide().css('visibility','hidden');

            // add children that should be persistent
            if ($(this).is('.sfSelected')) {
                // if previously selected, keep hidden
                menu.find('li.sfSelected').removeClass('sfSelected');
            } else {
                // Hide other selected classes
                menu.find('li.sfSelected').removeClass('sfSelected');
                // if newly selected, then show
                $(this)
                    .addClass('sfSelected') // remember which one is selected
                    .parent()
                    .show().css('visibility','visible')
                    .parent().addClass('sfHover sfPersist');
            }
        });
});

aikon/Wordpress Custom Sub Menu ( PHP)

<?php

/*
    Get the menu by id and location 
    then filter out current sub-menu
    
    menu: primary
*/

$menu = wp_nav_menu( array( 'menu_id' => 'primary', 'theme_location' => 'primary', 'echo'=>0 ) );
$menu = preg_match('/<li [^>]* current-menu-item|current-menu-parent [^>]*><a [^>]*>(?P<title>[^<]*)<\/a>[^<]*(?P<menu><ul class="sub-menu">.*<\/ul>)/s',$menu,$matches);

if(is_array($matches) && isset($matches['title']) && isset($matches['menu'])) {

	$menu 	= $matches['menu'];
	$title 	= $matches['title'];
	echo "<h3>".$title."</h3>";
	echo $menu;
}

When using custom menus, how can you extract a sidebar submenu? With a bit of Regex woodoo...

refined from this post: http://wordpress.org/support/topic/wpnavmenu-list-only-2nd-level-separate-submenu#post-1700224

Huskie/WordPress Custom Walker Class to get Sister Pages for Sub-Menu ( PHP)

/**
 * Custom Walker to extract current sub-menu
 */

class Custom_Walker_Nav_Sub_Menu extends Walker_Nav_Menu {

  var $found_parents = array();

function start_el(&amp;$output, $item, $depth, $args) {

		global $wp_query;
		
		//this only works for second level sub navigations
		$parent_item_id = 0;

		$indent = ( $depth ) ? str_repeat( "\t", $depth ) : '';

		$class_names = $value = '';

		$classes = empty( $item->classes ) ? array() : (array) $item->classes;	

		$class_names = join( ' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) );
		$class_names = ' class="' . esc_attr( $class_names ) . '"';
		
		
	 if ( ($item->menu_item_parent==0) &amp;&amp; (strpos($class_names, 'current-menu-parent')) ) { 
		 $output.= '
<li>';
		 }


		// Checks if the current element is in the current selection
		if (strpos($class_names, 'current-menu-item')
			|| strpos($class_names, 'current-menu-parent')
			|| strpos($class_names, 'current-menu-ancestor')
			|| (is_array($this->found_parents) &amp;&amp; in_array( $item->menu_item_parent, $this->found_parents )) ) {

			// Keep track of all selected parents
			$this->found_parents[] = $item->ID;

			//check if the item_parent matches the current item_parent
			if($item->menu_item_parent!=$parent_item_id){

				$output .= $indent . '<li id="menu-item-'. $item->ID . '"' . $value . $class_names .'>';

				$attributes  = ! empty( $item->attr_title ) ? ' title="'  . esc_attr( $item->attr_title ) .'"' : '';
				$attributes .= ! empty( $item->target )     ? ' target="' . esc_attr( $item->target     ) .'"' : '';
				$attributes .= ! empty( $item->xfn )        ? ' rel="'    . esc_attr( $item->xfn        ) .'"' : '';
				$attributes .= ! empty( $item->url )        ? ' href="'   . esc_attr( $item->url        ) .'"' : '';

				$item_output = $args->before;
				$item_output .= '<a'. $attributes .'>';
				$item_output .= $args->link_before . apply_filters( 'the_title', $item->title, $item->ID ) . $args->link_after;
				$item_output .= '</a>';
				$item_output .= $args->after;
				
				$output .= apply_filters( 'walker_nav_menu_start_el', $item_output, $item, $depth, $args );
			}
			
			
		}
	}
	
	function end_el(&amp;$output, $item, $depth) {
	  // Closes only the opened li
	  if ( is_array($this->found_parents) &amp;&amp; in_array( $item->ID, $this->found_parents ) ) {
	      $output .= "</li>\n";
    }
  }

  function end_lvl(&amp;$output, $depth) {
    $indent = str_repeat("\t", $depth);
    // If the sub-menu is empty, strip the opening tag, else closes it
    if (substr($output, -22)=="<ul class=\"sub-menu\">\n") {
      $output = substr($output, 0, strlen($output)-23);
    } else {
      $output .= "$indent</ul>\n";
    }
  }
  
}

No modifications or testing carried out yet.

jitendraweb/suckerfish dropdown menu for Joomla 1.5 | joomla 1.5 tutorials ( CSS)

/* =======================================
    Top Menu aka Main Menu
    ======================================= */
    .moduletable_topmenu{
       padding:0;
       color: #333;
       height: 30px;
       margin: 0;
       width: 500px;
       font-size: 90%
    }

    .moduletable_topmenu h3 {
       background:#666;
       color:#fff;
       padding:0.25em 0;
       text-align:center;
       font-size:1.1em;
       margin:0;
    }

    .moduletable_topmenu ul{
       list-style: none;
       margin: 0;
       padding: 0;
    }

    .moduletable_topmenu li{
       margin: 0px 15px 0px 0px;
       float: left;
    }
    .moduletable_topmenu li ul {
       position: absolute;
       width: 135px;
       left: -999em;
       border: 1px solid #474748;
       border-bottom: none;
       top: 22px;
    }
    .moduletable_topmenu li:hover ul {
       left: auto;
    }
    .moduletable_topmenu li ul li {
       width: 135px;
       padding: 0;
       border-bottom: 1px solid #474748;
    }

    .moduletable_topmenu li a{
       display: block;
       padding: 5px;
       background-color:#fff;
       color: #000;
       font-weight: bold;
       text-decoration: none;
    }
    html>body .moduletable_topmenu li a {
       width: auto;
    }

    .moduletable_topmenu li ul li a {
       width: 125px;
       background-color: #221f20;
       color: #fff;
       /* ---
       filter:alpha(opacity=80);
       -moz-opacity: 0.8;
       opacity: 0.8;*/
    }


    .moduletable_topmenu li a:hover,a#active_menu:link,a#active_menu:visited{
       color: #e22f00;
       text-decoration: none;
       /* ---
       filter:alpha(opacity=100);
       -moz-opacity: 1.0;
       opacity: 1.0;*/
    }

    .moduletable_topmenu li ul li a:hover {
       background-color: #e22f00;
       color: #fff;
       background: url(../images/top_link_bg2_on.png) repeat-y top left;
    }

    .moduletable_topmenu li:hover ul, .moduletable_topmenu li.sfhover ul {
       left: auto;
    }


    .moduletable_topmenu ul li.active a {
       color: #038fd9;
       text-decoration: none;
    }
    .moduletable_topmenu li.parent.active a {
       color: #038fd9;
       text-decoration: none;
    }
    .moduletable_topmenu li.parent.active a:hover {
       color: #e22f00;  
    }

    .moduletable_topmenu li.parent.active ul li a {
       color: #fff;
       text-decoration: none;
    }
    .moduletable_topmenu li.parent.active ul li a:hover {
       color: #fff;
       text-decoration: none;
    }
4) To make this really work there are several things that need to be done, follow along because it requires you editing the index.php file (your template file, now understand that I created my own template) and also adding some js into your template.

In your index.php file it's important to note the name of the div tag that holds your top module position . For example here in my index.php I have code that looks like this:

 <div id="header">
   <div id="header_container">
      <div id="top_menu">
         <jdoc:include type="modules" name="top" style="xhtml" />
      </div>
      <div id="logo">
         <a href="http://patronsaintmedia.com" title="Patron Saint Media"><img src="templates/<?php echo $this->template; ?>/images/logo.png" width="107" height="103" /></a>
      </div>
   </div>
</div>

Notice the div with the id of "top_menu". 

        <div id="top_menu">
           <jdoc:include type="modules" name="top" style="xhtml" />
        </div>
     
    This is important because in order to get the suckerfish dropdown in IE to work we need to reference the id of the container for that menu. so instead of placing the id in the

          like they do in the typical suckerfish article we will place it in the div tag for the module that will be used ONLY for the holding of the top menu. Yes this is a dirty trick but none the less it works.

          Now create a js file, I call mine custom_lib.js and add the following code into it:
        sfHover = function()
        {
           var sfEls = document.getElementById("top_menu").getElementsByTagName("LI");
           for (var i=0; i<sfEls.length; i++)
           {
              sfEls[i].onmouseover=function()
              {
                 this.className+=" sfhover";
              }

              sfEls[i].onmouseout=function()
              {
                 this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
              }
           }
        }
        if (window.attachEvent) window.attachEvent("onload", sfHover);
    Place that js file in a folder (within a chosen template you're using) and name that folder "js".

    In your chosen template ad this to the head tag:
         <script type="text/javascript" src="templates/<?php echo $this->template; ?>/js/custom_lib.js"></script>
     
    5) You're good to go now just modify the styles within the css file and you should be good to go!

here's the suckerfish dropdown menu for Joomla 1.5 that written by tbianco. It's extremely easy and here's what you need to do:

1) Create the main menu module and add a suffix to it of 'topmenu'. I use the underscore to so that the class name in the css is now ".moduletabletopmenu" I want to make sure in my code there is a seperation from the typical ".moduletable" and ".moduletable_topmenu". Besides it's REALLY bad coding practice to run words together unless you are camelCasing them. I am just used to ruby so I have using the underscore for variable names.

2) While in the module for your main menu (under module manager) be sure to check YES for "Always show sub-menu Items". It's in the module param section.

3) It's time to place the CSS code onto the page: (I added the opacity ability just in case you wanted to make the sub menus transparent)

nerdfiles/Stylish on informationphilosopher.com ( HTML)

/**
  * informationphilosopher.com re-style
  *
  * Tab twice to start at "Introduction" and so on to navigate
  * 
  * @author  nerdfiles
  * @date     04-18-2012
  */


/**
  * Fonts
  */

/* PT Mono */

@import url(http://fonts.googleapis.com/css?family=PT+Mono);

/* Philosopher (obv) */

@import url(http://fonts.googleapis.com/css?family=Philosopher);


/**
  * wat
  */

body {
  overflow-x: hidden;
}


/**
  * Behaviors
  */

input:focus {
  outline: none;
}


/**
  * Anchors
  * 
  * ...are pretty...
  */

a {
  color: #CA5554;
}

a:visited { 
  color: #CA5554;
}

a:focus {
  outline: none;
  position: relative;
  color: #333 !important;
}

a:focus:before {
  content: "*";
  top: -.5em;
  left: .25em;
  color: #CA5554;
}

body > a:focus:before {
  content: "" !important;
}

#logo a:focus:before {
  content: "" !important;
}

a[href*="skipnav"]:focus:before {
  content: "" !important;
}


/**
  * Main Container
  * 
  * Casted as a table
  */

table[width="765"] {
  width: 90%;
}


/**
  * Left Column
  * 
  * Casted in a table
  */

table[width="765"] tr td:nth-child(1) {
  width: 20%;
  height: 50%;
  padding: 0;
  margin: 0;
}


/**
  * Left Column (guts)
  * 
  * Casted in a table
  */

table[width="765"] tr td:nth-child(1) #column1 { 
  width: 10px;
  height: 50%;
  background-color: #fff;
  padding: 0;
  margin: 0;
  font-family: 'PT Mono', sans-serif;
  position: fixed;
  overflow: hidden;
  border-top: 1px #e0e0e0 solid;
  border-right: 1px #e0e0e0 solid;
  border-bottom: 1px #e0e0e0 solid;
  padding-right: 10px;
  bottom: 10px;
  z-index: 9001;
}

table[width="765"] tr td:nth-child(1) #column1:before {
  content: "Author Index";
  margin-top: -30px;
  position: absolute;
}

table[width="765"] tr td:nth-child(1) #column1:hover {
  width: 20%;
}

table[width="765"] tr td:nth-child(1) #column1:hover div.linksLeftCol {
  width: 100%;
}

div.linksLeftCol {
  padding: 5px;
  margin: 0;
  background-color: #fff;
  border: none;
  height: 100%;
  position: relative;
  width: 10px;
  overflow: scroll;
}

div.linksLeftCol:hover {
  width: 100%;
}

div.linksLeftCol br {
  display: none;
}

.linksLeftCol a,
.linksLeftCol a:link {
  display: block;
  padding-left: 0px;
  font-size: 14px; 
  color: #333;
  padding: 7px 0;
  opacity: .7;
}

.linksLeftCol a:hover {
  opacity: 1;
  font-size: 18px;
}

.linksLeftCol a:visited { 
  color: #666;
}


/**
  * Right Column (bodycopy)
  * 
  * Casted in a table
  */

table[width="765"] tr td:nth-child(2) {
  width: 100%;
}


/**
  * Site Header
  * 
  * Some div
  */

#header-wrapper {
  width: 700px;
  padding: 0;
  margin: 0;
  background: #fff;
}

#header {
  width: 700px;
  margin: 0;
  padding: 0;
  background: #fff;
}


/**
  * Site Logo
  * 
  * prestologo!
  */

#logo {
  top: 10px;
  left: 30px;
  position: absolute;
  color: #2B2840;
}

#logo a {
  display: none;
}

#logo img {
  display: none;
}

#logo:after {
  font-family: 'PT Mono', sans-serif;
  content:"Information Philosopher";
  font-size: 30px;
  color: #2B2840;
}


/**
  * Main Menu
  * 
  * Some div
  */

div#main-menu {
  top: 60px;
  left: 30px;
  width: auto;
  font-size: 24px;
}

div#main-menu ul {
  padding: 0;
  margin: 0;
  width: auto;
  position: relative;
  left: -5px;
}

div#main-menu ul li {
  width: auto;
  border: none;
  padding: 0;
  margin: 0 0 0 20px;
}
div#main-menu ul li:nth-child(1) { 
  padding-left: 0 !important;
  margin-left: 0 !important;
}
div#main-menu ul li:nth-child(1) a {
  padding-left: 0 !important;
}

div#main-menu ul li a {
  font-family: 'PT Mono', sans-serif;
  color: #77635F;
  padding: 0 10px 0 0 !important;
  border-right: 2px #e0e0e0 solid;
}

div#main-menu ul li:last-child { 
  
}

div#main-menu ul li:last-child a { 
  border-right: none;
}

/**
  * Submenu
  * 
  * Called by js?
  */

#introduction.menu {
  padding: 0;
  margin: 0;
}
#introduction.menu a {
  position: relative;
  padding-left: 15px;
}

div.menu { 
  background: #fff;
  border-bottom: 1px #e0e0e0 solid !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

div.menu a.menuItem:link,
div.menu a.menuItemSecure:link,
div.menu a.menuItem:visited {
  background: #fff;
  font-family: 'PT Mono', sans-serif;
  color: #77635F;
}

div.menu a.menuItem:hover {
  color: #333;
  text-decoration: underline;
}


/**
  * Site Menu
  * 
  * Horribly structurally marked up 
  */

td.search[nowrap] {
  position: absolute;
  top: 10px;
  right: 12%;
  /*background: #999;
  color: #fff;
  border-radius: 2px;*/
  color: #333;
  font-family: 'PT Mono', sans-serif;
  background: #fff;
  padding: 13px 8px 4px;
  /*margin-left: 300px;*/
}

td.search[nowrap] a {
  text-decoration: none;
  font-family: 'PT Mono', sans-serif;
}


/**
  * I don't even fucking know (search container)
  * 
  * Casted in a table!!
  */

td.search[align="right"] {
  background: #fff;
  text-align: left;
}

td.search[align="right"] a {
  text-decoration: none;
  padding: 5px 8px;
}

td.search[align="right"] a:hover {
  background: #e0e0e0;
}


/**
  * Search 
  * 
  * Originally to the far right under header
  */

div#search_bar.search {
  width: auto;
  background: #fff;
}

div#search_bar.search a {
  color: #333;
  color: #BFB1A1;
  text-transform: uppercase;
  font-family: 'PT Mono', sans-serif;
}


/**
  * "SkyFooter"
  * 
  * This really takes the cake
  */

form.skyFooterForm { 
   
}

form.skyFooterForm input { 
  border-bottom: 1px #e0e0e0 solid;
  padding: 5px;
}


/**
  * "body copy" (body copy)
  * 
  * More cake
  */

div.bodycontent,
#column23 { 
  font-family: 'Philosopher', cursive;
  color: #333;
  padding: 30px 40px;
  line-height: 1.834;
  font-size: 16px;
}

#column23 a { 
  color: #CA5554;
}

#column23 a:visited { 
  color: #77635F;
}

div.bodycontent img[align="right"] {
  float: right;
  margin: 0 0 1em 1em;
}

#column23 div.bodycontent div.chaptertitle { 
  font-family: 'Philosopher', cursive;
  color: #333;
  line-height: 1;
  font-size: 82px;
  margin-bottom: 40px;
}

#column23 div.breadcrumbs { 
  font-family: 'Philosopher', cursive;
  color: #333;  
}

#column23 div.breadcrumbs a,
#column23 div.breadcrumbs a:link {
  color: #CA5554;
  text-decoration: none;
}

#column23 div.breadcrumbs a:visited {

}

#column23 div.bodycontent > div:nth-child(1) {
  position: relative;
  left: 0px;
}

/**
  * Date
  */

div.bodycontent div.breadcrumbs:nth-child(3) {
  position: relative;
  top: -30px;
}

div.sectiontitle {
  color: #333;
  font-family: 'Philosopher', cursive;
}

div.subsectiontitle {
  color: #333;
}

div.bodytext { 
  font-family: 'Philosopher', cursive;
  color: #333;
  line-height: 1.834;
  margin: 1em 0;
}

div.bodytext p {
  margin: 1em 0;
}

div.bodytext blockquote,
#column23 blockquote {
  font-family: 'Philosopher', cursive;
  margin: 1.2em 1em;
  line-height: 1.834;
  background: #e0e0e0;
  padding: 1em 1.4em;
}

#column23 blockquote:contains(''),
div.bodytext blockquote:contains(''),
blockquote:contains('') {
  display: none !important;
}

/**
  * Page Nav
  * 
  * @see http://www.iconfinder.com/ajax/download/png/?id=43221&s=128
  */

table.footernav td a,
table.footernav td a:link { 
  color: #333; 
  opacity: .6;
  text-decoration: none;
}
table.footernav td a:hover {
  opacity: 1;
}
table.footernav td a:visited { 
color: #333;
}

/**
  * Top Left
  *
  * @see http://www.iconfinder.com/icondetails/43221/128/arrow_black_go_monotone_right_solid_icon
  */

table.footernav tr:first-child td[align="left"],
table.footernav tr:nth-child(2) td[align="left"] { width: 50%; }
table.footernav tr:first-child td[align="left"] img,
table.footernav tr:nth-child(2) td[align="left"] img { display: none; }
table.footernav tr:first-child td[align="left"] a:nth-child(1),
table.footernav tr:nth-child(2) td[align="left"] a:nth-child(1) { display: none; }
table.footernav tr:first-child td[align="left"] a,
table.footernav tr:nth-child(2) td[align="left"] a { 
  padding: 30px 40px 30px 70px;
  display: inline-block; 
  font-size: 16px;
  background: url('http://www.iconfinder.com/ajax/download/png/?id=43218&s=128') left center no-repeat;
  background-image: url('http://www.iconfinder.com/ajax/download/png/?id=50798&s=64');
}

/**
  * Top Right
  *
  * @see http://www.iconfinder.com/icondetails/43221/128/arrow_black_go_monotone_right_solid_icon
  */

table.footernav tr:first-child td[align="right"],
table.footernav tr:nth-child(2) td[align="right"] {
width: 50%; 
text-align: right; 
}
table.footernav tr:first-child td[align="right"] img,
table.footernav tr:nth-child(2) td[align="right"] img { display: none; }
table.footernav tr:first-child td[align="right"] a:nth-child(2),
table.footernav tr:nth-child(2) td[align="right"] a:nth-child(2) { display: none; }
table.footernav tr:first-child td[align="right"] a,
table.footernav tr:nth-child(2) td[align="right"] a {
  text-align: right; 
  background: url('http://www.iconfinder.com/ajax/download/png/?id=43221&s=128') right center no-repeat;
  background-image: url('http://www.iconfinder.com/ajax/download/png/?id=50794&s=64');
  padding: 30px 70px 30px 40px;
  display: inline-block; 
  font-size: 16px;
}

/**
  * Bottom Left
  *
  * @see http://www.iconfinder.com/icondetails/43221/128/arrow_black_go_monotone_right_solid_icon
  */

table.footernav tr:last-child td[align="left"] { width: 50%; }
table.footernav tr:last-child td[align="left"] img { display: none; }
table.footernav tr:last-child td[align="left"] a:nth-child(1) { display: none; }
table.footernav tr:last-child td[align="left"] a {  
  padding: 30px 40px 30px 70px;
  display: inline-block; 
  font-size: 20px;
  background: url('http://www.iconfinder.com/ajax/download/png/?id=43218&s=128') left center no-repeat;
  background-image: url('http://www.iconfinder.com/ajax/download/png/?id=50784&s=64');
}


/**
  * Bottom Right
  */

table.footernav tr:last-child td[align="right"] { width: 50%; text-align: right; }
table.footernav tr:last-child td[align="right"] img { display: none; }
table.footernav tr:last-child td[align="right"] a:nth-child(2) { display: none; }
table.footernav tr:last-child td[align="right"] a { 
  background: url('http://www.iconfinder.com/ajax/download/png/?id=43221&s=128') right center no-repeat;
  background-image: url('http://www.iconfinder.com/ajax/download/png/?id=50785&s=64');
  padding: 30px 70px 30px 40px;
  display: inline-block; 
  font-size: 20px;
}


/**
  * Footer
  */

#footer { 
bottom: 0;
right: 0;
width: auto;
padding: 0 0 20px 0;
text-align: right; 
background: #fff; 
color: #BFB1A1;  }
#footer a { 
  font-family: 'PT Mono', sans-serif;
  color: #BFB1A1; 
  border: none; 
  display: inline-block; }
#footer a:visited { color: #333; }
.footernav td { width: auto !important; }
.footernav { 
  border-bottom: 1px #e0e0e0 solid;
  border-top: 1px #e0e0e0 solid; margin: 30px 0; }
.skyFooter { border: 1px solid gold; background: #fff; display: none; }
hr { display: none; }


/**
  * Reader Level Styles
  */

.reader_level_1 { margin-top: 100px; border-top: 1px #e0e0e0 solid; }
.reader_level_2 { border-top: 1px #e0e0e0 solid; }


#column23 .glossRefs { 
  color: #333; 
  padding: 20px 0;
  border-top: 3px #e0e0e0 double;
  border-bottom: 3px #e0e0e0 double;
}

#column23 .glossRefs a {
  color: #BFB1A1;
}

CSS facelift for informationphilosopher.com (via Stylish)

dividespace/rMenu.css ( CSS)

@charset "iso-8859-1";

/*******************************************************************************
*  rMenu.css : 2006.10.17 : ruthsarian@gmail.com
* ------------------------------------------------------------------------------
* Ruthsarian Menus - A CSS-based dropdown menu system
*
* <insert long, boring ramble here>
*
* KNOWN BUGS
*	- Opera 7.23 and earlier have problems with absolutely positioned 
*	  elements positioned relative to a parent element. this causes a
*	  problem with right-aligned horizontal menus. stay away from those
*	  types of menus if you've got any reason to care about Opera 7.23 or
*	  earlier versions.
*
* DEV NOTES
*	- setting position: relative; to ul.rMenu triggers a bug in Netscape 7
*	  and earlier that makes content jump as menus pop
*	- need to remember that when assigning multiple classes to an element
*	  to list them left-to-right from most-specific to least-specific.
*	  Otherwise IE/Mac flips out
*	- IE/Mac needs whitespace before <UL> and </UL> tags in the markup
*	  otherwise very odd things can happen
*	- hasLayout should not be triggered on LI elements under IE7
*	- IE/Mac has a selector bug where rMenu-v* and rMenu-h* rules
*	  are applied to rMenu-v and rMenu-h elements. ie rMenu-vRight rules
*	  get applied to rMenu-v elements. This is incorrect.
*	- if any parent element of the menu is a float it (or the parent of
*	  the menu) needs to be relatively positioned. Otherwise the menu
*	  is not rendered on the page.
*
* EXAMPLE HTML
*	<ul class="rMenu-hor rMenu"
*	  ><li
*	    ><a href="">Menu Item</a
*	    > <ul class="rMenu-ver"
*	      ><li
*	        ><a href="">Menu Item</a
*	      ></li
*	      ><li
*	        ><a href="">Menu Item</a
*	      ></li
*	    > </ul
*	  ></li
*	  ><li
*	    ><a href="">Menu Item</a
*	  ></li
*	 > </ul>
*
* ------------------------------------------------------------------------------
*  This stylesheet is released into the public domain.
*******************************************************************************/

/*******************************************************************************
 * General Menu Mechanics
 *
 * Below is a set of rules which is applicable to any list used within
 * this dropdown menu system. You could apply just these rules and get
 * a basic dropdown menu system working just fine in FireFox, Opera,
 * Safari, and most other modern browsers.
 */
ul.rMenu, ul.rMenu ul, ul.rMenu li, ul.rMenu a
{
	display: block;		/* make these objects blocks so they're easier
				   to deal with */
	margin: 0;
	padding: 0;		/* get rid of padding/margin values that these
				   elements may have by default */
}
ul.rMenu, ul.rMenu li, ul.rMenu ul
{
	list-style: none;	/* proper browsers don't require this because
				   block elements (see previous rule set) cannot
				   take any list-style property. meaning 
				   existing list-style properties are removed
				   when they are set to display: block. IE7 
				   seems to ignore this fact under certain
				   situations so we explicitly set it here
				   even though it's, technically, incorrect 
				   CSS (but it will validate). */
}
ul.rMenu ul
{
	display: none;		/* hide the sub-menus until needed */
	position: absolute;	/* remove the sub-menus from the flow of the
				   layout so when they pop they don't cause any
				   disfiguration of the layout */
}
ul.rMenu li
{
	position: relative;	/* so sub-menus position relative to their 
				   parent LI element */
}
ul.rMenu li:hover
{
	z-index: 999;		/* make sure this and any sub-menus that pop 
				   appear above everything else on the page */
}
ul.rMenu li:hover > ul
{
	display: block;		/* show the sub-menu */
}

/*******************************************************************************
 * Extended Menu Mechanics
 *
 * These rules exist only for specific menu types, such as horizontal or
 * vertical menus, right or left aligned menus.
 */
ul.rMenu-hor li
{
	float: left;
	width: auto;
}
ul.rMenu-hRight li
{
	float: right;		/* horizontal, right menus need their LI
				   elements floated to get them over there */
}
ul.rMenu-ver li
{
	float: none;		/* clear this so vertical sub-menus that are
				   children of horizontal menus won't have
				   their LI widths set to auto. */
}
ul.rMenu-ver, ul.rMenu-ver ul
{
	width: 10em;		/* sub-menus need a defined width, especially
				   vertical sub-menus. salt to taste. */
}
ul.rMenu-wide
{
	width: auto;		/* apply this rule if you want the top-level
				   menu to go as wide as possible. this is 
				   something you might want if your top-level
				   is a vertical menu that spans the width
				   of a column which has its width 
				   pre-defined. */
}
ul.rMenu-vRight
{
	float: right;		/* use this to float a vertical menu right. */
}
ul.rMenu-lFloat
{
	float: left;		/* use this to float a vertical menu left. */
}
ul.rMenu-noFloat
{
	float: none;		/* this is to cover those cases where a menu
				   is floated by default and you have a reason
				   to not float it. such as a menu on the
				   right side of the screen that you want 
				   to have drops going left but not floated.
				   to be honest, i don't think this rule is 
				   needed. the clearfix hack will resolve
				   renering issues associated with a floated
				   menu anyways. */
}

/*******************************************************************************
 * DROP POSITIONS
 *
 * This handles where sub-menus drops relative to the parent element. The same
 * attributes should be set in all rule sets in this section so that cascading
 * rules don't create problems.
 */
ul.rMenu-hor ul
{
	top: auto;		/* a value of 100% creates a problem in IE 5.0 
				   and Opera 7.23 */
	right: auto;
	left: auto;		/* typically want a value of 0 here but set to
				   auto for same reasons detailed above */
	margin-top: -1px;	/* so the top border of the dropdown menu 
				   overlaps the bottom border of its parent
				   horizontal menu. */
}
ul.rMenu-ver ul
{
	left: 60%;
	right: auto;
	top: auto;
	margin-top: -0.5em;	/* i prefer top: 80% but this creates a problem
				   in iCab so negative top margin must be used.
				   salt to taste. */
}
ul.rMenu-vRight ul, ul.rMenu-hRight ul.rMenu-ver ul
{
	left: -60%;
	right: auto;
	top: auto;
	margin-top: -0.5em;	/* i prefer top: 80% but this creates a problem
				   in iCab so negative top margin must be used.
				   salt to taste. */
}
ul.rMenu-hRight ul
{
	left: auto;
	right: 0;		/* this doesn't work in Opera 7.23 but 7.5 and
				   beyond work fine. this means right-aligned
				   horizontal menus break in Opera 7.23 and
				   earlier. no workaround has been found. */
	top: auto;
	margin-top: -1px;	/* so the top border of the dropdown menu 
				   overlaps the bottom border of its parent
				   horizontal menu. */
}

/*******************************************************************************
 * PRESENTATION : General
 *
 * This is where the visual presentation of the menu is handled. If you try to
 * alter the borders width or location of placement pay close attention to the
 * notes provided with the existing CSS rules in this section. There are key
 * reasons behind borders and negative margins being placed where they are.
 */
ul.rMenu li a
{
	border: solid 1px #99f	/* border around all anchor tags */
}
ul.rMenu-hor li
{
	margin-bottom: 0;	/* remove any negative bottom margin if the
				   horizontal menu is child of a vertical 
				   menu */
	margin-left: -1px;	/* negative borders on LIs to make borders on
				   child A elements overlap. they go here and
				   not on the A element for compatibility
				   reasons (IE6 and earlier) */
}
ul.rMenu-h
{
	padding-left: 1px ;	/* compensate for the 1px left jog created by
				   the above negative margin. */
}
ul.rMenu-ver li
{
	margin-left: 0;
	margin-top: -1px;	/* same thing above except for vertical
				   menus */
}
ul.rMenu-ver
{
	border-top: solid 1px #fff;	/* ditto */
}
ul.rMenu li a
{
	padding: 2px 5px 3px;	/* 2px top, 3px bottom always seems to
				   provide the most visually balanced 
				   padding */
}
ul.rMenu li a:link, ul.rMenu li a:hover, ul.rMenu li a:visited, ul.rMenu li a:active
{
	text-decoration: none;
}
ul.rMenu li.sfhover a:active,
ul.rMenu li:hover a:active
{
	color: #fff;
	background-color: #c00;
}
ul.rMenu li
{
	background-color: #ddf;	/* default background color of menu items */
}
ul.rMenu li:hover,
ul.rMenu li.sfhover
{
	background-color: #eda;	/* background color for parent menu items of
				   the current sub-menu. includes the sfhover
				   class which is used in the suckerfish hack
				   detailed later in this stylesheet. */
}
ul.rMenu li a:hover
{
	background-color: #ffc;
}

/*******************************************************************************
 * PRESENTATION : Expand
 *
 * the bits below implement a graphic to appear on those anchor elements which 
 * have the rMenu-expand class assigned. this is something you have to do
 * manually on any LI element containing a UL element that is to be a dropdown 
 * menu. there is no mechanism to do this automatically.
 *
 * the seemingly redundant CSS is done for reasons similar to the suckerfish
 * css. it's to deal with all sorts of nested menu issues. it'll work as far
 * as three levels deep, after that all bets off.
 */
ul.rMenu li.rMenu-expand a,
ul.rMenu li.rMenu-expand li.rMenu-expand a,
ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a
{
	padding-right: 25px;
	background-image: url("expand-right.gif");
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
ul.rMenu-vRight li.rMenu-expand a,
ul.rMenu-vRight li.rMenu-expand li.rMenu-expand a,
ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
ul.rMenu-hRight li.rMenu-expand a,
ul.rMenu-hRight li.rMenu-expand li.rMenu-expand a,
ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand a
{
	padding-right: 5px;
	padding-left: 20px;
	background-image: url("expand-left.gif");
	background-repeat: no-repeat;
	background-position: -5px 50%;
}
ul.rMenu-hor li.rMenu-expand a
{
	padding-left: 5px;	/* reset padding */
	padding-right: 15px;
	background-image: url("expand-down.gif");
	background-position: 100% 50%;
}
ul.rMenu li.rMenu-expand li a,
ul.rMenu li.rMenu-expand li.rMenu-expand li a,
ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li a
{
	background-image: none;
	padding-right: 5px;	/* reset padding */
	padding-left: 5px;	/* reset padding */
}

/*******************************************************************************
 * HACKS : General
 *
 * These are rules specifically targeted to resolve bugs/quirks that some
 * browser exhibit.
 */
* html ul.rMenu
{
	display: inline-block;	/* this is for IE/Mac. it forces IE/Mac to 
				   expand the element's dimensions to contain 
				   its floating child elements without a 
				   clearing element. */
	/* \*/ display: block;	/* override above rule for every other 
				   browser using IE/Mac backslash hack */
	position: relative;	/* IE 5.0/Mac needs this or it may clip the
				   dropdown menus */
	/* \*/ position: static;/* reset position attribute for IE/Win as it
				   causes z-index problems */
}
* html ul.rMenu ul
{
	float: left;		/* IE/Mac 5.0 needs this and IE/Win 6 and earlier
				   don't show any problems with applying this 
				   rule. */
}
ul.rMenu ul
{
	background-color: #fff;	/* IE/Win (includeing 7) needs this on an object 
				   that hasLayout so that it doesn't "look through"
				   the menu and let any object (text) below the 
				   menu to gain focus, causing the menu to 
				   disappear. application of this rule does not
				   cause any rendering problems with other browsers
				   as the background color his covered by the
				   menu itself. */
}
* html ul.rMenu-ver li,
* html ul.rMenu-hor li ul.rMenu-ver li
{
				/* the second selector in this rule is there 
				   because of problems IE/Mac has with 
				   inheritance and what rules should take
				   precedence. and to serve as a reminder on
				   how to work around the issue if it's 
				   encountered again down the road. */
	width: 100%;
	float: left;
	clear: left;		/* IE6 (and earlier?) stick space below any LI
				   in :hover state with a sub-menu. floating
				   the LIs seems to work around this issue. But
				   note that this also triggers hasLayout 
				   because we need a width of 100% on floats.
				   But hasLayout on LIs breaks the menu in IE7.
				   So we really need to be careful not to let
				   floats get into anything other than IE6
				   and earlier. IE Mac seems to need this
				   too for some other reason. */
}
ul.rMenu-ver li a
{
	min-width: 0;		/* trigger hasLayout for IE7 on anchor 
				   elements. without hasLayout on anchors
				   they would not expand the full width 
				   of the menu. this rule may not trigger
				   hasLayour in later versions of IE and
				   if you find this system broken in new
				   versions of IE, this is probably the
				   source. */
}
* html ul.rMenu-ver li a
{
	height: auto;		/* triggers hasLayout for IE/Mac */
	/* \*/ height: 100%;	/* trigger hasLayout for IE6 and earlier. does
				   not work for IE7 */
}
* html ul.rMenu-h
{	/* hide from IE Mac \*/
	padding-left: 2px;	/* IE6 and earlier double the negative margins
				   on the LI elements of horizontal menus. this
				   is because the LIs float but the parent
				   isn't floating. this can be fixed by floating
				   rMenu-hor but I'd rather not float it so I just
				   double up the padding used to compensate. */
}
* html ul.rMenu-hor li
{
	width: 6em;		/* IE Mac doesn't do auto widths so specify a width 
				   for the sake of IE/Mac. Salt to taste. */
	/* \*/ width: auto;	/* now undo previous rule for non Macs by using 
				   the IE Mac backslash comment hack */
}

/*******************************************************************************
 * HACKS : Suckerfish
 *
 * IE6 and earlier do not support the :hover pseudoclass and so javascript is 
 * used to add the "sfhover" class of any LI element that the mouse is currently 
 * over. This method is called suckerfish and you can read up on it at:
 * http://www.htmldog.com/articles/suckerfish/dropdowns/
 *
 * NOTE: this allows for support of dropdown menus up to 3 levels deep. if you 
 *	 want to support greather menu depth you need to alter these selectors. 
 *	 read the above mentioned website for more info on how to do that.
 */
* html ul.rMenu li.sfhover
{
	z-index: 999;
}
* html ul.rMenu li.sfhover ul ul, 
* html ul.rMenu li.sfhover ul ul ul
{ 
	display: none;		/* IE/Suckerfish alternative for browsers that
				   don't support :hover state on LI elements */
}
* html ul.rMenu li.sfhover ul, 
* html ul.rMenu li li.sfhover ul, 
* html ul.rMenu li li li.sfhover ul
{
	display: block;		/* ^ ditto ^ */
}

/*******************************************************************************
 * HACKS : Clearfix
 *
 * Clearfix provides a means to for an element to contain all it's floated 
 * children even if it's not normally tall enough to do so. For more information
 * on clearfix please see:
 * http://www.positioniseverything.net/easyclearing.html
 */
.clearfix:after
{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix
{
	min-width: 0;		/* trigger hasLayout for IE7 */
	display: inline-block;
	/* \*/	display: block;	/* Hide from IE Mac */
}
* html .clearfix
{
	/* \*/  height: 1%;	/* Hide from IE Mac */ 
}

/******************************************************************************/

Ruthsarian Menus - A CSS-based dropdown menu system

Garciat/Canibal CSS Fixed ( CSS)

/*************************************************************
A - SETUP
**************************************************************/

/* Start from scratch
-------------------------------------------------------------*/

html, body, /* remove this line if necessary for site integration */
.brd div, .brd p, .brd dl,.brd dt,.brd dd, .brd ul, .brd ol, .brd li,
.brd h1,.brd h2,.brd h3, .brd h4, .brd h5, .brd h6, .brd pre,
.brd form, .brd fieldset, .brd legend, .brd blockquote,
.brd table, .brd th, .brd td {
	margin:0;
	padding:0;
	text-align: left;
	}

.brd fieldset, .brd img, .brd cite {
	border: 0;
	}

.brd br, .brd hr, .brd .hr, .brd .hidden {
	display: none;
	}

.brd table {
	width: 100%;
	table-layout: fixed;
	empty-cells: show;
	}

/* Text Setup (Equalise everything before styling)
-------------------------------------------------------------*/

body {
	font-size: 100%;
	}

.brd-page {
	font: 75%/1.5em Verdana, Helvetica, Arial, sans-serif;
	}

.brd h1,.brd h2,.brd h3, .brd h4, .brd h5, .brd h6 {
	font-size: 1em;
	font-weight: normal;
	}

.brd samp, .brd code, .brd pre, .brd option, .brd optgroup,
.brd input, .brd select, .brd textarea, .brd td, .brd th {
	font-size: 1em;
	font-family: Verdana,Helvetica,Arial,sans-serif;
	font-style: normal;
	font-weight: normal;
	}

/* Float Clearing
-------------------------------------------------------------*/

.brd-page:after,
.brd .gen-content:after,
.brd .ct-box:after,
#brd-index .item-head:after,
#brd-index .main-item:after,
#brd-index ul.item-info:after,
.brd .frm-group:after,
.brd .mf-set:after,
.brd .sf-set:after,
.brd .mf-box:after,
.brd .sf-box:after,
.brd .mf-item:after,
.brd .txt-set:after,
.brd .txt-box:after,
.brd .frm-form label:after,
.brd fieldset:after,
.brd span.fld-input:after,
.brd .posthead:after,
.brd .postbody:after,
.brd .postfoot .post-options:after {
	content: "";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0.0;
	overflow:hidden;
	visibility: hidden;
 	clear: both;
	}

/* Hidden items
-------------------------------------------------------------*/

#brd-stats .hn,
#qjump label,
.brd .post .post-byline span,
.brd .post .posthead .post-link span,
.admin .main-subhead,
.brd .main-item .item-info li span.label,
.brd .main-item .item-info li label,
.brd .main-item .you-posted,
.brd .main-item .item-num,
.brd .group-legend,
.brd .group-legend span,
.brd .sf-set legend,
.brd .sf-set legend span,
.brd .main-pagehead .page-info,
.brd p.item-select label,
.brd .mf-extra .mf-field label,
.brd .mf-extra .mf-field .aslabel,
.brd .item-subject .item-nav span,
.brd .post-options a span,
.brd .main-title,
.brd .main-head .hn small,
.brd .entry-title,
.brd .menu-page .main-head {
 	font-size: 0;
 	left: -999em;
 	text-indent: -999em;
 	position:absolute;
 	line-height: 0em;
 	visibility: hidden;
 	}


/*************************************************************
B - GLOBAL STYLES
**************************************************************/

/* General Layout
-------------------------------------------------------------*/

.brd {
	padding: 1.3em 2em;
	margin: 0 auto;
	max-width: 1100px;
	min-width: 700px;
	width: 912px;
	}

#brd-redirect, #brd-maint, #brd-util {
	margin: 50px auto 12px auto;
	width: 60%;
	}

.brd-page { /* Confines clearing behaviour within forum wrapper */
	float: left;
	width: 100%;
	position: relative;
	}

.brd .main-content, .brd .gen-content {

	}

.brd .gen-content {
	padding: 0 1.5em;
	}

#brd-index #brd-about, #brd-index #brd-stats {
	margin-top: 1em;
	}

.brd .main-content,
#brd-index #brd-visit, #brd-qpost,
#brd-index #brd-announcement {
	margin-bottom: 1em;
	}

.brd #brd-announcement {
	padding: 0.5em 1.5em;
	margin-top: 1em;
	/*margin: 0em 0em 1em 0em;*/
	}

.brd #brd-announcement br {
	display: inline;
	}

.brd .main-options {
	border-top: none;
	margin: -1em 0 1em 0;
}

/* Content Text (Default spacing for paragraphs and lists)
-------------------------------------------------------------*/

.brd p, .brd .hn {
	padding: 1em 0;
	}

.brd  ul, .brd ol {
	padding: 0.5em 0 0.5em 2em;
	}


.brd ul.spaced {
	padding: 0.25em 0 0.25em 2em;
	}

.brd ul.spaced li {
	padding: 0.25em 0;
	}

/* Headings
-------------------------------------------------------------*/

.brd th {
	font-size: 1.084em;
	padding: 0.462em 1.417em;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	}

.brd .main-head {		
	
	padding: 0 1.417em;
	}
	
.brd .main-head .hn, .brd .main-foot .hn{
	font-weight: bold;
	font-size: 1.084em;
	padding-right: 10em;
	}

.brd h2.main-subhead {	
	padding: 0 1.417em;
	font-size: 1.084em;
	padding: 0.468em 10em 0.426em 1.417em;
	}

.brd .column-title {
	border-style: solid;
	border-width: 1px;
	position: relative;
	margin-bottom: -1px;
	}

.brd .main-subhead {
	border-style: solid;
	border-width: 1px;
	border-bottom: none;	
	}

.brd .main-subhead .hn {
	font-size: 1.084em;
	padding: 0.462em 1.417em;	
	position: relative;
	}

.brd .main-head,
.brd .main-foot {
	padding: 0 1.5em;
	border-style: none;
	border-width: 1px;
	}

.brd .main-foot {
	margin-top: -1em;
	}

.brd #brd-announcement h1, .brd .main-extensions .ct-legend, .brd .main-hotfixes .ct-legend {
	border-bottom-style: dashed;
	border-bottom-width: 1px;
	font-size: 1.1em;
	font-weight: bold;
	}

.brd #brd-announcement h1 {
	margin-bottom: 0.5em;
	}

.brd .main-pagehead .hn {
	padding: 0.5em 0;
	}

.brd .content-head {
	margin: 0.5em 1.417em 0;
	}

.brd .content-head .hn {
	font-size: 1.084em;
	border-style: none none double none;
	border-width: 3px;
	padding: 0.462em 0;
	}


/*************************************************************
C - COMMON CONTENT TYPES (RE-USABLE FORMATS)
**************************************************************/

/* Option lists
-------------------------------------------------------------*/

.brd .options span {
	padding: 0 0 0 0.5em;
	margin: 0 0 0 0.5em;
	}

.brd .options span.first-item {
	border-left: 0;
	padding-left: 0;
	margin-left: 0;
	}

.brd .extension .options, .brd .hotfix .options {
	border-top-style:dashed;
	border-top-width:1px;
}

/* Content Containers
-------------------------------------------------------------*/

.brd .ct-box {
	border-style: solid;
	border-width: 1px;
	margin: 1.417em;
	padding: 0.5em 1em;
	position: relative;
	}

.brd .ct-box li {
	padding: 0;
	margin: 0 0 0.7em 0;
	}

.brd .ct-set {
	border-style: solid;
	border-width: 1px;
	margin: 1.417em;
	padding: 0 0 0 17em;
	position: relative;
	}

.brd .ct-group {
	border-style: solid;
	border-width: 1px;
	margin: 1.417em;
	}

.brd .frm-group .ct-set {
	border-style: dashed none none none;
	margin: 0;
	}

.brd .ct-group .ct-set {
	border-style: dashed none none none;
	margin: 0 1em;
	padding: 0 0 0 16em;
	}
.brd .ct-group .group-item1 {
	border: none;
	}

.brd .ct-group .set1, .brd .frm-group .set1 {
	border-top: none;
	}

.brd .ct-group .ct-box, .brd .frm-group .ct-box {
	border-style: none;
	margin: 0;
	}

.brd .ct-group .ct-set .ct-box, .brd .ct-set .ct-box,
.brd .frm-group .ct-set .ct-box {
	border-style: none;
	margin: 0;
	}

.brd .ct-group .set1 {
	border-top: 0;
	}

.brd .ct-set .ct-legend {
	float: left;
	margin-left: -17em;
	width: 16em;
	display: inline;
	position: relative;
	text-align: right;
	font-weight: bold;
	}

.brd .ct-set ul {
	padding-left: 0;
	list-style: none;
	}

.brd .ct-box div {
	padding: 0.5em 0;
	}

.brd .ct-box p.options {
	float: none;
	}

.brd .ct-box .info-list {
	padding-bottom: 0;
	}

 /* User Identity
-------------------------------------------------------------*/

.brd .user-ident {
	padding-left: 0;
	list-style: none;
	}

.brd .user-ident .username a,
.brd .user-ident .username strong {
	font-size: 1.167em;
	font-weight: bold;
	}

.brd .user-ident .username a,
.brd .user-ident .username a:link,
.brd .user-ident .username a:visited {
	text-decoration: none;
	}

.brd .user-ident .username a:hover,
.brd .user-ident .username a:active,
.brd .user-ident .username a:focus {
	text-decoration: underline;
	}

.brd .user-ident .usertitle {
	font-weight: bold;
	}

.brd .user-ident .useravatar {
	padding: 0.25em 0;
	}

.brd .user-ident .useravatar img {
	display: block;
	}

 /* Message Boxes
-------------------------------------------------------------*/

.brd .main-message {
	padding: 0.5em 1.417em;
	}

.brd .main-message p span {
	display: block;
	padding-top: 0.5em;
	}

/* Section Menus (By Default - Profile and Admin)
-------------------------------------------------------------*/

.brd .main-menu, .brd .admin-menu {
	border: 0;
	padding: 1em 0 0.8em 0.75em;
	}

.brd .main-menu ul, .brd .admin-menu ul {
	list-style-type: none;
	float: left;
	padding: 0;
	}

.brd .main-menu li, .brd .admin-menu li {
	font-size: 1.084em;
	float: left;
	display: inline;
	}

.brd .main-menu a, .brd .admin-menu a {
	float: left;
	position: relative;
	padding: 0.2em 0.75em 0.4em 0.75em;
	}

.brd .main-menu li.active a, .brd .admin-menu li.active a {
	font-weight: bold;
	}

.brd .main-menu li.first-item, .brd .admin-menu li.first-item {
	border-left: 0;
	}

.brd .admin-submenu {
	border-style: solid;
	border-width: 0px 1px 0px 1px;
	}

.brd .admin-submenu ul {
	padding: 0.5em 0;
	list-style: none;
	}

.brd .admin-submenu li {
	display: inline;
	margin-right: 0.75em;
	}

/*************************************************************
D - COMMON INTERFACE ELEMENTS
**************************************************************/

/* Logo and Tagline
-------------------------------------------------------------*/

#brd-head {
	padding-top: 3.4em;
	padding-bottom: 2.3em;
	}

#brd-title {
	padding-bottom: 0;
	}

#brd-title a, #brd-title strong {
	font-size: 1.5em;
	text-decoration: none;
	font-weight: normal;
	}

#brd-desc {
	font-size: 1.084em;
	padding-top: 0;
	padding-bottom: 0;
	}

/* Primary navigation
-------------------------------------------------------------*/

#brd-navlinks ul {
	margin: 0;	
	padding: 0.5em 0.3em;
	}

#brd-navlinks li {
	display: inline;
	margin-right: 1em;
	}

#brd-navlinks li a {
	font-size: 1.2em;
	text-decoration: none;
	}

#brd-admod {
	float: right;
	text-align: right;
	}

#brd-admod span {
	margin-left: 0.75em;
	}

#brd-access {
	text-align: right;
	padding: 0;
	height: 0;
	margin: 0;
	position: absolute;
	background: transparent;
	}

#brd-access a, #brd-access a:link, #brd-access a:visited {
	height: 2em;
	padding: 0 1.3em;
	line-height: 2em;
	position: absolute;
	left: -999em;
	margin: 1px;
	width: 12em;
	}

#brd-access a:hover, #brd-access a:active, #brd-access a:focus {
	text-indent: 0;
	background: #000;
	position: static;
	float: right;
	}


/* Welcome box
-------------------------------------------------------------*/

#brd-visit #welcome {
	float: left;
	}

#brd-visit #visit-links {
	text-align: right;
	float: none;
	}

/* Paging and posting
-------------------------------------------------------------*/

#brd-pagepost-end {
	border-top: none;
	}

#brd-pagepost-top {
	border-bottom: none;
	}

.brd .paging {
	float: left;
	}

.brd .posting {
	text-align: right;
	float: right;
	}

.brd .paging, .brd .paging * {
	white-space:nowrap;
	}

.brd .paging a, .brd .paging strong, .brd .paging span {
	padding: 0 1em;
	border-left-style: solid;
	border-left-width: 1px;
	float: left;
	}

.brd .paging .first-item, .brd .paging span.pages {
	border-left: 0;
	padding-left: 0;
	}

.brd .posting .newpost {
	font-size: 1.084em;
	font-weight: bold;
	}

/* Breadcrumbs
-------------------------------------------------------------*/

.brd .crumbs .crumblast {
	font-weight: bold;
	}

.brd .crumbs .crumblast  span {
	font-weight: normal;
	}

.brd .crumbs span, .brd crumbs span * {
	white-space: nowrap;
	}

.brd .crumbs {
	margin: 0.5em 0em;
	padding: 0em 1.5em;
	font-size: 1.084em;
	}

/* Statistics
-------------------------------------------------------------*/

#brd-stats {
	border-bottom: 0;
	}

#brd-stats ul {
	list-style: none;
	padding-left: 0;
	}

#brd-stats ul li.st-users {
 	float: left;
 	clear: both;
 	white-space: nowrap;
 	}

 #brd-stats ul li.st-activity {
 	text-align: right;
 	display: block;
 	white-space: nowrap;
 	}

 #brd-stats li strong {
 	font-weight: bold;
 	}

#brd-online {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	}

#brd-online .hn, #brd-online p {
	padding-bottom: 0;
	padding-top: 0;
	}

 #brd-online .hn {
 	float: left;
 	margin-right: 0.5em;
 	}

/* Footer
-------------------------------------------------------------*/

#brd-about p {
	margin: 0 1em;
	}

#brd-about #qjump {
	float: left;
	padding: 0.8em 1em 0.5em 0;
	}

#brd-about #qjump div, #qjump label {
	padding: 0;
	border: none;
	}

#brd-about #copyright {
	text-align: right;
	float: right;
	margin: 0;
	}

#brd-about #querytime {
	text-align: center;
	font-size: 0.9em;
	}

/* Main and Content Options
-------------------------------------------------------------*/

.brd p.options {
	border-top: none;
	float:right;
	}

.brd .main-modoptions .options {
	text-align: center;
	}

.brd a.feed {
	padding-left: 22px;
	background: url(feed-icon.png) center left no-repeat;
	}

.brd .content-options, .brd .ct-options {
	float: right;
	margin-top: -2.7em;
	padding: 0.5em 1.417em;
	position: relative;
	}

.brd #select-all {
	float: right;
	padding-left: 1em;
	}

/*************************************************************
E - INDEX, FORUMS, SEARCH RESULTS, MODERATE FORUMS
**************************************************************/

/* Header setup generally
-------------------------------------------------------------*/

.brd .item-summary {
	height: 2.5em;
	padding: 0;
	position: relative;
	font-size: 1em;
	}

.brd .item-summary span {
	width: 100%;
	position: absolute;
	left: -999em;
	text-indent: -999em;
	display: block;
	}

.brd .item-summary strong {
	position: absolute;
	left: 999em;
	text-indent: 0;
	padding: 0.5em 0;
	white-space: nowrap;
	font-weight: normal;
	}

.brd .item-summary strong:first-letter {
	text-transform: uppercase;
	}

.brd .item-summary .subject-title {
	padding-left: 1.417em;
	}

.brd .item-summary .info-topics,
.brd .item-summary .info-replies {
	margin-left: 100%;
	text-align: center;
	width: 7em;
	left: 965em;
	}

.brd .item-summary .info-forum {
	margin-left: 100%;
	text-align: center;
	width: 20em;
	left: 952em;
	}
.brd .item-summary .info-posts,
.brd .item-summary .info-views {
	margin-left: 100%;
	text-align: center;
	width: 7em;
	left: 972em;
	}

.brd .item-summary .info-lastpost {
	margin-left: 100%;
	left: 980em;
	}

.brd p.forum-noview .info-replies {
	left: 972em;
	}

/* Content setup generally
-------------------------------------------------------------*/

.brd .main-content .main-item {
	border-top-style: solid;
	border-top-width: 1px;
	overflow: hidden;
	position: relative;
	line-height: 1.4em;
	}

.brd .main-content .main-first-item {
	border-top: none;
	}

.brd .main-content .main-item ul {
	float: right;
	position: relative;
	padding: 0;
	list-style: none;
	}

.brd .main-content .main-item p,
.brd .main-content .main-item .hn {
 	padding: 0;
 	}

.brd .main-content .main-item .hn .item-status {
 	font-weight:normal;
 	}

.brd .main-content .main-item .hn .item-status em {
 	font-style:normal;
 	}

.brd .main-content .main-item .item-subject,
.brd .main-content .main-item li {
 	float: left;
 	border-left-style: solid;
 	border-left-width: 1px;
 	margin: 0 -2px -9.7em 0;
 	position: relative;
 	padding-top: 0.6em;
 	padding-bottom: 10.4em;
 	}

.brd .main-content .main-item .item-subject {
 	overflow: hidden;
 	width: 100%;
  	}

.brd .main-content .main-item li.info-topics,
.brd .main-content .main-item li.info-forum,
.brd .main-content .main-item li.info-posts,
.brd .main-content .main-item li.info-views,
.brd .main-content .main-item li.info-replies {
 	width: 7em;
 	text-align:center;
 	}

.brd .main-content .main-item li.info-forum {
 	width: 20em;
 	}

.brd .main-content .main-item li.info-lastpost {
  	width: 20em;
  	}

.brd .main-content .main-item li.info-lastpost cite {
	overflow: hidden;
	width: 18em;
	}

.brd .main-item li strong {
	font-weight: normal;
	}


/* Setup for Index and Forums
-------------------------------------------------------------*/

.brd .main-content .main-item {
	padding-right: 35em;
	padding-left: 3.75em;
	}

.brd .main-content .main-item .hn {
	position: relative;
	}

.brd .main-content .main-item ul {
	width: 34em;
	right: -35em;
	margin-left: -34em;
	}

.brd .forum-noview .main-item {
	padding-right: 48em;
	}

.brd .forum-noview .main-item ul {
	width: 47em;
	right: -48em;
	margin-left: -47em;
	}

.brd .main-content .main-item .item-subject span.modlist {
 	display: block;
 	}

.brd .main-content .main-item .hn strong {
  	font-size: 1em;
  	}

.brd .main-content .main-item .hn strong span {
	font-weight: normal;
	}

 #brd-index .main-content .main-item .hn span {
	font-size: 1.084em;
	font-weight: bold;
 	}
#brd-index .main-content .main-item .hn small {
	font-size: 1em;
	}

.brd .main-content .main-item .item-status {
	font-weight: bold;
	}

.brd .main-content .main-item cite {
	font-style: normal;
	}

.brd .main-content .main-item span.item-nav,
.brd .main-content .main-item span.item-nav * {
	white-space: nowrap;
	font-style: normal;
	}

.brd .main-content .main-item .item-subject .hn {
	display:inline;
	margin: 0 0 0 1.5em;
 	}

.brd .main-content .main-item .item-subject p {
	margin: 0 0 0 1.5em;
 	}

.brd .main-content .main-item li.info-lastpost cite,
.brd .main-content .main-item li.info-lastpost span {
 	display: block;
 	padding: 0 1em;
 	font-style: normal;
 	font-weight: normal;
 	}

.brd .main-content .main-item li.info-lastpost strong {
 	padding: 0 0 0 1em;
 	font-style: normal;
 	font-weight: normal;
 	}

.brd .main-content .main-item li.info-select {
 	position: absolute;
 	right: 0;
 	top: 0;
 	padding: 0.3em;
 	border-style: none none solid solid;
 	border-width: 1px;
 	}

.brd .main-content .main-item .icon {
 	border-style: solid;
 	border-width: 0.5833em;
 	height: 0;
 	width: 0;
 	float: left;
 	margin-top: 0.667em;
 	margin-left: -2.417em;
 	}

.brd .main-content .main-item .hn .posted-mark {
 	position: absolute;
 	font-size: 2em;
 	width: 1em;
 	left: -0.5em;
 	top: 0;
 	}

/*************************************************************
F - MAIN CONTENT - FORMS
**************************************************************/

/* Generally
-------------------------------------------------------------*/

.brd .frm-group {
	border-top-style: dashed;
	border-top-width: 1px;
	margin: 1.417em;
	padding: 1.3em 0pt 0em;
	}

.brd .group1{
	border-top: none;
	padding-top: 0;
	}

.brd .sf-box, .brd .mf-box, .brd .txt-box {
	margin: 1.417em;
	padding: 0.3em 0;
	position: relative;
	}

.brd .sf-set, .brd .mf-set, .brd .txt-set {
	margin: 1.417em;
	padding: 0 0 0 17em;
	position: relative;
	}

.brd .sf-set .sf-box, .brd .mf-set .mf-box, .brd .txt-set .txt-box {
	margin: 0;
	}

.brd .frm-group .sf-set, .brd .frm-group .mf-set, .brd .frm-group .txt-set {
	margin: 0;
	}

.brd .text input, .brd .select select {
	font-size: 1.084em;
	}

.brd .frm-buttons {
	margin: 0.75em 1.417em 1em 1.417em;
	position: relative;
	border-top-style: double;
	border-top-width: 3px;
	padding: 0.8em 0pt 0.3em 18em;
	}

.brd .frm-buttons span.submit {
	margin-right: 0.75em;
	}

.brd span.submit input, .brd span.cancel input {
	overflow: visible;
	padding-left: 0.5em;
	padding-right: 0.5em;
	font-size: 1.084em;
	}

.brd .button-set span.submit {
	padding-left: 1em;
	}

/* Single Field Items (Text, Select, Checkbox)
-------------------------------------------------------------*/

.brd .sf-box label, .brd .sf-box .aslabel {
	float: left;
	padding: 0;
	}

.brd .sf-set .checkbox label {
	padding: 2px 0 2px 3em;
	}

.brd .sf-set .text label span, .brd .sf-set .select label span, .brd .sf-set .aslabel span {
	float: left;
	margin-left: -17em;
	display: block;
	position: relative;
	padding: 2px 0 2px 1em;
	width: 16em;
	text-align:right;
	font-weight:bold;
	}

.brd .sf-set .checkbox label span {
	float: left;
	margin-left: -18em;
	display: block;
	position: relative;
	padding: 0 0 0 2em;
	width: 16em;
	left: -3em;
	text-align:right;
	font-weight:bold;
	}

.brd .sf-set .text label small, .brd .sf-set .select label small {
	display: block;
	text-align: left;
	position: relative;
	margin: 2em 1em 0 1em;
	font-size: 0.917em;
	}

.brd .sf-set .fld-input {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding: 0.3em 1em;
	}

.brd .sf-set .checkbox input {
	margin: 2px 0 2px -0.25em;
	height: 1.55em;
	width: 1.55em;
	}

.brd .sf-set .text input:not([title]) { /* Fixes alignment issue in Safari */
	height: 100%;
	}

.brd .sf-set .sf-short input {
	width: 4em;
	}

.brd .sf-set .sf-short label small {
	font-size: 1em;
	padding: 2px 0;
	margin: 0 1em 0 6.5em;
	}


/* Multi-Field Items (Radio/Checkbox Groups)
-------------------------------------------------------------*/

.brd .mf-box .mf-item {
	position: relative;
	top: -0.15em;
	padding: 0.25em 0;
	}

.brd .mf-set legend {
	position: absolute;
	height: 0;
	background: transparent;
	}

.brd .mf-set legend span {
	position: absolute;
	left: -17em;
	width: 16em;
	padding: 0.3em 1em;
	margin: 1px 0 2px 0;
	overflow: hidden;
	display: block;
	text-align: right;
	font-weight: bold;
	}

.brd .mf-set legend span em {
	display: block;
	white-space: normal;
	font-style: normal;
	font-weight:normal;
	font-size: 0.917em;
	}

.brd .mf-item .fld-input {
	position: absolute;
	top: 0.25em;
	left: 0;
	display: block;
	padding: 0 1em;
	}

.brd .mf-item input {
	margin: 0 0 0 -0.25em;
	height: 1.55em;
	width: 1.55em;
	}

.brd .mf-item label {
	padding: 0 0 0 3em;
	float: left;
	}

.brd .mf-set .mf-yesno .mf-item {
	width: 10em;
	float: left;
	}

.brd .mf-set .mf-field {
	float: left;
	padding: 0 1em 0 1em;
	border-left: 1px solid #ccc;
	}

.brd .mf-set .mf-field1 {
	border-left: none;
	}

.brd .mf-set .mf-field label, .mf-set .mf-field .aslabel {
	position: absolute;
	top: -2em;
	display: block;
	}

.brd .mf-set .mf-cell .fld-input {
	position: static;
	padding: 0 0 0 1em;
	border-left: 1px solid #ccc;
	}

.brd .frm-hdgroup {
	padding-top: 2em;
	}

/*.brd .frm-hdgroup .set1 {
	border-top-style: solid;
	border-top-width: 1px;
	}*/

.brd .sf-set .sf-box .sf-forum {
	width: 25em;
	}

.brd .mf-set .mf-box .forum-field {
	width: 25em;
	}

/* Multi Checkbox Widget
-------------------------------------------------------------*/

.brd .checklist {
	min-height: 6em;
	max-height: 9em;
	max-width: 30em;
	overflow: auto;
	border-style: solid;
	border-width: 1px;
	position: relative;
	padding: 0.25em 0.5em;
	margin: 0 1em;
	}

.brd .checklist fieldset {
	height: auto;
	}

.brd .checklist legend,
.brd .checklist legend span {
	font-weight: bold;
	position: static;
	padding: 0;
	height: auto;
	text-align:left;
	}

.brd .checklist .checklist-item {
	position: relative;
	height: auto;
	}

.brd .checklist .checklist-item label {
	display: block;
	padding: 0 0 0 2.25em;
	float: none;
	height: 100%;
	background-color: #fff;
	}

.brd .checklist .checklist-item .fld-input {
	position: absolute;
	left: 0;
	top: 0;
	padding: 0;
	margin: 0;
	}

.brd .checklist .checklist-item input {
	margin: 0;
	height: 1.55em;
	width: 1.55em;
	}


/* Single Field Textareas and Long Inputs (Flexi Width)
-------------------------------------------------------------*/

.brd .txt-box label {
	float: left;
	}

.brd .txt-set label span {
	float: left;
	margin-left: -17em;
	display: block;
	position: relative;
	padding: 2px 1em;
	width: 16em;
	text-align:right;
	font-weight:bold;
	}

.brd .txt-set label small {
	display: block;
	text-align: left;
	position: relative;
	margin: 0 1em 0 -1px;
	padding: 2px 1em;
	font-size: 0.917em;
	z-index: 100;
	}

.brd .txt-set .txt-input {
	position: relative;
	width: 100%;
	}

.brd .txt-set .fld-input {
	display: block;
	padding: 0 0 0 1em;
	}

.brd .txt-set textarea {
	width: 95%;
	}

/* Error handling
-------------------------------------------------------------*/

.brd .req-warn {
	display: none;
	}

.brd #req-msg p em, .brd .required label span em {
	font-style: normal;
	font-weight: normal;
	}

.brd .required label span em {
	float: left;
	font-size: 0.917em;
	line-height: 1.2em;
	width: 100%;
	position: relative;
	}

.brd .txt-set .required label span em {
	margin-bottom: -1.2em;
	}

.brd .req-error {
	display: block;
	}

.brd .required label span  {
	font-weight: bold;
	}

/*************************************************************
G - MAIN CONTENT - TOPICS AND PARSED CONTENT
**************************************************************/

/* Structure
-------------------------------------------------------------*/

.brd .post {
	border-style: solid;
	border-width: 1px;
	position: relative;
	margin: 1.417em;
	margin-top: -1.417em;
	}

.brd .firstpost, .brd .singlepost {
	margin-top: 1.417em;
	}

.brd .main-topic .lastpost {
	border-bottom: 0;
	}

.brd .main-topic .post {
	border-style: solid none;
	margin: 0;
	}

.brd  .main-topic .firstpost {
	border-top: none;
	}

.brd .posthead {
	margin-left: 18em;
	border-style: none none none solid;
	border-width: 1px;
	zoom: 1;
	}

.brd .posthead .hn {
	padding-right: 1.5em;
	padding-left: 1em;
	border-style: none none dashed none;
	border-width: 1px;
	}

.brd .post .posthead .post-byline a,
.brd .post .posthead .post-byline strong {
	font-size: 1.167em;
	font-weight: bold;
	text-decoration: none;
	font-style: normal;
	}

.brd .post .posthead .post-byline {
	float: left;
	width: 15.5em;
	padding: 0.5em 1em 0.5em 1.5em;
	margin-left: -19em;
	margin-top: -0.5em;
	position: relative;
	left: -1px;
	overflow: hidden;
	}

.brd .posthead .post-num {
	float:right;
	font-weight: bold;
	}

#brd-modtopic .posthead .hn {
	padding-right: 2.7em;
	}

.brd .posthead .post-title {
	padding: 0 1.5em 0.5em 1em;
	margin-top: -1px;
	position: relative;
	}

.brd .posthead .post-title span {
	display: block;
	width: 100%;
	overflow: hidden
	}

.brd .posthead .post-title a {
	font-size: 1em;
	text-decoration: none;
	font-weight: bold;
	}

.brd .posthead .post-title small,
.brd .posthead .post-title small a {
	font-size: 1em;
	font-weight: normal;
	white-space: nowrap;
	}

.brd .posthead p.item-select {
	position: absolute;
	top: 0;
	right: 0.75em;
	height: 2.5em;
	}

.brd .postbody {
	margin-left: 18em;
	position: relative;
	border-left-style: solid;
	border-left-width: 1px;
	padding: 0.5em 1.5em 0 1em;
	clear: both;
	}

.brd .postfoot {
	padding-left: 18em;
	border-top-style: dashed;
	border-top-width: 1px;
	position: relative;
	}

.brd .postfoot .post-options {
	border-left-style: solid;
	border-left-width: 1px;
	}

.brd .postbody .post-author {
	float: left;
	width: 15.5em;
	margin-left: -19em;
	left: -1px;
	position: relative;
	display: inline;
	padding: 0 1em 0.5em 1.5em;
	overflow: hidden;
	margin-top: -1em;
	}


.brd .postbody .post-author ul {
	margin: 0;
	padding: 0 0 0.5em 0;
	list-style: none;
	}

.brd .post .author-ident .useravatar img {
	display: block;
	padding: 0.5em 0;
	}

.brd .post .author-ident .username {
	display: none;
	}

.brd .postbody .author-ident .usertitle {
	font-weight: bold;
	line-height: normal;
	}

.brd .postbody .author-ident .userstatus {
	padding: 0.75em 0 0.25em 0;
	margin: 0;
	line-height: 0.75em;
	width: 100%;
	}

.brd .postbody .author-ident .userstatus span {
	font-size: 0.917em;
	display: block;
	border-left-style: solid;
	border-left-width: 0.7em;
	text-indent: 0.5em;
	}
.brd .postbody .author-info li span strong {
	font-weight: normal;
}
.brd .online .author-ident .userstatus span {
	font-weight: bold;
	}

.brd .postfoot .post-contacts {
	float: left;
	margin-left: -18em;
	width: 15.5em;
	padding: 0.5em 1em 0.5em 1.5em;
	position: relative;
	display: inline;
	left: -1px;
	}

.brd .postfoot .post-actions {
	padding: 0.5em 1.5em 0.5em 1em;
	text-align: right;
	display: block;
	float: right;
	}

.brd .postfoot .post-actions span {
	margin-left: 0.75em;
	}

.brd .postfoot .post-contacts span {
	margin-right: 0.75em;
	}

/* Content
-------------------------------------------------------------*/

.brd .entry-content {
	padding-bottom: 1em;
	overflow: hidden;
	width: 100%;
	font-size: 1.084em;
	}

.brd .entry-content ol {
	padding-left: 2.5em;
	list-style-type: decimal;
	}

.brd .entry-content ol p,
.brd .entry-content ul p {
	padding: 0;
	}

.brd .entry-content ol.alpha {
	list-style-type: upper-alpha;
	}

.brd .entry-content h5, .brd .entry-content h5 * {
	font-weight: bold;
	font-size: 1.084em;
	padding: 0.5em 0;
	}

.brd .entry-content img {
	vertical-align: text-top;
	}

.brd .entry-content .quotebox,
.brd .entry-content .codebox {
	border-style: solid;
	border-width: 1px;
	margin: 0.75em 1em;
	padding: 1em 0.75em;
	}

.brd .entry-content .codebox code {
	font-family: monospace;
	}

.brd .entry-content blockquote {
	overflow: hidden;
	width: 100%;
	}

.brd .entry-content .quotebox cite {
	display: block;
	font-style: normal;
	font-weight: bold;
	}

.brd .entry-content pre {
	margin: 0;
	max-height: 35em;
	min-height: 2em;
	overflow: auto;
	padding: 0 2% 0.1em 0;
	width: 98%;
	}

.brd .entry-content img {
	max-width: 100%;
	}

.brd .entry-content span.bbu {
	text-decoration: underline;
	}

.brd .entry-content br, .brd .sig-demo br, .brd .user-box br, .brd .main-message br {
	display: inline;
	}

.brd .sig-content {
	padding-top: 1em;
	}

.brd span.sig-line {
	display: block;
	width: 200px;
	border-top-style: solid;
	border-top-width: 1px;
	padding-bottom: 0.5em;
	}


/*************************************************************
H - MAIN TABLES
**************************************************************/

/* Table Cells Widths and Alignment
-------------------------------------------------------------*/

.brd table {
	width: 100%;
	table-layout: fixed;
	empty-cells: show;
	border-spacing: 0;
	line-height: 1.3333em;
	}

.brd td {
	overflow: hidden;
	vertical-align: middle;
	}

#brd-userlist table .tc0 {
	width: 30%
	}

#brd-userlist table .tc1 {
	width: 20%;
	text-align: left;
	}

#brd-userlist table .tc2 {
	width: 10%;
	text-align: center;
	}

#brd-debug  table .tc0 {
	white-space:normal;
	width: 15%;
	}

#brd-debug table .tc1 {
	white-space: normal;
	width: 90%;
	}

#brd-admin-uresults table .tc0,
#brd-admin-iresults table .tc0 {
	width: 45%;
	}

#brd-admin-uresults table .tc1,
#brd-admin-iresults table .tc1,
#brd-admin-iresults table .tc2 {
	width: 20%;
	}

#brd-admin-uresults table .tc2,
#brd-admin-uresults table .tc4 {
	width: 10%;
	text-align: center;
	}

#brd-admin-uresults .tc3 {
	width: 15%;
	}

#brd-admin-uresults td.tc0 span,
#brd-admin-uresults td.tc3 span {
	display: block;
	white-space: nowrap;
	}

#brd-admin-uresults td.tc0 a,
#brd-admin-uresults td.tc3 a {
	font-weight: bold;
	}

#brd-admin-iresults table .tc0 {
	width: 25%;
	}

#brd-admin-iresults table .tc1 {
	width: 25%;
	}

#brd-admin-iresults table .tc2 {
	width: 20%;
	}

#brd-admin-iresults .tc3 {
	width: 30%;
	}


/* Table Cell Styling
-------------------------------------------------------------*/

.brd .main-content th {
	font-size: 1.084em;
	padding: 0.462em 1.417em;
	font-weight: normal;
	}

.brd table td {
	padding: 0.5em 1.417em;
	border-width: 1px;
	border-style: solid none none solid;
	}

.brd table td.tc0 {
	border-left-style: none;
	border-left-width: 0
	}

.brd table th {
	padding: 0.5em 1.3em;
	border-style: none;
	}

.brd table td.actions, .brd table th.actions {
	text-align: right;
	}

.brd table td.actions span {
	display: block;
	}


/*************************************************************
H - MAIN CONTENT - ODDMENTS
**************************************************************/

/* Reports
-------------------------------------------------------------*/

.brd .report {
	margin-left: 4em;
	}

.brd .report h3 span {
	display: block;
	font-style: normal;
	}

.brd .report h3 cite {
	font-style: normal;
	font-size: 1.084em;
	font-weight: bold;
	}

.brd .report h3 strong {
	position: absolute;
	left: -3.1em;
	width: 1.5em;
	text-align: right;
	font-size: 1.167em;
	}

.brd .report p strong {
	display: block;
	font-weight: normal;
	}

.brd .report h4 {
	border-bottom-style: dashed;
	border-bottom-width: 1px;
	}

#brd-admin-reports .frm-buttons {
	margin-left: 4em;
	margin-top: 0;
	}

.brd .report .item-select {
	position: absolute;
	top: 0;
	right: 0.75em;
	height: 2.5em;
	}

/* Help File
-------------------------------------------------------------*/

.brd .help-box samp {
	display: block;
	margin-left: 1.5em;
	}

.brd .help-box h5 samp {
	margin-left: 1.417em;
	}

.brd .help-box code {
	font-family: courier;
	font-size: 1.084em;
	}

.brd .help-box .entry-content {
	padding: 0;
	}

.brd .help-box .hn {
	padding-bottom: 0.5em;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
	margin-bottom: 0.5em;
	color: #294F6E
	}

fjarrett/Assign Unique Classes To First And Last Menu Items ( PHP)

// Assign Unique Classes To First And Last Menu Items
function first_last_class( $items ) {
	$position = strrpos($items, 'class="menu-item', -1);
	$items=substr_replace($items, 'menu-item-last ', $position+7, 0);
	$position = strpos($items, 'class="menu-item');
	$items=substr_replace($items, 'menu-item-first ', $position+7, 0);
	return $items;
}
add_filter( 'wp_nav_menu_items', 'first_last_class' );

Use this function to filter your first and last menu items and assign them each a specific class name. This is very handy when applying separators in CSS but want to exclude the first and/or last items.