/*
 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:          2.9.96
 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
*/

/* Sub UWHR logo */

/* New separate UWHR logo links: W -> UW homepage, HR wordmark -> UWHR homepage */

/* Child page h3 link styles */
.children-pages .child-page h3 a {
    color: #32006e;
    text-decoration: underline;
}

.children-pages .child-page h3 a:hover {
    color: #85754d;
    text-decoration: underline;
}

/* Thorud: announcement section */
.container .row.criteria {
    text-align: center;
}

.announcement {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -100px; /* pulls icon up to overlap hero */
}

.announcement img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: transparent;
    padding: 20px;
    margin-bottom: 20px;
}

.announcement .wrap {
    max-width: 600px;
    text-align: left;
}

/* DSA: uw-on-campus banner */
.uw-on-campus {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.uw-on-campus h2 {
    display: inline-block;
    position: relative;
    z-index: 1;
    background-color: #e8e3d3;
    padding: 10px 30px;
    border-radius: 50px;
    margin: 0;
}

.uw-on-campus h2 a {
    color: #4b2e83;
    text-decoration: none;
    font-weight: bold;
}

.uw-on-campus .mid.stroke {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 15px;
    background-color: #4b2e83;
    z-index: 0;
    transform: translateY(-50%);
}

/* 3 images bottom*/

/* Uniform image height for image-top cards */
.card-image-top {
    height: 220px;
    overflow: hidden;
}

.card-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



/* gold and white padding fixes */
/* Tighten col padding on both top card rows */
.grid.row.equal.full-width.gold .col-sm.p-5 {
    padding: 1.5rem !important;
}

/* Tighten card-body padding, needs higher specificity to beat .card .card-body */
.grid.row.equal.full-width.gold + div[style*="margin-top"] {
    margin-top: -60px !important;
    padding-bottom: 2rem;
}
.card.text-button .card-body {
    padding-bottom: 0.5rem !important;
}

.card-content p:last-child {
    margin-bottom: 0 !important;
}

/* uw hr logo */
header.site-header div.navbar .site-branding .uw-patch-new {
    display:inline-flex;
    text-indent:-9999px;
    color:#fff;
    width:91px;
    height:60px;
    background-image:url('../uw_wp_theme_child-main/assets/svg/uwhr-w-white.svg');
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    z-index:1;
    transition:opacity 0.2s ease;
    align-self:center;
    }

header.site-header div.navbar .site-branding .uw-patch-new:focus,
header.site-header div.navbar .site-branding .uw-patch-new:hover {
    background-image: url('../uw_wp_theme_child-main/assets/svg/uwhr-w-gold.svg') !important;
    opacity:1;
    }

header.site-header div.navbar .site-branding .uw-wordmark-new {
    display:inline-flex;
    text-indent:-9999px;
    color:#fff;
    width:179px;
    height:60px;
    background-image:url('../uw_wp_theme_child-main/assets/svg/uwhr-hr-white.svg');
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    z-index:1;
    transition:opacity 0.2s ease;
    align-self:center;
    }

/* Removed hover state so HR wordmark stays white and does not turn gold */
/* header.site-header div.navbar .site-branding .uw-wordmark-new:focus,
header.site-header div.navbar .site-branding .uw-wordmark-new:hover {
    background-image: url('../uw_wp_theme_child-main/assets/svg/uwhr-hr-gold.svg') !important;
    opacity:1;
    }
*/

header.site-header div.navbar.navbar-expand-lg {
    align-items: center !important;
    min-height: 80px;
}

header.site-header div.navbar .site-branding {
    display: flex;
    align-items: center;
}


header.site-header div.navbar .site-branding .uw-patch {
    display:inline-flex;
    text-indent:-9999px;
    color:#fff;
    width:270px;
    height:120px;
    background-image:url('../uw_wp_theme_child-main/assets/svg/uwhr-logo-white.svg');
    background-repeat:no-repeat;
    background-position:0 0;
    background-size:contain;
    z-index:1;
    transition:opacity 0.2s ease;
    }
    
header.site-header div.navbar .site-branding .uw-patch:focus,
header.site-header div.navbar .site-branding .uw-patch:hover {
    background:url('../uw_wp_theme_child-main/assets/svg/uwhr-logo-gold.svg') no-repeat 0 0/contain transparent !important;
    opacity:1;
    }

header.site-header div.navbar .site-branding .uw-patch:before {
    content:url('../uw_wp_theme_child-main/assets/svg/uwhr-sprite-focus.svg');
    display:none;
    } 

header.site-header div.navbar .site-branding .uw-wordmark {
    display:none;
    }



header.site-header div.navbar #site-navigation .audience-menu-container ul li a:after,header.site-header div.navbar #site-navigation .audience-menu-container ul li a:visited:after {
    position:absolute;
    right:6px;
    height:32px;
    width:12px;
    top:5px;
    content:'';
    background:url('../uw_wp_theme_child-main/assets/svg/uwhr-sprite-test.svg') no-repeat -696px 0;
    }

