/*=====Header=====*/

/*Adjusts div containing logo to fit logo on large screens*/
@media screen and (min-width: 1025px) {.header-logo.ng-isolate-scope {
    margin-top: -18px;
    height: 165px;
    padding-top: 60px;
    }
}

/*Full logo with library name on large screens*/
@media screen and (min-width: 1025px) {.logo {
    margin: 0 auto;
    max-height: 100px !important;
    content: url(https://libapps.s3.amazonaws.com/accounts/207907/images/YCP_Schmidt_Library_Green-and-Black-Stacked__624x200_.png);
}
}

/*Truncated horizontal logo on medium screens*/
@media screen and (max-width: 1024px) and (min-width: 484px) {.logo {
    margin: 0 auto;
    max-height: 60px !important;
    content: url(https://d2jv02qf7xgjwx.cloudfront.net/accounts/207907/images/YCP_Schmidt_Library_Green-and-White-Horizontal__624x102_.png);
	}
}

/*Small white shield logo on small screens*/
@media screen and (max-width: 483px) {.header-logo.ng-isolate-scope {
    content: url(https://d2jv02qf7xgjwx.cloudfront.net/accounts/207907/images/YCP_Shield_White.png);
    max-height: 26px !important;
    }
}

.header-springshare { /*Hides empty springshare box*/
    display: none;
}



/*.header-logo.ng-isolate-scope { Shifts custom logo space down to avoid overlap with research assisstant
	margin-top: 36px;
}

@media screen and (max-width: 1024px) { removes shift for smaller screens so it doesn't overlap with search bar
    .header-logo.ng-isolate-scope {
        margin-top: unset;
    }
}

@media screen and (max-width: 828px) { hides logo on extra small screens
    .header-logo.ng-isolate-scope {
        display: none;
    }
}



#content > div.search > div.header > div.siteHeader.customHeader > div.header-logo.ng-isolate-scope > a > img{ Resize Logo
    max-height: 97px !important;
    margin: -36px auto !important;
}*/

.customAuthBanner { /*authbanner color*/
    background-color: #0b2027!important;
}

button.btn.btn-default.searchBtn.customHeaderButtonBackground { /*Search Button Background Color*/
    background-color: #008000 !important;
}

/*img.img-responsive.logo { *sets the logo image*
    content: url(https://libapps.s3.amazonaws.com/accounts/207907/images/YCP_Schmidt_Library_Green-and-Black-Stacked__624x200_.png);
}

@media screen and (max-width: 1024px) { *alternate logo image for smaller screens*
    img.img-responsive.logo {
        content: url(https://libapps.s3.amazonaws.com/accounts/207907/images/YCP_Schmidt_Library_Green-and-White-Horizontal__624x102_.png);
    }
}*/

/*====================Left Filters Panel====================*/
.uxf-icon.uxf-xl.uxf-left-open { /*open-close toggle*/
	color: gold;
}

.clearRefinementsContainer { /*container for selected filter buttons*/
    background-color: #254D32!important;
}

.clearRefinementsContainer .clearRefinementsContainerHeader .summonBtn {
    background-color: #b40029 !important;
}

.clearRefinementsContainer button span.ng-binding { /*Buttons to clear individual filters*/
    /*color: #008000!important;*/
}

i.uxf-icon.uxf-close.uxf-s { /*"x" beside Buttons to clear individual filters*/
    /*color: #008000!important;*/
}

.clearRefinementsContainer .clearRefinementsContainerHeader h3 .uxf-check { /*Checkbox in selected filters box*/
    color: goldenrod !important;
}

.facetsMenuButtonContainer { /*left caret to open/close filter panel*/
    background-color: #0b2027!important;
}

body .refinePane, .searchView.row { /*background color for left panel*/
    background: Whitesmoke !important;
}

#main > div > div.refinePane.ng-isolate-scope > div > div.facetsContainer > div.quickFilters.FilterGroup.collapsible > div > ul > li:nth-child(2) /*highlight scholarly & Peer-reviewed*/{
    /*background-color: lightgoldenrodyellow;*/
	background-color: yellow;
}

button.date-preset-link.ng-binding { /*publication date buttons*/
    background-color: white !important;
}

button.date-preset-link.ng-binding.date-selected { /*selected publication date buttons*/
    background-color: #008000 !important;
    color: white !important;
}

#backToTop > a {/*Back to top button*/
    color: white !important;
    background-color: #008000 !important;
    border-color: #e6e6e6 !important;
    border-radius: 2em !important;
}

/*====================Center Results Panel====================*/
#results { /*Results background color*/
    background-color: rgb(207, 215, 199)
}

#results > div:nth-child(3) > ul > li:nth-child(1) { /*# of results bar background color*/
    background-color: whitesmoke;
    border-radius: 2em;
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 6px -6px #aaaaaa; /*Adds box shadow*/
}

h3.endOfResults.ng-binding { /*center end of results message*/
    text-align: center;
}

.bestBet { /*Best Bets and FAQ answers that sometimes appear above center results*/
    padding: 1.5em 1em;
    position: relative;
    overflow: visible;
    min-height: 83px;
    background-color: #FFF;
    border-radius: 1em;
    margin-bottom: 1em;
}

.documentSummary { /*selects individual results in search display*/
    box-shadow: 0 8px 6px -6px #aaaaaa; /*Adds box shadow*/
}

ul.nav.nav-tabs { /*sets background for "cites/cited by" results navigation and rounds the edges*/
    background-color: whitesmoke;
    border-radius: 1em;
    box-shadow: 0 8px 6px -6px #aaaaaa; /*Adds box shadow*/
}

#results button[aria-label^="Sorted by"] { /*Darkens sorting link for accessibility*/
  color: #003E80 !important;
}

.databaseRecommendations{ /*Creates card for database recommendations*/
  background: white;
  border-radius: 1rem;
  padding: .25rem;
  box-shadow: 0 8px 6px -6px #aaaaaa;
}

.noResults, .didYouMean { /*Creates card for no results info and "did you mean" suggesions*/
  background: white;
  border-radius: 1rem;
  padding: .5rem;
  box-shadow: 0 8px 6px -6px #aaaaaa;
}

/*=========================Right Info Panel=========================*/
.topicSummary h3, .customSections h3, .bxRecommender h3, .azSearch h3 { /*Keeps side Panel headers Together and styles*/
    word-break: normal !important;
    font-weight: bold;
    font-size: small;
    margin: 0 0 0.5em 0;
    text-align: center;
}

.thirdPanel { /*background color for right panel*/
    background-color: whitesmoke !important;
}

#rightPane .content.ng-scope { /*rounds right panel boxes*/
    padding: 1em !important;
    border-radius: 2em !important;
    margin: 0 0 1em 0;
    box-shadow: 0 8px 6px -6px #aaaaaa; /*Adds box shadow*/
}

#rightPane:has(.topicLinks.ng-hide, .topicSummary.ng-hide) { /*Hides the right panel if there are no topic links or topic summaries to display*/
    display: none;
  }

#results:has(+ #rightPane:has(.topicLinks.ng-hide, .topicSummary.ng-hide)){ /*Adjusts the right padding of the results section if the right panel is hidden by the previous rule*/
    padding-right: 5px;
}

/*=====Libchat widget=====*/
iframe.s-lch-widget-float-load { /*increase height of auto-load to fix SSO login text*/
    height: 350px !important;
}

#backToTop { /*Moves the "back to top" arrow to the left of the libchat button*/
    bottom: 20px;
    right: 85px;
}