/*
Theme Name: McGonagall2011
Theme URI: http://www.mcgonagall-online.org.uk/
Version: 1.0
Author: Chris Hunt
Author URI: http://extraconnections.co.uk
*/

@import url(fonts/oldstandard/include.css);
@import url(fonts/atlanticinline/include.css);
@import url(fonts/lucidahand/include.css);


/* ====== Overall Page Layout & Backgrounds ====== */

html {
   background: #ede3d8 url(images/marbletile2.jpg) 50% 0 repeat;
   margin: 0;
   padding: 0;
   height: 100%;
}

html body {
   min-height: 100%;
   background: url(images/bodybg.png) 50% 0 repeat-y;

   width: 975px;
   margin: 0 auto!important;
   padding: 0 65px;
}

#page { padding: 1px 0; }

#min {
   padding-bottom: -50px
 
}

#footer {
   border-top: 1px solid #333;  /* border + height + padding = margin */
   padding: 8px 0 3px;
   margin: 13px 0 0
   clear:both;
} 

/* ================= Main Fonts & Colours ==================== */

body {
   color: #333;
   font-family: "Old Standard TT", "Times New Roman", serif;
   font-weight: 400;
   font-size: 18px;
   line-height: 1.3;
   text-align:justify;
}

h1,h2,h3,h4,h5 {
   font-family: "Atlantic Inline", Georgia, serif;
   font-weight: normal;
   color: #911;
   text-align: left;
}

h1 {
   font-size: 36px;
   margin: 24px 0;
}

h2 {
   font-size: 27px;
   margin: 22px 0;
}

h2.subtitle {
   margin-top: -24px;
}


a {
  color: #911;
  text-decoration: underline;
  font-weight: bold;
}

a:visited {
  color: #711;
}

a:hover {
  color: #C00;
  text-decoration: none;
}

/* ==== Image alignment and display ==== */

.alignleft {
  float: left;
  margin: 6px 13px 6px 0;
}

.alignright {
  float: right;
  margin: 6px 0 6px 13px;
}

.aligncenter {
  display: block;
  margin: 1em auto;
  text-align: center;
}

.print {
  border: 1px solid #333;
}

.object {
  border: 0;
  -webkit-box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
  -moz-box-shadow: 1px 1px 4px   rgba(34,17,0,0.7);
  box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
}

.photo {
  border: 6px solid #f1ece5;   /* #eed */
  -webkit-box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
  -moz-box-shadow: 1px 1px 4px   rgba(34,17,0,0.7);
  box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.mounted {
  background: #DEB691  url(images/mcgbg.jpg);
  padding: 10px;
  border-width:1px;
  border-style:solid;
  border-right-color:#963;
  border-bottom-color:#963;
  border-top-color:#FC9;
  border-left-color:#FC9;
  -webkit-box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
  -moz-box-shadow: 1px 1px 4px   rgba(34,17,0,0.7);
  box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
}

/* ================ Page Header ==================== */

div#header {
   padding-top: 20px;
}

div#header img#titleimg {
   float: left;
   margin: 0;
   width: 722px;
   height: 230px;
   border: 3px double #333;

*position: absolute;
}

ul#topmenu {
   width: 234px;
   padding: 0 0 6px 6px;
   margin: 0 0 0 735px;
   list-style: none;
   border-left: 1px solid;

*height: 239px;
}

ul#topmenu li {
  border: 1px solid;
  list-style: none;
  margin: 0 0 2px;
  padding: 0;
}

ul#topmenu a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-variant: small-caps;
  font-weight: normal;
  font-size: 18px;
  line-height: 28px;
  height: 28px;
  background: url(images/shade.gif) #864;
  color: #EDE3D8;
  text-shadow: 0px 0px 2px #000;
  margin: 1px;
}

ul#topmenu a:hover {
  background: url(images/shade3.gif) #a33;
  color: #FFF;
  font-weight: bold;
}

form#cse-search-box {
   margin: 0;
   padding: 2px;
   border-top: 1px solid;
   border-bottom: 3px double;
   position: relative;
}

