/* CSUMB 2024 - hide old site News text/html as this is added via a different layout on new site using existing content type */
.news-detail.general-content {
	display: none;
}

/* CSUMB 2024 Pagination on mobile show previous and next sibling of active page */
@media print, screen and (max-width: 48.06125em) {

	.pager__item.is-active + li {
		display: block !important;
	}
	
	.pager__item:is(:has(+ .is-active)) {
		display: block !important;
	}
}

/* Attribution custom format for blockquote when added to a span */
.wysiwyg span.attribution {
	display: block;
}

/* Remove iframe borders in WYSIWYG as TinyMCE removes frameborder="0" */
.wysiwyg iframe {
    border: none;
}

/* Remove iframe borders as frameborder="0" is considered invalid HTML */
.vertical-video iframe,
.aspect-ratio-frame iframe {
    border: none;
}

/* Direct edit link */
a.t4Edit-page {
  	color: white;
}

/* Improve form */
.improveForm{
	margin: 2rem 0 !important;
    background-color: #e5f0f7 !important;
    color: #112E51 !important;
    border: 10px solid white !important;
    padding: 30px !important;
}


.improveFormTitle{
	font-size: 1.51572rem;
    color: #112E51;
    font-weight: 700;
    padding-bottom: 1rem;
}

.improveFormLabel{
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
}

.formSeperator{
	padding-bottom: 20px;
}

.improveFromInputs{
	width: 75% !important;
}

a#improve_form:hover {
    cursor: pointer;
    text-decoration: underline;
}

.improveForm h2,
h3#thanksmsg {
	font-size: 1.25rem;
}

.improve-form-container {
  	width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .improve-form-container.container-t4-xl {
        max-width: 1100px;
    }
}

.improve-form-container row {
  	display: flex;
    flex-wrap: wrap;
}

.improve-form-container row .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* PHP Search - hide remove individual remove filter tags if JS disabled */
.no-js .active-filters .vaf__group {
  	display: none;
}

/* Fix for figure images overflowing on mobile when widths set in TinyMCE*/
figure.align-center,
figure.align-left,
figure.align-right {
  	max-width: 100%;
}

/* PSRR-21862 */
.site-footer .link__set-first {
	display: flex;
    flex-direction: column;
}

.site-footer .link__set-first ul {
    columns: 1 !important;
    -webkit-columns: 1 !important;
    -moz-columns: 1 !important;
    -webkit-column-gap: 0 !important;
    -moz-column-gap: 0 !important;
    column-gap: 0 !important;
}

.site-footer .link__set-first ul:not(:first-child) {
	margin-top: 1rem;
}


@media screen and (min-width: 31.25em) {
	.site-footer .link__set-first {
	    flex-direction: row;
	    justify-content: space-between;
	}

	.site-footer .link__set-first ul {
		width: 47.5%;
	}
	
	.site-footer .link__set-first ul:not(:first-child) {
		margin-top: 0;
	}
}

/*PSRR 24239 news cropping adjustment*/

.hero--news figcaption {
  position: absolute;
}

.news .hero--general__photo .hero__image {
  padding: 0 20px 100px;
}


.wysiwyg .align-right .instagram-media {
  position: relative !important;
}

.wysiwyg .align-left .instagram-media {
  position: relative !important;
}

.wysiwyg .align-center .instagram-media {
  position: relative !important;
}

/*psrr-25076*/

.wysiwyg ol, .wysiwyg ul {
  list-style-position: inside;
}

.wysiwyg li {
  overflow: hidden;
}

.wysiwyg ol li p {
  margin-top: 0px;
}

.wysiwyg ul li p {
  margin-top: 0px;
}

/* PSRR-26025 */
.promo-cta-section + span + .wysiwyg-block,
.expandable-section + span + .wysiwyg-block,
.checkerboard + span + .wysiwyg-block {
	margin-top: 1.25rem;
}

@media print, screen and (min-width: 48.0625em) {
    .promo-cta-section + span + .wysiwyg-block,
	.expandable-section + span + .wysiwyg-block,
	.checkerboard + span + .wysiwyg-block {
        margin-top: calc(1.75rem - 8px);
    }
}

