/*
 Theme Name:     OLLI - PSUOutreachMarketing
 Theme URI:      https://olli.psu.edu
 Description:    Child theme using the PSUOutreachMarketing parent theme
 Author:         Penn State Outreach and Online Education
 Author URI:     https://www.outreach.psu.edu
 Template:       PSUOutreachMarketing
 Version:        1.3.5
*/


/*--------------------------------------------------------------
# HTML and reset font sizes
--------------------------------------------------------------*/
html {
  font-size: 18px;
}
h2, h3 {
  margin-top: 2em;
}
.site-content li {
  padding-top: .25em;
  padding-bottom: .25em;
}
p:has(+ ul) {
  /* styles for <p> immediately followed by a <ul> */
  margin-bottom: .25em;
}
.basic-list .display-posts-listing li.listing-item {
  margin: 2.5em 0 !important;
}
.display-posts-listing li.listing-item a.title {
  font-size: 1.375rem;
}
.display-posts-listing li.listing-item .excerpt,
.tile-nav div.display-posts-listing .listing-item .excerpt {
  font-size: 1rem;
}
.staff .display-posts-listing li.listing-item .excerpt {
  font-size: 0.875rem;
}
#sidebar-body nav li a,
#sidebar-body .widget_nav_menu a,
#sidebar-body .widget_nav_menu ul.sub-menu .menu-item-has-children > a {
  font-size: 0.875rem;
}
.call-out-box h2 {
  font-size: 1.625rem;
  margin-top: 1em;
}
.call-out-box {
  font-size: 1rem;
  border-radius: 10px;
}
.main-navigation #primary-menu > li.menu-item > ul.sub-menu {
  min-width: 280px;
}
.main-navigation .menu-item-has-children > a {
  padding-right: 18px;
}
.view-more-link a, a.call-to-action {
  padding: 18px 20px !important;
  border-radius: 50px !important;
}

/* Header - changes for two CTA buttons */
.utility li a, #off-canvas-nav .mp-menu .utility ul li > a {
  min-width: 125px;
  padding: 12px 18px 11px;
}
@media screen and (max-width: 830px) {
  #inner-header-wrapper.dual-logos > .utility li:nth-child(2) {
    display: none;
  }
}

/* Masthead text only */
#masthead .site-logo a {
  font-size: 1.3rem;
  line-height: 1.1;
  max-width: 290px;
}
@media screen and (min-width: 480px) {
  #masthead .site-logo a {
    border-left: 1px solid #e3e3e8;
    margin-top: -7px;
    padding-left: 32px;
  }
}

/* Emergency Announcement */
#emergency-announcement {
  font-size: 0.875rem;
}

/* Hide the date on the weather cancelation post */
.postid-843 .index-entry-meta {
  display: none;
}

/* CTA Button */
.site-content .call-to-action a, .site-content a.call-to-action,
.widget_recent-posts-reorder-widget a.read-more, .site-main .homepage-body-widget a.read-more, .home .widget_recent-posts-reorder-widget a.read-more {
  min-width: 200px !important;
}
.site-content .call-out-box .call-to-action a, .site-content .call-out-box a.call-to-action {
    margin: 1rem 0 2rem 0;
  }
@media screen and (min-width: 580px) {
  .site-content .call-out-box .call-to-action a, .site-content .call-out-box a.call-to-action {
    margin-right: 3rem;
  }
}
#page a.subtle-call-to-action {
  line-height: 1.4;
}

/* Mobile Menu */
#off-canvas-nav .mp-menu ul li > a {
  font-size: 1rem;
}

/* Footer */
.foot-container .menu ul.sub-menu li a {
  padding: 0.5em 0;
}

