/* New brand templates */

/*
    FULL-SIZE IMAGE BEGIN
*/
figure.purdue-home-image.image-align-full, figure.purdue-home-image.image-align-center{
    margin: 0px;
}
figure.purdue-home-image.image-align-center{
    padding-top: 3rem;
    padding-bottom: 3rem;
}
figure.purdue-home-image.image-align-center:has(figcaption){
    padding-bottom: 0.5rem;
}
figure.purdue-home-image.image-align-full:has(figcaption){
    padding-bottom: 1.5rem;
}
.purdue-home-image img{
    display:block;
}
.purdue-home-image.image-align-full img{
    min-width: 100%;
    border-radius: 0px;
}
.purdue-home-image.image-align-center figcaption{
    margin-bottom: 1rem !important;
}
.has-black-background strong{
    color: white;
}
.has-black-background figcaption{
    border-color: #C4BFC0;
    color: #C4BFC0;
}
.has-gold-background figcaption,
.has-gray-background figcaption,
.has-white-background figcaption{
    border-color: black;
    color: black;
}
/*
    FULL-SIZE IMAGE END
*/

.cb-img-left{
  float: left;
  margin: 1rem 1.5rem 1.5rem 0rem !important;
}

.cb-img-right{
  float: right;
  margin: 1rem 0rem 1.5rem 1.5rem !important;
}

.cb-img-center{
  display: block;
  margin: 1rem auto 1.5rem auto !important;
}

.cb-img-40{
  width: 40%;
}

.cb-img-50{
  width: 50%;
}

.cb-img-60{
  width: 60%;
}

.cb-img-100{
  width: 100%;
}

/* Match prior template's text styling */
.section.content-block p, .section.content-block li{
  font-size: 1.1875rem;
  line-height: 30px;
}

/*.section.content-block{
  padding-top: 1rem;
  padding-bottom: 1rem;
}*/

/* Ensure img fills its figure */
.section.content-block figure img{
  width: 100%;
}
/* Special image type */
.signature-image{
    max-width: 15%;
}
/*Accordion tweaks*/
.has-black-background .purdue-accordion-wrap .purdue-accordion__title button, accordion__content purdue-accordion__content{
  color: white;
}
.has-black-background .purdue-accordion{
  border-color: white !important;
}
.has-black-background .accordion__content.purdue-accordion__content{
  color: white;
}
.has-black-background .purdue-accordion-wrap .purdue-accordion__title button::after{
  filter: invert(100%);
}

.purdue-home-diagonal-hero .purdue-home-button-list{
  margin-top: 1.875rem;
}

nav.purdue-home-quick-links-static .quick-links-content .quick-link__item .quick-link__link{
  font-family: "United Sans";
}

.fnav-dropdown-entry{
    overflow: hidden;
    position: relative;
}

.fnav-dropdown-button{
    display: block;
    position: relative;
}

.fnav-dropdown-button::before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
    font-size: .75rem;
    pointer-events: none;
    display: block;
    float: right;
    text-decoration: none;
    position: absolute;
    top: 0.3rem;
    right: 0;
    transform: rotate(0deg);
    transition: transform 0.8s cubic-bezier(.18,.89,.32,1.28);
}

.fnav-dropdown-button.caret-focused::before{
    transform: rotate(-180deg);
}

.fnav-dropdown-button::after{
    content: "";
    height: 2px;
    width: calc(100% - 30.4px);
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: transform .25s cubic-bezier(1,.25,0,.75) 0s;
}

.fnav-dropdown-list li{
    list-style-type: none;
    border: none !important;
}

.quick-link__item .quick-link__link.is-active-page{
	text-decoration-color: #8E6F3E !important;
}

