/***********/
/* GENERAL */
/***********/

/* Cajas del mismo tamaño dentro de columnas */
.v-2 .caja-tipo1,
.v-2 .caja-tipo2 {
  align-items: stretch !important;
}
.v-2 .caja-tipo1 > div > section,
.v-2 .caja-tipo1 > div > section > div,
.v-2 .caja-tipo1 > div > section > div > div,
.v-2 .caja-tipo2 > div > section,
.v-2 .caja-tipo2 > div > section > div,
.v-2 .caja-tipo2 > div > section > div > div {
  height: 100%;
}
.v-2 .caja-tipo2 [data-type="component-tiny-text-ua"] {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
}

/* Márgenes de los botons */
.v-2 .btn {
  margin-top: .25rem;
}

/* Colores */
.v-2 .bg-white-gray {
  background-color: #eee !important;
}
.v-2 .bg-gray {
  background-color: #ddd !important;
}
.v-2 .bg-black-semitransparent {
  background-color: rgba(0, 0, 0, 0.75) !important;
}
.v-2 .bg-personalizado1 {
  background-color: rgba(255, 255, 255, 0.85) !important;
}
.v-2 section[data-type="container"] .bg-gray a,
.v-2 section[data-type="container"] .bg-white-gray a {
  color: #005c8a;
}
.v-2 section[data-type="container"] .bg-gray a:visited,
.v-2 section[data-type="container"] .bg-white-gray a:visited {
  color: #736;
}
.v-2 section[data-type="container"] .bg-gray a:hover,
.v-2 section[data-type="container"] .bg-white-gray a:hover {
  color: #f63;
}
.v-2 section[data-type="container"] .bg-gray .bg-blue2 a,
.v-2 section[data-type="container"] .bg-gray .bg-dark-blue2 a,
.v-2 section[data-type="container"] .bg-white-gray .bg-blue2 a,
.v-2 section[data-type="container"] .bg-white-gray .bg-dark-blue2 a {
  color: #e8e7e8;
}
.v-2 section[data-type="container"] .bg-gray .bg-blue2 a:visited, 
.v-2 section[data-type="container"] .bg-gray .bg-dark-blue2 a:visited, 
.v-2 section[data-type="container"] .bg-white-gray .bg-blue2 a:visited, 
.v-2 section[data-type="container"] .bg-white-gray .bg-dark-blue2 a:visited {
  color: #e8e7e8;
}
.v-2 section[data-type="container"] .bg-gray .bg-blue2 a:hover,
.v-2 section[data-type="container"] .bg-gray .bg-dark-blue2 a:hover,
.v-2 section[data-type="container"] .bg-white-gray .bg-blue2 a:hover,
.v-2 section[data-type="container"] .bg-white-gray .bg-dark-blue2 a:hover {
  color: #fff;
}

/************/
/* CABECERA */
/************/

/* Fondo de la cabecera */
.v-2 .seccion-cabecera > div {
  background-color: rgba(0, 86, 130, .9);
  box-shadow: inset 0 75px 150px -75px rgba(0, 0, 0, 0.5)
}

/* Cajas para las áreas (solo página principal) */
.v-2 .seccion-cabecera .caja-bloque {
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.v-2 .seccion-cabecera .caja-bloque {
  background-color: rgba(255, 255, 255, 0.2);
  text-shadow: 0px 1px 3px rgba(0, 86, 130, 0.5);
}
.v-2 .seccion-cabecera .caja-bloque:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.07);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}
.v-2 .seccion-cabecera .caja-bloque img {
  opacity: 0.8;
}

/* Botones dentro de la cabecera (deben ser tipo primary) */
.v-2 .seccion-cabecera .btn[data-btn-color="primary"] {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid white;
  color: #005682 !important;
  transition: background-color .2s, box-shadow .2s;
}
.v-2 .seccion-cabecera .btn[data-btn-color="primary"]:hover {
  background-color: white !important;
  border: 1px solid white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  color: #005682 !important;
}

/* Botones a otras áreas dentro de la cabecera (páginas secundarias) */
.v-2 .seccion-cabecera table {
    margin-bottom: .25rem !important;
}
.v-2 .seccion-cabecera table a {
  	display: inline-block;
    opacity: 0.25;
    transform: translateZ(0) scale(1.0);
    transition: opacity .2s, transform .2s;
}
.v-2 .seccion-cabecera table a:hover {
 	opacity: 0.99; 
    transform: translateZ(0) scale(1.1);
}
.v-2 .seccion-cabecera table td.titulo {
	background-color: transparent !important;
}
.v-2 .seccion-cabecera table td.titulo a {
    opacity: 0.99;
}

