
.main-navigation.megadropdown .sub-nav {
  max-width: 250px;
  min-width: 250px;
  left: initial;
  right: initial;
}

.navigation-search {
  height: 45px;
  width: 91%;
  /*top: 0px;*/
  position: absolute;
  display: block;
  border-bottom: none;
  
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

/*----------------------------------*/
/* first-level-link css is a usace library class, changing the naming will cause conflict */
/* The first-level-link css changes can also be found in branding.jsp                     */
/*----------------------------------*/
.first-level-link span {
  color: white;
  font-weight: bold;
}

.first-level-link {
  margin-left: 10px;
  margin-right: 10px;
}

.first-level-link {
  outline: 0 !important;
}

.first-level-link:hover {
  /*background-color: #5d7a97;*/
  /*border-bottom: 3px solid white;*/
}
/*----------------------------------*/

.nav-item:hover::after,
.nav-item:hover {
  background-color: transparent !important;
}

.nav-item {
  /*width: 30%;*/
  font-size: 18px;
  color: white;
}

.nav-item .nav-a, 
.nav-item.current .nav-a {
  height: auto;
  color: #5d635f;
  font-size: 14px;
  font-weight: bold;
  background-color: #e1e7eb; 
  border-color: transparent;
  text-decoration: none;
}

.nav-item .nav-a:hover,
.nav-item.current .nav-a:hover {
  color: #5d635f;
  font-size: 14px;
  font-weight: bold;
  background-color: #e1e7eb;
  border-color: transparent;
  text-decoration: underline;
}

.nav-item .nav-a:active,
.nav-item.current .nav-a:active {
  color: #fff;
  background-color: #204d74;
  border-color: transparent;
  text-decoration: underline;
}

.nav-item a {
  height: 48px;
  color: white;
  padding-left: 8px;
  padding-right: 8px;
}

.nav-item.current a,
.nav-item.current a:hover {
  /*border-bottom: 2px solid white;*/
  font-weight: bolder;
  font-size: 19.5px;
  background-color: #4d6873;
  background-image: none!important;
}

.nav-item.current a > *,
.nav-item.current a > * {
  color: #e9eced;
}

.navTitleText {
  display: inline-block;
  font-size: 14px;
  line-height: 32px;
  color: #e9eced;
  text-transform: uppercase;
}


/*  .animatedHover, .animatedHover:visited {
    text-decoration: none !important;
    position: relative;
    color: #069;
  }
  .animatedHover:after, .animatedHover:visited:after {
    content: '';
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;                        THIS BLOCK OF CODE IS AN ANIMATED HOVER UNDERLINE - TO USE: add animatedHover to an anchor tag
    width: 0%;
    background: #069;
    transition: 0.2s;
  }
  .animatedHover:hover:after, .animatedHover:visited:hover:after {
    width: 100%;
    font-size: 20px;
  }*/


/* Navigation */

.navigation > a {
  display: inline-block;
  text-decoration: none;
  color: white;
}

.navigation > a:hover {
  text-decoration: none;
  color: white;
}

/* Level 1: Top Banner */
#top-banner-navigation {
  background-color: #003E53;
  width: 100%;
  display: flex;
  top: 0;
  height: 45px;
  margin: 0;
  min-height: 0;
}

#top-banner-nav_list {
  height: inherit;
  min-height: 0;
  top: 0;
  display:flex;
  flex-direction:row;
  justify-content:space-between; 
  /*width:95%;*/
  margin-left: auto;
}

#nav-item-landpage{
  margin-right: 10%;   /* 10 */
}

#top-banner-navigation a {
  position: relative;
}
#top-banner-navigation .first-level-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#top-banner-navigation .first-level-link:hover::before {
  transform: scaleX(1);
}

#start, #center{
  display:flex;
  flex-direction:row;
}
#end {
  display:flex;
  justify-content:flex-end;
}

#nav-item-help, #nav-item-screenings, #nav-item-reports, #nav-item-user {
/*  width: 20%;           20 * 3 = 60 + 10 = 70
  min-width: 200px;
  max-width:200px*/
}

#nav-item-screenings {
  /*margin-left: 5%;      70 + 8 = 78*/
  margin-left: auto; 
}

#nav-item-user{
  margin-left: auto;
}
#nav-item-logout {
  float: right;
  margin-right: 5px;
}

/*#nav-item-user a{ 
  outline: none;
  text-decoration: none;
  color: white;
  margin-right: 10px;
}

#nav-item-user a:hover{ 
  color: #9c9c9c;
}

#nav-item-user-profile {
  margin-left: 9%;
  width: 30%;
}*/

#nav-item-user-home {
  margin-right: 9%;
  width: 30%;
}


/* Level 2: Module */
#module-navigation ul li.current {
  background-color: white!important;
  color: black;
  border-top: 5px solid #f70030;;
  font-weight: bold;
}

#module-navigation ul li.current a {
  padding-top: 5px;
  background-color: white;
  color: black;
  font-weight: bold;
}

#module-navigation ul li a {
  color: #4a4d46;
  height: 48px;
  padding: 10px 10px;
  margin: 0px;
  line-height: 28px;
  font-size: 15px;
}

#module-navigation {
  display: flex;
  justify-content: flex-start;
  height: 48px;
  margin-top: 15px;
  background-color: #c1d2d9;
}

#module-navigation .glyphicon {
  color: #273D88;
}

#module-navigation ul {
  min-height: unset;
  width: auto;
}

#module-navigation ul li:hover, #module-navigation ul li a:hover{
  background-color: white!important;
  color: #5b6f76;
}
#module-navigation ul li.current:hover, #module-navigation ul li.current a:hover {
  /*background-color: #cfd1dc;*/
  color: #5b6f76;
}

/*#module-navigation > a.current,
#module-navigation > a.current:hover,
#module-navigation > a.current .glyphicon,
#module-navigation > a.current.glyphicon:hover{
  background-color: #cfd1dc;
  color: #273D88;
}*/

@media only screen and (max-width: 1400px) {
  #module-navigation ul li a {
    font-size: 15px;
  }
}

/* Level 3: Tab */
#tab-navigation {
  width: 100%;
  background-color: white;
/*  border-bottom: 1px solid #2d5ead;*/
  padding: 0px 10px;
}

#tab-navigation > a {
  padding: 3px 6px;
  padding-top: 15px;
  margin: 0px 7px;
  color: #5b6f76;
  background-color: white;
}

#tab-navigation > a:hover {
  border-bottom: 3px solid #5b6f76;
}

#tab-navigation > a.current,
#tab-navigation > a.current:hover {
/*  background-color: #888;
  background-color: #5d7a97;*/
  border-bottom: 3px solid #5b6f76;
  color: #5b6f76;
}

.userHoverInfo {
  display: none; 
  /*background-color: #cfd5ea;*/
  background-color: white;
  color: black;
  text-align: left;
  padding-top: 5px;
  /*width: 210px;*/
  width: auto;
  position: absolute;
  top: 48px;
  box-shadow : 0px 8px 16px 0px rgba(0,0,0,0.2);
}
