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

* a:hover,
* a:active,
* a:focus,
* .btn-link:hover,
* .btn-link:active,
* .btn-link:focus {
    color: #164d6d;
}

ul {
    list-style-type: none;
}

/** Very top navbar */

.navbar.navbar-inverse {
    padding: 0;
    font-size: small;
}

/** Main navbar (logo + menu) */

nav.customer {
    padding: 0;
    background-color: #ebece6;
}

nav.customer a.navbar-brand {
    padding: 0;
    margin-right: 100px;
}

nav.customer .nav-item {
    height: 86px;
    text-align: center;
    text-transform: uppercase;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 22px;
    font-weight: bold;
    border-left: solid 1px #cfcfca;
}

nav.customer .navbar-nav .nav-link {
    color: black;
}

nav.customer .nav-item:last-child {
    border-right: solid 1px #cfcfca;
}

nav.customer .customer-study {
    border-bottom: solid 4px #f5990c;
}
nav.customer .customer-research {
    border-bottom: solid 4px #eb1f00;
}
nav.customer .customer-community {
    border-bottom: solid 4px #a0a0a0;
}

.navbar-toggler {
    background-color: #868e96;
}

.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,1)
}

/** Search form */
.container form {
    z-index: 2;
}

.jumbotron {
    margin-bottom: 0;
    background-color: white;
    color: white;
    display: block;
    position: relative;
    background-color: rgba(0,0,0,0);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;

}

/** Auto-Complete */

@media (max-width: 768px) {
    .tt-menu {
        display: none;
    }    
}

.jumbotron h1 {
    margin-bottom: 3rem;
}

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

.jumbotron .input-group .input-group-addon:first-child {
    padding-left: 0;
}
.jumbotron .input-group .input-group-addon:last-child {
    padding-right: 0;
}

.jumbotron input,
.jumbotron input:focus,
.jumbotron .input-group-addon {
    box-shadow: none;
    border: none;
    background-color: transparent;
    color: #1e1e1e;
    font-size: xx-large;
}

@media (max-width: 550px) {
    .input-group-addon-right {
        display: none;
    }
}

.jumbotron button[type=submit] {
    background-color: #1e1e1e;
    border: none;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.jumbotron .btn-link,
.search-history .btn-link,
.search-cart .btn-link {
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org…%23164d6d%22%20opacity%3D%220.6%22%2F%3E%0A%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A);
    background-repeat: repeat-x;
    background-size: 0.0625rem 0.0625rem;
    background-position: 0 90%;
    color: #164d6d;
    border: none;
    font-size: smaller;
}

.jumbotron .list-inline-item {
    margin-left: 1rem;
}

.jumbotron .list-inline-item a {
    color: #1e1e1e;
}

.jumbotron small.float-left {
    padding-top: .25rem;
    color: #1e1e1e;
    font-style: italic;
    font-size: x-small;
}

.jumbotron a.disabled {
    text-decoration: none;
    cursor: default;
    color: rgba(0, 0, 0, 0.8);
}

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

.jumbotron button[type=submit]:hover {
    background-color: #164d6d;
}

.jumbotron .input-group, .header--nav {
    opacity: 1;
    z-index: 3;
    background-color: white;
    border: 0.0625rem solid #c8c8c8;
    padding-left: 1rem;
    padding-right: 1rem;
}

.jumbotron .under-search-row, .header--nav {
    opacity: 1;
    z-index: 2;
    position: relative;
}
/** Tabs */

nav.container-fluid {
    background-color: rbga(0,0,0,0);
    border-bottom: 0.0625rem solid #c8c8c8;
}

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

ul.nav-tabs li.nav-item {
    color: white;
    background-color: rgba(0, 0, 0, 0.1);
    margin-left: 2px;
    margin-right: 2px;
    min-width: 173px; 
}

ul.nav-tabs li.nav-item a {
    color: white;
    border-bottom: none;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    color: #164d6d;
}

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-bottom: none;
    border-color: rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, .1);
    border-radius: 0;
    margin-bottom: 0px;
}

