@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.animated {
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes bounce {
  from, 3.33%, 8.83%, 13.33%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  6.66%, 7.16% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  11.66% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  15% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0);
  }
}

@keyframes bounce {
    from, 3.33%, 8.83%, 13.33%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  6.66%, 7.16% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0) scale(1.1, 1.1);
  }

  11.66% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0) scale(1.05, 1.05);
  }

  15% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0) scale(1.025, 1.025);
  }

  16.66% {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0, 0,0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.show-only-xxs {
    display: none;
}

.bloco-nav-menu ul li .submenu a:hover {
  background-color: #ccc;
}

.loading-block {
    position: relative;
    min-height: 300px;
    transition: all 0.3s ease;
}

#portal-loading {
    position: fixed;
    z-index: 99999;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
}

.loading-section {
    position: absolute;
    z-index: 99999;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 1;
    background: rgba(255,255,255,0.85);
    transition: opacity 0.2s ease-in-out 0s, z-index 0s ease-in-out 0s;
}

.loading-section.loaded {
    z-index: -99999;
    opacity: 0;
    transition: opacity 0.2s ease-in-out 0s, z-index 0s ease-in-out 0.2s;
}

.loading-section .inner,
#portal-loading .inner {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
    right: auto;
    bottom: auto;
    width: 80px;
    height: 80px;
    margin: auto;
    transform: scale(1, 1);
    transition: transform 0.2s ease-in-out 0.7s, top 0.5s ease-in-out 0s;
}

.loading-section.loaded .inner{
    transform: scale(0, 0);
    transition: transform 0.2s ease-in-out 0s, top 0.5s ease-in-out 0s;
}

.loading-section span.loader,
#portal-loading span.loader {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    margin: -25px 0 0 -25px;
    font-size: 10px;
    text-indent: -12345px;
    border-top: 15px solid rgb(138, 186, 51);
    border-right: 15px solid rgb(216, 49, 62);
    border-bottom: 15px solid rgb(86, 117, 183);
    border-left: 15px solid rgb(102, 102, 102);
    border-radius: 50%;
    animation: spinner 1000ms infinite linear;
}

.solr-searching {
    position: absolute;
    z-index: 10000;
    right: 30px;
    font-size: 1.5em;
    background-color: transparent;
    padding: 0 2px;
}

.angular-ui-tree-handle {
    cursor: text;
}

a.link-ver,
.carregar-mais span,
.carregar-mais td,
.conteudo-bloco-interno-mais,
.link-ordena {
  cursor: pointer;

}

#tree-root span.codigo {
    display: none;
    opacity: 0;
    transition: 1s ease;
}

#tree-root.exibe-codigos span.codigo {
    display: inline;
    opacity: 1;
    transition: 1s ease;
}
.treetable th {
  height: 43px;
}
td .conteudo-bloco-filtro-tabela-numero {
  width: auto;
}
.pointer {
  cursor: pointer;
}

/*************************************
Charts
*************************************/
table.chart-tooltip-table {
    margin:10px;
}

table.chart-tooltip-table th,
table.chart-tooltip-table td  {
    padding:3px;
}

table.chart-tooltip-table td {
    text-align: right;
    padding-left: 10px;
}

table.chart-tooltip-table th.valor-ano{
    text-align: right;
    padding-right: 5px;
}

tr.valor-total{
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 12px;
    background-color: #eaeaea;
    border-top: 1px solid #cacaca;
}

.chart-tooltip-header {
    font-size:16px;
    font-weight:600;
    display:block;
    margin:10px;
    border-bottom: 1px solid #cacaca;
}

.chart-tooltip-header small {
    font-size: 11px;
    font-weight: 300;
    padding-top: 8px;
}
#topBar ul.top-links > li > a > small > i {
    margin-right: 5px;
}
#topBar ul.top-links > li > a > small > i, #topBar ul.top-links > li > a > i {
    opacity: 0.5;
}
#topBar ul.top-links > li {
    padding-right: 4px;
}

.box-valor-documento {
    background-color: #fff;
    padding: 0 0 0 20px;
    right: 0;
    text-align: right;
    top: 0;
    float: right;
}
div.box-valor-documento h3 {
    display: block;
    margin-bottom: 5px;
}

abbr[title].abbr-simples {
    border-bottom: none;
}
.texto-embacado, div.texto-embacado {
    color: white;
    opacity: 0.2;
    text-shadow: 0 0 10px white;
}

.clear-link {
    color: inherit;
}

.width100p {
    width: 100%;
}