span.st_sharethis {
  position: absolute;
  left: 0;
  top: 5px;
}

span.st_sharethis_custom {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 14px;
  background: url(images/sharethis16sep.png) no-repeat scroll left top transparent;
  padding: 0 0 0 20px;
}

span.st_sharethis_custom:hover {
  background-image: url(images/sharethis16.png)
}

form#cse-search-box label {
   width: 728px;
   text-align: right;
   margin-right: 13px;
   float: left;
}

form#cse-search-box input#q {
   width: 170px;
}

/* ================ Main Content ==================== */

/* ========== Column split on home page ============= */

div#maincol {
   width: 728px;
   float: left;
   margin: 0 0 13px;
   padding: 0;
}

div#maincol>p {
   margin-top: 0;
}

div#sidecol {
   margin: 13px 0 13px 741px;
}

/* ==== Contents Lists for Themes and Publications === */

ul.long {
  -moz-column-count: 2;
  -moz-column-gap: 13px;
  -webkit-column-count: 2;
  -webkit-column-gap: 13px;
  column-count: 2;
  column-gap: 13px;
  text-align:left;
}

ul.long3 {
  -moz-column-count: 3;
  -moz-column-gap: 13px;
  -webkit-column-count: 3;
  -webkit-column-gap: 13px;
  column-count: 3;
  column-gap: 13px;
  text-align:left;
}

ul.long4 {
  -moz-column-count: 4;
  -moz-column-gap: 13px;
  -webkit-column-count: 4;
  -webkit-column-gap: 13px;
  column-count: 4;
  column-gap: 13px;
  text-align:left;
}
/* ========== Home page section list ============== */
dl.sections {
   clear: left;
   position: relative;
   margin: 1em;
   padding: 0;
}
       
dl.sections dt {
   font-weight: bold;
   float: left;
   clear: left;
   width: 4em;  /* or whatever we want it to be */
   margin: 0 0 1em 0;   /* match the dd */
   text-align: left;
}

dl.sections dd {
   clear: right;
   padding-left: 1em;
   margin: 0 0 1em 4em; /* match the dt except for the left margin */
}

/* ========== Article list ============== */
dl.articles {
   clear: left;
   position: relative;
   margin: 1em 0;
   padding: 0;
   overflow: auto;
}
       
dl.articles dt {
   font-weight: bold;
   float: left;
   clear: left;
   width: 10em;  /* or whatever we want it to be */
   margin: 0 0 1em 0;   /* match the dd */
   text-align:left;
}

dl.articles dd {
   clear: right;
   padding-left: 1em;
   margin: 0 0 1em 10em; /* match the dt except for the left margin */
}

.articles p {
   margin: 0;
}

table.articles {
  width: 100%;
  padding-bottom: 45px;
  background: url(/images/divider3.png) 50% 100% no-repeat;
  margin-bottom: 2em;

}

table.articles th {
  width: 234px;
  padding: 0 13px 1em 0;
  vertical-align: top;
  text-align: left;
  margin: 0;
}

table.articles td {
  padding: 0 0 1em;
  vertical-align: top;
  margin: 0;
}



/* =========== Gem-bordered box(es) ============*/
div.gembox {
  background: url(images/gem14.png) top left repeat-x;
  padding: 14px 0 0;
width: 728px;
}

div.gembox div {
  background: url(images/gem14.png) bottom left repeat-x;
  padding: 0 0 14px;
}

div.gembox div div {
  background: url(images/gem14.png) top left repeat-y;
  padding: 0 0 0 26px;

}

div.gembox div div div {
  background: url(images/gem14.png) top right repeat-y;
  padding: 0 28px 0 2px;
}

/* ===================== Lists of Links =====================*/

ul.related,
ul.links,
ul.contents,
ul.bookrefs,
ul.works {
   list-style: none;
   padding: 0;
   margin-left: 0;
}

ul.related li,
ul.links li,
ul.contents li,
ul.bookrefs li,
ul.works li {
   list-style: none;
   margin-left: 0;
   padding: 0;
   margin-bottom: 3px;
}

