/* clementvalla.com — carries the clementvalla2015 design language:
   Arial light, black on white, line-through hovers, grey secondary,
   narrow left-aligned column. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

a, a:visited { color: #000; text-decoration: underline; }
a:hover { text-decoration: line-through; }

img { max-width: 100%; height: auto; display: block; }
img:hover { opacity: .8; }

/* fixed menu, top right, grey 14px Arial — as in 2015 */
.menu {
  position: fixed;
  top: 25px; right: 20px;
  z-index: 200;
  font-size: 14px;
  line-height: 19px;
  color: #808080;
  text-align: right;
}
.menu a, .menu a:visited { color: #808080; text-decoration: none; display: block; }
.menu a:hover, .menu a.here { text-decoration: line-through; }

.page {
  width: 95%;
  max-width: 800px;
  padding: 25px 2vw 65px 2vw;
}

/* intro / header block: 16px, links underlined */
.header { font-size: 20px; line-height: 24px; max-width: 640px; padding-bottom: 65px; }
.header p { margin: 0 0 24px 0; }

.title {
  font-size: 16px;
  line-height: 19px;
  padding-bottom: 15px;
  max-width: 640px;
}
.title a { text-decoration: underline; }
.title .meta { color: #000; }

.grey { color: #808080; }

/* TEXT toggle — grey, uppercase, 12px, right of the block */
.textToggle {
  float: right;
  font-size: 12px;
  line-height: 19px;
  text-transform: uppercase;
  color: #808080;
  text-decoration: none;
  cursor: pointer;
  border: 0; background: none; padding: 0;
  font-family: inherit;
}
.textToggle:hover { text-decoration: line-through; }

.bodyText { display: none; max-width: 640px; padding-bottom: 20px; }
.bodyText.open { display: block; }
.bodyText p { margin: 0 0 24px 0; }
.bodyText a, .bodyText a:visited { color: #808080; }

.images > * { margin-bottom: 10px; }

/* facts block */
.facts { font-size: 14px; line-height: 19px; color: #808080; max-width: 640px; padding-top: 40px; }
.facts p { margin: 0 0 12px 0; }
.facts a, .facts a:visited { color: #808080; }

/* work index on the homepage */
.workList { padding: 0; margin: 0; list-style: none; }
.workList li { padding-bottom: 65px; }

/* plain text index of everything else */
.plainIndex { font-size: 16px; line-height: 21px; max-width: 640px; }
.plainIndex p { margin: 0 0 8px 0; }
.plainIndex .yr { color: #808080; display: inline-block; min-width: 5.5em; }

.texts p { max-width: 640px; }

@media (max-width: 700px) {
  body { font-size: 17px; line-height: 22px; }
  .menu {
    position: static;
    text-align: left;
    padding: 20px 16px 0 16px;
  }
  .menu a { display: inline; margin-right: 14px; }
  .page { width: 100%; padding: 20px 16px 50px 16px; }
  .header, .title, .bodyText, .facts, .plainIndex { max-width: none; }
}
