@import url('https://fonts.googleapis.com/css?family=Muli');
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i');
@import url('https://fonts.googleapis.com/css?family=Montserrat:500');


/*********************************
 * TYPOGRAPHY *
 *********************************/
body {
    font-family: 'Muli', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6  {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
body {
    font-size: 15px;
}
.breadcrumb * a {
    color: #b58e5b;
    margin: 13px 0 30px;
}
a, .pagination>li>a, .pagination>li>span  {
    color: #b58e5b;
    font-weight: bold;
}
.nav a {
    font-weight: normal;
}
a:hover, a:focus, .pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus  {
    text-decoration: underline;
    color: #a17f45;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: normal;
}
.pagination>.active>a, .pagination>.active>a:hover, .pagination>.active>a:focus, .pagination>.active>span, .pagination>.active>span:hover, .pagination>.active>span:focus {
    background-color: #b58e5b;
    border-color: #b58e5b;
}
h1, h2, h3 {
    color: #115740;
    font-weight: normal;
}
h4 {
    color: #115740;
}
h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 20px;
    margin-bottom: 3px;
}
.col-sm-3 h4 {
    margin-top: 2em;
    margin-bottom: 1em;
}
.upper-record-details h4 {
    margin-top: 1.25em;
    margin-bottom: 0;
}
h1.title a {
    color: #115704;
    font-size: 1.08333em;
}
h1.title a:hover, h1.title a:focus {
    text-decoration: none;
}
.cap {
    font-size: 117%;
}
.subnote {
    margin-top: 0;
    padding-left: 0;
}
.list-unstyled li {
    padding-bottom: .5em;
}



/*********************************
 * HEADER *
 *********************************/
.header {
    background: url(images/header.jpg) top left;
    background-size: cover;
}
.header>.row {
    height: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 3.75rem;
    padding-right: 2.5rem;
    border-bottom: 0;
    width: 100%;
    padding-bottom: 0.0625rem;
}
.header .logo {
    height: auto;
}
.brand {
    color: #115740;
    text-transform: uppercase;
    margin: 55px 0;
}
.brand h1 a, .brand h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: normal;
    margin: 0;
    line-height: 1.1;
}

.brand .subtitle {
    font-family: 'Montserrat', 'Muli', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: .1rem;
    color: #ac824f;
    margin: 5px 0;
}
.brand .subtitle a {
    color: #ac824f;
}

.top_nav {
    background-color: #444;
    color: #bfbfbf;
    padding: 17px 0 10px 0;
}
.sublinks {
    padding-top: 3px;
}
.top_nav .nav>li>a {
    padding: 0 15px;
    color: #bfbfbf;
    border-right: 1px solid #bfbfbf;
    border-radius: 0;
}
.top_nav .nav>li>a:last-child {
    border-right: 0;
}
.top_nav .nav>li>a:hover, 
.top_nav .nav>li>a:focus {
    text-decoration: underline;
    color: white;
    background-color: transparent;
}
.navbar-default {
    background-color: transparent;
    border-color: transparent;
}
.navbar {
    border-radius: 0;
}
.top-bar {
    background: #115740 !important;
    border-top: 5px solid #b58e5b;
    border-bottom: 0;
    float: none !important;
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 1.0rem !important;
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #19805e;
}
.nav>li>a {
    padding-right: 30px;
    padding-left: 30px;
}
.navbar-default .navbar-toggle {
    border: transparent;
}
.navbar-default .navbar-toggle:before {
    content: "MENU";
    float: left;
    margin: -3px -30px 0 0;
    color: #fff;
    width: 108px;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #19805e;
}




/*********************************
 * MAIN CONTENT *
 *********************************/
html {
    height: 100%;
 }
 body {
    position: relative;
    margin: 0;
    padding-bottom: 340px; /* height of footer, to make it sit at bottom of short pages */
    min-height: 100%;
 }
.content {
    padding-bottom: 80px;
}
.breadcrumb {
    margin: 13px 0 20px;
    border-radius: 20px;
}
.search-results #paging {
    margin-bottom: 80px;
}
.sorter {
    margin-top: 20px;
    margin-bottom: 20px;
}




/*********************************
 * RECORD *
 *********************************/