div.highcharts-legend {
    z-index: 1 !important;
}

div.highcharts-tooltip, div.highcharts-tooltip span {
    z-index: 100 !important;
    background-color: rgba(255,255,255,0.9);
}

#balanco .balanco-detalhes .conteudo-bloco-filtro-grafico .balanco-detalhes-grafico {
  height: auto;
}

/* loadMore do Glossario na Busca do Site */
a.definicoes-links-botao {
  position: relative;
}
.definicoes-links-botao i.fa-spin {
  font-size: 1.2em;
  position: absolute;
  right: 10px;
  top: 12px;
}
/* fim - loadMore do Glossario na Busca do Site */

#glossario .botao-x,
#faq .botao-x {
  right: 36px;
}

.busca-opcoes .lista-opcoes {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* angular-red-more */
.more-show-hide {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.more-show-hide.ng-hide {
  opacity: 0;
}
/* fim - angular-red-more */

.col-banner-home {
  margin-bottom: 30px;
}
.conteudo-bloco-interno > span[name="text"] > span.more-show-hide {
  margin-left: -2px;
}

iframe {
  border: none;
}
#banner.cor-verde {
    background: radial-gradient(circle, rgba(0,0,0,0.05), rgba(0,0,0,0.25), rgba(0, 0, 0, 0.55) ),
                rgba(0,80,0,1);
}
/*
#banner.com-foto {
    background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.35), rgba(0, 0, 0, 0) ),
                url(../images/background-pergunta-cidada-porto-clara.jpg) center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
*/
#banner.com-desenho {
    background-image: url(../images/background-desenho.jpg);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-attachment: fixed;
    background-size: cover;
    background-attachment: scroll;
}

#banner.com-foto:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.35), rgba(0, 0, 0, 0) ),
              url(../images/background-pergunta-cidada-porto-clara.jpg) center no-repeat;
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  height: 100%;

  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
  overflow: hidden;
}

#balanco .balanco-grafico {
  overflow:auto;
}
#balanco .balanco-grafico-container {
  overflow:hidden;
}
#balanco .balanco-grafico-remuneracao {
  height: 333px;
}

.videohome{
  box-shadow: 2px 2px 10px 4px rgba(0,0,0,0.25), 2px 2px 5px 0px rgba(0,0,0,0.35);
  transition: all 0.1s 0s;
}
#home .sobre .banner .titulo p {
  text-transform: initial;
  font-size: 0.9em;
}
#home .sobre .banner .texto {
    padding: 30px 40px 40px;
}

@media (max-width: 480px) {
  .show-only-xxs {
      display: block;
  }
  .hidden-xxs {
    display: none!important;
  }
  #contato .contato-bloco-select {
    width: auto;
  }
  #contato .conteudo-bloco .contato-botao.botao--grande {
    min-width: auto;
  }
}
@media (max-width: 1200px) {
  #home .sobre .banner .titulo p {
    font-size: 0.8em;
  }
}
@media (min-width: 769px) {
  .li-debito :first-child {
      border-left: none;
      margin-left: 0;
  }

  ul.debito-bloco {
      border-left: 1px solid #ccc;
      margin-left: 20px;
  }
}
@media (min-width: 768px) {
  #home .sobre .banner .titulo {
    padding-top: 30px;
  }
}

.conteudo-bloco-filtro-select {
  padding-right: 20px;
}
.dados-funcionais-indisponiveis {
  margin: -20px 0 30px 20px;
}

#home .sobre .card .badgeapp {
  width: 200px;
  margin: 10px auto 0;
}
#home .sobre .card .badgeapp img{
    display: block;
    max-width: 100%;
    height: auto;
}

.flex-row {
    display: block;
}

@media (min-width: 768px) {
  .flex-row {
    display: flex;
  }
}

#noticias .noticia.noticia--destaque {
  padding-bottom: 20px;
}

#header .bloco-nav-menu ul li .submenu.submenu-4 ul {
    width: 33.33%;
}

#contato .contato-bloco-h-1 {
    min-height: 150px;
}

/* portal antigo */
.paragraph {
    margin-top:10px;
    text-align:justify;
    text-indent: 1.5em; 
}

.about-icon {
    background-image: url("/resources/portal/img/coin-search.png"); inline-block;
    background-repeat:no-repeat;
    width:256px; height:256px;
    float:left;
    margin-right: 15px; 
}

.quote {
    color:#395296;
    float:right;
    font-size: 20px;
    padding: 15px;
    width:20%;
}

