/* @override https://archive.cpbf.org.uk/new_site/css/blog.css */

/* disable forms */

form input, form textarea, form p, form table { 
  display: none 
}

/* form:before {
  content: "The form that was here has been removed as this site has been archived" 
} */

/* hide facebooks likes as the urls are wrong, eg
   <div class="fb-like fb_iframe_widget" data-href="https://archive.cpbf.org.uk/body.php?id=3352" 
*/

div.fb-like {
  display: none;
}

/* core fonts */

@font-face {
    font-family: 'SortsMillGoudyRegular';
    src: url('../fonts/GoudyStM-webfont.eot');
    src: url('../fonts/GoudyStM-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoudyStM-webfont.woff') format('woff'),
         url('../fonts/GoudyStM-webfont.ttf') format('truetype'),
         url('../fonts/GoudyStM-webfont.svg#SortsMillGoudyRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SortsMillGoudyItalic';
    src: url('../fonts/GoudyStM-Italic-webfont.eot');
    src: url('../fonts/GoudyStM-Italic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GoudyStM-Italic-webfont.woff') format('woff'),
         url('../fonts/GoudyStM-Italic-webfont.ttf') format('truetype'),
         url('../fonts/GoudyStM-Italic-webfont.svg#SortsMillGoudyItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome.eot');
	src:url('../fonts/fontawesomed41d.eot?#iefix') format('embedded-opentype'),
		  url('../fonts/fontawesome.svg#fontawesome') format('svg'),
		  url('../fonts/fontawesome.woff') format('woff'),
		  url('../fonts/fontawesome.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 17, 2012 04:19:22 PM America/New_York */
/* -------------------------- */
/* fonts for navigation and controls */
 
body, .blog-footer {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #456;
}

body, html { 
    font-family: 'SortsMillGoudyRegular', Goudy, serif;
	font-size: 100%; 	
	padding: 0; 
	margin:  0;
	//background-color: #444444;
    background-color: #d9e9f9;
}
.container {
  width: 100%;
 // max-width: 970px;
 background-color: #fff;
 //position:relative;
 //z-index:0;
}

/* -------------------------- */
/* fit nav to width of content */

.navigation .container,
.navigation .container .col-sm-8,
.navigation .container .col-md-9 {
  padding-right: 0;
  padding-left:  0;
}
.navigation .col-sm-8,
.navigation .col-md-9 {
// background-color: pink;
}

/* -------------------------- */
/* fonts for content */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin: .5em 0;
  font-family: 'SortsMillGoudyRegular', Goudy, serif;
  font-weight: normal;
  font-style:  normal;
  color: #678;
}

/* -------------------------- */
/* heading sizes */

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  line-height: 1.25;
}
h1, .h1 {
  font-size: 5em;
  margin:    2em 0;
  letter-spacing: -1px;
}
.h2,h2,
 h2 .blog-post-title, 
.h2 .blog-post-title,
.blog-post-title h2, 
.blog-post-title .h2
 {
  font-size: 2.828em;
  margin:    0.5em 0;
  line-height: 1;
  letter-spacing: 0;
}
h3, .h3 {
  font-size: 2em;
  margin:    1em 0;
}
h4, .h4, h5, .h5 {
  //font-size: 1.414em;
    font-size: 1.6em;
  margin:    0.707em 0;
}
h6, .h6 {
  font-size: 1.25em;
  margin: .625em 0;
  font-weight: bold;
}

/* -------------------------- */
/* heading style variations */

h3, .h3, h5, .h5 {
  font-family: 'SortsMillGoudyItalic', Goudy, serif;
  letter-spacing: 1px;
}
h4, .h4, h6 .h6 {
  text-transform: uppercase;
  letter-spacing: 2px;
}
small, .font_small {
  font-size: 80%;
}

table, tr, td, tbody {
  font-family: 'SortsMillGoudyItalic', Goudy, serif;
  letter-spacing: 1px;
 }
 /* -------------------------- */
/* text of story */
p, p.regular {
  font: 1.35em/1.5em 'SortsMillGoudyRegular', Goudy, serif;
  color: #605858;
  margin-bottom:24px; //GH added
}
p i, p em, p.italic {
  font-family: 'SortsMillGoudyItalic', Goudy, serif;
  font-weight: normal;
  font-style:  normal;
  letter-spacing: 1px;
}
p.intro, .intro p, blockquote p, p blockquote {
  margin-top:     18px;
  margin-bottom:  18px;
  padding-bottom: 12px;
  font: 18pt/1.5 'SortsMillGoudyItalic', Goudy, serif;
  letter-spacing: 1px;
}
blockquote p, p blockquote {
  padding-right:  30px;
  padding-bottom: 18px;
  padding-left:   24px;
}
p.cpbf {
  letter-spacing: 1px;
  margin-top: .5em;
  margin-left: 1.5em;
}

/* -------------------------- */
/* typo for info texts */

p.dateline,
.blog-footer p,
.pager > li > a {
  font: .95em 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  margin-top: .75em;
  text-transform: uppercase;
}

/* -------------------------- */
/* lists in blog post */

.blog-post > li > a {
  letter-spacing: 1px;
  margin-top: .75em;
  text-transform: none;
}

.blog-post li {  
  font-family: 'SortsMillGoudyItalic', Goudy, serif;
  font-size: 160%;
}
.blog-post ul, .blog-post ol {
  margin-left: -1.25em;
  color: #605858;
  font-size: .85em;
}

/* -------------------------- */
/* limit width of default container */

@media (min-width: 1200px) {
  .container {
   width: 970px;
  }
}

/* -------------------------- */
/* style for nav */

.blog-menu {
  text-transform: uppercase;
  letter-spacing: 2px;
  
  //background-color: #fff;
  //background-color: #def;
  background-color: #f0f6fc;
}

.cpbf {
  height:auto;
  margin-top: 2em;
  margin-bottom: 1em;
}

.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  color: #3282ce;
  background-color: #f0f6fc;
  
  border-bottom: 1px solid #fff;
  border-right:  1px solid #fff;
}