/* ul.links li, */
ul.related li,
ul.contents li,
ul.works li {
   padding-left: 24px;
   text-indent: -24px;
}

/* ul.links li a, */
ul.related li a,
ul.contents li a,
ul.works li a {
   line-height: 24px;
   font-size: 18px;
   padding-left: 24px;
   background: url(images/gemb911.png) 0 3px no-repeat;
}  

ul.bookrefs li {
   margin-bottom: 6px;
}

ul.bookrefs li span.author {
   font-weight: bold;
}

/* ul.links li a:visited, */
ul.related li a:visited,
ul.contents li a:visited,
ul.works li a:visited {
   background-image: url(images/gemb711.png);
}

/* ul.links li a:hover, */
ul.related li a:hover,
ul.contents li a:hover,
ul.works li a:hover {
   background-image: url(images/gembc00.png);
} 

/* ====================== Blog Sidebar ======================*/

div#sidebar {
   width: 234px;
   margin: 0 0 13px 13px;
   float: right;
}

div#sidemenu h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
  padding-top: 35px;
  background: url(images/divider2.png) 50% 0% no-repeat;
}

div#sidemenu h3.first {
  padding-top: 0;
  background: none;
}

div#sidemenu ul {
   list-style: none;
   margin: 0 0 1em;
   padding: 0;
}

/* ===================== Blog Elements ======================*/

h1.storytitle {
   margin-bottom: 0;
}

div.meta {
   font-size: smaller;
   margin-bottom: 1em;
   font-style: italic;
}

/* ========== Boxing styles used in the sidebar ============ */

div.sidebox1 {
  width: 234px;
  background: url(images/ivytop.gif) top left no-repeat;
  padding-top: 10px;
}

div.sidebox1 div {
  background: url(images/ivybot.gif) bottom left no-repeat;
  padding-bottom: 10px;
}

div.sidebox1 div div {
  background: url(images/ivymid.gif) top left repeat-y;
  padding: 5px 20px;
}

/* --- */

div.sidebox2 {
  width: 234px;
  background: url(images/olivetop.gif) top left no-repeat;
  padding-top: 15px;
  margin-top: 1em;
}

div.sidebox2 div {
  background: url(images/olivebot.gif) bottom left no-repeat;
  padding-bottom: 15px;
}

div.sidebox2 div div {
  background: url(images/olivemid.gif) top left repeat-y;
  padding: 4px 19px;
}

/* --- */

div.sidebox3 {
  width: 218px;
  padding: 5px;
  boder: 3px double;
}

/* ============= Gem of the Day panel (in sidebar) ============= */

div#gotd {
  text-align: center;
}

div#gotd_side h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
}

div#gotd_side h2 {
  font-family: "Atlantic Inline";
  font-size: 25px;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
}

div#gotd_side p.get {
  font-size: smaller;
  text-align: center;
}

/* ============= Gem of the Day panel (in main panel) ============= */

div#gotd_main {
  width: 728px;
  background: url(images/gem14.png) top left repeat-x;
  padding: 14px 0 0;
  margin: 1em auto 0;
  text-align: center;
}

div#gotd_main div {
  background: url(images/gem14.png) bottom left repeat-x;
  padding: 0 0 14px;
}

div#gotd_main div div {
  background: url(images/gem14.png) top left repeat-y;
  padding: 0 0 0 26px;

}

div#gotd_main div div div {
  background: url(images/gem14.png) top right repeat-y;
  padding: 0 28px 0 2px;
}

div#gotd_main h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
}

div#gotd_main h2 {
  font-family: "Atlantic Inline";
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  padding-top: 10px;
}

div#gotd_main p.get {
  font-size: smaller;
  text-align: center;
  margin-bottom:0;
  padding-bottom: 10px;
}

/* ============= Twas on this Day... panel ============= */

div#otd {
  text-align: center;
}

div#otd h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
}

div#otd h2 {
  font-family: "Atlantic Inline";
  font-size: 25px;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
}

/* =========== Recent news & Comments ========== */
div#newsbox h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
  padding-top: 35px;
  background: url(images/divider2.png) 50% 0% no-repeat;
}