/* Tamaño y márgenes del título de las páginas (todas, dentro de la cabecera) */
.v-2 .seccion-cabecera h1 {
  font-size: 24px !important;
  margin-top: 0px !important;
  line-height: 32px !important;
}
.v-2 .seccion-cabecera h1.h1-font-size-grande {
  font-size: 26px !important;
}

/* Migas de pan */
.v-2 .seccion-cabecera p {
  margin-bottom: 11px !important;
}
.v-2 .seccion-cabecera p > img {
  margin-right: .5rem;
  margin-left: .5rem;
  opacity: 0.4;
  margin-bottom: 3px;
}
.v-2 .seccion-cabecera p > a > img {
  margin-right: .15rem;
  margin-bottom: 3px;
  opacity: 0.7;
}
.v-2 .seccion-cabecera p > a:hover > img {
  opacity: 0.6;
}


/***************/
/* INDICADORES */
/***************/

/* Cajas de indicadores */
.v-2 .caja-datos [data-type="component-tiny-text-ua"]:first-child strong {
  font-size: 40px;
}
.v-2 .caja-datos [data-type="component-tiny-text-ua"]:first-child p {
  margin-bottom: 0px;
}
.v-2 .caja-datos [data-type="component-tiny-text-ua"]:last-child p {
  margin-top: 0px;
  color: #666;
}
.v-2 .caja-datos [data-type="component-tiny-text-ua"]:last-child p:first-child {
  margin-bottom: .5rem;
}

/***********/
/* ENLACES */
/***********/

/* Colores de los botones */
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"],
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"]:hover,
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"],
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"]:hover {
  border: 1px solid white;
  transition: background-color .2s, box-shadow .2s;  
}
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"],
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"] {
  background-color: rgba(255, 255, 255, 0.95) !important;
}
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"]:hover,
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"]:hover {
  background-color: white !important;
}
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"],
.v-2 .seccion-enlaces .bg-orange .btn[data-btn-color="orange"]:hover {
  color: #9b4a00 !important;
}
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"],
.v-2 .seccion-enlaces .bg-blue .btn[data-btn-color="primary"]:hover {
  color: #005682 !important;
}

/* Bajar botón abajo */
.v-2 .seccion-enlaces > div > section > div > div > div {
  display: flex;
  flex-flow: column;
}
.v-2 .seccion-enlaces > div > section > div > div > div > [data-type="component-espaciador"]:nth-child(4) {
  flex-grow: 1;
}

/************/
/* NOTICIAS */
/************/

/* Sección de noticias */
.v-2 .uahome #seccionNoticiasHome {
  background-color: transparent;
  margin: 0px;
  padding: 0px;
  border-radius: .5rem !important;
}
.v-2 .uahome #seccionNoticiasHome #parteSuperiorNoticiasHome {
  padding-bottom: 8px;
}
.v-2 .uahome #seccionNoticiasHome #parteSuperiorNoticiasHome > :first-child {
  padding-left: 0;
}
.v-2 .uahome #seccionNoticiasHome #textoTituloNoticias {
  font-weight: bold;
  color: rgb(33, 37, 41);
}
.v-2 .uahome #seccionNoticiasHome .noticiaHome,
.v-2 .uahome #seccionNoticiasHome .noticiaHome > div {
  padding-left: 0px;
  padding-right: 0px;
}
.v-2 .uahome #seccionNoticiasHome .noticiaHome > div > div {
  padding-left: .5rem !important;
  padding-right: .5rem !important;
}
.v-2 .uahome #seccionNoticiasHome .noticiaDestacada4Col {
  max-width: 100%;
