/* - - - - - - - - - - - - - - - - -

CSS EPIC

- - - - - - - - - - - - - - - - - */

body{
     font-family: "Nunito", sans-serif !important;
         font-size: 14px;
    line-height: 1.62em;
    color: #444 !important;
}

.path-formando .main-page{
    margin-top: 30px !important;
}

.path-formador .main-page{
    margin-top: 30px !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: #0000ff !important;
  margin-bottom: 20px !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 {
  font-family: "Nunito", sans-serif !important;
  font-size: 16px !important;
  border: none !important;
  background-color: #0000ff !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 10px 20px 10px 20px !important;
  border-radius: 99px !important;
}

.btn:hover {
  background-color: #000 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}


.btn-submeter {
  font-family: "Nunito", sans-serif !important;
  font-size: 16px !important;
  border: none !important;
  background-color: #ff4da5 !important;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 10px 20px 10px 20px !important;
  border-radius: 99px !important;
}

.btn-submeter: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 {
  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 {
  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);
}




/* - - - - - - - - - - - - CSS TEMA ANTIGO - - - - - - - - - - - - */


.textoini{
  text-align: center;
  color: #0000ff;
  font-size: 16px;
  line-height: 1.5;
  padding-bottom:75px;
  margin-top: 100px;
}
.textojornadas
{
  text-align: center;
  color: #ff4a00;
  font-size: 16px;
  margin-left: 10vw;
  margin-right: 10vw;
  line-height: 1.5;
  padding-bottom:75px;
  margin-top: 100px;
}
.laranja{
  color: #ff4a00;
  font-weight: bold;
}
.block-views-blockjornadas-epic-block-1 h2{
  color: #ff4a00;
  text-align: center;
  font-size: 4.5em;
  padding-top:75px;
  padding-bottom:75px;
}
.rosa{
  color: #ff4da5;
  font-weight: bold;
}
.block-views-blockforum-block-1 h2{
  color: #ff4da5;
  text-align: center;
  font-size: 4.5em;
  padding-top:75px;
  padding-bottom:75px;
}
.verde{
 color: #7cb342; 
  font-weight: bold;
}
.textohack
{
  text-align: center;
  color: #7cb342;
  font-size: 16px;
  margin-left: 10vw;
  margin-right: 10vw;
  line-height: 1.5;
  padding-bottom:75px;
  margin-top: 100px;
}

.tabelajornadas, 
.tabelaforum, 
.tabelapercurso, 
.tabelamyregistration,
.tabelasobre {
  margin: 0 auto;
  border: none !important;
}

.tabelajornadas, 
.tabelaforum, 
.tabelapercurso, 
.tabelamyregistration,
.tabelasobre,
.tabelajornadas th, 
.tabelajornadas td,
.tabelaforum th, 
.tabelaforum td,
.tabelapercurso th, 
.tabelapercurso td,
.tabelamyregistration th, 
.tabelamyregistration td,
.tabelasobre th,
.tabelasobre td {
  border: none !important;
  border-collapse: collapse;
}



.viewjornadas h3{
 max-width: 1140px;
  margin-left: 1200px;
  margin-right: 1200px;
  margin-bottom: 20px;
  color: #ff4a00;
  font-weight: bold;
}
.iesjornadas{
  text-align: right;
}
.linhalaranja{
  border-top: 2px #ff4a00 solid;
}
.linhaverde{
  border-top: 2px #7cb342 solid;
}

.linharosa{
  border-top: 2px #ff4da5 solid;
}

h5 a{
  color:#ff884d;
}
.btn, input[type="submit"] {
    background: #0000ff;
    color: #fff;
    border: 1px solid #0000ff;
    border-radius: 20px;
    padding: 6px 20px;
    cursor: pointer;
}
.btn:hover, input[type="submit"]:hover {
    background: #ff4a00;
    color: #fff;
    border: 1px solid #ff4a00;
    border-radius: 20px;
    padding: 6px 20px;
    cursor: pointer;
}

#block-business-responsive-theme-jornadas h2{
  font-size: 2.5em;
  text-transform: uppercase;
  height: 500px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.5em;
  background-color: #ff4a00;
  margin-left: -1200px;
  margin-right: -1200px;
  margin-bottom: 75px;

}
.block-views-blocknoticias-block-1 h2{
  text-align:center;
  color:#0000ff;
  font-weight: bold;
  padding-top:75px;
  font-size: 2.5em;
  text-transform: uppercase;
}
.block-views-blocknoticias-block-1{
 background-color:#f5f5f5;  
  position: relative; /* Posicionamento relativo para permitir o pseudo-elemento */
  left: 50%; /* Move para a esquerda */
  width: 100vw; /* 100% da largura da viewport */
  margin-left: -50vw;
}
.viewjornadas, .viewforum, .viewpercurso, .viewmyregistration, .gerir{
  background-color:#f5f5f5;  
  padding-top: 75px;
  padding-bottom: 75px;
}

.jornadasmain{
  width:60%;
  float:left;
  margin-top: 15px;
  margin-right: 10%;
}
.jornadasdireita{
  width:30%;
  float:right;
  margin-top: 15px;
}
.block-views-blocknoticias-block-1 .views-view-responsive-grid{
  max-width: 1140px; /* 75% da largura da viewport */
  margin: 0 auto ;
}

.azul{
 color:#0000ff !important;
}
.price-table{
  background-color:#0000ff;
  padding-top: 75px;
}
.price-table .region{
  background-color:#0000ff;
  color:#ffffff;
}
#block-business-responsive-theme-coluna1, #block-business-responsive-theme-coluna3{
 height:70px; 
}
#block-business-responsive-theme-parceiros{
 height:70px; 
  color:#ffffff;
  text-align:center;
  font-weight: bold;
  font-size: 2.5em;
  text-transform: uppercase;

}
#wrapper{
margin-bottom:-20px;
  margin-top: 75px;

}
@media (min-width: 1200px) {

  #block-business-responsive-theme-parceiros{
  width: 1140px;
  margin: 0 auto;
}
  .region-pricetable-second, .region-pricetable-third{
    margin-top:70px;
  }
  .block-views-blocknoticias-block-1 .views-view-responsive-grid {
        width: 71vw;
    }
  .node--type-noticias, .node--type-forum, .node--type-percurso{

  margin-left:-1200px;
  margin-right:-1200px;
  }
  .viewjornadas, .viewforum, .viewpercurso, .viewmyregistration, .gerir{
  margin-left:-1200px;
  margin-right:-1200px;
  }
}
@media (max-width:580px){
  .block-views-blocknoticias-block-1 .views-view-responsive-grid {
    margin: 0 10px;
  }
}
.block-field-blocknodeprojetofield-projeto{
  height:500px; 
  color:#ffffff;
  text-align:center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.5em;
  background-color: #0000ff;
  margin:0 -1200px;
  
}
.block-field-blocknodeprojetofield-projdesc{
  padding-top:75px;
}

