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;
}

.header-main{
    display: none !important;
}


 .main-menu{
    display: none !important;
 }

.text-gray {
    color: #141414 !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;
}



.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(-3px);
  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.75rem !important;
  font-weight: bold;
  color: #f26522 !important;
  background-color: #b3b3b333 !important;
}

.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-azul-ip {
  background-color: #b3b3b333 !important;
  color: #00a9f0 !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;
}

/* 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;
}

/* 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-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;
}

#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;
}