/* - - - - - - - - - - - - - - - - -

CSS TEMA COMUM (MEU PERFIL)

- - - - - - - - - - - - - - - - - */

*:not(.fa, .fas, .far, .fal, .fab, .fa-solid, .fa-regular, .fa-light, .fa-brands) {
  font-family: 'Roboto', sans-serif !important;
}

.fa, .fas, .fa-solid { font-family: "Font Awesome 5 Free" !important; font-weight: 900 !important; }
.far, .fa-regular   { font-family: "Font Awesome 5 Free" !important; font-weight: 400 !important; }
.fab, .fa-brands    { font-family: "Font Awesome 5 Brands" !important; font-weight: 400 !important; }

i[class^="fa"],
i[class*=" fa-"] {
  font-style: normal !important;
}


body{
  color: #141414 !important;
  font-family: "Roboto", Arial, sans-serif !important;
  font-size: 0.9rem !important;
}

body .body-page {
  background: #f9f6f3 !important;
}

.main-page{
    margin-top: 30px !important;
}


body.path-formando .header-main,
body.path-formador .header-main {
  display: none !important;
}

.main-menu {
  display: none !important;
}

.text-gray {
    color: #141414 !important;
}

header .site-branding-logo img {
    width: 70% !important;
}

.topbar {
  background: #1C1C1C;
  height: 40px;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #fff;
}

/* grupos */
.left-group,
.right-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.right-group{
  text-transform: lowercase !important;
}

.topbar a {
  color: #fff;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.topbar a:hover {
  text-decoration: underline !important;
  color: #fff !important;
}

.ip-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  background: url("/sites/default/files/epic/ip-icone-branco.svg") no-repeat center center;
  background-size: contain;
}

.perfil-link::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  background: url("/sites/default/files/epic/user-branco.svg") no-repeat center center;
  background-size: contain;
}

@media (max-width: 480px) {
  header.header-2 .header-main .site-branding-logo {
    padding-bottom: 0px !important;
  }

}

.header-main .branding {
  display: flex;
  align-items: center;
}

.header-main .branding .site-branding-logo {
  display: flex;
  align-items: center;
}

.header-main .branding .logo-site {
  height: auto;
}

header.header-2 .main-menu {
  background: #f26522 !important;
}

.navigation .gva_menu>li:first-child>a {
  padding-left: 0 !important;
}

.gavias_sliderlayer .tp-bullets .tp-bullet,
#gavias_slider_single .tp-bullets .tp-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 99px !important;
  background: rgba(255, 255, 255, 0.4) !important;
}

.gavias_sliderlayer .tp-bullets .tp-bullet.selected,
#gavias_slider_single .tp-bullets .tp-bullet.selected {
  background: #fff !important;
}

.gavias_sliderlayer .tparrows,
#gavias_slider_single .tparrows {
  width: 36px !important;
  height: 36px !important;
  border-radius: 99px !important;
  line-height: 36px !important;
  color: rgb(0, 0, 0) !important;
  font-size: 18px !important;
  background: rgba(255, 255, 255) !important;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.05) !important;
}

.seccao-parceiros {
  color: #ffffff !important;
}

.btn {
  border: none !important;
  background-color: #0000ff !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 13px 35px 13px 35px !important;
  border-radius: 99px !important;
}

.btn:hover {
  background-color: #000 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.h2azul{
    font-family: "Nunito", sans-serif !important;
    text-align: center;
    color: #0000ff;
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px !important;
}

.h2branco{
    font-family: "Nunito", sans-serif !important;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.seccao-noticias .h2azul{
    margin-bottom: 10px;
}

.seccao-parceiros .h2branco{
    margin-bottom: 30px;
}

/*ocultar o título do bloco notícias na página inicial*/
.seccao-noticias .block-title{
    display: none !important;
}

#footer {
    color: #fff !important;
    background: #1C1C1C !important;
}

.perfil-tabs-pill {
  display: inline-flex !important;
  background: #b3b3b333 !important;     
  border-radius: 9999px !important;   
  padding: 4px !important;
  gap: 4px !important;
  margin-bottom: 10px !important;
}

.perfil-tabs-pill .perfil-tab {
  flex: 1 1 auto !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  text-align: center !important;
  font-size: 0.8rem !important;
  color: #222222 !important;         
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease !important;
}

body.path-formador .perfil-tabs-pill .tab-formador {
  background: #f26522 !important;
  color: #fff !important;
}

body.path-formando .perfil-tabs-pill .tab-formando {
  background: #f26522 !important;
  color: #fff !important;
}


.atividade-lista {
  font-family: "Roboto", Arial, sans-serif !important;
  background-color: #fff;
  /*border: 1px solid #ddd;*/
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-content: space-between;
}

.atividade-lista:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.atividade-lista h3 {
  font-family: "Roboto", Arial, sans-serif !important;
  margin-top: 0;
  font-size: 1.05rem !important;
  color: #333;
  font-weight: bold;
  margin-bottom: 0.9rem !important;
}

.atividade-lista p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

.card-atividade a {
  color: #3f3f3f !important;
  text-decoration: none !important;
}

.card-atividade a:hover {
  color: #3f3f3f !important;
  text-decoration: underline !important;
}


.card-atividade-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}


.footer-card-atividade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.footer-card-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-card-right {
  text-align: right;
  font-weight: 500;
}

.eixo-card {
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.30rem 0.55rem !important;
  border-radius: 6px !important;
  font-size: 0.72rem !important;
  color: #f26522 !important;
  background-color: #b3b3b333 !important;
  font-weight: 600;
}

.eixo-card:not(:last-child) {
  margin-right: 6px !important;
}

/* Variações */
.eixo-card-rosa {
  background-color: #b3b3b333 !important;
  color: #ff4da5 !important;
}

.eixo-card-verde {
  background-color: #b3b3b333 !important;
  color: #7cb342 !important;
}

.eixo-card-laranja {
  background-color: #b3b3b333 !important;
  color: #ff4a00 !important;
}

.eixo-card-azul {
  background-color: #b3b3b333 !important;
  color: #0000ff !important;
}

.eixo-card-amarelo {
  background-color: #b3b3b333 !important;
  color: #ffc44d !important;
}

.eixo-card-azul-ip {
  background-color: #b3b3b333 !important;
  color: #00a9f0 !important;
}

.eixo-card-amarelo-ufm {
  background-color: #FDC82F !important;
  color: #fff !important;
}

.tooltip-pers {
  position: relative;
  overflow: visible;
}

.tooltip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  background-color: #b3b3b333 !important;
  color: #555 !important; /*f26522*/
  font-size: .75rem !important;
  padding: .14rem .65rem;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
  font-weight: normal !important;
  z-index: 999;
}