/* change column sizes due to larger fonts */
@media screen and (min-width: 1024px) {
  #sidebar-body {
    max-width: 270px;
  }
  .site-main {
    max-width: calc(100% - 322px);
  }
  .menu_wrapper {
    margin-top: 16px;
  }
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/
.home .hero-content-container {
  max-height: none;
}
.home #hero-container .subtle-call-to-action,
.home #hero-container .subtle-call-to-action:after,
.home #hero-container .subtle-call-to-action:hover {
  color: #ffffff !important;
  border-color: #ffffff !important;
}
.home #hero-container .subtle-call-to-action {
  border-bottom: 1px dotted;
}
.home #hero-container .subtle-call-to-action:hover {
  border-bottom: 1px solid;
}
.home .slider-description h2, .home .slider-description h3 {
  color: #ffffff;
}
.home .slider-description h2 {
  color: #ffffff;
  margin-top: 0;
}
.home .slider-description h3, .home .slider-description p {
  color: #ffffff;
  margin-top: 1em;
}
.home .slider-description p {
  margin: 0;
}
@media screen and (min-width: 810px) {
  #hero-container .content-area {
    background-color: transparent;
  }
  .slider-description {
    background-color: rgba(0, 30, 68, .93);
    border-radius: 4px
  }
  .slider-description p {
    font-size: 1rem;
  }
}
.home .slider-content .slider-title {
  font-size: 2.3rem;
}
.home .homepage-intro-content .tile-nav .display-posts-listing li.listing-item ul.excerpt {
  list-style-type: none;
  padding: 0;
  margin-top: 0;
}
.home .homepage-intro-content .tile-nav .display-posts-listing .listing-item .title {
  padding: 0;
  font-size: 1.625rem;
  display: initial;
}
.home .homepage-intro-content .display-posts-listing .listing-item .title:hover {
  text-decoration: none;
  border-bottom: 1px solid;
}
.home .homepage-intro-content .tile-nav.two-columns .display-posts-listing li.listing-item {
  margin: 0 0 4em;
  width: 100%;
}
.home #content #homepage-widget-body-template .homepage-intro-content .call-out-box h2 {
  margin-top: 16px;
}
@media screen and (min-width: 580px) {
  .home .textwidget .tile-nav .display-posts-listing li.listing-item {
    min-height: 380px;
  }
}
@media screen and (min-width: 768px) {
  .homepage-intro-content .tile-nav.two-columns .display-posts-listing li.listing-item:nth-child(odd) {
    margin-right: 2%;
  }
  .home .homepage-intro-content .tile-nav.two-columns .display-posts-listing li.listing-item {
    width: 48.5%;
  }
  .slider-content .slider-description img.alignleft {
    float: left;
    margin: 0 32px 6px 0;
  }
}
@media screen and (min-width: 810px) {
  .slider-content .slider-description {
    overflow: auto;
    padding: 24px
  }
  .slider-content .slider-description img.alignleft {
    float: left;
    
  }
}
.home .tile-nav .display-posts-listing {
  margin-bottom: 0;
}

/*  Homepage - Intro + Body Widget Templates : #homepage-widget-body-template */
.homepage-body-widget-full-width {
  padding-bottom: 0;
}
.homepage-body-widget-full-width.gray-background {
  background-color: #f2f2f4;
  padding: 1px 0;
}
.homepage-body-widget-full-width .section-content {
  max-width: 882px;
  margin: 50px auto;
  padding: 0 16px;
}
@media screen and (min-width: 1024px) {
  .homepage-body-widget-full-width .section-content {
    max-width: 1232px;
  }
  .homepage-body-widget-full-width .index-the-excerpt .featured-image {
    max-width: 400px;
  }
  .homepage-body-widget-full-width .index-the-excerpt p {
    max-width: 735px;
  }
}
.page-template-level1-page #content .homepage-body-widget-full-width h2 {
  font-size: 1.625rem;
  font-weight: 600;
  margin: 0 0 24px;
}
.widget-body .continue-reading,
.widget-body .subtle-call-to-action-container,
.homepage-body-widget .continue-reading,
.homepage-body-widget-full-width .continue-reading {
  margin-bottom: 24px;
}
.homepage-body-widget h3.entry-title a,
.homepage-body-widget-full-width h3.entry-title a {
  display: initial;
}

/*--------------------------------------------------------------
# UP and York Member Sections
--------------------------------------------------------------*/