div#newsbox h3.first {
  padding-top: 0;
  background: none;
}

div#newsbox ul {
  margin: 10px 0;
  padding: 0;
}

div#newsbox li {
  margin: 5px 0 10px;
  padding: 0;
  list-style: none;
  text-align:left;
}

div#newsbox .meta {
  display: block;
  font-size: smaller;
}

div#newsbox span.comment,
div#newsbox span.author,
div#newsbox span.title {
  font-style: italic;
}




/* ============ Random Quote Panel ============= */

div#sidequote h3 {
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  text-align: center;
  margin: 0 0 10px;
  font-variant: small-caps;
  font-style: italic;
  color: #333;
}

div#sidequote blockquote {
  margin: 5px 0 10px;
  font-style: italic;
  text-align:left;
}

div#sidequote p.cite {
  margin-bottom: 5px;
  font-size: smaller;
  text-align: right;
}

/* =========== Next/Previous Story Buttons =========== */

div.prevnext {
  clear: left;
  overflow: auto;
  margin-left: 247px;
}

div.prevnext a {
  width: 234px;
  background: url(images/ivytop.gif) top left no-repeat;
  padding-top: 10px;
  display: block;
  float: left;
  margin-right: 13px;
  font-family: "Old Standard TT",serif;
  font-weight: normal;
  font-variant: small-caps;
  font-style: italic;
  font-size: 105%;
}

div.prevnext a:hover {
  cursor: pointer;
}

div.prevnext a span {
  background: url(images/ivybot.gif) bottom left no-repeat;
  padding-bottom: 10px;
  display: block;
}

div.prevnext a span span {
  background: url(images/ivymid.gif) top left repeat-y;
  padding: 5px 20px;
}

div.prevnext a.prev span span span {
  background: url(images/handleft.png) left no-repeat;
  padding: 0 0 0 50px;
  min-height: 25px;
  text-align: center;
}

div.prevnext a.next span span span {
  background: url(images/handright.png) right no-repeat;
  padding: 0 50px 0 0;
  min-height: 25px;
  text-align: center;
}

div.prevnext a.next {
  margin-right: 0;
}

/* == Letters and other handwritten documents == */

blockquote.letter {
  background: url(images/lettermid.png) repeat-y;
  width: 746px;
  padding: 0;
  margin: 1em auto;
  font-family: "Lucida Handwriting", cursive;
  line-height: 1.6;
  color: #325;
  text-align:left;
}

blockquote.letter div {
  background: url(images/letterbot.png) left bottom no-repeat;
  padding-bottom: 19px;
}

blockquote.letter div div {
  background: url(images/lettertop.png) left top no-repeat;
  padding: 19px 29px 0;
  
}

/* ================== Comments ==================== */

ol#commentlist {
  list-style: none;
  margin: 1em 0;
  padding: 0;
}

ol#commentlist li {
  padding:0;
  margin: 39px 247px 12px 54px;
  border: 1px solid #666;
}

ol#commentlist li.author {
  border: 3px double #666;
}

ol#commentlist div.c1 {
  background: url(images/cornerhand.png) top left no-repeat;
  margin: -28px 0 0 -55px;
  padding: 33px 15px 5px 70px;
}

ol#commentlist li.author {
  border: 4px double #666;
}

ol#commentlist li.author div.c1 {
  margin: -31px 0 0 -58px;
}

ol#commentlist div.commenter {
  font-weight: bold;
}

ol#commentlist div.commentmeta {
  font-size: smaller;
  border-bottom: 1px dotted;
  padding-bottom: 2px;
}

textarea#comment {
  width: 720px;
  border-width: 1px;
  margin-left: 0;
  margin-right: 0;
  padding: 3px;
}

/* ============= Newspaper Cuttings =============== */

blockquote.news {
  width: 363px;
  float: right;
  background: url(images/newstop.png) top left no-repeat;
  padding-top: 103px;
  font-family: "Times New Roman", Times, Serif;
  font-size: 16px;
  text-align: justify;
  color: #433;
  margin: 0 -126px 1em 10px;
}