.tooltip-bubble .tooltip-arrow{
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent; 
  border-top: 6px solid #b3b3b333 !important;
}

.tooltip-pers:hover .tooltip-bubble,
.tooltip-pers:focus-visible .tooltip-bubble{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

body.path-formador .viewmyregistration,
body.path-formando .viewmyregistration {
  margin-bottom: 20px !important;
}

body.path-formador #edit-actions,
body.path-formando #edit-actions {
  display: none !important;
}

/* Campos de texto dentro do form (formador e formando) */
body.path-formador .form-text,
body.path-formando .form-text {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  padding: 10px 18px !important;
  border: 1px solid #ddd !important;
  background: #faf7f4 !important;
  outline: none;
}

body.path-formador .form-item,
body.path-formando .form-item {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}


/* ===== BASE (outline fino + fill da esquerda p/ direita) ===== */
.btn-card {
  --btn-color: #000;              /* cor por defeito se nenhuma classe definir */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.75rem !important;
  font-weight: bold;
  background: transparent;
  color: var(--btn-color);
  border: 1px solid var(--btn-color);  /* borda mantém a cor do tema */
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 0;
}

.btn-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-color);   /* usa a variável, não currentColor */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;                    /* fica atrás do conteúdo */
}

.btn-card:hover {
  color: #fff !important;         /* letras a branco no hover */
}
.btn-card:hover::before {
  transform: scaleX(1);           /* enche da esquerda p/ direita */
}

/* ===== TEMAS (definem a variável) ===== */
.cor-rosa .btn-card       { --btn-color: #ff4da5; }
.cor-verde .btn-card      { --btn-color: #7cb342; }
.cor-amarelo .btn-card      { --btn-color: #ffc44d; }
.cor-laranja .btn-card    { --btn-color: #ff4a00; }
.cor-azul .btn-card       { --btn-color: #0000ff; }
.cor-azul-ip .btn-card    { --btn-color: #00a9f0; }
.cor-laranja-ip .btn-card { --btn-color: #f26522; }
.cor-amarelo-ufm .btn-card    { --btn-color: #FDC82F; }


/* Azul */
body.path-formador .cor-azul .form-text:focus,
body.path-formando .cor-azul .form-text:focus {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 255, 0.25) !important;
}

/* Verde */
body.path-formador .cor-verde .form-text:focus,
body.path-formando .cor-verde .form-text:focus {
  border-color: #7cb342 !important;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.25) !important;
}

/* Amarelo */
body.path-formador .cor-verde .form-text:focus,
body.path-formando .cor-verde .form-text:focus {
  border-color: #ffc44d !important;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.25) !important;
}

/* Laranja */
body.path-formador .cor-laranja .form-text:focus,
body.path-formando .cor-laranja .form-text:focus {
  border-color: #ff4a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.25) !important;
}

/* Rosa */
body.path-formador .cor-rosa .form-text:focus,
body.path-formando .cor-rosa .form-text:focus {
  border-color: #ff4da5 !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 165, 0.25) !important;
}


body.path-formador .view-header,
body.path-formando .view-header {
  margin-bottom: 0 !important;
}

.cor-rosa.btn-link {
  background-image: linear-gradient(#ff4da5, #ff4da5) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #ff4da5 !important;
}

.cor-rosa.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #ff4da5 !important;
}

.cor-verde.btn-link {
  background-image: linear-gradient(#7cb342, #7cb342) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #7cb342 !important;
}

.cor-verde.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #7cb342 !important;
}

.cor-amarelo.btn-link {
  background-image: linear-gradient(#ffc44d, #ffc44d) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #ffc44d !important;
}

.cor-amarelo.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #ffc44d !important;
}

.cor-laranja.btn-link {
  background-image: linear-gradient(#ff4a00, #ff4a00) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #ff4a00 !important;
}

.cor-laranja.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #ff4a00 !important;
}

.cor-azul.btn-link {
  background-image: linear-gradient(#0000ff, #0000ff) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #0000ff !important;
}

.cor-azul.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #0000ff !important;
}

.cor-azul-ip.btn-link {
  background-image: linear-gradient(#00a9f0, #00a9f0) !important;
  background-repeat: no-repeat !important;
  background-position: 0 100% !important;
  background-size: 0% 2px !important;
  transition: background-size 0.3s ease !important;
  text-decoration: none !important;
  color: #00a9f0 !important;
}

.cor-azul-ip.btn-link:hover {
  background-size: 100% 2px !important;
  text-decoration: none !important;
  color: #00a9f0 !important;
}

#page-main-content {
  margin-bottom: 50px !important;
}


/* ----------------------------------------------
   HERO STATS (banner + cartões de indicadores)
   ---------------------------------------------- */

/* Secção ocupa 100% da largura do ecrã */
.dxp-hero-stats {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip; /* evita scroll lateral */
  background: #fff;
  margin-top: -31px !important;
}

/* Imagem full-width */
.dxp-hero-stats__img {
  display: block;
  width: 100%;
  height: 420px;           /* altura base — ajusta conforme o design */
  object-fit: cover;       /* recorta mantendo proporções */
}

/* Container interno (alinha com o resto do site) */
.dxp-hero-stats .container {
  position: relative;
  max-width: 1170px;       /* largura útil */
  margin: 0 auto;
  padding: 0 15px;         /* gutter Bootstrap */
}

/* Grid das estatísticas */
.dxp-hero-stats__grid {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 25px;           /* faz os cartões “saltarem” fora da imagem */
  width: 100%;
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1170px;
}

/* Cores e estilo dos cartões */
:root {
  --dxp-yellow: #ffffff66;
}

.dxp-stat {
  font-family: "Roboto", Arial, sans-serif !important;
  background: var(--dxp-yellow);
  color: #1a1a1a;
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  padding: 24px 20px;
  text-align: left;
}

.dxp-stat__num {
  font-family: "Roboto", Arial, sans-serif !important;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
}

.dxp-stat__label {
  font-family: "Roboto", Arial, sans-serif !important;
  margin-top: 8px;
  font-size: 18px;
}

/* Espaço entre o final da secção e o conteúdo seguinte */
.dxp-hero-stats + * {
  margin-top: 120px; /* ajusta conforme o bottom usado acima */
}

/* ------------------ RESPONSIVO ------------------ */

/* Tablets grandes (Bootstrap md–lg) */
@media (max-width: 1199.98px) {
  .dxp-hero-stats__grid {
    max-width: 960px;
  }
}

/* Tablets e pequenos laptops */
@media (max-width: 991.98px) {
  .dxp-hero-stats__img {
    height: 360px;
  }
  .dxp-hero-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    bottom: -50px;
  }
}

/* Telemóveis */
@media (max-width: 575.98px) {
  .dxp-hero-stats__img {
    height: 300px;
  }
  .dxp-hero-stats__grid {
    grid-template-columns: 1fr;
    bottom: -40px;
  }
  .dxp-stat__num {
    font-size: 44px;
  }
}

.footer-center{
  display: none !important;
}

#footer .footer-top {
  background: #1c1c1c !important;
}





/* ======= PERFIL – TOPO ======= */
.profile-top{
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,.08);
  --bg: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #ff7e32;
  --accent-ink: #fff;
  max-width: 1200px;
  margin: -30px auto 18px;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
}

/* ======= BANNER ======= */
.profile-top .pt-hero{
  position: relative;
  aspect-ratio: 16/4.3;
  background: #ddd;
}
.profile-top .pt-hero img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======= META (avatar + métricas) ======= */
.profile-top .pt-meta{
  background: #fff;
  position: relative;
}
.profile-top .pt-meta-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr; /* avatar+nome à esquerda, stats à direita */
  gap: 22px; /* menos espaço entre avatar e stats */
  align-items: center;
}

/* ======= UTILIZADOR (avatar + nome por baixo, alinhados à esquerda) ======= */
.profile-top .pt-user{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-top: -92px; /* faz o avatar subir sobre o banner */
}
.profile-top .pt-user .avatar{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 6px solid #fff; /* anel branco */
}
.profile-top .pt-username{
  font-weight: 700;
  font-size: 18px;
  margin-top: 10px;
}

/* ======= MÉTRICAS ======= */
.profile-top .pt-stats{
  display: grid;
  grid-template-columns: repeat(4, max-content); /* colunas só ocupam o necessário */
  column-gap: clamp(12px, 3.5vw, 50px);          /* espaços menores e fluidos */
  justify-content: end;                          /* encosta o grupo todo à direita */
  justify-items: start;                          /* texto à esquerda dentro de cada bloco */
  align-items: start;
  text-align: left;
}
.profile-top .pt-stat{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.profile-top .pt-num{
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
}
.profile-top .pt-label{
  margin-top: 4px;
  font-size: 15px;
  white-space: nowrap;
}

/* ======= TABS ======= */
.profile-top .pt-tabs{
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--accent);
  padding: 10px 8px;
}
.profile-top .pt-tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none !important;
  background: transparent;
  color: var(--accent-ink);
  opacity: .8;
  transition: opacity .2s ease, background-color .2s ease;
}
.profile-top .pt-tab:hover{ opacity: 1; }
.profile-top .pt-tab.is-active{
  background: rgba(255,255,255,.2);
  opacity: 1;
  font-weight: 600;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 992px){
  .profile-top .pt-meta-inner{
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }
  .profile-top .pt-user{
    margin-top: -70px;
  }
  .profile-top .pt-user .avatar{
    width: 100px;
    height: 100px;
  }
  .profile-top .pt-stats{
    grid-template-columns: repeat(4, 1fr);
    justify-content: stretch;
  }
}
@media (max-width: 680px){
  .profile-top .pt-hero{ aspect-ratio: 16/7; }
  .profile-top .pt-user{
    margin-top: -60px;
  }
  .profile-top .pt-user .avatar{
    width: 88px;
    height: 88px;
  }
  .profile-top .pt-stats{
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;   /* não encostar no mobile */
    column-gap: 16px;
  }
  .profile-top .pt-tab{ min-width: 140px; }
}
@media (max-width: 420px){
  .profile-top .pt-num{ font-size: 34px; }
  .profile-top .pt-label{ font-size: 13px; }
}

.messages--status {
  font-size: 0.95rem;
  background-color: #e2e3e5;
  border-color: #d6d8db;
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid transparent;
  border-radius: .25rem;
}



/* === GRID para organizar Email | IES | Nome | Botão === */
.views-exposed-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  align-items: end;
  background: transparent !important;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 30px;
}

/* Remover margens default dos items */
.views-exposed-form .form-item {
  margin: 0;
}

/* === LABELS === */
.views-exposed-form .form-item label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* Fix específico para o campo IES */
.form-item-field-ies-value {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Inputs e Selects === */
.views-exposed-form input.form-text,
.views-exposed-form select.form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  height: 42px;
  box-sizing: border-box;
}

/* === Botão Apply === */
#edit-actions {
  margin: 0 !important;
  display: flex;
  align-items: flex-end;
}

