/* Import Barceloneta styles */
@import "++theme++barceloneta/less/barceloneta.plone.less";

/* Customize whatever you want */
@plone-link-color: #333333;
@plone-footer-bg: #504f4e;
@plone-link-color-on-dark: #fff;
@plone-breadcrumb-bg: #fafafa;
@plone-sitenav-link-hover-bg: rgba(256,256,256,0.1);

a {
  color: #333;
}

#uem-toolbar {
  background: #b00A859;
  color: #fff;
  padding: 10px;
  text-align: center;
}
#uem-toolbar ul {
    margin: 0;
    padding: 0px;
}
  
#uem-toolbar .glyphicon {
    display: none;
}
#uem-toolbar li {
    display: inline-block;
    margin-right: 10px;
}
#uem-toolbar li a {
    color: #fff;
}
#uem-toolbar li a:before {
    content: "";
    background-image: url(img/sprite.png);
    background-position: 0 0;
    width: 18px;
    height: 18px;
    display: inline-block;
    background-position: 0px 3px;
    margin-right: 5px;
}
#uem-toolbar li.ico-news a:before {
    background-position: -18px 3px;
}
#uem-toolbar li.ico-vestibular a:before {
    background-position: -36px 3px;
}
#uem-toolbar li.ico-biblioteca a:before {
    background-position: -54px 3px;
}
#uem-toolbar li.ico-saude a:before {
    background-position: -71px 3px;
}
#uem-toolbar li.ico-intranet a:before {
    background-position: -90px 3px;
}
#uem-toolbar li.ico-search a:before {
    background-position: -107px 3px;
}
#uem-toolbar li.ico-internacional a:before {
    background-position: -502px -8px;
    background-size: 130px;
}

#uem-toolbar a {
    color: #fff;
    text-wrap-mode: nowrap;
    padding-right: 1rem;
}

#portal-header {
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  background: #f2f1f1;
  margin: 0 auto;
}
#portal-logo {
  margin-left: 20px;
  
  /*para não deixar o logo quebrar de linha*/
  position: absolute;
  margin-right: 64px;
  height: 65px;
}
/*centraliza verticalemnte o logo*/
#portal-logo > img {
    position: relative;
    max-height: 64px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}
