/* $Id: layout-liquid.css,v 1.5.2.4 2009/02/13 19:30:50 johnalbin Exp $ */

/*
 * LAYOUT STYLES
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/** body **/
  body
  {
  }

  #page,
  #closure-blocks
  {
    min-width: 960px; /* Don't allow the browser to make the site unreadable. */
  }

  #page-inner
  {
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

  #skip-to-nav
  {
    float: right;
    margin: 0 !important;
    font-size: 0.8em;
  }

  #skip-to-nav a:link, #skip-to-nav a:visited
  {
    color: #FAF7F5; /* Same as background color of page */
  }

  #skip-to-nav a:hover {
    color: #000;
    text-decoration: none;
  }

  /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
     to the link. Un-comment the following CSS to use this technique. */
  /*
  #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
  {
    position: absolute;
    left: 0;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #skip-to-nav a:active, #skip-to-nav a:focus
  {
    position: static;
    width: auto;
    height: auto;
  }
  */

/** header **/
  #header
  {
  }

  #header-inner
  {
  }

  #logo-title
  {
  }

  #logo
  {
    float: left;
  }

  #site-name
  {
  }

  #site-slogan
  {
  }

  #header-blocks
  {
    clear: both; /* Clear the logo */
  }

/** main (container for everything else) **/
  #main
  {
    position: relative;
  }

  #main-inner
  {
  }

/** content **/
  #content
  {
    float: left;
    width: 100%;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
  }

  #content-inner,
  .no-sidebars #content-inner
  {
    margin: 0;
    padding: 0;
  }

  .sidebar-left #content-inner
  {
    padding-left: 250px; /* The width + left margin of #sidebar-left. */
    padding-right: 0;
  }
   .front .sidebar-left #content-inner {
       padding-left: 460px; /* The width + left margin of #sidebar-left. */
  }

  .sidebar-right #content-inner
  {
    padding-left: 0;
    padding-right: 250px; /* The width + right margin of #sidebar-right. */
  }

  .two-sidebars #content-inner
  {
    padding-left: 250px; /* The width + left margin of #sidebar-left. */
    padding-right: 250px; /* The width + right margin of #sidebar-right. */
  }
   .front.two-sidebars #content-inner {
    padding-left: 460px; /* The width + left margin of #sidebar-left. */
    padding-right: 251px; /* The width + right margin of #sidebar-right. */
  }

/** navbar **/
  #navbar
  {
    float: right;
    margin-left: 0;
    margin-right: 0; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    height: 3.6em; /* The navbar can have any arbritrary height. We picked one
                      that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6
                      Set this to the same value as the margin-top below. */
  }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    mmmmargin-top: 3.6em; /* Set this to the same value as the navbar height above. GL NB: navbar gone off piste now*/
  }

  #navbar-inner
  {
  }
  
  /* cos this admin tab gets in the way */
  #navbar #block-menu-primary-links .block-inner .edit {
  	width:7em;
  	right:-7.5em;
  }

  #search-box {
    position:absolute;
    top:25px;
	right:0;
  }

  #primary {
    margin-left: 200px;
  }

  #secondary
  {
    margin-left: 200px; /* Width of search-box */
  }

  #navbar ul /* Primary and secondary links */
  {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    float: left;
    border-right:1px solid white;
  }

  /* There are many methods to get navbar links to appear in one line.
   * Here's an alternate method: */
  /*
  #navbar li
  {
    display: inline;
    padding: 0 10px 0 0;
  }
  */
  
 /* styling of primary links to display as drop down menus,
 based on 'Son of suckerfish' - http://www.htmldog.com/articles/suckerfish/dropdowns/  */
 
 
	#block-menu-primary-links, 
	#block-menu-primary-links > ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	
	#block-menu-primary-links a {
		display: block;
		width: 127px;
	}
	
	#block-menu-primary-links li {
		float: left;
	}
	
	#block-menu-primary-links ul li.expanded ul {
		position: absolute;
		left: -999em;
	}
	
	#block-menu-primary-links ul li:hover ul,
	#block-menu-primary-links ul li.expanded.sfhover ul {
		left: auto;
	}
	
	/* fix from (didnt work): http://www.builtfromsource.com/2006/10/23/a-fix-for-suckerfish-dropdowns-in-ie-7/ */
	#block-menu-primary-links ul #menu li:hover, 
	#block-menu-primary-links ul #menu li.sfhover {
    	position: static;
	}


	/* fix from (did work): http://forums.devshed.com/css-help-116/son-of-suckerfish-ie7-just-a-little-hack-395117.html */
	*:first-child+html #block-menu-primary-links {
	hhheight: 1%;
	}
	*:first-child+html #block-menu-primary-links li {
	height: 1%;
	} 
	