/* .offices class used to style the logo and text treatment */
.offices {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.offices img {
  max-width: none;
}
.offices h1, .offices h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
}
.offices h1 span, .offices h2 span {
  font-size: 1rem;
  display: inline-block;
  line-height: 1.5;
}
.home .offices h1, .home .offices h2 {
  line-height: 1.2;
  font-size: 1.375rem;
}
.home .offices img {
  max-width: 100%;
  min-width: 90px;
  height: auto;
}
@media screen and (min-width: 500px) {
  .home .offices h1, .home .offices h2 {
    font-size: 1.75rem;
  }
  .home .offices img {
    max-width: none;
  }
}
@media screen and (min-width: 580px) {
  .offices h1, .offices h2, .home .offices h2 {
    font-size: 2.25rem;
  }
}

.home .slider-content {
  padding: 30px 0;
}

/* Hide featured images on OLLI and York landing pages */
.page-id-58 #primary, 
.page-id-60 #primary {
  margin-top: 0;
  padding-top: 50px;
}
.page-id-58 .banner-wrapper,
.page-id-60 .banner-wrapper {
  display: none;
}

/* Subpage banners for OLLI UP and OLLI York */
.member-section-banner .section-title {
  display: flex;
  margin: 0;
  align-items: center;
}
.member-section-banner .section-title a, .member-section-banner .section-title a:visited {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.2;
}
@media screen and (max-width: 325px) {
  .member-section-banner .section-title a, .member-section-banner .section-title a:visited {
    font-size: 1.35rem;
  }
}
.member-section-banner .section-title a:hover {
  text-decoration: none;
  border-bottom: 1px solid #ffffff;
}

.member-section-banner .section-title img {
  margin: 0 20px 0 0;
  max-width: 80px;
}
@media screen and (min-width: 1024px) {
.breadcrumb-container {
    margin-bottom: 0;
  }
}
.member-section-banner section.homepage-body-widget-full-width {
  background-color: #001e44;
  padding-bottom: 0;
}
/* Add class of "york" in widget options to get custom background color */
.member-section-banner section.york {
  background-color: #005FA9;
  background: linear-gradient(to right, #005FA9 60%, #1e407c 100%)
}
.member-section-banner .section-content {
  margin: 0 auto;
  padding: 16px;
  max-width: 1232px;
  position: relative;
}

/* Harrisburg Banner */
.member-section-banner .section-title.harrisburg {
  display: block;
}
@media screen and (min-width: 700px) {
  .member-section-banner .section-title.harrisburg {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
}
/* Member landing page tiles */
.page-id-58 main, .page-id-60 main {
  background-color: #f2f2f4;
}
@media screen and (min-width: 580px) {
  .tile-nav.staff .display-posts-listing li.listing-item {
    min-height: 390px;
  }
}
.homepage-body-widget-full-width:nth-child(even) {
  background-color: #f2f2f4;
}
.homepage-body-widget-full-width:nth-child(odd), .home .homepage-body-widget-full-width {
  background-color: #ffffff;
}


/*--------------------------------------------------------------
# Proclass Account Login Button in Member Sections
--------------------------------------------------------------*/

/* there are mobile and desktop versions of the link, hide one */
/* .account-login and .mobile-account-login classes added in the HTML Widget */
.account-login {
  display: none;
}
.mobile-account-login {
  font-size: 0.875rem !important;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
.account-login {
  color: #ffffff;
  font-size: 0.875rem;
  -webkit-transition: background-color .25s ease-out;
  -moz-transition: background-color .25s ease-out;
  -o-transition: background-color .25s ease-out;
  transition: background-color .25s ease-out;
}
.account-login:hover {
  text-decoration: underline !important;
  color: #ffffff !important;
}
@media screen and (min-width: 625px) {
  .mobile-account-login {
    display: none;
  }
  .account-login {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    border: 1px solid white;
    margin: 38px 16px 0 0;
    border-radius: 48px;
    color: #ffffff;
  }
  .account-login:hover, .account-login:focus {
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: #001E44;
  }
}


/*--------------------------------------------------------------
# RSS Widget
--------------------------------------------------------------*/
#sidebar-body .widget_rss h2.widget-title a {
  display: none;
}
#sidebar-body .widget_rss h2.widget-title:after {
  content: "OLLI in Penn State News";
}
#sidebar-body .widget_rss {
  font-size: 0.875rem;
  padding-bottom: 0;
}