/*  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);*/
  box-shadow: none;
  background-color: white;
}
.v-2 .uahome #seccionNoticiasHome .noticiaDestacada4Col > * {
  background-color: white;
}
/*.v-2 .bg-white-gray .uahome #seccionNoticiasHome .noticiaDestacada4Col,
.v-2 .bg-white-gray .uahome #seccionNoticiasHome .noticiaDestacada4Col > * {
  background-color: #ddd;
}*/
.v-2 .uahome #seccionNoticiasHome .tituloNoticia {
  margin: 0.5rem 1.5rem 1.5rem !important;
}
.v-2 .uahome #seccionNoticiasHome .fechaNoticias4Col {
  margin: 1.5rem 1.5rem 0.5rem !important;
  text-align: start;
}
.v-2 .uahome #seccionNoticiasHome .noticiaExterna {
  margin: 1.5rem 1.5rem 0.5rem !important;
  text-align: start;
}
.v-2 .uahome #seccionNoticiasHome .imagenNoticiaPeque {
  height: auto !important;
  aspect-ratio: auto !important;
}
.v-2 .uahome #seccionNoticiasHome .imagenNoticiaPeque img {
  padding: 0px !important;
  max-height: none !important;
  max-width: 100% !important;
  height: auto !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .v-2 .uahome #seccionNoticiasHome .imagenNoticiaPeque {
  	max-height: none; 
  }
}

/*************/
/* LOGOTIPOS */
/*************/

.v-2 .caja-logos section[data-type="container"]:first-child {
  overflow: hidden;
  padding-top: 100%;
  position: relative;
}
.v-2 .caja-logos section[data-type="container"]:first-child > div {
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  display: flex;
}

/************/
/* CONTACTO */
/************/

.v-2 .seccion-contacto .caja-tipo1 > div > section > div {
  position: relative;
}
.v-2 .seccion-contacto .caja-tipo1 > div > section > div > div {
  padding-top: 100%;
}
.v-2 .seccion-contacto section[data-type="component-tiny-text-ua"] p {
  margin-top: .25rem !important;
  margin-bottom: 0 !important;
}
.v-2 .seccion-contacto section[data-type="component-tiny-text-ua"]:first-child p {
  margin-bottom: .5rem !important;
}
.v-2 .seccion-contacto section[data-type="component-tiny-text-ua"]:not(:first-child) p {
  line-height: 1;
}

/*********/
/* FONDO */
/*********/

.v-2 .caja-tipo5 > div {
  background-color: rgba(0, 86, 130, .8);
  box-shadow: inset 0 0 5em 1em rgba(0, 86, 130);
}

/*********/
/* IMAGEN */
/*********/

.v-2 .caja-tipo4 > div {
  padding-top: 62.5%;
}

/***********/
/* YOUTUBE */
/***********/

.youtube-wrapper {
  border-radius: 4px;
  overflow: hidden;
}

/**********************/
/* OVERRIDES DE LA UA */
/**********************/

/* Colores */





/* Mejora del color y bordes de los botones */
/*.v-2 .bg-blue section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"],
.v-2 .bg-orange section[data-type="component-tiny-text-ua"] .btn[data-btn-color="orange"],
.v-2 .bg-personalizado1 section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid white;
}
.v-2 .bg-blue section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"],
.v-2 .bg-blue section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"]:hover,
.v-2 .bg-personalizado1 section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"],
.v-2 .bg-personalizado1 section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"]:hover {    
    color: #005682 !important;
}
.v-2 .bg-orange section[data-type="component-tiny-text-ua"] .btn[data-btn-color="orange"],
.v-2 .bg-orange section[data-type="component-tiny-text-ua"] .btn[data-btn-color="orange"]:hover {
    color: #bd5b00 !important;
}
.v-2 .bg-blue section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"]:hover,
.v-2 .bg-orange section[data-type="component-tiny-text-ua"] .btn[data-btn-color="orange"]:hover,
.v-2 .bg-personalizado1 section[data-type="component-tiny-text-ua"] .btn[data-btn-color="primary"]:hover {
    background-color: white !important;
    border: 1px solid white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}*/

/* Color de fondo personalizado (bg-personalizado2, gris claro) */
.v-2 .bg-personalizado2 {
	background-color: #eee;
}

/* Color de fondo personalizado (bg-personalizado3, gris menos claro) */
.v-2 .bg-personalizado3 {
	background-color: #ccc;
}



/* Títulos secundarios dentro de la cabecera */
.v-2 .bg-personalizado1 h2 {
    margin-top: .25rem !important;
}
.v-2 .bg-personalizado1 h2 a {
    line-height: 20px !important;
    padding-bottom: 5px;
}


