/* styles will go here */

body {
    background-color: #e4d6b4;
}

body>h1 {
    margin-top: 20px;
}

.content {
    width: 100%;
}

.page-title {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    font-family: "Playfair Display SC", sans-serif;
}

.page-subtitle {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    font-family: "Playfair Display SC", sans-serif;
    margin: -20px 0 28px 0;
}

.header-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.header-stats p {
    margin: 0 12px;
}


.entry {
    max-width: 900px;
    margin: 60px auto;
}

.controls {
    text-align: center;
}

.controls a {
    margin: 10px 4px;
}

.controls .highlight {
    background-color: #212529;
    color: white;
    box-shadow: #444 0 0 12px;
}

#main_logo {
    background-color: white;
    padding: 0 13%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#social-nav {
    display: flex;
    justify-content: space-around;
    margin: 35px 0;
    min-width: 346px;

}

#social-nav img {
    width: 50px;
    height: 50px;
}

#social-nav .fbook {
    color: black;
    max-height: 48px;
    margin-top: 2px;
    margin-left: 4px;
    width: 160px;
    padding: 1px;
    border-radius: 8px;
    border: 2px solid #990100;
    background-color: #f8efda;
    font-size: 9pt;
    line-height: 13px;
    text-decoration: none;
    font-family: "Playfair Display", sans-serif;
    font-weight: bold;
}

#social-nav .fbook img {
    height: 36px;
    width: 36px;
    margin-right: 8px;
    margin-top: 2px;
    margin-left: 4px;
}

#social-nav img:hover {
    transform: scale(1.1);
    transition-duration: 0.3s;
}

#social-nav .fbook:hover {
    transform: scale(1.05);
    transition-duration: 0.3s;
}

@media (max-width: 900px) {
    #main_logo {
        /* diplay as a stacked list, vertically */
        flex-direction: column;
        justify-content: center;
    }

    #main_logo {
        padding: 20px 0;
    }

    #social-nav {
        text-align: center;
    }
}

.nav-link.highlight {
    text-shadow: white 0 0 17px;
    color: rgba(255, 255, 255, 1.0) !important;
    text-decoration: underline;
}

.nav-link:hover {
    text-decoration: underline;
}

@media (min-width: 480px) {
    .footerlist2 {
        padding-top: 30px;
    }
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: white !important;
}

.help-cursor:hover {
    cursor: help;
}

/* Object lists & items */
section.object-list {
    margin-top: 30px;
}

section.object-list .row {
    border-bottom: 1px dotted #be9b49;
    margin: 18px 0 0 0;
    min-height: 130px;
}

.data-item {
    text-align: center;
    height: 160px;
    min-width: 160px;
    padding: 10px 0;
}

.data-item a {
    text-decoration: underline;
    color: #212529;
}

.data-item a:hover {
    text-decoration: underline;
}

.data-item a:hover img {
    background-color: rgba(41, 41, 41, 0.4);
    box-shadow: #444 0 0 12px;
}

/* End object lists & items */

/* All carousels */
.photo-credit {
    position: absolute;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    border-bottom-right-radius: 8px;
    font-size: 0.8em;
    padding: 3px;
}


/* Featured item cards */
section.featured {
    background-color: #333;
    padding: 30px 0;
    margin-bottom: 30px;
}

section.featured>div {
    margin: auto;
    width: 80%;
}

section.featured .card {
    padding: 8px;
    background-color: #eee;
    border-radius: 8px;
    min-height: 420px;
    box-shadow: 10px 5px 5px black;
    margin: 12px;
    background-image: url("../images/old_paper.0c99c318b7bf.png");
}

section.featured .photo-credit {
    position: absolute;
    top: 8px;
}

section.featured .card-text {
    min-height: 250px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.owl-prev {
    width: 30px;
    height: 80%;
    position: absolute;
    top: 10%;
    left: -30px;
    display: block !important;
    padding: 0 4px;
}

.owl-next {
    width: 30px;
    height: 80%;
    position: absolute;
    top: 10%;
    right: -36px;
    display: block !important;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: transparent !important;
}

.owl-prev i,
.owl-next i {
    opacity: 0.5;
}

.owl-prev:hover i,
.owl-next:hover i {
    opacity: 1.0;
}

/* End Featured item cards */

/* Safari compatibility */

.btn.btn.secondary {
    background-color: #6c757d;
    color: white;
    border-radius: 8px;
}

.btn.btn.secondary.highlight {
    background-color: black;
    box-shadow: #444 0 0 12px;
}

/* End Safari compatibility */