.block-field-blocknodeprojetofield-parceiros, .block-field-blocknodeprojetofield-percursos{
  padding:75px 0;
}

.block-field-blocknodeprojetofield-parceiros h2, .block-field-blocknodeprojetofield-objetivo1 h2{
text-align: center;
    color: #0000ff;
    font-weight: bold;
    font-size: 2.5em;
    text-transform: uppercase;
}

.block-field-blocknodeprojetofield-objetivo1{
  background-color:#f5f5f5; 
  padding:75px 0;
  margin-left:-1200px;
  margin-right:-1200px;
  text-align:center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.boraflex{
  display: flex;
    justify-content: space-evenly;
  max-width:840px;
}
.colunas{
 flex-basis:20%; 
}

.centrar{
 text-align: center; 
  padding-left: 10px;
    padding-right: 10px;
}
.block-field-blocknodeprojetofield-apresentacao{
  color:#ffffff;
  text-align:center;
  font-weight: bold;
  font-size: 2.5em;
  background-color: #0000ff;
  text-transform: uppercase;
  padding:75px 0;
  margin:0 -1200px;

}

.block-field-blocknodeprojetofield-percursos h2{
  text-align: center;
  color: #0000ff;
  font-weight: bold;
  font-size: 2.5em;
  text-transform: uppercase;
}

.block-field-blocknodenoticiastitle{
  font-weight:bold;
  font-size: 16px;
  margin-bottom: 0px;
}

.block-field-blocknodenoticiasfield-data{
  color:#0000ff;
}
.node--type-noticias, .node--type-forum, .node--type-percurso{
  background-color:#f5f5f5; 
  padding:75px 0;
  display: flex;
  justify-content: center;
  }
 .layout-region-registration-main{
  background-color:#f5f5f5; 
  padding-top:75px;
  margin-left:-1200px;
  margin-right:-1200px;
  display: grid;
  justify-content: center;
  }
.layout-region-registration-footer{
  background-color:#f5f5f5; 
  padding-bottom:75px;
  margin-left:-1200px;
  margin-right:-1200px;
  display: flex;
  justify-content: center;
  }

.node--type-noticias div, .node--type-forum div, .node--type-percurso div{
  max-width:1140px; 
}
.forummain{
  width:60%;
  float:left;
  margin-top: 15px;
  margin-right: 10%;
}

.forummain2{
  width:100%;
  float:left;
  margin-top: 15px;
  margin-right: 10%;
}
.forummain a {
  color: #ff4da5;
}
.forumdireita{
  width:30%;
  float:right;
  margin-top: 15px;
}
.forumdireita a{
  color:#ff4da5;
}

.textoforum
{
  text-align: center;
  color: #ff4da5;
  font-size: 16px;
  margin-left: 10vw;
  margin-right: 10vw;
  line-height: 1.5;
  padding-bottom:75px;
  margin-top: 100px;
}
#block-business-responsive-theme-forum h2{
text-transform: uppercase;
  height: 500px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.5em;
  background-color: #ff4da5;
  margin-left: -1200px;
  margin-right: -1200px;
  margin-bottom: 75px;
}

