
/*  Nonfiction styles */

main.nonfiction {
    background-image: url("../images/backgrounds/snow.png");
    font-family: 'Muli', sans-serif;
    border: 6px solid #5ab657;
}

main.nonfiction .nav {
    background: transparent;
    padding: 2%;
    width: 100%;
    height: 12%;
}

main.nonfiction .nav-pills .nav-link.active, .nav-pills .show>.nav-link, main a {
    color: #333;
    background-color: transparent;
    border-bottom: 1px solid #e0dede;
    font-size: 1rem;
}

main.nonfiction a:hover {
    color: #333;
}

main.nonfiction a.active {
    color: #777;
    font-weight: 600;
}

main.nonfiction h1 {
    font-size: 1.75rem;
    font-weight: 400;
    font-variant: small-caps;
    color: #555;
    letter-spacing: 1px;
}

main.nonfiction p.line {
    background-color: #cfc96e;
    height: 3px;
    width: 60px;
    line-height: 0;
    margin-left: 40%;
}

main.nonfiction .tab-content {
    background-color: #fff;
    width: auto;
    height: 1000px;
    overflow: scroll;
}

main.nonfiction .tab-content p {
    margin: 4% 6%;
    padding: 0;
}

main.nonfiction .tab-content h1 {
    font-weight: 600;
    padding-top: 3rem;
    font-size: 1.5rem;
    font-variant: normal;
    text-align: center;
    color: #333;
    letter-spacing: normal;
}

main.nonfiction h2 {
    margin-bottom: 2.4rem;
    padding: 0;
    font-size: 1.25rem;
    color: #333;
    text-align: center;
}

main.nonfiction h3 {
    font-size: 1.15rem;
}

main.nonfiction h4 {
    font-weight: 500;
}

main.nonfiction img.nf-photos {
    width:300px;
    max-width: 300px;
    height:100%;
    padding: 2% 2%;
    background-color: white;
    box-shadow: 0 1px 3px 1px rgba(117, 120, 123, 0.45);
    margin-top: 25%;
}

main.nonfiction img.nf-text-photos {
    width: 160px;
    max-width: 160px;
    height: 100%;
    padding: 2% 2%;
    background-color: white;
    box-shadow: 0 1px 3px 1px rgba(117, 120, 123, 0.45);
}

main.nonfiction p.first-paragraph span.drop-cap {
    font-family: "Muli", sans-serif;
}


