/* Bootstrap Custom - Only necessary components */
:root {
  --primary-color: #1D3771;
  --primary-color-light: #1D3770BF;
}

/* Navbar */
.navbar {
  padding: 0.5rem 1rem;
}

.navbar-brand {
  padding: 0.75rem 0;
}

.navbar-brand img {
  height: auto;
  max-height: 40px;
}

.navbar-toggler {
  border: none;
  padding: 0;
  margin-right: 1rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

/* Utility classes */
.d-flex {
  display: flex !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

/* Custom utilities */
.bg-header-logo {
  background-color: var(--primary-color);
}

.logo {
  padding: 12px 0;
}

/* Responsive utilities */
@media (max-width: 991.98px) {
  .navbar-brand-top {
    background-color: var(--primary-color);
  }
}

@media (min-width: 992px) {
  .navbar-uenf {
    background-color: var(--primary-color-light);
  }
}
