/* LAST UPDATED: 07.01.2024 */
    
.mm-slideout {
  z-index: auto;
}

/* This style was handcoded into the page ??? I guess so the COVID-19 alert banner could be above it. */
#evmsHeader {
  margin-top: 0; /* 0 if no COVID banner, 50px if there is a COVID banner */
}

/* For home page only */
.home .site__header {
  /*transition-delay: 1.2s, 0;
  -webkit-transition-delay: 1.2s, 0;
  transition-duration: 0.9s, 0.6s;
  -webkit-transition-duration: 0.9s, 0.6s;
  transition-property: transform, padding, -webkit-transform;
  -webkit-transition-property: padding, -webkit-transform;*/
}

.site__header {
  /*animation: background-make-transparent 2s;
  -moz-animation: background-make-transparent 2s;
  -o-animation: background-make-transparent 2s;
  -webkit-animation: background-make-transparent 2s;*/
  background: var(--primary-neutral-light);
  border-bottom: 2px solid transparent;
  left: 0;
  padding: 0.5em 0 0;
  position: fixed;
  top: 0;
  /*transition-delay: 1.2s, 0;
  -webkit-transition-delay: 1.2s, 0;
  transition-duration: 0.9s, 0.6s;
  -webkit-transition-duration: 0.9s, 0.6s;
  transition-property: transform, padding, -webkit-transform;
  -webkit-transition-property: transform, padding, -webkit-transform; */
  width: 100%;
  z-index: 9999;
}

.site__header .no-animation {
  animation: none;
  -moz-animation: none;
  -o-animation: none;
  -webkit-animation: none;
  background: rgba(255, 255, 255, 0);
}

.site__header.sps--blw {
  /*-moz-animation: background-make-white 2s;
  -o-animation: background-make-white 2s;
  -webkit-animation: background-make-white 2s;
  animation: background-make-white 2s;
  -moz-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;*/
}

.site__header .container {
  margin: 0 auto; 
  max-width: 95%;
}

/* The .site__logo is transparent until user scrolls down. That's why it's here twice. */
.site__logo {
  background-image: url(/media/vhs/assets/logos/VirginiaHealthSciences_horizontal_RGB_fullcolor.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  text-indent: -9999px;
}

.site__logo,
.site__logo:hover {
  color: transparent;
}

.site__header .site__logo {
  background-image: url(/media/vhs/assets/logos/VirginiaHealthSciences_horizontal_RGB_fullcolor.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  /*! display: block; */
  text-indent: -9999px;
  margin: -0.33em 0 0 -1.5em;
  opacity: 1; /* Formerly 0 until new logo wouldn't show */
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  visibility: visible; /* Formerly hidden */
}

.site__header .sps--blw .site__logo {
  opacity: 1 !important;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  visibility: visible !important;
}

.site-nav-give {
  color: var(--primary-accent);
  font-family: var(--heading-font-family);
  font-size: var(--base-font-size);
  font-weight: 400;
  left: 0;
  margin: -15px 30px 0 0;
  opacity: 1;
  position: relative;
  text-align: center;
  text-decoration: none !important;
  text-transform: capitalize; /* Formerly uppercase */
  visibility: visible;
  width: 108px;
}

.site-nav-give,
.site-nav-give::after,
.site-nav-give::before,
.site-nav-give-move {
  -moz-transition: all 0.3s, left 0.5s;
  -o-transition: all 0.3s, left 0.5s;
  -webkit-transition: all 0.3s, left 0.5s;
  transition: all 0.3s, left 0.5s;
}

.site-nav-give::after,
.site-nav-give::before {
  border: 3px solid transparent;
  content: " ";
  display: inline-block;
  height: 30px;
  position: absolute;
  width: 8px;
}

.site-nav-give:focus,
.site-nav-give:hover {
  color: var(--primary-color);
}

.site-nav-give::after {
  border-left: none;
  right: 0;
}

.site-nav-give::before {
  border-right: none;
  left: 0;
}

.site__header.sps--abv:not(.no-animation) .site-nav-give {
  display: none;
  opacity: 0;
  visibility: hidden;
}

#form-search {
  margin-right: 25px;
}

#form-search,
#site-menu,
#toggle-site-nav {
  margin-top: -10px; /* Formerly -15px */
}

.site__header.sps--abv #searchInput {
  opacity: 0.5;
}

#searchInput {
  font-size: 1.125em;
  transition: all 500ms;
  -moz-transition: 500ms;
  -o-transition: 500ms;
  -webkit-transition: 500ms;
  width: 100%;
  border: 1px solid var(--secondary-neutral-dark-gray);
  border-radius: 0;
}

