@import url('https://fonts.googleapis.com/css2?family=Rajdhani&display=swap');


body {
    color: #333;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.5;
    margin: 4em auto;
    max-width: 52em;
    padding: 0 1em;
}

p,
li {
    font-size: larger;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1em 0 0.5em 0;
    line-height: 1.2;
}

a:link,
a:visited {
    color: #03c;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: #06f;
    text-decoration: underline;
}

h1 a:empty:before,
h2 a:empty:before,
h3 a:empty:before,
h4 a:empty:before,
h5 a:empty:before,
h6 a:empty:before {
    content: "#";
}

h1 a:empty,
h2 a:empty,
h3 a:empty,
h4 a:empty,
h5 a:empty,
h6 a:empty {
    visibility: hidden;
    padding-left: 0.25em;
}

h1:hover a:empty,
h2:hover a:empty,
h3:hover a:empty,
h4:hover a:empty,
h5:hover a:empty,
h6:hover a:empty {
    visibility: visible;
}

img {
    max-width: 100%;
}

figure {
    margin: 1em 0;
    text-align: center;
}

figcaption {
    font-size: small;
}

pre,
code,
samp,
kbd {
    color: #009;
    font-family: monospace, monospace;
}

date {
    color: rgb(158, 158, 158);
}

mono {
    font-family: monospace, monospace;
}

pre kbd {
    color: #060;
}

pre,
blockquote {
    background: #eee;
    padding: 0.5em;
}

pre {
    overflow: auto;
}

blockquote {
    border-left: medium solid #ccc;
    margin: 1em 0;
}

blockquote :first-child {
    margin-top: 0;
}

blockquote :last-child {
    margin-bottom: 0;
}

table {
    border-collapse: collapse;
}

th,
td {
    border: thin solid #999;
    padding: 0.3em 0.4em;
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    body {
        color: #bbb;
        background: #222;
    }

    a:link,
    a:visited {
        color: #9bf;
    }

    a:hover,
    a:active {
        color: #acf;
    }

    pre,
    code,
    samp,
    kbd {
        color: #6cf;
    }

    pre kbd {
        color: #9c9;
    }

    pre,
    blockquote {
        background: #111;
    }

    blockquote {
        border-color: #444;
    }

    th,
    td {
        border-color: #666;
    }
}

.aligncenter {
    text-align: center;
}

/* adds offset to scrolling for anchor tags to accomodate fixed header */
:target::before {
    content: "";
    display: block;
    height: 3em;
    margin: -3em, 0 0;
}

.container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.section {
    width: 50em;
}

/* Menu bar */

@font-face {
    font-family: 'Rajdhani';
    src: url('https://fonts.googleapis.com/css2?family=Rajdhani&display=swap');
}

.menu {
    background-color: white;
    position: fixed;
    font-family: 'Rajdhani';
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid black;
}

.dropbtn {
    background-color: white;
    color: black;
    font-size: 1em;
    text-align: left;
    padding: 0em 1em 0em 1em;
    border: none;
    cursor: pointer;
    margin: 0;
    height: 2.5em;
    font-family: 'Rajdhani';
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: fixed;
    top: 2.5em;
    font-family: inherit;
    border-top: 1px solid black;
}

.dropdown-content-disabled {
    padding: 12px 16px;
    color: lightgray;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: black;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #222222;
    color: white;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td,
th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

#myBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: grey;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#myBtn:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}

.toc {
    border-style: groove;
}

html {
    scroll-behavior: smooth;
}

#tocTable td,
#roof td,
#gutters td,
#siding td,
#exteriorPainting td,
#decks td,
#concrete td,
#garage td,
#landscaping td,
#septicSystem td,
#foundation td,
#demo td,
#plumbing td,
#electrical td,
#hvac td,
#framing td,
#insulation td,
#sheetrock td,
#carpentry td,
#interiorPainting td,
#cabinets td,
#flooring td,
#permits td,
#mold td,
#termites td,
#miscellaneous td {
    border: 1px solid #ddd;
    padding: 8px;
}

#tocTable tr:nth-child(even),
#roof tr:nth-child(even),
#gutters tr:nth-child(even),
#siding tr:nth-child(even),
#exteriorPainting tr:nth-child(even),
#decks tr:nth-child(even),
#concrete tr:nth-child(even),
#garage tr:nth-child(even),
#landscaping tr:nth-child(even),
#septicSystem tr:nth-child(even),
#foundation tr:nth-child(even),
#demo tr:nth-child(even),
#plumbing tr:nth-child(even),
#electrical tr:nth-child(even),
#hvac tr:nth-child(even),
#framing tr:nth-child(even),
#insulation tr:nth-child(even),
#sheetrock tr:nth-child(even),
#carpentry tr:nth-child(even),
#interiorPainting tr:nth-child(even),
#cabinets tr:nth-child(even),
#flooring tr:nth-child(even),
#permits tr:nth-child(even),
#mold tr:nth-child(even),
#termites tr:nth-child(even),
#miscellaneous tr:nth-child(even) {
    background-color: #f2f2f2;
}

#roof tr:hover,
#gutters tr:hover,
#siding tr:hover,
#exteriorPainting tr:hover,
#decks tr:hover,
#concrete tr:hover,
#garage tr:hover,
#landscaping tr:hover,
#septicSystem tr:hover,
#foundation tr:hover,
#demo tr:hover,
#plumbing tr:hover,
#electrical tr:hover,
#hvac tr:hover,
#framing tr:hover,
#insulation tr:hover,
#sheetrock tr:hover,
#carpentry tr:hover,
#interiorPainting tr:hover,
#cabinets tr:hover,
#flooring tr:hover,
#permits tr:hover,
#mold tr:hover,
#termites tr:hover,
#miscellaneous tr:hover {
    background-color: #ddd;
}

#tocTable th,
#roof th,
#gutters th,
#siding th,
#exteriorPainting th,
#decks th,
#concrete th,
#garage th,
#landscaping th,
#septicSystem th,
#foundation th,
#demo th,
#plumbing th,
#electrical th,
#hvac th,
#framing th,
#insulation th,
#sheetrock th,
#carpentry th,
#interiorPainting th,
#cabinets th,
#flooring th,
#permits th,
#mold th,
#termites th,
#miscellaneous th {
    border: 1px solid #ddd;
    padding: 8px;

    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}