.fnav-dropdown-entry .fnav-dropdown-list li{
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

.breadcrumbs ul{
    padding-bottom: 0px;
}

.breadcrumbs ul li{
    padding-bottom: 0px;
}

.purdue-second-nav .menu-items .navbar-item a:focus{
  color: #cfb991;
}
/*
@media screen and (min-width: 1215px) {
    .nav-main-mobile-cla-container{
        display: none;
    }
}
*/
svg.burger-icon{
    width: 1.5rem !important;
    margin: auto;
}

.navbar-find-info__menu{
    grid-row: 2/3 !important;
}

.navbar-find-info__quicklinks{
    grid-row: 2/3 !important;
}

.form-group.search-box{
    grid-row: 3/4 !important;
}

@media screen and (min-width: 1024px) and (max-width: 1216px) {
    ul.navbar-start.menu-items{
        display: initial !important;
    }
}

.sectiongray{
    background-color: #ededed;
}

.sectionblack{
    background-color: black;
}

.sectiongold{
    background-color: #cfb991;
}

.sectionwhite{
    background-color: white;
}

/* Text tweaks */
.purdue-home-cta-card .purdue-home-cta-grid__card-websiteURL *:not(.purdue-home-button), .purdue-home-cta-card .purdue-home-cta-grid__card-address *{
  color: white !important;
}
.purdue-home-cta-grid__card-titleline{
    font-weight: 400 !important;
}
pre{
    text-wrap-mode: wrap;
}
/* Margin tweak */
.purdue-home-cta-grid__card-email, .purdue-home-cta-grid__card-phone, .purdue-home-cta-grid__card-address{
    margin-bottom: 0.5rem !important;
}
/* Janky last-minute top nav tweaks */
.navbar-item, .navbar-link{
    display: flex !important;
}
.navbar-item.has-dropdown{
    align-items: stretch !important;
}
.purdue-second-nav .menu-items{
    display: flex !important;
    justify-content: center;
    flex-direction: row;
    overflow: initial;
    position: initial;
}
.purdue-second-nav.tablet-hidden{
    display: flex;
}
.header__mainNav--dropdownOuter{
    z-index: 999;
}
@media screen and (max-width: 1216px){
    /* Going from large to small, hide regular top nav once screen is certain size */
    .purdue-top-nav__second-row.navbar-menu,
    .purdue-second-nav.tablet-hidden.cla-2nd-topnav-regular{
        display: none;
    }
}
@media screen and (min-width: 1218px){
    /* Going from small to large, hide mobile top nav after screen is certain size */
    .purdue-second-nav.tablet-hidden.cla-2nd-topnav-mobile,
    .navbar-find-info.is-global .navbar-find-info__menu{
        display: none !important;
    }
}
/*@media screen and (max-width: 1217px){
    .navbar-find-info.is-global .navbar-find-info__menu{
        display: initial !important;
    }
}*/
.cla-2nd-topnav-mobile{
    justify-content: center;
}
.cla-2nd-topnav-regular{
    justify-content: start;
    padding-left: 3.25rem;
}
/*.purdue-second-nav .menu-items .navbar-item:first-child{
    padding-left: 0px !important;
}*/
.purdue-top-nav__second-row.navbar-menu,
.purdue-top-nav__second-row.navbar-menu .navbar-item:hover > a,
.purdue-top-nav__second-row.navbar-menu .navbar-dropdown,
.purdue-top-nav__second-row.navbar-menu .navbar-item .submenu .navbar-dropdown-submenu{
    background-color: white;
}
/* Top nav mobile tweaks */
/* ALWAYS highlight plus symbol */
button.accordion__heading:hover::after{
  filter: brightness(150%);
}
/* Opened dropdown color */
.is-open{
  color: #CFB991 !important;
}
/* Hovering opened dropdowns color */
.is-open:hover{
  color: white;
}
/* Hovering unopened dropdown color */
button.accordion__heading:not(.is-open):hover{
  color:#CFB991;
}
/* Hovering mobile top nav links */
div.navbar-find-info .navbar-item.menu-item a:hover{
  color: #CFB991;
}
/* Hide mobile top nav hovering underline */
div.navbar-find-info .navbar-find-info__items .menu-items a:hover::before,
div.navbar-find-info .navbar-find-info__items .menu-items button:hover::before{
  visibility: hidden;
}
/* new plan. getting the plus symbol aligned is impossible, or at least so difficult i don't feel like doing research to make it work, and it's late. just hide the thing*/
.is-open::after{
    display:none !important;
}
button.is-open{
    font-style: italic;
}
/*
TO DO - animate these so the dropdown is more visually informative
ul.navbar-dropdown.hide {
	max-height: 0rem;
	overflow: hidden;
	transition: max-height 5s;
	transition-timing-function: linear;
	transition-behavior: allow-discrete;
}
ul.navbar-dropdown.show {
	max-height: 30rem;
	overflow: hidden;
	transition: max-height 5s;
	transition-timing-function: linear;
	transition-behavior: allow-discrete;
}
*/
/* Footer tweaks. TO DO - inspect footer layout for issues, flex may not be flexing */
footer.footer{
    overflow: hidden;
}
/* Arrow color tweak */
.navbar-item.menu-item .purdue-home-button:hover::after{
    filter: brightness(0%);
}
/* Audio player */
.cla-audio-embed{
    width: 100%;
    margin-top: initial !important;
}
.cla-audio-embed audio{
    width: 100%;
}
.cla-audio-embed figcaption{
    opacity: 0.6;
    font-size: 1rem;
    line-height: 1.5rem;
}
.cla-audio-embed *:not(:first-child){
    margin-top: 0.625rem !important;
    margin-bottom: 0.625rem !important;
}