/* Ordination Dr. Michael Klein – static site styles
   Based on the WordPress theme "Attitude", reduced to what the site uses. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #777;
  font: 16px/20px 'PT Sans', sans-serif;
}

h1, .logo { font-family: 'Philosopher', sans-serif; font-weight: normal; color: #555; }
p { margin: 0 0 15px; }
a { color: #05a9c5; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: top; }

/* Centered content column */
.box { width: min(978px, 100% - 40px); margin: 0 auto; }

/* Header */
header > .box { padding: 52px 0 51px; }
.logo { display: block; font-size: 37px; line-height: 42px; }
.logo:hover { color: #05a9c5; }
.tagline { margin: 0; font-size: 13px; }
.banner { width: 100%; }

/* Menu */
nav { border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
nav a { display: inline-block; height: 55px; padding: 16px 20px 0 0; color: #777; font-size: 14px; text-transform: uppercase; }
nav a:hover, nav a.on { color: #05a9c5; }

/* Page content */
main { padding: 50px 0 60px; }
main > * { max-width: 642px; }
h1 { margin: 0 0 50px; font-size: 24px; line-height: 30px; }
strong { font-size: 16.5px; }

figure { margin: 85px 0 30px; }
figcaption { padding: 15px 0; border-bottom: 1px solid #eaeaea; font-size: 16.5px; font-style: italic; }

/* Footer */
footer { padding: 40px 0 10px; background: #f9f9f9; border-top: 1px solid #eaeaea; font-size: 15.5px; }

/* "Back to top" button */
.top {
  position: fixed; right: 10px; bottom: 10px;
  width: 35px; height: 35px; overflow: hidden; text-indent: -9999px;
  background: url(img/back-to-top@2x.png) 0 0 / 35px 35px;
}

@media (max-width: 767px) {
  header > .box { padding: 25px 0; }
  main { padding-top: 40px; }
  h1 { margin-bottom: 40px; }
}