#block-business-responsive-theme-nivelintermedio h2{
text-transform: uppercase;
  height: 500px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.5em;
  background-color: #0000ff;
  margin-left: -1200px;
  margin-right: -1200px;
  margin-bottom: 75px;
}
#block-business-responsive-theme-hackathon h2{
text-transform: uppercase;
  height: 500px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4.5em;
  background-color: #7cb342;
  margin-left: -1200px;
  margin-right: -1200px;
  margin-bottom: 75px;
}
.linhaazul{
  border-top: 2px #0000ff solid;
}
.percursomain{
  width:60%;
  float:left;
  margin-top: 15px;
  margin-right: 10%;
}
.percursomain a {
  color: #0000ff;
}
.percursodireita{
  width:30%;
  float:right;
  margin-top: 15px;
}
.percursodireita a{
  color:#0000ff;
}

.registration-who-msg{
  margin: 0 auto;
}

.mymain{
  width:60%;
  float:left;
  margin-top: 15px;
  margin-right: 10%;
}
.mymain a {
  color: #0000ff;
}
.mydireita{
  width:30%;
  float:right;
  margin-top: 15px;
}
.mydireita a{
  color:#0000ff;
}

.gerir table, .gerir form, .gerir header{
  margin: 0 auto;
  width: 1142px;
}
.gerir header{
  border-bottom: 2px #ff4a00 solid;
  margin-bottom: 20px;
}

.form-select{
  border-radius: 15px;
  background-color: #ffffff; 
}
.viewnoticias{
  padding-bottom:75px;
}
.xlsx-feed .feed-icon{
  margin-left:1200px;
}
.ui-accordion .ui-accordion-header{
 margin: 15px 0 0 0;
 font-size: 3.5em;
 font-weight: bold;
     font-family: "Nunito", sans-serif !important;
}
.ui-state-active{
  border: 1px solid #0000ff;
  background: #0000ff;
}
article .node__content {
    margin-bottom: 75px;
}


.bloco-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  padding: 180px 0;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: Nunito !important;
  text-transform: uppercase !important;
    font-size: 4.5em !important;
}

.bloco-verde { background-color: #7cb342; }
.bloco-laranja { background-color: #ff4a00; }
.bloco-azul { background-color: #0000ffd9; }
.bloco-rosa { background-color: #ff4da5;}


body.path-forum .block .block-title:after {
  display: none !important;
}

body.path-forum h2.block-title {
  font-family: Nunito !important;
  color: #ff4da5 !important;
  font-size: 50px !important;
  font-weight: 500 !important;
}

body.path-jornadas-epic .block .block-title:after {
  display: none !important;
}

body.path-jornadas-epic h2.block-title {
  font-family: Nunito !important;
  color: #ff4a00 !important;
  font-size: 50px !important;
  font-weight: 500 !important;
}

body.path-jornadas-epic h3 {
  font-family: Nunito !important;
}

h2.tituloh2 {
  font-family: Nunito !important;
}

.mb{
  margin-bottom: 50px !important;
}

.logos-ies-footer{
  margin-bottom: 30px !important;
}

#footer .footer-center {
  padding: 0px 0 50px;
}

.viewnoticias img{
  width: 100% !important;
  margin-bottom: 20px !important;
}

header.header-2 .main-menu {
  background:  #ffffff !important;
}


#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item > a {
  font-family: "Nunito", sans-serif !important; 
  font-size: 18px !important;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  padding-left: 0 !important;
  margin-left: 0 !important;
  color: #0000ff !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

/* Traço azul — começa no início da palavra e vai até meio */
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: #0000ff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
  pointer-events: none;
}

/* Hover / foco / ativo */
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item > a:hover::after,
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item:hover > a::after,
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item.active > a::after {
  transform: scaleX(1);
}

/* Mantém o texto azul */
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item:hover > a,
#block-daudo-subtheme-main-menu .gva_menu.gva_menu_main > li.menu-item > a:hover {
  color: #0000ff !important;
  text-decoration: none !important;
}



/* Fix layout só na página /submissaotrabalhos */
body.path-submissaotrabalhos .layout-region-registration-main,
body.path-submissaotrabalhos .layout-region-registration-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: transparent !important;
  display: block !important;
  justify-content: flex-start !important;
}

/* Opcional: limitar a largura do formulário e centrar */
body.path-submissaotrabalhos .layout-region-registration-main form {
  max-width: 1140px !important;
  margin: 0 auto !important;
  width: 100% !important; /* aqui já é “bom” 100% dentro do container */
}


/* ============================
   FORM SUBMISSÃO DE TRABALHOS
   Só em /submissaotrabalhos
   ============================ */