#edit-actions input[type="submit"] {
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  border: none;
  background: #f57f47;   /* laranja claro */
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

#edit-actions input[type="submit"]:hover {
  background: #f26522;   /* laranja NEA */
  box-shadow: none !important;
}

/* === Responsivo === */
@media (max-width: 700px) {
  .views-exposed-form {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
}

/* === BOTÕES ADICIONAR E EXCEL === */
.btn-adicionar,
.btn-excel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  background: #f57f47;  /* laranja claro */
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  transition: 0.2s ease;
  margin-bottom: 20px;
}

.btn-adicionar{
 margin-right: 10px;
}

.btn-adicionar:hover,
.btn-excel:hover {
  background: #f26522;   /* laranja NEA */
}

.btn-adicionar i,
.btn-excel i {
  color: #fff;
  font-size: 16px;
}


/* === BOTÕES ADICIONAR E EXCEL 2 === */
.btn-excel2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  background: #f57f47;  /* laranja claro */
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  transition: 0.2s ease;
  margin-bottom: -10px !important;
  margin-top: 15px !important;
}

.btn-excel2:hover {
  background: #f26522;   /* laranja NEA */
}

.btn-excel2 i {
  color: #fff;
  font-size: 16px;
}

/* Esconder ícones feed */
.xlsx-feed,
.feed-icons {
  display: none !important;
}

/* ====== TABELA ====== */
.cols-6 {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e2e2;
}

/* Cabeçalho */
.cols-6 thead th {
  background: #f9f9f9;
  padding: 14px 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #e2e2e2;
  color: #333;
}

/* Linhas */
.cols-6 tbody tr {
  border-bottom: 1px solid #eaeaea;
  transition: background 0.15s ease;
}

/* Linhas alternadas */
.cols-6 tbody tr:nth-child(even) {
  background: #fcfcfc;
}

/* Hover em laranja suave */
.cols-6 tbody tr:hover {
  background: #ffe9e1;  /* laranja muito suave */
}

/* Células */
.cols-6 td {
  padding: 12px 12px;
  vertical-align: middle;
  color: #444;
}

/* Coluna editar — botão */
.cols-6 .views-field-edit-user a {
  display: inline-flex;
  padding: 6px 14px;
  background: #f57f47;  /* laranja claro */
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: 0.2s ease;
}

