/*****************************/
/* CSS for Dreamspinner */
/*****************************/

/*****************************/
/* Body */
/*****************************/

@font-face {
  font-family: "Calligraph421 BT";
  src: url("/fonts/Calligraphy.woff") format("woff");
}

@font-face {
  font-family: "Viking";
  src: url("/fonts/Viking.woff") format("woff");
}

@font-face {
  font-family: "Book Antiqua";
  src: url("/fonts/BookAntiqua.woff") format("woff");
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #CCC url("/images/marb8s.jpg");
  font-family: "Calligraph421 BT";
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.font-viking {
  font-family: "Viking";
  font-weight: bold;
}

.font-antiqua {
  font-family: "Book Antiqua";
  font-weight: normal;
}

.center {
  text-align: center;
}

.responsive {
  max-width: 100%;
  height: auto;
}

/*****************************/
/* Header, Footer */
/*****************************/

header {
  font-size: 1rem;
  padding: 0 20px 5px 20px;
  border-bottom: 3px solid #FFF;
}

header,
footer {
  background-color: #006060;
  color: #CCC;
  text-align: center;
  clear: both;
  margin: 0;
}

footer {
  font-style: italic;
  font-size: 0.875rem;
  padding: 10px 15px; /* top left bottom right */
  border-top: 3px solid #FFF;
}

header a,
header a:visited,
footer a,
footer a:visited {
  color: #BBDFD3;
}

header a:hover,
header a:active {
  color: #DDF1F5;
}

header a.current,
header a.current:visited,
footer a.current,
footer a.current:visited {
  text-decoration: none;
  color: #DDF1F5;
}
header a.current:hover,
header a.current:active,
footer a.current:hover,
footer a.current:active {
  color: #DDF1F5;
}

.site-title {
  color: #FFF;
}

.ogsite-link {
  font-size: 1.25rem;
}

/*****************************/ 
/* Main */
/*****************************/

main {
  padding: 20px 15px; /* top left bottom right */
  color: #008080;
  flex: 1;
}

main a,
main a:active {
  color: #008080;
}

main a:visited {
  color: #08F;
}

.pagetitle {
  margin: 0;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
}

.subtitle {
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.page-intro {
  text-align: center;
  margin: 10px auto 30px;
}

.header1 {
  display: table;
  margin: 20px auto;
  padding: 5px 20px;
  font-size: 1.25rem;
  border-top: 2px solid;
  border-bottom: 2px solid;
  font-weight: bold;
}

.indent {
  text-indent: 2rem;
}

.imgborder {
  border: 4px double #006060;
}

/*****************************/
/* Preface & Guestbook */
/*****************************/

.portrait {
  float: right;
  margin: 0 0 20px 20px;
}

.preface-heading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preface-heading-text {
  min-width: 0;
  text-align: center;
}

.quote {
  margin: auto 30px;
  text-align: justify;
  border-left: 2px solid #006060;
  padding-left: 10px;
  overflow: hidden;
}

.margin {
  margin-bottom: 2rem;
}

.author {
  padding-left: 20px;
  font-style: italic;
}

/*****************************/
/* Code for Mobiles */
/*****************************/

@media (max-width: 600px) {
  .preface-intro {
    display: flex;
    flex-direction: column;
  }
  .memorial-intro {
    order: 1;
  }
  .portrait {
    order: 2;
    float: none;
    margin: 0 0 20px;
  }
}