/* QEP Leaders and Committees */
.block-inline-blockaccordion:has(.qep-staff) .field__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    align-items: flex-start;
}

.block-inline-blockaccordion:has(.qep-staff) .field__item div {
    flex: 1 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block-inline-blockaccordion:has(.qep-staff) .field__item h3 {
    min-height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px 0;
}

.block-inline-blockaccordion:has(.qep-staff) .field__item div img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.block-inline-blockaccordion:has(.qep-staff) .field__item div p {
	line-height: 1.5;
}

.block-inline-blockaccordion:has(.qep-staff) .field__item div a {
	text-decoration: none;
}

@media (max-width: 1024px) {
    .block-inline-blockaccordion:has(.qep-staff) .field__item div{
        flex: 1 1 calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .block-inline-blockaccordion:has(.qep-staff) .field__item div {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .block-inline-blockaccordion:has(.qep-staff) .field__item div {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .block-inline-blockaccordion:has(.qep-staff) .field__item div img {
    	max-width: 225px;
    }
}




/* Applying to Grad School Week */
table td[colspan] {
	background-color: var(--gt-gold);
	text-align: center;
}

table td[colspan] p {
	margin-bottom: 0;
	font-weight: bold;
}

.basic-block table th p {
	margin-bottom: 0;
	font-size: 16px;
	font-weight: bold;
}

table td:not([colspan]) {
	padding: 25px 10px !important;
}

table td em {
	font-size: 14px;
}

table a {
	text-decoration: none !important;
}
table a em {
	color: var(--gt-link-blue);
	transition: all 0.2s ease;
}

table a:hover em {
	color: var(--gt-link-hover-blue);
}

.main-container table a:hover {
	text-decoration: none !important;
	border-bottom: 0 !important;
	color: var(--gt-gold) !important;
}

table ul {
	padding-left: 15px;
}

@media only screen and (max-width: 767px) {
	table tr > :nth-child(5) {
		display: none;
	}
	table tr > :nth-child(1):not([colspan]) {
		display: none;
	}
}

@media only screen and (max-width: 550px) {
	table tr > :nth-child(1):not([colspan]) {
		display: none;
	}
}

@media only screen and (max-width: 450px) {
	table tr > :nth-child(4) {
		display: none;
	}
}


/* Homepage */
.this-week-link {
	background-color: var(--gt-tech-gold);
	text-align: center;
	padding: 10px 0;
	margin-bottom: 0;
}

.this-week-link a {
	color: white;
	font-weight: 700;
	font-size: 20px;
}

.this-week-link a:hover {
	color: #003057;
	text-decoration: underline !important;
}


/* Mission */
.mission-icon {
	background: var(--gt-gold);
	border-radius: 1000px;
	padding: 20px;
}

.mobile-show {
	display: none;
}



@media only screen and (max-width: 991px) {
	.layout--threecol-section {
		flex-direction: column;
	}
	
	.mobile-show {
		display: block;
	}
	
	.desktop-show {
		display: none;
	}
}


/* QEP */
.main-container .layout--threecol-section h3 a:link,
.main-container .layout--twocol-section h3 a:link {
	text-decoration: none;
}

#gt-banner:has(img[src*="qep"]) img {
	max-height: 400px;
}

.student-learning-outcomes {
	display: flex;
	text-align: center;
	background-color: #F9F6E5;
	padding: 50px 30px;
	gap: 100px;
	margin: 60px 0;
}

.student-learning-outcomes img {
	max-width: 150px;
	height: auto;
}

.educational-program-section > div {
	display: flex;
	margin-bottom: 20px;
	align-items: center;
	gap: 25px;
}

.educational-program-section img {
	max-width: 150px;
}

.card-media img {
	aspect-ratio: 3/2;
}

iframe {
	width: 100%;
}

.layout--threecol-section .card {
	display: flex;
	height: 100%;
}

.layout--threecol-section .card img {
	aspect-ratio: 3/2;
	object-fit: cover;
}

@media only screen and (max-width: 991px) {
	.student-learning-outcomes {
		flex-direction: column;
		padding: 100px 30px;
	}
}

@media only screen and (max-width: 767px) {
	.educational-program-section div {
		flex-direction: column;
		margin-bottom: 30px;
	}
}


/* Staff */
.staff-contact-info {
	background-color: var(--gt-light-blue);
	padding: 25px;
	padding-bottom: 1px;
}

.staff-contact-info h3 {
	margin-top: 0;
	margin-bottom: 15px;
}

.staff-contact-info h4 {
	font-size: 1rem;
	color: black;
	margin-bottom: 5px;
}

.staff-contact-info p {
	margin-bottom: 5px;
}

.staff-contact-info .admin-1, .staff-contact-info .admin-2 {
	margin-bottom: 25px;
}


/* This Week in OUE */
.this-week-event {
	margin-bottom: 30px;
	padding: 0 24px;
}

.this-week-event p {
	margin-bottom: 5px;
}

.no-events-message {
	padding: 0 24px;
}

.cta-content.gt-white {
	background: transparent;
}


/* OUE Timeline */
ul.timeline-list:after {
    background-color: var(--gt-gold);
  }
  
  ul.timeline-list li.timeline-item {
      margin-bottom: 75px;
  }
  
  .timeline-list .views-field-title {
    font-family: "Roboto Slab", serif;
    font-size: 4rem;
    font-weight: 1000;
    color: var(--gt-navy);
  }
  
  .timeline-list h2 {
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 0;
  }
  
  .oue-timeline-wrapper {
      display: flex;
      gap: 25px;
      align-items: center;
      margin-bottom: 25px;
  }
  
  li.timeline-item:nth-child(2n-1) .oue-timeline-wrapper {
      flex-direction: row-reverse;
  }
  
  .oue-timeline-wrapper img {
      width: 250px;
      min-width: 250px;
      height: 250px;
      object-fit: cover;
      border-radius: 10px;
  }
  
  /*Fade-in effects */
  
  .oue-timeline-wrapper, .views-field-title {
      opacity: 0;
      transition: opacity 1.5s ease-in-out, transform 1.2s ease-in-out;
  }
  
  .fade-in-active {
      opacity: 1;
      transform: translateX(0px) !important;
  }
  
  li.timeline-item:nth-child(2n-1) .oue-timeline-wrapper, li.timeline-item:nth-child(2n-1) .views-field-title {
      transform: translateX(-150px);
  }
  
  li.timeline-item:nth-child(2n) .oue-timeline-wrapper, li.timeline-item:nth-child(2n) .views-field-title {
      transform: translateX(150px);
  }
  
  /* -------------- */
  
  
  @media only screen and (max-width: 1050px) {
      li.timeline-item .oue-timeline-wrapper {
          flex-direction: column-reverse !important;
      }
      
      .oue-timeline-wrapper {
          gap: 0;
      }
      
      .oue-timeline-wrapper img {
          width: 100%;
          height: auto;
          min-width: 0;
          margin-bottom: 50px;
      }
  }
  
  
  @media only screen and (max-width: 767px) {
      .oue-timeline-wrapper {
          align-items: flex-start;
      }
  }




/* QEP Menu */
.main-container .gt-main-content ul.qep-menu:not(.nav) {
	padding: 0;
    margin-bottom: 0;
}

.main-container .gt-main-content .qep-menu li {
    padding: 15px 0;
    margin: 0;
}

.main-container .gt-main-content .qep-menu li:first-child {
    padding-top: 0;
}

.main-container .gt-main-content .qep-menu li:last-child {
    padding-bottom: 0;
}


.qep-menu li::marker {
	content: none;
}

.qep-menu li:not(:last-child) {
	border-bottom: 1px solid #ccc;
}

.cta .gt-blue .field--name-body .qep-menu li a {
	text-decoration: none;
    font-size: 16px;
}

.layout--twocol-section:has(.qep-menu) {
    flex-wrap: nowrap;
}


@media only screen and (max-width: 767px) {
    .layout--twocol-section:has(.qep-menu) {
        flex-wrap: wrap;
    }
}

.ui-accordion.lb-tabs-accordion {
	margin: 0 0 3rem;
}

.lb-tabs-accordion .ui-accordion-content {
	overflow: hidden;
}