body {
    min-height: 100vh;
    position: relative;
    background-color: #faf0f5;
    padding-bottom: 40px;
}

@media (min-width: 576px) {
    header {
        margin-top: 50px;
    }
}

header h1 {
    font-style: italic;
}

header.page-header {
    background-color: rgba(120, 120, 220, 0.1);
    padding: 20px 8px 8px 20px;
    margin-bottom: 2px;
    border-bottom: 1px solid #C3CFDA;
    width: 100%;
}

header.page-header h1 {
    font-style: italic;
}

div.row-content {
    margin-bottom: 24px;
}

div.row-content h2 {
    font-family: 'Palatino, "Times New Roman", Times, serif';
    margin: 8px 0 0 0;
}

div.navbar-dark a:not(:hover) {
    color: white;
}

.link-box {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 6px 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

.link-box h3 {
    font-size: 1.25rem;
    font-family: 'Palatino, "Times New Roman", Times, serif';
}

.link-box ul {
    list-style-type: none;
    padding-left: 4px;
    margin-bottom: 0.5rem;
}

.link-box .btn {
    -webkit-transition: color 0.1s ease-in, background-color 0.1s ease-in, border-color 0.1s ease-in, -webkit-box-shadow 0.1s ease-in;
    transition: color 0.1s ease-in, background-color 0.1s ease-in, border-color 0.1s ease-in, -webkit-box-shadow 0.1s ease-in;
    transition: color 0.1s ease-in, background-color 0.1s ease-in, border-color 0.1s ease-in, box-shadow 0.1s ease-in;
    transition: color 0.1s ease-in, background-color 0.1s ease-in, border-color 0.1s ease-in, box-shadow 0.1s ease-in, -webkit-box-shadow 0.1s ease-in;
    white-space: normal;
    border: none;
    color: #000050;
    font-weight: 600;
    text-align: left;
}

.link-box .btn:hover {
    background-color: lightblue;
    color: black;
}

footer {
    padding: 5px;
    color: #EEEEFF;
    font-size: 1em;
    font-family: "Times New Roman", Times, serif;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

footer a {
    color: lightblue;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

a.unsplash-badge {
    background-color: black;
    color: white;
    text-decoration: none;
    padding: 3px 5px;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    border-radius: 3px;
}

.modal#lyx-guide-modal div.modal-dialog {
    max-width: 70%;
    position: fixed;
    right: 10%;
}

header div {
    background-size: contain;
}

.sidebar-container {
    height: 100vh;
}

ul.nav.quotes {
    display: block;
}

ul.nav.quotes li a {
    padding: 6px 0 6px 6px;
}

@media (max-width: 575px) {
    ul.nav.quotes li a {
        font-weight: 600;
        font-size: 0.9em;
        padding: 4px 0 4px 2px;
    }
}

ul.nav.quotes li a.nav-link.active {
    background-color: rgba(0, 0, 0, 0.05);
    color: darkblue;
    font-weight: bold;
    border-right: none;
    border-radius: 0;
}

ul.nav.quotes li a.nav-link.active:focus {
    outline: none;
}

.author-title {
    font-weight: 600;
    font-size: 1.3em;
    font-family: 'Palatino, "Times New Roman", Times, serif';
    background-color: rgba(0, 0, 0, 0.05);
    color: black;
    text-align: center;
    border-top: 2px solid white;
    margin-bottom: 2px;
    padding: 6px 0;
}

.quotes-book {
    margin-bottom: 5px;
    padding: 10px 5px;
    background-color: white;
    color: black;
    font-size: 1.1em;
    -webkit-box-shadow: -2px 0px #fdf6f6;
    box-shadow: -2px 0px #fdf6f6;
}

.quotes-book p {
    margin: 8px 0px;
}

.quotes-book .quote {
    padding: 0 8px;
}

.quotes-book div.quote:not(:last-of-type) {
    border-bottom: 2px solid #DEE2E6;
}

.quote-banner-container {
    font-style: italic;
    font-size: 1.3em;
    font-family: 'Palatino, "Times New Roman", Times, serif';
    background-color: white;
    color: black;
    text-align: center;
    border-top: 2px solid white;
    margin-bottom: 2px;
    padding: 6px 0;
    position: relative;
    margin: auto;
}

.quote-banner-container__reference {
    width: 95%;
    font-style: normal;
    font-size: 0.9em;
}

.quote-banner-container__text {
    width: 95%;
}

@media screen and (max-width: 800px) {
    .quote-banner-container {
        font-size: 1em;
        padding: 2px 0;
    }
}

@media screen and (max-width: 576px) {
    .quote-banner-container {
        background-color: inherit;
        border: none;
    }
}

@media screen and (max-width: 800px) {
    .quote-banner-container {
        font-size: 1em;
        padding: 2px 0;
        background-color: inherit;
        border: none;
    }
}

@media screen and (max-width: 576px) {
    .quote-banner-container {
        background-color: inherit;
        border: none;
        font-size: 1em;
        padding: 2px 0;
    }
}

.book-title {
    margin-top: 10px;
    font-size: 0.95em;
    font-style: italic;
}

a.book-title:hover {
    text-decoration: none;
    color: #070b05;
}

a.book-title:visited {
    color: cadetblue;
}

.sticky {
    position: fixed;
    top: 0;
    width: 23%;
}

@media (min-width: 576px) {
    .sticky {
        margin-top: 64px;
    }
}

@media (max-width: 599px) {
    #caterina-banner {
        background-image: url("./../images/caterina-beleffi-268859-unsplash-sm-800.jpg");
    }

    #caterina-autumn-banner {
        display: none;
    }

    #spencer-banner {
        display: none;
    }

    #forest-sky-banner {
        background-image: url("./../images/forest_sky_01-800.jpg");
    }

    #memphis-banner {
        display: none;
    }
}