.cols-6 .views-field-edit-user a:hover {
  background: #f26522;  /* laranja NEA */
}

/* Largura da coluna editar */
.cols-6 .views-field-edit-user {
  width: 80px;
  text-align: center;
}


.pager ul.pager__items > li.is-active a {
    background: #f26522 !important;
    color: #fff;
    border-color: #f26522 !important;
}

.pager ul.pager__items > li a:hover {
    background: #f26522 !important;
    color: #fff;
    border-color: #f26522 !important;
}



/* ============================================
   TABELAS UNIVERSAIS BONITAS
   ============================================ */

/* Wrapper para evitar que tabelas largas ultrapassem o ecrã */
.views-entity-form,
.views-view,
.page-content,
.layout-content,
.region-content {
  overflow-x: auto;
}

/* Tabelas — estilo base */
table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 15px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  overflow: hidden; /* necessário para o arredondado funcionar */
  margin-bottom: 25px;
}

/* Cabeçalhos */
table thead th {
  background: #f9f9f9;
  padding: 14px 12px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #e2e2e2;
  color: #333;
  white-space: nowrap; /* evita cabeçalhos gigantes */
}

/* Linhas */
table tbody tr {
  border-bottom: 1px solid #eaeaea;
  transition: background 0.15s ease;
}

/* Linhas alternadas */
table tbody tr:nth-child(even) {
  background: #fcfcfc;
}

/* Hover laranja suave */
table tbody tr:hover {
  background: #ffe9e1; /* laranja suave NEA */
}

/* Células */
table td {
  padding: 12px 12px;
  vertical-align: top;
  color: #444;
  word-break: break-word; /* evita rebentar layout */
}

/* Corrigir tabelas muito largas (11 colunas etc.) */
table th,
table td {
  min-width: 80px; 
}

/* ============================================
   *BOTÕES dentro das tabelas* (editar, eliminar)
   ============================================ */

table a {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 6px;
  background: #f57f47; /* laranja claro */
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: 0.2s ease;
  white-space: nowrap;
}

table a:hover {
  background: #f26522 !important; /* laranja NEA */
}

/* Colunas "editar" ou "eliminar" ficam centradas */
td.views-field-edit-user,
td.views-field-delete-registration {
  text-align: center;
}

/* ============================================
   CORREÇÃO: STICKY HEADER DO DRUPAL
   ============================================ */

/* Impedir que o sticky header sobreponha linhas */
table.sticky-header thead {
  position: static !important;
}

/* Prevenir bugs do sticky + overflow */
table.sticky-header {
  overflow: visible !important;
}


/* Select de Estado dentro da tabela — versão corrigida */
.views-entity-form table select.form-select {
  min-width: 130px;              /* impede que encolha */
  width: 100%;                   /* ocupa a coluna disponível */
  padding: 10px 12px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 9px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;

  cursor: pointer;
}

/* Hover */
.views-entity-form table select.form-select:hover {
  border-color: #999;
}

/* Focus (clicado) */
.views-entity-form table select.form-select:focus {
  border-color: #f26522;
  outline: none;
  box-shadow: 0 0 0 2px rgba(242, 101, 34, 0.25);
}



/* --------------------------------------------------
 * NEA – Definições de Inscrições (registration_settings_edit_form)
 * -------------------------------------------------- */

#registration-settings-edit-form {
  max-width: 1200px;
  margin: 2rem auto 3rem;
  padding: 2rem 2.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

/* Espaçamento geral */
#registration-settings-edit-form .js-form-wrapper,
#registration-settings-edit-form .js-form-item {
  margin-bottom: 1.25rem;
}

/* Labels */
#registration-settings-edit-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
  display: inline-block;
}

/* Obrigatório */
#registration-settings-edit-form .form-required::after {
  content: " *";
  color: #ef4444;
  font-weight: 700;
}

/* Inputs / selects / textarea */
#registration-settings-edit-form input[type="text"],
#registration-settings-edit-form input[type="email"],
#registration-settings-edit-form input[type="number"],
#registration-settings-edit-form input[type="date"],
#registration-settings-edit-form input[type="time"],
#registration-settings-edit-form .form-select,
#registration-settings-edit-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  background-color: #f9fafb;
  transition: 0.2s ease;
  box-sizing: border-box;
}

/* Hover */
#registration-settings-edit-form input:hover,
#registration-settings-edit-form select:hover,
#registration-settings-edit-form textarea:hover {
  background-color: #f3f4f6;
}

/* Focus – laranja NEA */
#registration-settings-edit-form input:focus,
#registration-settings-edit-form select:focus,
#registration-settings-edit-form textarea:focus {
  outline: none;
  border-color: #f26522;
  box-shadow: 0 0 0 1px rgba(242, 101, 34, 0.55);
  background-color: #ffffff;
}

/* Descrições */
#registration-settings-edit-form .description {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.25rem;
}


/* --------------------------------------------------
 * ✔️ Checkboxes inline (label ao lado + descrição por baixo)
 * -------------------------------------------------- */

/* Wrapper principal */
#registration-settings-edit-form .js-form-item.js-form-type-checkbox {
  display: block !important;
  margin-bottom: 0.85rem;
}

/* Linha interna: checkbox + label */
#registration-settings-edit-form .js-form-type-checkbox > .form-check,
#registration-settings-edit-form .js-form-type-checkbox > div.form-item__checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
}

/* Checkbox */
#registration-settings-edit-form .js-form-type-checkbox input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}

/* Label */
#registration-settings-edit-form .js-form-type-checkbox label.option {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

/* Descrição por baixo */
#registration-settings-edit-form .js-form-type-checkbox .description {
  margin-top: 0.35rem;
  display: block;
  max-width: 650px;
}


/* --------------------------------------------------
 * Fieldsets
 * -------------------------------------------------- */

#registration-settings-edit-form fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: #f9fafb;
  margin-bottom: 1.5rem;
}

#registration-settings-edit-form legend {
  padding: 0 0.35rem;
  margin-left: -0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f26522;
}

#registration-settings-edit-form h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin: 0.75rem 0 0.5rem;
}


/* --------------------------------------------------
 * Datas / Horas lado a lado
 * -------------------------------------------------- */

