@charset "UTF-8";
/* CSS Document */

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}

#news-carousel-column h2 {
	line-height: 1;
}

* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  height: 690px;
  -ms-overflow-style: none;
  overflow:hidden;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  overflow:hidden;
}

/* Keep scrollbar hiding for carousel viewport */
.carousel__viewport::-webkit-scrollbar {
  width: 0;
  display: none;
}

.carousel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.carousel__viewport::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  counter-increment: item;
  -ms-overflow-style: none;
  overflow:hidden;
}

.carousel__slide:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

.carousel__slide img {
/* 	width: 100%;  */
}
.carousel__image {
  height: 400px;
}
.carousel__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
	
.carousel__viewport,
.carousel__slide {
	height: 690px;
	}

.slider-buttons-centered {
  width: 100%;
  position: absolute;
  bottom: 20px;
  text-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
/*    animation-iteration-count: infinite;*/
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation,
nav.carousel__navigation {
	top: 566px !important;
	bottom: inherit;
	position: absolute;
    right: 0;
    left: 0;
    text-align: center;
	background: #ffffff70;
	display: none;
}


.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #005ca5;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
/*   margin-top: 37.5%; */
  margin-top: 185px;	
  width: 3rem;
  height: 5rem;
/*   transform: translateY(-50%); */
  border-radius: 10%;
  font-size: 0;
  outline: 0;
}

#homepage-hero .carousel::before,
#homepage-hero .carousel::after, 
#homepage-hero .carousel__prev, 
#homepage-hero .carousel__next {
/* 	margin-top: 182px !important; */
}

.carousel::before,
.carousel__prev {
  left: 1rem;
}
.carousel::after,
.carousel__next {
  right: 1rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}
.carousel::before {
	content: url(https://emu.edu/_resources/images/news-back-arrow.png);
}
.carousel::after {
	content: url(https://emu.edu/_resources/images/news-forward-arrow.png);
}
.caption-content h2 {
	margin-top: 10px;
	margin-bottom: 5px;
}
.caption-content {
  padding: 5px 20px;
  background: #ffffffD6;
/*   height: 300px; */
}

/* Homepage Hero slider */
#homepage-hero-section {
	background: orange;
}
#homepage-hero .carousel__snapper {
	background-size: cover;
}
#homepage-hero h2 {
  color: #fff;
  font-size: 54px;
  text-transform: uppercase;
  line-height: 50px;
  margin-bottom: 10px;
}
#homepage-hero .caption {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: 32px;
  margin-bottom: 10px;
}
#homepage-hero .hero-slider-content {
	position: absolute;
	top: 140px;
	max-width: 530px;
	padding: 0 7%;
}
#homepage-hero button {
	background: #f6a719;
	text-transform: uppercase;
	width: inherit;
	border: none;
	padding: 10px 20px 30px;
	border-radius: 5px;
	color: #102c52;
	font-size: 15px;
	font-weight: bold;
	font-stretch: condensed;
	letter-spacing: .5px;
	box-shadow: 1px 1px 4px black;
}
#homepage-hero .slider-buttons a {
  margin-top: 20px;
  display: block;
  float: left;
}
.hero-slider-image img {
  width: 100%;
  object-fit: cover;
  height: 690px;
  object-position: center top;
}

/** Hide text on desktop for slide 1 **/
#homepage-hero #carousel__slide1-hero h2,
#homepage-hero #carousel__slide1-hero .caption {
  display: none;
}
#news-and-events-Section #news-headlines-column {
  background: #edf6fc;
  padding-top: 20px;
}
.headlines-whats-new {
	padding: 12px 20px 6px;
	font-size: 25px;
	color: #005ca5;
	font-weight: bold;
	text-align: center;
}
.headline-news-feed {
	padding: 12px 20px;
	border-bottom: 1px solid #005ca5;
}
.headline-news-feed a {
	color: #444;
	font-weight: bold;
	line-height: 1.3em;
}
.headline-news-feed a:hover {
	color: #dd8b27;
}
.headline-more-news-button {
	padding: 20px;
	background: #005ca5;
	font-size: 25px;
	font-weight: bold;
	text-align: center;
}
.headline-more-news-button a {
	color: white;
}
.headline-more-news-button a:hover {
	color: #dd8b27;
}

/*************** RESPONSIVE ****************/