#searchInput:hover:focus:focus-visible:focus-within {
  border: 1px solid var(--primary-accent);
  outline: 1px solid var(--primary-accent);
}

.site__header.sps--abv .btn-search.homepage {
  background: url(//www.evms.edu/media/evms_public/content/style_assets/refresh_2018_style_assets/images/search-icon-white.svg)
    no-repeat center;
}

.site__menu {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: var(--primary-accent);
  cursor: pointer;
  display: block;
  font-family: var(--heading-font-family);
  font-size: 0.9em;
  font-weight: 700;
  outline: none;
  text-decoration: none;
  text-transform: uppercase;
  /*transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;*/
}

.site__header.sps--blw .site__menu {
  color: var(--primary-accent);
  font-family: var(--heading-font-family);
  letter-spacing: 2px;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
} 

.site__header.sps--blw .hamburger-menu div, 
.site__header.sps--blw .hamburger-menu div::after, 
.site__header.sps--blw .hamburger-menu div::before {
  /* background-color: var(--primary-accent); */
}

.sps--blw .site__menu:focus .hamburger-menu div, 
.sps--blw .site__menu:hover .hamburger-menu div, 
.sps--blw .site__menu:focus .hamburger-menu div::after, 
.sps--blw .site__menu:hover .hamburger-menu div::after, 
.sps--blw .site__menu:focus .hamburger-menu div::before, 
.sps--blw .site__menu:hover .hamburger-menu div::before {
  /*background-color: var(--primary-accent);
  border: 1px solid var(--primary-color); */
}

.hamburger-menu {
  transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
  margin-top: 0.33em;
  margin-right: 0.5em;
}

/* .trigger--is-active class is added when the #toggle-site-nav button is clicked */
.trigger--is-active .hamburger-menu div {
  background: transparent;
  height: 100%;
  padding-right: 0.25em;
  padding-top: 0.5em;
  transform: translate(4px, -3px);
  -webkit-transform: translate(4px, -3px);
}

.trigger--is-active .hamburger-menu div::before {
  -webkit-transform: translateX(-2px) rotate(45deg);
  transform: translateX(-2px) rotate(45deg);
}

.trigger--is-active .hamburger-menu div::after {
  -webkit-transform: rotate(-45deg) translateY(-5px) translateX(2px);
  transform: rotate(-45deg) translateY(-5px) translateX(2px);
}

/* The "CLOSE" text when menu is opened */
.hamburger-menu,
.site__menu-text {
  display: inline-block;
  vertical-align: middle;
}

.site__menu-text {
  color: var(--primary-accent);
  font-family: var(--heading-font-family);
  letter-spacing: 2px;
  margin-top: -0.33em;
}

/* There is an unnamed div inside of .hamburger-menu */
/* The ::after and ::before controls the formation and animation of the X beside "Close" */
.hamburger-menu div,
.hamburger-menu div::after,
.hamburger-menu div::before {
  background-color: var(--primary-accent);
  border-radius: 100px;
  display: block;
  height: 3px;
  margin-bottom: 2px;
  transition: transform 0.3s ease-in-out;
  -moz-transition: all 0.3s;
  -webkit-transition: 0.3s ease-in-out;
  width: 18px;
}

.hamburger-menu div::after,
.hamburger-menu div::before {
  content: "";
}

.hamburger-menu div::before {
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
}



#menu {
  top: 60px;
  width: 100%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  height: 94% !important;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 3;
}

/* Despite the silc- prefix, this is a custom class */
.silc-nav__home {
  color: var(--primary-neutral-light);
  font-size: 1em;
  padding: 1em; /* Formerly 0 */
  text-align: left;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
}

/* For while main nav menu is in repair because otherwise some of the lists/sublists jump into very large text -SM 09.05.2023 */    
#menu ul, #menu li {
  font-size: 1em !important;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

.form__input {
  border-radius: 10px;
  border: 1px solid var(--secondary-accent);
  font-size: 1.25em;
  padding: 0.5em 1.5em;
  color: var(--primary-neutral-dark);
  display: block;
  width: 100%;
  font-family: var(--secondary-font-family);
}