@media print, screen and (min-width: 64.0625em) {
    .promo-cta-section + span + .wysiwyg-block,
	.expandable-section + span + .wysiwyg-block,
	.checkerboard + span + .wysiwyg-block {
        margin-top: calc(2.5rem - 8px);
    }
}

/*psrr-26037*/
.gallery-section .gallery-section--item .button-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.testimonial .testimonial__wrapper .vertical-video__media .button-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CS-121892 */
.faculty-listing-item__media img[src] {
    min-height: 1px; /* ensures onerror fires */
}
.faculty-listing-item__media img:not([src]),
.faculty-listing-item__media img[src=""] {
    display: none;
}

/* Policy General Content */
.dev-parent-page-link .side-nav-header a::before {
    top: 50%;
    bottom: auto;
    line-height: 1;
    translate: 0 -50%;
}

.dev-parent-page-link .side-nav-header a {
    display: inline-block;
}

/* Reduce white space between hero header and general content for policy general content */
@media screen and (min-width: 64.0625em) {
    .wysiwyg-block.dev-parent-page-content {
        margin-top: -5rem;
    }
}

/* Expandable Person Roster - 11/6/26 */
.person-roster {
  padding-block: 1.5rem;
  color: #000;
}

.person-roster .person-roster__title {
  margin: 0 0 1.5rem;
  color: #000;
}

.person-roster__rows {
  border-top: 2px solid #31456b;
}

.person-roster__row {
  border-bottom: 1px solid #dfe3ea;
}

.person-roster__row.accordion + .person-roster__row.accordion {
  margin-top: 0;
}

/* Row header */
.person-roster__summary {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1.5fr) minmax(0, 1fr) 1.25rem;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 1rem;
  border: 0;
  background-color: transparent;
  color: #000;
  font-family: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.person-roster button.person-roster__summary:is(:hover, :focus) {
  color: #000;
  background-color: #eef3f8;
}

.person-roster__summary:focus-visible {
  outline: 2px solid #31456b;
  outline-offset: -2px;
}

.person-roster__identity {
  display: grid;
  gap: .25rem;
}

.person-roster__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.person-roster__position,
.person-roster__department {
  color: #000;
  font-weight: 400;
}

.person-roster__chevron {
  justify-self: end;
  color: #689466;
  font-size: 1.25rem;
}

/* Photo frames */
.person-roster__avatar,
.person-roster__photo {
  --aspect-ratio: 1;
  display: block;
  overflow: hidden;
  background-color: #dfe7f0;
}

.person-roster__avatar {
  width: 100%;
  border-radius: 50%;
}

.person-roster__photo {
  width: 100%;
  max-width: 20rem;
  border-radius: 4px;
}

/* Accordion animation and expanded panel */
.person-roster__row.accordion--open > .person-roster__summary,
.person-roster__row > .person-roster__animation {
  background-color: #f3f6fa;
}

.person-roster__row.accordion--open > .person-roster__summary .person-roster__chevron {
  transform: rotate(180deg);
}

.person-roster__row > .person-roster__animation {
  border: 0;
  padding: 0;
}

.person-roster__panel {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: .5rem 1rem 2rem 6.5rem;
}

.person-roster .person-roster__info,
.person-roster .person-roster__info > p {
  color: #000;
}

.person-roster__info > p {
  max-width: 60ch;
  margin: 0 0 .75rem;
}


/* Mobile layout */
@media (max-width: 48rem) {
  .person-roster__summary {
    grid-template-columns: 3rem minmax(0, 1fr) 1.25rem;
    gap: .25rem 1rem;
  }

  .person-roster__avatar {
    grid-area: 1 / 1 / 3 / 2;
  }

  .person-roster__identity {
    grid-area: 1 / 2;
  }

  .person-roster__department {
    grid-area: 2 / 2;
  }

  .person-roster__chevron {
    grid-area: 1 / 3 / 3 / 4;
  }

  .person-roster__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: .5rem 1rem 1.5rem;
  }
}






