@import url("grid.css");
@import url("../../../contraste.css");

/********** Base Styles **********/
html {
  font-size: 16px; /* Base mais legível */
}

body {
  background: #ffffff;
  color: #333333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:link,
a:visited,
#content a:link,
#content a:visited {
  color: #10233b;
  transition: color 0.2s ease;
}

a:hover,
#content a:hover,
dl.portlet a:hover {
  color: #1a3a64 !important;
}

.state-published {
  color: #10233b !important;
}

.clear {
  clear: both;
}

/********** Main container **********/
#wrapper {
  padding: 0;
}
#main {
  margin: 0 auto;
  max-width: 96%;
}

/********** Header **********/
header {
  background-color: #ffffff;
  color: #000000;
}
header a {
  color: #000000;
  transition: color 0.2s ease;
}
header a:hover {
  color: #1a3a64;
}

/* Logo */
#portal-logo {
  display: block;
  float: left;
  margin: 1.25em;
}

/********** Personal Tools **********/
#portal-personaltools {
  background: #25528c;
}

#portal-personaltools a {
  color: #ffffff;
  transition: background 0.2s ease;
}

#portal-personaltools dd a:hover {
  background: #1a3a64;
}

/********** Site Actions **********/
#portal-siteactions {
  text-align: right;
  margin-right: 1.25em;
  font-size: 0.750rem; /* ~12px */
}
#portal-siteactions a:before {
  font-family: FontAwesome;
  font-size: 1em;
  margin-right: 0.3em;
}
#siteaction-contact a:before { content: "\f0e0"; }
#siteaction-sitemap a:before { content: "\f0e8"; }
#siteaction-accessibility a:before { content: "\f118"; }
#siteaction-search a:before { content: "\f002"; }
#siteaction-login a:before { content: "\f090"; }
#siteaction-contraste a:before { content: "\f042"; }
#siteaction-vlibras a:before { content: "\f087"; }

#portal-siteactions li#siteaction-accessibility {
  width: 17px;
}
#portal-siteactions li a:hover {
  color: #e6e6e6;
}

/********** Search **********/
.searchButton {
  border-radius: 4px;
  border: none;
  padding: 0.4em 0.7em;
  background: #25528c;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.searchButton:hover {
  background: #1a3a64;
}

#portal-searchbox {
  margin: 1.5em;
  position: relative;
}

#portal-searchbox input.searchField {
  min-width: 20em;
  width: 100%;
  height: 30px;
  text-indent: 1em;
  padding-right: 40px;
  box-sizing: border-box;
}

#portal-searchbox .searchButton {
  font-family: FontAwesome;
  position: absolute;
  right: 0;
  border-radius: 0;
  height: 30px;
  width: 30px;
}

/********** Navigation **********/
#main-navigation {
  margin: 0;
  clear: both;
  background: #25528c;
  color: #ffffff;
}
#main-navigation ul {
  padding: 0.3em 0;
  text-align: right;
}
#main-navigation li {
  display: inline-block;
  position: relative;
}

#main-navigation li::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  background-color: #ffffff;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}
#main-navigation li:last-child::after {
  display: none;
}

#main-navigation li a {
  font-size: 0.750rem; /* ~12px */
  text-decoration: none;
  display: block;
  padding: 0 1em;
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Mobile Menu button */
.menu-button {
  background: #25528c;
}
.menu-button button {
  border-color: white;
  background: none;
  color: white;
}
.menu-button > button:hover,
.menu-button > button.menuAtivo {
  background: #1a3a64;
}

/********** Content **********/
#portal-breadcrumbs {
  margin: 0 2% 1.2em 2%;
  font-size: 0.875rem;
  clear: both;
  border-top: #e6e6e6 1px solid;
  padding-top: 1em;
}
.section-front-page #portal-breadcrumbs {
  visibility: hidden;
}

/* Text */
p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1em;
}
h1, h2, h3, h4 {
  color: #1a3a64;
}
h1 {
  font-size: 2rem;
  margin-bottom: 0.375em;
  font-weight: 900;
}
h2 {
  font-size: 1.2rem;
  margin-bottom: 0.25em;
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25em;
  font-weight: 700;
}
h4 {
  font-size: 1rem;
  margin-bottom: 0.25em;
  font-weight: 500;
}

/* Description */
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-size: 1rem;
  font-weight: 800;
  font-style: normal;
  margin-bottom: 0.375em;
}

/********** Footer **********/
footer {
  border-top: #e6e6e6 1px solid;
  margin-top: 2em;
  font-size: 0.875rem;
  background: #25528C;
  color: #ffffff;
}
footer a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #e6e6e6 !important;
}
footer p {
  margin-bottom: 2em;
}

.footer-item {
  padding: 0 2%;
}

#footer-info {
  padding-top: 3em;
}

#footer-colophon {
  padding: 1.5rem 0;
  font-size: 0;
  text-align: center;
  background-color: #1a3a64;
}

.colophon-item {
  display: inline-block;
  max-width: 46%;
  padding: 0 2%;
  vertical-align: top;
  position: relative;
}

.colophon-item:first-child::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: #fff;
  right: 0;
  top: 0;
}

.colophon-item a {
  font-weight: 700;
}

/********** Responsive **********/
@media (max-width: 767px) {
  header {
    margin-bottom: 1em;
  }
  #main-navigation ul {
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
  }
  #portal-searchbox {
    text-align: center;
    font-size: 0.875rem;
  }
  .colophon-item {
    max-width: 96%;
    margin: 1.5rem 2%;
  }
}

@media (max-width: 480px) {
  .tile-noticias .collection-item {
    width: 100%;
    margin-right: 0;
  }
}
