@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: #10233b;
}
.state-published {
  color: #000000 !important;
}
a:hover {
  color: #000000;
}
#content a:hover,
dl.portlet a:hover {
  color: #000000 !important;
  /* Unfortunatelly is necessary with sunburst */

}
.clear {
  clear: both;
}
/********** Main container **********/
#wrapper {
  padding: 0;
}
#main {
  margin: 0 auto;
  max-width: 96%;
}
/********** Header **********/
header {
    display: flex;
  justify-content: space-between;
  align-items: center;
    width: 100%;
    height: 30vh;
    background-repeat: no-repeat;
  background-size: cover;     /* Faz a imagem cobrir toda a largura */
  background-position: center;
  background-image: url('../img/header.jpg');
  color: #000000;
  float:left;
  margin-top:0px
}

    
    
header a:link,
header a:visited {
  color: #131027;
}
header a:hover {
  color: #131027;
}

  
/* Logo */
#portal-logo {
   position: absolute;
   top:5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#portal-logo img{
    margin-top: 10px;
    width: auto;
    height: 120px;
}

#portal-personaltools {
    position:absolute;
    border-radius: 10px;
    top: 25px;
    right:10px;
    color:#0D0B33;
  background: white;
}

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

#portal-siteactions {
  position: fixed;
  z-index: 9999;
  display: block;
  width: 99%;
  border-bottom: solid 2px #D5A801;
  padding: 4px;
  background-color: #0d0b33 ;
  font-size: 80%;
  top:0;
  float:left;
  
}
#portal-siteactions a:before {
  font-family: FontAwesome;
  font-size: 1em;
  margin-right: 0.3em;
  color:#ffffff;
}

#portal-siteactions li a{
     color:#ffffff;
}    
#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: #D5A801;
}


/* 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: #d5a801;
  color: #000000;
  cursor: pointer;


}

#portal-searchbox {
  margin: 1.5em;
  position:absolute;
  top:20%;
  right:0;
  float: left;
  border-radius: 100px;
  border: solid 2px #131027;

}

#portal-searchbox input {
    position: relative;
    right:0;
    border-radius: 100px;

}

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

#portal-searchbox .searchButton {
  font-family: FontAwesome;
  position: absolute;

  border-radius: 0px 100px 100px 0px;
  color: #000000;
  height: 30px;
  width: 30px;
}


/* Navigation */

#container-main {
    display: flex;
    justify-content: center;
     align-items: center;
    position: absolute;
    width:100%;
    z-index: 2;
    background-color:#0d0b33;
    text-align: center;
    margin-bottom: 20px;
    
}


#main-navigation ul {
 list-style-type: none;
  padding-left: 0;
 
}

#main-navigation li a {
  text-decoration: none;
}

#main-navigation li {
  display: inline-block;
  padding: 0.5em 1em; 
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#main-navigation li:hover {
  background-color: #060256;
  border-left: solid 4px #d5a801;
  color: #ffffff;
  
}

#main-navigation li a:hover{
    transform: scale(1.1);
}

#main-navigation li:first-child {
  border-left: none;
}


#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: white;
  font-weight: bold;
  
}

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

/* Mobile Menu button colors */

.menu-button{
    position: absolute;
    top:30vh;
  background: #0D0B33;
}

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

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

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

/********** Content **********/
/* breadcrumb */
#portal-breadcrumbs {
  margin: 1.2em 2%;
  background-color:#2d2d2d;
  font-size: 80%;
  clear: both;
  display: inline-block;
}
.section-front-page #portal-breadcrumbs {
  visibility: hidden;
}
/* text styles */
p {
  line-height: 1.4em;
}
h1 {
  color: #000000;
  border: none;
  margin-bottom: 0;
  font-size: 2.5em;
}
h2 {
  color: #000000;
}
#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: #2d2d2d;
  color: #000000 !important;
  font-weight: bold;
  text-transform: uppercase;
  transition: all ease-out 0.1s;
}

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

