@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: #10233b !important;
}
a:hover {
  color: #1a3a64;
}
#content a:hover,
dl.portlet a:hover {
  color: #1a3a64 !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: #25528c;
  color: #ffffff;
  float: left;
  width: 100%;
}
header a:link,
header a:visited {
  color: #ffffff;
}
header a:hover {
  color: #e6e6e6;
}
/* Logo */
#portal-logo {
  display: block;
  float: left;
  margin: 1.5em;
}

#portal-personaltools {
  background: #1a3a64;
}

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

#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: #e6e6e6;
}
/* 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: #1a3a64;
  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: #1a3a64;
  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: #25528c;
}

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

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

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

/********** 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: 1em;
}
h1 {
  color: #1a3a64;
  border: none;
  margin-bottom: 0;
  font-size: 2.5em;
}
h2 {
  color: #1a3a64;
}
#content {
  margin: 0;
  font-size: 1.1em;
}
#content .documentDescription,
#content #description {
  color: #4d4d4d;
  font-weight: normal;
  font-size: 1.4em;
   margin-bottom: 1em;
}
/********** Tiles **********/
.tile-header h2, .tile-content h2, .documentFirstHeading {
    margin-bottom: 0.5em;
}

.tile-noticias .collection-item {
    float: left;
    width: 60%;
    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; /* Mantém a proporção da imagem */
    max-width: 800px; /* Define um tamanho máximo para a imagem */
    display: block;
    margin: 0 auto;
}

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

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

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

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

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

/*********** Portlets ***********/
/* general styles */
.portletHeader,
dl.portlet dt.portletHeader {
  border-bottom: #d8d8d8 1px solid;
  font-weight: bold;
  background-color: #1A3A64;
  color: #fff;
}
.portletHeader a,
dl.portlet dt.portletHeader a {
  color: #fff;
  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(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;
  font-size: 80%;
  background: #25528C;
  color: #ffffff;
}
footer a {
  color: #ffffff !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;
}

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

.colophon-info {
    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: #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: 767px) {
    #portal-logo {
      display: inline-block;
      font-size: 90%;
    }

    #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(26,58,100,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-top: 0;
      float: none;
      text-align: center;
      clear: both;
      font-size: 80%;
    }

    .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;
  }       
}

/* Estilo para o título */
h2 {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Estilo para o contêiner das fotos */
.vereadore-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
}

/* Estilo para cada vereador */
.vereadore {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
    position: relative;
}

/* Estilo para a imagem do vereador */
.vereadore img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 15px solid transparent;
    transition: transform 0.3s ease, border 0.3s ease;
}

/* Efeito de hover para cada vereador */
.vereadore:hover img {
    transform: scale(1.05);
    border: 15px solid rgba(0, 0, 255, 0.5); /* Verde claro com transparência de 50% */
}

/* Estilo para o nome do vereador */
.vereadore h3 {
    margin: 0;
    font-size: 1.6em;
    color: white;
    transition: opacity 0.3s ease;
    opacity: 0;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    padding: 10px;
    border-radius: 10px;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilo para o cargo do vereador */
.vereadore p {
    margin: 10px 0 0;
    font-size: 1.4em;
    color: white;
    transition: opacity 0.3s ease;
    opacity: 0;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    padding: 10px;
    border-radius: 10px;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Efeito de hover para exibir o texto */
.vereadore:hover h3,
.vereadore:hover p {
    opacity: 1;
}

/* Estilo para o menu de imagem */
.menu-imagem {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
}

/* Estilo para cada item do menu */
.menu-item {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
    position: relative;
}

/* Estilo para a imagem do menu */
.menu-item img {
    height: 150px;
    border-radius: 0%;
    transition: transform 0.3s ease;
}

/* Efeito de hover para cada item do menu */
.menu-item:hover img {
    transform: scale(1.1);
}

/* Estilo para o menu de portlet */
.menu-portlet {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
}

/* Estilo para cada item do menu */
.menu-pitem {
    flex: 1 1 200px;
    margin: 10px;
    text-align: center;
    position: relative;
}

/* Estilo para a imagem do menu */
.menu-pitem img {
    height: 85px;
    border-radius: 0%;
    transition: transform 0.3s ease;
}

/* Efeito de hover para cada item do menu */
.menu-pitem:hover img {
    transform: scale(1.2);
}

/* Estilo para o carrosselbanner */
.carrosselbanner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Estilo para as slidesbanner */
.slidesbanner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* Ajuste conforme o número de slides */
}

/* Estilo para cada slide */
.slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Estilo para as imagens */
.slide img {
    width: 100%;
    height: 150px; /* Altura do banner */
    object-fit: cover;
}
/* Botões falabr
.botao-ouvidoria-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.botao-ouvidoria {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 160px;
}

.icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.description {
    font-size: 12px;
}

.botao-ouvidoria.denuncia {
    background-color: #f44336;
}

.botao-ouvidoria.reclamacao {
    background-color: #ff9800;
}

.botao-ouvidoria.solicitacao {
    background-color: #4caf50;
}

.botao-ouvidoria.sugestao {
    background-color: #2196f3;
}

.botao-ouvidoria.elogio {
    background-color: #8bc34a;
}

.botao-ouvidoria:hover {
    opacity: 0.8;
}

/* Contêiner flexível, ajustado para 3 blocos por linha */
.menu-bloco {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Define 3 colunas */
  gap: 20px; /* Espaço uniforme entre os blocos */
  justify-content: center;
  margin: 20px auto;
  max-width: 800px; /* Define uma largura máxima para evitar que os blocos fiquem muito espalhados */
}

/* Cada bloco do menu */
.menu-bloco__item {
  background: linear-gradient(180deg, #e0e0e0 0%, #ffffff 100%);
  border-radius: 8px;
  text-align: center;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao passar o mouse */
.menu-bloco__item:hover {
  transform: scale(1.15); /* Aumenta 20% ao passar o mouse */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

}

/* Ícones reduzidos */
.menu-bloco__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* Texto da legenda */
.menu-bloco__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.2;
}

/* Ajustes para telas menores (responsivo) */
@media (max-width: 768px) {
  .menu-bloco {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas em telas menores */
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .menu-bloco {
    grid-template-columns: repeat(1, 1fr); /* 1 coluna em telas bem pequenas */
    max-width: 300px;
  }