#mainnavigation-wrapper {
  width: 70px;
  float: left;
}
#content-header .container,
.plone-navbar .container {
    width: 100% !important;
    padding: 0;
}
.plone-navbar {
  background-color: #000;
  width: 70px;
  height: 65px;
  margin-bottom: 0;
}
.plone-navbar-nav {
    float: none;
    position: absolute;
    background: #fff;
    top: 65px;
    min-width: 400px;
    z-index: 3;
    padding: 15px 0;
    margin: 0 -15px;
    width: 98.8vw;
    display: flex;
    flex-wrap: wrap;
    outline: 2px solid #fff;
    padding-right: 10vw;
    box-shadow: 0 8px 6px -6px #ccc;
}
.plone-navbar-nav > li {
    float: none;
    border-bottom: none;
    width: 20%;
    margin-bottom: 30px;
    padding: 0 20px;
    border-right: 1px solid #e0e0e0;
}
.plone-navbar-toggle {
  display: block;
}
.plone-navbar-collapse.plone-collapse {
  display: none !important;
}
.plone-navbar-collapse.plone-collapse.in {
  display: block !important;
}
.plone-navbar-toggle:hover,
.plone-navbar-toggle:focus,
.plone-navbar-toggle {
  background: transparent;
  border: none;
  box-shadow: none;
}
.icon-bar {
    background: #fff;
    height: 4px;
    display: block;
    width: 35px;
    margin: 7px 6px;
}
.plone-navbar-toggle .icon-bar::after {
  display: none;
}
.plone-navbar-nav > .selected > a, .plone-navbar-nav > .selected > a:hover, .plone-navbar-nav > .selected > a:focus {
    background-color: transparent;
    color: #00A859;
}
.plone-nav > li > a:hover, .plone-nav > li > a:focus {
    background-color: transparent !important;
    color: #00A859;
}
.plone-nav > li > a:hover, .plone-nav > li > a:focus {
    background-color: #b53a1e;
}
.plone-navbar-nav li .submenu {
    background-color: transparent;
    display: block !important;
    position: relative;
    border: none;
    margin-bottom: 20px;
}
.dropdown-menu {
    top: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
}
.plone-nav > li > a {
    color: #4d4d4d;
    padding: 10px 4px;
}
.plone-navbar-nav > li > a {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 20px;
    margin-bottom: 10px;
    color: #4d4d4d;
}
.plone-navbar-nav li .submenu a {
    padding: 0 0 4px 14px;
}
.plone-navbar-nav li .submenu a:hover {
    text-decoration: none;
    color: #00A859;
    background: transparent;
}
.plone-navbar-nav li .caret {
    display: none;
}
.plone-navbar-nav li .submenu a {
    color: #4d4d4d;
    padding: 0 0 12px 4px;
    min-width: auto;
    white-space: normal;
    line-height: 18px;
}
#portal-searchbox {
  margin: 0;
}
#portal-searchbox [type="submit"] {
    display: none;
}
#portal-searchbox .show {
    display: block !important;
}
#portal-searchbox [type="text"] {
    width: 30rem;
    height: 65px;
    border: none;
    border-radius: 0;
    display: none;
}
#portal-searchbox .LSBox {
    display: flex;
    justify-content: flex-end;
}
#portal-searchbox label {
    position: relative;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    text-indent: -1000px;
    background-image: url(img/sprite.png);
    background-color: transparent;
    background-position: -120px -40px;
    margin: 16px;
    cursor: pointer;
}
#cover-hero.principal {
  margin-top: 0;
  margin: 0;
  padding: 0;
  background: #ededed;
}
#cover-hero.principal .column {
    padding: 0;
  }
  
#cover-hero.principal .container {
    width: 100% !important;
    padding: 0;
  }
  
#cover-hero.principal .galleria-container {
    max-width: 100%;
    min-height: 300px !important;
  }
  
#cover-hero.principal .galleria-stage {
    position: absolute;
    top: -2px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
  }
#cover-hero.principal .galleria-info {
    text-align: center;
  }
#cover-hero.principal .galleria-info-text {
    width: 960px;
    margin: 0 auto 30px auto;
    text-align: right;
}
#cover-hero.principal .galleria-info-text .galleria-info-title {
      font: inherit;
      font-size: 2rem;
      margin-bottom: 7px;
      background: #ccc;
      display: inline-block;
      padding: 10px;
      font-weight: bold;
      font-style: oblique;
    }
    
#cover-hero.principal .galleria-info-text a {
      color: #00A859 !important;
    }
#cover-hero.principal .galleria-info-text .galleria-info-description {
      font: inherit;
      margin: 0;
      color: #000;
      width: 45%;
      display: inline-block;
      background: #fff;
      padding: 10px;
      margin-left: 50%;
      font-size: 1.4rem;
      font-style: oblique;
    }
#cover-hero.principal .galleria-info-text .galleria-thumbnails-container {
      left: 0;
    }
#cover-hero.principal .galleria-thumbnails-container {
    bottom: 0;
  }
#cover-hero.principal .galleria-image-nav-right {
    right: 10px !important;
  }

.section-pagina-inicial #portal-breadcrumbs {
  display: none;
}
.plone-breadcrumb {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    margin-top: 20px;
}

#portal-footer-wrapper p {
    border: none;
    color: #fff;
  }
#portal-footer-wrapper .portletWrapper {
    display: block;
  }
#portal-footer-wrapper abbr, #portal-footer-wrapper ul {
    color: #fff;
  }