@media (min-width: 600px) and(max-width: 800px) {
    #caterina-banner {
        background-image: url("./../images/caterina-beleffi-268859-unsplash-sm-800.jpg");
    }

    #caterina-autumn-banner {
        display: none;
    }

    #spencer-banner {
        background-image: url("./../images/spencer-watson-670049-unsplash-sm-800.jpg");
    }

    #forest-sky-banner {
        display: none;
    }

    #memphis-banner {
        display: none;
    }
}

@media (min-width: 801px) and(max-width: 1024px) {
    #caterina-banner {
        background-image: url("./../images/caterina-beleffi-268859-unsplash-sm-1024.jpg");
    }

    #caterina-autumn-banner {
        background-image: url("./../images/caterina-beleffi-8eo_5KGKAwY-unsplash-sm-1024.jpg");
    }

    #spencer-banner {
        background-image: url("./../images/spencer-watson-670049-unsplash-sm-1024.jpg");
    }

    #forest-sky-banner {
        background-image: url("./../images/forest_sky_01-1024.jpg");
    }

    #memphis-banner {
        background-image: url("./../images/memphis-banner-1024.jpg");
    }
}

@media (min-width: 1025px) {
    #caterina-banner {
        background-image: url("./../images/caterina-beleffi-268859-unsplash-sm.jpg");
    }

    #caterina-autumn-banner {
        background-image: url("./../images/caterina-beleffi-8eo_5KGKAwY-unsplash-sm.jpg");
    }

    #spencer-banner {
        background-image: url("./../images/spencer-watson-670049-unsplash-sm.jpg");
    }

    #forest-sky-banner {
        background-image: url("./../images/forest_sky_01.jpg");
    }

    #memphis-banner {
        background-image: url("./../images/memphis-banner.jpg");
    }
}

@media (max-width: 575px) {
    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        padding: 0 2px;
    }
}

@media (min-width: 576px) {
    .fixed-top-sm {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
    }
}

/*\ https://stackoverflow.com/a/45683167/
 *
 *  Restore Bootstrap 3 "hidden" utility classes.
 *
\*/
/* Breakpoint XS */
@media (max-width: 575px) {
    .hidden-xs-down, .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, .hidden-xs-up, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint SM */
@media (min-width: 576px) and(max-width: 767px) {
    .hidden-sm-down, .hidden-md-down, .hidden-lg-down, .hidden-xl-down, .hidden-xs-up, .hidden-sm-up, .hidden-unless-xs, .hidden-unless-md, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint MD */
@media (min-width: 768px) and(max-width: 991px) {
    .hidden-md-down, .hidden-lg-down, .hidden-xl-down, .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-lg, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint LG */
@media (min-width: 992px) and(max-width: 1199px) {
    .hidden-lg-down, .hidden-xl-down, .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-xl {
        display: none !important;
    }
}

/* Breakpoint XL */
@media (min-width: 1200px) {
    .hidden-xl-down, .hidden-xs-up, .hidden-sm-up, .hidden-md-up, .hidden-lg-up, .hidden-xl-up, .hidden-unless-xs, .hidden-unless-sm, .hidden-unless-md, .hidden-unless-lg {
        display: none !important;
    }
}
