/* =========================================================
   WHI WWI DATABASE
   Masthead + content width
   ========================================================= */


/* ---------- MASTHEAD ---------- */

header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Reduce WHI logo/masthead image */
header #site-title img,
header .site-title img,
#site-title img,
.site-title img {
    max-height: 125px !important;
    width: auto !important;
}


/* ---------- MAIN CONTENT ---------- */

#content {
    max-width: 1180px !important;
    width: calc(100% - 48px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ---------- MOBILE ---------- */

@media screen and (max-width: 700px) {

    header #site-title img,
    header .site-title img,
    #site-title img,
    .site-title img {
        max-height: 80px !important;
    }

    #content {
        width: calc(100% - 28px) !important;
    }
}


/* =========================================================
   WHI WWI DATABASE
   Compact vertical spacing
   ========================================================= */


/* Less space between navigation and first page block */
#content {
    padding-top: 28px !important;
}


/* Reduce Omeka's default spacing between page blocks */
#content .blocks > .block {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}


/* Prevent images/figures from adding excessive margins */
#content figure {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}


/* Tighter spacing around headings */
#content h1,
#content h2,
#content h3 {
    margin-top: 12px !important;
    margin-bottom: 14px !important;
}


/* Tighter introductory paragraph spacing */
#content p {
    margin-top: 8px;
    margin-bottom: 16px;
}


/* Reduce space before resource/item lists */
#content .resource-list,
#content .item-showcase,
#content .browse-controls {
    margin-top: 18px !important;
}


/* Individual records in lists */
#content .resource {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    padding-bottom: 18px !important;
}


/* ---------- MOBILE ---------- */

@media screen and (max-width: 700px) {

    #content {
        padding-top: 20px !important;
    }

    #content .blocks > .block {
        margin-bottom: 20px !important;
    }
}
/* =========================================================
   OMEKA S / PAPERS
   Icons for homepage Browse Preview
   ========================================================= */

.resource-list.preview
.resource-meta
> a.resource-title::before {
    content: "📁";
    display: inline-block;
    margin-right: 7px;
    font-size: 15px;
    line-height: 1;
    vertical-align: -1px;
}