body.path-submissaotrabalhos .registration-forum-submissao-register-form {
  max-width: 1200px;
  margin: 30px auto 60px;
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* Mensagem inicial */
body.path-submissaotrabalhos .registration-who-msg {
  background: #0000ff0d;
  border: 1px solid #0000ff1f;
  color: #141414;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Blocos <details> como cartões */
body.path-submissaotrabalhos details.field-group-tab {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 14px 18px 18px;
  margin-bottom: 24px;
  background: #fafafa;
}

/* Cabeçalho do bloco (summary) */
body.path-submissaotrabalhos details.field-group-tab > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: none;
  font-size: 1rem;
  color: #0000ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Esconde o triângulo padrão */
body.path-submissaotrabalhos details.field-group-tab > summary::-webkit-details-marker {
  display: none;
}

/* Ícone “seta” fake */
body.path-submissaotrabalhos details.field-group-tab > summary::after {
  content: "▾";
  font-size: 0.9rem;
  margin-left: auto;
  color: #666;
  transition: transform .2s ease;
}
body.path-submissaotrabalhos details.field-group-tab[open] > summary::after {
  transform: rotate(-180deg);
}

/* Espaçamento interno dos campos dentro dos details */
body.path-submissaotrabalhos details.field-group-tab .form-wrapper {
  margin-top: 12px;
}

/* Itens de formulário genéricos */
body.path-submissaotrabalhos .js-form-item {
  margin-bottom: 16px;
}

/* Labels */
body.path-submissaotrabalhos .js-form-item > label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #222222;
}

/* Campos de texto, selects e textarea */
body.path-submissaotrabalhos .form-text,
body.path-submissaotrabalhos .form-email,
body.path-submissaotrabalhos .form-select,
body.path-submissaotrabalhos textarea.form-textarea {
  width: 100% !important;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #ffffff;
  box-shadow: none;
}

body.path-submissaotrabalhos .form-text:focus,
body.path-submissaotrabalhos .form-email:focus,
body.path-submissaotrabalhos .form-select:focus,
body.path-submissaotrabalhos textarea.form-textarea:focus {
  outline: none;
  border-color: #0000ff;
  box-shadow: 0 0 0 2px #0000ff26;
}

/* Campo do resumo – ocupar toda a largura e destacar ligeiramente */
body.path-submissaotrabalhos #edit-field-resumo-wrapper {
  margin-top: 8px;
}
body.path-submissaotrabalhos #edit-field-resumo-0-value,
body.path-submissaotrabalhos .ck-editor__main .ck-editor__editable {
  border-radius: 10px !important;
}

/* Tabela dos coautores mais limpa */
body.path-submissaotrabalhos #field-coautores-values {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 0.9rem;
}
body.path-submissaotrabalhos #field-coautores-values thead {
  background: #f3f3f3;
}
body.path-submissaotrabalhos #field-coautores-values th.field-label h4.label {
  font-size: 0.95rem;
  margin: 0;
}
body.path-submissaotrabalhos #field-coautores-values td {
  padding: 6px 4px;
}
body.path-submissaotrabalhos #field-coautores-values .tabledrag-handle .handle {
  border-radius: 6px;
}

/* Checkbox groups – tópicos e transformação UC */
body.path-submissaotrabalhos #edit-field-topicostlf--wrapper .fieldset-wrapper,
body.path-submissaotrabalhos #edit-field-transfuc--wrapper .fieldset-wrapper {
  margin-top: 10px;
}

/* Título do fieldset */
body.path-submissaotrabalhos fieldset.fieldgroup > legend span.fieldset-legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: #222;
}

/* Grid de cartões para as opções */
body.path-submissaotrabalhos #edit-field-topicostlf,
body.path-submissaotrabalhos #edit-field-transfuc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

/* Cartão de cada checkbox */
body.path-submissaotrabalhos #edit-field-topicostlf .js-form-item,
body.path-submissaotrabalhos #edit-field-transfuc .js-form-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

body.path-submissaotrabalhos #edit-field-topicostlf .form-checkbox,
body.path-submissaotrabalhos #edit-field-transfuc .form-checkbox {
  margin-top: 3px;
}

body.path-submissaotrabalhos #edit-field-topicostlf label.option,
body.path-submissaotrabalhos #edit-field-transfuc label.option {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Hover nos cartões de checkbox */
body.path-submissaotrabalhos #edit-field-topicostlf .js-form-item:hover,
body.path-submissaotrabalhos #edit-field-transfuc .js-form-item:hover {
  border-color: #0000ff40;
  box-shadow: 0 0 0 1px #0000ff1f;
}

/* Selects finais (Percursos EPIC / Tipo de participação) */
body.path-submissaotrabalhos #edit-field-percursos-epic-wrapper,
body.path-submissaotrabalhos #edit-field-tparticipacao-wrapper {
  margin-top: 18px;
}

/* Botão Guardar */
body.path-submissaotrabalhos #edit-actions input[type="submit"] {
  background: #0000ff !important;
  border-radius: 999px !important;
  padding: 10px 26px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  text-transform: none !important;
}

body.path-submissaotrabalhos #edit-actions input[type="submit"]:hover {
  background: #0000cc !important;
  box-shadow: 0 10px 24px rgba(0,0,255,0.3);
}

/* Footer do form alinhado ao centro */
body.path-submissaotrabalhos .layout-region-registration-footer {
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
}