#registration-settings-edit-form .form-item-open-0-value-date,
#registration-settings-edit-form .form-item-open-0-value-time,
#registration-settings-edit-form .form-item-close-0-value-date,
#registration-settings-edit-form .form-item-close-0-value-time,
#registration-settings-edit-form .form-item-reminder-date-0-value-date,
#registration-settings-edit-form .form-item-reminder-date-0-value-time {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  #registration-settings-edit-form #edit-open-0-value,
  #registration-settings-edit-form #edit-close-0-value,
  #registration-settings-edit-form #edit-reminder-date-0-value {
    display: flex;
    gap: 0.75rem;
  }

  #registration-settings-edit-form #edit-open-0-value .js-form-item,
  #registration-settings-edit-form #edit-close-0-value .js-form-item,
  #registration-settings-edit-form #edit-reminder-date-0-value .js-form-item {
    flex: 1;
    margin-bottom: 0;
  }
}


/* --------------------------------------------------
 * CKEDITOR
 * -------------------------------------------------- */

#registration-settings-edit-form .ck.ck-editor {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

#registration-settings-edit-form .ck.ck-toolbar {
  border-bottom: 1px solid #e5e7eb;
}

#registration-settings-edit-form .ck.ck-editor__editable_inline {
  min-height: 150px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
}

/* remover texto avançado */
#registration-settings-edit-form .ck.ck-label.ck-voice-label,
#registration-settings-edit-form .ck-editor__bottom,
#registration-settings-edit-form .ck-resizer {
  display: none !important;
}


/* --------------------------------------------------
 * Ocultar elementos de backoffice
 * -------------------------------------------------- */

#registration-settings-edit-form .js-filter-wrapper,
#registration-settings-edit-form .filter-wrapper {
  display: none !important;
}

#registration-settings-edit-form [id$="-format-help"],
#registration-settings-edit-form .filter-guidelines,
#registration-settings-edit-form .description a[href*="filter/tips"] {
  display: none !important;
}

#registration-settings-edit-form #edit-reminder-template-0--description,
#registration-settings-edit-form #edit-registration-waitlist-message-0--description {
  display: none !important;
}


/* --------------------------------------------------
 * Botão Guardar
 * -------------------------------------------------- */

#registration-settings-edit-form #edit-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

#registration-settings-edit-form #edit-submit {
  background-color: #f26522;
  border-color: #f26522;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#registration-settings-edit-form #edit-submit:hover {
  background-color: #d6551d;
  border-color: #d6551d;
}


/* --------------------------------------------------
 * Responsivo
 * -------------------------------------------------- */

@media (max-width: 767.98px) {
  #registration-settings-edit-form {
    padding: 1.5rem 1.25rem;
  }

  #registration-settings-edit-form #edit-actions {
    flex-direction: column;
  }

  #registration-settings-edit-form #edit-submit {
    width: 100%;
  }
}



/* ==================================================
 * 🎨 DESIGN SYSTEM – FORMULÁRIOS DRUPAL
 * ================================================== */

/* ---------- WRAPPER GERAL ---------- */
form {
  max-width: 1200px;
  margin: 2rem auto 3rem;
}

/* Só estilizar forms “a sério” */
form:not(.views-exposed-form):not(.search-form) {
  background: #ffffff;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

/* ---------- ESPAÇAMENTO ---------- */
form .js-form-wrapper,
form .js-form-item {
  margin-bottom: 1.25rem;
}

/* ---------- LABELS ---------- */
form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
  display: inline-block;
}

/* Obrigatório */
form .form-required::after {
  content: " *";
  color: #ef4444;
  font-weight: 700;
}

/* ---------- INPUTS / SELECTS / TEXTAREA ---------- */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="url"],
form input[type="tel"],
form input[type="date"],
form input[type="time"],
form select.form-select,
form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  box-sizing: border-box;
  transition: 0.2s ease;
}

/* Hover */
form input:hover,
form select:hover,
form textarea:hover {
  background-color: #f3f4f6;
}

/* Focus (laranja NEA) */
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: #f26522;
  box-shadow: 0 0 0 1px rgba(242, 101, 34, 0.55);
  background: #ffffff;
}

/* ---------- DESCRIÇÕES ---------- */
form .description {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.25rem;
  max-width: 820px;
}

/* ---------- CHECKBOXES / RADIOS ---------- */
form .js-form-type-checkbox,
form .js-form-type-radio {
  display: block;
  margin-bottom: 0.75rem;
}

form .js-form-type-checkbox > div,
form .js-form-type-radio > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

form input[type="checkbox"],
form input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
}

form label.option {
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* ---------- FIELDSETS ---------- */
form fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  background: #f9fafb;
  margin-bottom: 1.5rem;
}

form legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f26522;
  padding: 0 0.35rem;
}

/* ---------- CKEDITOR ---------- */
form .ck.ck-editor {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

form .ck.ck-editor__editable_inline {
  min-height: 150px;
  padding: 0.75rem 1rem;
  background: #ffffff;
}

/* Remover ruído do editor */
form .ck-label,
form .ck-editor__bottom,
form .ck-resizer {
  display: none !important;
}

/* ---------- FORMATOS DE TEXTO / AJUDAS ---------- */
form .js-filter-wrapper,
form .filter-wrapper,
form .filter-guidelines,
form [id$="-format-help"],
form .description a[href*="filter/tips"] {
  display: none !important;
}

/* ---------- UPLOADS ---------- */
form .form-managed-file input.form-file {
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 0.65rem;
  background: #f9fafb;
}

/* ---------- MULTISELECT ---------- */
form select[multiple] {
  min-height: 140px;
}

/* ---------- ACTIONS / BOTÕES ---------- */
form .form-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

form .form-actions .button,
form .form-actions input[type="submit"] {
  background: #f26522;
  border: 1px solid #f26522;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

form .form-actions .button:hover,
form .form-actions input[type="submit"]:hover {
  background: #d6551d;
  border-color: #d6551d;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 768px) {
  form:not(.views-exposed-form) {
    padding: 1.5rem 1.25rem;
  }

  form .form-actions {
    justify-content: stretch;
  }

  form .form-actions .button,
  form .form-actions input[type="submit"] {
    width: 100%;
  }
}


form label,
form label.option,
form legend,
form .description {
  text-transform: none !important;
}


/* Não transformar o form da Views num "form-page" nos cards */
body.path-formando form.views-entity-form{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


.node-form #edit-gva-node-settings,
.node-form .vertical-tabs__menu-item a[href="#edit-gva-node-settings"] {
  display: none !important;
}







/* ==================================================
   HUB CARD – botão roda no centro (sem subir)
   ================================================== */

.hub-card{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  height: 140px;
  background: #ddd;
  text-decoration: none;
  margin-bottom: 24px;
}

.hub-card:last-child{
  margin-bottom: 0;
}

/* Imagem de fundo */
.hub-card__media{
  position: absolute;
  inset: 0;
}

.hub-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

/* Overlay */
.hub-card__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 44px;
}

/* Logo */
.hub-card__logo{
  display: flex;
  align-items: center;
}

.hub-card__logoepic img{
  height: 42px;                  /* ajusta por marca */
  width: auto;
  max-width: 160px;
  margin-left: 15px;
}

.hub-card__logoip img{
  height: 80px;                  /* ajusta por marca */
  width: auto;
  max-width: 160px;
  margin-left: 15px;
}

.hub-card__logoufm img{
  height: 80px;                  /* ajusta por marca */
  width: auto;
  max-width: 235px;
  margin-left: 15px;
}

/* Botão circular */
.hub-card__arrow{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.95);
  flex-shrink: 0;

  transition: transform .35s ease;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* SVG */
.hub-card__arrow-icon svg{
  width: 20px;
  height: auto;
  display: block;
  color: #1C1C1C;
}

.hub-card__arrow-icon svg path{
  fill: currentColor;
}

/* Hover */
.hub-card:hover .hub-card__media img{
  transform: scale(1.06);
}

/* 🔑 apenas rotação */
.hub-card:hover .hub-card__arrow{
  transform: rotate(-18deg);
}

/* Foco teclado */
.hub-card:focus-visible{
  outline: 3px solid #FDC82F;
  outline-offset: 4px;
}

/* Reduzir movimento */
@media (prefers-reduced-motion: reduce){
  .hub-card__media img,
  .hub-card__arrow{
    transition: none;
  }
}


.hub-card__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.16);  /* ajusta: .25 – .45 */
  pointer-events: none;
}


