.dropdown {
  position: relative;
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #1a01c4;
}
-- language css--
.dropbtnlang {
  background-color: transparent;
  color: rgba(255, 255, 255, 1.5);
  padding-top: 5px;
  padding-bottom: 0px;
  font-size: 15px;
  border: none;
  text-align: center;
}

.dropbtnlang {
  background-color: black;
}
.printButton {
  float: right;
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
  border: 0 px;
  border-radius: 0.25rem;
  padding: 0.25em 1em;
  font-size: 20px;
  cursor: pointer;
}
.reminder-container {
    position: fixed;
    top: 134px;
    right: 0px;
    z-index: 2;
  }
  
  .reminder {
    width: 50px;
    height: 90px;  
    border: 2px solid red;
    background-color: red;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    transition: width 0.3s, height 0.3s;
    cursor: pointer;
    overflow: hidden;
    color:#fff;
  }
  
  .reminder.expanded {
    width: 230px;
    min-height: 90px;
    height: auto;
    padding-left: 2px 5px 2px 5px;
  }
  .reminder.expanded p{
    padding: 5px 1px 5px 8px;
  }
  .reminder p {
    margin: 0;
    padding: 4px 0px 4px 2px;  
  }
  
  .reminder p.textmode{
    writing-mode: vertical-lr;
    margin-left: 2px;    
  }

  .reminder p.textmode>i{
    padding: 6px 0px 3px 0px;
    margin-bottom: -1px;
    font-size: 17px;
    transform: rotate(90deg);
  }
  .reminder.expanded p>i{
    padding: 0px 4px;
  }

  .reminder.expanded p#remainderText{
    background-color: #fff;
  }
/* bootstrap upgrade changes */

/* Desktop hover to open dropdown */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown > .dropdown-menu {
    display: none;
    margin-top: 0;
  }

  /* Hover -> parent button background */
  .navbar .dropdown:hover > .ehs-drop-toggle {
    background-color: #1a01c4;
  }
}

/* Dropdown menu background */
.ehs-dropdown-menu {
  background-color: #0032ff !important;
  border: none;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Ensure dropdown item text is white */
.ehs-dropdown-item {
  color: #fff !important;
}

/* Hover on dropdown items */
.ehs-dropdown-item:hover,
.ehs-dropdown-item:focus {
  background-color: #1a01c4 !important;
  color: #fff !important;
}

/* Child active route highlight */
.ehs-dropdown-menu li.active > .ehs-dropdown-item {
  background-color: #1a01c4 !important;
  color: #fff !important;
}

/* Parent active route highlight */
.nav-item.dropdown.is-active > .ehs-drop-toggle {
  background-color: #1a01c4;
}

/* Optional: keep padding/font similar */
.ehs-drop-toggle {
  padding-top: 6px;
  padding-bottom: 10px;
  font-size: 15px;
}

/* Remove caret for globe/profile */
.ehs-no-caret::after {
  display: none !important;
}

/* Force dropdown to open to the end (right) */
.ehs-dropdown-left {
  right: 0;
  left: auto;
}

.ehs.dropdown-email{
  right:0;
}

.adustmenu > li.nav-item.active {
  padding: 0px !important;
}

/* ---------- Right nav layout ---------- */
.ehs-right-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

/* Email ellipsis so long emails don't destroy header */
.ehs-email {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

/* Logout no wrap */
.ehs-logout {
  white-space: nowrap;
}

/* Profile icon style */
.ehs-profile-auth i {
  font-size: 18px;
}

/* ✅ Default behavior (wide): show inline email/logout, hide profile */
.ehs-inline-auth { display: block; }
.ehs-profile-auth { display: none; }
.ehs-inline-auth a{
  padding-left: 0px !important; padding-right: 0px !important  ;
}
/*
  ✅ Compact behavior: hide inline email/logout, show profile icon
  Tune this breakpoint based on where your left menu starts wrapping.
  Start with 1280px and adjust (1200 / 1366 / 1400 depending on menu count).
*/
@media (max-width: 1280px) {
  .ehs-inline-auth { display: none !important; }
  .ehs-profile-auth { display: block !important; }
}

.ehs-header-spacer {
  height: 50px; /* choose safe max */
}
	
/* spacer height must match your fixed menu height */
.ehs-header-spacer {
  height: 82px; /* adjust to your menu height */
}
/* access denied styling */
.access-denied {
  color: #b00020;
  text-align: center;
  margin: 10px 0 14px;
  padding: 10px 12px;
  background: #ffecec;
  border: 1px solid #ffb3b3;
  border-radius: 6px;
}