/* --- fonts --- */

@font-face {
    font-family: "AvenirLight";
    src: url("fonts/AvenirLight.eot?#iefix");
    src: url("fonts/AvenirLight.eot?#iefix") format("eot"), url("fonts/AvenirLight.woff2") format("woff2"), url("fonts/AvenirLight.woff") format("woff"), url("fonts/AvenirLight.ttf") format("truetype"), url("fonts/AvenirLight.svg#AvenirLight") format("svg");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "AvenirMedium";
    src: url("fonts/AvenirMedium.eot?#iefix");
    src: url("fonts/AvenirMedium.eot?#iefix") format("eot"), url("fonts/AvenirMedium.woff2") format("woff2"), url("fonts/AvenirMedium.woff") format("woff"), url("fonts/AvenirMedium.ttf") format("truetype"), url("fonts/AvenirMedium.svg#AvenirMedium") format("svg");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "AvenirHeavy";
    src: url("fonts/AvenirHeavy.eot?#iefix");
    src: url("fonts/AvenirHeavy.eot?#iefix") format("eot"), url("fonts/AvenirHeavy.woff2") format("woff2"), url("fonts/AvenirHeavy.woff") format("woff"), url("fonts/AvenirHeavy.ttf") format("truetype"), url("fonts/AvenirHeavy.svg#AvenirHeavy") format("svg");
    font-weight: normal;
    font-style: normal
}

/* --- layout --- */

div.wrapper {
    max-width:980px;
    padding: 0 20px;
    margin:0 auto;
}

div.header-1 {
    background-color:#272727;
    padding: 26px 30px;
}

div.header-2 {
    background-color:#f5f5f5;
    color: #494845;
}

div.logo {
    display: block;
    text-indent: -9999px;
    width: 98px;
    height: 14px;
    background-image: url('images/foundry_logo.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0%;
}

.fdot::after {
    content: '.';
    display: inline;
    color: #fcb434;
}

/* --- basic formatting --- */

body {
    font-family: 'AvenirMedium', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    color:#404040;
}

p {
    margin: 12px 0 10px 0;
}

p, li {
}

ul, ol {
    margin: 10px 0 10px 30px;
    padding: 0;
}
ul ul, ul ol, ol ol, ol ul {
    margin: 0 0 0 30px;
}

/* --- links --- */

a:link, a:visited {
    color:#18b4e1;
    text-decoration:none;
}

/* --- code snippets --- */

pre {
    font-family: 'Inconsolata', monospace;
    background-color: #EBEBEB;
    line-height: 1.3em;
    padding: 15px 30px;
}

/* --- headers --- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  font-family: 'AvenirMedium', 'Arial', sans-serif;
  margin: 40px 0 15px 0;
  page-break-after:avoid;
}
h1 {
    font-weight: normal;
    font-size: 2.0em;
    color: #494845;
    margin: 0;
    padding:30px 0;
}
div.subtitle {
    font-size:1.4em;
    color: #72716c;
    margin-top:-10px;
    padding: 0 0 20px 0;
}

h2 {
    font-weight: normal;
    font-size:1.8em;
    color: #494845;
}
h3 {
    font-weight: normal;
    font-size:1.5em;
    color: #605f5d;
}
h4 {
    font-size:1.3em;
    color: #7d7d7c;
}
h5 {
    font-size: 1.1em;
    color: #969696;
}

/* --- admonitions --- */

div.admonition {
    min-height: 45px;
    margin: 20px 0;
    padding: 10px 10px 0 55px;
    border: 1px solid #CCCCCC;
    background-color: #f5f5f5;
    background-position: 5px 5px;
    background-repeat: no-repeat;
    page-break-inside: avoid;
}

div.note {
    background-image:url(images/note.png);
}
div.warning {
    background-image:url(images/warning.png);
}
div.tip {
    background-image:url(images/tip.png);
}

div.admonition p:first-child {
    margin-top:0;
}

div.admonition pre {
    background-color:#FFFFFF;
}

div.stress {
    padding-right: 30px;
    background-color: #f0faec;
    border: 1px solid #d9ead3;
}
div.stress > p {
    padding-left:30px;
}
div.stress * {
    border-width: 0;
}
div.missing {
    background-color: #ec5e5e;
}
p.copyright {
    margin-top: 40px;
    text-align: center;
}

table {
    font-size: 0.92em;
    border-collapse: collapse;
    width: 100%;
}
table tbody th {
    text-align: right;
}
td, th {
    padding: 6px 24px;
    border: 1px solid rgb(225, 228, 229);
}
table tbody tr:nth-child(2n-1), table tbody tr:nth-child(2n-1) {
    background-color:rgb(243, 246, 246);
}

span.title-right {
    font-weight:bold;
}

tr td.state {
    padding: 6px 12px;
    text-transform: uppercase;
    /*font-size:10pt;*/
    /*font-weight:bold;*/
    /*display:block;*/
    text-align:center;
}
tr td.state-open {
    background-color:#9fc5e8;
}
tr td.state-planned {
    background-color:#ffe599;
}
tr td.state-in-progress {
    background-color:#d9ead3;
}
tr td.state-complete {
    background-color:#b6d7a8;
}



tr td.priority {
    padding: 6px 12px;
    text-transform: uppercase;
    /*font-size:10pt;*/
    /*font-weight:bold;*/
    /*display:block;*/
    text-align:center;
}
tr td.priority-high {
    background-color:#9fc5e8;
}
tr td.priority-medium {
    background-color:#ffe599;
}
tr td.priority-low {
    background-color:#d9ead3;
}