.hero-banner {
  width: 100%;
  background: url("/sites/default/files/zenatal.png") center / cover no-repeat;
  padding: 80px 20px; /* espaço vertical + margem mobile */
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto; /* centra */
  color: #fff;
}

body.path-ip-hp .block-title {
  display: none !important;
}

body.path-ip-hp footer .block-title {
  display: block !important;
}







.gsc-quotes-rotator .cbp-qtprogress {
  background: #002235 !important;
}

.gsc-icon-box-new.style-2 .icon-inner {
  background: #002235 !important;
}

.milestone-block.position-no-icon .milestone-right .milestone-number-inner {
  color: #002235 !important;
}

.gsc-heading .sub-title > span:after {
  background: #002235 !important;
}

.gsc-icon-box-new.style-5 .icon-inner .icon {
    color: #002235 !important;
}

.gsc-icon-box-new.style-5:hover .icon-inner .icon {
  color: #fff !important;
  background: #002235 !important;
}

.btn-inline {
  color: #002235 !important;
}

.gsc-call-to-action .video-inner .link-video {
  background: #002235 !important;
}

.button, .btn, .btn-white, .btn-theme, .btn-theme-second, .more-link a, .btn-theme-submit {
  background: #002235 !important;
}

.gsc-quotes-rotator .cbp-qtrotator .cbp-qtcontent .content-title {
    font-size: 30px !important;
    margin-top: 25px !important;
}

body.path-ufm-hp .block.block-system-main-block {
    margin-bottom: 0 !important;
    margin-top: -30px !important;
}

.gsc-icon-box-new.style-2 .content-inner .desc ul li:after {
    color: #002235 !important;
}

.milestone-number::before {
  content: "+";
  margin-right: 6px; /* espaço entre o > e o número */
}

.milestone-number.simbolopercentagem::after {
  content: "%";
  margin-left: -5px !important;
}




.milestone-block.position-no-icon .milestone-right .milestone-number-inner .symbol {
    color: #002235 !important;
}

.subir-foto-nea{
    margin-top: -30px !important;
}

.milestone-block.position-no-icon .milestone-right .milestone-text {
    font-weight: 400 !important;
}

.gsc-quotes-rotator .cbp-qtrotator .cbp-qtcontent .content-title {
    font-weight: 400 !important;
}

body.path-ip-hp .gbb-row .bb-inner.remove_padding_bottom {
  padding-bottom: 0 !important;
  margin-top: -65px !important;
}

body.path-ip-hp .gav-help-region {
  display: none !important;
}


.milestone-block.position-no-icon .milestone-right .milestone-text {
    font-weight: 400 !important;
}

.gsc-quotes-rotator .cbp-qtrotator .cbp-qtcontent .content-title {
    font-weight: 400 !important;
}

body.path-ip-hp .gbb-row .bb-inner.remove_padding_bottom {
  padding-bottom: 0 !important;
  margin-top: -55px !important;
}

body.path-ip-hp .gav-help-region {
  display: none !important;
}


.gsc-heading.style-1 .title {
    font-size: 40px !important;
    position: relative;
}

.main-page {
    margin-bottom: -60px !important;
}

.cimahub{
  margin-top: -180px !important;
}

.baixarfrase{
  margin-top: 30px !important;
}


@media (max-width: 480px) {
  
.block-menu .gva_menu > li.menu-item > a {
    color: #002235 !important;
}

.block-menu .gva_menu > li.menu-item > a:hover {
    color: #000 !important;
}

.cimahub {
    margin-top: -100px !important;
}



}

.webform-submission-form .form-actions {
    float: none !important;
}

label[data-drupal-selector="edit-data-current-page-query-data"] {
  margin-top: 8px;
  display: block;
}

body.path-user .topbar {
  display: none !important;
}

body.path-user .help.gav-help-region {
  display: none !important;
}


/*

APAGAR
CÓDIGO
PARA
FORMANDO 2

28012026

*/

body.path-formando2 .header-main,
body.path-formador22222 .header-main {
  display: none !important;
}


body.path-formando2 .perfil-tabs-pill .tab-formando2 {
  background: #f26522 !important;
  color: #fff !important;
}

body.path-formador22222 .viewmyregistration,
body.path-formando2 .viewmyregistration {
  margin-bottom: 20px !important;
}

body.path-formador22222 #edit-actions,
body.path-formando2 #edit-actions {
  display: none !important;
}

body.path-formador22222 .form-text,
body.path-formando2 .form-text {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  padding: 10px 18px !important;
  border: 1px solid #ddd !important;
  background: #faf7f4 !important;
  outline: none;
}

body.path-formador22222 .form-item,
body.path-formando2 .form-item {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Azul */
body.path-formador22222 .cor-azul .form-text:focus,
body.path-formando2 .cor-azul .form-text:focus {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 255, 0.25) !important;
}

/* Verde */
body.path-formador22222 .cor-verde .form-text:focus,
body.path-formando2 .cor-verde .form-text:focus {
  border-color: #7cb342 !important;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.25) !important;
}

/* Amarelo */
body.path-formador22222 .cor-verde .form-text:focus,
body.path-formando2 .cor-verde .form-text:focus {
  border-color: #ffc44d !important;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.25) !important;
}

