.header_module{
  position: relative;
  background: #9d1818 url("https://publicpolicy.cornell.edu/wp-content/themes/sopp/images/brooks/banner_secondary.jpg") 50% 50% no-repeat;
  background-size: cover;

  /*   position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%; */

  /*   float: left; */
  width: 100%;
  z-index: 9999;
}

.header-container {
  padding-left: clamp(20px, 3.75vw, 60px);
  padding-right: clamp(20px, 3.75vw, 60px);
  width: min(1400px, 100%);
  margin: auto;
}

#cu-header {
  position: relative;
  z-index: 7;
  background: none !important;
  padding-top: 45px;
}
#cu-header .cu-brand {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-top: 35px;
  padding-bottom: 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  font-family: Avenir Next, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica Neue, sans-serif;
  font-weight: 500;
  padding-top: 5px;
  padding-bottom: 5px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
}

#cu-header li.menu__item.menu__item--depth-1 > a{
  font-weight: 600 !important; 
}

#site-header nav.menu {
  padding-top: 20px;
}
#site-header ul.megamenu-top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: no-wrap;
  -ms-flex-wrap: no-wrap;
  flex-wrap: no-wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-around;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-around;
  border-top: 2px solid #b31b1b;
  margin: 0px;
  position: relative;
}

#site-header ul.megamenu-top.active{
  background:rgba(34, 34, 34, 0.95) !important
}

#site-header ul.megamenu-top li.menu__item--depth-1.menu__item--open{
  border-radius: 2px !important;
  background: #b31b1b !important;
}

#site-header ul.megamenu-top li.menu__item--depth-1 {
  line-height: 1;
  z-index: 1;
  padding: 0.25rem calc(0.7rem + 0px);
  margin: 1.4em 0;
}

#site-header ul.megamenu-top li.menu__item--depth-1 > a{
  font-weight: 600 !important;
}

#site-header li .menu__submenu-wrapper{
  display: none; 
}

#site-header li.menu__item--open .menu__submenu-wrapper{
  display: none;
  position: absolute;
  left: 0;
  top: calc(1.4em + 35px);
  right: 0;
  width: 100%;
  height: 100%; 
  display: flex;
  height: fit-content;
  background: linear-gradient(to bottom, rgba(34, 34, 34, 0.95) 0%, rgba(34, 34, 34, 0.95) 100%) 0 100% no-repeat;
}

#site-header .menu__item--open ul.menu__submenu--level-2 {
  columns: 2;
  height: fit-content;
  width: 66%;
}

#site-header .menu__item--open ul.menu__submenu--level-2 > li {
  flex: 50% 0 0;
}

/* Wrapper Features */
#site-header .menu__item--open .featured_content {
  width: 33%;
}

#site-header .menu__item--open .featured_content img{
  width: 100%;
}

.menu__item--open .menu__submenu.menu_wrapper_features > ul{
  flex: 2;
}

.menu__item--open .menu__submenu.menu_wrapper_features .featured_content {
  flex: 1;
  padding: 0 0 0 2em;
  border-left: 2px solid #343434 !important;
}

#site-header .featured_content img {
  margin: 1em 0;
}

#site-header .featured_content h2 {
  font-size: 26px;
  margin: -0.1em 0 0.5em;
  font-weight: 400;
  color: #ccc;
  font-family: "freight-text-pro", serif;
  line-height: 1.2;
}

#site-header .menu_wrapper_features .link-button {
  padding: 0.5em 0.9em !important;
  line-height: revert !important;
  text-decoration: none;
  display: inline-block;
  background: #b31b1b !important;
  font-size: 17px;
}

#site-header .menu_wrapper_features {
  padding: 30px;
  /*   margin-top: -51px;
  padding-top: 115px; */
}
#site-header .menu_wrapper_features > ul > li {
  color: #ccc;
  font-size: 16px;
  margin: 0 0 2.5em;
}
#site-header .menu_wrapper_features > ul > li ul {
  margin-top: 0.8em !important;
  background: none;
  position: revert !important;
  overflow: revert;
  height: revert;
  opacity: 1;
  z-index: 101;
  width: 100%;
  min-width: revert;
  max-width: revert;
  margin: 1em 0 0 !important;
  padding-left: 13px;
  border-left: 3px solid rgba(255, 255, 255, 0.1) !important;
}

