/* contenedor-body */

  /* We need to set the widths used on floated items back to auto, and remove the bottom margin as when we have grid we have gaps. */
  .contenedor-body > * {
    min-height: 100%;
    width: auto;
  }

/* -> contenedor-body */

.franja-roja-superior,
.franja-roja-superior-menu {
  height: 4px;
  background-color: var(--colorBackgroundFranjaRoja);
}

.left-panel-navegacion-logo {
  background: rgba(244,244,244,1);
}

.menu-institucional {
  height: 43px;
  background-color: var(--colorAzulCRA);
}

.right-panel-navegacion-logo {
  display: flex;
  transform: scaleY(-1);
  align-items: center;
  justify-content: center;
}

/* contenedor-contenido */

.contenido {
  min-height: 75vh; /* height: auto; */
}

.contenedor-contenido {
  height: auto;
}

.grid-contenedor-contenido {
  height: auto;
}

.titulo-principal {
  margin-top: 30px;
  width: 100%;
  color: var(--colorTextoSeleccionarModulo);
  font-size: var(--letra24);
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  padding: 0px 20px 0 20px;
}

@media screen and (min-width: 768px) {
  .titulo-principal {
    margin-top: 50px;
    font-size: var(--letra28);
  }
}

@media screen and (min-width: 992px) {
  .titulo-principal {
    font-size: var(--letra32);
  }
}

.titulo-auxiliar {
  margin-top: 10px;
  margin-bottom: 30px;
  color: var(--colorTextoSeleccionarModuloAuxiliar);
  font-size: var(--letra16);
  line-height: 23px;
  text-align: center;
  padding: 0px 20px 0 20px;
}

@media screen and (min-width: 768px) {
  .titulo-auxiliar {
    margin-bottom: 50px;
    font-size: var(--letra18);
  }
}

@media screen and (min-width: 992px) {
  .titulo-auxiliar {
    font-size: var(--letra20);
  }
}

.navegacion-modulos {
  margin-bottom: 50px;
}

.grid-contenedor-navegacion-modulos {
  justify-content: space-evenly;
}

.seleccion-categoria-documentos {

}

.navegacion-categorias-documentos {
  margin-bottom: 200px;
}

.grid-contenedor-navegacion-categorias-documentos {
  justify-content: space-evenly;
  justify-items: center;
}

.modulo {
  cursor: pointer;
}

.contenedor-modulo {
  height: 262px;
  width: 270px;
  border-radius: .6em;
  background-color: var(--colorBackgroundModulo);
  box-shadow: 0 0 1px 0 rgb(0 0 0 / 4%), 0 1px 10px 0 rgb(0 0 0 / 15%);
}

.imagen-modulo {
  padding: 10px 10px 0 10px;
}

.imagen-modulo img {
  width: 250px;
  border-radius: 4px;
}

.titulo-modulo {
  height: 52px;
  color: var(--colorTextoTituloModulo);
  font-size: var(--letra14);
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}


@media screen and (min-width: 768px) {
  .titulo-modulo {
    font-size: var(--letra15);
  }
}

@media screen and (min-width: 992px) {
  .titulo-modulo {
    font-size: var(--letra16);
  }
}
.titulo-modulo p {
  margin: auto;
}

.ver-mas {
  margin-top: 0; /* Antes estaba en -1px */
  margin-left: 0; /* Antes estaba en -1px */
  height: 50px;
  width: 270px;
  border: 1px solid var(--colorBordeBotonVerMasIndex);
  border-radius: 0 0 .6em .6em;
  background-color: var(--colorBackgroundBotonVerMasIndex);
}

.ver-mas img {
  width: 10px;
  height: 10px;
}

.contenedor-ver-mas {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.texto-ver-mas {
  height: 18px;
  color: var(--colorTextoBotonVerMasIndex);;
  font-size: var(--letra12);
  font-weight: bold;
  line-height: 18px;
  letter-spacing: 1px;
  margin-left: 5px;
}

#texto-ver-mas {
  margin: 0px;
  padding: 0px 0px 0px 0px;
}

.plus-icon img {
}

/* -> contenedor-contenido */


/* footer */

footer { /* Con el footer al final, no fijo, no es necesario asignar z-index: 4 */
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1590px; /* Set same as footer's height */ /* Incluye alturas de franja-AJ, barra-final y franja-Gov-Co-footer */
}

@media screen and (min-width: 340px) {
  footer {
    height: 1470px;
  }
}