#portal-footer-wrapper .glyphicon {
    display: none;
  }


.portlet-static-rodape-uem ul {
    padding: 0;
  }
.portlet-static-rodape-uem ul:after {
    content: " ";
    clear: both;
    display: block;
    margin-bottom: 50px;
  }

.portlet-static-rodape-uem li {
    display: inline-block;
    width: 25%;
    float: left;
    border-right: 1px solid #fff;
    padding: 6px 0;
    font-size: 120%;
    height: 35px;
  }
.portlet-static-rodape-uem li a {
    vertical-align: top;
  }
.portlet-static-rodape-uem li i {
    font-size: 2rem;
    margin-right: 15px;
}

.portlet-static-rodape-uem li.ico-transparencia a:before {
    content: "";
    background-image: url(img/sprite.png);
    background-position: 0 0;
    width: 54px;
    height: 24px;
    display: inline-block;
    background-position: 0px -19px;
    margin-right: 5px;
  }
  
.portlet-static-rodape-uem li.ico-redes {
    float: right;
    height: 80px;
    border: none;
} 
.portlet-static-rodape-uem li.ico-redes li {
  border: none;
  width: 33px;
  text-align: center;
  float: none;
  margin: 10px 8px;
}
.portlet-static-rodape-uem li.ico-redes li i {
  font-size: 3rem;
  margin-right: 0;
}
.portlet-static-rodape-uem li.ico-redes a {
  display: block;
  width: 24px;
  height: 24px;
}
.portlet-static-rodape-uem li.ico-redes a:before {
  display: none;
}

@media (min-width: 768px) {
    .portlet-static-rodape-uem-novo > div:not(:last-child) {
        border-right: 1px solid #fff;
        padding: 0px;
    }
}

.portlet-static-rodape-uem-novo div > div {
    font-size: 120%;
    padding: 0.5rem;
    color: white;
}

.portlet-static-rodape-uem-novo div a:not(:last-child), a:only-child i {
    font-size: 2rem;
    margin-right: 15px;
}  

.portlet-static-rodape-uem-novo i.ico-transparencia::before {
    content: "";
    background-image: url(https://uem.br/++theme++portal-uem-2019-v0.24/img/sprite.png);
    background-position: 0 0;
    width: 54px;
    height: 24px;
    display: inline-block;
    background-position: 0px -19px;
    margin-right: -15px;
}

.tile img {
  max-width: 100%;
  height: auto;
}
.footer-uem {
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.footer-uem p {
      margin: 0 40px;
}

/* tile de rss */
.feed-tile .cover-collection-tile {
  display: flex;
  flex-wrap: wrap;
 /* justify-content: space-between; comentado */
 justify-content: unset!important;
}
.feed-tile .tile-header {
  width: 100%;
}
.feed-tile .cover-collection-tile img {
  float: none;
  margin: 0 0 .5em 0;
  /* height: 255px; alterado antigo valor 155px*/
  width: 400px;
  object-fit: cover;
}
.feed-tile .collection-item {
  /* width: 22%; */
 
}
/*col-?-?*/
.feed-tile .collection-item {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}
/*col-sm-4 */
@media (min-width: 768px) {
  .feed-tile .collection-item {
    float: left!important;
    width: 33.33333333%!important;
  }
}
/*col-md-3*/
@media (min-width: 992px) {
  .feed-tile .collection-item {
    float: left!important;
    width: 25%!important;
  }
}


@media screen and (max-width: 768px) {
    .feed-tile .collection-item {
      width: 100% !important;
    }
    .portlet-static-rodape-uem li {
      width: 100%;
      border-right: 0;
    }
    #portal-searchbox {
      padding-top: 0;
      position: absolute;
      width: 82%;
      right: 0;
    }
    #portal-searchbox [type="text"] {
      width: 100%;
      border-left: 54px solid #dbdbdb;
      margin-left: -61px;
    }
    .footer-uem {
      display: block;
      margin-bottom: 100px;
    }
    .plone-navbar-nav {
        display: block;
    }
    .plone-navbar-nav > li, .plone-navbar-collapse.in li .submenu {
      width: 100%;
    }
    .opener {
      display: none!important;
    }
    #cover-hero.principal .galleria-info-text {
        width: 100%;
        margin: 0;
        text-align: center;
        padding: 0;
    }
    #cover-hero.principal .galleria-info-text .galleria-info-description {
        width: 100%;
        margin-left: 0;
    }
    .galleria-info {
        position: absolute;
        z-index: 2;
        bottom: auto;
        left: 0;
        width: 100%;
        top: 150px;
    }
    .galleria-image img {
        min-height: 220px !important;
        object-fit: cover;
    }
    .plone-navbar-nav {
      position: relative;
      top: 0;
      display: block;
    }
    .plone-navbar-collapse.in {
      overflow-y: inherit;
    }
}


