/* Global */
#utility-nav {background-color: #000;overflow: hidden;}
#masthead .grid-container {
    padding: 0;
    max-width: 78.125rem;
}
/* Prevent FOUC */
.no-js .top-bar {display: none;}

.sticky {z-index: 3;}
@media screen and (min-width: 40em) {
  .no-js .top-bar {display: block;}
  .no-js .title-bar {display: none;}
}
#masthead h1 {font-size: initial;}
#masthead h1 img {
    width: 300px;
    height: auto;
    padding: 0.5em 0 0 0;
    transition: all .5s ease;
}

#masthead .is-stuck h1 img {
    width: 235px;
}
#main-nav {
    border-bottom: 1px solid rgba(255,255,255,1);
    transition: border-bottom .3s;
}
#main-nav.is-stuck {
    border-bottom: 1px solid rgba(0,0,0,.14);
    transition: border-bottom .3s;
}

#masthead #utility-nav a:not(.button) {
    color: #fff; 
    font-size: 0.7rem;
}
#masthead #utility-nav a:not(.button):hover,
#masthead #utility-nav a:not(.button):focus,
#masthead #utility-nav ul:not(.align-right) a.selected {
    color: #ea0000;
}

#search-icon {
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
    transition: .3s color;
}
#search-icon:focus {
    color: var(--brightred);
}

/* #masthead #main-nav {border-bottom: 5px solid #bd4f19;} */

#masthead #main-nav .top-bar {padding: 0;}
.top-bar, .top-bar ul {background-color: #fff;}
#masthead #main-nav .is-dropdown-submenu {border: none;}
#masthead #main-nav .is-dropdown-submenu > li {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
#main-nav .drilldown a {
	background: transparent;
	color: #000;
}
#main-nav .drilldown .is-drilldown-submenu-parent > a::after {border-color: transparent transparent transparent #000;}
#main-nav .drilldown .is-drilldown-submenu {display: block;}
.menu-icon {
    font-size: 0;
    position: absolute;
    right: 4%;
    width: 2rem;
}
ul.vertical.large-horizontal.menu.dropdown:hover li > a:not(.hover) {
    opacity: 0.4;
}
#responsive-menu ul.vertical.large-horizontal.menu.dropdown li > a:hover,
#responsive-menu ul.vertical.large-horizontal.menu.dropdown li > a:focus {
    opacity: 1;
}

.hide-for-large:hover, .hide-for-large li:hover,
.hide-for-large:focus, .hide-for-large li:focus {background-color: #f2b826;}
.vertical > .hide-for-large:last-of-type:hover,
.vertical > .hide-for-large:last-of-type:focus { background-color: inherit;}

.hide-for-large .input-group {
    padding: 0.5em 1em 0 1em;
}

#masthead #utility-nav .button.apply {
  background-color: #ffffff;
  height: 25px;
  padding: 0.1rem 0.9375rem;
  border-radius: 0.3rem;
  margin: 0.75rem 1rem 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #b60000;
}
#masthead #utility-nav .button.apply:hover,
#masthead #utility-nav .button.apply:focus {
    background-color: #cc0000;
    color: #ffffff;
}
.reveal {outline: none;}
.reveal-overlay {background: rgba(10,10,10,.85);}

/* Masthead Mobile Cards */
.menu .card-container {
    max-width: 100%;
    display: flex;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.menu .card-container img {
    max-width: 90%;
    max-height: 300px;
    padding-bottom: 1rem;
}
#masthead .submenu .card-body {
    padding-top: .7rem;   
}
#masthead .submenu .card-body h2 {
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 0;
}
#masthead .submenu .card-body h2 small {
    font-size: .8rem;
    font-weight: 300;
    color: var(--grey);
}
#masthead .submenu .card-body .small {
    font-size: .8rem;
    line-height: 1.5;
}
#masthead .submenu .card-body i {
    color: var(--brightred);
    margin-right: .5rem;
}
#masthead .card-body .masthead-socialLinks {
    margin-top: 1rem;
    display: flex;
    justify-content: space-around;
}
#masthead .submenu .card-body .fab {
    color: var(--brightred);
    margin-right: 0;
}
#masthead .mega-menu .submenu .card-link {
    font-size: .9rem;
    color: var(--brightred);
}