@media screen and (min-width: 400px) {
  footer {
    height: 1380px;
  }
}

@media screen and (min-width: 460px) {
  footer {
    height: 1260px;
  }
}

@media screen and (min-width: 576px) {
  footer {
    height: 1250px;
  }
}

@media screen and (min-width: 630px) {
  footer {
    height: 1260px;
  }
}

@media screen and (min-width: 700px) {
  footer {
    height: 1090px;
  }
}

@media screen and (min-width: 768px) {
  footer {
    height: 1220px;
  }
}

@media screen and (min-width: 992px) {
  footer {
    height: 1164.46px;
  }
}

@media screen and (min-width: 1100px) {
  footer {
    height: 1114.46px;
  }
}

@media screen and (min-width: 1200px) {
  footer {
    height: 1064.46px;
  }
}

@media screen and (min-width: 1300px) {
  footer {
    height: 1064.46px;
  }
}

@media screen and (min-width: 1400px) {
  footer {
    height: 1114.46px;
  }
}

@media screen and (min-width: 1600px) {
  footer {
    height: 1016.46px;
  }
}

@media screen and (min-width: 1630px) {
  footer {
    height: 996.46px;
  }
}

@media screen and (min-width: 1680px) {
  footer {
    height: 1026.46px;
  }
}

@media screen and (min-width: 1800px) {
  footer {
    height: 1026.46px;
  }
}

@media screen and (min-width: 1920px) {
  footer {
    height: 1056.46px;
  }
}

@media screen and (min-width: 2100px) {
  footer {
    height: 1026.46px;
  }
}


/* contenedor-footer */

/* franja-AJ */

.franja-AJ {
  height: 460px;
  margin: 20px 20px 50px 20px;
  border-radius: .6em;
  color: var(--colorTextoFranjaAJ);
  font-size: var(--letra14);
  text-rendering: optimizeLegibility;
  background-color: var(--colorBackgroundFranjaAJ);
  box-shadow: 0 0 1px 0 rgb(0 0 0 / 4%), 0 1px 10px 0 rgb(0 0 0 / 15%);
}

@media screen and (min-width: 400px) {
  .franja-AJ {
    height: 400px;
  }
}

@media screen and (min-width: 576px) {
  .franja-AJ {
    height: 380px;
  }
}

@media screen and (min-width: 630px) {
  .franja-AJ {
    height: 380px;
  }
}

@media screen and (min-width: 700px) {
  .franja-AJ {
    height: 360px;
  }
}

@media screen and (min-width: 992px) {
  .franja-AJ {
    height: auto;
    font-size: var(--letra16);
    margin: 20px 20px 100px 20px;
  }
}

.creditos {
  display: flex;
  height: 100%;
  line-height: 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
  padding-bottom: 40px;
}

@media screen and (min-width: 992px) {
  .creditos {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 0 30px;
  }
}

.control-versiones {
  display: flex;
  height: 100%;
  line-height: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
}

@media screen and (min-width: 992px) {
  .control-versiones {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: right;
    margin: 0 30px 0 0;
  }
}

.actualizacion {
  display: flex;
  height: 100%;
  line-height: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
}

@media screen and (min-width: 992px) {
  .actualizacion {
    line-height: 20px;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: right;
    margin: 0 30px 0 0;
  }

}

.entidad {
  display: flex;
  height: 100%;
  line-height: 18px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
  padding: 40px 0 0 0;
}

@media screen and (min-width: 992px) {

  .entidad {
    line-height: 20px;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: right;
    margin: 0 30px 0 0;
    padding: 0 0 40px 0;
  }

}

.logo-aj-visible {
  display: flex;
  justify-content: center;
  margin: 0 20px 0 20px;
}

@media screen and (min-width: 992px) {
  .logo-aj-visible {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 0 30px;
    padding-top: 20px; /* Hasta 20220523: 40px, el nuevo logo AJ tiene margen superior */
  }
}

.logo-aj-visible img {
  width: 180px;
}

@media screen and (min-width: 768px) {

  .logo-aj-visible img {
    width: 200px;
    margin-left: -20px;
  }
}

.nombre-obra {
  display: flex;
  font-weight: 600;
  height: 100%;
  line-height: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
}

@media screen and (min-width: 992px) {

  .nombre-obra {
    line-height: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 0 30px;
  }

}

.isbn {
  display: flex;
  height: 100%;
  line-height: 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 20px 0 20px;
}

