/*****************************/
/* CSS for Dreamspinner */
/*****************************/

/*****************************/
/* Web Fonts */
/*****************************/

/* Default web font */

@font-face {
  font-family: "Calligraph421 BT";
  src: url("/fonts/calligraphy4.woff") format("woff");
}

/* Other web fonts */

@font-face {
  font-family: "Amazone BT";
  src: url("/fonts/amazon.woff") format("woff");
}
.font-amazon {
  font-family: "Amazone BT";
  font-weight: bold;
}

@font-face {
  font-family: "Alexei Copperplate";
  src: url("/fonts/alexei.woff") format("woff");
  font-style: normal;
}
.font-alexei {
  font-family: "Alexei Copperplate";
  font-weight: normal
}

@font-face {
  font-family: "Bard";
  src: url("/fonts/bard.woff") format("woff");
}
.font-bard {
  font-family: "Bard";
}

@font-face {
  font-family: "Book Antiqua";
  src: url("/fonts/antiqua.woff") format("woff");
}
.font-antiqua {
  font-family: "Book Antiqua";
  font-weight: normal;
}

@font-face {
  font-family: "Bookman Old Style";
  src: url("/fonts/bookman.woff") format("woff");
}
.font-bookman {
  font-family: "Bookman Old Style";
}

@font-face {
  font-family: "Calligraph810 BT";
  src: url("/fonts/calligraphy8.woff") format("woff");
}
.font-calligraph8 {
  font-family: "Calligraph810 BT";
  font-weight: normal;
}

@font-face {
  font-family: "Viking";
  src: url("/fonts/viking.woff") format("woff");
}
.font-viking {
  font-family: "Viking";
  font-weight: bold;
}

/*****************************/
/* Body */
/*****************************/

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;
}

.center {
  text-align: center;
}

.responsive {
  max-width: 100%;
  height: auto;
}

/*****************************/
/* Header, Footer */
/*****************************/

header {
  position: relative;
  font-size: 1rem;
  padding: 0 20px 2px 20px;
  border: 0;
}

header::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: url("/images/header.png") repeat-x;
  pointer-events: none;
  z-index: 1;
}

header,
footer {
  background-color: #006060;
  color: #CCC;
  text-align: center;
  clear: both;
  margin: 0;
}

footer {
  font-style: italic;
  font-size: 0.875rem;
  padding: 2px 15px 10px 15px; /* top right bottom left */
/*  border-top: 3px solid #FFF; */
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 15px;
  background: url("/images/header.png") repeat-x;
  transform: scaleY(-1);
  pointer-events: none;
  z-index: 1;
}

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;
}

.header-image {
  display: block;
  width: calc(100% + 40px);
  height: 15px;
  margin: 0 -20px -10px;
}

.footer-image {
  display: block;
  width: calc(100% + 40px);
  height: 15px;
  margin: 0 -20px -10px;
}
.site-title {
  color: #FFF;
}

/*****************************/ 
/* Main */
/*****************************/

main {
  padding: 20px 15px; /* top right bottom left */
  color: #008080;
  flex: 1;
}

main a,
main a:active {
  color: #05D;
}

main a:visited {
  color: #08F;
}

hr {
    border: 3px solid #008080;
}

.pagetitle {
  margin: 0;
  font-size: 1.75rem;
  font-weight: bold;
  text-align: center;
}

.subtitle {
  font-size: 1.25rem;
  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;
}

/*****************************/
/* Clara's Portion */
/*****************************/

.clara-page {
  background: #000080 url("/images/bluebk.jpg");
  color: #FFF;
  margin: 0;
  padding: 20px 15px;
}

.clara-page a,
.clara-page a:active {
  color: #FFF;
}

.clara-page a:visited {
  color: #0FF;
}

/*****************************/
/* Dreamspinner's Book Nook */
/*****************************/

.booknook-page {
  background: #000080 url("/images/bkblupurp.jpg");
  color: #FFF;
  margin: 0;
  padding: 20px 15px;
}

.booknook-page a,
.booknook-page a:active {
  color: #FFF;
}

.booknook-page a:visited {
  color: #0FF;
}

/*****************************/
/* Anamcara */
/*****************************/

.anamcara-page {
  background: #008080 url("/images/greenceltbg.jpg");
  color: #FFF;
  margin: 0;
  padding: 20px 15px;
}

.anamcara-page a {
  color: #FFF;
}

