/* The following can be remove after change to Global Page [2022]; meanning wheaton22.css is used, not transition22.css */
.old-to-new > .has-bg--white + .has-bg--white {
  padding-block-start: 0 !important;
}
.old-ct--large {
  padding-block: clamp(
    var(--space--gap-3xl),
    8vw,
    var(--space--grid-unit) * 18
  );
}
.bm--collapsible {
  padding: var(--space--gap-xl);
  margin-block-end: var(--space--gap-medium);
  transition: all 0.2s ease-in-out;
}
.bm--collapsible button {
  color: var(--color--grey-900);
  align-items: top;
  font-size: var(--type-size--medium);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  background: 0 0;
  border: 0;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block-start: 0;
  padding-inline: 0;
  font-weight: 500;
  display: flex;
}
@media (width>=1024px) {
  [data-layout="3up"] {
    column-gap: var(--space--gap-large);
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0;
    display: grid;
  }
}
@media (width>=1300px) {
  [data-layout="3up"] {
    column-gap: var(--space--gap-xl);
  }
}
[data-layout="4up"] {
  gap: var(--space--gap-large);
  flex-direction: column;
  display: flex;
}
@media (width>=1024px) {
  [data-layout="4up"] {
    gap: var(--space--gap-large);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: row;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 0;
    display: grid;
  }
}

@media (width>=1300px) {
  [data-layout="4up"] {
    column-gap: var(--space--gap-xl);
  }
}
.bm-grid--faculty {
  gap: calc(var(--space--grid-unit) * 6) calc(var(--space--grid-unit) * 3);
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-block-start: calc(var(--space--grid-unit) * 6);
  padding-block-end: calc(var(--space--grid-unit) * 6);
  display: flex;
  container: faculty-grid/inline-size;
}

.bm-grid--faculty > *,
.bm-grid--faculty > :last-child {
  flex: 0 0 calc((100% - var(--space--grid-unit) * 3 * 1) / 2);
  min-width: 0;
}

