/******************************/
/**** Noticias Tipo Normal  ***/
/******************************/

.noticiaDestacada1Col{
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
    padding : 0px;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .noticiaDestacada2Col{
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
    background-color: #f7f7f7;
    margin-bottom: 20px;
    border-radius: 5px;
    margin-left: 5px;
  }
  
  .noticiaDestacada4Col{
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14);
    padding : 0px;
    background-color: #f7f7f7;
    margin-bottom: 20px;
    border-radius: 5px;
    height:100%;
  }
  
  #seccionNoticiasHome {
    /* color: #005682; */
  }

  #seccionNoticiasHome a {
    /* color: #036; */
    color: #005682;
    text-decoration: none;
  }
  #seccionNoticiasHome a:visited {
    color: #036;
  }
  #seccionNoticiasHome a:hover {
    color: #b35600;
    /* color: #d30; */
    text-decoration: underline;
  }
  #seccionNoticiasHome p {
      --color-text-default: #212529;
  }
  
  .tituloNoticia{
    /* color: #337ab7; */
    /* color: #005682; */
  
    font-size: 1rem;
    text-align: left;
    /* text-decoration: none; */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    line-height: 18px;
    padding-top: 10px;
  }
  
  /* .tituloNoticia:hover{
   color: #b35600;
  } */
  
  .uahome .noticiaHome .noticiaNodestacada, .noticiaNodestacada {
    padding-bottom: 10px;
    padding-top: 5px;
    border-bottom: 1px solid #bfbfbf;
    
    font-size: 1rem;
    line-height: 18px;
    font-weight: 400;
    margin-bottom: 0;
    
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .contenidoNoticia{
    font-size: .75rem;
    line-height: 15px;
    padding: 0px;
  }
  
  .fechaNoticias2Col{
    color: #463f3f;
    font-weight: bold;
    padding-right: 20px;
    font-size: .75rem;
    text-align: end;
  }
  
  
  .fechaNoticias4Col{
    /* color: #858585; */
    color: #707070;
    font-weight: bold;
    padding: 5px;
    font-size: .75rem;
    margin-left: 100px;
    text-align: end;
    margin-right: 10px;
  }
  
  
  .lineaSeparacion{
    border-bottom: 1px solid #cecece;
  }
  
  .imagenNoticia{
    justify-content: center;
    display: flex;
    background-color: white;
    border-radius: 5px;
    height: 135px;
    padding:0px;
  }
  
  div.imagenNoticiaPeque{
    justify-content: center;
    display: flex;
    background-color: white;
    border-radius: 5px;
    /*height: 135px;*/
    /*aspect-ratio: 16 / 9;*/
    padding:0px;
    align-items: center;
  }
/*
	@supports not (aspect-ratio: 16 / 9) {
      div.imagenNoticiaPeque{
      	height: calc(320px * 9/16);
      }
    }
	@supports (aspect-ratio: 16 / 9) {
      div.imagenNoticiaPeque{
      	aspect-ratio: 16 / 9;
      }
    }
*/
  /* tamaños <= sm */
  @media (max-width: 768px) {
    div.imagenNoticiaPeque{
        max-height: calc(320px * 9/16);
    }
    
    /* 20250204 Añadimos que el máximo ancho de las columnas sea 320px cuando se muestra en 1 columna con imagen sobre texto; y que se muestren centradas */
    div.noticiaDestacada4Col {
      max-width: 320px;
      margin-left: auto !important; /* para que tenga precedencia sobre los -15px que toma al menos en formato de 2 columnas */
      margin-right: auto;
    }
    div.noticiaDestacada2Col {
      margin-left: auto !important; /* para que tenga precedencia sobre los -15px que toma al menos en formato de 2 columnas */
      margin-right: auto;
    }

  }
  /* tamaños <= xs */
  @media (max-width: 576px) {
    /* 20250204 Añadimos que el máximo ancho de las columnas sea 320px cuando se muestra en 1 columna con imagen sobre texto; y que se muestren centradas */
    div.noticiaDestacada1Col, div.noticiaDestacada2Col {
      max-width: 320px;
      margin-left: auto !important; /* para que tenga precedencia sobre los -15px que toma al menos en formato de 2 columnas */
      margin-right: auto;
    }
  }


  /*
  div.imagenNoticiaPeque img {
    width: auto !important;
  }
  
  
  div.imagenNoticiaPeque img {
    object-fit: cover;
    object-position: center center;
    height: 100% !important;
    width: 100% !important;
  }
  */
  
  .imagenNoticiaCol1{
    padding: 0px;
    /*justify-content: center;
    display: flex;*/
    text-align: center;
    background-color:white;
    border-radius: 5px;
  }
  
  
  .imagenNoticiaCol2{
    padding: 0px;
    /*justify-content: center;
    display: flex;*/
    text-align: center;
    background-color:white;
    border-radius: 5px;
    /* height: 100%; */
  }
  
  .etiquetaNoticiasIcono{
    /* color: #0c6ec3; */
    /* color: #066ddb; */
    color: #0b5ed7;
    font-size:.75rem;
  }
  
  .etiquetasNoticias{
    font-size: .75rem;
    padding: 3px;
    /* color: #0c6ec3; */
    /* color: #066ddb; */
    color: #0b5ed7;
    border-right: 1px solid #bfbfbf;
    padding-right: 6px;
    background-color: #ececec;
    border-radius: 5px;
  }
  
  .etiquetasNoticias span{
    padding-left: 0px;
    margin: 0px;
  }
  
  .noticiaExterna{
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
   /* color: #ce6f05; */
   color: #b35600;
   font-size:.75rem;
  }
  
  .noticiaExterna a{
    font-size: .75rem;
    color: #b35600;
  }
  
  .noticiaExterna:hover{
    font-size: .75rem;
    color: #b35600 !important;
    text-decoration: underline !important;
    opacity: 1.0 !important;
  }
  
  .historicoExterna{
    font-size: .75rem;
    color: #b35600 !important;
    text-decoration: none !important;
    opacity: 1.0 !important;
  }
  
  .historicoExterna:hover{
    font-size: .75rem;
    color: #b35600 !important;
    text-decoration: underline !important;
    opacity: 1.0 !important;
  }
  
  .borderRadiusSupIzd{
    border-radius: 5px 0px 0px 0px;
  }
  .borderRadiusInfIzd{
    border-radius: 0px 0px 0px 5px;
  }
  .borderRadiusSupIzd.borderRadiusInfIzd {
    border-radius: 5px 0px 0px 5px;
  }
  

/* AJUSTES IMÁGENES SCALE-DOWN */
.uahome .imagenNoticiaCol1 img,
.uahome .imagenNoticiaCol2 img
/*, .uahome .imagenNoticiaPeque img */
{
    max-width: 100% !important;
  	/*height: unset !important;
  	width: unset !important;*/
  	max-height: 320px;
  	/*object-fit: scale-down;
  	object-position: top;*/
}


/* columnas de imágenes limitadas al máximo ancho de imagen */
/* tamaños > xs */
@media (min-width: 576px) { 
    /* columna de imágenes limitada al máximo ancho de imagen */
    .uahome .imagenNoticiaCol1 {
        max-width: 320px;
    }
}
/* tamaños >= md */
@media (min-width: 768px) { 
    
    .uahome .noticiaDestacada4Col {
        max-width: 320px;
      	margin-left: auto;
      	margin-right: auto;
    }
}