@media screen and (min-width: 992px) {

  .isbn {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin: 0 0 0 30px;
  }

}

/* -> franja-AJ */


/* barra-final */

.barra-final {
  color: var(--colorTextoBarraFinal);
  font-size: var(--letra14);
}

.barra-final a {
  font-weight: 600;
}

.barra-final a:hover {
  text-decoration: none;
}

.contenedor-barra-final {
  height: 100%;
}

.grid-contenedor-barra-final {
  height: 100%;
}

.franja-blanca-inferior {
  width: 100%;
  background-color: var(--colorBackgroundFranjaBlancaInferior);
}

.franja-roja-inferior {
  width: 100%;
  background-color: var(--colorBackgroundFranjaRojaInferior);
}

.contacto {
  background-color: var(--colorBackgroundContacto);
  border: 1px solid var(--colorBordeContacto);
  border-radius: 25px;
  text-align: center;
  line-height: 1.5rem;
  text-rendering: optimizeLegibility;
  font-size: var(--letra14);
  margin-bottom: -50px;
}

@media screen and (min-width: 600px) {
  .contacto {
    margin-bottom: -30px;
  }
}

@media screen and (min-width: 768px) {
  .contacto {
    text-align: left;
    font-size: var(--letra16);
    margin-bottom: 0;
  }
}

.left-panel-contacto {
  padding: 20px 20px 30px 20px;
}

@media screen and (min-width: 400px) {
  .left-panel-contacto {
    padding: 20px 30px 30px 30px;
  }
}

@media screen and (min-width: 576px) {
  .left-panel-contacto {
    padding: 20px 80px 30px 80px;
  }
}

@media screen and (min-width: 768px) {
  .left-panel-contacto {
    padding: 20px 0 30px 15px;
  }
}

@media screen and (min-width: 992px) {
  .left-panel-contacto {
    padding: 20px 0 30px 40px;
  }
}

.left-panel-contacto ul.icons-list {
  list-style: none;
  margin: 0 -10px;
  padding: 0;
}

.left-panel-contacto ul.icons-list li {
  display: inline-block;
  margin: 10px 5px;
  vertical-align: middle;
}

.left-panel-contacto ul.icons-list li a {
  display: block;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
  border-color: var(--colorAzulCRA);
  outline-color: var(--colorAzulCRA);
}

.svg-inline--fa {
  display: inline-block;
  vertical-align: -.125em;

  font-size: 24px;
  width: 24px;
  height: 24px;

  border-radius: 50%;
  background: var(--colorAzulCRA);
  color: var(--colorBlanco);
  padding: 5px;

  overflow: visible;
}

.left-panel-contacto ul.menu {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.left-panel-contacto ul.menu li {
  margin-right: 20px;
  position: relative;
  list-style: none;
  padding: 0;
}

.left-panel-contacto ul.menu li a {
  display: block;
  color: var(--colorAzulCRA);
  font-size: 14px !important;
  padding: 8px 0;
  text-decoration: none;
  font-weight: 600;
}

#block-cleanplus-footer-menu {
  display: none;
}

.titulo-principal-footer {
	display: block;
	line-height: 1.20;
	padding: 0;
	margin: 20px 0 10px 0;
	font-size: 1.75em;
	font-weight: 700;
	font-family: 'Montserrat', Helvetica Neue, Arial, Sans-serif;
}

@media screen and (min-width: 768px) {
  .titulo-principal-footer {
  }
}

.titulo-auxiliar-footer {
  line-height: 1.20;
  padding: 0;
  margin: 20px 0 10px 0;
  font-size: 1.15em;
  font-weight: 700;
  font-family: 'Montserrat', Helvetica Neue, Arial, Sans-serif;
}

.right-panel-contacto {
  padding: 20px 20px 30px 20px;
}

@media screen and (min-width: 400px) {
  .right-panel-contacto {
    padding: 20px 30px 30px 30px;
  }
}

@media screen and (min-width: 576px) {
  .right-panel-contacto {
    padding: 20px 80px 30px 80px;
  }
}

@media screen and (min-width: 768px) {
  .right-panel-contacto {
    padding: 20px 15px 30px 0;
  }
}

@media screen and (min-width: 992px) {
  .right-panel-contacto {
    padding: 20px 40px 30px 0;
  }
}

/* -> barra-final */

/* -> Footer */


