@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,300,700);

/* Misc */
body {
  font: 14px/1.5 "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
  word-wrap:break-word;
  counter-reset: clause;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
}

/*ul, ol {
  list-style-position: outside;
  margin-left: 2em;
}*/

ol li ul, ol li ol {
  margin-bottom: 1.25em;
}

article { padding-left:1rem; }

article h1 { font-size: 1.6875rem; }
article h2 { font-size: 1.375rem; }
article h3 { font-size: 1.125rem; }

/* Base.html - top navigation */
.top-bar {
  background: #fff; /* Header color */
  height: 100%;
  margin-bottom: 1em;
}

ul.top-nav {
  margin: 1em;
}

/* .top-bar a { color: #fff } */ /* Sitename color */
ul.button-group.navigation { margin-bottom: 1em; }


/* Base.html sidebar */
h5.sidebar-title {
  border-bottom: 0.1em solid #eeeeee;
  margin-top: 1em;
  font-weight: bold;
  text-transform: uppercase;
}

/*.side-nav li a { color: #222}*/
.side-nav { padding: 0.5em 0; }
.side-nav li a.button {text-align: left;}

/* Index.html - posts */
.article-title {
  font-size: 2rem;
  margin-bottom: 0em;
  color: #3A91CB;
}


/* Article infos | infos_bottom.html */
.subheader { color: #aaa; margin-bottom: 1.2em; }
a.article-info { color: #aaa; }


/* Archives.html */
.table-archive { border: none; }


/* Index.html - line separator for posts */
hr.gradient {
  border: 0;
  height: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}

/* Syntax Highlighting */
.highlight > pre {
  word-wrap: normal;
  white-space: pre;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  background: #073642;
  padding: 1em;
  overflow: auto;
}

/* custom lists with continuous numbering for by-laws et al */

.list-style-none {
  list-style-type: none;
}

.list-style-latin {
  list-style-type: lower-latin;
}

ul.legal>li {
  position: relative;
  padding-top: 1.75em;
  padding-bottom: 1.5em;
}

ul.legal>li:before {
  counter-increment: clause;
  content: counter(clause, decimal) ". ";
}

ul.legal>li>b {
  position:absolute;
  top: 0;  /* becase of padding-top */
  left: 0;
}

ul.legal>li ul li {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  margin-left: 1em;
}

