@import url("grid.css");
/********** Basic styles **********/
body {
  background: #112C4F;
  /*background-image: url(../img/fundo.jpg);*/
  color: #333333;
  font-family: 'Open Sans', sans-serif;
}
a:link,
a:visited,
#content a:link,
dl.portlet a:link {
  color: #1d2d6b;
}
.state-published {
  color: #10233b !important;
}
a:hover {
  color: #1d2d6b;
}
#content a:hover,
dl.portlet a:hover {
  color: #283e93 !important;
  /* Unfortunatelly is necessary with sunburst */

}
.clear {
  clear: both;
}
/********** Main container **********/
#wrapper {
  width: 100%;
  max-width: 1185px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 35px #0e1636;
  margin-top: 10px;
  margin-bottom: 10px;
}
#main {    
    margin: auto;
    max-width: 98%;
}
/********** Header **********/
header {
  background: #25528c;
  color: #ffffff;
}
header a:link,
header a:visited {
  color: #ffffff;
}
header a:hover {
  color: #e6e6e6;
}
/* Logo */
#portal-logo {
float: left;
width: 550px;
padding-left: -20px;
margin: 0;
margin-left: 10px;
}
#portal-siteactions {
  float: right;
  padding: 0;
  margin-bottom: 5px;
  margin-right: 10px;
  margin-top: 35px
}
#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: #f1f1f1;
}
/* search */
#portal-searchbox {
  margin-right: 2%;
}
.searchButton {
  border: none;
  padding: 0.4em 0.7em;
  background: #1a3a64;
  color: #ffffff;
  cursor: pointer;
}
/* Navigation */
nav {
  margin-bottom: 25px;
  clear: both;
  background: #1a3a64;
  color: #ffffff;
}
nav ul {
  padding: 0.3em 2%;
  text-align: right;
}
nav li {
  display: inline-block;
}
nav li a {
text-transform: uppercase;
  transition: all ease-in-out 0.5s;
}
nav li a:link {
  font-size: 100%;
  text-decoration: none;
  display: block;
  color: #fff !important;
  padding: 5px 10px;
  font-weight: bold;
}
nav li:last-child a {
  border: none;
}
nav li a:hover {
  border-bottom: 0.1px solid #25528c;
}
nav li a:link,
nav li a:visited {
  color: #ffffff;
}
/********** Content **********/
/* breadcrumb */
#portal-breadcrumbs {
  margin: 2em 1%;
  font-size: 80%;
  background: #fcfdfd;
  border: 1px solid #E9E9E9;
  border-radius: 6px;
}
.section-front-page #portal-breadcrumbs {
  display: none;
}
/* text styles */
p {
  line-height: 1.4em;
}
h1 {
  color: #25528C;
  border: none;
  margin-bottom: 0;
  font-size: 2.5em;
}
h2 {
  color: #1a3a64;
  line-height: 97%;
}
h3 {
  color: #1a3a64;
  font-size: 15px;
}
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-weight: normal;
  margin-bottom: 1em;
}
/********** Tiles **********/
/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
  background: #25528c;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 5px;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
  color: #ffffff;
}
.portletHeader a:hover,
dl.portlet dt.portletHeader a:hover {
  color: #fff !important;
  background: #25528c;
  font-size:12px;
}
.portlet {
  margin-bottom: 2em;
  padding: 0;
  background: #fcfdfd;
}
/* 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(26, 58, 100, 0.05) 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: all ease-out 0.1s;
  line-height: initial;
}
.portlet.portletNavigationTree .navTree .navTreeItem a:hover {
  border-left: 5px solid #25528C;
  background-color: rgba(26, 58, 100, 0.05);
}
.portlet.portletNavigationTree .navTree .navTreeItem a.navTreeCurrentItem {
  border-left: 5px solid #25528C;
  background-color: rgba(26, 58, 100, 0.2);
}
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: #FFF;
  padding: 0.7em 1em;
  font-size: 1em;
}
.portlet .portletHeader > a:hover {
  background: #25528C;
  color: #fff !important;
}
.portlet .portletHeader {
  padding: 0;
}
/********** Footer **********/
footer {
  border-top: #d8d8d8 1px solid;
  margin-top: 2em;
  padding: 2%;
  font-size: 90%;
  background: #8F1116;
  color: #ffffff;
}
footer a {
  color: #ffffff !important;
}
footer p {
  margin-bottom: 2em;
}
/* MUDANÇAS */