.anamcara-page a:active,
.anamcara-page a:visited {
  color: #C0C0C0;
}

/*****************************/
/* Moonmaiden */
/*****************************/

.moonmaiden-page {
  background: #C0C0C0 url("/images/lavendbk.jpg");
  color: #000;
  margin: 0;
  padding: 20px 15px;
}

.moonmaiden-page a {
  color: #000;
}

.moonmaiden-page a:visited {
  color: #000080;
}

.moonmaiden-page a:active {
  color: #008080;
}

/*****************************/
/* Memorial Page */
/*****************************/

.memorial-page {
  background: #FFF url("/images/bkprpl.jpg");
  color: #F00;
}

/*****************************/
/* Hidden Dreamspinner Page */
/*****************************/

.dreamspinner-button {
  position: relative;
  display: inline-block;
  width: 128px;
  height: 128px;
  margin: 0 1.25rem;
  vertical-align: middle;
}

.dreamspinner-button img {
  width: 128px;
}

/*****************************/
/* IrishCreme's Portion */
/*****************************/

.irishcreme-page {
  background: #FFF url("/images/ivy.gif");
  color: #008080;
}

.irishcreme-page a,
.irishcreme-page a:active {
  color: #008080;
}

.irishcreme-page a:visited {
  color: #C0C0C0;
}

.irishcreme-intro {
  overflow: auto;
}

.irishcreme-intro > img {
  float: left;
  margin: 0 2rem 1rem 1.5rem;
}

.irishcreme-poem {
  padding-top: 0.5rem;
  line-height: 1.5;
}

.irishcreme-notes {
  margin: 3rem 1.5rem 0;
}

/* IrishCreme's Subpages */

.irishcreme-subpage,
.faerieflight-page,
.theloom-page,
.babe-page {
  background: #008080;
  color: #000;
}

.irishcreme-subpage a,
.faerieflight-page a:visited {
  color: #00F;
}

.irishcreme-subpage a:active {
  color: #F00;
}

.irishcreme-subpage a:visited {
  color: #800080;
}

.faerieflight-page a,
.faerieflight-page a:active,
.babe-page a,
.babe-page a:active {
  color: #000;
}

.theloom-page a,
.theloom-page a:active {
  color: #000;
}

.theloom-page a:visited,
.babe-page a:visited {
  color: #C0C0C0;
}

/*****************************/
/* Labyrinth Page */
/*****************************/

.labyrinth-page {
  background: #000 url("/images/bstarsilk.jpg");
  color: #FFF;
}

.labyrinth-page a,
.labyrinth-page a:active,
.blumazes-page a,
.blumazes-page a:active,
.navysilk-page a,
.navysilk-page a:active {
  color: #FFF;
}

.labyrinth-page a:visited,
.blumazes-page a:visited {
  color: #00F;
}

/* Labyrinth Subpages */

.blumazes-page {
  background: #000 url("/images/blumazes.jpg");
  color: #FFF;
}

.package-page {
  background: #000080;
  color: #FFF;
}

.navysilk-page {
  background: #000080 url("/images/bstarsilk.jpg");
  color: #FFF;
}

.navysilk-page a:visited {
  color: #0FF;
}

/*****************************/
/* Angels and Dragons */
/*****************************/

.angels-page {
  background: #000080 url("/images/bkprpl.jpg");
  color: #FFF;
}

.angels-page a,
.angels-page a:active {
  color: #FFF;
}

.angels-page a:visited {
  color: #C0C0C0;
}

.dragons-page {
  background: #C0C0C0 url("/images/autumn.gif");
  color: #FFF;
}

.dragons-page a,
.dragons-page a:active {
  color: #FFF;
}

.dragons-page a:visited {
  color: #FF0;
}

/*****************************/
/* Other Realms */
/*****************************/

.otherrealms-page {
  background: #000 url("/images/tourmaline.jpg");
  color: #FFF;
}

.otherrealms-page a,
.otherrealms-page a:active {
  color: #FFF;
}

.otherrealms-page a:visited {
  color: #F0F;
}

/*****************************/
/* Dreamspinner's Cancer Page */
/*****************************/

.cancer-page {
  background: #C0C0C0 url("/images/pinkcelticbk.jpg");
  background-color: #C0C0C0;
  color: #008080;
}

.cancer-page a,
.cancer-page a:active {
  color: #0FF;
}

.cancer-page a:visited {
  color: #00F;
}

/*****************************/
/* 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;
  }
}