/* Responsivo */
@media (max-width: 768px) {
  body.path-submissaotrabalhos .registration-forum-submissao-register-form {
    padding: 18px 16px;
    margin: 20px 10px 40px;
  }

  body.path-submissaotrabalhos #edit-field-topicostlf,
  body.path-submissaotrabalhos #edit-field-transfuc {
    grid-template-columns: 1fr;
  }
}


/* 1) Cabeçalho dos <details> azul EPIC, com letras brancas */
body.path-submissaotrabalhos details.field-group-tab {
  padding-top: 0; /* para o summary encostar ao topo do card */
}

body.path-submissaotrabalhos details.field-group-tab > summary {
  background: #0000ff;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  margin: 15px -1px 0; /* encaixa dentro da borda do card */
}

/* seta branca */
body.path-submissaotrabalhos details.field-group-tab > summary::after {
  color: #ffffff;
}

/* 2) Ocultar mensagem "Clique em guardar..." */
body.path-submissaotrabalhos .registration-who-msg {
  display: none !important;
}

/* 3) Ocultar botão "Mostrar coluna de pesos" */
body.path-submissaotrabalhos .tabledrag-toggle-weight-wrapper {
  display: none !important;
}

/* 4) Hover dos cards de checkbox em azul, não roxo */
body.path-submissaotrabalhos #edit-field-topicostlf .js-form-item:hover,
body.path-submissaotrabalhos #edit-field-transfuc .js-form-item:hover {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 1px #0000ff33 !important;
}

/* 5) Texto da descrição do "Tipo de participação" um pouco maior */
body.path-submissaotrabalhos #edit-field-tparticipacao--description,
body.path-submissaotrabalhos #edit-field-tparticipacao--description p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 50px;
}

body.path-submissaotrabalhos #edit-field-resumo-0-format-help-about {
  display: none !important;
}

/* ========== COAUTORES – ESTILO LABEL + LINHA ========== */

/* Label "Coautores" igual às restantes labels */
body.path-submissaotrabalhos .field--name-field-coautores h4.label {
  display: block !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  margin-bottom: 4px !important;
  color: #222222 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

/* Tirar fundo da linha de header da tabela */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] thead tr {
  background: transparent !important;
}

/* Alinhar input + botão Remover na mesma linha */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] tbody tr {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Segunda coluna (input) ocupa o resto da linha */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] tbody td:nth-child(2) {
  flex: 1 1 auto;
}

/* Terceira coluna (botão Remover) fica só o necessário */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] tbody td:nth-child(3) {
  flex: 0 0 auto;
}

/* Limpar bordas e padding excessivo */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"],
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] th,
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] td {
  border: none !important;
  box-shadow: none !important;
}

body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] td {
  padding: 4px 0 !important;
}

/* Remover coluna de arrastar (já não faz sentido aqui) */
body.path-submissaotrabalhos .field--name-field-coautores td.field-multiple-drag,
body.path-submissaotrabalhos .field--name-field-coautores .tabledrag-handle,
body.path-submissaotrabalhos .field--name-field-coautores th.tabledrag-hide,
body.path-submissaotrabalhos .field--name-field-coautores td.delta-order {
  display: none !important;
}

/* ========== COAUTORES – BOTÕES MAIS PEQUENOS E SEM NEGRITO ========== */

/* Botão Remover – Nunito + tamanho discreto */
body.path-submissaotrabalhos .field--name-field-coautores input[type="submit"] {
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
}

/* Botão Adicionar outro item – Nunito também */
body.path-submissaotrabalhos #edit-field-coautores-add-more {
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  padding: 7px 18px !important;
  border-radius: 999px !important;
}

/* Subir ligeiramente o botão Remover para alinhar com o input */
body.path-submissaotrabalhos .field--name-field-coautores tbody tr td:nth-child(3) input[type="submit"] {
  margin-top: -10px !important;
}

/* Ajustar espaço acima da descrição + botão "Adicionar outro item" */
body.path-submissaotrabalhos .field--name-field-coautores .description {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
}

body.path-submissaotrabalhos .field--name-field-coautores .field-add-more-wrapper {
  margin-top: 6px !important;
}

/* Ocultar tabs se existirem */
body.path-submissaotrabalhos .nav-tabs{
  display: none !important;
}


body.path-submissaotrabalhos table[id^="field-coautores-values"] thead,
body.path-submissaotrabalhos table[id^="field-coautores-values"] thead tr,
body.path-submissaotrabalhos table[id^="field-coautores-values"] thead th {
  background: none !important;
}

/* Aproximar os campos dos Coautores ao título "Coautores" */

/* Tirar qualquer margem extra da tabela */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] {
  margin-top: 0 !important;
}

