/*
	ALHMarkDeepPages.css
	This is the standard Stylesheet used by ALH in MarkDeep pages
	2022-07-13	KBN		Created
	2022-12-10	KBN		Updated link style
*/


body#md {
    position: absolute;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
    margin: 0px 40px;
    padding: 0;
    max-width: 1024px;
    color: #333;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.5;
    padding-right: 20px;
    overflow-x: hidden;
    text-overflow: ellipses;
}

.md a:link, .md a:visited {
    color: #38F;
    text-decoration: underline;
}



.md .longTOC {
    width: 210px;
    display: block;
    border-right: 2px solid #ddd;
    overflow-y:scroll;
    font-size: 15px;
    font-family: inherit;
    background: #FFF;
    
    position: absolute;
    top: 90px;
    left:-190px;
    bottom:0px;
    margin: 0px;
    padding: 0px;
}

.scrolled .md .longTOC {
    position: fixed;
    left: 0px;
    top: 0px;
    border-left: 10px solid #fff; 
}


/* Numbering of headings */ 
.md h1::before { content: counter(h1) ". "; counter-increment: h1; margin-right: 10px; }
.md h2::before { content: counter(h1) "." counter(h2) ". "; counter-increment: h2; margin-right: 10px; }
.md h3::before { content: counter(h1) "." counter(h2) "." counter(h3) ". "; counter-increment: h3; margin-right: 10px; }
.md h4:before, .md h5:before, .md h6:before { content: none; }

.md .longTOC a {
    color: #000;
}

.md .tocHeader {
    display: none;
}

.md a,
.md div.title, contents, .md .tocHeader,
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6,
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6,
.md .shortTOC, .md .mediumTOC, .md .longTOC {
    font-family: inherit;
}

.md h1, .md h2, .md h3, .md h4, .md h5, .md h6 {
    border: none;
}

.md h1, .md .nonumberh1 {
    font-family: "Josefin Slab", serif;
    font-weight: 900;
    text-transform: none;
    color: #c53010;
    font-size: 24px;
    padding-bottom: 0px;
}
.md h2, .md .nonumberh2 {
    font-family: "Josefin Slab", serif;
    font-weight: 900;
    text-transform: none;
    color: #c53010;
    font-size: 20px;
}
.md h3, .md .nonumberh3 {
    font-family: "Josefin Slab", serif;
    font-weight: 900;
    text-transform: none;
    color: #c53010;
    font-size: 18px;
    font-style: italic;
}


/* Main bar at top, beware of the negative 'top' and 'left' attributes to cater for an extra <p> tag inserted before by MarkDeep */
.md div.title {
    font-family: "Josefin Slab", serif;
    font-weight: 900;
    font-size: 45px;
    text-align: left;
    position: absolute;
    background-image: url("https://agileleanapps.com/images/ALHBannerInverse.png");
    background-size: 800px;
    background-repeat: no-repeat;
    background-color: rgb(197,48,16);
    width: 4096px;
    top: -14px;
    left:-40px;
    padding: 25px 10px;
    padding-left: 130px; 
    color: #fff;
    z-index: 10;
    border-bottom: 5px solid #c53010;
    border-top: 5px dashed  #c53010;
}

/* Drop caps */
.md h2 + p::first-letter {
    font-size: 54px;
    float: left;
    margin-top: 0.05em;
    margin-bottom: 0.0 em;
    margin-right: .07em;
    font-family: "Josefin Slab", serif;
    line-height: 1;
    font-weight: bold;
    color: #c53010;
}

.md div.subtitle {
    margin-top: 10px;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.2;
    color: #A0A0A0;
    text-align: left;
    font-style: italic;
}

.md div.subtitle:nth-of-type(2) {
    margin-top: 130px;
    font-family: "Josefin Slab", serif;
    font-weight: bold;
    font-size: 30px;
    font-style: normal;
    color: #c53010;
}

.md div.mediumTOC center b {
    display: none;
}

.md div.mediumTOC p {
    margin-top: -16px;
}

.md .tocNumber {
    display: inline; 
}