ul.nav-tabs li.nav-item a.active {
    background-color: #d7d8d2;
    border: 0.0625rem solid #c8c8c8;
    border-bottom: none;
    background-color: #f8f8f8;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}

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

/** Search results */

.content .search-results a,
.content .search-results a:hover{
    background-image: none;
}

section.search-results,
section.search-history,
section.search-cart {
    background-color: #f8f8f8;
    padding-top: 1rem;
}

.locked div.card div.card-header {
    background-color: #f1f1f1;
}

.locked div.card-body {
    background-color: #f1f1f1;
    filter: blur(5px);
}

.locked a.text-warning {
    color: #164d6d!important;
}

.locked a.text-warning:hover {
    text-decoration: underline!important;
    color: #164d6d!important;
}

.search-results ol .card,
.search-results ul .card {
    margin-bottom: 1rem;
}

/** Facets */

.search-facets {
    width: 100%;
}

.search-facets .search-facet {
    margin-bottom: 5px;
}

.search-facets .people-facet {
    margin-bottom: 5px;
    padding: 3px;
}

.search-facets .card.search-refine {
    border-bottom: none;
}
.search-facets .card-header {
    background-color: rgba(0, 0, 0, 0.6);
   color: white;
}
.search-facets h3 {
    font-size: initial;
    margin-bottom: 0;
}

.search-results .search-facet h4 {
    color: #164d6d;
    font-size: medium;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: dotted 1px #eeefea;
}

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

ol.list-unstyled {
    padding: 0 0 0 0rem;
}

div.card-body ul.list-unstyled li a {
    display: inline-block;
    max-width: 78%; /* max width that can be allowed for a facet with 6 digit count */
}

/** Right sidebar facet **/

/****************** Sidebar Facet Spacing - ELIMINATED TO TEST NEWS SIDEBAR 

.people-facet {
  padding: 2px;
}

.card-block {
  padding: 10px;
}

*****************/

/** Results */

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

.search-results .search-result .card-header,
.search-results .card-footer {
    /*background-color: #eeefea;*/
    background-color: white;
}

.search-results .search-result h4,
.search-cart .flb-cart-box-item h4 {
    margin-top: 0rem;
}

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

.search-results .card-text.search-metadata {
    margin-top: .5rem;
}

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

.search-results .row.search-controls,
.search-results .row.search-counts,
.search-results .row.search-spelling {
    margin-bottom: 1rem;
}

.search-results .row.search-counts {
    padding-top: .25rem;
}

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

.search-results .search-last-visited {
    padding-left: 1rem;
}

/** Results - Courses */

.search-result-course .row {
    margin-top: 1rem;
}

.search-result-course .row h5 {
    color: #164d6d;
}

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



/** Results - News */

@media (max-width: 991px) {
    .aside-news {
        display: none;
    }    
}

.card.news-facet {
    border-radius: 0px;
    border: none;
    color: #3f444a;
}

.card.news-facet:hover {
    color: #788DC2;
}

.news {
    border-top: 3px solid #d8d8d8;
    margin:.75rem .5rem;
}

.news:hover {
   border-color: #788DC2;
}

h4.news-title {
    padding-top: .75rem;
    display: inline-block;
    width: 78%;
    padding-left: .5rem;
    font-size: 1.25rem;
}

h4.news-title a {
    font-size: 1rem;
    font-weight: normal;
}

.news-rank {
    font-size: 3rem;
    float: left;
}

/** Results - Video */

.search-result-video h4 a {
    color: #164d6d;
}

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

.search-result-video .card-img {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

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

.search-result-video .card-img-overlay .fa-play-circle-o {
    top: 30%;
    left: 38%;
}

.search-result-video .card-img-overlay .fa-play-circle-o,
.search-result-video .card-img-overlay .badge {
    position: absolute;
    color: rgba(255, 255, 255, .9);
}

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

/** Results - Events */

@media (min-width: 992px) {
    .mobile-date{
        display:none;    
    }
}

@media (max-width: 991px) {
    .search-result-event .col-md-2 {
        display: none;
    }
}

.search-result-event .search-event-date {
    width: 100%;
    border: solid 2px #164d6d;
    max-width: 5rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: .5rem;
}

.search-result-event .search-event-date-month {
    background-color: #164d6d;
    color: white;
    font-size: x-large;
    font-weight: bold;
}

.search-result-event .search-event-date-day {
    font-size: xx-large;
    font-weight: bold;
    height: 4rem;
    padding-top: .5rem;
}

/** Results - Twitter Cards */

.search-result-twitter-tweet {
    min-height: 4.5rem;
    max-height: 4.5rem;
    display: inline-block;
}

/** Contextual Navigation */

.search-contextual-navigation {
    margin-bottom: 1rem;
}

.search-contextual-navigation h3 {
    color: #164d6d;
}

.search-contextual-navigation ul {
    margin-left: 1rem;
}

/** Best Bets */
.alert-warning {
    background-color: #2378a9; 
    border-color: #2378a9;
}

.alert-warning a, 
.text-warning {
    color: #fff!important;
}

.alert-warning a:hover
.alert-warning a:focus,
a.text-warning:hover,
a.text-warning:focus {
    color: #fff7db!important;    
}


/** Curator */

.search-exhibit {
    margin-bottom: 1rem;
}

/** Open Day Exhibit */

.search-exhibit.open-day {
    color: white;
}

.search-exhibit.open-day.card {
    border: none;
}

.search-exhibit.open-day .card-header {
    border-bottom: none;
}

.search-exhibit.open-day .card-body {
    background-color: #868e96;
}

.search-exhibit.open-day .card-header a {
    font-size: x-large;
    font-weight: bold;
    color: white;
    border-bottom: solid 4px #164d6d;
}

.search-exhibit.open-day .btn-primary {
    background-color: #164d6d;
    border: none;
    margin-top: 1rem;
}

.search-exhibit.open-day .card-block {
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 0;
    font-size: x-large;
    font-weight: bold;
}

.search-exhibit.open-day .card-block div {
    width: 50%;
    padding-top: .5rem;
    padding-bottom: 1rem;
}

.search-exhibit.open-day small {
    color: #d7d8d2;
    font-size: medium;
}

/** Campus Life Exhibit */

.search-exhibit.campus-life .card-header {
    display: none;
}

.search-exhibit.campus-life .card-block {
    padding: 0;
}

.search-exhibit.campus-life .card-block a {
    color: white;
    text-shadow: 2px 2px #333;
    font-size: x-large;
    font-weight: bold;
}

/** Search history */

.search-history .row {
    margin-top: 1rem;
    padding-bottom: 1rem;
}

/** Shortlist */

.search-cart .row {
    margin-top: 1rem;
    padding-bottom: 1rem;   
}

/** Paging */

a.page-link,
a.page-link:hover,
a.page-link:active,
a.page-link:focus {
    color: #164d6d;
}

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

.fa-search:before {
    content: "\f002";
    color: #1e1e1e;
}

/** Footer **/

footer a{
    color: #c8c8c8;
}

footer.customer {
    font-size: small;
    color: rgba(255, 255, 255, 0.5);
    padding: 1rem;
}

footer.customer a {
    color: rgba(255, 255, 255, 0.5);
}

footer.customer h1 {
    font-size: medium;
}

footer.customer ul,
footer.customer p {
    margin-left: 1rem;
}

footer.customer ul.social li {
    margin-left: 1rem;
    margin-right: 1rem;
}