.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  background-color: #47a6fe;
  text-decoration: none; 
}

.blog-nav .active:hover{
  //border-bottom: 0;
  color: #fff;
  background-color: #f00;   
}

/* add css caret to bottom of active state */

.blog-nav .active {
  color: #f00;
}

.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  width:  0;
  height: 0;
  left:  50%;
  vertical-align: middle;
  content: " ";
  margin-left:  -8px;  
  border-right:  8px solid transparent;
  border-left:   8px solid transparent;
  border-bottom: 8px solid #f00;
}

/* reverse css caret of active state on hover */

.blog-nav .active:hover:after {
  position: absolute;
  bottom: 0;
  width:  0;
  height: 0;
  left:  50%;
  vertical-align: middle;
  content: " ";
  margin-left:  -8px;  
  border-right:  8px solid transparent;
  border-left:   8px solid transparent;
  border-bottom: 8px solid #fff;
}
 
/* -------------------------- */
/* adjust left edge of cpbf name */

.container-fluid .masthead,
.container-fluid .masthead .col-xs-4,
.col-sm-9 .container-fluid .masthead  {
  padding-left:5px;
}

/* -------------------------- */
/* adjust right edge of logo */

.container-fluid .masthead,
.container-fluid .masthead .col-xs-4,
.col-sm-9 .container-fluid .masthead  {
  margin-right:  0;
  padding-right: 0;
  text-align:center;
}

.logo {
max-width: 960px; /* was 120px GH removed and added lines below */
width: 100%;
min-width: 300px;
position:relative;
left:-20px;
float:left;
}

.logo1 {
max-width: 960px; /* was 120px GH removed and added lines below */
width: 90%;
min-width: 300px;
position:relative;
left:0px;
float:right;
}


.rotate {
/* Safari */
-webkit-transform: rotate(30deg);
/* Firefox */
-moz-transform: rotate(30deg);
/* IE */
-ms-transform: rotate(30deg);
/* Opera */
-o-transform: rotate(30deg);
/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
/* General */
transform: rotate(30deg);
}


/* -------------------------- */
/* blog title and description */