/* Tirar espaço do th do cabeçalho */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] thead th {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Garantir que o h4 não empurra demasiado */
body.path-submissaotrabalhos .field--name-field-coautores h4.label {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

/* Se ainda ficar com “ar” a mais: subir ligeiramente a primeira linha */
body.path-submissaotrabalhos .field--name-field-coautores table[id^="field-coautores-values"] tbody tr:first-child {
  margin-top: -4px !important;
}

/* Remover o text-transform do tema (capitalize ou uppercase) nas labels */
body.path-submissaotrabalhos label,
body.path-submissaotrabalhos .label,
body.path-submissaotrabalhos legend span.fieldset-legend,
body.path-submissaotrabalhoss fieldset > legend,
body.path-submissaotrabalhos h4.label {
  text-transform: none !important;
}






/* ******************************************************************************************************************************************************************************

PÁGINA

REGISTER

NODE

****************************************************************************************************************************************************************************** */




/* Fix layout só na página /submissaotrabalhos */
body.node--type-forum-submit .layout-region-registration-main,
body.node--type-forum-submit .layout-region-registration-footer {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: transparent !important;
  display: block !important;
  justify-content: flex-start !important;
}

/* Opcional: limitar a largura do formulário e centrar */
body.node--type-forum-submit .layout-region-registration-main form {
  max-width: 1140px !important;
  margin: 0 auto !important;
  width: 100% !important; /* aqui já é “bom” 100% dentro do container */
}


/* ============================
   FORM SUBMISSÃO DE TRABALHOS
   Só em /submissaotrabalhos
   ============================ */

body.node--type-forum-submit .registration-forum-submissao-register-form {
  max-width: 1200px;
  margin: 30px auto 60px;
  background: #ffffff;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

/* Mensagem inicial */
body.node--type-forum-submit .registration-who-msg {
  background: #0000ff0d;
  border: 1px solid #0000ff1f;
  color: #141414;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Blocos <details> como cartões */
body.node--type-forum-submit details.field-group-tab {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 14px 18px 18px;
  margin-bottom: 24px;
  background: #fafafa;
}

/* Cabeçalho do bloco (summary) */
body.node--type-forum-submit details.field-group-tab > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: none;
  font-size: 1rem;
  color: #0000ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Esconde o triângulo padrão */
body.node--type-forum-submit details.field-group-tab > summary::-webkit-details-marker {
  display: none;
}

/* Ícone “seta” fake */
body.node--type-forum-submit details.field-group-tab > summary::after {
  content: "▾";
  font-size: 0.9rem;
  margin-left: auto;
  color: #666;
  transition: transform .2s ease;
}
body.node--type-forum-submit details.field-group-tab[open] > summary::after {
  transform: rotate(-180deg);
}

/* Espaçamento interno dos campos dentro dos details */
body.node--type-forum-submit details.field-group-tab .form-wrapper {
  margin-top: 12px;
}

/* Itens de formulário genéricos */
body.node--type-forum-submit .js-form-item {
  margin-bottom: 16px;
}

/* Labels */
body.node--type-forum-submit .js-form-item > label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #222222;
}

/* Campos de texto, selects e textarea */
body.node--type-forum-submit .form-text,
body.node--type-forum-submit .form-email,
body.node--type-forum-submit .form-select,
body.node--type-forum-submit textarea.form-textarea {
  width: 100% !important;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #ffffff;
  box-shadow: none;
}

body.node--type-forum-submit .form-text:focus,
body.node--type-forum-submit .form-email:focus,
body.node--type-forum-submit .form-select:focus,
body.node--type-forum-submit textarea.form-textarea:focus {
  outline: none;
  border-color: #0000ff;
  box-shadow: 0 0 0 2px #0000ff26;
}

/* Campo do resumo – ocupar toda a largura e destacar ligeiramente */
body.node--type-forum-submit #edit-field-resumo-wrapper {
  margin-top: 8px;
}
body.node--type-forum-submit #edit-field-resumo-0-value,
body.node--type-forum-submit .ck-editor__main .ck-editor__editable {
  border-radius: 10px !important;
}

/* Tabela dos coautores mais limpa */
body.node--type-forum-submit #field-coautores-values {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 0.9rem;
}
body.node--type-forum-submit #field-coautores-values thead {
  background: #f3f3f3;
}
body.node--type-forum-submit #field-coautores-values th.field-label h4.label {
  font-size: 0.95rem;
  margin: 0;
}
body.node--type-forum-submit #field-coautores-values td {
  padding: 6px 4px;
}
body.node--type-forum-submit #field-coautores-values .tabledrag-handle .handle {
  border-radius: 6px;
}

/* Checkbox groups – tópicos e transformação UC */
body.node--type-forum-submit #edit-field-topicostlf--wrapper .fieldset-wrapper,
body.node--type-forum-submit #edit-field-transfuc--wrapper .fieldset-wrapper {
  margin-top: 10px;
}

/* Título do fieldset */
body.node--type-forum-submit fieldset.fieldgroup > legend span.fieldset-legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: #222;
}

/* Grid de cartões para as opções */
body.node--type-forum-submit #edit-field-topicostlf,
body.node--type-forum-submit #edit-field-transfuc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

/* Cartão de cada checkbox */
body.node--type-forum-submit #edit-field-topicostlf .js-form-item,
body.node--type-forum-submit #edit-field-transfuc .js-form-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

body.node--type-forum-submit #edit-field-topicostlf .form-checkbox,
body.node--type-forum-submit #edit-field-transfuc .form-checkbox {
  margin-top: 3px;
}