blockquote.news div {
  background: url(images/newsbot.png) bottom left no-repeat;
  padding-bottom: 42px;
}

blockquote.news div div {
  background: url(images/newsmid.png) top left repeat-y;
  padding: 1px 45px 1px 26px;
}

blockquote.news h1,
blockquote.news h2,
blockquote.news h3 {
  color: #433;
  font-family: "Times New Roman", Times, Serif;
  text-align: center;
  font-weight: bold;
  font-variant: small-caps;
  margin: 0 0 16px;
  line-height: 1;
}

blockquote.news h1{
  font-variant: normal;
  font-size: 28px;
  text-transform:uppercase;
}

blockquote.news h2{
  font-size: 22px;
}

blockquote.news h3{
  text-align: right;
  font-size: 16px;
  margin: 0;
}

blockquote.news p+h3 {
  margin-top: 16px;
}

/* h5 is used for headings from the London Gazette */

blockquote.news h5 {
  color: #433;
  font-family: "Times New Roman", Times, Serif;
  font-size: 16px;
  text-align: right;
  font-weight: normal;
  font-style: italic;
  margin: 0 0 8px;
}

blockquote.news p+h5 {
  margin-top: 16px;
}


blockquote.news p {
  text-indent: 1em;
  margin: 0;
}

blockquote.news div div>p:first-child,
blockquote.news h1+p,
blockquote.news h2+p,
blockquote.news h3+p,
blockquote.news h5+p {
  text-indent: 0;
}

/* strong rule added for Battle of the Nile report, remove if troublesome elsewhere! */
blockquote.news strong {
  font-weight: normal;
  font-variant: small-caps;
  letter-spacing: 1px;
}

blockquote.news p.cite {
  margin-top: 16px;
  text-align: right;
}

blockquote.news span.date {
  white-space: nowrap;
}

blockquote.news blockquote {
  margin:0;
  font-size: 90%;
}

blockquote.news .capquote {
  /* text-transform: none;
  font-variant:small-caps; */
  margin: 2px 0;
}

blockquote.news blockquote.poem p {
  text-indent: 0;
  margin-top: 0.5em;
}

/* =============Collections of Cuttings ============== */

div.cuttings blockquote {
  padding-top: 45px;
  background: url(/images/divider3.png) 50% 0 no-repeat;
}


/* ================== Google Ads ===================== */

div.sidead {
  margin: 18px 0;
}

div.banad {
  text-align: center;
}

div.banad div {
  display: inline-block;
  width: 728px;
  height: 90px;
  padding: 40px 0;
  margin: 18px auto;
  background: url(images/bandivs2.png) top left no-repeat;

/* For IE 7 */
  zoom: 1;
  *display: inline;
}

/* ================== Shop Page ===================== */

div.carousel {
  margin: 36px auto;
  width: 600px;
  height: 200px;
  border: 3px double #999;
}


/* ========== Styling for the census page ============ */

.census {
   background: #eed url(images/paper2.jpg);
   padding:20px;
   border-width: 1px;
   border-style: solid;
   border-right-color:#ddc;
   border-bottom-color:#ddc;
   border-top-color:#FFF;
   border-left-color:#FFF;
   margin-bottom: 3em;
    -webkit-box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
    -moz-box-shadow: 1px 1px 4px   rgba(34,17,0,0.7);
    box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
}

.census table {
   border-collapse: collapse;
   width: 100%;
   border: 2px solid black;
}

.census th {
   font-family: "Times New Roman", Times, serif;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
   border: 1px solid black;
   border-bottom-width: 2px;
   vertical-align: bottom;
   padding: 1px 4px;
}
   
.census td {
   font-family: "Lucida Handwriting", "Times New Roman", Times, serif;
   color: #003;
   font-weight: 100;
   font-style: italic;
   text-align: center;
   border: 1px solid black;
   vertical-align: top;
   padding: 1px 3px;
}

.census .will td {
   color: #900;
}

.census .will td.addr {
   color: #003;
}

