body {
    font-family: "Roboto Condensed", sans-serif;
}

.page-title,
h1, h2, h3, h4, h5, h6 {
    font-family: "EB Garamond", serif;
}

h1, h2 {
    margin-top: 0;
    color: #494949;
}

h1 small {
    color: #999;
    white-space: nowrap;
}

dl {
    margin: 0;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 250px;
    }

    .dl-horizontal dd {
        margin-left: 270px;
    }

    dl dd {
        margin-left: 20px;
    }
}

.navbar-default .navbar-text.page-title {
    position: absolute;
    left: 50%;
    font-weight: bold;
    font-size: 1.5em;
    margin: 8px 0 0 -110px;
    top: 0;
    text-align: center;
    color: #9c0000;
}

/* Nav tabs */
.tabs {
    border: 1px solid #ededed;
    background-color: #fff;
    margin: 0 0 20px;
    color: #6a6a6a;
}

.tabs .btn-group-vertical {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}

.tabs .btn-group-vertical .btn:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.tabs .btn-group-vertical .btn:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.nav-tabs {
    font-size: 12px;
}

.nav-tabs > li > p {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin: 0;
    line-height: 1.42857143;
}

.nav-tabs > li > a {
    color: #474747;
    font-weight: bold;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    color: #9c0000;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #474747;
    background-color: #fff;
    border-color: #fff;
    border-style: solid;
    border-width: 0 1px;
    margin-top: 1px;
}

.nav-tabs > li.active:before {
    position: absolute;
    content: "";
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 99;
    -webkit-transition: height .3s ease;
    -o-transition: height .3s ease;
    transition: height .3s ease;
    background: #9c0000;
}

/* Tab content */
.tab-content {
    padding: 10px;
}

.photo {
    height: 750px;
}

.photo img {
    transform: translate3d(0, 0, 0);
    max-width: 100%;
    max-height: 750px;
}

/*Search*/
.search-results {
    position: relative;
}

.search-item {
    border: 1px solid #ededed;
    background-color: #fff;
    margin: 0 0 20px;
    color: #6a6a6a;
    padding: 10px;
}

.search-item:hover {
    border-color: #9c0000;
}

.search-item a {
    color: #6a6a6a;
}

.search-item a:hover,
.search-item a:focus {
    text-decoration: none;
}

.search-item .col-sm-2 {
    padding: 15px 0 0;
}

.navbar-static-top {
    border-width: 0 0 2px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 50px;
}

.footer {
    font-size: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    border-color: #ededed;
    border-style: solid;
    border-width: 2px 0 0;
    background-color: #fff;
    line-height: 50px;
}

.navbar-static-top {
    z-index: 109;
}

.navbar-static-top a {
    font-weight: 600;
}

.search-box {
    position: absolute;
    background-color: #fff;
    border-bottom: 2px solid #ededed;
    padding: 15px 0 5px;
    top: -46px;
    z-index: 10;
    width: 100%;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

body:before {
    content: " ";
    display: block;
    height: 100%;
    width: 100%;
    opacity: 0;
    background-color: #fff;
    position: absolute;
    z-index: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

body.blocked:before {
    opacity: .75;
    z-index: 105;
}

.search-box.visible {
    top: 50px;
    z-index: 110;
}

/* Modal */
.modal {
    position: relative;
    border: 1px solid #ededed;
    background-color: #fff;
    margin: 0 0 20px;
    color: #6a6a6a;
}

.modal-header {
    border-bottom: 1px solid #ededed;
}

.modal-header h1 {
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 15px;
    margin: 0;
    font-weight: bold;
    display: inline-block;
}

.modal-header h1:before {
    position: absolute;
    content: "";
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 99;
    -webkit-transition: height .3s ease;
    -o-transition: height .3s ease;
    transition: height .3s ease;
    background: #9c0000;
}

.modal-content {
    padding: 10px;
}

.modal-content p:last-child {
    margin: 0;
}

/*Home*/
.home-content {
    position: relative;
    border: 1px solid #ededed;
    background-color: #fff;
    margin: 0 0 20px;
    color: #6a6a6a;
    padding: 10px;
}

.home h1 {
    font-size: 42px;
    margin: 30px 10px 30px;
}

.home-content {
    vertical-align: middle;
}

.home-content ul {
    padding: 20px 0 0;
}

.home .call-to-action {
    margin: 40px 0;
}

.call-to-action .btn {
    width: 30%;
    color: #9c0000;
    font-weight: bold;
    font-size: 24px;
}

.home .list-header {
    color: #9c0000;
}

.divider {
    margin: 10px 0;
}

.home .cover {
    height: 350px;
}

.home .cover img {
    max-height: 350px;
}

.home .logo {
    height: 200px;
    text-align: center;
    line-height: 200px;
}

.home .logo img {
    max-height: 200px;
    max-width: 100%;
}

.home .funding {
    margin: 40px 0 0;
}

.thumbnails {
    box-sizing: border-box;
    list-style: none;
    overflow: auto;
    white-space: nowrap;
}

.thumbnails li {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px 0 0;
    max-height: 210px;
    max-width: 210px;
    position: relative;
}

.thumbnails li:last-child {
    margin: 0;
}

.thumbnails .img-thumbnail img {
    height: 200px;
    width: auto;
    opacity: 0.6;
}

.thumbnails li:hover .img-thumbnail {
    border-color: #6d6d6d;
}

.thumbnails li.active .img-thumbnail {
    border-color: #9c0000;
}

.thumbnails li.active .img-thumbnail img,
.thumbnails li:hover .img-thumbnail img {
    opacity: 1;
}

.thumbnails li.active .thumbnails__page-number {
    background-color: #9c0000;
}

.thumbnails__page-number {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    padding: .3rem .5rem;
    background: #444;
    color: #fff;
    z-index: 100;
}

.key-words .list-unstyled,
.key-words .modal-content {
    overflow: hidden;
}

.key-words .modal-content > .list-unstyled > li {
    margin: 0 0 2em;
}

.key-words .modal-content > .list-unstyled > li li {
    float: left;
    width: 33%;
    margin: 0 0 0.5em;
}

.key-words .list-header {
    color: #9c0000;
}

.image__left {
    float: left;
    margin: 0 1em 0 0;
}

.page__toggle {
    position: absolute;
    top: 40%;
    font-size: 5em;
    color: #999;
}

.page__prev {
    left: 0%;
}

.page__next {
    right: 0%;
}

a span {
    color: #494949;
}

/* Large */
.navigation {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-flow: row wrap;
    justify-content: flex-end;
}

.navigation__item {
    line-height: 50px;
    margin-right: 1rem;
}

.navigation__item:last-child {
    margin-right: 0;
}

.navigation__divider {
    display: none;
}

/* Medium screens */
@media all and (max-width: 800px) {
    .navigation {
        justify-content: space-around;
    }
}

.adjust {
    margin-top: 1.5rem;
}

.adjust__value {
    float: right;
}