/*
Theme Name: SPRI FreezeGrame
Theme URI: http://www.caret.cam.ac.uk/
Description: Custom WordPress theme for SPRI's Freeze Frame project
Version: 1.0
Author: Mike Richardson - mike@caret.cam.ac.uk
*/

#content div.toc {
  float: left;
  width: 200px;
  border: 1px solid #00aaff;
  background: #d7ebf1;
  margin: 16px;
  clear: both;
  font-size: 8pt;
}

.gallery-thumb a {
  text-decoration: none;
}

#content .toc li {
  text-align: left;
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 140%;
}

#content .gallery-thumb ul li {
  margin: 0;
    padding: 0;
    line-height: 120%;
  list-style: none;
}

#content div.toc ul  {
  padding: 8px;
  margin: 0;
}

#content div.toc ul li {
  list-style-type: none;
}

#content .gallery-thumb ul {
  margin: 0;
}

#content .gallery-thumb {
  font-size: 9pt;
}

#content div.toc h1 {
  font-size: 100%;
  text-align: center;
  font-weight: bold;
  color: #00aaff;
  margin: 8px auto 0;
  text-align: center !important;
}

body{
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	margin: 0;
	padding: 0;
}

#wrapper{
	margin-left:  auto;
	margin-right: auto;	
}
#container{
	width:  950px;
	border-top:  none;
/*	border: 1px solid #3e3e3e; */
	border-top:  none;
	padding: 0;
	margin: 0;
	align: center;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

.clear {
    clear: both;
}

#topbar{
	background-color: #3E3E3E;
	color:  #ffffff;
	font-weight: bold;
	padding:  8px;
	font-size: .8em;
	border-bottom: 1px solid #fff;
}

#topbar a, #topbar a:visited, #topbar a:hover {
  color: white;
  font-weight: normal;
}

#topbar a,#topbar a:visited {
  text-decoration: none;
}

#topbar a:hover {
  text-decoration: underline;
}

#footer{
	background-color: #3E3E3E;
	color:  #ffffff;
	padding:  8px;
	font-size: .75em;
	vertical-align: middle;
	line-height: 150%;
	clear: both;
}

#footer img{
	padding: 8px;
}

.foot a:link, .foot a:visited {
	text-decoration: none;
	color: #cccccc;
	padding-left:  8px;
}

#footer a:hover{
	color:  #ffffff;
	text-decoration: underline;
}

.right{
	text-align: right;
}

.right a:link, .right a:visited {
 text-decoration: none;
 color: #cccccc;
 padding-left:  8px;
}

.right a:hover{
  color:  #ffffff;
  text-decoration: underline;
}

#header{
	background: #ffffff url(header1.jpg) top right no-repeat;
	min-height: 140px;
	vertical-align: middle;
}

img { border: none; }

img#logo {
	padding-top:  25px;
	padding-left: 15px;
}

#content {
	padding: 10px;
	min-height: 400px;
	font-size: 11pt;
	line-height: 140%;
	height: auto !important; /* For Saf/Fx */
}

#content p, #content ul {
	margin-left: 73px;
	margin-right: 73px;
	text-align: justify;
}

#content ul {
  margin-top: 24px;
  margin-bottom: 24px;
}

#content li {
  margin-top: 8px;
  margin-bottom: 8px;
}

#navbar {
	padding: 0;
	background-image: url(navback.jpg);
	background-repeat: repeat-x;
	width: auto;
	font-weight:  bold;
	border-bottom: 7px solid #00AAFF;
	min-height:30px;
	padding-left: 370px;
	margin-top: 0;
	vertical-align: top;
	margin-top: -20px;
}

#navcontainer ul li
{
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: block;
	float: left;
	background: url(navback.jpg) repeat-x 20px;
	font: 10px/20px "Lucida Grande", verdana, sans-serif;
	text-align: center;
	font-size: .75em;
	border-color: #0af;
}

#navcontainer a
{
	color: #000;
	text-decoration: none;
	display: block;
	padding-left:  10px;
	padding-right: 10px;
	width: auto;
	border-top: 1px solid #ACC7D8;
	padding-top:  5px;
	min-height: 24px;
	font-weight: bold;

}

#navcontainer li#active a{ 
	background: url(navcurrent.jpg) repeat-x 20px; 
	min-height: 25px;
	border-top:  1px solid #017ec0;
	color:  #fff;
}
#navcontainer a:hover { 
	text-decoration: underline;	
}

img.alignright {
        padding: 0;
        margin: 8px -54px 8px 16px;
        display: inline;
        }

img.alignleft {
        padding: 0;
        margin: 8px 16px 8px -54px;
        display: inline;
        }

#content .alignright {
        float: right;
	clear: right;
        }

#content .alignleft {
        float: left;
	clear: left;
        }

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #eeeeff;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.editorial {
  font-size: 1.5em;
  padding: 8px;
  margin: 8px;
  background: #eaeaea;
  float: right;
}

/* End captions */