/*--------------------------------------------------------------
# Latest Blog Post Widget
--------------------------------------------------------------*/
.home .homepage-body-widget-full-width,
.page-id-58 .homepage-body-widget-full-width,
.page-id-60 .homepage-body-widget-full-width {
  padding: 1px 0 50px;
  overflow: auto;
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .section-content {
  margin: 50px auto 0;
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .section-content article.hentry {
  padding-bottom: 10px;
}
.widget_recent-posts-reorder-widget .widget-title {
  margin-bottom: 0;
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .featured-image {
  box-sizing: border-box;
  margin-top: 24px;
  width: 100%;
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .index-the-excerpt,
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .index-the-excerpt p,
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .subtle-call-to-action-container,
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width a.subtle-call-to-action {
  display: inline;
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width a.subtle-call-to-action {
  white-space: nowrap;
}
@media screen and (min-width: 1024px) {
  .widget_recent-posts-reorder-widget.homepage-body-widget-full-width .featured-image {
    float: left;
    max-height: 450px;
    overflow: hidden;
    width: 50%;
  }
  .widget_recent-posts-reorder-widget.homepage-body-widget-full-width .article-content, .widget_recent-posts-reorder-widget.homepage-body-widget-full-width .view-more-link {
    float: right;
    width: 45%;
  }
}
.widget_recent-posts-reorder-widget.homepage-body-widget-full-width .call-to-action a {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Events
--------------------------------------------------------------*/
.event-listing .event-content h2.entry-title {
  margin-top: 2em;
}

/*  Level One Landing Page Events - UP and York Landing Pages */
.page-template-level1-page .widget_em_widget .section-content > ul {
  padding: 0;
}
.page-template-level1-page .upcoming-events .section-content {
  margin: 0 auto;
  max-width: 882px;
  padding: 0 16px;
}
.page-template-level1-page .upcoming-events .section-content {
  margin: 50px auto 0;
}
@media screen and (min-width: 1024px) {
  .page-template-level1-page .upcoming-events .section-content {
    max-width: 1232px;
  }
}
.page-template-level1-page .upcoming-events .widget-title {
  font-size: 1.625rem;
}
.page-template-level1-page .homepage-body-widget .event-title h3,
.page-template-level1-page .homepage-body-widget-full-width .event-title h3 {
  margin-top: 0;
}

.page-template-level1-page .event-date,
.page-template-level1-page .event-title a {
  font-weight: bold;
}

.page-template-level1-page .homepage-body-widget .event-title a:hover,
.page-template-level1-page .homepage-body-widget-full-width .event-title a:hover {
  text-decoration: underline;
}
.page-template-level1-page .homepage-body-widget li.upcoming-training-event,
.page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event {
  list-style: none;
  display: inline-block;
}
.page-template-level1-page .homepage-body-widget li.upcoming-training-event .event-information,
.page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event .event-information {
  margin: 0;
}
.page-template-level1-page .homepage-body-widget li.upcoming-training-event .event-information li,
.page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event .event-information li {
  list-style: none;
  padding: 0;
}
.page-template-level1-page .homepage-body-widget li.upcoming-training-event .event-information .when,
.page-template-level1-page .homepage-body-widget li.upcoming-training-event .event-information .where,
.page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event .event-information .when,
.page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event .event-information .where {
  font-weight: bold;
}
.page-template-level1-page .all-events-link a {
  background-color: #ffffff;
  border-radius: 25px;
  color: #005FA9;
  border: 1px solid #005FA9;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  min-width: 153px;
  margin-top: 1.5em;
  padding: 8px 24px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: background-color .25s ease-out;
  -moz-transition: background-color .25s ease-out;
  -o-transition: background-color .25s ease-out;
  transition: background-color .25s ease-out;
  -webkit-font-smoothing: antialiased;
}
.page-template-level1-page .all-events-link a:hover {
  background-color: #005FA9;
  color: #ffffff;
}
@media screen and (min-width: 320px) {
  .page-template-level1-page .homepage-body-widget li.upcoming-training-event,
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event {
    list-style: none;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    min-width: 200px;
    max-width: 100%;
    margin: auto;
    padding: 24px 0;
  }
}
@media screen and (min-width: 580px) {
  .page-template-level1-page .event-image {
    max-width: 100%;
  }
  .page-template-level1-page .homepage-body-widget li.upcoming-training-event,
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event {
    width: 48.5%;
  }
  .page-template-level1-page .homepage-body-widget li.upcoming-training-event:nth-child(odd),
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event:nth-child(odd) {
    margin-right: 1.5%;
  }
  .page-template-level1-page .homepage-body-widget li.upcoming-training-event:nth-child(even),
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event:nth-child(even) {
    margin-left: 1.5%;
  }
}
@media screen and (min-width: 1024px) {
  /* Full-width homepage body widget */
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event {
    width: 31.3%;
    padding-bottom: 16px;
  }
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event:nth-child(even),
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }
  .page-template-level1-page .homepage-body-widget-full-width li.upcoming-training-event:nth-child(3n+2) {
    margin-left: 3%;
    margin-right: 3%;
  }
}
.homepage-body-widget-full-width .section-content.upcoming-events-cta {
  margin-top: 0;
}
/* Hide sidebar on event categories */
.psu-page-categories #sidebar-body {
  display: none;
}
@media screen and (min-width: 1024px) {
  .psu-page-categories #main {
    float: none;
    min-width: 882px;
  }
}

/* Gravity Forms */
body .gform_wrapper .form_saved_message {
  color: #0F192D;
  background-color: transparent;
  border: 3px solid #e3e3e8;
}
body div.form_saved_message div.form_saved_message_emailform form input[type=submit] {
  background-color: #005FA9;
  border: 1px solid #005FA9;
}
body div.form_saved_message div.form_saved_message_emailform form input[type=submit]:hover {
  background-color: #1e407c;
}
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  padding: 10px;
}
body .form_saved_message a.resume_form_link {
  color: #005FA9;
}
body .gform_wrapper .gfield_consent_description {
  font-size: 0.85rem !important;
  background-color: #ffffff;
  padding: 10px 20px !important;
  line-height: 1.7 !important;
  max-height: 350px !important;
  margin-bottom: 20px;
}
body .gform_wrapper .gform_body .gfield_consent_label {
  font-size: 0.875rem;
}
@media only screen and (min-width: 641px) {
  body .gform_wrapper.gform_validation_error .top_label select.medium   {
    width: 100%;
  }
}
body .form_saved_message_sent {
  background-color: #ffffff;
}

/* Tile nav on /free-course-giveaway/thank-you page */
@media screen and (min-width: 580px) {
  .page-id-1762 .tile-nav .display-posts-listing li.listing-item {
    min-height: 400px;
  }
}

/* Giving Tuesday homepage banner */
#hero-feature-1971 a.slider-sliderbutton {
  box-shadow: none;
}
#hero-feature-1971 a.slider-sliderbutton:hover {
  color: #005FA9;
  background-color: #ffffff;
  box-shadow: none;
}
@media screen and (min-width: 810px) {
  #hero-feature-1971 .slider-description {
    background-color: transparent;
    padding: 0;
    margin: 0;
  }
  #hero-feature-1971 .slider-content {
    background-color: rgba(30, 64, 124, .96);
    padding: 130px 24px 24px;
    max-width: 600px;
    display: block;
    margin-top: 0px;
    border-radius: 0px;
    height: 100%;
  }
}
/* Giving Tuesday UP Banner */
.member-section-banner .university-park a.subtle-call-to-action:after {
  color: #ffffff !important;
}
.member-section-banner .university-park a.subtle-call-to-action:hover {
  border-bottom: 1px solid #ffffff !important;
}

