/* CSS containing style rules to fix IE5/Mac's buggy behaviour.
 *
 * This style sheet should only be seen by IE5/Mac because it's the only browser
 * that obeys the malformed '@import("./xxx.css");' directive in the html.
 */


/* Search */
#search { margin-left: 10px; }
#searchButton { left: 124px; }

/* fixes for nav lists */
#sidebar #nav,
#sidebar #menuhead { position: relative; left: -4px;}
#sidebar #nav ul { position: relative; left: -8px;}
#sidebar #nav li { display: inline-block; }
#sidebar #nav li li { position: relative; left: 8px; line-height: 1.35;}
#sidebar #nav ul ul { background: #ffffff;}

#nav>div>a, #nav>ul>li>a { overflow: visible; }
#nav-this span { color: #ffffff !important; }
#nav>ul>li.parent { width: 100%; background: #ffffff !important;}


/* fixes needed for new table layout */
#container { }
#main-cell { }
#main { margin-left: -8px; }
#main-top { }
#main-content { padding-right: 20px; }

/* Header disappears without widths. Positioning is unrelated. */
#header { width: 100%;}
#header-rcap { width: 100%; right: 8px;  }
#header-container { margin-left: 8px;  }
.home #header a { overflow: visible; }
.home #header a span { visibility: visible; }


/* Cambridge bar leaks right */
#striptitle {width: auto; }
#strip { overflow: visible;}

#main-content br { clear: both; }

.projectbox { width: 49%; }
.projectbox-content { overflow: visible; }

.projectbox img { width: 70px; float: left; } 
p.resourcehead { clear: none !important; }
p.resourcehead br { clear: none !important; }


.resources .resourcebox { width: 24%; }
.catalogue .resourcebox { width: 19%; }

.resourcebox a:link, .resourcebox a:visited { border-color: #ffffff !important; }



/* panelbreaks barf */
.panelbreak { margin-right: -20px; }


/* home page highlights appear all wrong - change tack*/
.highlights { float: none; display: inline-block; width: 23%;  }


/* Everything gets underlined; pish, flawed inheritance, pish. */
#main .minilinks a { border-bottom: none !important; }

/*  To clear any floats so the bottom edge is plotted.
 *  This doesn't force the plotting of the rh edge, but life's too short. */
#main-bottom {clear: both; } 





/***************************************************************************
 * Following is stuff that, although seen by IE5/Mac, was later moved into *  
 * iewin-fixes.css and perhaps isn't necessary here - check later.         *
 ***************************************************************************/

* html #breadcrumbs {
   width /* */: 100%;
}

/* The following is not a full workaround, but without it IE
 * destroys the list markers behind the float. */
* html #main .catpage li { text-indent: 2em; margin-left: 0;} 

/* No :first-child pseudoclass use a real class instead. */
* html #main table.components tr.first-child td { border: none; }