/* ALERTS */
#alertDiv {
    background: var(--grey);
    position: relative;
    padding: 1rem 2.25em 1rem 0;
    color: #fff;
}
#alertDiv i {
    font-size: 2em;
    margin-top: .75rem;
}
#alertDiv h2 {
    font-size: 1.1rem;
}
#alertDiv p {
    font-size: .9rem;
    color: #fff;
}
#alertDiv h2,
#alertDiv p {
    margin-bottom: .25rem;
}
#alertDiv a {
    text-decoration: underline;
    color: #eee;
    /*padding: 0 .5rem;*/
}

#alertDiv.levelSevere {
    background: #111;
    color: #E63D40;
    border-bottom: 2px solid #E63D40;
}
#alertDiv.levelModerate {
    background: #333;
    color: #FB7318;
    border-bottom: 2px solid #FB7318;
}
#alertDiv.levelLow {
    background: #555;
    color: #FFCA0A;
    border-bottom: 2px solid #FFCA0A;
}
.levelSevere p,
.levelModerate p,
.levelLow p {
    color: #eee;
}
#alertDiv .close-button {
    position: absolute;
    bottom: 0;
    color: #eee;
    transition: color .3s;
}
#alertDiv.levelSevere .close-button:hover,
#alertDiv.levelSevere .close-button:focus {
    color: var(--brightred);
}
#alertDiv.levelModerate .close-button:hover,
#alertDiv.levelModerate .close-button:focus,
#alertDiv.levelLow .close-button:hover,
#alertDiv.levelLow .close-button:focus {
    color: #000;
}




