﻿/* --------------MENU ----------------------------------------------*/
.iv-navbar {
  padding: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 10;
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform:uppercase;
  box-shadow:none;
}

.iv-nav {
  display: flex;
  gap: 15px;
  align-items: center;
  white-space: nowrap;
}

.headLogo {
  max-height: 95px;
  text-align:center;
  display:inline-block;
  margin:0 auto;
}
.headLogoMob {
  max-height: 65px;
}


.pancake-menu {
  font-size: 28px;
  background: none;
  border: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  z-index: 999;
  min-width: 150px;
}

.dropdown-menu.vertical-menu a {
  display: block;
  padding: 8px 15px;
  white-space: nowrap;
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}
.iv-nav a,
.mobile-menu a,
.mobile-menu .dropdown-toggle {
  display: inline-block;
  padding: 10px 12px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding:.5em 1.5em;
  border-radius:5px;
  background-color:#ffffff;
}

.iv-nav a:hover,
.mobile-menu a:hover,
.mobile-menu .dropdown-toggle:hover {
  color: #ffffff;
  background-color: var(--red);
}

.arrow {
  font-size: 0.75em;
  margin-left: 5px;
  vertical-align: middle;
}

/* hide by default */
.mobile-menu {
  display: none;
}

/* show when .open is added */
.mobile-menu.open {
  display: block;
}
/* Mobile Menu */
.mobile-menu a,
.mobile-menu .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  border-top: 1px solid #eee;
}
.d-none { display: none; }
.d-flex { display: flex; }

@media (min-width: 1055px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  
  .mobile-menu {
    display: none;  /* this repeats d-md-none behavior */
  }
  
}
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.pancake-menu {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
}

/* Base mobile menu links */
.mobile-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* Ensure dropdown-toggle looks like a normal menu item */
.mobile-menu .dropdown-toggle {
  display: block;
  width: 100%;
  padding: 10px 16px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
}

.iv-navbar {
  position: sticky;
  top: 0;
  padding-top:15px; 
  padding-bottom:15px; 
 
  z-index: 1000;
  background: white;
  box-shadow: none;
}
.iv-navbar.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* hide mobile menu by default everywhere */
.mobile-menu {
  display: none;
}

/* 2) when .open is toggled on, show it */
.mobile-menu.open {
  display: block;
}

/*-----------end MENU ---------------------------------*/