/* ========== Calendar page date list ============== */
dl.dates {
   clear: left;
   position: relative;
   margin: 1em 0 2em;
   padding: 0;
}
       
dl.dates dt {
   font-weight: bold;
   float: left;
   clear: left;
   width: 2em;  /* or whatever we want it to be */
   margin: 0 0 1em 0;   /* match the dd */
}

dl.dates dd {
   clear: right;
   padding-left: 1em;
   margin: 0 0 1em 2em; /* match the dt except for the left margin */
}

/* ============ Miscellaneous Content ============== */

div.headnote {
  font-style: italic;
  font-size: 110%;
}

div.headnote cite:before {
  content: "\201C";
}

div.headnote cite:after {
  content: "\201D";
}

div.note,
p.note {
  font-style: italic;
  margin-left: 2em;
  margin-right: 2em;
}

div.chart {
  width: 728px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

p.chorus {
  margin-left: 2em;
}

.gemtext ol li {
  margin-bottom: 1em;
}

p.edit {
  text-align: right;
  font-size: smaller;
}

.capquote {
  text-transform: uppercase;
  text-align: center;
  display: block;
  margin: 1em 0;
}

p.cite {
  text-align: right;
  margin: 1em 0;
}

div.card {
   width: 441px;
   margin: 1em auto;
   text-align: center;
   background: #eed url(images/paper2.jpg);
   padding:20px;
   border-width: 1px;
   border-style: solid;
   border-right-color:#ddc;
   border-bottom-color:#ddc;
   border-top-color:#FFF;
   border-left-color:#FFF;
   -webkit-box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
   -moz-box-shadow: 1px 1px 4px   rgba(34,17,0,0.7);
   box-shadow: 1px 1px 4px  rgba(34,17,0,0.7);
   fnt-family: "Times New Roman", Times, serif;
}

div.card p.p1 {
  font-variant: small-caps;
  font-size: larger;
}


/* List of page links - in search results, autobiography, Jack etc. */

.pagelist {
   list-style: none;
   margin: 1em 0;
   padding: 0;
   text-align: center;
}

.pagelist li {
   display: inline;
   list-style: none;
   margin: 0;
   padding: 0 0 0 18px;
   font-weight: bold;
   clor: #900;
   background: url(images/block.gif) 5px 50% no-repeat;
}

.pagelist li a {
   fnt-weight: normal;
}

.pagelist li.first {
   padding: 0;
   background: transparent;
}   

/* Tables of Contents (eg. list of newspaper cuttings on Life page) */

table.contents {
   border-collapse: collapse;
   margin: 1em 0;
}

.contents th, .contents td {
   font-weight: normal;
   vertical-align: top;
   text-align: left;
   margin: 0;
   padding: 0.5em 0;
   border-top: 1px solid #333;
}

.contents th a {
   font-weight: bold;
  
}

.contents td {
   padding-left: 0.5em;
}

tr.first th, tr.first td {
   border: 0;
}

.contents td.date {
   text-align: center;
   width: 4em;
}

/* =============== Theme Pages ===================== */
.theme_image {
  float: right;
  margin: 0 0 13px 13px;
}

div.theme h2 {
  clear: right;
}

/* ============= Publication Pages ================= */
.publication .amazon_enhanced {
   float: right;
   margin: 0 0 13px 13px;
}

.publication .cover {
    float: left;
    margin: 0 13px 13px 0;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(34,17,0,0.9);
    -moz-box-shadow: 1px 1px 3px 1px  rgba(34,17,0,0.9);
    box-shadow: 1px 1px 3px 1px rgba(34,17,0,0.9);
}

.publication ul {
   clear: left;
}

/* ====================== 404 Page ========================= */

.error404 blockquote {
   width: 481px;
   margin: 3em auto;
}


/* =================== Search Results ======================*/

div#cse {
  overflow: auto;
  margin-bottom: 1em;
}

div.gsc-tabsAreaInvisible,
table.gsc-resultsHeader,
div.gs-visibleUrl-short,
div.gsc-url-top,
div.gsc-thumbnail-inside,
div.gs-watermark {
   display: none;
}