.acc_button {
    margin-bottom: 1em;
}
.tabbing.navbar {
    margin-top: 7px;
}
.tabbing.nav-pills>li>a {
    background-color: #b58e5b;
}
.tabbing.nav-pills>li>a.active, .tabbing.nav-pills>li>a.hover {
    background-color: #7b5e37;
}
.accordion-toggle:before {
    font-weight: 900;
    content: "\f068";
    padding-right: 10px;
}
.accordion-toggle.collapsed:before {
    font-weight: 900;
    content: "\f067";
    padding-right: 10px;
}
a.accordion-toggle:hover {
    text-decoration: none;
}
.page_action {
    text-decoration: none;
    line-height: inherit;
    cursor: pointer;
    border: 1px solid #eeeeee;
    color: #115740;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}
.page_action:hover,
.page_action:focus {
    color: #19805e;
    background-color: #fff;
    text-decoration: underline;
}
/* media display for digital objects */
.images .record-type-badge {
    padding: 1em;
    font-family: 'Muli', Arial, Helvetica, sans-serif;
}
.images .record-type-badge.digital_object {
    color: #b58e5b;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.images .record-type-badge.btn-default:hover {
    text-decoration: underline;
    background-color: white;
    border-color: #adadad;
}
.result_context {
    display: none;
}
.record-type-badge .fa {
    margin-bottom: 10px;
}
/* filtered search search box */
.searchstatement {
    background-color: #eeeeee;
    padding: 10px 10px 20px;
}
.filters {
    margin-bottom: 2em;
}
.filters ul {
    padding: 0;
}


/*********************************
 * LARGE TREE *
 *********************************/
/* make sidebar not sit in a scrolling container. most users found this frustrating */
.infinite-tree-view {
    height: auto;
}
.largetree-container tr.current td {
    background-color: #b58e5b;
}
.largetree-container tr.current td a {
    color: #fff;
}
.largetree-container tr.current {
    outline: 1px solid #f1f1f1;
}
.col-sm-3 h3, .sidebar h3 {
    background-color: #115740;
    color: white;
    padding: 1em;
    font-weight: normal;
    margin: 0;
    font-size: 1.125rem;
}
.sidebar .search {
    margin-bottom: 1em;
}
.sidebar .search form {
    padding: 15px;
    border: 1px solid #ccc;
}
.sidebar .search input[type="submit"] {
    display: block;
}
.sidebar .form-inline .inline-label:first-of-type { /* force years label to break */
    display: block;
}

/*********************************
 * FORMS *
 *********************************/
 .filter_more {
    padding: 15px;
    border: 1px solid #ccc;
}

#sort {
    width: 128px;
    height: 34px;
    font-size: 14px;
    padding-right: 11px;
}
.search_row {
    border-top: 1px dotted #ccc;
    padding-top: 16px;
}
.btn-primary {
    color: #fff;
    border-color: transparent;
    background-color: #19805E;
}
.btn-primary:hover {
    color: #fff;
    border-color: transparent;
    background-color: #115740;
}
.more-facets .btn {
    padding-left: 10px;
    color: #19805e;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 2em;
}
.fa-minus {
    color: #cc3d21;
}
.fa-plus {
    color: #19805e;
}

.recordrow {
    padding: 1rem;
    border: 1px solid #cccccc;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}





/*********************************
 * RECORD TYPES *
 *********************************/
.record-type-badge.resource {
    color: #008091;
    border-color: #ccc;
}
.record-type-badge.resource .fa {
    color: #008091;
    font-weight: normal;
}

.record-type-badge.archival_object {
    color: #40851e;
    border-color: #ccc;
}
.record-type-badge.archival_object .fa {
    color: #40851e;
    font-weight: normal;
}

.record-type-badge.agent {
    color: #1E856D;
    border-color: #ccc;
}
.record-type-badge.agent .fa {
    color: #1E856D;
    font-weight: normal;
}

.record-type-badge.accession {
    color: #008091;
    border-color: #ccc;
}
.record-type-badge.accession .fa {
    color: #008091;
    font-weight: normal;
}

.record-type-badge.classification {
    color: #40851e;
    border-color: #ccc;
}
.record-type-badge.classification .fa {
    color: #40851e;
    font-weight: normal;
}

.record-type-badge.digital_object {
    color: #008091;
    border-color: #ccc;
}
.record-type-badge.digital_object .fa {
    color: #008091;
    font-weight: normal;
}

.record-type-badge.repository {
    color: #19805e;
    border-color: #ccc;
}
.record-type-badge.repository .fa {
    color: #19805e;
    font-weight: normal;
}

.record-type-badge.subject {
    color: #40851e;
    border-color: #ccc;
}
.record-type-badge.subject .fa {
    color: #40851e;
    font-weight: normal;
}



/*********************************
 * FOOTER *
 *********************************/
.footer {
    background: #115740;
    color: white;
    padding-top: 40px;
    margin-top: 40px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 380px;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: white;
}
.footer h4 {
    font-size: 1em;
    font-weight: bold;
    font-family: 'Muli', Arial, Helvetica, sans-serif;
    letter-spacing: .1em;
    margin-bottom: 1em;
    line-height: 1.3;
}
.footer a {
    color: #D3BD97;
}
.footer .btn a {
    color: white;
}
.footer-head {
    padding: 40px 0;
}
.footer-text {
    padding-bottom: 40px;
}
.footer-bottom {
    background: black;
    min-height: 50px;
    padding: 20px 0;
}
.copyright {
    background: #f2f2f2;
    color: #595959;
    height: 40px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.copyright p {
    margin: 0;
}
.footer .logo {
    padding-right: 50px;
}
.footer .icons a {
    color: white;
}
.btn-social-icon {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    margin-bottom: 4px;
    border-radius: 36px;
    width: 31px;
    height: 31px;
}
.btn-social-icon.btn-sm > :first-child {
    line-height: 32px;
    font-size: 1.4em;
}
.btn-social-icon>:first-child {
    width: 100%!important;
    text-align: center;
    border: none;
}
.btn-social-icon>:first-child {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}
.btn-facebook {
    background-color: #3b5998;
}
.btn-twitter {
    background-color: #55acee;
}
.btn-blog {
    background-color: #19850e;
}




/*********************************
 * RESPONSIVE STUFF *
 *********************************/

 @media (max-width: 767px) {
     .header .logo {
        float: none !important;
        text-align: center;
     }
    .sublinks {
         width: 100%;
     }
    .sublinks .nav-pills {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }
    .sublinks .nav-pills>li {
        display: inline-block;
        float: none;
    }
    .brand {
        margin: 40px 0;
    }
    .col-sm-3.pull-right {
        float: none !important;
    }
    body {
        padding-bottom: 640px;
    }
    .footer {
        height: 640px;
    }
    .footer .icons {
        padding-top: 26px;
        border-top: 1px solid #3A705E;
    }
    .cypher {
        display: none;
    }
}

@media (min-width: 768px) {
    .form-inline .form-group {
        margin-bottom: 15px;
    }
    /* attempt to make sorter form not wrap to 2 lines */
    .sorter {
        width: 37%;
    }
    .col-sm-9 .col-sm-9 {
        width: 63% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .nav>li>a {
        padding-right: 18px;
        padding-left: 18px;
    }
}
