
@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;
}

ul, ol {
  list-style-position:inside;
}

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

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

img {
  font-size:0.8em;
}

body {
  font-family:Overlock;
  color: #003300;
  
  position: relative;
  
  margin:0 auto;

  max-width:1008px;
  display:block;
  min-width:320px;
  border:4px solid #31343D;
}

header {
  position:relative;
  display:block;
  background:#C6E9B3;  
}
header h1 {
  width:100%;
  position:absolute;
  bottom:1em;
}
h1  {
  font-weight:normal;
  font-family:Bocklin;

  font-size:2.4em;
  
  text-align: center;
  color:#ffc000;

  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;
}
h2 {
  font-weight:normal;
  font-size:1.6em;
  margin:0 auto 1rem;
  text-align:center;
}
h3 {
  font-weight:normal;
  font-size:1.2em;
}

section {
  text-align:center;
  padding-top:1em;
}

figure {
  text-align:center;
  margin:0 3em 2em 3em;
}

figure img {
  max-width:500px;
  width:100%;
  border-radius:2em;
  box-shadow:0px 0px 8px #000000;
}

footer {
  vertical-align:top;
  max-height:256px;
}
p.credit {
  padding:0.6em 3em 0 3em;
  font-size:0.8em;
  color:#003300;
  font-weight:normal;
  text-align:center;
}

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

article {
  background:#C6E9B3;
}

section {
  margin-bottom:3rem;

}
section.noMarg {
  margin-bottom:0;
}


nav.back {
  float:right;
  margin-right:3em;
}

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;  
}

.bird a {
  display:block;
  text-align:center;
  background-repeat: no-repeat;
  background-position: center;

  width:120px;
  height:127px;
  background-image:url(../img/owl_sign_gallery_small.png);
  padding-left:32px;
  line-height:158px;
  font-size:22px;

  font-family:Bocklin;  
  text-decoration:none;
  color:#2A3829;
  /*
  text-shadow:  
   -2px -2px 0 #000,  
    2px -2px 0 #000,
   -2px  2px 0 #000,
    2px  2px 0 #000;  
    */
   position:fixed;
   right:2%;
   top:2%;
}

.l1 {
	transform:rotate(-1deg);
}
.l3 {
  transform:rotate(-2deg);
}
.l1 {
  transform:rotate(-4deg);
}
.r1 {
  transform:rotate(2deg);
}
.r2 {
  transform:rotate(3deg);
}
.r3{
  transform:rotate(5deg);
}

.lazy {
  display:none;
}

@media screen and (min-width: 768px) {
  html { font-size: 1.4em; }
  /*
  div.gallery {
    display:flex;
    align-items:stretch;
    justify-content:center;
  }
  section {
  }
  
  .g1 {
    padding-left:2em;  
  }
  .g2 {
    padding-right:2em;  
  }
  */
  
  .bird a{
    width:160px;
    height:169px;
    background-image:url(../img/owl_sign_gallery.png);
    padding-left:55px;
    line-height:210px;
    font-size:32px;
  }
}

@media screen and (min-width:1008px) {
  header {
    background-image:url(../img/gallery_centre.jpg);
    repeat:repeat-y;
  }  
  
  article {
    background-image:url(../img/gallery_centre.jpg);
    background-repeat:repeat_y;
  }  
}