/*************************************
Dados Abertos (item 15.4 PNTP)
*************************************/
#dados-abertos code {
    background-color: #f2f2f2;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.92em;
    word-break: break-all;
}
#dados-abertos .dados-abertos-exemplo {
    background-color: #f2f2f2;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    padding: 10px 12px;
    margin: 6px 0 14px 0;
    font-size: 0.92em;
    /* evita barra de rolagem horizontal em URLs longas */
    white-space: pre-wrap;
    word-break: break-all;
    overflow-wrap: anywhere;
}
#dados-abertos .tabela-dados-abertos code {
    background-color: transparent;
    padding: 0;
}

/*************************************
Contratos (Extratos Contratuais)
*************************************/
/* As colunas do Bootstrap 3 usam float: quando um campo fica mais alto que os
   demais (por um rótulo em duas linhas, por exemplo), os campos seguintes
   "engancham" nele e a grade se desalinha. Com flex-wrap as colunas quebram
   sempre na largura, nunca na altura, mantendo os percentuais das classes col-*. */
.filtros-contrato {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filtros-contrato > div {
    margin-bottom: 12px;
}
/* O portal define .conteudo-bloco-filtro-label com width:20px (rótulos "de"/"até"
   do filtro de período). Aqui os rótulos são textos completos, por isso a largura
   é liberada. Seletor com 3 classes para vencer a regra do main.css. */
.conteudo-bloco-interno .filtros-contrato .conteudo-bloco-filtro-label {
    display: block;
    width: auto;
    text-align: left;
    font-weight: 700;
    margin-bottom: 4px;
}
.filtros-contrato .filtro-botao-linha {
    display: flex;
    align-items: flex-end;
}
/* Arquivos anexos: no contrato ocupam uma coluna própria (rótulo em cima,
   ícones embaixo, como nos demais campos do card); no aditivo acompanham o
   rótulo dentro da própria célula da tabela. */
.aditivo-arquivos {
    display: inline;
}
.arquivo-link {
    display: inline-block;
    margin-right: 8px;
    color: #12844c;
    text-decoration: none;
}
.contrato-arquivos .arquivo-link {
    margin-right: 10px;
}
/* Dentro da tabela de aditivos o ícone vem logo após o texto do aditivo */
.aditivo-arquivos .arquivo-link {
    margin-right: 0;
    margin-left: 6px;
}
.arquivo-link:hover {
    color: #0d6238;
}
/* A classe .icon do portal já aplica a fonte de ícones (untitled-font-2);
   aqui apenas o tamanho é ajustado ao contexto. */
.arquivo-link .icon {
    font-size: 16px;
}
/* Na tabela de aditivos o ícone acompanha o rótulo do aditivo */
.tabela-aditivos .arquivo-link .icon {
    font-size: 14px;
}

/* Selo "contrato": mesmo desenho do selo do detalhe de diárias, sem alterar a
   fonte (o texto cabe nos 76px da fita).
   A fita é formada pelo bloco central mais dois triângulos (:before/:after) que
   avançam 34px para cada lado; como o selo fica encostado na borda direita do
   card, o triângulo da direita ultrapassa o card e provoca rolagem horizontal
   na página (comportamento que também ocorre no detalhe de diárias). O
   overflow:hidden no card recorta esse excesso exatamente na borda, mantendo o
   formato de fita de canto e eliminando a rolagem. */
.conteudo-documento.card-contrato {
    overflow: hidden;
}

/* O bloco .conteudo-bloco-filtro-resultados-valor exibe por padrão um ícone de
   R$ (content:"H" da fonte untitled-font-2), pois normalmente apresenta valores
   monetários. Na consulta de contratos o número exibido é uma quantidade, então
   este modificador remove o ícone e o espaço reservado para ele.
   Segue o mesmo padrão dos modificadores do main.css (valor-equipamentos etc.). */
.conteudo-bloco-filtro-resultados-valor.valor-quantidade {
    padding-left: 0;
}
.conteudo-bloco-filtro-resultados-valor.valor-quantidade:before {
    content: none;
}

.contrato-aditivos {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e1e1e1;
}
/* table-layout:fixed é essencial aqui: no layout automático, um "Objeto do
   Aditivo" muito longo (há casos com mais de 1500 caracteres) recebe quase toda
   a largura e espreme as demais colunas, quebrando datas em várias linhas.
   Com o layout fixo as larguras abaixo são respeitadas e apenas o objeto cresce
   em altura. O min-width faz a tabela rolar dentro do container (que tem
   overflow:auto) em telas estreitas, em vez de espremer as colunas. */
.contrato-aditivos .tabela-aditivos {
    width: 100%;
    min-width: 760px;
    table-layout: fixed;
}
.contrato-aditivos .tabela-aditivos th,
.contrato-aditivos .tabela-aditivos td {
    padding: 6px 8px 6px 0;
    vertical-align: top;
}
/* Aditivo e Objeto: quebram o texto normalmente */
.contrato-aditivos .tabela-aditivos th:nth-child(1),
.contrato-aditivos .tabela-aditivos td:nth-child(1) {
    width: 16%;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.contrato-aditivos .tabela-aditivos th:nth-child(2),
.contrato-aditivos .tabela-aditivos td:nth-child(2) {
    width: 32%;
    word-break: break-word;
    overflow-wrap: anywhere;
}
/* Valores, prazo e datas: conteúdo curto que não deve quebrar no meio */
.contrato-aditivos .tabela-aditivos th:nth-child(3),
.contrato-aditivos .tabela-aditivos td:nth-child(3),
.contrato-aditivos .tabela-aditivos th:nth-child(4),
.contrato-aditivos .tabela-aditivos td:nth-child(4) {
    width: 12%;
}
.contrato-aditivos .tabela-aditivos th:nth-child(5),
.contrato-aditivos .tabela-aditivos td:nth-child(5) {
    width: 8%;
}
.contrato-aditivos .tabela-aditivos th:nth-child(6),
.contrato-aditivos .tabela-aditivos td:nth-child(6),
.contrato-aditivos .tabela-aditivos th:nth-child(7),
.contrato-aditivos .tabela-aditivos td:nth-child(7) {
    width: 10%;
}
.contrato-aditivos .tabela-aditivos td:nth-child(n+3) {
    white-space: nowrap;
}
.contrato-aditivos .tabela-aditivos thead th {
    border-bottom: 1px solid #bebebe;
    font-weight: 700;
}
.contrato-aditivos .tabela-aditivos tbody tr {
    border-top: 1px solid #e1e1e1;
}
/*************************************
Sancionados Administrativamente
*************************************/
/* Mesmo cuidado da tabela de aditivos: com table-layout automático um nome de
   empresa longo receberia quase toda a largura e espremeria as datas em várias
   linhas. Com o layout fixo apenas as colunas de texto crescem em altura. */
.tabela-sancionados {
    width: 100%;
    min-width: 820px;
    table-layout: fixed;
}
.tabela-sancionados th,
.tabela-sancionados td {
    padding: 6px 8px 6px 0;
    vertical-align: top;
}
.tabela-sancionados thead th {
    border-bottom: 1px solid #bebebe;
    font-weight: 700;
}
.tabela-sancionados tbody tr {
    border-top: 1px solid #e1e1e1;
}
/* Empresa e Contrato/Licitação: quebram o texto normalmente.
   A primeira coluna recebe recuo à esquerda (o padding padrão das células é
   apenas à direita, o que deixaria o nome da empresa colado na borda da grade),
   seguindo os 14px usados nas demais tabelas do portal. */
.tabela-sancionados th:nth-child(1),
.tabela-sancionados td:nth-child(1) {
    width: 34%;
    padding-left: 14px;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.tabela-sancionados th:nth-child(2),
.tabela-sancionados td:nth-child(2) {
    width: 22%;
    word-break: break-word;
    overflow-wrap: anywhere;
}
/* Datas, prazo e situação: conteúdo curto que não deve quebrar no meio */
.tabela-sancionados th:nth-child(3),
.tabela-sancionados td:nth-child(3),
.tabela-sancionados th:nth-child(5),
.tabela-sancionados td:nth-child(5) {
    width: 11%;
}
/* Prazo é alinhado à direita: sem o recuo o número fica encostado na coluna
   Término. */
.tabela-sancionados th:nth-child(4),
.tabela-sancionados td:nth-child(4) {
    width: 9%;
    padding-right: 24px;
}
.tabela-sancionados th:nth-child(6),
.tabela-sancionados td:nth-child(6) {
    width: 13%;
}
.tabela-sancionados td:nth-child(n+3) {
    white-space: nowrap;
}

.situacao-contrato {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}
.situacao-contrato.situacao-vigente {
    background-color: #daf6df;
    color: #12844c;
}
.situacao-contrato.situacao-vencido {
    background-color: #fdf0d5;
    color: #8a6100;
}
.situacao-contrato.situacao-rescindido {
    background-color: #f8dcdc;
    color: #a12626;
}