.tile-header h1, .documentFirstHeading {
  font-size: 28px; 
  text-transform: none; 
  font-weight: 700 !important; 
  margin: 1px 0 15px 0
}
.tile-content h2, .documentFirstHeading {
  font-size: 26px; 
  text-transform: none;; 
  font-weight: 700 !important;
  margin-bottom: 10px;
  margin-top: 10px; 
}
.tile-footer {
  padding-top: 10px !important; 
}
.tile-footer a {
  color: #fff !important;
  border-bottom: none !important; 
  background: #8F1116; 
  padding: 8px 15px; 
  text-transform: uppercase; 
  font-size: 12px; 
  font-weight: 700;
}
.tile-footer a:hover, input[type="submit"]:hover {
  color: #bdc4e1 !important;
}
.collection-item img, .tileItem img {
  border-radius: 3px 3px;
}
.collection-item {
  overflow: hidden;
  border-bottom: 1.5px solid #f1f1f1; 
  width: 46%; 
  margin: 5px 2%; 
  display: inline-block;
  float: left;
  min-height: 285px;
  perspective: 500;
  transition: all 0.4s ease-in-out;
}
.collection-item img {
  float:left;
  width: 100%; 
  height: 200px; 
  display: relative;
}
.tileItem img {
  border-radius: 6px 6px;
}
.collection-item:hover {
  transform: scale(1.05);
}
.collection-item img:hover {
  box-shadow: 2px 3px 5px black; 
  -moz-box-shadow: 2px 2px 2px black; 
  -webkit-box-shadow: 2px 2px 2px black;
}
input[type="submit"] {
  color: #fff !important; 
  border-bottom: none !important; 
  background: #8F1116; 
  padding: 8px 15px; 
  text-transform: uppercase; 
  font-size: 12px;
  font-weight: 700; 
  border: none; 
}
input {margin: 5px; 
  padding: 4px 1px; 
  border: 1px solid #ccc; 
  font-size: 13px;
  color: #666;
}
.newsImageContainer {
  box-shadow: 0px 0px 0px 2px black;
}
.newsImageContainer:hover {
  box-shadow: 0px 0px 0px 3px black;
  transform: scale(1.05)
}

/*CSS Botões nos portlets*/
.flip-container {
    perspective: 1000;
}
.flip-container:hover .back {
    transform: rotateY(0deg);
}
.flip-container:hover .front {
    transform: rotateY(180deg);
}
.flip-container, .front, .back {
    width: 185px;
    height: 100px;
}
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
.front, .back {
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;

    position: absolute;
    top: 0;
    left: 0;
}
.front {
    background: #25528C;
    z-index: 2;
}
.back {
    background: #25528C;
    transform: rotateY(-180deg);
}
.back{
    background: #F0F2F5;
}
.titlebackbutton {
    color: #000000;
    text-align: center;
    font-weight: bold;
    font-family: Verdana;
    font-size: 16px;
    margin: 5px 0;
    text-shadow: 0.1em 0.1em 0.05em #acd7e5;
}
.texttitlebackbutton {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 12px;
    color: #000000;
    text-align: justify;
    padding-right: 5px;
    padding-left: 5px;
}
#content-core {
  margin-top: 20px;
}
.documentAuthor {
  display: none;
}

/* FIM MUDANÇAS */

/* Mobile Menu button colors */

.menu-button{
  background: #25528c;
}

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

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

.menu-button > button.menuAtivo {
  background: #1A3A64; 
}
/********* 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: #25528C;
  }

  dl.portlet ul.navTree .navTreeCurrentItem {
    border-color: #1A3A64
  }

  dl.portlet ul.navTree li a:hover {
    border-color: #25528C;
  }
  
}
/* 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%;
  }
}
/* -------------- CARROSSEL  --------------- */
.galleria-info {
background: rgba(143,17,22, 0.84);
width: auto !important;
right: 10px;
left: 10px;
padding: 5px 10px;
font-family: "Open Sans" !important;
}
 
#content .galleria.cover-carousel-tile .galleria-info-title a {
color: #fff !important;
font-size: 18px; font-family: "Open Sans" !important;
}

#content .galleria.cover-carousel-tile .galleria-info-description {
color: #ccc; font-family: "Open Sans" !important;
}
 
.galleria-thumbnails-container {
top: 20px;
left: 10px;
}
.galleria-thumbnails-list {
text-align: right;
right: 30px;
}
.galleria-thumbnails .galleria-image {
background: #8F1116;
height: 15px !important;
width: 15px !important;
}
 
.galleria-stage {
bottom: 0 !important;
}
.galleria-container.notouch {
height: 400px !important;
width: 100%;
bottom: 20px;
}
.galleria-info-description {display: none !important;}
.galleria-image img {min-width: 100% !important}

.galleria-container {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.galleria-container img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    transition: transform ease 1.2s;
}

.galleria-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.galleria-stage:hover .galleria-image::after{
    background-color: rgba(0, 0, 0, 0.1);
}

.galleria-stage:hover .galleria-images img {
    transform: scale(1.1);
}
/* -------------- FIM CARROSSEL  --------------- */