
/**
 *  Article Header
**/

.header {
  margin: 0 2em;
  padding: 1em 1em 0;
}

.header > * {
  margin: 10px 0;
}

.header h1 {
  font-family: Helvetica, sans-serif;
  font-size: 1.6em;
  margin: 5px 0;
  font-weight: bold;
  text-align: center;
}

.header h2 {
  border-bottom: 1px ridge #484552;
  font-family: Helvetica, sans-serif;
  font-size: 1.1em;
  text-align: center;
}

.header h3 {
  color: #3E3234;
  font-family: Helvetica, sans-serif;
  font-size: 0.7em;
}

/**
 * iframe (contact page etc)
**/

iframe {
  margin: 10px 30px;
}

/**
 *  downloads / attachments
**/

.download {
  text-align: center;
}

/**
 *  Article Internals
**/

.article {
  font-family: verdana, sans-serif;
  font-weight: normal;
  margin: 10px;
  padding: 5px;
}

.article > p { 
  font-size: 1em;
  font-family: verdana, sans-serif;
  line-height: 150%;
  margin: 0 50px;
  padding: 5px;
}

.article p.firstpara:first-letter {
  color: #FFFFFF;
  background: #1E4C66;
  float: left;
  font-size: 1.8em;
  padding: 0.3em 0.3em 0.5em 0.3em;
  margin-right: 0.1em;
  font-weight: bold;
}

/**
 *  Links
**/

.header a,
.header a:visited,
.article a,
.article a:visited {
  color: #066374;
  padding: 0 3px;
  text-decoration: underline;
}

.header a:hover,
.article a:hover {
  color: #000000;
  background: #ECF1EF;
  text-decoration: none;
}

/**
 *  Lists
**/

.article ul,
.article ol {
  margin: 0;
  padding: 5px 100px;
}
.article ul ul,
.article ol ol,
.article ul ol,
.article ol ul {
  margin: 0 20px;
  padding: 5px;
}
.article li {
  list-style-type: square;
}
.article li p {
  margin: 5px;
  padding: 5px;
}
/**
 *  Tables
**/

.article table.datatable { 
  margin: 10px 50px;
}

.article table.datatable th,
.article table.datatable td.label {
  background: #122C42;
  color: #FFFFFF;
  font-weight: bold;
  padding: 5px;
}

.article table.datatable td {
  padding: 5px;
  border: 1px solid #A2BBC4;
}

input.disabled { 
  background: #FFF8F2;
  color: black;
}

input.narrow { 
  width: 40px;
  padding: 5px;
}

/**
 *  Quotations
**/

.article blockquote { 
  background: #DDD6C4;
  margin: 0 60px;
  overflow: auto;
}

.article li blockquote { 
  margin: 0 20px;
}

.article blockquote p { 
  padding: 5px 20px;
  font-style: italic;
  font-size: 0.95em;
  font-family: verdana, sans-serif;
  line-height: 150%;
}

.article blockquote:before { 
  background: #DDD6C4 url('/assets/images/quote-open.png') no-repeat left top;
  content: "";
  height: 20px;
  display: block;
}

.article blockquote:after { 
  background: #DDD6C4 url('/assets/images/quote-close.png') no-repeat right bottom;
  content: "";
  height: 20px;
  display: block;
}

/**
 *  Code
**/

.article pre {
  font: normal 1.2em Courier;
  border: 1px solid #CECEBF;
  margin: 5px 80px;
  padding: 10px;
  overflow: auto;
}

.article ul pre,
.article ol pre {
  margin: 0;
  padding: 5px;
}

/**
 *  Images
**/

.article img { 
  border: 0;
}

.article .image-container { 
  position: relative;
  padding: 5px;
}

.article .image-container.image-left { 
  margin: 5px 5px 5px 50px;
  float: left;
  clear: left;
}

.article .image-container.image-center {
  display: block;
  clear: both;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
}

.article .image-container.image-right { 
  margin: 0 50px 0 0;
  float: right;
  clear: right;
  margin: 5px 50px 5px 5px;
}

.article .image-container .image-graphic {
    background: #FFFFFF;
}

.image-container .image-caption { 
  top: -20px;
  font-weight: normal;
  font-style: italic;
  font-size: 0.9em;
  text-align: center;
}

.article img.shadow {
  box-shadow: 5px 5px 10px #706D65;
}

.article .image-right.image-caption { 
  position: relative;
  font-weight: normal;
  font-style: italic;
  font-size: 0.9em;
  text-align: center;
  margin: 0 50px 0 0;
  top: -20px;
  padding: 10px;
}

@media screen and (max-width: 800px) { 

  .article .image-container.image-left,
  .article .image-container.image-right { 
    margin: 0;
    float: none;
    display: block;
    clear: both;
    margin: 5px;
  }

  .image-graphic {
    text-align: center;
  }

}

@media only screen and (max-width: 768px), (min-device-width: 320px) and (max-device-width: 480px) {
  .article p,
  .article blockquote,
  .article pre,
  .article ul,
  .article ol {
    margin: 5px;
    padding: 5px;
  }
  .article li {
    list-style-type: none;
  }
}