#site-header .menu_wrapper_features > ul > li ul > li {
  font-size: 16px;
  margin: 0px;
}

#site-header .menu_wrapper_features a {
  display: revert;
  padding: revert;
  background: none;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.125em;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}


@media screen and (max-width: 1280px) {
  #cu-header .cu-brand {
    justify-content: center;
  }
}











/* Menu */

.menu--desktop {
  display: block;
}

.menu--mobile {
  display: none;
  background: rgba(51, 51, 51, 0.95);
  min-height: 100vh;
  position: absolute;
  top: 0;
  padding: 10px;
  z-index: 99999;
}

.menu--mobile .menu__item .menu__link{
  font-weight: 400; 
}

.menu--mobile .menu__item--depth-1{
  padding: 0px;
  border-top: 0.5px solid #CED4DB;
  position: relative !important;
}

.menu--mobile .menu__item--depth-1 > a{
  padding: 10px; 
  height: 60px;
  display: flex;
  align-items: center;
}

.menu--mobile .menu__item--depth-1 .menu__child-toggle,
.menu--mobile .menu__item--depth-1 .menu__child-toggle-icon{
  opacity: 1 !important; 
}

.menu--mobile .menu__item--depth-1 .menu__child-toggle{
  background-position: center;
  width: 55px;
  height: 60px;
  line-height: 1;
  background: #555;
  border-left: 0.5px solid #CED4DB;
  outline: 0px;
  height: 60px;
}
.menu--mobile .menu__item--depth-1 .menu__child-toggle-icon{
  margin: auto !important; 
}

.menu--mobile .menu__item--depth-1 .menu__submenu--level-2{
  position: relative; 
  margin-left: 20px;
  background: rgba(0, 0, 0, 0.3);
  width: calc(100% - 20px); 
}

.menu--mobile .menu__submenu .menu__item{
  border-bottom: 1px solid #444;
}

.menu--mobile #mobile-close{
  float: right;
  -webkit-appearance: none;
  box-shadow: none !important;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  padding: 14px 1.5em;
  text-decoration: none;
  background: transparent;
  -webkit-transition: background-color .15s;
  -moz-transition: background-color .15s;
  -o-transition: background-color .15s;
  -ms-transition: background-color .15s;
  transition: background-color .15s;
}

.menu--mobile #mobile-close:before{
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23fff'%3E%3Cpath d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z'/%3E%3C/svg%3E");
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  speak: never;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 24px;
}

.menu--mobile #mobile-home{
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  color: #fff;
  padding: 14px 1.5em;
  text-decoration: none;
  background: transparent;
  -webkit-transition: background-color .15s;
  -moz-transition: background-color .15s;
  -o-transition: background-color .15s;
  -ms-transition: background-color .15s;
  transition: background-color .15s;
}

.menu--mobile #mobile-home:before{
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='%23fff'%3E%3Cpath d='M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z'/%3E%3C/svg%3E");
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  speak: never;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 24px;
}

@media (max-width: 992px) {
  .menu--desktop {
    display: none;
  }

  .menu--mobile.active {
    display: block;
  }
}















/* Menu items */

.menu__item, .sub-menu .menu__item.menu__item--depth-1 {
  position: relative;
}
.menu__item.menu__item--depth-1 {
  position: initial;
  margin-top: 0px;
}
.menu__link {
  font-size: 16px;
  line-height: 1.667rem;
  text-decoration: none;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
  font-weight: bold;
}

@media (min-width: 768px) and (max-width: 1150px) {
  .menu__link {
    font-size: 0.833rem;
  }
}

@media (max-width: 767px) {
  .menu__item {
    display: block;
    width: 100%;
  }

  .menu__link {
    display: block;
    font-size: 1.083rem;
  }
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  padding: 0.7rem 0.875rem;
  /*   text-transform: uppercase; */
}

