/*
 Theme Name:       UW WordPress Theme - Child Theme
 Theme URI:        https://github.com/uweb/uw_wp_theme_child
 GitHub Theme URI: https://github.com/uweb/uw_wp_theme_child
 Primary Branch:   main
 Author:           UW Web Team
 Author URI:       https://github.com/uweb
 Description:      A child theme based on the UW WordPress Theme
 Template:         uw_wp_theme
 Version:          1.5
 License:          GNU General Public License v2 or later
 License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 Tags:             two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:      uw_wp_theme_child
*/

/* Header styles */

#libAlerts #msg p,
#libAlerts #msg a {
  background-color: #c61029;
  color: #fff;
  margin-bottom: 0;
}

header.site-header div.navbar .site-branding .uw-wordmark {
  background: url(../uw_wp_theme_child-main/assets/images/wordmark.png)
    no-repeat transparent !important;
  height: 41px;
  left-margin: 15px;
}

.uw-wordmark:focus {
  border: thin solid white;
}

#search-quicklinks {
  display: none !important;
}

/* "not found" styles for 404 page */

article#\34 04 .col-md-10.align-self-center.offset-md-1 #searchform,
article#\34 04 .col-md-10.align-self-center.offset-md-1 p:nth-of-type(2) {
  display: none;
}

/* Footer Styling */

footer #footer-main {
  background: transparent;
  color: #fff;
  min-height: 30px;
  padding-top: 5px;
  padding-left: 10px;
  text-align: left;
  font-size: 12pt;
}

footer.site-footer ul.footer-social li a {
  color: #fff;
  text-indent: -9999px;
  overflow: hidden;
  display: inline-block;
  background: url(../uw_wp_theme_child-main/assets/svg/uw-sprite.svg) no-repeat
    0 -185px transparent;
  padding: 8px 21px;
}

#footer-main a {
  color: #fff;
}

#libcontactinfo a {
  color: #fff;
}

#creativecommons a {
  color: #fff;
}

#creativecommons::before {
  content: url(../uw_wp_theme_child-main/assets/images/cc-by-nc-80x15.png);
}

/* footer */

.section-homepage footer #footer-main {
  margin: 0;
  font-size: 12px;
}

#footer-main .col-md-4,
#footer-main .col-md-8,
#footer-main .col-xs-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

#footer-main a:focus {
  border: thin solid white;
}

/* Miscellaneous styles including for the home page search */

#homepage-search {
  position: relative;
  background: url(/wp-content/uploads/globe-bg.jpg) center 35px no-repeat fixed
    #312d1e;
  padding: 2em 0;
  overflow: hidden;
}
#search-main a {
  color: #fff;
}
#search-main .tab-tour ul.nav-tabs .nav-item .nav-link {
  color: #333;
  background-color: #ece9e2;
  background-image: none;
  border: none;
  border-bottom-color: transparent;
  cursor: default;
  padding: 10px 5px;
  margin-right: 3px;
  border-radius: 4px 4px 0 0;
}
#search-main .tab-tour ul.nav-tabs .nav-item .nav-link.active,
.tab-tour ul.nav-tabs .nav-item .nav-link:hover,
.tab-tour ul.nav-tabs .nav-item .nav-link:active,
.tab-tour ul.nav-tabs .nav-item .nav-link:focus,
.tab-tour ul.nav-tabs .nav-item .nav-link:focus-within {
  color: #fff;
  background-color: rgba(50, 28, 93, 0.85);
  border: none;
  cursor: default;
  padding-bottom: 10px !important;
}
#search-main .nav-tabs {
  border-bottom: none;
}
#search-main .pane {
  background: rgba(50, 28, 93, 0.85);
  border: none;
  border-radius: 4px;
}
#search-main .pane input {
  color: #000;
}
#search-main .pane .homesrchadvan {
  padding-top: 1em;
}
#search-main #searchFormPrimoNUI {
  background-color: transparent;
  padding: 0;
}
#search-main .search-query {
  width: 60%;
}
#researchres,
#search-main {
  margin: auto;
  max-width: 850px;
}
#services {
  display: flex;
  flex-wrap: wrap;
}
#services .servicetile a {
  text-decoration: none;
}
#services h3 {
  font-size: 1.3em;
  color: #5b3e91;
  text-align: center;
}

#services p.desc {
  font-size: 12px;
  font-weight: 400;
  margin-left: 55px;
  display: none;
}

#services div {
  background: #e8e3d3;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(50% - 15px);
  margin: 7px;
  border-radius: 4px;
  padding: 5px;
}

#services img {
  width: 45px;
  margin: auto;
  display: block;
}

/*homepage*/
.page-id-2330 .wp-block-group {
  background-color: #eee;
  padding: 1em;
  margin: 2em 0;
}

/*research commons*/
.post-6984 .wp-block-cover a {
  color: #fff;
}

@media (min-width: 768px) {
  #services div {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(25% - 15px);
  }

  #services p.desc {
    display: block;
  }

  #services img {
    margin: -30px 5px;
    float: left;
  }

  #services h3 {
    text-align: left;
    margin-left: 55px;
  }
}
@media screen and (max-width: 768px) {
  #search-main .tab-tour ul.nav-tabs {
    display: flex;
  }
}

/* style for UW alerts message links */
#uwalert-alert-message a.more-link {
  color: white;
}

/* navbar adjustment to allow for the 'Give' button */

.navbar-expand-md > .container-fluid {
  padding: 0 15px;
}

/* accessibility related */

#search-main a#title-tab-tour-1:focus {
  border: thin solid white;
}

#searchFormPrimoNUI a.external-link:focus {
  border: thin solid white;
}

#searchFormPrimoNUI a.internal-link:focus {
  border: thin solid white;
}
