@import '/s/css/common.css';

@import '/s/css/fontdefs.css';

/* reset */
* {margin: 0; padding: 0; border: 0; outline: 0; 
   font-size: 100%; vertical-align: baseline; background: transparent; }
h1{display:none}
h2{font-size: 20px;}
h3{margin-top: 15px;}

/* === FONTS === */
:root {
}
body {
    font-family: "Open Sans", Verdana, sans-serif;
    font-size: 11pt;
}
/* DL as table */
.table dl dt, .table dl dd {
    font-size: 16px;
}
/* DL as table */
.table dl {
    font-size: 0;
    text-align: center;
}
.table dl dd {
    font-size: 18px;
    font-weight: 300;
}
.time { 
    font-style: italic;
    font-size: 12px;
}
#imprint dt {
    font-weight: bolder;
}
#imprint h3 {
    font-size-adjust: +0.6;
}
footer #footbar {
    font-size: 14px;
    font-family: sans-serif;
}


/* === COLORS === */
:root {
}
body {
    background-color: #f8f8f8;
    background-image: url('/s/img/graysmall.gif');
    background-repeat: both;
    color: black;
}
.sect1 {
  background-color: rgba(248, 248, 248, .3);
}
/* DL as table */
.table dl dt {
    background-color: rgba(248, 248, 248, .5); 
}
.exampleblock {
    background-color: #ccc;
}
mark {
    background-color: #ff6900;
    color: #fff;
}
footer #footright,
footer #footbar {
    background-color: black;
}
footer #footbar * {
    color: white;
}
.endhex{
  color: #ccc;
}

/* === CONTENT === */
dl dd a {
    text-decoration: none; 
}


/* === STRUCTURE === */
:root {
}
body {
    margin: 0;
    margin-bottom: 24px; /* must match #footright height */
    padding: 0;
}
#toc {
    margin: 15px;
    padding: 10px;
}
.time { 
    float:right; 
}
.exampleblock {
    margin: 15px;
    padding: 10px;
    border: 1px solid #333;
}
h2,h3 {
    margin-top: 1em;
}
mark {
    padding-left: 4px;
    padding-right: 4px;
}
.endhex{
  /* required so that imprint remains clickable on IE10 */
  margin-top: 100px;
  text-align: center;
}
footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 1;
}
footer #footright {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-left: 200px;
    min-height: 24px;
    pointer-events: none;
}
footer #cowboy {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 74px;
    pointer-events: none;
}
footer #footbar {
    position: absolute;
    right: 1em;
    bottom: 0;
}
#imprint dt {
    margin-top: 0.2em;
}
#imprint dd {
    margin-left: 2em;
}
#imprint li li {
    margin-left: 1em;
}
#imprint .ulist {
    margin-left: 1em;
}
#imprint .dlist {
    margin-left: 0em;
}
#imprint h3 {
    margin-bottom: 0.3ex;
}
#imprint .paragraph {
    margin-left: 2em;
}


/* === RESPONSIVE STRUCTURE === */
main {
  max-width: 900px; 
  margin-right: auto; 
  margin-left:  auto; 
  padding-right: 10px; 
  padding-left:  10px; 
  padding-bottom: 4px;
  padding-top: 20px;
  clear: both;
}
@media only screen and (max-width: 430px) {
    main {
        width: 90%;
        margin: 0;
    }
}
.table dl dt, 
.table dl dd {
    display: inline-block;
    vertical-align: text-top;
    margin-top: 0.3em;
}
.table dl dt {
    width: 20%;
    border-radius: 7px;
    text-align: right;
    padding-right: 10px;
}
.table dl dt * {
    word-wrap: break-word;
}
.table dl dd {
    width: 75%;
    text-align: left;
    padding-left: 10px;
}

@media only screen and (max-width: 560px) {
    .table dl dt {
        width: 100%;
        clear: both;
        text-align: left;
        margin-top: 20px;
    }
    .table {
        margin-bottom: 1em;
    }
}
