:root{
  --color-primary: #206B88;
}

/* MGP hacer icono menu visible/invisible*/
@media (min-width: 575px) {
  .iconoDespliegue {
    display: none;
  }
}

@media (max-width: 575px) {
  .iconoDespliegue {
    max-width: 30px;
  }
}

#filtroactuacions p {
  margin-top: 2px;
}

nav h2 {
  margin-bottom: 0em;
  padding-bottom: 1em;
  background: linear-gradient(to right, rgba(32, 107, 136, 1) 0%, rgba(32, 107, 128, 1) 25%, rgba(211, 211, 211, 1) 25%, rgba(211, 211, 211, 1) 45%, rgba(191, 190, 190, 0) 45%, rgba(10, 0, 0, 0) 100%) left bottom #FFFFFF no-repeat;
  background-size: 100% 1px;
}

.views-field-title a:hover,
.views-field-title a:active {
  text-decoration: none;
  /* color: #206B88 !important; */
  color: var(--color-primary) !important;
}

/*tabla empresas */




td>a {
  float: right;
}

td>a>img {
  max-width: 150px !important;
  float: right;
  clear: right;
  padding: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  border-style: solid;
  border-color: lightgrey;
  border-width: 1px;
}

@media (max-width: 767px) {
  .table-responsive>.table>tbody>tr>td {
    white-space: normal !important;
  }

}

@media (max-width: 880px) {
  td>a>img {
    display: none !important;
  }

}

.views-field-field-geo>div {
  width: 300px;
}

/* fin tabla empresa*/
#filtroNovas {
  padding: 5px;
}

#filtraractua,
#filtraract {
  color: white !important;
  /* background: #206B88; */
  background: var(--color-primary);
  margin-left: 25px;
}

#edit-submit-axendaconcalendario {
  color: white;
  /* background: #206B88; */
  background: var(--color-primary);
}

.view-header h2,
.view-header h4,
.view-header h1 {
  background: linear-gradient(to right, rgba(32, 107, 136, 1) 0%, rgba(32, 107, 128, 1) 25%, rgba(211, 211, 211, 1) 25%, rgba(211, 211, 211, 1) 45%, rgba(191, 190, 190, 0) 45%, rgba(10, 0, 0, 0) 100%) left bottom #FFFFFF no-repeat;
  background-size: 100% 2px;
  margin-bottom: 1em;
  padding-bottom: 1em;
}

footer .view-header h4 {
  background: none;
  background-size: 100% 2px;
  margin-bottom: 0;
}


/* maquetacion de filas con imagenes */
.filasNovas {
  min-height: 400px;
}

.filasNovas .views-field-field-image img {
  max-width: 300px;
  max-height: 290px;
}

.filasNovas .views-field-field-image {
  border-color: lightgrey;
  float: right;
  clear: right;
  padding: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  border-style: solid;
  border-color: lightgrey;
  border-width: 1px;
}

/* esto permite que el menu hamburguesa se situe encima de otros menus que pudieran estar desplegados en las vistas */
@media (max-width: 1180px) {
  header {
    position: fixed !important;
  }

  #block-menu-movil {
    left: 0;
    position: fixed;
    background: white;
    width: 100%;
    top: 100px;
  }
}

h2 a {
  color: #3B3B3B;
}

h3 a {
  color: #3B3B3B;
}

.col-sm-9 .region-content {
  padding-right: 10%;
}

section.col-sm-9 {
  border-left: 1px solid #ddd
}

.views-field-title {
  margin-top: 10px;
}

.views-row .views-field-field-data-inicio,
.views-row .views-field-field-data-fin {
  font-style: italic;
}

.views-row {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  margin-top: 1em;
}

.views-field-field-data-fin div {
  font-style: italic;
}

.views-field-field-entradilla {
  margin-bottom: 1em;
}

.liMenuEmpresas.list-group-item a {
  color: #000;

}

.list-group-item {
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.list-group-item:nth-child(1) {
  border-top: none;
}



#filtroactuacions label {
  margin-left: 2%;
  font-weight: 500;

}

#filtroactuacions {
  padding-left: 3%;
}

h2 {
  font-size: 22px;

}

#block-filtroprogramas h2,
#block-filtroactualidade h2,
#block-filtroavisoseconvocatorias h2,
#block-filtroavisoseconvocatorias-2 h2,
#block-convocatorias h2 {
  font-size: 22px;
  margin-bottom: 1em;
  padding-bottom: 1em;
  background: linear-gradient(to right, rgba(32, 107, 136, 1) 0%, rgba(32, 107, 128, 1) 25%, rgba(211, 211, 211, 1) 25%, rgba(211, 211, 211, 1) 45%, rgba(191, 190, 190, 0) 45%, rgba(10, 0, 0, 0) 100%) left bottom #FFFFFF no-repeat;
  background-size: 100% 1px;
}

/*#block-convocatorias li:nth-child(1), #block-actualidade li:nth-child(1){
background: linear-gradient(to right,rgba(32,107,136,1) 0%,rgba(32,107,128,1) 25%,rgba(211,211,211,1) 25%,rgba(211,211,211,1) 45%,rgba(191,190,190,0) 100%,rgba(10,0,0,0) 100%) left top #FFFFFF no-repeat;
    background-size: 100% 2px;
} */
#filtraract {
  padding: 10px;
  color: #555555;
}

/* @media (max-width: 1180px) {
*/
@media (max-width: 1250px) {
  #navbar-collapse {
    display: block !important;
  }

}

@media (max-width: 650px) {

  #block-filtroprogramas h2,
  #block-filtroavisoseconvocatorias-2 h2,
  #block-menuprocedementos h2,
  #block-convocatorias-menu h2,
  #block-convocatorias h2 {
    font-size: 16px;
  }

}

@media (max-width: 575px) {
  .view-header h1 {
    font-size: 25px;
  }

  #navbar-collapse {
    max-width: 100% !important;
  }

  #navbar-collapse li {
    /* text-align:center; */
  }

  #navbar-collapse {
    display: none !important;
  }

  #filtroactuacions {
    display: none;
  }

  #filtroconvocAvisos {
    display: none;

  }
}


@media (max-width: 940px) and (min-width: 700px) {

  .filasNovas .views-field-field-image {
    max-width: 55%;
  }

  .filasNovas .views-field-field-image img {
    max-width: 100%;
  }


}

@media (max-width: 700px) {
  .views-field.views-field-field-image {
    width: 100%;
  }

  .filasNovas .views-field-field-image img {
    width: 100%;
    max-width: 100%;
  }
}


/* administracion de las vistas con las etiquetas.*/
.etiq a {
  color: white;
}

.view-listado-de-novas .filasNovas,
.view-ultimo-ano .filasNovas,
.view-novas-30-dias .filasNovas,
.view-novas-7-dias .filasNovas {
  position: relative;
}


/* DLG 20250122: Se comenta el estilo porque se montan los tags en NOVAS
@media (min-width: 1060px) {
  .views-field.views-field-field-tags {
    position: absolute;
    bottom: 10px;
    max-width: 50%;
  }
} */

.views-field.views-field-field-tags{
  padding: 4px 0px;
}

.views-field-field-tags .etiq {
  padding: 2px 4px;
  font-size: 12px;
  font-weight: 600;
  /* background: #ccc; */
  background-color: var(--color-primary);
  border-radius: 3px;
  color: white;
}

.filasAvisos .views-field-view-node {
  margin-top: 10px;
}


.views-field-view-node.boton-ver-mais {
  margin-top: 10px;

}

/* ajustes */
@media (max-width: 1180px) {
  div[role="main"] {
    padding-top: 115px;
  }
}