/* Laranja */
body.path-formador22222 .cor-laranja .form-text:focus,
body.path-formando2 .cor-laranja .form-text:focus {
  border-color: #ff4a00 !important;
  box-shadow: 0 0 0 3px rgba(255, 74, 0, 0.25) !important;
}

/* Rosa */
body.path-formador22222 .cor-rosa .form-text:focus,
body.path-formando2 .cor-rosa .form-text:focus {
  border-color: #ff4da5 !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 165, 0.25) !important;
}


body.path-formador22222 .view-header,
body.path-formando2 .view-header {
  margin-bottom: 0 !important;
}


/* Não transformar o form da Views num "form-page" nos cards */
body.path-formando2 form.views-entity-form{
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* =========================================================
   PERFIL (formando2) — UNIFICAR cards + MASONRY (sem espaços)
   Objetivo: cards de várias Views encaixarem (Pinterest-style)
   ========================================================= */

/* 1) “Palco” em Masonry via colunas */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration){
  column-count: 3;
  column-gap: 20px;
}

/* 2) Achatar wrappers para não criarem “secções/linhas” próprias */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .viewmyregistration,
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) header,
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .views-view-responsive-grid{
  display: contents;
}

/* 3) Cada item vira um “bloco” da coluna (masonry) */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .views-view-responsive-grid__item{
  display: inline-block;     /* importante para colunas */
  width: 100%;
  break-inside: avoid;       /* não partir cards */
  margin: 0 0 20px 0;        /* espaçamento vertical */
  vertical-align: top;
}

/* 4) Evitar espaçamentos marados herdados */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .views-view-responsive-grid__item-inner{
  height: auto;
}
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .atividade-lista,
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .card-atividade{
  margin: 0 !important;
}

/* 5) Responsivo */
@media (max-width: 1200px){
  #block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration){
    column-count: 2;
  }
}
@media (max-width: 768px){
  #block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration){
    column-count: 1;
  }
}


/* =========================================================
   FIX — cards que vêm dentro do views-form (Percursos)
   ========================================================= */

/* Achatar wrappers do formulário para os cards entrarem no masonry */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .views-form,
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) form.views-entity-form{
  display: contents;
}

/* Botão Guardar: fica como “bloco” normal e a ocupar a largura da coluna */
#block-daudo-subtheme0-content .views-element-container:has(.viewmyregistration) .form-actions{
  display: inline-block;
  width: 100%;
  margin: 0 0 20px 0;
  break-inside: avoid;
}


/* =========================================================
   FORMADOR — UNIFICAR cards + MASONRY (sem espaços)
   ========================================================= */

/* 1) Palco em Masonry (colunas) */
#block-daudo-subtheme0-content .has-children-views{
  column-count: 3;
  column-gap: 20px;
}

/* 2) Achatar wrappers intermédios */
#block-daudo-subtheme0-content .has-children-views header,
#block-daudo-subtheme0-content .has-children-views .viewmyregistration,
#block-daudo-subtheme0-content .has-children-views .views-view-responsive-grid{
  display: contents;
}

/* 3) Itens como blocos de coluna */
#block-daudo-subtheme0-content .has-children-views .views-view-responsive-grid__item{
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 20px 0;
  vertical-align: top;
}

/* 4) Responsivo */
@media (max-width: 1200px){
  #block-daudo-subtheme0-content .has-children-views{
    column-count: 2;
  }
}
@media (max-width: 768px){
  #block-daudo-subtheme0-content .has-children-views{
    column-count: 1;
  }
}

/* =========================================================
   FORMADOR — corrigir "duplo masonry" + manter masonry bonito
   (evita colunas demasiado estreitas)
   ========================================================= */

/* 1) Se existir .has-children-views, NÃO aplicar masonry no wrapper genérico */
#block-daudo-subtheme0-content .views-element-container:has(.has-children-views){
  column-count: unset;
  column-gap: unset;
}

/* 2) Masonry no wrapper certo (formador) usando column-width */
#block-daudo-subtheme0-content .has-children-views{
  column-count: auto;        /* deixa o browser decidir quantas colunas cabem */
  column-width: 340px;       /* largura mínima “boa” para estes cartões */
  column-gap: 20px;
}

/* 3) Achatar wrappers intermédios */
#block-daudo-subtheme0-content .has-children-views header,
#block-daudo-subtheme0-content .has-children-views .viewmyregistration,
#block-daudo-subtheme0-content .has-children-views .views-view-responsive-grid{
  display: contents;
}

/* 4) Itens como blocos da coluna */
#block-daudo-subtheme0-content .has-children-views .views-view-responsive-grid__item{
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 20px 0;
  vertical-align: top;
}

/* 5) Mobile */
@media (max-width: 768px){
  #block-daudo-subtheme0-content .has-children-views{
    column-count: 1;
    column-width: auto;
  }
}


/* =====================================================
   SPB popup "Sugestões"
   Ícone centrado + hover expande suave (sem piscar)
   ===================================================== */

.spb-popup-main-wrapper.spb_bottom_right{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.spb-popup-main-wrapper .spb-controls{ display:none !important; }
.spb-popup-main-wrapper #avaliarp{ margin:0 !important; padding:0 !important; }

/* BOTÃO BASE */
.spb-popup-main-wrapper #avaliarp a.webform-dialog{
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  border: 0 !important;
  text-decoration: none !important;

  /* esconder texto real */
  font-size: 0 !important;
  color: transparent !important;

  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;

  background: #002337 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.18) !important;

  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 99999 !important;

  overflow: hidden !important;
  cursor: pointer !important;

  transition: width .22s ease,
              border-radius .22s ease,
              transform .22s ease,
              box-shadow .22s ease;
}

/* ÍCONE FA5 */
.spb-popup-main-wrapper #avaliarp a.webform-dialog::before{
  content: "\f0eb";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  color: #fff;

  position: absolute;
  left: 23px;
  top: 23px;
  transform: translate(-50%, -50%);
}

/* TEXTO */
.spb-popup-main-wrapper #avaliarp a.webform-dialog::after{
  content: "Sugestões";
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #fff;

  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);

  opacity: 0;
  white-space: nowrap;

  transition: opacity .18s ease,
              transform .22s ease;
}

/* HOVER: largura fixa (animável) e SEM espaço a mais */
.spb-popup-main-wrapper #avaliarp a.webform-dialog:hover{
  width: 138px !important;          /* ajustado para caber “Sugestões” sem sobra */
  border-radius: 99px !important;
  transform: scale(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,.22) !important;
}

/* Mostrar texto */
.spb-popup-main-wrapper #avaliarp a.webform-dialog:hover::after{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Focus */
.spb-popup-main-wrapper #avaliarp a.webform-dialog:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,35,55,.35),
              0 10px 25px rgba(0,0,0,.18) !important;
}