#portal-footer-wrapper .portlet.portletActions {
  margin: 40px 0;
}

/*quando a tela fica menor*/
@media (max-width: 991px) {
    
    /*remove portlet navegação */
    .portletWrapper:has(.portletNavigationTree) {
        display: none;
    }

    /*mudo o display para que a ordem tenha efeito e os portlets vá para o final da página */
    #main-container {
        display: flex;
        flex-direction: column;
    }

    /*defino a ordem dos portlets para ficarem depois do conteúdo central*/
    .sidebar-offcanvas {
        order: 1;
    }

}

/* =============================================================
   POP-UP DE COOKIES — BARRA AZUL FIXA NA PARTE INFERIOR

   Sobrepõe (por especificidade de ID) o modal centralizado
   definido em uem-toolbar.css, SEM alterar aquele arquivo.
   Exibido automaticamente só na primeira visita (behavior.js).
   ============================================================= */

#uem-cookie-modal {
  position: fixed;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  inset: auto 0 0 0;
  z-index: 150000;
  display: none;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

#uem-cookie-modal.is-open {
  display: block;
}

#uem-cookie-modal .uem-cookie-box {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  background: #002f5b;
  background: var(--uem-azul, #002f5b);
  border-top: 4px solid #00a859;
  border-top-color: var(--uem-verde, #00a859);
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

#uem-cookie-modal .uem-cookie-content h2 {
  margin: 0 42px 6px 0;
  color: #ffffff;
  font-size: 18px;
}

#uem-cookie-modal .uem-cookie-content p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

#uem-cookie-modal .uem-cookie-content a {
  color: #8ee0b1;
}

#uem-cookie-modal .uem-cookie-close {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

#uem-cookie-modal .uem-cookie-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  font-size: 20px;
}

#uem-cookie-modal .uem-cookie-confirm:focus {
  outline: 3px solid rgba(255, 255, 255, 0.45);
}

@media (max-width: 700px) {

  #uem-cookie-modal .uem-cookie-box {
    display: block;
    padding: 18px 16px;
  }

  #uem-cookie-modal .uem-cookie-icon {
    margin-bottom: 12px;
  }
}


/* =============================================================
   RODAPÉ (dados em footer-config.js; montado por behavior.js)

   1. Colunas de links (títulos agrupados às listas)
   2. Faixa institucional em grade 1fr/auto/1fr:
      logo UEM | contatos + ícones (centro real da página) | e-MEC
   3. Linha final de copyright alinhada ao bloco central

   Fundo 100% azul institucional, letras brancas em peso 600,
   hover verde, títulos com sublinhado verde UEM, margens
   laterais iguais. Os !important vencem o barceloneta e o
   uem-toolbar.css (inalterados).
   ============================================================= */

#uem-custom-footer {
  background: #002f5b;
  background: var(--uem-azul, #002f5b);
}