/* MASTHEAD TABLET + */
@media only screen and (min-width: 40em) {
    #alertDiv h2 {
        font-size: 1.5rem;
    }
    .dropdown.menu {
        position: initial;
        justify-content: center;
        /*height: 65px;*/
    }
    .mega-menu .dropdown-pane {
        width: 100%;
        height: 410px;
        padding-top: 0;
        margin: 0 auto !important;
        left: 0 !important;
        right: 0 !important;
        border: none;
        /*border-bottom: solid 2px #cc0000;*/
    }
    .mega-menu .dropdown-pane * {color: #fff;}
    .mega-menu .dropdown-pane h2 {
        font-size: 18px;
        margin-bottom: 1rem;
        /*border-bottom: solid 1px #e8e8e8;*/
    }
    .mega-menu .dropdown-pane li a {
        line-height: 24px;
        font-size: 1rem;
    }
    .mega-menu .dropdown-pane > .grid-container {
        margin-top: 2rem;
    }
    .mega-menu .dropdown-pane > .grid-container > .grid-x > .cell {
        border-left: solid 1px #ccc;
        padding-left: 1rem;
        min-height: 365px;
    }
    .mega-menu .dropdown-pane .card-body {
        padding-top: .7rem;   
    }
    .mega-menu .dropdown-pane .card-body h2 {
        font-size: 1rem;
        font-weight: 400;
        text-transform: none;
    }
    #masthead .dropdown-pane .card-body h2 small {
        font-size: .8rem;
        font-weight: 300;
        opacity: .75;
    }
    #masthead .dropdown-pane .card-body .grey {
        opacity: .75;
    }
    #masthead .dropdown-pane .card-body .small {
        font-size: .8rem;
        line-height: 1.5;
    }
    #masthead .dropdown-pane .card-body i {
        color: var(--brightred);
        margin-right: .5rem;
    }
    #masthead .card-body .masthead-socialLinks {
        margin-top: 1rem;
        display: flex;
        justify-content: space-around;
    }
    #masthead .dropdown-pane .card-body .fab {
        color: #fff;
        opacity: .7;
        margin-right: 0;
    }
    #masthead .mega-menu .dropdown-pane .card-link {
        font-size: .9rem;
        color: var(--brightred);
    }
    #responsive-menu .top-bar-right > .is-drilldown {
        max-width: unset !important;
        width: 100%;
    }
    #responsive-menu .top-bar-right {
        width: 100%;
    }
    .top-bar-right > .vertical {float: right;}
    
    .list-icon {
        width: 20px;
        float: left;
    }
    .list-icon i {
        color: #cc0000 !important;
        font-size: 1rem;
        width: 1.25em;
    }
    
    .mega-menu .dropdown-pane a {padding: 0;}
    .mega-menu li a:hover,
    .mega-menu li a:active,
    .mega-menu li:not(.no-select) a.selected,
    .mega-menu li a:focus {
    	color: #cc0000;
    }
    .mega-menu .menu {background: none !important;}
    .dropdown li.mega-menu > a {
      padding: 2.25rem 0.6rem;
      transition: color .3s ease, opacity .4s ease;
    }
    .mega-menu > a:before, 
    .GSBS-Home .dropdown.vertical .mega-menu > a:after {
        content: '';
        position: absolute;
        right: 10px;
        opacity: 0;
        bottom: 35px;
        width: calc(100% - 20px);
        height: 1px;
        background: #cc0000;
        transition: opacity .3s ease, opacity .8s ease-in-out;
    }
    .mega-menu > a:before {
        transform: translateX(-115%);
    }
    #masthead .is-stuck .mega-menu > a:before,
    #masthead .is-stuck .dropdown.vertical .mega-menu > a:after {
        bottom: 17px;
    }
    
    .mega-menu > a:hover:before,
    .GSBS-Home .dropdown.vertical .mega-menu > a:hover:after {
        transition: opacity .3s ease, transform .7s cubic-bezier(.77,0,.175,1), opacity .4s ease-in-out;
    }
    .mega-menu > a:hover:before,
    .mega-menu > a:focus:before,
    .mega-menu > a.hover:before {
        opacity: 1;
        transform: translateX(0);
    }
    .GSBS-Home .dropdown.vertical .mega-menu > a:hover:after,
    .GSBS-Home .dropdown.vertical .mega-menu > a:focus:after,
    .GSBS-Home .dropdown.vertical .mega-menu > a.hover:after{
        opacity: 0.8;
        transform: translateX(115%);
    }
    
    #masthead .is-stuck .dropdown li.mega-menu > a {padding: 2.1rem 1rem;}
    
    #main-nav .dropdown-pane, 
    #masthead #main-nav .dropdown-pane ul {
        background: #000; 
        color: #fff;
    }
    #masthead .dropdown-pane ul.menu.vertical {
        margin-bottom: 2rem;
    }
    
    /*.logoDiv {*/
    /*	position: relative;
    	top: -44px; */
    /*	width: 23%;*/
    /*}*/
    .large-horizontal .mega-menu > a {
        text-transform: uppercase;
    }
    .mega-menu > a {
      color: #313131;
      text-align: center;
      font-size: 0.75rem;
      position: relative;
      overflow: hidden;
    }
    .mega-menu > a:hover,
    .mega-menu > a:focus,
    .mega-menu > a.hover {
    	color: #cc0000;
    }
    .mega-menu h3 {font-size: 14px;}
    
    #modalSearch {
      background: transparent;
      top: 50% !important;
      transform: translateY(-50%);
      border: none;
    }
    
    #menu-announcements li a:link {padding-left: 0;}
    /*.dropdown.menu .is-active > a {color: #fff;}*/


  #masthead #utility-nav a {/* height: 45px; */padding: 0.9375rem;line-height: 1.75;/* margin-right: 1rem; */}
  #masthead #utility-nav a.button {line-height: 1.3;margin-right: 1rem;font-size: .875rem;}
}
/* MASTHEAD DESKTOP + */
@media only screen and (min-width: 64em) {
    #alertDiv h2 {
        font-size: 2rem;
    }
    #masthead #utility-nav #search-icon-link {
        align-items: center;
        display: flex;
        justify-content: center;
        padding: 0;
    }
    #search-icon {
        margin-top: 5px;
        margin-right: 15px;
    }
    #utility-nav .large-9.cell {
        display: flex;
        align-items: center;
    }
    .menu .card-container img {
        max-height: 100%;
    }
}
@media only screen and (min-width: 70em) {
    .mega-menu > a {
        font-size: 0.8rem;   
    }
    .dropdown li.mega-menu > a {
        padding: 2.25rem 0.8rem;
    }
}