/* Winter Warm-Up banner */
#hero-feature-2155 a.slider-sliderbutton {
  box-shadow: none;
}
#hero-feature-2155 a.slider-sliderbutton:hover {
  color: #005FA9;
  background-color: #ffffff;
  box-shadow: none;
}
@media screen and (min-width: 810px) {
  #hero-feature-2155 .slider-description {
    background-color: rgba(30, 64, 124, .96);
    padding: 40px 24px;
    max-width: 620px;
  }
  #hero-feature-2155 .slider-description {
    background-color: transparent;
    padding: 0;
    margin: 0;
  }
  #hero-feature-2155 .slider-content {
    background-color: rgba(0, 30, 68, .9);
    padding: 24px 24px 24px;
    max-width: 650px;
    display: block;
    margin-top: 130px;
    border-radius: 8px;
  }
}


/* Custom Facebook Feed */
#cff .cff-post-text,
#cff .cff-expand a {
  font-size: 1rem;
  line-height: 1.4;
}
#cff .cff-post-links {
  float: right;
}
#cff .cff-post-links a {
  font-size: 0.75rem;
}
#cff .cff-share-container {
  display: inline;
}
#cff .cff-load-more {
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  font-size: .875rem;
  max-width: 300px;
  border-radius: 70px;
  margin-top: 2em;
  padding: 18px 20px;
  display: block;
}
#cff .cff-load-more span {
  text-decoration: none;
  border-bottom: 0;
}
.homepage-body-widget-full-width.gray-background #cff .cff-load-more {
  background-color: #ffffff;
}
/* Custom Facebook Feed - End */

