body.body--header-home {
    padding-top: 0px !important;
}

a {
    border-bottom: none;
}

body {
    height: auto;
}

header {
    background-color: #ffffff;
    top: 0;
    position: sticky;
    width: 100%;
    z-index: 990;
    box-shadow: 0 10px 18px 0 rgba(0, 0, 0, .10);
  }
  
  .utility-nav {
    transition: transform .5s ease;
    top: 0;
    z-index: 990;
    width: 100%;
    display: block;
    line-height: 1.4;
  }
  
  body.user-logged-in .header-scroll__down .region-header.sticky {
    top: 38px;
  }
  
  body.user-logged-in.toolbar-tray-open .header-scroll__down .region-header.sticky {
    top: 78px;
  }
  
  body.user-logged-in .header-scroll__up .utility-nav,
  body.user-logged-in .header-scroll__up .region-header.sticky,
  body.user-logged-in .header-scroll__down .region-header.sticky {
    top: 38px;
  }
  
  body.user-logged-in.toolbar-tray-open .header-scroll__up .utility-nav,
  body.user-logged-in.toolbar-tray-open .header-scroll__up .region-header.sticky,
  body.user-logged-in.toolbar-tray-open .header-scroll__down .region-header.sticky {
    top: 78px;
  }

  .header__scroll-up .utility-nav {
    transition: all .5s ease;
    position: fixed;
    top: 0;
    z-index: zIndex(upper-999);
    width: 100%;
  }
  
  .header__scroll-up .utility-nav {
    transform: translateY(0);
  }
  
  .header__scroll-up .region-header.sticky {
    transform: translateY(0);
    transform: translateY(56px);
 
  }

  .header__scroll-down .utility-nav {
    transform: translateY(-56px);
  }
  
  .region-header.sticky .block-system-breadcrumb-block {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    transition: opacity .3s ease, height .3s ease;
  }



.container {
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    max-width: 1280px;
}

.header--menu--container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 0;
    height: 110px;
}

.menu-dropdown-0.inactive {
    height: 0;
    max-height: 0;
}

.menu-dropdown-0.active {
    opacity: 1;
    height: auto;
    max-height: initial;
    z-index: 2;
  }


.menu-dropdown-0 {
    opacity: 0;
    display: -ms-grid;
    display: grid;
    overflow: hidden;
}

/* Main menu item */