/*.v-2 .seccion-bloque {
    transition: transform .2s, background-color .2s, box-shadow .2s;
}

.v-2 .seccion-bloque.bg-white-semitransparent {
    background-color: rgba(255, 255, 255, 0.2);
    text-shadow: 0px 1px 3px rgba(0, 86, 130, 0.5);
}

.v-2 .seccion-bloque.bg-white-semitransparent:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.07);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

.v-2 .seccion-bloque.bg-black-semitransparent {
    background-color: rgba(0, 0, 0, 0.2);
}

.v-2 .seccion-bloque.bg-black-semitransparent:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.v-2 .seccion-bloque.bg-blue:hover,
.v-2 .seccion-bloque.bg-blue2:hover {
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.35);
}

.v-2 .seccion-bloque img {
  opacity: 0.8;
}*/

.v-2 section[data-type="component-tiny-text-ua"]:last-child > :last-child {
  margin-bottom: 0px !important; 
}

.v-2 section[data-type="component-tiny-text-ua"]:first-child > :first-child {
  margin-top: 0px !important; 
}

.v-2 table + p {
  display: none;
}

.v-2 .seccion-info {
  overflow: hidden;
}

.v-2 .seccion-info section[data-type="container"] {
  background-color: black;
  background-color: rgba(0, 86, 130, .9);
  color: white !important;
  padding-top: 20px;
}

.v-2 .seccion-info section[data-type="container"] .bg-transparent {
  color: white !important;
}

.v-2 .seccion-info section[data-type="container"] a {
  color: white !important;
}

.v-2 .seccion-info section[data-type="component-tiny-text-ua"] p:not(:last-child) {
  margin-bottom: .25rem !important;
}

.v-2 .seccion-info section[data-type="component-tiny-text-ua"]:nth-child(1):not(:last-child) p {
  margin-bottom: .25rem !important;
}

.v-2 .seccion-info section[data-type="component-tiny-text-ua"]:nth-child(2) p {
  margin-top: .25rem !important;
  opacity: .9;
}



.v-2 .seccion-imagen > div {
  position: relative;
  overflow: hidden;
}
.v-2 .seccion-imagen > div > section:last-child {
  background-color: rgba(0, 0, 0, 0.75);
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;  
  border-radius: .25rem;
}
.v-2 .seccion-imagen > div > section:last-child p {
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
}
.v-2 .seccion-imagen > div > section:last-child section:nth-child(2) {
  opacity: .8;
}
@media only screen and (max-width: 992px)  {
  .v-2 .seccion-imagen h1 {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
}
@media only screen and (max-width: 576px)  {
  .v-2 .seccion-imagen h1 {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}

/*.v-2 .row > div > section > div,
.v-2 .row > div > section > div > div {
  height: 100%;
}

.v-2 .row > div > section > div > div > div {
  display: flex;
  flex-flow: column;
}

.v-2 .row > div > section > div > div > div > :last-child {
  flex-grow: 1;
}*/

/*.v-2 .seccion-enlaces > div > section,
.v-2 .seccion-enlaces > div > section > div,
.v-2 .seccion-enlaces > div > section > div > div {
  height: 100%;
}

.v-2 .seccion-enlaces > div > section > div > div > div {
  display: flex;
  flex-flow: column;
}*/




/* Override UA */

img#logositio {
  height: 75px !important;
  margin-top: 15px !important;
  box-shadow: none !important;
}

@media only screen and (min-width: 992px)  {
  .iconitos li a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .navbar .pl-1 {
    padding-left: 0px !important;
  }
  .navbar .col .row > div:first-child {
    padding-top: 9px;
  }
}


/************/
/* NOTICIAS */
/************/

/* Noticias bien colocadas */
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas > [class*="col-"] {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas > div > .d-flex.flex-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px 20px !important;
  align-items: stretch !important;
}
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas > div > .d-flex.flex-wrap > .noticia__card {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
@media (min-width: 992px) {
  .v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas > div > .d-flex.flex-wrap > .noticia__card {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    max-width: calc((100% - 40px) / 3) !important;
  }
}

/* Noticias bien formateadas */
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas .noticia__card {
  overflow: hidden;
}
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas .card-body {
  background-color: white;
  margin-top: 0px !important;
  padding: 1.5rem;
}
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas .noticia__contenedor-imagen {
  width: 100%;
}
.v-2 .tablon__noticias--3col.tablon__noticias--combinadas3cols3destacadas .noticia__imagen.noticia__imagen--peque {
  object-fit: cover !important;   /* o el valor que quieras recuperar */
  padding: 0 !important;
}