.bm-card--faculty {
  will-change: opacity, transform;
  transform-origin: 50%;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.bm-card--faculty[style*="display: none"] {
  opacity: 0;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  transform: scale(0.98);
}

.bm-card--faculty:not([style*="display: none"]) {
  opacity: 1;
  transform: scale(1);
}

.bm-card--faculty img {
  border-radius: var(--space--grid-unit);
  object-fit: cover;
  width: 100%;
  height: auto;
}

.bm-card--faculty picture > img {
  height: 100%;
}

.bm-card--faculty h3 {
  font-family: var(--wc-font-family--sans-serif);
  margin-block-end: 0;
  font-weight: 500;
  font-size: var(--type-size--base) !important;
}
.bm-card--faculty h3 a {
  color: var(--color--blue-600);
}
.bm-card--faculty figcaption {
  font-size: var(--type-size--small);
  margin-block-start: calc(var(--space--grid-unit) * 2);
  line-height: 1.2;
}

@container faculty-grid (width>=525px) {
  .bm-card--faculty,
  .bm-card--faculty:last-child {
    flex: 0 0 calc((100% - var(--space--grid-unit) * 3 * 2) / 3);
    min-width: 0;
  }
}

@container faculty-grid (width>=825px) {
  .bm-card--faculty,
  .bm-card--faculty:last-child {
    flex: 0 0 calc((100% - var(--space--grid-unit) * 3 * 3) / 4);
    min-width: 0;
  }
}

@container faculty-grid (width>=1024px) {
  .bm-card--faculty,
  .bm-card--faculty:last-child {
    flex: 0 0 calc((100% - var(--space--grid-unit) * 3 * 4) / 5);
    min-width: 0;
  }

  .bm-card--faculty h3 {
    font-size: var(--type-size--medium) !important;
  }

  .bm-card--faculty figcaption {
    font-size: var(--type-size--base);
    margin-block-start: calc(var(--space--grid-unit) * 2);
    line-height: 1.2;
  }
}
/* The above can be remove after change to Global Page [2022]; meanning wheaton22.css is used, not transition22.css */
.bm--collapsible button {
  font-size: var(--type-size--medium);
}
/* The above should be modified in wheaton22.css */
/* Begin - Fix style.css */
/* End - Fix style.css */
/* General */
.bm--utility-menus hr {
  border-top: unset;
}
.bm--utility-menus .bm--menu-utility a {
  text-decoration: none;
}
@media (1300px <= width < 1400px) {
  .is-new-style .main-container {
    padding-inline: 90px;
  }
}

@media (min-width: 1024px) {
  main.old-to-new {
    min-width: 850px;
  }
  main.main.full-width {
    width: unset;
  }
}
main.main > section > *:first-child,
.has-bg--white + span + .has-bg--white {
  padding-block-start: 0 !important;
}
.old-to-new > div[class^="old-ct"],
.old-to-new > .accordion-heading,
.old-to-new > .accordion-single,
.old-to-new > .accordion {
  max-width: 850px;
  margin-inline: auto;
}
.old-callout {
  padding-block: 0 !important;
}
.old-callout + .has-hr--tb,
:not(.has-bg--white) + .old-callout {
  margin-top: 64px;
}
.old-ct {
  padding-block: clamp(
    var(--space--gap-3xl),
    6vw,
    var(--space--grid-unit) * 18
  ) !important;
}
.old-ct--small,
.old-ct.has-hr--tb {
  padding-block: clamp(
    var(--space--gap-3xl),
    3vw,
    var(--space--grid-unit) * 18
  ) !important;
}
.old-ct--no-padding {
  padding-block: 0 !important;
}
.old-ct__container {
  padding-inline: var(--space--gap-large);
}
@media (width >= 1024px) {
  .old-ct__container {
    padding-inline: var(--space--gap-3xl);
  }
}
.has-hr--tb {
  border-top: 1px solid var(--color--grey-100);
  border-bottom: 1px solid var(--color--grey-100);
}
.bm--content--old-ct {
  max-width: 720px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .grid-2-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space--gap-large);
  }
  .grid-2-50.gap--3xl {
    gap: var(--space--gap-3xl);
  }
}
.btn__fit-single {
  width: fit-content;
}
.bm--icon {
  background-color: #e3f2f7;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  border: 6px solid #f2fbff;
  border-radius: 50%;
  height: 40px;
  margin-block-end: var(--space--gap-large);
  display: block;
  width: 40px !important;
}
.icon--globe {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg stroke-linejoin='round' stroke-linecap='round' stroke-width='2' fill='none' stroke='%230F3C7D'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M2 12h20'%3E%3C/path%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

/* End of General. Start CT */
/* Sidebar Micro Content */
.sidebar-micro-content__container {
  background: var(--gradient--blue-primary);
  border-radius: 8px;
  max-width: 1024px !important;
  margin-inline: auto;
}
.old-callout.sidebar-micro-content__container .micro-content__content a {
  color: white;
}
.micro-content__media {
  position: relative;
}
.micro-content__media img {
  width: 100%;
  object-fit: cover;
}
.media__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 3rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 300ms ease;
}
.micro-content__content {
  color: var(--color--white);
  padding-inline: var(--space--gap-large);
  padding-block: var(--space--gap-large);
}
@media (width >= 1024px) {
  .micro-content__content {
    padding-inline: var(--space--gap-3xl);
  }
}
.micro-content__content__header {
  font-size: var(--type-size--xl);
  margin-bottom: 2rem;
  color: white;
}
@media (min-width: 1200px) {
  .grid-2-cols {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
  }
  .grid-2-cols .micro-content__media {
    align-self: stretch;
  }

  .micro-content__media img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 100%;
  }
}
@media (max-width: 768px) {
  .micro-content__button-group {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Sidebar Contact Info */
.sidebar-contact .social-group {
  gap: 1.5rem;
  margin-block: 0 2rem;
  padding-block-start: 0.25rem;
}
@media (min-width: 768px) {
  .contact__details {
    display: flex;
    gap: 160px;
  }
  .sidebar-contact .contact__details {
    display: flex;
    gap: 60px;
  }
}
@media (min-width: 1024px) {
  .sidebar-contact .contact__details {
    display: flex;
    gap: 120px;
  }
}
/* Center Micro Content */
.is-new-style .feature__content .button__link:hover {
  color: var(--color--blue-600);
}
/* Sidebar Social Media */
.sidebar-social__list {
  list-style: none;
  padding-inline-start: 0;
  padding-block-start: 1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}
.sidebar-social__item {
  padding-right: 2.5rem;
}
.sidebar-social__icon {
  display: block;
  color: var(--color--grey-700);
}
.sidebar-social__link:hover .sidebar-social__icon {
  color: var(--color--orange-700);
}
.sidebar-social__icon svg {
  height: 40px;
  width: 40px;
}
.sidebar-social__header.is-fancy:before {
  margin-block-end: 32px;
}
/* Sidebar CTA */
.sidebar-cta {
  display: flex;
  gap: var(--space--gap-large);
  flex-direction: column;
}
.sidebar-cta > a {
  flex: 1;
  max-width: 650px;
}
@media (min-width: 768px) {
  .sidebar-cta {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space--gap-large);
  }
  .sidebar-cta > a {
    margin-inline: auto;
  }
}
/* Sidebar related links */
.sidebar-rel-links__list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}
.sidebar-rel-links__item {
  border-bottom: 1px solid var(--color--grey-100);
  margin-block-end: 0 !important;
}
.sidebar-rel-links__item a {
  text-decoration: none;
  height: calc(var(--space--grid-unit) * 7);
}
@media (min-width: 768px) {
  .sidebar-rel-links__list {
    column-count: 2;
  }
}
/* Contact Information */
.contact-info__container .sidebar-social__list {
  justify-content: flex-start;
}
.contact-info__container .sidebar-social__icon {
  width: 32px;
}
.contact-info__container .sidebar-social__list {
  padding-block-start: 0;
}
/* General Content with 2 CTAs */
.gen-content__cta-group > a {
  flex: 1;
}
@media (max-width: 768px) {
  .bm--buttons.gen-content__cta-group {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Center Column CTA buttons centered, Center Column CTA buttons */
.cccta-btns.bm--buttons {
  flex-direction: column;
  align-items: stretch;
}
.cccta-btns.bm--buttons > a {
  flex: 1;
  max-width: 650px;
}
@media (width > 768px) {
  .cccta-btns.bm--buttons {
    flex-direction: row;
  }
  .cccta-btns.bm--buttons > a {
    margin-inline: auto;
  }
}
/* Collapsible - should add to style-addon */
.border-grey {
  border: 1px solid #d0d5dd;
  border-radius: 4px;
}

.border-bottom-grey {
  border-bottom: 1px solid #d0d5dd;
  border-radius: 4px;
}
/* Photo Gallery */
.photo-gallery .image {
  width: fit-content;
}
/* Our People, Card Deck 4, Card Deck 5 */
.heading__container p {
  max-width: 850px;
}
.our-people,
.card-deck-4 {
  position: relative;
}
[data-layout] > span {
  position: absolute;
}
.our-people img,
.card-deck-4 img {
  padding-bottom: 1.25rem;
}
.old-ct__grid-item {
  margin-block-end: var(--space--gap-3xl);
}
@media (width >= 1024px) {
  .old-ct__grid-item {
    margin-block-end: var(--space--gap-medium);
  }
}
@media (768px <= width < 1024px) {
  .card-deck-4 [data-layout="4up"] {
    display: grid;
    gap: var(--space--gap-large);
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    margin-inline: auto;
    padding-inline: 0;
  }
}
.card-deck__content {
  position: relative;
  width: fit-content;
}
.card-deck__img {
  filter: brightness(60%);
}
.card-deck__link {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: 95%;
  padding-block: 8px;
}
.card-deck__link:hover {
  background-color: var(--color--orange-700);
  transition: 0.4s;
}
.card-deck__link a {
  color: white !important;
  text-transform: uppercase;
  font-weight: 700;
}
.card-deck-five [data-layout="5up"] {
  gap: var(--space--gap-large);
  flex-direction: column;
  display: flex;
  margin-inline: auto;
}
@media (width >= 768px) {
  .card-deck-five [data-layout="5up"] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (width >= 1024px) {
  .card-deck-five [data-layout="5up"] {
    gap: var(--space--gap-large);
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: row;
    max-width: 1280px;
    padding-inline: 0;
  }
}
/* Page Title and Logo */
.title-logo img {
  max-height: 80px;
}
@media (width >= 1024px) {
  .title-logo {
    display: flex;
    justify-content: space-between;
  }
  .title-logo img {
    max-height: 100px;
  }
}
/* The below codes are copied from style.css */
@media (min-width: 768px) {
  .main--spacing {
    margin-right: 4rem;
  }
}
/* Below - modified of style.css */
.container--blue-dark .accordion__content p > a {
  color: white;
}
/* The below codes are copied from transition22.css */
.hero__content h1,
.hero__content h2,
.container--blue-dark h1,
.container--blue-dark h2,
.container--blue-dark h3 {
  color: inherit;
}
.container--blue-dark {
  color: white !important;
}
