/* ------ general settings ------ */
/* colours used */
/*    #FF5D2C   reddy orange */
/*    #FAD852   yellowy orange */
/*    #FFFBEE   cream */

body{
      font-family: Tahoma, Verdana, Arial, sans-serif;
      color: black;
      font-size: small;
      background: white url(srcgraphics/cellogirl.jpg) no-repeat top left;
      /*background-attachment: fixed;*/
      /*background-repeat: no-repeat;
      background-color: white; */
}

body, p, h1, h2, ul, li, a, span{
      padding: 0 0 0 0;
      margin: 0 0 0 0;
}

ul    {list-style-type: none;}
em    {font-weight: bold; font-style: normal;}

a:link {
      color: rgb(0,128,255);
      text-decoration:  none;
      background: transparent url(srcgraphics/under_l.gif) repeat-x bottom left;
}
a:visited {
    color: maroon; /*rgb(128,0,0);*/
    text-decoration:  none;
    background: transparent url(srcgraphics/under_v.gif) repeat-x bottom left;
}

/*  highlighting external links using CSS3 selector  */

a[href^="http:"] {
  background: url(srcgraphics/external_link.gif) no-repeat right top;
  padding-right: 10px;
  font-weight: bold;
  border-bottom: 1px dotted blue;
}
a[href^="http:"]:visited {
  font-weight: normal;
  border-bottom: 1px dotted maroon;
}

a[href^="http://www.cellobabies.co.uk"], a[href^="http://cellobabies.co.uk"]  {
  background-image: none;
  padding-right: 0;
}
a:hover     {background-color: blue; color: white;}

/*body{
 background-color: #992300;
}  */


/* ------ basic layout ---- */
#header, #content{
      margin-left: 21%;
}

#header {
      width: 600px;
      font-family: Georgia, "Times New Roman", serif;
      text-align: center;
}

#content {
      padding-bottom: 120px;
      margin-bottom: 5px;
      margin-top: 1em;
      width: 590px;
}

#footer {
      margin-top: -100px;
      height: 102px;
}

#nav{
      position: absolute;
      top: 245px; /*295px;*/
      left: 1%;
      width: 18%;
}


#nav li{
      list-style-type: none;
}

/*------ detailed formating --------*/
/*--- detail header ---*/
#logo{
      font-size: 48px;
      font-style: italic;
      letter-spacing: 3px;
      margin: 30px 0 0 0;
}

#byline{
      font-family:  Tahoma, Verdana, Arial, sans-serif;
      font-size: 14px;
      font-weight: bold;
      color: rgb(100,100,100);
      padding-top: .2em;
}
#strapline{
      font-size:24px;
      font-style: italic;
      padding-top: .35em;
}

/*--- detail content ---*/
#content {
      background-image: url(srcgraphics/cellist.gif);
      background-repeat: repeat;
      background-color: #FFFBEE; /*rgb(255,251,238);*/
      border-left: 2px solid #FF5D2C;
      border-right: 1px solid #FAD852;
      padding-left: 20px;
      padding-right: 20px;
      padding-top: 0;
      text-align: justify;
      line-height: 162%;
      /*opacity: 0.85;
      filter: alpha(opacity=85);*/
}

#content h1{
      font-size: 200%;
      text-align: center;
      margin: 0 -20px 0 -20px;
      padding-top: 20px;
      padding-bottom: 10px;
      color: white;
      background: #FF5D2C url(srcgraphics/grad.jpg) repeat-y top left;
}

#content h2{
      font-size: 175%;
      margin: 1.5em 0 0.5em 0;
      padding: 10px 0 6px 45px;
      color: #FF5D2C;
      border-bottom: 1px solid black;
      background-image: url(srcgraphics/subhead.gif);
      background-repeat: no-repeat;
      background-position: bottom left;
}

#content h3{
      font-size: 120%;
      margin-bottom: 0.35em;
}

#content p{
      margin: 0 0 1em 20px;
}

#content p.firstpara {
  font-size: 110%;
  font-style: italic;
}

#content blockquote {
  font-style: italic;
}

#content blockquote .author {
  font-style: normal;
  text-align: right;
  padding-right: 40px;
  font-weight: bold;
}

#content ul{
  margin: -1em 0 1em 20px;
}

#content li{
      margin: 0 0 0 15px;
      padding-left: 15px;
      background-image: url(srcgraphics/content_bullet.gif);
      background-repeat: no-repeat;
      background-position: center left;
}
#home #content #intro li {
  text-align: left;
  /*line-height: 120%;*/
  background-position: 0 5px;
  line-height: 120%;
  padding-top: 0.35em;
  padding-bottom: 0.25em;
}


