
@font-face {
  font-family: 'Bocklin';
  src: url(../Bocklin.ttf) format('truetype');
  /*
  src: url('MyFont.eot?') format('eot'),
   url('MyFont.woff') format('woff'), 
   url('MyFont.ttf') format('truetype'),
   url('MyFont.svg#webfontwTBKaDwa') format('svg');
   */  
}

/* ============================================================

320 and Up by Andy Clarke
Version: 3.0
URL: http://stuffandnonsense.co.uk/projects/320andup/
Apache License: v2.0. http://www.apache.org/licenses/LICENSE-2.0

============================================================ */
/* Reset =================================================== */
html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-size:100%;
}
article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
/* Variables =================================================== */
/* Mixins =================================================== */
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  clip: auto;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box;
}



#debug {
  font-family:arial;
  font-size:16px;
  text-align:center;
}

html {
  font-size: 1em;
  background: #ede7da;
  background-image:url(../img/peacock3.gif);
}

/**************************************************************/
/*  Smallest screen - Font sizes                              */
/**************************************************************/

img {
  font-size:0.8em;
}


h1 {
  font-size:2.4em;
}
h2 {
  font-size:1.6em;
}
h3 {
  font-size:1.2em;  
}
/*
ul.block li {
  font-size:1.13em;
}
*/
dt {
	font-size:1.2em;
}
article p:first-letter,
article p span,
article li span {
  font-size:1.8em;
}

p.credit {
  font-size:0.8em;
}


/**************************************************************/




a {
  color:#4683D3;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
  color:#5399F4;
}
p {
  margin-bottom:1.8rem;
}


body {
  font-family:Overlock;
  color: #003300;
  
  position: relative;
  
  margin:30px auto 0;
  padding:18px 2%;
  max-width:1200px;
  display:block;
  min-width:320px;
  border:4px solid #31343D;
  background-image:url(../img/scroll-bottom-back.png);  

  transition: left 0.5s ease;
}

h1  {
  font-weight:normal;
  font-family:Bocklin;

  text-align: center;
  color:#ffc000;
  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;
    
  margin-bottom:2rem;
  z-index:1;
}
h2 {
  font-family:Bocklin;
  font-weight:normal;

  margin:0 auto 1rem;
  text-align:center;
}
h3 {
  font-family:Bocklin;
  font-weight:normal;
}

figure {
  width:100%;
  text-align:center;
}

figure img {
  max-width:100%;
}

ul.block {
  display:block;
  list-style:none;
  margin-bottom:2rem;
}
ul.block li {
  display:inline-block;
  padding:1%;
  width:49.7%;
}

dl {
  clear:both;
  padding-bottom:1rem;
}

dt {
  font-weight:700;
  color:#840027;
  text-align:center;
}
.periods dt {
  font-family:Bocklin;
}
dd {
  margin-bottom:1.6rem;
}
dd:last-of-type {
  margin-bottom:0.6rem;
}
.periods dd,
.credits dd {
  text-align:center;
}
p.credit {
  padding:5px;
  color:#003300;
  font-weight:normal;
  text-align:center;
  margin:2em 0 0 0;
}

article p:first-letter,
article p span,
article li span  {
  font-family:Bocklin;  
  float:left;
}
article.encounter p:first-Letter {
  font-size:inherit;
  font-family:inherit;
  float:none;
}

article p.noCap:first-Letter {
  font-size:inherit;
  font-family:inherit;
}
p.notPara {
  margin-bottom:0;
  padding-bottom:0;
}
p.left {
  text-align:left;
}

p em {
  font-weight:700;
  font-style:normal;
}

p.block {
  clear:both;
}
section {
  margin-bottom:3rem;
  position:relative;
  z-index:1;
}
section.noMarg {
  margin-bottom:0;
}

section img.left {
  float:left;
  margin: 0 2% 2% 0;
}
section img.right {
  float:right;
  margin: 0 0 2% 2%;
}



.leftPanel {
  display:inline-block;
  width:48%;
  text-align:center;
}
.leftPanel img {
  margin:0 auto 1% auto;
  width:300px;
}
.rightPanel {
  vertical-align:top;
  width:50%;
  display:inline-block;
  clear:right;
  text-align:center;
}

.topNav {
  position:absolute;
  top:1.4rem;
  right:1.4rem;
  z-index:2;
  display:none;
}
section img.topMargin {
	margin-top:1rem;
}
.topPadding {
  padding-top:1rem;
}

