body {
    font-family: 'Open Sans', sans-serif !important;
    background: #F7F7F7;
}

* a,
.btn-link {
    color: black;
}

* a:hover,
* a:active,
* a:focus,
* .btn-link:hover,
* .btn-link:active,
* .btn-link:focus {
    color: #F9423A;
    transition: all 0.15s ease-out;
}

/** Search form */

.jumbotron {
    background: #fff 0% 40%;
    background-size: cover;
    color: #242D3D;
    display: flex;
}

.jumbotron .container {
    display: flex;
    align-items: center;
}

.jumbotron .container form {
    width: 100%;
}

.jumbotron h2 {
    display: none;
}

@media (max-width: 768px) {
    .jumbotron {
        padding-top: .5rem;
        padding-bottom: .5rem;
        min-height: 180px;
    }
}

.jumbotron .input-group {
    border-bottom: solid 1px #242D3D;
}

.jumbotron input,
.jumbotron input:focus,
.jumbotron .input-group-text {
    box-shadow: none;
    border: none;
    background-color: transparent;
    color: #242D3D;
    font-size: xx-large;
    font-family: 'Open Sans';
    font-weight: 300;
}

.jumbotron input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.jumbotron button {
    background-color: #242D3D;
    border: none;
}

.jumbotron .btn-primary:hover {
    background-color: #F9423A;
    border-color: #db3c34;
}

.jumbotron .btn-link {
    border: none;
    background-color: transparent;
}

.jumbotron .btn-link:hover {
    cursor: pointer;
}

.jumbotron .btn-link:hover:disabled {
    cursor: initial;
    color: #6c757d;
    text-decoration: none;
}

.jumbotron .list-inline-item a {
    color: #242D3D;
}

.jumbotron small.float-left {
    color: #242D3D;
    font-style: italic;
    font-size: x-small;
}

.jumbotron a.disabled {
    text-decoration: none;
    cursor: default;
    color: #333;
}

.jumbotron a.disabled,
.jumbotron a.disabled:hover,
.jumbotron a.disabled:active,
.jumbotron a.disabled:focus {
    text-decoration: none;
}

@media (max-width: 768px) {
    .jumbotron .under-form-content {
        font-size: 75%;
    }
}

/** Tabs */

nav.tabs {
    background: #fff;
}

nav.tabs .row {
    margin: auto;
}

ul.nav-tabs {
    width: 100%;
    border-bottom: none;
}

ul.nav-tabs li.nav-item {
    border-bottom: 1px solid #F7F7F7;
}

ul.nav-tabs li.nav-item a {
    color: white;
    border: solid 1px rgba(36, 45, 61, 0.7);
    border-bottom: none;
    background-color: rgba(36, 45, 61, 0.5);
    font-weight: 600;
    font-size: 0.95em;
    padding: 0.45em;
}

@media (max-width: 992px) {
    ul.nav-tabs li.nav-item a {
        font-size: 0.9em;
    }

    nav.tabs {
        margin-top: 1em;
    }
}

section .btn-light {
    background: #fff;
}

ul.nav-tabs li.nav-item .search-facet-count {
    font-weight: initial;
}

ul.nav-tabs li.nav-item a:hover,
ul.nav-tabs li.nav-item a:active,
ul.nav-tabs li.nav-item a:focus {
    border-color: rgba(36, 45, 61, 1);
    background-color: rgba(36, 45, 61, 1);
}

ul.nav-tabs li.nav-item a.disabled {
    color: #999;
}

ul.nav-tabs li.nav-item a.active {
    border-color: rgba(0, 0, 0, .125);
    background-color: #F7F7F7;
}

@media (max-width: 992px) {

    /* Stack the tabs on small screens */
    ul.nav-tabs,
    li.nav-item {
        display: inline-block;
        width: auto;
        margin-bottom: 0.75em !important;
    }

    ul.nav-tabs li.nav-item a {
        color: #242D3D;
        border: 1px solid #dee2e6;
        background: #fff;
        border-radius: 0.25em;
    }

    ul.nav-tabs li.nav-item a.active,
    ul.nav-tabs li.nav-item a:hover {
        color: #fff;
        border: 1px solid #242D3D;
        background: #242D3Dff;
        border-radius: 0.25em;
    }
}

/** Search results */

section.search-results,
section.search-history,
section.search-cart {
    background-color: #F7F7F7;
}

section.search-results .container,
section.search-history .container,
section.search-cart .container {
    padding-top: 3rem;
}