#subnav ol{
      margin-left: 20px;
}

#subnav li {
      display: inline;
      list-style-type: none;
      margin: 0 0 0 0;
      padding: 0 3px 0 0;
      font-size: 80%;
      background-image: url(srcgraphics/subnav_down.gif);
      background-repeat: no-repeat;
      background-position: left;
}

#subnav a{
      color: red;
      text-decoration: none;
      margin-left: 10px !important;
      padding-right: 1px !important;
}

#subnav a:hover, #content a.backtotop:hover{
      border-bottom: 1px solid red;
      color: white;
      background-color: black;
      outline: 1px solid red;
}

#content a.backtotop{
      text-decoration: none;
      margin: -20px 0 0 20px;
      padding: 0 0 0 10px;
      font-size: 80%;
      color: green;
      background-image: url(srcgraphics/subnav_up.gif);
      background-repeat: no-repeat;
      background-position: center left;
}

#content dt{
      font-weight: bold;
      margin: 10px 0 0 20px;
}

.pichome {
  float: right;
  position: relative;
  margin: 0 0 5px 20px;
  border: 5px solid #D2D2D2;
}

.boxright {
  float: right;
  position: relative;
  width: 200px;
  border: 1px solid #FFF3CA;
  border-top: 0;
  border-left: 2px solid #FF5D2C;
  padding: 0 0 5px 0;
  margin: 0 0 5px 10px;
  background-color: #FFF3CA ;  /*#FFFBEE;*/

}
.boxright h3{
   text-align: center;
   background: #FF5D2C url(srcgraphics/grad_sht.jpg) repeat-y;
   color: white;
   margin: 0 0 2px 0;
   padding: 0.5em 0 0.2em 0;
}

#content .boxright p{
  margin: 2px 5px;
  padding: 0;

}

/*--- detail footer ---*/
#footer {
      position: relative;
      padding-left: 250px;
      z-index: 0;
      background-image: url(srcgraphics/footer_alt.jpg);
      background-repeat: no-repeat;
      background-position: top left;
}

#footer p{
      text-align: left;
      padding: 0 0 10px 40px;
}

#footer p span{
      padding-left: 1em;
}

#footer p.webdev{
      font-weight: lighter;
      font-size: 80%;
      padding: 0 0 5px 80px;
}

span.reg {
    font-size: 60%;
    position: relative;
    top: -.6em;
}

/*--- detail nav ---*/
#nav {/*-- not fixed in IE so this helps when it scrolls over header pic */
      background-color:#FFFBEE;  /*rgb(255,251,238);*/
      /*filter: alpha(opacity=85);*/ /*IE opacity*/
}

#nav ul{
      list-style-type: none;
      /* border-top: 2px solid #FF5D2C; */
      background: transparent url(srcgraphics/grad_sht.jpg) no-repeat top left;
      border-left: 2px solid #FF5D2C;
}
#nav li{

      padding: 4px 2px 3px 2px;
      text-align: right;
}

#nav a{
      color: black;
      text-decoration: none;
      font-weight: bold;
      /*display: block;*/
      padding-right: 0;
      padding-left: 20px;
      margin-right: 8px;
}

#nav p {
  padding: 1em 2px;
  text-align: center;
}
#nav p a{padding-left: 0;}

#nav p span{display: block;}


#nav a:hover{
      /* background-image: url(srcgraphics/naveyes.jpg); */
      color: white;
      background-color: #FABB49;
      font-weight: bold;
      /*padding: 0;*/
}
  /* -- 'you are here' --*/
body#home #homepage,
body#cont #contpage,
body#biog #biogpage,
body#matl #matlpage,
body#hist #histpage,
body#test #testpage,
body#hint #hintpage,
body#link #linkpage,
body#news #newspage,
body#blog #blogpage{

  background: #FF5D2C url(srcgraphics/grad_sht.jpg) repeat-y;
}

body#home #homepage a,
body#cont #contpage a,
body#biog #biogpage a,
body#matl #matlpage a,
body#hist #histpage a,
body#test #testpage a,
body#hint #hintpage a,
body#link #linkpage a,
body#news #newspage a,
body#blog #blogpage a{
  color: white;
  background: transparent url(srcgraphics/nav_up2.gif) no-repeat center right;
  padding-right: 10px;
  margin-right: 8px;
  }



