/* derekandmelissa.org — static recreation of the original 2011 WordPress theme */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  color: #555;
  font-size: 14px;
  line-height: 1.75;
}

.container {
  width: 810px;
  max-width: 96%;
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 18px;
}

.site-logo img {
  width: 260px;
  height: auto;
  display: block;
}

.site-nav a {
  font-size: 11.5px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #999;
  margin-left: 22px;
}

.site-nav a:hover,
.site-nav a.current { color: #666; }

/* ---------- Home: framed slideshow ---------- */

.photo-frame {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  padding: 20px;
  margin-bottom: 30px;
}

/* black photo-corner tabs */
.photo-frame .corner {
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}
.corner.tl { top: 6px;    left: 6px;   border-width: 22px 22px 0 0;  border-color: #2b2b2b transparent transparent transparent; }
.corner.tr { top: 6px;    right: 6px;  border-width: 0 22px 22px 0;  border-color: transparent #2b2b2b transparent transparent; }
.corner.bl { bottom: 6px; left: 6px;   border-width: 22px 0 0 22px;  border-color: transparent transparent transparent #2b2b2b; }
.corner.br { bottom: 6px; right: 6px;  border-width: 0 0 22px 22px;  border-color: transparent transparent #2b2b2b transparent; }

.slideshow {
  position: relative;
  width: 760px;
  max-width: 100%;
  height: 470px;
  overflow: hidden;
  margin: 0 auto;
}
.slideshow img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slideshow img.active { opacity: 1; }

/* ---------- Home: three feature columns ---------- */

.features {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 25px 0 45px;
}
.feature { width: 31%; }

.feature .heading img { height: 62px; width: auto; max-width: 100%; }

.feature .art { margin: 28px 0 22px; }
.feature .art img { max-width: 85%; height: auto; }

.feature a.cta {
  display: block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8d85b5;
  text-decoration: none;
  line-height: 1.6;
}
.feature a.cta:hover { color: #6f668f; }

/* ---------- Interior pages ---------- */

.page-body {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 40px;
  min-height: 380px;
}
.main-col { width: 68%; }
.side-col { width: 24%; }

h1.page-title {
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 18px;
}

.main-col p { margin-bottom: 18px; }
.main-col ul { margin: 0 0 18px 40px; }
.main-col blockquote {
  border-left: 1px solid #999;
  margin: 0 0 18px 20px;
  padding-left: 20px;
}
.main-col hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 30px 0;
}
.main-col a { color: #555; text-decoration: none; }
.main-col a:hover { text-decoration: underline; }
.main-col sup { font-size: .7em; }

.side-col h2 {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.side-col ul { list-style: none; }
.side-col li { margin-bottom: 9px; }
.side-col a {
  font-size: 11.5px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  text-decoration: none;
}
.side-col a:hover { color: #444; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid #ececec;
  display: flex;
  justify-content: space-between;
  padding: 14px 0 40px;
  font-size: 10.5px;
  letter-spacing: .5px;
  color: #aaa;
  text-transform: uppercase;
}
.site-footer strong { color: #999; }