@media (max-width: 992px) {

    section.search-results .container,
    section.search-history .container,
    section.search-cart .container {
        padding-top: 0rem;
    }

    .navbar-toggler.mb-3 {
        background: #242D3D;
        padding: 0.75rem 1rem 0.5em;
        color: #fff;
    }

    .navbar-toggler.mb-3 .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }

}

@media (max-width: 768px) {

    /* Hide sort / limit controls on small screens */
    .search-results .dropdown {
        display: none;
    }
}

/** Cart */

.search-cart .btn-link {
    border: none;
}

.search-cart .btn-link:hover {
    cursor: pointer;
}

.search-cart .btn-clear {
    margin-left: 1rem;
}

/** History */

.search-history .btn-link {
    border: none;
}

.search-history .btn-link:hover {
    cursor: pointer;
}

.session-history-link .session-history-show {
    background: none;
    cursor: pointer;
}

.session-history-link .session-history-show:hover {
    text-decoration: underline;
}

/** Facets */

.card.search-facet {
    border-radius: 0px;
    margin-top: -1px;
}

.card.search-facet:last-child {
    border-radius: 0px 0px 0.25rem 0.25rem;
    margin-top: -1px;
}

.search-facets .card.search-refine {
    border-bottom: none;
}

.search-facets h3 {
    font-size: initial;
}

.search-results .search-facet h4 {
    color: #F9423A;
    font-size: medium;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #eeefea;
    padding-bottom: 0.5rem;
    ;
}

.search-facets .search-facet li {
    clear: right;
}

.search-facets .badge-default {
    color: #636c72;
    /* == text-muted */
    background-color: #eeefea;
}

.bg-dark {
    background: #242D3D !important;
}

/** Results */

.search-results .search-tier h3 {
    font-size: x-large;
}

.search-results .card-header,
.search-results .card-footer {
    background-color: #DDDDDD;
}

.search-results .card-text img {
    max-height: 100px;
    max-width: 200px;
}

.search-results .card-footer strong:not(:first-child) {
    margin-left: 1rem;
}

.search-results .search-spelling {
    font-size: x-large;
}

/** Results - Courses */

.search-result-course .row h5 {
    color: #242D3D;
}

.search-result-course a.border-secondary {
    border-color: #ccc !important;
}

/** Results - People */

.search-result-people h4 a {
    color: #242D3D;
}

@media (max-width: 768px) {
    .search-result-people img {
        margin-top: 1rem;
        width: 25%;
    }
}

.search-result-people .fa-user {
    font-size: 600%;
    color: #d7d8d2;
}

/** Results - Video */

.search-result-video h4 a {
    color: #242D3D;
}

.search-result-video .col-md-3 a {
    position: relative;
    display: block;
}

.search-result-video .card-img-overlay .badge {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
}

.search-result-video .card-img-overlay .fa-play-circle {
    top: 30%;
    left: 38%;
    position: absolute;
    color: rgba(255, 255, 255, .75);
}

.search-result-video a:hover .card-img-overlay .fa-play-circle {
    color: white;
}

/** Results - Events */

.search-result-event .search-event-date {
    width: 100%;
    border: solid 2px #242D3D;
    max-width: 5rem;
}

.search-result-event .search-event-date-month {
    background-color: #242D3D;
    color: white;
    font-size: x-large;
    font-weight: 600;
}

.search-result-event .search-event-date-day {
    font-size: xx-large;
    font-weight: 600;
    height: 4rem;
}

/** Results - Twitter Cards */

.search-result-twitter-tweet {
    min-height: 4.5rem;
    max-height: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/** Contextual Navigation */

.search-contextual-navigation h3 {
    color: #242D3D;
}

/** Curator */

blockquote.search-exhibit {
    border-left: solid .25rem #eeefea;
}

/** Paging */

a.page-link,
a.page-link:hover,
a.page-link:active,
a.page-link:focus {
    color: #242D3D;
}

li.page-item.active a.page-link {
    background-color: #242D3D;
    border: solid 1px #242D3D;
}

.pagination-lg .page-item:last-child .page-link,
.pagination-lg .page-item:first-child .page-link {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pagination-lg .page-link {
        padding: .5rem .75rem;
        font-size: 1.25rem;
    }
}

/** Deferred images */
img.deferred {
    display: none;
}

/** Additional Utility */
.rounded-pill {
    border-radius: 2rem;
}

.rounded-pill-right {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.rounded-pill-left {
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.text-warning {
    color: #ff4107 !important;
}