.form--search .form__input,
.searchbox .form__input {
  display: block;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

/* KEYFRAME ANIMATIONS FOR NAVBAR AND MENUS */
@-moz-keyframes background-make-transparent {
  0% {
    background: rgba(255, 255, 255, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
  }
}
@-o-keyframes background-make-transparent {
  0% {
    background: rgba(255, 255, 255, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
  }
}
@-webkit-keyframes background-make-transparent {
  0% {
    background: rgba(255, 255, 255, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
  }
}
@keyframes background-make-transparent {
  0% {
    background: rgba(255, 255, 255, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
  }
}
@-moz-keyframes background-make-white {
  0% {
    background: rgba(255, 255, 255, 0);
  }
  100% {
    background: rgba(255, 255, 255, 1);
  }
}
@-o-keyframes background-make-white {
  0% {
    background: rgba(255, 255, 255, 0);
  }
  100% {
    background: rgba(255, 255, 255, 1);
  }
}
@-webkit-keyframes background-make-white {
  0% {
    background: rgba(255, 255, 255, 0);
  }
  100% {
    background: rgba(255, 255, 255, 1);
  }
}
@keyframes background-make-white {
  0% {
    background: rgba(255, 255, 255, 0);
  }
  100% {
    background: rgba(255, 255, 255, 1);
  }
}

/* jquery.mmenu customizations */
.mm-wrapper_blocking .mm-wrapper__blocker {
  display: none; /* jquery.mmenu.all.css toggles between display none and block */
  top: 84px;
}

.mm-tabend,
.mm-tabstart {
  display: none !important;
}

.mm-menu {
  background: var(--primary-dark);
}

.mm-navbars_top {
  border-bottom-style: none;
}

.mm-navbars_bottom,
.mm-panels,
.mm-panels > .mm-panel.mm-panel_opened,
.mm-navbars_top {
  position: static;
}

.mm-navbars_bottom > .mm-navbar,
.mm-navbars_top > .mm-navbar {
  margin-left: 0; /* This is the only custom property for this class. */
}

.mm-navbars_bottom .mm-navbar {
  background-color: var(--primary-dark);
  text-decoration: none;
  display: block;
  padding: 0.25em;
}

.mm-navbars_bottom div {
  background-color: var(--primary-dark);
  padding: 1em 0.5em;
  border-bottom-left-radius: 8px;
}

.mm-navbars_bottom .mm-navbar div:nth-child(1) {
  height: initial;
}

.mm-navbars_bottom .mm-navbar div:nth-child(2) {
  padding-top: 0px;
}

.mm-navbars_bottom ul {
  list-style: none;
  padding-left: 0;
  font-weight: 600;
}

.mm-navbars_bottom ul li {
  margin-bottom: 0.75em;
}

.mm-navbars_bottom .mm-navbar a {
  text-decoration: none;
  display: block;
  font-size: 0.8em;
  padding: 0.25em;
}

.mm-navbars_bottom .btn-search {
  background: url(//www.evms.edu/media/evms_public/content/style_assets/refresh_2018_style_assets/images/search-icon-gray.svg)
    no-repeat center;
  background-size: auto;
  display: block;
  position: relative;
}

.mm-navbar {
  background: var(--primary-color); /* Background of main nav, currently EVMS blue on live evms.edu */
  border-top: 1px solid hsla(0, 0%, 100%, 0.25);
  border-top-width: 1px;
  border-bottom: none;
  border-bottom-width: medium;
  padding: 0;
  height: auto;
  margin-right: -20px;
  margin-left: -20px;
  position: relative;
}

.mm-menu a,
.mm-menu a:active,
.mm-menu a:focus,
.mm-menu a:hover,
.mm-menu a:link,
.mm-menu a:visited {
  color: var(--primary-neutral-light);
  font-weight: 400;
  text-decoration: none !important;
  line-height: 1.5em;
}

.mm-panels {
  background: var(--primary-color);
  top: 0;
  position: relative;
  z-index: -1;
}

.mm-menu_navbar_top-1 .mm-panels {
  top: 0;
}

.mm-panel_has-navbar {
  padding-top: 0;
}

#mm-1.mm-panel_has-navbar .mm-navbar,
#mm-1.mm-panel_has-navbar::before {
  display: none;
}

.mm-panel {
  background: var(--primary-color);
}

.mm-panel::after {
  content: "";
  display: block;
  height: 0;
}

.mm-panel::before {
  content: "";
  display: block;
  height: 0;
}

.mm-panels > .mm-panel > .mm-listview:first-child, 
.mm-panels > .mm-panel > .mm-navbar + .mm-listview {
  margin-top: 0px;
}

a.mm-btn.mm-btn_prev.mm-navbar__btn {
   background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAGCAYAAACvkeyYAAAABGdBTUEAALGPC/xhBQAAAFBJREFUKBXNksENACAIA6sPd3BSV9A1HA7HwPbDCtDkkvK7hMLdB9nESHbkIJfRVAAsUilHYkajWcmKLq8XEwodid246pQLDU0700tJdmL8H4UvM27Pb+uKAAAAAElFTkSuQmCC) no-repeat 50%;
   background-size: 19px 3px;
   border-right: 1px solid hsla(0, 0%, 100%, .25);
   border-top: none;
   content: "";
   display: block;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   transition: background-color 0.3s ease-in-out;
   width: 25%;
}

a.mm-btn.mm-btn_next.mm-listitem__btn {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAABGdBTUEAALGPC/xhBQAAAO1JREFUWAntVkEOgzAMa3fgD3vpvsC+0cfBMzpnQhtDriALpT0kUgWzUteYoDkEY+WcB6wRa1qW3A9GWvv2RRQuPzXamY0MkCNObWsy0oZoJRBFjCOiGH4Uux1tvLrPhWkdd8fcMa0D2n6fMXdM64C2v98Zw3/wOk9tU8Lu75ITuxt5gySVd56LcgPyR+mARvhThEl2ujcSUDp27nfGIDmVZDfEU8CrNA0/9p9Z3+G3uiKqGIdHa+ZKTazrr7Lmg//N7Y5prXPH3DGtA9p+n7EWjs3kUIaRtjJ0xqtMhJ5hpK0ihNSzznOfPGU98gUkqX8suoG6xAAAAABJRU5ErkJggg==);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 19px 19px;
    border-left: 1px solid hsla(0, 0%, 100%, .25);
    border-top: 1px solid hsla(0, 0%, 100%, .25);
    color: transparent;
    display: block;
    padding: 25px;
    width: 25%;
}

.mm-btn_prev::before,
.mm-btn_next::after {
  border: 2px solid var(--primary-neutral-light);
  /* border-radius: 951px; */
  box-sizing: inherit;
  content: "";
  display: block;
  height: 2.05em;
  left: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  width: 2.05em; 
}

/* If on home page/nothing chosen, then it just says "Menu" */
/* If on a secondary+ page, then it displays the parent section page (ex.: Education), and the button to go back to it */
.mm-navbar__title {
  margin-left: 25%;
  padding-left: 1em;
  text-align: left;
  transition: background 0.3s ease-in-out;
  display: block;  /* cannot display:none or hides main nav item */
  
  /* height: 0;
  margin: 0;
  padding: 0; */
}

li.mm-listitem {
  border-top: 1px solid hsla(0, 0%, 100%, .25);
}

.mm-navbar .form--search {
  margin-bottom: 2em;
}


.tt-menu {
    background-color: #ffffff;
    padding: 10px;
    border: 1px #c2c2c2 solid;
    width: 100%;
}





/***** MEDIA QUERIES *****/
@media (min-width: 361px) {
  .site__header.sps--abv.no-animation .site-nav-give,
  .site__header.sps--blw:not(.no-animation) .site-nav-give {
    margin: -15px 30px 0 0;
  }

  .site__header.sps--abv.no-animation .site__menu,
  .site__header.sps--blw:not(.no-animation) .site__menu {
    margin: unset;
    padding: 1px 7px 2px 7px;
    width: 90px;
  }
}

@media (min-width: 500px) {
  .site__logo {
    height: 72px;
    width: 210px;
  }

  #menu {
    max-width: 400px;
    top: 82px;
    z-index: 11;
  }
}

@media screen and (max-width: 576px) {
  #evmsHeader {
    margin-top: 0;
    height: 25px;
  }
  
  #toggle-site-nav {
    margin-top: 0;
  }
}

@media (min-width: 576px) {
  .site__header.sps--abv.no-animation .site-nav-give,
  .site__header.sps--blw:not(.no-animation) .site-nav-give {
    width: auto;
  }
}

@media screen and (max-width: 668px) {   
  .site-nav-give {
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .site__header .site__logo {
     transform: scale(1.25);
     -webkit-transform: scale(1.25);
    margin: 1em 1em -1.5em 1em; /* May have to be adjusted 06.25.2025 */
  }
}

@media (min-width: 992px) {
  /* For new VHS logo */
  .site__logo {
    height: 77px;
    width: 500px;
  }
  
  /* This is an override */
  .silc-grid {
    margin: 0 50px;
  }

  .mm-navbars_bottom .form__input {
    width: 95%;
  }
  
  #toggle-site-nav {
    margin-right: 1em;
    display: inline-block;
    width: 108px;
  }
}

@media screen and (max-width: 1195px) {
  #form-search {
    display: none !important;
  }
}