/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
    text-align: center;
  border-radius:  5px;
  transition: transform 0.3s ease;
  border:solid 2px #D5A801;
  font-weight: bold;
  background-color: #0D0B33;
  color: #ffffff;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
   text-align: center;
  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(230, 230, 230, 0.4) 1px solid;
  list-style: none;
}
.portlet.portletNavigationTree .navTreeLevel1 .navTreeItem {
  padding-left: 1em;
}
.portlet.portletNavigationTree .navTreeLevel1 .navTreeItem:last-of-type {
  border-bottom: none;
}
.portlet.portletNavigationTree .navTree .navTreeItem a {
  display: block;
  padding: 0.8em 1em;
  border-left: 0px solid transparent;
  transition: transform 0.3s ease;
  line-height: initial;
  border-radius:  5px;
  
 
}
.portlet.portletNavigationTree .navTree .navTreeItem a:hover {
  border-left: 5px solid #D5A801;
  background-color: #d3d3d3;
  transform: scale(1.05);
  
}
.portlet.portletNavigationTree .navTree .navTreeItem a.navTreeCurrentItem {
  border-left: 5px solid #131027;
  background-color: #b7b7b7;
}
dl.portlet ul.navTree .navTreeCurrentItem {
  border-left: none;
  margin: 0;
}
.navTreeLevel2 a {
  padding-left: 1em;
}
.navTreeLevel3 a {
  padding-left: 2em;
}
.navTreeLevel4 a {
  padding-left: 3em;
}
.navTreeLevel5 a {
  padding-left: 4em;
}
.navTreeLevel6 a {
  padding-left: 5em;
}
.portlet .portletHeader > a, .portlet .portletHeader > span:nth-child(2) {
  display: block;
  color: #ffffff;
  padding: 0.7em 1em;
  font-size: 1em;
}
.portlet .portletHeader > a:hover {
  color: #ffffff !important;
  border-radius:5px;
  transform: scale(1.1);
}
.portlet .portletHeader {
  padding: 0;
}
/********** Footer **********/
footer {
  border-top: #D5A801 3px solid;
  margin-top: 2em;
  font-size: 80%;
  background: #131027;
  margin-bottom:0;

}


footer a {
  color: #ffffff !important;
}
footer p { 
  color: #ffffff;
  
}

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

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

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

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

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

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

.colophon-item img {
  height: 32px;
}

.colophon-info {
    color: #ffffff;
    font-size: 11px;
    margin-top: 1em;
}

.colophon-logo {
  height: 40px
}
/********* RESPONSIVE **********/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

  header {
    margin-bottom: 1em;
  }
  
  /* Mobile Menu theme color adjustments */
  #column-one {
    border-color: #E6E6E6;
  }

  dl.portlet ul.navTree .navTreeCurrentItem {
    border-color: #E6E6E6;
  }

  dl.portlet ul.navTree li a:hover {
    border-color: #E6E6E6;
  }

}
/* Landscape phones and down */
@media (max-width: 767px) {
    #portal-logo {
      display: inline-block;
      font-size: 50%;
    }

    #portal-logo.has-title img {
      display: none;
    }
    


    #main-navigation ul {
      box-sizing: border-box;
      padding: 0;
      padding-right: 0.5em;
      text-align: center;
      float: none;
        width: 100%;
      white-space: nowrap;
      overflow-x: scroll;
      overflow-y: hidden; 
      -webkit-overflow-scrolling: touch;
  }

    #main-navigation ul::after {
      content: '';
      background-image: linear-gradient(to right, transparent, rgba(230, 230, 230, 0.9) 80%);
      height: 43px;
      position: absolute;
      pointer-events: none;
      right: 0;
      top: 0;
      width: 2.2em;
      z-index: 10;
    }

    #main-navigation li {
      float: none;
    }

    #main-navigation li a:link {
      padding: 1.2em 1.5em;
      line-height: 1;
    }

  #portal-searchbox {
  margin: 1.5em;
  position:absolute;
  top:0;
  left:0;
  right:auto;
  float: left;
  }
  
  
  #portal-logo {
   top:10%;
 
}


#container-main {
    display: block;
    width:100%;
    z-index: 2;
    background-color:white;
    text-align: center;
    margin-top: 40px;
    
}


#main-navigation li a:link,
#main-navigation li a:visited {
 color: #0D0B33;

  
}

    .colophon-item {
      max-width: 96%;
      margin: 1.5rem 2%;
    }

}

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