/* =================================================================
   Estilo de Cabeçalho Corrigido
   ================================================================= */

/* Cabeçalho */
html {
  line-height: 1.15;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

#headerNavigationContainer {
  background-color: #1E6292;
  border: 4px solid #1E6292;
  padding: 5px 0;
  overflow: visible;
}

/* Logo */
.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-bottom: 0;
  overflow: visible;
}

.navbar-brand-logo img,
.navbar-brand img {
  height: auto;
  width: 280px;
  display: block;
  max-height: none;
  margin-top: 45px;
}

/* Menu principal */
#main-navigation {
  display: flex;
  justify-content: flex-start;
  margin-top: 100px;
  color: #fff !important;
  align-items: center;
  font-size: 2rem;
}

#main-navigation > li > a {
  color: #fff !important;
  margin-top: 20px;
}

#main-navigation > li > a:hover {
  background-color: #1E6292!important;
  color: #fff !important;
}

/* Busca */
.pkp_structure_page .pull-md-right {
  display: flex;
  justify-content: center;
  margin-top: 40px !important;
}

.pkp_structure_page form[method="get"] {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
}

.pkp_structure_page form[method="get"] input[type="text"] {
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid #1E6292;
  background-color: #1E6292 !important;
  height: 33px;
  box-sizing: border-box;
  flex-grow: 1;
  color: #fff;
}

.pkp_structure_page form[method="get"] input[type="submit"] {
  background: #fff;
  border: 1px solid #fff;
  padding: 5px 12px;
  font-style: italic;
  color: #1E6292;
  margin-top: 0;
  height: 33px;
  cursor: pointer;
}

/* Submenu */
.navbar-nav .dropdown-menu > li > a {
  background-color: #fff !important;
  color: #1E6292 !important;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}

.navbar-nav .dropdown-menu > li > a:hover,
.navbar-nav .dropdown-menu > li > a:focus,
.navbar-nav .dropdown-menu > li.active > a {
  background-color: #1E6292 !important;
  color: #fff !important;
}

/* Página de login */
body.pkp_page_login .pkp_site_name_wrapper {
  display: block !important;
}