/* Updates for CampusCE */
@media screen and (min-width: 640px) {
  #footer-contact-info .address {
      width: auto;
  }
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  padding: 0px 16px 0px 16px;
}
@media only screen and (min-width: 1024px) {
  #mega-menu-wrap-primary {
      padding: 0;
  }
}
@media only screen and (max-width: 1023px) {
  #mega-menu-wrap-primary {
    background-color: #f2f2f4;

  }
  #mega-menu-wrap-primary .mega-menu-toggle {
    display: block;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    flex: 0 1 auto;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-menu-toggle-block {
    margin: 0 0 0 16px;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block ul {
    padding: 0;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right {
    padding: 4px 16px;
    height: 100%;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block a {
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block a {
    border: 1px solid #005FA9;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block .menu-item:nth-of-type(2) a {
      background-color: #ffffff;
      color: #005FA9;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block .menu-item:nth-of-type(2) a:hover {
    background-color: #e4e5e7;
    color: #1E407C;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block .menu-item:nth-of-type(2) a::before {
    font-family: "Font Awesome 7 Pro"; /* magnifying glass on search CTA */
    font-weight: 900;
    content: "\f002";
    margin-right: 5px;
    font-size: 14px;
  }
}
@media only screen and (max-width: 413px) {
  /*#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block {
    flex-shrink: 1;
    white-space: normal;
    text-align: center;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right .mega-html-block a {
    line-height: 1.1;
    padding: 0 24px;
  }*/
}
/* Hide site search */
header #header-search {
  display: none !important;
}
@media only screen and (max-width: 1023px) {
  #mega-menu-wrap-primary #mega-menu-primary li.astm-search-menu.is-menu {
      display: none !important;
  }
}
@media screen and (min-width: 1024px) {
  #inner-header-wrapper.dual-logos > .utility {
      right: 0;
  }
}

.ooe-accordion-wrap .ooe-accordion-button {
  font-size: 1rem;
}

/* List styles to make tiles */
ul.tiles {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}
ul.tiles li {
  margin-bottom: 15px;
}
ul.tiles a, ul.tiles a:visited {
  color: #005FA9;
  padding: 20px 10px;
  text-align: center;
  display: block;
  border: 1px solid #005FA9;
  background-color: #f2f2f4;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  -webkit-transition: background-color .25s ease-out;
  -moz-transition: background-color .25s ease-out;
  -o-transition: background-color .25s ease-out;
  transition: background-color .25s ease-out;
}
ul.tiles a:hover {
  color: #001E44;
  border: 1px solid #001E44;
  background-color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}
ul.no-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
ul.no-bullets li {
  margin-bottom: 16px;
  line-height: 1.3;
}
ul.no-bullets a, ul.no-bullets a:visited {
  color: #005FA9;
  text-decoration: none;
}
ul.no-bullets a:hover {
  border-bottom: 1px solid #005FA9;
  text-decoration: none;
}