body.node--type-forum-submit #edit-field-topicostlf label.option,
body.node--type-forum-submit #edit-field-transfuc label.option {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Hover nos cartões de checkbox */
body.node--type-forum-submit #edit-field-topicostlf .js-form-item:hover,
body.node--type-forum-submit #edit-field-transfuc .js-form-item:hover {
  border-color: #0000ff40;
  box-shadow: 0 0 0 1px #0000ff1f;
}

/* Selects finais (Percursos EPIC / Tipo de participação) */
body.node--type-forum-submit #edit-field-percursos-epic-wrapper,
body.node--type-forum-submit #edit-field-tparticipacao-wrapper {
  margin-top: 18px;
}

/* Botão Guardar */
body.node--type-forum-submit #edit-actions input[type="submit"] {
  background: #0000ff !important;
  border-radius: 999px !important;
  padding: 10px 26px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  text-transform: none !important;
}

body.node--type-forum-submit #edit-actions input[type="submit"]:hover {
  background: #0000cc !important;
  box-shadow: 0 10px 24px rgba(0,0,255,0.3);
}

/* Footer do form alinhado ao centro */
body.node--type-forum-submit .layout-region-registration-footer {
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
}

/* Responsivo */
@media (max-width: 768px) {
  body.node--type-forum-submit .registration-forum-submissao-register-form {
    padding: 18px 16px;
    margin: 20px 10px 40px;
  }

  body.node--type-forum-submit #edit-field-topicostlf,
  body.node--type-forum-submit #edit-field-transfuc {
    grid-template-columns: 1fr;
  }
}


/* 1) Cabeçalho dos <details> azul EPIC, com letras brancas */
body.node--type-forum-submit details.field-group-tab {
  padding-top: 0; /* para o summary encostar ao topo do card */
}

body.node--type-forum-submit details.field-group-tab > summary {
  background: #0000ff;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  margin: 15px -1px 0; /* encaixa dentro da borda do card */
}

/* seta branca */
body.node--type-forum-submit details.field-group-tab > summary::after {
  color: #ffffff;
}

/* 2) Ocultar mensagem "Clique em guardar..." */
body.node--type-forum-submit .registration-who-msg {
  display: none !important;
}

/* 3) Ocultar botão "Mostrar coluna de pesos" */
body.node--type-forum-submit .tabledrag-toggle-weight-wrapper {
  display: none !important;
}

/* 4) Hover dos cards de checkbox em azul, não roxo */
body.node--type-forum-submit #edit-field-topicostlf .js-form-item:hover,
body.node--type-forum-submit #edit-field-transfuc .js-form-item:hover {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 1px #0000ff33 !important;
}

/* 5) Texto da descrição do "Tipo de participação" um pouco maior */
body.node--type-forum-submit #edit-field-tparticipacao--wrapper--description,
body.node--type-forum-submit #edit-field-tparticipacao--wrapper--description p {
  font-size: 0.80rem;
  line-height: 1.7;
  margin-top: 20px;
}

body.node--type-forum-submit #edit-field-resumo-0-format-help-about {
  display: none !important;
}

/* ========== COAUTORES – ESTILO LABEL + LINHA ========== */

/* Label "Coautores" igual às restantes labels */
body.node--type-forum-submit .field--name-field-coautores h4.label {
  display: block !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  margin-bottom: 4px !important;
  color: #222222 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

/* Tirar fundo da linha de header da tabela */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] thead tr {
  background: transparent !important;
}

/* Alinhar input + botão Remover na mesma linha */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] tbody tr {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Segunda coluna (input) ocupa o resto da linha */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] tbody td:nth-child(2) {
  flex: 1 1 auto;
}

/* Terceira coluna (botão Remover) fica só o necessário */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] tbody td:nth-child(3) {
  flex: 0 0 auto;
}

/* Limpar bordas e padding excessivo */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"],
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] th,
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] td {
  border: none !important;
  box-shadow: none !important;
}

body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] td {
  padding: 4px 0 !important;
}

/* Remover coluna de arrastar (já não faz sentido aqui) */
body.node--type-forum-submit .field--name-field-coautores td.field-multiple-drag,
body.node--type-forum-submit .field--name-field-coautores .tabledrag-handle,
body.node--type-forum-submit .field--name-field-coautores th.tabledrag-hide,
body.node--type-forum-submit .field--name-field-coautores td.delta-order {
  display: none !important;
}

/* ========== COAUTORES – BOTÕES MAIS PEQUENOS E SEM NEGRITO ========== */

/* Botão Remover – Nunito + tamanho discreto */
body.node--type-forum-submit .field--name-field-coautores input[type="submit"] {
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
}

/* Botão Adicionar outro item – Nunito também */
body.node--type-forum-submit #edit-field-coautores-add-more {
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  padding: 7px 18px !important;
  border-radius: 999px !important;
}

/* Subir ligeiramente o botão Remover para alinhar com o input */
body.node--type-forum-submit .field--name-field-coautores tbody tr td:nth-child(3) input[type="submit"] {
  margin-top: -10px !important;
}