.blog-header {
  padding-top:    20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
  color: #e91d2c;
}
.blog-description {
  margin-top: 0px;
  font-size: 1.8em;
  color: #678;
}

/* -------------------------- */
/* sidebar modules for boxing content */

.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}

/* -------------------------- */
/* pagination */

.pager {
  margin-top:    30px;
  margin-bottom: 36px;  
  text-align: left;
}

.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  margin-right: 12px;
  margin-left: -3px;
  text-align: center;
  border-radius: 30px;
  border: none;
  background-color: #cde;
  color: #678;
}

/* -------------------------- */
/* blog posts */

.blog-post {
  margin-bottom: 20px;
  margin-top:    20px;
     opacity: 1.0;
     filter:alpha(opacity=100);
}

/* now defined with all headings above

.blog-post-title {
  font-size: 40px;
  margin-top:    .5em;
  margin-bottom: .5em;
}
*/

.blog-post-meta {
  margin-bottom: -16px;
  color: #999;
}

/* -------------------------- */
/* harmonise colours of rules */

hr {
  border-top:  1px solid #cde;
}
blockquote {
  border-left: 5px solid #cde;
}
.blog-post {
  border-top:  4px solid #cde;
}


 .blog-post img {
  border: 1px solid #ccc;
  padding:4px;
  margin: 4px 10px;
}

/* -------------------------- */
/* blog footer */

.blog-footer {
  padding: 3em 0 3em 3em;
  text-align: left;
  background-color: #d9e9f9;
  border-top: 1px solid #bcd;
  color: #678;
}

/* -------------------------- */
/* align footer texts left */

div.col-sm-8.col-md-9 {
  padding-left: 0;
}

/* -------------------------- */
/* increase size of plus symbol */

.blog-footer p em{
  font-size:140%;
}
.blog-image {
  float:left;
  position:relative;
  top:0px;
  left:0px;
  z-index:-1;
  width:100%;
}
.blog-text {
  float:right;
  position:relative;
  top: 0;
  left:0;
  width:auto;
  font-size:80%;
}

#panels {
width: 100%;
}

.top-panel {
 width:100%;
 height:auto; //was 80px
 border:0px solid #ccc;
 background:#ccc;
 padding:0px;
 text-align:center;
 margin-top:0px;
 padding-top:10px;
 //position:absolute;
 //top:0px;
 //left:0px;
 }
 
 .search-bar{ 
 width: 100%;
 overflow:hidden; 
 //position: relative;
 //left:20px;
 }

.trigger{
cursor:pointer;
position: relative;
left:20px;
}

.searchbox {
position:relative;
left:--20px;
 width: 100%;
margin-top:-15px;
margin-bottom:4px;
height:40px;
    border: 2px solid;
    border-radius: 10px; 
}

.more {
text-align:right;
}

/*
 .top-panel {
 display:none;
}
*/

/* reduce font sizes for phones */

/*
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 

  h1, .h1 {
    font-size: 3em;
    margin: 1.5em 0;
    letter-spacing: -1px;
  }
  h2, .h2 {
    font-size: 2.121em;
    margin: 0.856em 0;
    letter-spacing: 0;
  }
  h3, .h3 {
    font-size: 1.5em;
    margin: .428em 0;
  }
  h4, .h4, h5, .h5  {
    font-size: 0.856em;
    margin: .53em 0;
  }
  h6, .h6 {
    font-size: 1em;
    margin: .375em 0;
    font-weight: bold;
  }
}
*/

/*
@media only screen 
and (min-device-width: 768px) { 

  h1, .h1 {
    font-size: 3em;
    margin: 1.5em 0;
    letter-spacing: -1px;
  }
  h2, .h2 {
    font-size: 2.121em;
    margin: 0.856em 0;
    letter-spacing: 0;
  }
  h3, .h3 {
    font-size: 1.5em;
    margin: .428em 0;
  }
  h4, .h4, h5, .h5  {
    font-size: 0.856em;
    margin: .53em 0;
    margin: 1.06em 0;
    
  }
  h6, .h6 {
    font-size: 1em;
    margin: .375em 0;
    font-weight: bold;
  }
}
*/