/* CampusCE Menu */
#CCESecMenu .row {
  max-width: 1232px;
  padding: 0 10px 0 5px;
  margin: 0 auto;
}
#CCESecMenu .row::after {
  clear: both;
  content: '';
  display: table;
}
@media only screen and (max-width: 1100px) { 
  #CCESecMenu {
    padding: 12px 0 0;
  }
}
#CCESecMenu { 
  background-color: #1e407c;
  color: #FFF; 
  font-weight: bold; 
  font-size: 0.875rem; 
  padding: 0 0 16px;
}
#CCESecMenu a:link, #CCESecMenu a:visited { 
  color: #CCE9FF !important; 
  font-weight: bold;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}
#CCESecMenu a:hover {
  color: #CCE9FF; 
  text-decoration: underline; 
}
.large-7.columns,
.large-7.columns div#top .left,
.large-7.columns div#top .right,
.large-5.columns {
  width: auto !important;
  float: right;
}
#CCESecMenu .large-7.columns #top {
  display: flex;
  align-items: center;
}
#CCESecMenu .large-7.columns #ctl00_Ucpreheader1_headerNavMenu { /* Sign in/out link */
  order: 1;
}
#CCESecMenu .large-7.columns #ctl00_Ucpreheader1_divPreHeaderWelcome { /* Welcome */
  font-size: 12px;
  order: 2;
  -webkit-font-smoothing: antialiased;
}
.large-7.columns div#top .right,
.large-7.columns #ctl00_Ucpreheader1_divPreHeaderWelcome {
  float: right !important;
  text-align: right;
  line-height: 1.5;
}
.large-7.columns {
  padding-left: 0;
  padding-top: 15px;
}
.large-5.columns {
  padding-right: 0;
  padding-top: 15px;
}
.large-7.columns #ctl00_Ucpreheader1_headerNavMenu span {
  display: none;
}
.large-5.columns #CCEMenu li {
  padding: 0 !important;
  line-height: 1.5;
}
.large-5.columns #CCEMenu li:first-of-type,
.large-5.columns #CCEMenu li:nth-of-type(3) a i /* Account */{
  display: none;
}
#CCESecMenu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#CCESecMenu li {
  float: left;
}
#CCESecMenu li a {
  display: block;
  padding-right: 18px;
}
.large-7.columns a#ctl00_Ucpreheader1_linkPreHdrSignin {
  padding: 0 18px 0 0;
}

/* Parent Theme fix */
.utility li a, .utility li:last-child a {
  background-color: #005FA9;
  border: 1px solid #005FA9;
  border-radius: 3px;
  text-transform: none;
  min-width: 170px;
}
.utility li:last-child a {
  background-color: #ffffff !important;
  border: 1px solid #005FA9;
  color: #005FA9;
  border-radius: 3px;
  text-transform: none;
}
.utility li:last-child a:hover {
  background-color: #f2f2f4 !important;
}
.utility li:last-child a::before {
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  content: "\f002";
  margin-right: 5px;
  font-size: 14px;
}

a.call-to-action.course-search-cta {
  border-radius: 0 !important;
  padding: 16px 16px 16px 10px !important;
  text-transform: none !important;
  font-size: 1rem !important;
  margin: 0 0 1rem !important;
  background-color: #ffffff !important;
  color: #005fa9 !important;
  border: 1px solid #005fa9 !important;
}
a.call-to-action.course-search-cta:hover {
  color: #1e407c !important;
  border-color: #1e407c !important;
  background-color: #e4e5e7 !important;
}

/* Taken from Customizer */

/* Gravity Perks */
label .ginput_price {
  font-weight: 600;
}
/* Total Cost Gravity Forms */
.ginput_container.ginput_container_total input {
  padding: 0 !important;
  font-weight: 600;
  font-size: 1.5rem !important;
}
/* Harrisburg Courses */
.harrisburg-course-descriptions .ooe-accordion-wrap .ooe-accordion-button {
  font-size: 1rem;
} 