/* Ajustar espaço acima da descrição + botão "Adicionar outro item" */
body.node--type-forum-submit .field--name-field-coautores .description {
  margin-top: 2px !important;
  margin-bottom: 6px !important;
}

body.node--type-forum-submit .field--name-field-coautores .field-add-more-wrapper {
  margin-top: 6px !important;
}

/* Ocultar tabs se existirem */
body.node--type-forum-submit .nav-tabs{
  display: none !important;
}


body.node--type-forum-submit table[id^="field-coautores-values"] thead,
body.node--type-forum-submit table[id^="field-coautores-values"] thead tr,
body.node--type-forum-submit table[id^="field-coautores-values"] thead th {
  background: none !important;
}

/* Aproximar os campos dos Coautores ao título "Coautores" */

/* Tirar qualquer margem extra da tabela */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] {
  margin-top: 0 !important;
}

/* Tirar espaço do th do cabeçalho */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] thead th {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Garantir que o h4 não empurra demasiado */
body.node--type-forum-submit .field--name-field-coautores h4.label {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

/* Se ainda ficar com “ar” a mais: subir ligeiramente a primeira linha */
body.node--type-forum-submit .field--name-field-coautores table[id^="field-coautores-values"] tbody tr:first-child {
  margin-top: -4px !important;
}

/* Remover o text-transform do tema (capitalize ou uppercase) nas labels */
body.node--type-forum-submit label,
body.node--type-forum-submit .label,
body.node--type-forum-submit legend span.fieldset-legend,
body.node--type-forum-submits fieldset > legend,
body.node--type-forum-submit h4.label {
  text-transform: none !important;
}

/* ====== Tipo de participação – igual aos tópicos ====== */

/* Pequeno espaço entre a legenda e as caixas */
body.node--type-forum-submit #edit-field-tparticipacao--wrapper .fieldset-wrapper {
  margin-top: 10px;
}

/* Grid de cartões */
body.node--type-forum-submit #edit-field-tparticipacao {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

/* Cartão de cada checkbox */
body.node--type-forum-submit #edit-field-tparticipacao .js-form-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

/* Checkbox alinhada ao topo do texto */
body.node--type-forum-submit #edit-field-tparticipacao .form-checkbox {
  margin-top: 3px;
}

/* Texto da opção */
body.node--type-forum-submit #edit-field-tparticipacao label.option {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Hover igual aos outros grupos */
body.node--type-forum-submit #edit-field-tparticipacao .js-form-item:hover {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 1px #0000ff33 !important;
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
  body.node--type-forum-submit #edit-field-tparticipacao {
    grid-template-columns: 1fr;
  }
}

body.node--type-forum-submit #edit-field-tparticipacao--wrapper legend span.fieldset-legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: #222;
  text-transform: none !important;
  font-family: inherit; /* segue o mesmo tipo de letra já usado no form */
}

body.path-submissaotrabalhos #edit-cancel,
body.node--type-forum-submit #edit-cancel {
  display: none !important;
}


/* ====== IES – caixas iguais aos tópicos ====== */

/* PÁGINA /submissaotrabalhos (alias) */
body.path-submissaotrabalhos #edit-field-ies--wrapper .fieldset-wrapper {
  margin-top: 10px;
}

body.path-submissaotrabalhos #edit-field-ies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

/* Cartão de cada checkbox de IES */
body.path-submissaotrabalhos #edit-field-ies .js-form-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

body.path-submissaotrabalhos #edit-field-ies .form-checkbox {
  margin-top: 3px;
}

body.path-submissaotrabalhos #edit-field-ies label.option {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Hover igual aos tópicos */
body.path-submissaotrabalhos #edit-field-ies .js-form-item:hover {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 1px #0000ff33 !important;
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
  body.path-submissaotrabalhos #edit-field-ies {
    grid-template-columns: 1fr;
  }
}


/* PÁGINA node--type-forum-submit (/node/1513/register) */
body.node--type-forum-submit #edit-field-ies--wrapper .fieldset-wrapper {
  margin-top: 10px;
}

body.node--type-forum-submit #edit-field-ies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

body.node--type-forum-submit #edit-field-ies .js-form-item {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

body.node--type-forum-submit #edit-field-ies .form-checkbox {
  margin-top: 3px;
}

body.node--type-forum-submit #edit-field-ies label.option {
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.5;
}

body.node--type-forum-submit #edit-field-ies .js-form-item:hover {
  border-color: #0000ff !important;
  box-shadow: 0 0 0 1px #0000ff33 !important;
}

@media (max-width: 768px) {
  body.node--type-forum-submit #edit-field-ies {
    grid-template-columns: 1fr;
  }
}

body.path-node .tabs.nav-tabs.nav.primary.drupal-tabs {
    display: none !important;
}

body.path-node a#edit-cancel {
    display: none !important;
}

.registration-who-msg {
    margin-bottom: 24px !important;
}

body.path-node #edit-submit {
  font-family: "Nunito", sans-serif !important;
}

.azul.linkmaisinfo a {
  font-size: 18px !important;
}