p.info {
  font-size:14px;
  font-style:italic;
  font-family:Arial, sans-serif;
  float:right;
}

nav.back {
  float:right;
}
.back a:visited {
  border:none;
} 

.back a {
  width:180px;
  height:190px;
  display:block;
	background-image:url(../img/owl_back.png);
  padding-left:74px;  
  text-align:left;
  background-repeat: no-repeat;
  background-position: center;

  font-family:Bocklin;  
  line-height:238px;

  text-decoration:none;
  font-size:32px;
  color:#ffc000;
  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;  
}

/*
.owl_l2:hover {
  background-image:url(../img/owl_sign_l_up.png);
  text-decoration:none;
  color:#ffc000;  
}
*/

.gold {
  font-family:Bocklin;
  font-weight:normal;
  color:#ffc000;
  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;
}
section img.topSpaced {
	margin-top:1.6rem;
}
div.info {
  text-align:center;
  width:70%;
  margin-bottom:4rem;
}
div.info ul {
  margin:3rem 0;
  list-style:none;
}

/*******************************/
/* Event Diary stuff                  */
/*******************************/

.diary section p {
  text-align:center;
} 

div.month {
  margin-bottom:0.6rem;
  background-color:rgba(172,194,194,0.4);
  border-radius:2rem;
  border:2px solid rgba(131,152,152, 0.5);
  padding:1rem 2rem;
  display:block;
}
.diary h1 {
  display:block;
}
.diary h2 {
  margin-bottom:1rem;
  text-align:left;
}
.diary dl {
  padding:0;
} 
.diary dt {
  display:block;
  border-bottom:1px solid rgba(131,152,152,0.7);
  text-align:left;
}
.diary dt span {
	display:inline-block;
	margin-right:0.6em;
}

.diary dd {
  display:block;
  border-bottom:1px solid rgba(131,152,152,0.7);
  text-align:left;
  font-size:1.2em;
}


/****************************/
/* Gallery styles            */
/****************************/

.gallery section {
	vertical-align:top;
	margin:0;
	text-align:center;
}
.gallery h1 {
	display:block;
}
.gallery figure {
	width:476px;
	height:519px;
	display:block;
	background-repeat:no-repeat;
	margin:0 auto 2em auto;
	padding:10px;
}

.gallery img {
	border-radius:12px;
}
.g1 figure {
	background-image:url(../img/filmstrip3.png);
}
.g2 figure {
  background-image:url(../img/filmstrip4.png);
}

/* img size 330 x 500  */

.middle {
	vertical-align:center;
}


img.frame {
  border:2px solid #1A3000;
}

figure.fLeft {
  float:left;
  margin: 0 2% 2% 0;
}
figure.fRight {
  float:right;
  margin:0 0 2% 2%;
}

.flexi4  {
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-between;
  margin-bottom:1rem;
  align-items:center;
}
.flexi4 figure {
  display:inline-block;
  width:auto;
}

/****************************/
/* Links                    */
/****************************/

.links {
  padding:18px 10%;
}
.links ul {
  list-style:none;
  margin-bottom:3em;
}
.links li {
  text-align:center;
}
.links h2 {
  font-weight:normal;
  color:#ffc000;
  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;  
}


/****************************/
/* Media Queries            */
/****************************/


@media screen and (min-width: 768px) {
  .flexi  {
    display:flex;
    flex-wrap:nowrap;
  }
  figure.lmus {
    flex:696;
  }
  figure.rmus {
    flex:373;
  }
  
  ul.block li {
    width:24.9%;
  }

  .diary dt {
    display:inline-block;
    width:69.6%;
  }
  .diary dt span {
    width:30%;
    display:inline-block;
  }
  
  .diary dd {
    display:inline-block;
    width:30%;
    text-align:right;
  }
  
  nav.topNav {
    display:inline-block;
  }

}
@media screen and (min-width:900px) {
  html { font-size: 1.4em; }
}

@media screen and (min-width:1000px) {
  .gallery section {
    display:inline-block;
    width:49.7%
  }
  
  section img.doubleBottom {
    margin-bottom:3rem;
  }
  
  .museum_nav {
    position:absolute;
    right:1rem;
    bottom:0;
    margin-bottom:-70px;
  }
}