/* panel-botones-letter-size */

  .panel-inferior-botones-letter-size {
    transform: rotate(180deg);
    height: auto;
  }

  .contenedor-panel-inferior-botones-letter-size {
    height: 100%;
    width: 102px; /* 20px + (36px * 2) + 10px */
  }

  @media screen and (min-width: 768px) {
    .contenedor-panel-inferior-botones-letter-size {
      width: 148px; /* 20px + (36px * 3) + (10px * 2) */
    }
  }

  .grid-contenedor-panel-inferior-botones-letter-size {
    height: 100%;
    align-items: center;
  }

  .boton-font-menos-sencillo,
  .boton-font-menos-sencillo-inferior,
  .boton-font-normal-sencillo,
  .boton-font-normal-sencillo-inferior,
  .boton-font-mas-sencillo,
  .boton-font-mas-sencillo-inferior {
    height: 36px;
    width: 36px;
    border: 1px solid var(--colorGrisBordes);
    border-radius: 4px;
    background-color: var(--colorBackgroundBotonesFontSize);
    cursor: pointer;
  }

  .boton-font-menos-sencillo,
  .boton-font-menos-sencillo-inferior {
    display: none;
  }

  @media screen and (min-width: 768px) {

    .boton-font-menos-sencillo,
    .boton-font-menos-sencillo-inferior {
      display: block;
      margin-left: 20px;
    }
  }

  .boton-font-normal-sencillo,
  .boton-font-normal-sencillo-inferior {
    margin-left: 20px;
    margin-right: 10px; /* Necesario pues para ancho menor a 576px grid-gap se deja en 0 */
  }

  @media screen and (min-width: 768px) {

    .boton-font-normal-sencillo,
    .boton-font-normal-sencillo-inferior {
      margin-left: 0;
      margin-right: 0;
    }
  }

  .boton-font-mas-sencillo,
  .boton-font-mas-sencillo-inferior {
    margin-right: 20px;
  }

  .boton-font-menos-sencillo img,
  .boton-font-menos-sencillo-inferior img,
  .boton-font-mas-sencillo img,
  .boton-font-mas-sencillo-inferior img {
    width: 22px;
    height: 22px;
  }

  .boton-font-normal-sencillo img,
  .boton-font-normal-sencillo-inferior img {
    width: 18px;
    height: 18px;
  }

  .contenedor-boton-font-menos-sencillo,
  .contenedor-boton-font-normal-sencillo,
  .contenedor-boton-font-mas-sencillo {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

/* -> panel-botones-letter-size */


.boton-ir-arriba {
  display: flex;
  margin-top: 40px;
  margin-right: 30px;
  border-radius: 4px;
  background-color: var(--colorBackgroundBotonesGrises);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  justify-self: right;
  align-self: center;
}

.boton-buscar a:hover {
  text-decoration: underline;
  color: var(--colorTextoGrisBoton);
}

@media screen and (min-width: 576px) {

  .boton-ir-arriba {
    padding: 3px 8px;
  }
}

.boton-ir-arriba img {
  width: 18px;
  height: 18px;
}

.contenedor-boton-ir-arriba {
  display: flex;
  align-items: center;
  justify-content: center;
}

.texto-boton-ir-arriba {
  display: none;
  color: var(--colorTextoGrisBoton);
  font-size: var(--letra14);
  font-weight: bold;
  letter-spacing: 0.4px;
}

@media screen and (min-width: 576px) {

  .texto-boton-ir-arriba {
    display: inline;
    margin-left: 5px;
  }
}

#texto-boton-ir-arriba {
  margin: 0px;
  padding: 0px 0px 0px 0px;
}

/* -> contenedor-panel-font-size-go-up */


/* Classes especiales */

.proyecto,
.extracto {
  background-color: var(--destacados);
  color: var(--colorBlanco);
  padding: 0 10px 0 10px;
  border-radius: 2px;
}

.derogado {
  background-color: var(--colorRojo);
  color: var(--colorBlanco);
  padding: 0 10px 0 10px;
  border-radius: 2px;
}

.inconstitucional {
  background-color: var(--colorRojo);
  color: var(--colorBlanco);
  padding: 0 10px 0 10px;
  border-radius: 2px;
}

.anulado {
  background-color: var(--colorRojo);
  color: var(--colorBlanco);
  padding: 0 10px 0 10px;
  border-radius: 2px;
}

.suspendido {
  background-color: var(--colorNaranja);
  color: var(--colorBlanco);
  padding: 0 10px 0 10px;
  border-radius: 2px;
}

/* -> Classes especiales */
