/* SAP Expert Button in Divi */
.et-menu .sap-expert-btn > a {
  background-color: #fec01a !important;
  color: #003f67 !important;        /* Lighter eye-catching blue */
  height: 42px !important;          /* Slightly taller fixed height */
  padding: 7px 22px !important;     /* Top/bottom padding + wider sides */
  border-radius: 35px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;   /* Center text vertically */
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  margin-top: 15px !important;      /* Push button further down */
}
/* Hover effect */
.et-menu .sap-expert-btn > a:hover {
  background-color: #f49127 !important;  
  color: #003f67 !important;
  opacity: 1 !important;                /* Prevent faded look */
  filter: none !important;              /* Remove any brightness/contrast filters */
}

/* Adjust width of dropdown menus */

/*set the Divi menu dropdown auto width*/

@media only screen and (min-width: 981px) {
  .nav li ul {
    width: fit-content;
    display: flex;
    flex-direction: column;
  }

  .nav li li {
    white-space: nowrap;
  }

  .nav li li a {
    width: auto !important;
  }
}

/* Adjust position of 3rd-level dropdown menus */

@media only screen and (min-width: 981px) {
  .nav li ul ul {
    margin-left: 60px;
    /* Adjust this value to move the 3rd menu to the right */
    top: 0;
    /* Keep the 3rd dropdown aligned vertically */
  }
}

/* ================================
   Contact Form 7 - Two Column Layout
   ================================ */

.two-col {
  display: flex;
  gap: 20px; /* space between left and right column */
}

.two-col > div {
  flex: 1;
}

/* Label styling */
.two-col label {
  display: block;
  margin-bottom: 4px; /* space between label and input */
  font-weight: 600;
}

/* Input styling */
.two-col input {
  width: 100%;
  margin-bottom: 10px; /* reduce space between rows */
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .two-col {
    flex-direction: column;
  }
}

/* ================================
   FORCE HAMBURGER ICON TO #015489
   AND ADJUST POSITION
   ================================ */

/* Default hamburger menu icon */
.mobile_menu_bar:before,
.et_pb_menu .mobile_menu_bar:before {
  color: #015489 !important;
}

/* Mobile only */
@media (max-width: 980px) {
  .mobile_menu_bar:before,
  .et_pb_menu .mobile_menu_bar:before {
    color: #015489 !important;
  }

  /* Move hamburger higher (adjust value as needed) */
  .mobile_menu_bar {
    margin-top: -12px !important;  /* try -12px, tweak if needed */
  }
}

/* Sticky / fixed header (when scrolling) */
.et-fixed-header .mobile_menu_bar:before,
.et-fixed-header .et_pb_menu .mobile_menu_bar:before {
  color: #015489 !important;
}