@import url('https://fonts.googleapis.com/css?family=Cardo');

/* Page formatting*/
#detail-tabs {
    margin-bottom: .5em;
}

.content-panel {
    padding-top: 1em;
    display: none;
}
.active-panel {
    display: block;
}

.entry + .entry, #bibliography > :first-child.favorite {
    border-top: 1px solid rgb(212, 212, 212);
}

/* Sidebar Controls */
#adv-search-link>a>i {
    color: rgb(165, 28, 48);
    font-size: 2em;
    float: left;
    display: inline;
    width: 1em;
}
#adv-search-text {
    text-decoration: underline;
    color: rgb(165, 28, 48);
    display: block;
    vertical-align: top;
    padding-left: 2.5em;
}
#detail-search-filters {
    padding-top: 1em;
    display: block;
}
.publication-year-link, .parent-category-link, .child-category-link {
    display: block;
    padding-left: 2em;
    padding-top: 2px;
    padding-bottom: 2px;
    text-indent: -1em;
    color: rgb(165, 28, 48);
    text-decoration: underline;
    vertical-align: top;
}
.publication-year-link:focus, .parent-category-link:focus, .child-category-link:focus {
    color: rgb(165, 28, 48);
}
#publication-year, #parent-category, #child-category {
    padding-bottom: 1em;
}
#publication-year-container, #parent-category-container, #child-category-container {
    padding-top: .25em;
}
#publication-year-container-more, #publication-year-container-less {
    color: rgb(165, 28, 48);
    text-decoration: underline;
    cursor: pointer;
}
.publication-year-link:nth-child(odd), .parent-category-link:nth-child(odd), .child-category-link:nth-child(odd) {
    background-color: rgb(226, 227, 223);
}

a.selected-category {
    background-color: rgb(165, 28, 48) !important;
    color: rgb(255, 255, 255) !important;
    font-weight: bold;
}

#remove-all-filters {
    color: rgb(45, 53, 65);
    cursor: pointer;
    padding: .25em .35em .25em .35em;
    margin: 1em 0;
    border: 2px solid rgb(45, 53, 65);
    border-radius: 8px;
    background-color: rgb(231, 230, 228);
    float: right;
    text-align: center;
    font-size: 18px;
    width: 100%;
}
.disabled {
    opacity: .5;
}



/* Pagination Controls */
.page-nav {
    margin-bottom: 1em;
    border-bottom: 1px solid rgb(212, 212, 212);
    padding-bottom: .25em;
}
/* Shared styling with Bibliography */
#count, #count-bottom {
    height: 2.25em;
    padding: 0 .5rem 0 .5rem;
    font-family: "Hoefler Text A","Hoefler Text B",serif;
    font-size: 14px;
    margin-bottom: 0;
    width: 8em;
    text-align: center;
}
.res-count {
    font-style: italic;
    min-width: 220px;
    margin-top: .25em;
}
.page-marker {
    vertical-align: text-top;
    margin-top: .25em;
    font-style: italic;
}
.res-count, .page-marker {
    font-size: 18px;
    display:inline-block;
    vertical-align: top;
}
@media (max-width: 356px) {
    .res-count, .page-marker {
        width: 100%;
    }
}
.nav-buttons {
    float: right;
}
.next-link, .prev-link {
    font-size: 1em;
    color: rgb(165, 28, 48);
    display:inline-block;
    cursor: pointer;
    padding: .25em .35em .25em .35em;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 8px;
    background: rgb(250, 250, 250) none;
}

/* Bibliography */
#bibliography {
    font-size: 16px;
    border-bottom: 1px solid rgb(212, 212, 212);
}

.entry {
    font-size: 18px;
    padding: .5em;
    overflow: auto;
    display: block;
    position: relative;
}
.entry[style='display: block;'] + .entry[style='display: block;']{
    border-top: 1px solid rgb(212, 212, 212);
}
.favorite {
    background-color: rgb(250, 250, 250);
    border-left: 1px solid rgb(212, 212, 212);
    border-right: 1px solid rgb(212, 212, 212);
    padding-left: 2em;
}
.bookmark {
    height: inherit;
    display: block;
    position: absolute;
    margin-left: -1.25em;
    top: calc(50% + .75em);
    transform: translateY(-50%);
}

.bluebook {
    padding-bottom: .5em;
}

.italics-citation {
    font-style: italic;
}
.small-caps-citation {
    font-family: "Cardo";
    font-weight: 600;
    font-variant-caps: small-caps;
}

.parent-categories, .child-categories {
    margin-bottom: .5em;
}
.parent-category-link-entry, .child-category-link-entry {
    display: inline;
    color: rgb(165, 28, 48);
    cursor: pointer;
    text-decoration: underline;
}
.link-text {
    display: inline-block;
    margin-left: 1em;
}
.link-x {
    float: right;
    height: 18px;
    width: 18px;
    margin-right: -36px;
    display: none;
}
a.selected-category>.link-x {
    display: inline-block;
}

.abstract {
    color: rgb(165, 28, 48);
    margin-top: .5em;
}
.abstract-content {
    display: none;
    padding: 0 1.5em 0 1.5em;
    width: 95%;
}
.abstract-icon, .parent-category-icon, .child-category-icon {
    cursor: pointer;
    color: rgb(165, 28, 48);
    font-size: 18px;
    font-weight: 600;
    padding: 2px;
    width: 22px;
    text-align: center;
    vertical-align: middle;
}

.link-list {
    width: calc(100% - 10em);
    display: inline-block;
}
.link-list>a {
    line-height: 18px;
    font-size: 18px;
    color: rgb(66, 66, 66) !important;
    background-image: none !important;
    vertical-align: top;
}
.link-list>a:hover {
    color: rgb(165, 28, 48) !important;
}
.link-list>a>span:hover {
    fill: rgb(165, 28, 48) !important;
}
.link-list>a>i {
    font-size: 20px;
}
.link-icon {
    position: relative;
    font-size: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.ssrn-logo {
    height: 18px;
    width: 45px;
}
.doi-logo {
    height: 19px;
    width: 20px;
}
.harvard-logo {
    height: 18px;
    width: 16px;
}
.jstor-logo {
    height: 18px;
    width: 17px;
}
.web-of-science-logo {
    height: 18px;
    width: 17px;
}

.type-icon {
    padding: 2px;
}
.type-icon-slot {
    float: right;
    text-align:right;
}

.transparent {
    opacity: 0.75;
}
.no-results {
    font-style: italic;
    text-align: center;
    padding-top: 2em;
}
.no-results>a {
    background-image: none !important;
    text-decoration: underline;
}