@media (max-width: 767px) {
  .menu__item--depth-1 {
    border-top: 2px solid #CED4DB;
    padding: 0;
  }

  .menu__item--depth-1 > .menu__link {
    padding: 0.35rem 1.225rem;
  }

  .menu__item--depth-1 > .menu__link--active-link:after {
    content: none;
  }
}

/* Menu items - submenus */

.menu__submenu {
  /*   border-radius: 3px; */
  display: none;
  left: 0;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: 100%;
  width: 100%;
  /*   width: 270px; */
  z-index: 99;
}

.menu__item--open > .menu__submenu, 
.menu__item--open .menu__submenu--level-3 {
  display: block;
}

.menu__submenu--level-2 {
  transform: unset;
  padding: 0;
  list-style-type: none;
}
.menu__item--depth-2 > button {
  display: none;
} 
.menu__submenu--level-3 {
  position: initial;
  list-style-type: none;
  padding: 0;
  padding-left: 13px;
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
  transform: unset;
}

.menu__submenu .menu__item {
  padding: 0;
  width: 100%;
}

.menu__submenu .menu__link {
  display: block;
  padding: 0.7rem 1.05rem;
  transition: background-color 0.3s;
  width: 100%;
}


/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
  padding-right: 3rem;
}

.menu__submenu--level-2 > .menu__item:first-child > .menu__link {
  position: relative;
  z-index: 2;
}
}

@media (max-width: 767px) {
  .menu__submenu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: static;
    transform: unset;
    width: 100%;
  }

  .menu__submenu .menu__item {
    background-color: #FFF;
    border-bottom: none;
    border-top: 2px solid #EBEFF3;
    padding: 0;
  }

  .menu__submenu .menu__link {
    display: block;
    padding: 0.7rem 2rem;
    transition: none;
    width: 100%;
  }

  .menu__submenu .menu__item .menu__link:hover,
  .menu__submenu .menu__item .menu__link:focus {
    background-color: inherit;
    transition: none;
  }

  .menu__item--has-submenu > .menu__link {
    width: 70%;
  }

  .menu__submenu--level-3 .menu__item .menu__link {
    padding: 0.7rem 3rem;
  }
}

/* Menu icons */

@media(min-width: 768px) {
  .menu__submenu .menu__child-toggle {
    margin-left: auto;
    padding: 0 1.05rem;

  }

  .menu__child-toggle {
    position: absolute;
    right: 5px;
    top: 30px;
    z-index: 2;
  }

  .menu__item--depth-1 > .menu__child-toggle {
    position: static;
    right: 0;
    top: 0;
    vertical-align: middle;
    background-color: unset;
    color: #fff;
    border-style: none;
  }

  .menu__child-toggle-icon {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top-style: solid;
    border-top-width: 7px;
    display: block;
    height: 0;
    margin-left: 1px;
    width: 0;
  }
}

@media (max-width: 767px) {
  .menu__child-toggle {
    background-position: center right 30px;
    background-repeat: no-repeat;
    background-size: 20px;
    border: none;
    cursor: pointer;
    height: 55px;
    padding: 15px 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    opacity: 0;
  }

  .menu__child-toggle-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='%23fff'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");    background-repeat: no-repeat;
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 1.05rem;
    transition: transform 0.4s;
    width: 20px;
    opacity: 0;
  }

  .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
    transform: rotate(180deg);
    transition: transform 0.4s;
    opacity: 0;
  }
}


/* Submenu */

.sub-menu .menu__link {
  font-size: 14px; 
}

.sub-menu .menu__item--depth-1{
  padding: 0.25rem calc(0.7rem + 0px);
}

.sub-menu .menu__item--depth-1.menu__item--open{
  background-color: #4A1A1C; 
}

.sub-menu .menu__submenu--level-2{
  background-color: rgba(34, 34, 34, 0.92);
  width: fit-content;
}

.sub-menu .menu__item--depth-2 > a{
  white-space: nowrap;
  padding: 5px 10px;
}

.menu__item:after{
  display: none; 
}