/* these are GL additional stylings for look of menus */
	#block-menu-primary-links {
		position:absolute;
		top:82px;
		left:250px;
		white-space:nowrap;
		width:709px;
		display:block;
	}
	#block-menu-primary-links h2 {
		display:none;
	}
	#block-menu-primary-links.block {
		background-color:#d9cfd0;
	}

	#block-menu-primary-links ul {
		line-height:1.6em;
	}
	#block-menu-primary-links ul li.expanded  {
		padding:7px 0.5em 7px 0.5em;
	}
	#block-menu-primary-links ul li.expanded > a {
		cursor:default;
	}
	#block-menu-primary-links ul li.expanded > a:hover {
		text-decoration:none;
	}
	
  	#block-menu-primary-links ul li.expanded ul.menu {
		margin-left:-0.5em;
		margin-top:6px;
		background-color:#d9cfd0;
		wwidth:13em; /*we may want to dynamically re-insert this value with jquery */
		width:190px; /*to size is 141 px */
		bbborder-top:1px solid #755;
		border-top:1px solid #D09DBA;
		padding-top:4px;
		padding-bottom:4px;
		z-index:3; /*so drop down menus appear over content */
	}
  
  #block-menu-primary-links .content ul.menu li.menu-Latest ul.menu,
  #block-menu-primary-links .content ul.menu li.menu-About-OER ul.menu,
  #block-menu-primary-links .content ul.menu li.menu-About-Us ul.menu,
  #block-menu-primary-links .content ul.menu li.menu-Latest ul.menu li a,
  #block-menu-primary-links .content ul.menu li.menu-About-OER ul.menu li a,
  #block-menu-primary-links .content ul.menu li.menu-About-Us ul.menu li a {
		width:141px;
  }
  
  
  	#block-menu-primary-links ul li.expanded.last {
		width:5em; /*to stop top li s from wrapping, even on big text sizes */
	}
	
	#block-menu-primary-links ul li.expanded.active-trail > a,
	#block-menu-primary-links ul li.expanded li.leaf.active-trail a:link,
	#block-menu-primary-links ul li.expanded li.leaf.active-trail a:visited {
		color:#534747; /* current section */
		cursor:default;
	}
	#block-menu-primary-links ul li.expanded li.leaf.active-trail a:hover,
	#block-menu-primary-links ul li.expanded li.leaf.active-trail a:focus,
	#block-menu-primary-links ul li.expanded li.leaf.active-trail a:active {
		text-decoration:none;
	}
		
		
	#block-menu-primary-links ul li.expanded ul.menu li a {
	
	    ffffont-family: 'UbuntuRegular', 'Charcoal CY', Arial,  Verdana, Helvetica, sans-serif;
		white-space:nowrap;
		bbbbackground-color:gold;
		width:190px;
		overflow:hidden;
		font-size:15px;
		-moz-border-radius:0;
		-webkit-border-radius:0;
    	border-radius:0;
    	-o-border-radius:0;
    	-icab-border-radius:0;
    	-khtml-border-radius:0;
	}
	
	#block-menu-primary-links ul li.expanded ul.menu li a:hover {
		background-color:#e9e3e2;
		ooooverflow:visible;
	}

	
	#block-menu-primary-links li {
		background-color:#d9cfd0;
		bbbbbbbackground-image: none;
	}
	
	#block-menu-primary-links ul li.expanded ul.menu li {
		text-indent:0.5em;
		border-right:none;
		padding:0;
	}
	#block-menu-primary-links ul li.expanded.last {
		border-right:none;
	}
	
	
	
	/* The order of link states are based on Eric Meyer's article:
	 * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
	 */
	#block-menu-primary-links ul li.expanded ul.menu li a:link,
	#block-menu-primary-links ul li.expanded ul.menu li a:visited {
		color: #C23459;
	}
	
	#block-menu-primary-links ul li.expanded ul.menu li a:hover,
	#block-menu-primary-links ul li.expanded ul.menu li a:focus {
		color: #3788b2;
	}
	
	#block-menu-primary-links ul li.expanded ul.menu li a:active {
		color: #d87807;
	}


   #block-menu-primary-links ul li.expanded ul.menu li.active-trail {
 	background-color:#c2b5b5;
 }

 #main .block ul.sideMenu li.active-trail {
 	background-color:#cfbfbf;
	mmmargin-bottom:4px;
	pppadding-left:5px;
 }


/** sidebar-left **/
  #sidebar-left
  {
    float: left;
    width: 250px;
    margin-left: 0;
    margin-right: -250px; /* Negative value of #sidebar-left's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */
  }
  .front #main #sidebar-left {
    width: 459px;
    margin-right: -459px; /* Negative value of #sidebar-left's width + left margin. */
  }
  .front #main #sidebar-left-inner {
    margin: 0 10px 0 0;

  }
  #sidebar-left-inner {
    margin: 0 0 0 0;
    padding: 0;
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: right;
    width: 250px;
    margin-left: -250px; /* Negative value of #sidebar-right's width + right margin. */
    margin-right: 0;
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

  #sidebar-right-inner
  {
    margin: 0 0 0 10px;
    padding: 0;
  }

/** footer **/
  #footer
  {
  }

  #footer-inner
  {
  }

/** closure **/
  #closure-blocks /* See also the #page declaration above that this div shares. */
  {
  }

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
  }

  #navbar
  {
    overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
  }

  /* If a div.clear-block doesn't have any content after it and its bottom edge
     touches the bottom of the viewport, Firefox and Safari will mistakenly
     place several pixels worth of space between the bottom of the div and the
     bottom of the viewport. Uncomment this CSS property to fix this.
     Note: with some over-large content, this property might cause scrollbars
     to appear on the #page div.
  */
  /*
  #page
  {
    overflow-y: hidden;
  }
  */
