/* custom logo added to header */
header .grid.header-main-pmcri {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 25px 20px;
}
.site-name {
    margin: 0 50px;
}
.site-title a {
    text-align: center !important; /* align against custom logo*/
}
.font_merriweather .site-name .site-title, 
.font_lora_firasans .site-name .site-title, 
.font_gentiumbasic_opensans .site-name .site-title, 
.font_archivonarrow_roboto .site-name .site-title, 
.font_rubik_zillaslab .site-name .site-title, 
.font_cabin_bitter .site-name .site-title, 
.font_vollkorn_ptserif .site-name .site-title {
    font-size: 1.875rem;
}
.site-name a {
    text-align: right;
}
.pmcri-logo {
    min-width: 170px;
}
.pmcri-logo-wrapper a:hover {
    text-decoration: none;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .theme_sparkle_pennlight header .grid {
        flex-wrap: wrap;
        text-align: center;
    }
    .psom-logo {
        width: 100%;
        order: 1;
    }
    .site-name {
        padding: 10px 0;
        display: inline-block;
        float: left;
        width: 67%;
        margin: 0 0 0 1%;
        order: 3;
        max-width: calc(95% - 190px);
    }
    .site-name a {
        text-align: left !important; /*override override of theme in desktop styles*/
    }
    .font_merriweather .site-name .site-title, 
    .font_lora_firasans .site-name .site-title, 
    .font_gentiumbasic_opensans .site-name .site-title, 
    .font_archivonarrow_roboto .site-name .site-title, 
    .font_rubik_zillaslab .site-name .site-title, 
    .font_cabin_bitter .site-name .site-title, 
    .font_vollkorn_ptserif .site-name .site-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .pmcri-logo-wrapper {
        display: inline-block;
        width: 28%;    
        order: 2;
        margin-left: 4%;
        min-width: 190px;
    }
}
@media screen and (max-width: 568px) {
    header .grid {
        display: flex;
    }
    .psom-logo {
        width: 100%;
        order: 1;
    }
    .site-name {
        margin: 0 20px;
        padding: 10px 0;
        display: block;
        width: 100%;
        float: none;
        order: 2;
        max-width: 100%;
    }    
    .site-name a {
        text-align: center!important; /*override override of theme in desktop styles*/
    }
    .pmcri-logo-wrapper {
        width: 100%;
        display: block;
        order: 3;
    }
}

/* customization of Penn Sparkle Light Theme per publisher's request */

/* banner and banner images full width */
.banner .grid {
	max-width: none;
}

.banner .unit.whole {	
	padding: 0;
	margin: 0 0 15px 0;
}


/* announcement section styling */
.announcement {
  background-color: #f7f7f7;
  max-width: none;
}

.theme_sparkle_pennlight .announcement {
  max-width: none;
}

.theme_sparkle_pennlight .page-title::before {
    display: none;
}

.theme_sparkle_pennlight .announcement .grid .unit::after, .theme_sparkle_pennlight .announcement .grid .unit::before {
    display: none;
}

.theme_sparkle_pennlight .announcement-title::before {
    display: none;
}

/* nav menu styling */
.theme_sparkle_pennlight nav {
  background: #00144d;
}

.theme_sparkle_pennlight nav a, .theme_sparkle_pennlight nav button {
  background: transparent;
  border: none;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    color: #f7f7f7;
}

.theme_sparkle_pennlight nav a:hover, .theme_sparkle_pennlight nav button:hover {
    color: #f2c100;
}

.theme_sparkle_pennlight nav .active > a, .theme_sparkle_pennlight nav .active > button {
  color: #dae7f2;
  border-bottom: 2px solid #82afd3;
}

.theme_sparkle_pennlight nav .active>a:hover, .theme_sparkle_pennlight nav .active>button:hover {
    color:#f2c100;
}

.theme_sparkle_pennlight .menu-horizontal button::after {
    color: #f7f7f7;
}

.theme_sparkle_pennlight .menu-horizontal button:hover::after {
    color: #f2c100;
}

.theme_sparkle_pennlight nav ul ul {
  background: #000e36;
}

.theme_sparkle_pennlight nav ul ul ul {
background: #000024;
}

.theme_sparkle_pennlight nav .level2 a, .theme_sparkle_pennlight nav .level2 button, .theme_sparkle_pennlight nav .level2 span {
  color: #f7f7f7;
}

.theme_sparkle_pennlight nav .level2 a:hover, .theme_sparkle_pennlight nav .level2 button:hover {
    color: #f2c100;
}

.theme_sparkle_pennlight nav.menu-horizontal .level2.active {
  background-color: #0d2056;
}

/* mobile nav */
.theme_sparkle_pennlight .mobile-nav__list {
  background-color: #00144d
}

.theme_sparkle_pennlight .mobile-nav__list li a:hover, .theme_sparkle_pennlight .mobile-nav__list li span:hover, .theme_sparkle_pennlight .mobile-nav__list li button:hover {
  background-color: #000e36;
}

.theme_sparkle_pennlight .mobile-nav__list li a, .theme_sparkle_pennlight .mobile-nav__list li span, .theme_sparkle_pennlight .mobile-nav__list li button {
  color: #fff;
  background-color: #00144d;
}

.theme_sparkle_pennlight .mobile-nav__list li.current > button, .theme_sparkle_pennlight .mobile-nav__list li.active > a {
  background-color: #001349;
  color: #f2c100;
  border-bottom: none;
}

.theme_sparkle_pennlight .mobile-nav__list li.current > button:hover, .theme_sparkle_pennlight .mobile-nav__list li.active > a:hover {
  color: #f2c100;
  background-color: #000e36;
}

.theme_sparkle_pennlight .mobile-nav__list li li.current > button, .theme_sparkle_pennlight .mobile-nav__list li li.active > a {
  background-color: #0d2056;
  border-bottom: none;
}


/* buttons - such as "Learn More" button in Announcement area, "More News" in News Feed, Scroll to Top button, etc */
.theme_sparkle_pennlight .button, .pagination_link a, .theme_sparkle_pennlight .more-post, .theme_sparkle_pennlight .news-events .read-more, .theme_sparkle_pennlight .scrollToTop {
  color: #fff;
  background: #00144d;
  border: 1px solid #00144d;
}