/*
  Container geral — existe antes mesmo de behavior.js organizar
  o conteúdo. Por isso as margens não dependem da classe
  .uem-footer-stack ser adicionada pelo JavaScript.
*/

#uem-custom-footer .uem-footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto !important;
  padding: 64px 70px 26px !important;
}

/* Evita margem ou padding duplicado no conteúdo organizado. */

#uem-custom-footer .uem-footer-stack {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- 1. Colunas de links configuráveis ---------- */

#uem-custom-footer #portal-footer-wrapper {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  text-align: left;
  column-count: 6;
  column-gap: 30px;
  font-size: 13px;
  background: transparent !important;
  background-color: transparent !important;
}

/* Fundo azul também em qualquer bloco interno do rodapé */
#uem-custom-footer #portal-footer-wrapper .portlet,
#uem-custom-footer #portal-footer-wrapper .portletWrapper,
#uem-custom-footer #portal-footer-wrapper #portal-footer {
  background: transparent !important;
}

/* Remove linhas horizontais vindas do portlet
   (ex.: a linha abaixo de SITE INTERNATIONAL), inclusive as
   aplicadas por estilo inline */
#uem-custom-footer #portal-footer-wrapper hr,
#uem-custom-footer #portal-footer-wrapper .portletSeparator,
#uem-custom-footer #portal-footer-wrapper .visualClear {
  display: none !important;
}

#uem-custom-footer #portal-footer-wrapper [style*="border"] {
  border: 0 !important;
}

#uem-custom-footer #portal-footer-wrapper p,
#uem-custom-footer #portal-footer-wrapper div,
#uem-custom-footer #portal-footer-wrapper ul,
#uem-custom-footer #portal-footer-wrapper li,
#uem-custom-footer #portal-footer-wrapper abbr {
  border: 0 !important;
}

/* Neutraliza o grid centralizado do Barceloneta */
#uem-custom-footer #portal-footer-wrapper .container,
#uem-custom-footer #portal-footer-wrapper .row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#uem-custom-footer #portal-footer-wrapper [class*="col-"] {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

/* Seção = título + lista: nunca quebra no meio, então o
   título jamais fica sozinho no fim de uma coluna */
#uem-custom-footer #portal-footer-wrapper .uem-footer-section {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  margin: 0 0 22px;
  border: 0 !important;
}

/* Letras brancas */
#uem-custom-footer #portal-footer-wrapper,
#uem-custom-footer #portal-footer-wrapper p,
#uem-custom-footer #portal-footer-wrapper li,
#uem-custom-footer #portal-footer-wrapper span {
  color: #ffffff;
}

/* Títulos em destaque: espaço extra + sublinhado verde UEM */
#uem-custom-footer #portal-footer-wrapper h1,
#uem-custom-footer #portal-footer-wrapper h2,
#uem-custom-footer #portal-footer-wrapper h3,
#uem-custom-footer #portal-footer-wrapper h4,
#uem-custom-footer #portal-footer-wrapper strong {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 3px solid #00a859 !important;
  border-bottom-color: var(--uem-verde, #00a859) !important;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

#uem-custom-footer #portal-footer-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#uem-custom-footer #portal-footer-wrapper li {
  margin: 0 0 6px;
  line-height: 1.4;
}

/* Links brancos em seminegrito (peso 600), hover verde */
#uem-custom-footer #portal-footer-wrapper a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

#uem-custom-footer #portal-footer-wrapper a:hover,
#uem-custom-footer #portal-footer-wrapper a:focus {
  color: #8ee0b1 !important;
  text-decoration: underline;
}

#uem-custom-footer #portal-footer-wrapper img {
  max-width: 100%;
  height: auto;
}

/* ---------- 2. Faixa institucional ----------
   Grade 1fr | auto | 1fr: o bloco central (nome, endereço,
   ícones) fica no centro real da página, alinhado com o
   copyright abaixo, independentemente do tamanho dos logos. */