header nav .header--menu--container ul.menu.menu-level-0 {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

body ul.menu.menu-level-0 {
    height: 100%;
    margin-left: auto;
}

header nav .header--menu--container ul.menu.menu-level-0 > .menu-item:not(:last-of-type) {
    margin-right: 20px;
}

header nav .header--menu--container ul.menu.menu-level-0 > .menu-item {
    text-decoration: none;
    background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent)), -webkit-gradient(linear, left top, left bottom, from(#3E8EDE), to(#3E8EDE));
    background-image: -moz- oldlinear-gradient(transparent, transparent), -moz- oldlinear-gradient(#3E8EDE, #3E8EDE);
    background-image: linear-gradient(transparent, transparent), linear-gradient(#3E8EDE, #3E8EDE);
    -webkit-transition: background-size .5s ease;
    -moz-transition: background-size .5s ease;
    transition: background-size .5s ease;
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    height: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 38px;
    margin-top: 34px;
}

.header--menu--container ul.menu.menu-level-0 > .menu-item--active-trail {
    border-bottom-color: #FFFFFF;
}

ul.menu.menu-level-0 > .menu-item--active-trail {
    border-color: #3E8EDE;
}

header nav .header--menu--container ul.menu.menu-level-0 > .menu-item > a {
    -webkit-transition-property: color;
    -moz-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease;
    -moz-transition-timing-function: ease;
    transition-timing-function: ease;
}

header nav .header--menu--container ul.menu.menu-level-0 > .menu-item:last-of-type {
    margin-right: 20px;
}

.header--menu--container .menu-item a:not(.toolbar-icon) {
    text-decoration: none;
    color: #000;
    font-size: 22px;
    font-family: "ff-meta-serif-web-pro", sans-serif;
    font-weight: 300;
}

.header--menu--container .menu-item a:not(.toolbar-icon):hover {
    color: #3172AE;
}

a:active, a:hover {
    outline: 0;
}

header nav .header--menu--container ul.menu.menu-level-0 > .menu-item:hover {
    background-size: 0 3px, 100% 3px;
}

.header--search {
    border-left: 1px solid #D7E8F8;
    padding-left: 20px;
}

.header--search__icon {
    background-image: url(https://live-tufts-edu.pantheonsite.io/themes/custom/tuftsedu_theme/src/images/icons/search-blue.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    height: 18px;
    width: 18px;
    display: block;
    cursor: pointer;
    -webkit-transition: .2s ease;
    -moz-transition: .2s ease;
    transition: .2s ease;
}

@keyframes iconToBlack {
    0% {
      filter: brightness(1);
    }
  
    100% {
      filter: brightness(0);
    }
  
  }
  
  @keyframes iconToNormal {
    0% {
      filter: brightness(0);
    }
  
    100% {
      filter: brightness(1);
    }
  
  }
  


.header--search__icon:hover {
    -webkit-animation: iconToBlack 1s;
    -moz-animation: iconToBlack 1s;
    animation: iconToBlack 1s;
}

.header--search__icon:not(:hover) {
    -webkit-animation: iconToNormal 1s;
    -moz-animation: iconToNormal 1s;
    animation: iconToNormal 1s;
}


@media (min-width: 1025px) {
    .responsive-menu-toggle-wrapper.responsive-menu-toggle {
        display: none;
    }
}

.menu-dropdown-0 {
    opacity: 0;
    display: -ms-grid;
    display: grid;
    overflow: hidden;
}

.menu-dropdown-0.inactive {
    height: 0;
    max-height: 0;
}

header .menu-dropdown-0 {
    z-index: -1;
}

.menu-type-landing {
    position: absolute;
    width: 100%;
    background: #EBF3FB;
    left: 0;
    top: 110px;
}
.menu-type-landing .menu-dropdown__container {
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
    max-width: 1280px;
}

.menu-type-landing .menu-dropdown__container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 100px;
    width: 100%;
}

.menu-item {
    margin: 0;
    padding-top: 0.2em;
}

header ul.menu .menu-level-1 .menu-item--expanded {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 0;
    padding-top: 0;
    -webkit-transition: background-color .5s ease;
    -moz-transition: background-color .5s ease;
    transition: background-color .5s ease;
}

header ul.menu.menu-level-1 .menu-item {
    padding: 12px;
    border-bottom: 1px solid #D7E8F8;
}

header ul.menu.menu-level-1 .menu-item {
    padding: 12px;
    border-bottom: 1px solid #D7E8F8;
}

.menu-type-landing .menu-dropdown__container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 100px;
    width: 100%;
}

@media (min-width: 1180px){
    header .menu-dropdown__container .menu.menu-level-1 {
        margin-top: 45px;
    }
}

/* Mobile Styling */

@media (max-width:1024px) {

    .header--menu--container {
        display: none;
    }

    .mobile-toggle--wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 12px 0;
        width: 100%;
    }

    .mobile-toggle--wrapper .logo svg {
        max-width: 82px;
        height: auto;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
    }

    .responsive-menu-toggle-icon {
        box-sizing: border-box;
        display: block;
        width: 44px;
        height: 35px;
        z-index: 4;
        margin-top: 0;
        position: relative;
    }

    .responsive-menu-toggle-icon:before, .responsive-menu-toggle-icon:after, .responsive-menu-toggle-icon span.icon {
        transition: none 0.4s ease-out 0.1s;
        transition-property: -webkit-transform, top, bottom, left, opacity;
        transition-property: transform, top, bottom, left, opacity;
    }

    .responsive-menu-toggle-icon span.icon {
        top: 14px;
    }

    .responsive-menu-toggle-icon:before, .responsive-menu-toggle-icon:after, .responsive-menu-toggle-icon span.icon {
        background: #fff;
        content: '';
        display: block;
        width: 20px;
        height: 3px;
        position: absolute;
        top: 0;
        left: 13px;
        border-radius: 2px;
    }

    .responsive-menu-toggle-icon::before {
        background-image: url(https://live-tufts-edu.pantheonsite.io/themes/custom/tuftsedu_theme/src/images/icons/icon-menu-rest.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        content: "";
        height: 32px;
        width: 32px;
        top: 0;
    }

    .responsive-menu-toggle-icon span.icon, .responsive-menu-toggle-icon::after {
        display: none;
    }

    .responsive-menu-toggle-icon span.label {
        display: none;
    }


}