body {
  margin: 0;
  padding: 0;
  background: ivory;
  background-color: ivory;
  font-family: "EB Garamond", serif;
}


/*
  Container for the gallery:

  Absolutely positioned
  Stretch to fill the whole window width
  Fixed height
  Hide the overflow to prevent horizontal scrollbars

  Vertically centred in the viewport: http://css-discuss.incutio.com/wiki/Centering_Block_Element#Centering_an_absolutely_positioned_element 
*/

#galleryContainer {
  width: 100%;
  height: 600px;        /* gl was 800 Image height + 200px */
  overflow: hidden;     
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 1;
}


/*
  The gallery div that contains all the images

  We'll set the width dynamically in the JavaScript as the images load
*/

#gallery {
  width: 100px;
  height: 600px;        /* gl was 700 Image height + 100px */
  padding: 50px 0;
  position: absolute;
  z-index: 1;
}


/*
  Individual slides within the gallery:

  Float them left so that they're all side by side
  Fixed height (the width will vary as required)
  Add some horizontal margin between the slides
  Add a bottom fading reflection for WebKit browsers
*/

#gallery img {
  box-shadow: 10px 10px 5px #888888;
  border-radius: 5px;
  float: left;
  height: 500px;        /* gl originally 600 */
  margin: 0 600px;      /* Adjust the left/right margin to show greater or fewer slides at once */
/*  -webkit-box-reflect:
    below
    0
    -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(1, rgba(255, 255, 255, .5)),
      color-stop(.8, rgba(255, 255, 255, 0))
    );*/
}


/*
  Left and right buttons:

  Position them on the left and right sides of the gallery
  Stretch them to the height of the gallery
  Hide them by default
*/

#leftButton, #rightButton {
  position: absolute;
  z-index: 2;
  top: -25px;  /* gl was -100px */
  bottom: 0;
  padding: 0;
  margin: auto 0;
  width: 15%;
  height: 400px;        /* gl was 600px Image height */
  border: none;
  outline: none;
  color: tan;          /* was #fff */
  background: transparent url(images/blank.gif);
  font-size: 100px;
  font-family: "Courier New", courier, fixed;
  opacity: 0.5;     /* was 0 */
  filter: alpha(opacity=0);
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

#leftButton {
  left: 0;
}

#rightButton {
  right: 0;
}

/* (Turn off dotted black outline on FF3) */

#leftButton::-moz-focus-inner, #rightButton::-moz-focus-inner {
  border: none;
}

/*
  Left and right button hover states:
  Fade them in to 50% opacity
*/

#leftButton:hover, #rightButton:hover {
  opacity: .5;
  filter: alpha(opacity=80);
  outline: none;
}


/*
  Image caption:

  Position just under the centre image
  Hide by default
*/

#caption {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  width: 100%;
  color: tan;        /* was #ffc */
  text-align: center;
  font-family: "Georgia", serif;
  font-size: 24px;
  letter-spacing: .1em;
  display: inline;   /* was none; changed to keep captions always visible; see work on gallery.js */
}


/*
  Loading text:

  Position in the centre of the gallery container
  Hide by default
*/

#loading {
  position: absolute;
  z-index: 1;
  bottom: 50%;
  width: 100%;
  color: #ffc;
  text-align: center;
  font-family: "Georgia", serif;
  font-size: 36px;
  letter-spacing: .1em;
  opacity: 0;
  filter: alpha(opacity=0);
}


/*
  Tutorial info box:

  Position it in the bottom right corner of the window
  Give the 'i' h1 a circular border
  Hide the whole div by default
  Fade it in on hover 
*/

#info {
  color: #ffc;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  border-radius: 20px;
  padding: 20px;
  background: transparent;
  -webkit-transition: background-color .5s;
  -moz-transition: background-color .5s;
  -o-transition: background-color .5s;
  transition: background-color .5s;
  font-size: 70%;
}

#info>* {
  margin: 20px 40px 30px 0;
  cursor: default;
  opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
  zoom: 1;  /* Force elements to be positioned in IE7, otherwise opacity doesn't work! */
}

#info p {
  opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#info h1 {
  position: fixed;
  z-index: 99;
  margin: 0;
  padding: 17px 1px 4px 14px;
  right: 30px;
  bottom: 30px;
  width: 20px;
  height: 14px;
  font-size: 20px;
  border: 3px solid #ffc;
  line-height: 1px;
  border-radius: 20px;
  color: #ffc;
  opacity: .5;
  filter: alpha(opacity=50);
}

#info:hover, #info.hover {
  background: rgba(50,50,50,.6);
}

#info:hover *, #info.hover * {
  opacity: 1;
  filter: alpha(opacity=100);
  color: #ffc;
}

/* (Give the link the same colour as the other text in the box) */

#info a {
  color: #ffc;
}

.fredd {
  outline: 13px solid black;
  border-width: 7px 7px 7px 7px;
  -moz-border-image:url("metallicframe.png") 7 7 7 7 repeat stretch;
  -webkit-border-image:url("metallicframe.png") 7 7 7 7 repeat stretch;
  border-image:url("metallicframe.png") 7 7 7 7 repeat stretch;
}

.freddd {
  display: block;
  margin: 0 auto;
  border-style: solid;
  border-width: 10px;
  border-color: transparent;
  -moz-border-image: url(frame.jpg) 20 20 20 20 fill repeat;
  -webkit-border-image: url(frame.jpg) 20 20 20 20 repeat;
  -o-border-image: url(frame.jpg) 20 20 20 20 repeat;
  border-image: url(frame.jpg) 20 20 20 20 fill repeat;
}

header {
        height: 150px;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
}
.header {
  font-family: "Georgia", serif;
  background-color: tan; /* was blanchedalmond */
  font-size: 30px;
  color: white;
  height: 50px;
  position: fixed;
  width: 100%;
  top: 0px;
  padding-left: 20px;
  justify-content: space-evenly;
}

a {
  color: white;
  text-decoration: none;
  cursor: default;
}

a:hover {
    color: RoyalBlue;
  /* was font-weight: bold; */
}

.title:hover {
    font-weight: bold;
}

.coverphotos {
    box-shadow: 10px 10px 5px #888888;
    border-radius: 5px;
}

.footer {
  clear: both;
  font-family: "Georgia", serif;
  background-color: tan;
  font-size: 30px;
  color: white;
  height: 50px;
  position: fixed;
  width: 100%;
  bottom: 0px;
  padding-left: 20px;
/*  background: #874d2b url(floor2.jpg) repeat-x 0px 0px;
*/  }

#ephemeron {
  padding-left: 20px;
  float: left;
}

#map {
  padding-right: 50px;
  float: right;
}

#topic {
  padding-left: 20px;
  float: left;
}

#inquire {
  padding-right: 50px;
  float: right;
}

.title, h2 {
  font-family: 'EB Garamond', serif;
  font-size: 250%;
  color: tan;
}

.titlesmall {
  font-family: 'EB Garamond', serif;
  font-size: 150%;
  color: tan;
}
.titlemed {
  font-family: 'EB Garamond', serif;
  font-size: 200%;
  color: tan;
}
.about {
  font-family: 'EB Garamond', serif;
  font-size: 120%;
  color: tan;
}

#table 
  {
    align: center;
    display: table; 
    height: 100%;
    width: 100%;
  }

#cell 
  {
    align: center;
    display: table-cell; 
    vertical-align: middle;
  }

#content 
  {
    width: 1000px;
    min-width: 600px;
    text-align: center;
    margin: 0 auto;
  }
