/* ======================= */
/* ESTRUTURA PRINCIPAL */
/* ======================= */

.pkp_structure_head .pkp_head_wrapper {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.pkp_navigation_primary_row {
  width: 100vw;
  background-color: #24406d;
  margin: 0;
}

.pkp_navigation_primary_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: #24406d; /* azul padrão */
}

@media (min-width: 992px) {
  .pkp_navigation_primary > li > a {
    margin: .357rem .5em 0;
    padding: .357rem .5em calc(.714rem - 2px);
    border-bottom: 2px solid transparent;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  }

  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_primary > li > a:focus {
    background-color: #ffffff;
    color: #24406d;
    border-radius: 3px;
    padding: 5px;
  }

  .pkp_site_name .is_img {
    margin-bottom: 2.2em; /* distância entre logo e menu */
  }
}

/* ======================= */
/* ELEMENTOS VISUAIS */
/* ======================= */

.pkp_site_name .is_img img,
img {
  display: block;
  max-height: 115px;
  max-width: 100%;
  width: auto;
  height: auto;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  border-style: none;
  z-index: 1;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #646260;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: #646260 !important;
}

strong {
  color: #646260;
}

/* ======================= */
/* LISTAS DE NAVEGAÇÃO */
/* ======================= */

@media (min-width: 992px) {
  .pkp_nav_list ul a {
    color: #24406d;
  }

  .pkp_nav_list ul a:hover,
  .pkp_nav_list ul a:focus {
    outline: 0;
    background: #eee;
    border-color: #B8B8B8;
    color: #646260;
  }

  .pkp_navigation_primary .dropdown-menu a:focus,
  .pkp_navigation_primary .dropdown-menu a:hover {
    border-color: #B8B8B8;
  }

  .pkp_navigation_primary > li > a:focus {
    background: transparent;
    color: rgba(0,0,0,0.84);
    outline: 0;
  }
}

/* ======================= */
/* COMPONENTES */
/* ======================= */

.cmp_notification {
  background: #eee;
  border-left: 0.357rem solid #24406d;
  text-decoration: none;
}

.block_make_submission a,
.pkp_button,
.pkp_button_primary,
.pkp_button_offset {
  background-color: #24406d;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
  box-shadow: none;
  outline: none;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.block_make_submission a:hover,
.block_make_submission a:focus,
.pkp_button:hover,
.pkp_button:focus {
  background-color: #7b7b7b;
  color: #e0e0e0;
  outline: none;
}

.block_make_submission {
  visibility: hidden; /* Esconde o botão até o JS rodar */
}

/* ======================= */
/* PÁGINA INICIAL */
/* ======================= */

.pkp_page_index .homepage_image img {
  display: block;
  width: 40%;
  height: auto;
  margin: auto;
}

.pkp_page_index .homepage_about h2 {
  display: none;
  margin-top: -0.714rem;
}

/* ======================= */
/* RODAPÉ */
/* ======================= */

.pkp_structure_footer_wrapper {
  background: radial-gradient(#ffffff, transparent);
}

.pkp_structure_footer_wrapper img[src*="ojs_brand.png"] {
  display: none !important;
}

.pkp_structure_footer_wrapper[role="contentinfo"] {
  width: 100%;
  background: #47688e !important;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pkp_structure_footer_wrapper[role="contentinfo"] img {
  max-width: 100%;
  height: auto;
  display: block;
}

.pkp_structure_footer_wrapper img {
  margin: 0;
  padding: 0;
}
