/*
Styles for the Cambridge University 'Reporter'

This file contains structural stuff and stuff outside the substantive content area: 

- header
- main body
- footer
- navigation

$Revision: 3 $
$Author: snr21 $
$LastChangedDate: 2010-09-29 10:53:32 +0100 (Wed, 29 Sep 2010) $

Created by Simon Redhead
*/


body {
    font-family: sans-serif;
    line-height: 1.5;
    font-size: 12pt;
    padding: 0 1em 0 1em;
    margin: 0 1em 0 1em;
    background-color: #ffffff;
}
 
form, fieldset { padding: 0; }

#links a.rss { 
  padding-left: 20px; 
  background: transparent url("http://www.cam.ac.uk/global/images/icon-rss.gif") no-repeat left center;
}

/* HEADER */

#masthead {
  float: right;  
  width: 78%;
  min-height: 66px;
  overflow: visible;
  padding-top: 1em;
}


#masthead img {
  float: left;
  border: 0;
  margin-right: 4%;
}


#skip-nav {
  font-size: 70%;
  position: absolute;
  right: 3em;
  top: 0;
  line-height: 1.2em;
  color: #ffffff;
}

#skip-nav:focus,
#skip-nav:active,
#skip-nav:hover {
  color: #0000ff;
  background-color: #ffff88;
}

#search {
  margin: 2px 0 0 0;
  text-align: right;
  overflow: hidden;
}

#search select.search-type {
  margin-left: 0.5em;
  font-size: 0.7em;
}

#search input.search-term {
  margin-left: 0.5em;
  font-size: 0.7em;
  width: 8em;
  border: 1px solid #c0c0c0;
}

#search input.search-term:focus { 
  background-color: #f2f2ff;
  border-color: #6666bb;
}

#search input.search-submit {
  margin-left: 0.5em;
  width:22px;
  height:22px;
  background: no-repeat top center url('../images/button-search.gif');
  border: 0;
  text-indent: 22px;
  cursor:pointer;
}
#search input.search-submit:hover {
  background-position: bottom center;
  }
  

#search fieldset { padding: 0; border: 0; margin: 0;}
#search legend { display: none; }
#search label { font-size: 0.7em; color: #606060; padding-left: 0.5em;  }



#links {
  overflow: hidden;
  margin: 1px 0 0 0;
  padding: 0.3em 0;
  text-align: right;
  line-height: 1.2em;
  font-size: 0.7em; 
  border-bottom: 1px solid #f0f0f0;
  border-top: 1px solid #d0d0d0;
  min-width: 8em;
}

#links a {  
  white-space: nowrap; 
  padding: 0 0.75em; 
  margin: 0;
 }
#links a:hover {
  background-color: #f2f2ff;
}

#issue-details { 
  overflow: hidden;
  padding: 0;
  font-size: 90%;
  font-variant: small-caps;
  border: solid #d0d0d0;
  border-width: 1px 0 0 0;
  min-width: 11em;
}
#issue-details p { 
  margin: 0; 
  padding: 0.3em 0;
  line-height: 1em;
  text-indent: 0; 
  text-align: center;
  }
#issue-details .issue-num {   width: 19%; float: left; }
#issue-details .issue-date {   width: 46%; float: left; }
#issue-details .issue-vol {  width: 34%; float: right; }
#issue-details .issue-pages { display: none; font-variant: normal; }


/* MAIN BODY */


#body {
  float: right;  
  width: 78%;
  font-size: 11pt;
  margin-bottom: 3em;
  min-height: 30em;
  overflow: hidden;
}

/* FOOTER */


div.footer {
  font-size: 80%;
  margin: 3em 0 1.5em 22%;
  padding: 0.5em 0 1.5em 0em;
  clear: both;
  border-top: 1px solid #9999cc;
}

div.footer p {
  color: #505050;
  text-indent: 0;
  text-align: left;
}
div.footer p.links {
  float: right;
  text-align:right;
}
div.footer p.links a {
  padding-left: 1.5em;
  float: left;
}


/* NAVIGATION */

/* Some of the elements listed are dynamically generated in JS */

#nav {
  position: fixed;
  font-size: 75%;
  width: 20%;
  left: 1.2em;
  top: 0;
  padding-top:1em;
  background: #ffffff;
}

#nav.scrollable {
  position: absolute;
}

#top-nav-control {
  position: absolute;
  top: 1em;
  left: 1.2em;
  color: #cccccc;
  padding-left: 15px;
  width: 5em;
  font-size: 75%;
  line-height: 1.1em;
  
}
#top-nav-control:hover {
  color: #000066;

}

.nav-control {
  float: left;
  margin: 0.3em 3px 0 0;
  color: #cccccc;
  height: 14px;
  width: 13px;
  background: 0 -42px transparent no-repeat url("images/scroll-icons.gif");
}
.nav-control:hover,
.nav-control.hidden:hover {
  color: #000066;
  text-decoration: underline;
  cursor: pointer;
  background-image: url("images/scroll-icons.gif");
  background-position: 0 -28px;
}
#nav.scrollable .nav-control {
  background-position: 0 -14px;
}
#nav.scrollable .nav-control:hover {
  background-position: 0 0px;
}
.nav-control.hidden {
  background-image: none;
}


#nav h2 {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
#nav ul {
  clear: both;
  margin-left: 0;
  padding: 0;  
}

#nav ul.toc1 {
  margin: 0;
}

#nav li {
  padding-bottom: 0;
  padding: 0 0 0 16px; 
  border-top: 1px solid #ddddee;
  font-weight: bold;
  line-height: 1.2em;
}

#nav a {
  display: block;
  padding: 0.15em 0;
}

#nav li li a {
  display: block;
  padding: 0.2em 0;
}


#nav li.lastOfOfficial {
  border-bottom: 1px solid #ddddee;
  margin-bottom: 4px;
}

#nav li.lastSection {
  border-bottom: 1px solid #ccccdd;
}



#nav li li {
  border-top: 1px solid #ccccdd;
  font-weight: normal;
  background: #ffffff;
  line-height: 1em;
  padding: 0 0 0 16px; 
}

#nav li li.in-view {
  background-color: #ffffd0; 
}


#nav li:hover {
  background-color: #eeeeff; 
}
#nav li li:hover {
  background-color: #ddddee 
}
 
#nav li.open {
  background-color: #222288; 
}
#nav li.open:hover {
  background-color: #444499; 
}
#nav li.open a {
  color: #ffffff;
}
#nav li.open li a {
  color: #000088;
}

#nav ul {
 list-style-type: none;
}

#nav ul ul {
 display: none;
}

#nav ul li.open ul {
 display: block;
}


#nav li.unofficial {
  border-color: #d8d8d8;
}
#nav li.unofficial a {
  color: #000055;
}
#nav li.open.unofficial a {
  color: #ffffff;
}
#nav li.open.unofficial li a {
  color: #000055;
}


 #nav li.acs-cam-only {
  background-image: url('../images/icon-restricted.gif');
  background-position: center left;
  background-repeat: no-repeat;
}

 #nav li.acs-cam-only li {
   background-image: none;
   }





