/* LAST UPDATED: 06.27.2024 - SM */

/* Not to be confused with site-header-main-nav.css, which is for the main navigation of all of evms.edu. 
hero.css only contains the "specialized" navigation that is overlaid on the hero video on the evms home page. */

/* Starting from the COVID-19 page where everything's in a content type: #internal-hero and .hero-section do not 
have any CSS attached to them on the live site. Neither does .hero. */

/* Hero h1 headings and the "lede" text are currently a part of the .evms-headings.css file */
/* Breadcrumb navs are currently a part of the breadcrumb-nav.css file */


.hero--internal {
    background-size: cover;
    bottom: 0;
    height: 100%;
    margin: 0 auto;
    max-width: 1440px;
    position: relative;
}

.hero--internal + .main {
  margin-top: 0.5em;
  position: relative;
  z-index: initial;
}

.hero--background-image {
    background-position: top;
    background-repeat: no-repeat;
    padding-top: 0;
}

.hero__video-wrapper {
    height: 0;
    overflow: hidden;
    position: relative;
    padding-bottom: min(1000px, calc(33% + 100px));
    /* Originally 16.25em with about 16 media queries of various sizes from at least 3 different stylesheets */
}

/* .hero__video is used regardless of whether the hero is a still image or a video */
.hero__video {
    left: 50%;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    width: 100%;
}

.hero--internal .hero__foreground {
    margin: 0 auto;
    max-width: 1280px;
    position: relative;
    width: 100%;
    z-index: auto;
}

.hero--internal .hero__foreground-container {
    margin-left: 0;
    padding-bottom: 0;
    /* padding-top: 4em; */
}





/* HOME PAGE */
.hero-container {
    position: relative;
}

.effect-container {
    overflow: hidden;
}

.logo-container {
    position: absolute;
    top: 20%;
    -moz-transition: transform 1s, opacity .7s;
    -o-transition: transform 1s, opacity .7s;
    -webkit-transition: transform 1s, opacity .7s;
    transition: transform 1s, opacity .7s;
    width: 50%;
    z-index: 1;
    left: 25%;
}

.logo {
    display: block;
    margin: 0 auto;
    opacity: 0.9;
    position: absolute;
    top: 0;
    z-index: 0;
    filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.5));
}

.evms-tag {
    color: var(--primary-neutral-light);
    font-size: 1.3em;
    line-height: 1.05em;
    margin: 0 0 1em;
    padding: 0.25em;
}

.evms-tag p {
    margin: 0;
}

.evms-tag p:first-of-type {
    font-weight: 700;
}

.evms-tag p:last-of-type {
    font-style: italic;
    font-size: 0.9em;
}

/* Buttons overlay for VHS rebrand on home page */
.schools-navigation{
	margin:10px 5%;
	width:90%;
	position:absolute;
	z-index:2;
    top: 25%; /* Take it back down to 20% after 5th school is added */
    right: -4%;
}

.schools-navigation li{
	display:block;
}

.schools-navigation li a{
	width:90%;
	padding:15px 6%;
	margin:8px 0;
	display:block;
	font-size: var(--base-font-size);
	text-decoration:none !important;
	background:var(--primary-color);
	color:#fff;
	clip-path: polygon(0 20px, 20px 0, 100% 0, 100% 100%, 0% 100%);	
	border:none;
	float:right;
	transition: all .3s ease-out;
    font-family: var(--base-font-family);
}

.schools-navigation li a:hover, 
.schools-navigation li a:focus{
	width:92%;
	background:var(--secondary-accent);
	color:var(--primary-dark);
    text-decoration: underline; 
}



/***** MEDIA QUERIES *****/
@media screen and (min-width: 320px) and (max-width: 500px) and (orientation: portrait) {
  .hero--internal .hero__foreground-container {
    padding-bottom: 0;
    padding-top: 0;
  }
}

@media screen and (min-width: 360px) and (max-width: 668px) {
  .schools-navigation {
    position: unset;
    z-index: unset;
    width: 100%;
  }
}

@media screen and (min-width: 360px) and (max-width: 991px) {
  /* .evms-tag {
    color: var(--primary-neutral-dark) !important;
  } */
}

@media screen and (max-width: 575px) {
  .hero--internal .hero__foreground {
    margin-top: -5px !important;
  }
}

@media screen and (min-width: 669px) and (max-width: 1193px) {
  .schools-navigation {
    margin: 1em auto;
    position: unset;
    width: 60%;
    z-index: unset;
  }
}
    
@media (min-width: 992px) {
    /* .evms-tag:not(.no-overlay) {
        bottom: 87px;
        color: var(--primary-neutral-light);
        left: 2%;
        margin: 0;
        padding: 0;
        position: absolute;
        text-shadow: 2px 2px 5px var(--primary-neutral-gray);
        width: 17em;
    } */
}

@media (min-width: 1194px) {
    .schools-navigation{
		margin-top:97;
		margin-right:2%;
		width:420px;
		float:right;
        position: absolute;
	}
}

@media (min-width: 1420px) {
	.schools-navigation{
		width:460px;
	}
}