.navbar {
  --bs-navbar-toggler-padding-x: 6px;
  --bs-navbar-toggler-padding-y: 6px;
}

#mainNav {
  font-size: 18px;
  background: #000576;
}

@media (min-width: 768px) {
  #mainNav {
    box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
  }
}

@media (min-width: 576px) {
  #mainNav {
    font-size: calc(15px + .5vw);
  }
}

@media (min-width: 768px) {
  .navbar-nav {
    margin-top: 40px;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-top: 30px;
  }
}

.navbar-toggler {
  border: solid 2px;
  margin-top: 40px;
}

.navbar-dark {
  --bs-navbar-color: rgba(255, 255, 255, 0.8);
  --bs-navbar-hover-color: rgba(255, 255, 255, 1.0);
  --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
  --bs-navbar-active-color: #fff;
  --bs-navbar-toggler-border-radius: 0.375rem;
  --bs-navbar-toggler-focus-width: 0.1rem;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, .5);
}

.top-tint {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 42px;
  background: rgba(255,255,255,0.15);
  z-index: -1;
}

.phone-cont {
  position: absolute;
  font-family: arial;
  top: 0;
  right: 0;
  width: 100%;
  height: 44px;
  font-size: 18px;
  z-index: 0;
}

.dropdown-item {
  transition: all .3s ease-in-out;
  border-radius: 3px;
  margin-bottom: 4px;
}

.dropdown-menu {
  --bs-dropdown-padding-x: 4px;
  --bs-dropdown-padding-y: 4px;
  --bs-dropdown-font-size: 18px;
  --bs-dropdown-color: var(--bs-emphasis-color);
  --bs-dropdown-bg: var(--bs-body-bg);
  --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --bs-dropdown-link-color: #ffffff;
  --bs-dropdown-link-hover-color: var(--bs-body-color);
  --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
  --bs-dropdown-link-active-color: var(--bs-emphasis-color);
  --bs-dropdown-link-active-bg: #ffffff;
}

/* Dropdown Menus on Services Pages */

.sub-services-menu-wrapper {
  top: 117px;
  z-index: 1000;
}

@media (min-width: 992px) {
  .sub-services-menu-wrapper {
    top: 172px;
  }
}

#services .dropdown-menu {
  margin-top: 12px !important;
  padding: 4px;
}

#services .dropdown-item {
  color: #ffffff;
  border-radius: 3px;
  font-size: 16px;
  padding: 5px 8px;
  transition: all .3s ease-in-out;
}

#services .dropdown-item:hover {
  background: #ffffff;
  color: #000000;
}

.inverted-tab {
  position: relative;
  display: inline-block;
  padding: 1px 8px 8px 8px;
  background-color: #000576;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

/* Base setup for the two top outer corners */

#services .inverted-tab::before, .inverted-tab::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
}

/* Top Left Inverted Corner */

#services .inverted-tab::before {
  left: -12px;
  background: radial-gradient(circle at bottom left, transparent 12px, #000576 13px);
}

/* Top Right Inverted Corner */

#services .inverted-tab::after {
  right: -12px;
  background: radial-gradient(circle at bottom right, transparent 12px, #000576 13px);
}

/* Dropdown animation */

@keyframes slideIn {
  0% {
    transform: translateX(-50%) translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0px);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
    animation-duration: 0.5s;
    animation-fill-mode: both;
  }
}

.slideIn-mobile {
  position: absolute !important;
  left: 50% !important;
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