header.site-header div.navbar #search-quicklinks button.uw-quicklinks {
    height:45px;
    padding-left:38px;
    margin-left:-15px;
    margin-right:0;
    white-space:nowrap;
    padding-right:54px;
    color:black;
    background:url('../uw_wp_theme_child-main/assets/svg/uwhr-sprite-test.svg') no-repeat -451px -235px;
    overflow:hidden;
    } 

/* Get Workday logo into menu 
.workday-link {
/* background-image: url('../uw_wp_theme_child-main/assets/images/workday-w.png'); hide this one
    background-image: url('../uw_wp_theme_child-main/assets/images/workday-w-bg.png');
    background-size: 20px;
    background-repeat: no-repeat;
    padding-left: 25px;
} */

/* Trim margin-bottom of unit home page white cards*/
.card-body {
    margin-bottom: -32px;
}


/* Render old-style accordion */
a.panel-link {
    color: #1a62c7 !important;
    text-decoration: underline !important;
}

.panel-collapse {
    margin: 20px 20px 20px 20px;
}

.uwhr-accordion .panel-link {
  color: #1a62c7 !important;
  display: block;
  position: relative;
  text-decoration: underline;
  background-color: #ece9e2;
  padding: 0.5rem 3rem 0.5rem 1rem;
}

.uwhr-accordion .panel-link:hover {
  background-color: white;
  color: #85754d !important;
  text-decoration: underline;
}

.uwhr-accordion .panel-link:hover .panel-title-icon:before {
  color: #85754d !important;
  text-decoration: none !important;
}

.uwhr-accordion .panel-title-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-top: -.5rem;
  height: 1rem; 
}

/*
.uwhr-accordion .panel-title-icon:before {
  content: "\f068";
}

.uwhr-accordion .panel-link.collapsed .panel-title-icon:before {
  content: "\f067";
} */

.uwhr-accordion .panel-title-icon:before {
  content: "—";
  font-family: inherit;
  font-weight: bold;
  font-size: 1.5em;
}

.uwhr-accordion .panel-link.collapsed .panel-title-icon:before {
  content: "+";
  font-family: "Arial Black", sans-serif;
  font-weight: bold;
  font-size: 1.5em;
}

.uwhr-accordion .panel-collapse {
  padding: 0 1rem;
}

.accordion-iconless .panel-title-icon {
  display: none;
}

.fa {
  display: inline-block;
  font: normal normal normal 16px/1 FontAwesome;
  font-size: 16px;
  text-rendering: auto;
}

.panel-collapse .collapse p.show body.show {
    margin: 10px 10px 10px 10px;
}

/* added media queries since logo is too big on mobile */
@media (max-width: 768px) {
    header.site-header div.navbar.navbar-expand-lg {
        min-height: unset;
    }

    header.site-header div.navbar .site-branding .uw-patch-new {
        width: 55px;
        height: 45px;
    }

    header.site-header div.navbar .site-branding .uw-wordmark-new {
        width: 110px;
        height: 45px;
    }
}