body {
  font-family: 'Hellix', sans-serif;
}

strong, b {
  font-weight: 700;
}

.widget,
.lumapps-widget,
.lumapps-widget-container,
.widget-container,
.lumapps-card,
.lumapps-card--shadow,
.lumapps-card--outlined,
.lumapps-card--default {
  border-radius: 0 !important;
}

button[data-id="bookmarks-button"],
button[data-id="contribution-button"],
.header-top__section--contribution,
.login-provider-button--email {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
}

.widget * {
  border-radius: 0 !important;
}

.header-top__search {
  max-width: 300px !important;
  width: 300px !important;
}

.header-top__search input[type="search"] {
  max-width: 200px !important;
  width: 200px !important;
}



.widget--no-shadow {
  box-shadow: none !important;
}

.widget--no-bg {
  background-color: transparent !important;
}

.widget--no-spacing {
  margin: 0 !important;
  padding: 0 !important;
}

.main-nav-item__indicator svg path[d="M7.41 8.58 12 13.17l4.59-4.59L18 10l-6 6-6-6z"] {
  display: none !important;
}

body,
.lumapps-layout,
.lumapps-theme,
.lumx-theme-light,
.lumx-color-background,
.lumapps-layout__wrapper,
.lumx-theme--light {
  background-color: #ffffff !important;
}

.custom-footer {
  background-color: #212121;
  color: #ffffff;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-column h4 {
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ffffff;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-media {
  display: flex;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background-color: #ff3228;
  margin-top: 20px;
}

/* --- Menú desplegable --- */
.main-nav-item__dropdown,
.lumx-popover,
.lumx-popover--elevation-3,
.lumx-popover--position-bottom-start {
  border-radius: 0 !important;
}

/* Fondo del contenedor desplegable */
.main-nav-item__dropdown {
  background-color: #f5f5f5 !important;
}

/* Hover blanco para las entradas del submenú */
.main-nav-item__dropdown li:hover,
.main-nav-item__dropdown a:hover,
.main-nav-item__dropdown .main-nav-item__submenu-entry:hover {
  background-color: #ffffff !important;
  color: rgb(109, 120, 120) !important;
}

/* NAVBAR - Aumentamos altura para incluir el cuadrado rojo */
.main-nav {
  padding-bottom: 12px !important; /* aumenta un poco más para asegurar el espacio */
  position: relative;
}

/* Ítems principales con cuadrado rojo centrado */
.main-nav__root > .main-nav-item {
  position: relative;
}

.main-nav__root > .main-nav-item:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #ff3228;
  border-radius: 0;
}

.lumx-popover--position-bottom-start {
  top: 12px !important;
}

.lumapps-widget,
.lumapps-card--default {
  box-shadow: 0 -4px 6px -4px rgba(0, 0, 0, 0.06), /* sombra arriba */
              0 4px 6px -4px rgba(0, 0, 0, 0.06) !important; /* sombra abajo */
  border-radius: 0 !important;
  background-color: #ffffff !important;
}

/* responsive imagenes cabecera */
@media (max-width: 480px) {
  .widget--no-bg span,
  .widget--no-bg strong,
  .widget--no-bg p {
    color: #000000 !important;
  }
}

/* SOLO el Portal del Empleado en rojo */
.main-nav-item__link[href^="https://emer.fa.em3.oraclecloud.com/fscmUI/faces/AtkHomePageWelcome?_afrLoop=39866539633284330&_afrWindowMode=0&_afrWindowId=null&_adf.ctrl-state=18ruxy2dy1_1&_afrFS=16&_afrMT=screen&_afrMFW=1280&_afrMFH=593&_afrMFDW=1280&_afrMFDH=720&_afrMFC=8&_afrMFCI=0&_afrMFM=0&_afrMFR=144&_afrMFG=0&_afrMFS=0&_afrMFO=0" ] {
color: #FF3228 !important;
}

.main-nav-item__link[href^="https://emer.login.em3.oraclecloud.com/oam/server/obrareq.cgi?encquery%3DoBKutTP9Op00JfMz8KBWHR4m08w3t8ibSDl6zB1QXWJ8l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jVtlCmRE%2FoT6kPto6P%2BefD5mpKj7s2whk7Bp1DbFzzgMcotCskHZzck8VuYZ6VdUpPSCxLAWkM2u4fTSw6mtTwTJptccsIsN0ugpwJYXATKkVQLmL5pvY%2FxS6nbLIwT3bjxaheJtVEB0nTYMg6Z9cNGTXcXB9kbXNcIFh2%2BZq6BZ7W0uLz8DJlz3VEEdwlYEwveYjX1whcB1zagaV2iZVLpCpWPvHRChkv0%2F7vQ2ZEE4sW5d0Ejb2yXJbdXLYGOGfqedS9NhtDcOl19cGQ8Y5H3mLjmmafYUYyl8c4Ib8Y2yck6CC4YxEVFvpeXGSz7zhBmaeK6m0gMMQawGaSY3%2FQEOKrNxB5MxBmivJWJj%2Br41g6mq72d1TauTniJgBUVogG2vGn6ude2y05Dt5hrngkfWtHlVpoQjSRqTLl2ZSpU%2BQsI05w%2BIDp8yRZJJh4EiU7o%2FBEaJeDj%2FPmPqnsmw3ZLckZgl%2BnCKMF0wVE8E03tbhgi%2FpmBdRZGcL9y%2FlZZGBaapxJLSE1vpD7Y0aAhF31IC1C9OJz4eA5I8vtOQxf6xk6cQUHpJSGIx6xUW2JAnrl5TPj5dzv5hx1pie3b7Gr%2B1KzZ3TFXM1m5b1aiY7dxlvUu9MVItPQ%3D%3D%20agentid%3DOraFusionApp_11AG%20ver%3D1%20crmethod%3D2%26cksum%3D62a40be9cf8f055f81d382a6512b0a905ffa5f43&ECID-Context=1.006FvO37chW81zKMyU3j6G0039sb0005uo%3BkXjE"] span {
color: #FF3228 !important;
}


/* SOLO el Portal Docente en rojo */
.main-nav-item__link[href^="https://univeuropeaes.sharepoint.com/sites/PortalDocente"] {
  color: #FF3228 !important;
}

.main-nav-item__link[href^="https://portaldocentesporto.ipam.pt/"] span {
  color: #FF3228 !important;
}

.main-nav-item__link[href^="https://portaldocenteslisboa.ipam.pt/"] span {
  color: #FF3228 !important;
}

.main-nav-item__link[href^="https://portaldocentes.europeia.pt/"] span {
  color: #FF3228 !important;
}

/* Forzar tamaño del logo en la cabecera */
.header-top__logo img {
  max-height: 32px !important; /* Ajusta el valor según el tamaño del site bueno (por ejemplo, 50-70px) */
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Asegurar que el contenedor del logo no lo restrinja */
.header-top__logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 60px !important; /* opcional */
}