#uem-custom-footer .uem-footer-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;          /* centralização vertical */
  gap: 40px;
}

/* Logo da UEM: 110px de altura, largura proporcional */
#uem-custom-footer .uem-footer-band .uem-footer-logo {
  justify-self: start;
  height: 110px;
  width: auto;
  max-width: 100%;
}

/* Contatos no centro, ícones abaixo deles */

#uem-custom-footer .uem-footer-contact {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

#uem-custom-footer .uem-footer-brand-name {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#uem-custom-footer .uem-footer-brand-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.55;
}

/* Ícones de comunicação: uma linha só, centralizados.
   display: contents achata ul/li/p/span internos para o
   flex + gap atuar direto sobre os links. */

#uem-custom-footer .uem-footer-social {
  margin-top: 6px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

#uem-custom-footer .uem-footer-social ul,
#uem-custom-footer .uem-footer-social li,
#uem-custom-footer .uem-footer-social p,
#uem-custom-footer .uem-footer-social div,
#uem-custom-footer .uem-footer-social span {
  display: contents;
}

#uem-custom-footer .uem-footer-social a {
  color: #ffffff !important;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

#uem-custom-footer .uem-footer-social a:hover,
#uem-custom-footer .uem-footer-social a:focus {
  color: #8ee0b1 !important;
}

#uem-custom-footer .uem-footer-social hr {
  display: none;
}

/* Selo e-MEC: 170px de altura, largura proporcional */

#uem-custom-footer .uem-footer-emec-img {
  justify-self: end;
  height: 170px;
  width: auto;
}

/* ---------- 3. Linha final (alinhada ao bloco central) ---------- */

#uem-custom-footer .uem-footer-baseline {
  margin: 26px 0 0;
  padding: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-align: center;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1300px) {
  #uem-custom-footer #portal-footer-wrapper {
    column-count: 4;
  }

  #uem-custom-footer .uem-footer-container {
    padding: 54px 44px 24px !important;
  }
}

@media (max-width: 1100px) {
  #uem-custom-footer #portal-footer-wrapper {
    column-count: 3;
  }

  #uem-custom-footer .uem-footer-emec-img {
    height: 140px;
  }
}

@media (max-width: 900px) {
  #uem-custom-footer .uem-footer-container {
    padding: 44px 24px 22px !important;
  }

  #uem-custom-footer #portal-footer-wrapper {
    column-count: 2;
  }

  #uem-custom-footer .uem-footer-band {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 26px;
  }

  #uem-custom-footer .uem-footer-band .uem-footer-logo,
  #uem-custom-footer .uem-footer-emec-img {
    justify-self: center;
  }

  #uem-custom-footer .uem-footer-emec-img {
    height: 120px;
  }
}

@media (max-width: 480px) {
  #uem-custom-footer .uem-footer-container {
    padding: 38px 18px 20px !important;
  }

  #uem-custom-footer #portal-footer-wrapper {
    column-count: 1;
  }
}


/* Link do selo e-MEC (imagem envolvida por <a>) */

#uem-custom-footer .uem-footer-emec-link {
  justify-self: end;
  display: inline-block;
  line-height: 0;
}

@media (max-width: 900px) {
  #uem-custom-footer .uem-footer-emec-link {
    justify-self: center;
  }
}


/* =============================================================
   CAPAS (collective.cover): esconder cabeçalho e menu
   O body recebe a classe portaltype-collective-cover-content
   nas páginas de capa — o escopo evita sumir o menu no site
   inteiro. Remova o prefixo "body.portaltype..." se quiser
   esconder em todas as páginas.
   ============================================================= */

body.portaltype-collective-cover-content #portal-header,
body.portaltype-collective-cover-content #portal-top #portal-header {
  display: none !important;
}

body.portaltype-collective-cover-content #mainnavigation-wrapper,
body.portaltype-collective-cover-content #portal-mainnavigation {
  display: none !important;
}