/*
 Theme Name:     DIAN
 Theme URI:      https://dian.wustl.edu
 Description:    WUSM Child Theme
 Author:         Medical Public Affairs
 Author URI:     https://medicine.wustl.edu
 Template:       wusm
 Version:        2021.07.30.0
*/

#header-site-row {
    z-index: 0;
}

.header-list {
    margin-top: 6px;
}

#mobile-nav .mobile-list .page_item:last-child {
    border-bottom: 1px solid #e3e3e3;
}


/* Adapted from PPI 1.20 for the language switcher */
.washu-ppi-filter-bar {
    padding: 0;
    margin: 0;
    list-style: none;
}

.washu-ppi-filter-bar:after {
    display: table;
    content: '';
    clear: both;
}

.washu-ppi-filter-bar ul {
    list-style: none;
}

.washu-ppi-filter-bar li {
    float: left;
    margin: 0 0.25em 0.25em 0;
    position: relative;
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    list-style: none;
}

.washu-ppi-filter-bar li a {
    display: block;
    padding: 0.25rem 1rem 0.15rem;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.washu-ppi-filter-bar li a:hover {
    text-decoration: none;
    color: #3d3d3d;
}

.washu-ppi-filter-bar li a:hover .dashicons {
    color: #3d3d3d;
}

.washu-ppi-filter-bar > .cat-with-children a {
    padding-right: .65em;
}

.cat-with-children .dashicons {
    margin: 0.15em 0 0 0.3em;
    transition: transform 0.2s ease-in-out;
}

.washu-ppi-filter-bar .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.children-visible > a .dashicons {
    transform: rotate(-180deg);
}

.washu-ppi-filter-bar .children {
    display: none;
    position: absolute;
    padding: 0.45em 0;
    margin: 4px 0 0 0;
    width: 12em;
    background-color: #fff;
    box-shadow: 0 1px 8px rgba(98,100,100,0.2);
    z-index: 10;
}

.washu-ppi-filter-bar .children-visible > .children {
    display: block;
}

.washu-ppi-filter-bar .children .children {
    position: relative;
    padding: 0;
    margin: 0;
    width: auto;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.washu-ppi-filter-bar .children li {
    width: 100%;
    margin: 0;
    border-radius: 0;
    text-align: left;
    float: none;
}

.washu-ppi-filter-bar .children a {
    width: 100%;
    margin: 0;
    background-color: #fff;
    border-radius: 0;
    font-size: 1rem;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

.washu-ppi-filter-bar .children li a:hover,
.washu-ppi-filter-bar .children li a:hover:focus,
.washu-ppi-filter-bar .children li a:active,
.washu-ppi-filter-bar .children .current-cat a {
    text-decoration: none;
    background-color: #f7f7f7;
    border-bottom: none;
    color: #3d3d3d;
}

.washu-ppi-filter-bar .children li:last-child {
    border-bottom: none;
}

.washu-ppi-filter-bar .children-visible .children-visible {
    border-bottom: none;
}

.washu-ppi-filter-bar .children a {
    border: none;
    border-radius: 0;
    padding: 0.5em 1.2em;
}

.washu-ppi-filter-bar .children .children a {
    border: none;
    border-radius: 0;
    padding: 0.5em 1.2em 0.5em 2.5em;
    background: #fff;
}

.washu-ppi-filter-bar .children .children .children a {
    padding: 0.5em 1.2em 0.5em 3.7em;
}

.washu-ppi-filter-bar .children .children a:hover {
    background: #f7f7f7;
}
