@import url("grid.css");
/********** Basic styles **********/
body {
  background: #f1f1f1;
  color: #333333;
  font-family: 'Open Sans', sans-serif;
}
a:link,
a:visited,
#content a:link,
dl.portlet a:link {
  color: #000000;
}
.state-published {
  color: #5f2c20 !important;
}
a:hover {
  color: #000000;
}
#content a:hover,
dl.portlet a:hover {
  text-decoration: underline;
  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 {
  background: #ab4f3a;
  color: #ffffff;
}
header a:link,
header a:visited {
  color: #ffffff;
}
header a:hover {
  color: #e6e6e6;
}
/* Logo */
#portal-logo {
  margin-left: 2%;
}
#portal-siteactions {
  text-align: right;
  margin-right: 2%;
  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";
}
#portal-siteactions li#siteaction-accessibility {
  width: 17px;
}
#portal-siteactions li a:hover {
  color: #e6e6e6;
}
/* search */
#portal-searchbox {
  margin-right: 2%;
}
.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: #853d2d;
  color: #ffffff;
  cursor: pointer;
}
/* Navigation */
nav {
  margin: 0;
  clear: both;
  background: #853d2d;
  color: #ffffff;
}
nav ul {
  padding: 0.3em 2%;
  text-align: right;
}
nav li {
  display: inline-block;
}
nav li a:link {
  font-size: 80%;
  text-decoration: none;
  display: block;
  padding: 0 1em;
  border-right: 1px solid #ffffff;
}
nav li:last-child a {
  border: none;
  padding-right: 0;
}
nav li a:link,
nav li a:visited {
  color: #ffffff;
}

/* Mobile Menu button colors */

.menu-button{
  background: #AB4F3A;
}

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

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

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

/********** Content **********/
/* breadcrumb */
#portal-breadcrumbs {
  margin: 2em 2%;
  font-size: 80%;
  clear: both;
}
.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: #853d2d;
}
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-weight: normal;
  margin-bottom: 1em;
}
/********** Tiles **********/
/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
  border-bottom: #d8d8d8 1px solid;
  font-weight: bold;
  background: transparent;
  color: #853d2d;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
  color: #853d2d;
}
.portlet {
  margin-bottom: 2em;
  padding: 4px 0;
}
/* 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;
}
.portletNavigationTree .navTreeLevel0 > li {
  border-bottom: #d8d8d8 1px solid;
  list-style: none;
}
.portletNavigationTree a {
  display: block;
  padding: 0.3em 0.3em 0.3em 0.5em;
}
.portletNavigationTree a:hover {
  background: #e4e4e4;
}
.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;
}
/********** Footer **********/
footer {
  border-top: #d8d8d8 1px solid;
  margin-top: 2em;
  padding: 2%;
  font-size: 80%;
  background: #853d2d;
  color: #ffffff;
}
footer a {
  color: #ffffff !important;
}
footer p {
  margin-bottom: 2em;
}
/********* RESPONSIVE **********/
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
  
  /* Mobile Menu theme color adjustments */
  #column-one {
    border-color: #AB4F3A;
  }

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

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

}
/* Landscape phones and down */
@media (max-width: 480px) {
  #logo {
    width: 100%;
    float: left;
    text-align: center;
    clear: both;
    margin-bottom: 1em;
  }
  #portal-searchbox {
    float: none;
    text-align: center;
    clear: both;
    font-size: 80%;
  }
}
