.header_tile_top { 
  width:100% !important; 
  height:154px !important; 
  position:absolute !important; 
  top:0px !important; 
  left:0px !important;
}


/* Full screen header */
.header { 
  width:100% !important; 
  background: var(--blue-1);
}


/* Header content */
.header-content {
  width: 940px;
  margin: 0 auto;
  position: relative;
}


/* Main "BuRPS Staff Portal" Logo */
.logo-img {
  background: url('../images/logo.svg') no-repeat;
  width: 250px;
  margin-top: 15px;
  margin-bottom: 0px;
  height: 88px;
  float: left;
}


.header_tile {
  text-align:left; 
  position:relative; 
  color:white; 
  padding-top:0em; 
  width:100%; 
  height: auto; 
}

.header_tile, .header_tile_logged_out, .header_tile_top {
  background: var(--blue-1);
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header_tile a {
  text-align: center !important;
}

/* MOBILE HEADER */
.second_nav {
  display: none;
  padding-left: var(--screen-edge-margins) !important;
  padding-right: var(--screen-edge-margins) !important;
  box-sizing: border-box;
  height: 40px !important;
}

#popup_menu { 
  width:200px; 
  position:absolute; 
  top:144px; 
  left: var(--screen-edge-margins); 
  background-size: 300px 500px !important;
  border-radius: 0 0 5px 5px;
}

#popup_menu a {
  color:white;
}

#popup_menu a:hover {
  text-decoration:underline
}

.menu_divider {
  margin-left:2%;
  width:96%;
  height:1px;
  background:#f0f0f0;
}

.menu_item {
  width:100%;
  padding-top:0.5em;
  padding-bottom:0.4em;
  font-size:1.2em;
  color:white;
  cursor:pointer;
  background: var(--blue-1);
}

#popup_menu a:last-child > div {
  border-radius: 0 0 5px 5px;
}

.logo-img.logged-out {
  float: none;
  margin: 15px auto 0 auto;
}

.header .dropdown a {
  box-sizing: border-box;
  min-height: 43px;
  height: auto;
  display: flex;
  align-items: center;
}

.header .dropdown {
  padding-top: 0;
  padding-bottom: 0;
}

.header .dropdown .divider {
  margin-top: 0;
  margin-bottom: 0;
}

.header .dropdown a:first-of-type {
  padding-top: 6px;
}

.header .dropdown a:last-of-type {
  padding-bottom: 6px;
}

.header .dropdown img {
  flex: 0 0 auto;
  margin-top: 0;
}

.header .dropdown span {
  margin-top: 0;
  line-height: 1.2;
}


@media only screen and (max-width: 960px) {
  .header {
    height: 80px;
  }

  .header.logged-out {
    height: 88px;
  }

  .header-content {
    width: 100%;
  }

  /* Center Logo */
  .logo-img {
    float: none;
  }

  /* Hide the top nav section (Home, Change Password, Logout) */
  .top_nav {
    display:none !important;
  }

  /* Hide the main nav bar */
  .nav {
    display:none !important;
  }

  /* Hide the "Logged in to *Store*" text */
	.logged_in_to { 
    display:none !important; 
  }

	.logged_in_to_shadow { 
    display:none !important; 
  }

  .second_nav.header_tile {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    height: var(--touch-target) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu_item {
    width:100%;
    padding-top:0.5em;
    padding-bottom:0.4em;
    font-size:1.2em;
    color:white;
    cursor:pointer;
    background: var(--blue-1);
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  #pleasewait { 
    top: -24px !important; 
  }


  #mobile_menu_icon {
  }

  #mobile_menu_icon .icon {
    transform: scale(2);
  }
}

@media only screen and (max-width: 576px) {
  .second_nav.header_tile {
    font-size: 1.25rem;
  }

  .header_tile_top {
    display: none !important;
  }

  #pleasewait { 
    font-size: 1rem !important;
    width: 100% !important;
  }
     
}


