/*
 * Copyright 2013 Christophe-Marie Duquesne <chmd@chmd.fr>
 *
 * CSS for making a resume with pandoc. Inspired by moderncv.
 *
 * This CSS document is delivered to you under the CC BY-SA 3.0 License.
 * https://creativecommons.org/licenses/by-sa/3.0/deed.en_US
 */

/* Whole document */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 0 10px;
}

/*
.title {
    display: none;
}
*/

/* Title of the resume */
h1 {
  font-size: 45px;
  color: #757575;
  text-align: center;
  margin: 20px auto 10px;
}

/* Titles of categories */
h2 {
  color: #397249;
}

/* There is a bar just before each category */
h2:before {
  content: "";
  display: inline-block;
  margin-right: 1%;
  width: 16%;
  height: 10px;
  background-color: #9cb770;
}

/* Definitions */
dt {
  float: left;
  clear: left;
  width: 17%;
  font-weight: bold;
  overflow-wrap: break-word;
}
dd {
  margin-left: 17%;
  margin-bottom: 20px;
}
p {
  margin-top: 0;
  margin-bottom: 7px;
}

/* Blockquotes */
blockquote {
  text-align: center;
}

/* Links */
a {
  text-decoration: none;
  color: #397249;
}
a:hover,
a:active {
  background-color: #397249;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 1px 1px 1px #333;
}

/* Horizontal separators */
hr {
  color: #a6a6a6;
}

summary {
  padding-bottom: 10px;
}

summary::after {
  content: "\a"attr(preview);
  white-space: pre;
  opacity: 0.5;
}

details[open] > summary::after {
  content: none;
}

div#summary {
  margin: 0 20px 20px 17%;
}