div.gsc-resultsbox-visible {
   margin: 12px 0;
   border-top: 1px solid #666;
   border-bottom: 1px solid #666;
   padding-top: 12px;
}

div.gsc-expansionArea div.gsc-result {
   margin: 12px 0;
   border-top: 1px solid #666;
   padding-top: 12px;
}

a.gs-title b {
  font-style: italic;
}

div.gs-snippet b,
div.gs-visibleUrl-long b {
  font-weight: normal;
  font-style: italic;
}

div.gs-visibleUrl-long {
  font-size: small;
  color: #666;
}

div.gsc-cursor-box {
  margin-top: 12px;
  float: left;
}

div.gsc-cursor-page {
  display: inline;
  padding: 0 0 0 18px;
  font-weight: bold;
  color: #911;
  background: url(images/block.gif) 5px 50% no-repeat;
  text-decoration: underline;
}

div.gsc-cursor-page:hover {
  color: #c00;
  cursor: pointer;
  text-decoration: none;
}

#cse div.gsc-cursor-current-page {
  color: #333;
  cursor: default;
  text-decoration: none;
}

div.gsc-cursor-page:first-child {
  padding:0;
  background: none;
}

div.gcsc-branding {
   font-size: smaller;
   margin-top: 12px;
   float: right;
}


/* ================ Page Footer ==================== */

div#footer {
  /* Set borders, margins & padding at top of the stylesheet! */
  font-size: 12px;
  line-height: 1;
  clear: both;
}

div#footer p {
  margin: 0;
}

div#footer #credit {
  float: left;
}

div#footer ul#footmenu {
  margin:0;
  padding: 0;
  text-align: right;
}

ul#footmenu li {
  display: inline;
  padding: 0 0 0 18px;
  background: url(images/block.gif) 5px 50% no-repeat;
}

ul#footmenu li.first {
  padding: 0;
  background: none;
}


/* ========================================= PRINT STYLES =============================== */

@media print {
  html {
     background: #fff;
     margin: 0;
     padding: 0;
  }

  body {
     background: #fff;
     width: 100%;
     margin: 0;
     padding: 0;
  }

  #footer {
     border-top: 1px solid #333;  /* border + height + padding = margin */
     padding: 8px 0 3px;
     margin: 13px 0 0
     clear:both;
  } 

  /* ================= Main Fonts & Colours ==================== */

  body {
     color: #000;
  }

  /* ================ Page Header ==================== */


  div#header img#titleimg {
     float: none;
     margin: 0 auto;
     *position: static;
  }

  ul#topmenu,
  form#cse-search-box {
     display: none;
  }

  /* ========== Column split on home page ============= */

  div#maincol {
     width: 100%;
     float: none;
  }

  div#sidecol {
     display: none;
  }

  /* ====================== Blog Sidebar ======================*/

  div#sidebar,
  div#sidemenu {
     display:none;
  }


  /* ============= Comments =============== */

  a.post-edit-link,
  a.post-comment-link,
  p#commentlinks,
  h2#postcomment,
  form#commentform {
    display:none;
  }
  /* ============= Newspaper Cuttings =============== */

  blockquote.news {
    background: #eee;
    border: 1px solid #000;
    max-width: 33%;
    padding: 10px;
    color: #000;
    margin: 0 0 13px 13px;
  }

  blockquote.news div {
    background: none;
    padding: 0;
  }

  blockquote.news div div {
    background: none;
    padding: 0;
  }

  blockquote.news h1,
  blockquote.news h2,
  blockquote.news h3 {
    color: #000;
  }

  /* h5 is used for headings from the London Gazette */

  blockquote.news h5 {
    color: #000;
  }

  /* ================== Google Ads ===================== */

  div.sidead,
  div.banad {
    display: none;
  }

  /* ========== Styling for the census page ============ */

  .census {
     background: #eed;
  }

  /* ============= Publication Pages ================= */
  .publication .amazon_enhanced {
     display: none;
  }

  /* ================ Page Footer ==================== */

  div#footer ul#footmenu {
    display: none;
  }
}