div.gallery-thumb {
  float: left;
  width: 200px;
  height: 300px;
  background: #d7ebf1;
  border: 1px solid #00aaff; 
  padding: 8px;
  margin: 4px;
  overflow: hidden;
  cursor: pointer; cursor: hand;
}

div.gallery-thumb:hover {
  background: #c6dae5;
}

.gal-nav div.gallery-thumb {
  width: 120px;
  height: 240px;
}

.bare-thumb {
  width: 120px;
}

div.gallery-thumb .image {
  width: 100%;
  height: 250px;
  max-height: 250px;
  overflow: hidden;
}

#content .metadata p {
  font-size: 90%;
  text-align: left; 
  margin-right: 1em;
}



div.gallery-thumb .metadata {
  width: 100%;
  max-height: 80px;
  overflow: hidden;
  margin: auto 0 0 0;
}

.search-results img {
  border: 0;
  text-align: center;
  margin: auto;
  width: 100%;
}

.search-results a {
  color: black;
}

.search-results ul {
  padding: 0;
  /*font-size: 90%;*/
  font-size: 10pt;
  margin: 0;
}

tr.image td {
  vertical-align: top;
}

tr.metadata td {
  vertical-align: bottom;
}

.printfloat {
  float: right;
  margin: 0 16px;
}

.pdf {
  border: 1px solid #00aaff;
  padding: 2px 4px;
  font-size: 90%;
  background-color: #d7ebf1;
  margin: 2px;
}

.pdf:hover { background-color: #c6dae5; }

.print {
  border: 1px solid #00aaff;
  padding: 2px 4px;
  font-size: 90%;
  background-color: #d7ebf1;
  margin: 2px;
}

.print:hover { background-color: #c6dae5; }

#favtag {
 border: 1px solid #00aaff;
 padding: 2px 4px 2px 20px;
 font-size: 90%;
 background-color: #d7ebf1;
 margin: 2px;
 display: block;
}

#favtag:hover { background-color: #c6dae5; }

.pdf a , .print a, #favtag a {
  text-decoration: none;
  color: black;
}

.pdf img, .print img, #favtag img.icon {
  width: 16px;
  vertical-align: bottom;
}

ul.ctc {
  background-color: #eeeeff;
  border: 1px solid #3333ff;
  padding: 8px;
}

ul.ctc li {
  display: inline;
  margin: 4px;
}

label {
  width:100px;
  float: left;
  text-align: right;
  margin-right: 8px;
}
select { margin-bottom: 8px; }

.image-page .ff_image {
  float: left;
  width: 50%;
  margin: auto 16px;
  padding: auto;
}

.giant .image-page .ff_image {
  float: none;
  width: auto;
}

.giant .metadata {
  display: none;
}

.gallery .metadata {
  display: block; 
  text-align: none;
  float: left;
  clear: none;
  width: 45%;
}

#content .metadata p {
  margin: 0.5em 0 0.5em  1em;
}

.top-metadata {
  display: none;
}

.giant .top-metadata {
  display: block;
  margin: 8px 0;
  font-weight: bold;
}

.gallery .top-metadata {
  display: none;
}

.giant .top-metadata p {
  display: inline;
}

.giant .top-metadata .mdk-Title {
  display: none;
}

.giant .top-metadata .mdk-Reference {
  display: none;
}

.giant .top-metadata .mdv-Reference {
  float: right;
}

.giant .top-metadata .mdv-Title {
  float: left;
}

.giant .ff_image {
  margin: auto;
  text-align: center;
  clear: both;
}

.gallery .ff_image {
  width: 50%;
}

#favtag_login {
  float: right;
  font-size: 85%;
  text-decoration: none;
  font-weight: normal;
}

#favtag_login a {
  color: white;
}

#favtag_login_form {
  font-size: 85%;
}

#favtag_login_form input {
  font-size: 75%;
}

#slideshow_the_show {
  margin: auto;
  text-align: center;
  width: 100%;
}

#slideshow_the_metadata {
  text-align: left;
}

#slideshow_the_metadata a {
  text-align: center;
  display: block;
}

#search-penguin {
  float: right;
  height: 86px;
  padding: 16px 16px 0 0;
}

#search-penguin input {
  width: 200px;
}

.film {
  padding: 24px 0 21px;
  background-image: url(sprockets.jpg);
  height: 105px;
}

#favtag_blast_link {
  margin: 0 32px;
}

#content .toc-2 {
  margin-left: 12px;
}

#content .toc-3 {
  margin-left: 24px;
}

.on-this-day {
  float: left;
  width: 100px;
  border: 1px solid #333333;
  margin: -180px 16px 16px 16px;
  padding: 8px;
  background-color: #c6dae5;
}

.on-this-day h1 {
  font-size: 14px;
  color: #0077cc;
  text-align: center;

}

#content ul li { 
  list-style-type: disc; 
  list-style-position: inside; 
  margin: 16px;
}

#content h1,h2,h3,h4,h5,h6 { 
 text-align: left !important;
 color: #444;
 line-height: 120%;
 margin-left: 75px; 
 margin-top: 32px;
}