@media only screen and (min-width: 3200px) {
  .carousel,
  .carousel__viewport,
  .carousel__slide {
    height: 1900px; /* Increase height to show more of the image */
  }

  .hero-slider-image img {
    height: 1900px;
    object-position: center 40%; /* Shift focal point down */
  }

  /* Per-slide object-position overrides — adjust if a specific slide's focal point differs */
  #homepage-hero #carousel__slide1-hero .hero-slider-image img { object-position: center 30%; }
  #homepage-hero #carousel__slide2-hero .hero-slider-image img { object-position: center 25%; }
  #homepage-hero #carousel__slide3-hero .hero-slider-image img { object-position: center 20%; }
  #homepage-hero #carousel__slide4-hero .hero-slider-image img { object-position: center 40%; }
  #homepage-hero #carousel__slide5-hero .hero-slider-image img { object-position: center 20%; }
  #homepage-hero #carousel__slide6-hero .hero-slider-image img { object-position: center 10%; }

  #homepage-hero .caption {
    width: 400px;
}

  /* Scale up button for ultra-wide screens */
  #homepage-hero button {
    font-size: 1rem !important;
    padding: 20px 40px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Center prev/next arrows vertically (pseudo-elements are on the section itself) */
  #homepage-hero::before,
  #homepage-hero::after,
  #homepage-hero .carousel__prev,
  #homepage-hero .carousel__next {
    top: 50%;
    margin-top: -40px; /* half of arrow height (5rem = 80px) */
  }

  /* Center hero slider content vertically (exclude slide 1) */
  #homepage-hero .carousel__slide:not(#carousel__slide1-hero) .hero-slider-content {
    top: 50%;
    transform: translateY(-50%);
  }
}

@media only screen and (max-width: 1041px) {
	#homepage-hero .carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: -50px;
    margin-bottom: -50px;
}
	
	.carousel__viewport,
	.carousel__slide,
	#news-carousel-column { 
		height: 680px; 
		width: 100%;
/* 		margin-bottom: 16px; */
	}
	#news-headlines-column { 
		width: 100%; 
		margin-bottom: 40px; 
	}
/* 	.carousel__navigation { 
		top: 415px;
	} */
	.caption-content {
	height: 200px;
	}
	#homepage-hero .carousel__navigation {
	top: calc(690px - 24px);
	}
	.carousel__navigation,
	nav.carousel__navigation {
	top: 654px !important;
	}
}
@media only screen and (max-width: 768px) {
	section.carousel {
	max-width: 100%;
	padding: 0;
	}
	.carousel__viewport, 
	.carousel__slide, 
	#news-carousel-column {
		height: 495px;
	}
	.caption-content {
	height: 246px;
	}
	.carousel__navigation,
	nav.carousel__navigation {
	top: 455px !important;
	}	
	#homepage-hero .hero-slider-content {
		position: relative;
		top: 20px;
	}
	.hero-slider-image img {
		height: initial;
	}
	#homepage-hero .carousel__viewport,
	#homepage-hero .carousel__slide,
	#homepage-hero #news-carousel-column { 
		height: 700px;
		background: #025ba5;
	}
	#homepage-hero .carousel__navigation { 
		top: calc(700px - 24px);
	}	
	#homepage-hero h2 {
		font-size: 46px;
		line-height: 46px;
	}
	#homepage-hero .caption {
		font-size: 24px;
		line-height: 28px
	}
	#homepage-hero #carousel__slide1-hero h2,
	#homepage-hero #carousel__slide1-hero .caption {
	  display: block;
	}
	#homepage-hero .hero-slider-content {
	  max-width: 100%;
	}
	#homepage-hero .slider-buttons a {
		display: inline;
	}
	.carousel::before,
	.carousel::after {
	  display: none;
	}
	/* Re-enable, shrink, and move the hero arrows up into the image region on mobile */
	#homepage-hero::before,
	#homepage-hero::after {
	  display: block;
	  top: 100px; /* nudge to sit over the image */
	  margin-top: 0;
	  transform: scale(0.6); /* shrink the chevron image */
	}
	#homepage-hero .carousel__prev,
	#homepage-hero .carousel__next {
	  top: 100px;
	  margin-top: 0;
	  height: 3rem;
	}
}
@media only screen and (max-width: 480px) {
	section.carousel {
	  max-width: 100%;
	  padding: 0;
	  height: 600px;
	}
	.carousel__image {
  	height: 233px;
	}
	.carousel__navigation {
		top: 400px;
	}
	#homepage-hero .hero-slider-content {
		position: relative;
	}
	#homepage-hero .carousel__viewport,
	#homepage-hero .carousel__slide,
	#homepage-hero #news-carousel-column { 
		height: 610px;
		background: #025ba5;
	}
	#homepage-hero .carousel__navigation { 
		top: calc(610px - 24px) !important;
	}
	#homepage-hero h2 {
		font-size: 46px;
		line-height: 46px;
	}
	#homepage-hero .caption {
		font-size: 24px;
		line-height: 28px
	}

	#homepage-hero .hero-slider-content {
		top: 20px;
	}
	#carousel__slide1-hero h2,
	#carousel__slide1-hero .caption {
	  display: block;
	}
}

/* Remove the autoplay keyframes.*/
.carousel__snapper,
.carousel__slide:last-child .carousel__snapper {
  animation: none !important;
}

/* 2. Opt the carousel out of browser scroll anchoring so
      slide changes never trigger a compensating page scroll. */
.carousel,
.carousel * {
  overflow-anchor: none;
}

/* 3. Neutralize the vertical anchor jump. */
#homepage-hero .carousel__slide,
#homepage-hero .carousel__snapper {
  scroll-margin-top: 100vh;
}