/* Homepage */
.home #content #homepage-widget-body-template .offices h2 {
  font-weight: 400;
  font-size: 2.25rem;
}

/* GivingTuesday slider */
#hero-feature-1971 a.slider-sliderbutton {
  color: #ffffff;
  background-color: #EB1B30;
  box-shadow: none;
  border: 1px solid #ffffff;
}
#hero-feature-1971 a.slider-sliderbutton:hover {
  background-color: #ffffff;
  color: #EB1B30;
  border: 1px solid #ffffff;
}

/* Hide Facebook feed like box */
.cff-view-comments-wrap {
  display: none;
}

/* Hide the no events message on UP Courses page */
.page-id-66 .no-events-message {
  display: none;
}

/* Gravity Forms */
.gform_wrapper.gravity-theme .gform_save_link.button {
  border: 1px solid #e3e3e8;
}
.gform_wrapper.gravity-theme .gform_previous_button.button:hover,
.gform_wrapper.gravity-theme .gform_save_link.button:hover {
  color: #376ad3;
}
.gform_wrapper.gravity-theme .gform_save_link.button:hover svg path {
  fill: #376ad3;
}
body .gform_wrapper .form_saved_message {
  border: 0;
}
body .gform_wrapper.gform_legacy_markup_wrapper .form_saved_message {
  border: 3px solid #e3e3e8;
}

/* Sidebar RSS */
#sidebar-body .widget_rss {
  padding-bottom: 0;
}
#sidebar-body .widget_rss h2.widget-title:after {
    content: "OLLI in Penn State News";
}

/* OLLI York Banner */
#page .york.section-content a.subtle-call-to-action:hover {
  border-bottom: 1px solid #ffffff !important;
}
#page .york.section-content a.subtle-call-to-action::after {
  color: white;
}

/* OLLI Day Sponsors page */
.page-id-2501 #sponsors,
.page-id-2501 #sponsors figcaption {
  text-align: center;
}

.page-id-2501 #sponsors img {
  border: 1px solid #e3e3e8;
}

/* OLLI Day subpages */
.parent-pageid-2451.page-template-level1-page .level1-title h1 {
  font-size: 1.625rem;
}
@media screen and (min-width: 1024px) {
  .parent-pageid-2451.page-template-level1-page .level1-title .entry-header {
    max-width: 750px;
  }
  .parent-pageid-2451.page-template-level1-page .level1-title h1 {
    font-size: 2.75rem;
  }
}
.parent-pageid-2451.page-template-level1-page .level1-title .entry-header h1:before {
  content: "OLLI Day - ";
}

/* Living Well Event */
.parent-pageid-2912.page-template-level1-page .level1-title h1 {
  font-size: 1.625rem;
}
@media screen and (min-width: 1024px) {
  .parent-pageid-2912.page-template-level1-page .level1-title .entry-header {
    max-width: 780px;
  }
  .parent-pageid-2912.page-template-level1-page .level1-title h1 {
    font-size: 2.75rem;
  }
}
.parent-pageid-2912.page-template-level1-page .level1-title .entry-header h1:before {
  content: "Living Well ";
}

/* Footables */
@media screen and (max-width: 768px) {
  .footable-details.colortable th {
    background-color: transparent;
    color: #0F192D;
    font-weight: 600;
  }
  .footable-details.colortable tr {
    background-color: transparent !important;
  }
  .footable-details.colortable td, .footable-details.colortable th {
    border: 0;
  }
  .footable.colortable tr {
    background-color: transparent !important;
  }
}

/* Accordions */
.call-out-box .ooe-accordion-wrap {
  border-bottom: 0;
  border-top: 1px solid #e3e3e8;
}
.call-out-box .ooe-accordion-wrap:last-of-type {
    border-bottom: 1px solid #e3e3e8;
}

/* Travel Opportunities */
.page-id-213 h3 a {
  text-decoration: none;
}
.page-id-213 h3 a:hover {
  text-decoration: none;
  border-bottom: 1px solid;
}
.page-id-213 h3 + p {
  margin-top: 0 !important;
}