#content #front-middle h1 {
  font-size: 28px;
}

#front-middle h1,#front-middle h2,#front-middle h3,#front-middle h4 {
  margin-left: 0;
}

#favtag img.icon { display: none; } 

.go-back { float: right; margin: 0 8px 8px 0; font-weight: bold; }

#content .article-image {
  float: right;
  clear: both;
  margin: 16px;
}

h2.search-none {
  background: #d7ebf1;
  font-size: 10pt;
  font-weight: normal;
  padding: 8px 16px;
  color: #00aaff;
  border: 1px dashed #00aaff;
}

.galnavall {
  width: 100%;
  clear: none;
  float: right;
  margin: 0 auto 16px;
  text-align: center;
  width: 260px;
}

#searchform label {
  float: none;
  margin: 0;
  padding: 0;
}

#searchform #s {
  height: 25px;
  width: 250px;
  font-size: 20px;
  margin: 8px 0;
  vertical-align: middle;
}

#searchform #searchsubmit {
  height: 32px;
  width: 100px;
  vertical-align: middle;
  border: 1px outset #00aaff;
  background-color: #d7ebf1;
  color: #00aaff;
}

#content .ctc {
  text-align: center;
  width: 80%;
  margin: auto;
}

.ctc li a {
  white-space: nowrap;
}

#content #front-left {
  float: left;
  width: 200px;
  text-align: left;
  margin: 0 16px 0 0;
  padding: 0;
}

#content #front-left li {
  list-style-type: none;
  font-size: 10pt;
}

#content #front-left li a {
  display: block;
  color: #00aaff;
  border-top: none;
    border-bottom: 1px solid #d7ebf1;
      border-left: 16px solid #d7ebf1;
  padding: 8px 8px 8px 8px;
  margin: 8px 0 0 0;
  text-decoration: none;
}

#content #front-left li:hover {
  border-left-color: #c6dae5;
}
#content #front-left li a:hover {
  text-decoration: underline;
}

#content #front-left .fl-title {
  font-weight: bold;
  margin-left: 16px;
}

.web2 {
  float: right;
  width: 20%;
  text-align: right;
  margin: 0 0 1em 0;
  padding: 0 0 0 auto;
}

.web2 iframe {
  padding: 4px 0;
}

#content ul#front-right {
  float: right;
  margin: 0 -14px 0 0;
  width: 220px;
  padding: 0 0 14px 14px;
  text-align: right;
}

#content ul#front-right li {
  list-style-type: none;
  margin: 8px 0;
}

.rss {
  display: block;
  background: url(rss.png) #d7ebf1 no-repeat 98% 50%;
  border: 1px solid #00aaff;
  text-decoration: none;
  color: #00aaff;
  text-align: left;
  padding: 0 0.5em;
  width: 120px;
  margin: 0 2.5em;
  float: right;
  font-weight: normal;
  font-size: 11pt;
}

.rss:hover {
  text-decoration: underline;
  cursor:hand;cursor:pointer;
  background-color: #c6dae5;
}

#content #this-month {
  display: block;
  color: black;
  background: #d7ebf1;
  border: 1px solid #00aaff;
  text-decoration: none;
  margin-right: 2px;
  font-size: 10pt;
  text-align: left;
}

#content #this-month .image img {
  width: 200px;
  text-align: left;
  margin: 8px  auto;
  display: block;
}

#content #this-month .top {
  color: #00aaff;
  font-size: 10pt;
  font-weight: bold;
  margin: 8px 0;
  text-align: center;
}

#content #this-month .title {
  margin: 8px;
  font-weight: bold;
}

#content #this-month .body {
  text-align: justify;
  margin: 8px;
}

#content #this-month:hover {
  background: #c6dae5;
}

#content #front-right #featured-image {
  border: none;
  color: black;
  background: #d7ebf1;
  border: 1px solid #00aaff;
  text-decoration: none;
  display: block;
  text-align: justify;
}

#content #front-right #featured-image:hover {
  background: #c6dae5;
}

#content #featured-image .top {
  color: #00aaff;
  font-weight: bold;
  text-align: center;
}

#content #featured-image .image img {
  width: 200px;
  margin: 8px;
  text-align: center;
}

#content #featured-image .title {
  margin: 8px;
}


#content #toc-current {
  font-weight: bold;
  margin-left: 0;
}

.toc .pointer {
  font-weight: bold;
  font-size: 11pt;
  color: #00aaff;
}

.toc-prev {
  display: block;
  float: left;
  margin: 8px 0;
}

.toc-next {
  display: block;
  float: right;
  margin: 8px 0;
}

#content .social_bookmark {
  clear: both;
  width: 400px;
}

#content #front-middle {
  float: left;
  width: 450px;
}

#content #front-middle p, #content #front-middle ul {
  margin-left: 0;
  margin-right: 0;
}

.toc-totop {
  font-size: 9pt;
  margin: 0 8px;
  font-weight: normal;
}

.size-medium, .size-thumbnail {
  width: 200px !important;
  height: auto !important;
}
