@import url("grid.css");
@import url("../../../contraste.css");
/********** Basic styles **********/
body {
  background: #f1f1f1;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
}
a:link,
a:visited,
#content a:link,
#content a:visited {
  color: #003366;
}
.state-published {
  color: #003366 !important;
}
a:hover {
  color: #004488;
}
#content a:hover,
dl.portlet a:hover {
  color: #004488 !important;
  /* Unfortunatelly is necessary with sunburst */

}
.clear {
  clear: both;
}
/********** Main container **********/
#wrapper {
  padding: 0;
}
#main {
  margin: 0 auto;
  max-width: 96%;
}
/********** Header **********/
header {
  background-color: #003366;
  color: #ffffff;
  float: left;
  width: 100%;
}
header a:link,
header a:visited {
  color: #ffffff;
}
header a:hover {
  color: #ffffff;
}
/* Logo */
#portal-logo {
  display: block;
  float: left;
  margin: 1.5em;
}

#portal-personaltools {
  background: #004488;
}

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

#portal-siteactions {
  text-align: right;
  margin-right: 1em;
  font-size: 80%;
}
#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: #ffffff;
}
/* search */

.searchButton {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  border: none;
  padding: 0.4em 0.7em;
  background: #004488;
  color: #ffffff;
  cursor: pointer;
}

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

#portal-searchbox input {
  border-radius: 0;
}

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

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

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

#main-navigation li::after {
  content: '';
  position: absolute;
  margin: auto;
  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:link {
  font-size: 80%;
  text-decoration: none;
  display: block;
  padding: 0 1em;
}

#main-navigation li a:link,
#main-navigation li a:visited {
  color: #ffffff;
}

/* Mobile Menu button colors */

.menu-button{
  background: #003366;
}

.menu-button button{
  border-color: white;
  background: none;
  color: white;
}

.menu-button > button:hover {
  background: #004488 !important;
}

.menu-button > button.menuAtivo {
  background: #004488; 
}

/********** Content **********/
/* breadcrumb */
#portal-breadcrumbs {
  margin: 1.2em 2%;
  font-size: 80%;
  clear: both;
  display: inline-block;
}
.section-front-page #portal-breadcrumbs {
  visibility: hidden;
}
/* text styles */
p {
  line-height: 1.4em;
}
h1 {
  color: #004488;
  border: none;
  margin-bottom: 0;
  font-size: 2.5em;
}
h2 {
  color: #004488;
}
#content {
  margin: 0;
}
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-weight: normal;
  margin-bottom: 1em;
}
/********** Tiles **********/
.tile-header h2, .tile-content h2, .documentFirstHeading {
    margin-bottom: 0.5em;
}

.tile-noticias .collection-item {
    float: left;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 1.5em;
    padding-bottom: 0.4em;
    border-bottom: 1px dotted #ccc;
}

.tile-noticias .collection-item:nth-child(odd) {
    margin-right: 0;
}

.tile-noticias .collection-item a img {
    margin: 0;
    float: none;
    width: 100%;
    height: auto;
}

.tile-noticias .collection-item > a {
    width: 100%;
    display: block;
    margin-bottom: 0.5em;
}

#content .tile-noticias .collection-item p {
    margin-bottom: 0.25em;
}

.tile-noticias .collection-item p.description {
    font-size: 1.1em;
}

#content .tile-noticias .tile-footer a {
  float: right;
  padding: 1.075em 1.2em;
  background-color: #004488;
  color: #ffffff !important;
  font-weight: bold;
  text-transform: uppercase;
  transition: all ease-out 0.1s;
}

#content .tile-noticias .tile-footer a:hover {
  background: #003366;
  color: #fff !important;
}

/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
  border:0;
  font-weight: bold;
  background-color: #004488;
  color: #ffffff;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
  color: #ffffff;
  transition: all ease-out 0.1s;
}
.portlet {
  margin-bottom: 2em;
}
/* lists inside columns */
aside dl,
aside dd,
aside ul {
  padding: 0;
  margin: 0;
}
aside a {
  text-decoration: none;
}
/* portlet navigation */
.portletNavigationTree ul {
  margin: 0;
}
.portletNavigationTree li {
  list-style-position: inside;
}
.portlet.portletNavigationTree .navTree .navTreeItem {
  margin: 0;
}
.portlet.portletNavigationTree .navTreeLevel0 > .navTreeItem {
  padding: 0;
}
.portlet.portletNavigationTree .navTree > .navTreeItem {
  border-bottom: rgba(0, 51, 102, 0.1) 1px solid;
  list-style: none;
}