/* Mobile opcional */
@media (max-width: 768px){
  .spb-popup-main-wrapper #avaliarp a.webform-dialog{
    right: 14px !important;
    bottom: 80px !important;
  }
}




/* =====================================================
   WEBFORM MODAL — versão final clean & flat
   ===================================================== */

/* Overlay */
.ui-widget-overlay{
  background: rgba(0,0,0,.55) !important;
}

/* Caixa principal */
.ui-dialog[aria-describedby="drupal-modal"]{
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.25) !important;
  overflow: hidden;
}

/* Titlebar */
.ui-dialog[aria-describedby="drupal-modal"] .ui-dialog-titlebar{
  background: #fff !important;
  border: 0 !important;
  padding: 16px 22px 8px 22px !important;
}

/* Título */
.ui-dialog[aria-describedby="drupal-modal"] .ui-dialog-title{
  font-weight: 700;
  font-size: 18px;
  color: #002337;
}

/* Botão fechar — só o X, sem quadrado */
.ui-dialog[aria-describedby="drupal-modal"] .ui-dialog-titlebar-close{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 30px !important;
  height: 30px !important;
  top: 50% !important;
  transform: translateY(-50%);
  right: 18px !important;
}

.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close:hover{
  background: transparent !important;
  box-shadow: none !important;
}

/* Conteúdo */
#drupal-modal.ui-dialog-content{
  padding: 6px 22px 0 22px !important;
  background: #fff !important;
}

/* Remove fundo cinza interno e sombras */
#drupal-modal .webform-ajax-form-wrapper,
#drupal-modal form.webform-submission-form{
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Espaçamento compacto */
#drupal-modal .form-item{
  margin-bottom: 14px !important;
}

#drupal-modal .form-item-avalia{
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

/* Labels */
#drupal-modal .form-item > label{
  font-weight: 700;
  color: #002337;
  margin-bottom: 6px;
}

/* Textarea */
#drupal-modal textarea.form-textarea{
  width: 100%;
  min-height: 100px;
  border-radius: 14px;
  border: 1px solid rgba(0,35,55,.18);
  padding: 12px 14px;
  resize: vertical;
  background: #fff;
  box-shadow: none !important;
  transition: border-color .2s ease;
}

#drupal-modal textarea.form-textarea:focus{
  outline: none;
  border-color: #002337;
}

/* Zona do botão */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-buttonpane{
  border: 0 !important;
  background: #fff !important;
  padding: 12px 22px 18px 22px !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* BOTÃO ENVIAR */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-buttonpane .ui-button{

  background: #ff7e32 !important;
  border: 0 !important;
  color: #fff !important;

  border-radius: 999px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;

  box-shadow: none !important;      /* sem sombra */
  transform: none !important;       /* não sobe */
  transition: background .2s ease;  /* só muda cor */
}

/* Hover apenas muda cor */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-buttonpane .ui-button:hover{
  background: #002337 !important;
  transform: none !important;
}

/* Esconder links contextuais admin */
#drupal-modal .contextual{
  display: none !important;
}

/* Responsivo */
@media (max-width: 680px){
  .ui-dialog[aria-describedby="drupal-modal"]{
    width: calc(100vw - 28px) !important;
    left: 14px !important;
    right: 14px !important;
    top: 14px !important;
  }
}


/* =====================================================
   Remover espaço fantasma entre textarea e botão
   (div .form-actions vazio dentro do form)
   ===================================================== */

/* Esconde o actions wrapper do FORM (o submit escondido) */
#drupal-modal form.webform-submission-form .form-actions{
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Garantir que não há margens no fim do último item */
#drupal-modal form.webform-submission-form .form-item:last-of-type{
  margin-bottom: 0 !important;
}

/* Encostar conteúdo ao buttonpane */
#drupal-modal.ui-dialog-content{
  padding-bottom: 0 !important;
}

/* E reduzir o topo do buttonpane */
.ui-dialog[aria-describedby="drupal-modal"] .ui-dialog-buttonpane{
  padding-top: 6px !important;
  margin-top: 0 !important;
}


/* =====================================================
   CLOSE BUTTON — versão clean minimal
   ===================================================== */

/* Base do botão */
.ui-dialog[aria-describedby="drupal-modal"] .ui-dialog-titlebar-close{
  position: absolute !important;
  top: 25px !important;
  right: 8px !important;

  width: 32px !important;
  height: 32px !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;

  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

/* Esconder ícone default do jQuery UI */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close .ui-icon,
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close .ui-button-icon-space{
  display: none !important;
}

/* Desenhar o X com pseudo-elementos */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close::before,
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #002337;
  border-radius: 2px;
  transform-origin: center;
}

/* linha 1 */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close::before{
  transform: translate(-50%, -50%) rotate(45deg);
}

/* linha 2 */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Hover subtil */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close:hover{
  background: rgba(0,35,55,.06) !important;
}

/* Focus acessível */
.ui-dialog[aria-describedby="drupal-modal"] 
.ui-dialog-titlebar-close:focus-visible{
  outline: none;
  background: rgba(0,35,55,.10) !important;
}


/* =====================================================
   DRUPAL AJAX LOADER — Spinner IP Clean
   Substitui completamente o throbber default
   ===================================================== */


/* 1️⃣ Esconder loader antigo (imagem bolinhas quadradas) */
.ajax-progress .throbber,
.ajax-progress-throbber .throbber {
  display: none !important;
}


/* 2️⃣ Reset do container */
.ajax-progress,
.ajax-progress-throbber {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  vertical-align: middle !important;
}


/* 3️⃣ Spinner INLINE (pequeno — ao lado de texto) */
.ajax-progress::before,
.ajax-progress-throbber::before {
  content: "";
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  display: inline-block;

  border-radius: 50%;
  border: 3px solid rgba(255,126,50,0.25); /* base laranja claro */
  border-top-color: #ff7e32;               /* laranja IP */
  border-right-color: #ff7e32;

  animation: ipSpin 0.8s linear infinite;
}


/* 4️⃣ Spinner MAIOR dentro do modal */
.ui-dialog .ajax-progress::before,
.ui-dialog .ajax-progress-throbber::before,
#drupal-modal .ajax-progress::before,
#drupal-modal .ajax-progress-throbber::before {
  width: 40px;
  height: 40px;
  border-width: 4px;
}


/* 5️⃣ Remover mensagens extra se existirem */
.ajax-progress .message,
.ajax-progress-throbber .message {
  display: none !important;
}


/* 6️⃣ Animação */
@keyframes ipSpin {
  to { transform: rotate(360deg); }
}