.principal {
  text-align: center;
  margin-bottom: 2%;
}

.grid-container {
  display: grid;
  grid-template-columns: 5% 10% 45% 10% 5% 10% 15%;
  border: 1px solid #ccc;
}

#cabecera {
  background: linear-gradient(135deg,
      var(--background-base) 22px,
      var(--background-hover) 22px,
      var(--background-hover) 24px,
      transparent 24px,
      transparent 67px,
      var(--background-hover) 67px,
      var(--background-hover) 69px,
      transparent 69px),
    linear-gradient(225deg,
      var(--background-base) 22px,
      var(--background-hover) 22px,
      var(--background-hover) 24px,
      transparent 24px,
      transparent 67px,
      var(--background-hover) 67px,
      var(--background-hover) 69px,
      transparent 69px) 0 64px;
  background-color: var(--background-base);
  background-size: 64px 128px;
}

.volver{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: white;
  display: flex;
  color: rgb(71, 127, 75);
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 32px;
  height: 32px;
  border: none;
  outline: none;
  cursor: pointer;

}

.grid-item {
  font-weight: bold;
}

.grid-opciones {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;

}
.titulo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.titulo-texto {
  font-weight: bold;
  font-size: 18px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin-right: 10px;
}

.componente {
  justify-content: center;
  align-items: center;
}


.card {
  background-color: rgb(252, 252, 251)
}


.colorEditar {
  color: blue;
}

.colorEditar svg {
  fill: blue;
}



.contenedorP {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  margin: 10px auto;
  border-radius: 10px;
  text-align: center;
  margin-top: 10%;
  background-color: white;
}
.contenedor:not(:last-child) {
  margin-bottom: 2px;
}

.contenedor {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  padding-bottom: 2%;
  border-radius: 10px;
  background-color: white;
  position: relative;
  z-index: 1;
}

.sobremontado {
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 96%;
  top: -20px;
  left: 2%;
  background-color: rgb(71, 127, 75);
  color: #fff;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: -50px;
  z-index: 2;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sobremontado span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.sobremontado mat-icon {
  margin-right: 5px;
}


.icono-instituciones {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  font-size: 20px;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

table th {
  background-color: rgb(248, 249, 250);
  font-weight: bold;
  text-transform: uppercase;
}

table td {
  position: relative;
}

table td::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}


input[type="text"] {
  width: 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-left: 10px;
}

.area-busqueda {
  padding: 10px;
  margin-top: 3%;
  text-align: right;
  background-color: rgb(248, 249, 250);
}

@media (max-width: 600px) {
  table {
    font-size: 14px;
  }

  table th,
  table td {
    padding: 8px;
  }
}

.btn-observar {
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

.white-icon {
  color: blue;
}


.colorsito{
  background-color: rgb(248, 249, 250);
}


.rounder{
  border-radius: 50%;
  background-color: rgb(71, 127, 75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 15%;
  height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
}

.rounder mat-icon {
  font-size: 24px;
  color: #fff;
}

@media (max-width: 768px) {
  .rounder {
    width: 30%;
  }
}

@media (max-width: 480px) {
  .rounder {
    width: 40%;
  }
}

.margen{
  margin: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.bordes {
  border-collapse: collapse;
  width: 100%;
}

.bordes th,
.bordes td {
  border: 1px solid black;
  padding: 8px;
}

.bordes th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.bordes td {
  background-color: #ffffff;
}

.bordes tr:nth-child(even) {
  background-color: #f9f9f9;
}

.bordes tr:hover {
  background-color: #eaeaea;
}

.bordes th:last-child,
.bordes td:last-child {
  border-bottom: none;
}

.rounder-nuevo {
  border-radius: 50%;
  background-color: rgb(71, 127, 75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 36px;
  height: 36px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 5px;
}

.white-icon {
  color: white;
}


.institution {
  display: flex;
  align-items: center;
}

.institution-name {
  font-size: 20px; /* Tamaño de fuente deseado */
  font-weight: bold; /* Opcional, para hacerlo más destacado */
  margin-right: 30px; /* Espacio entre el icono y el nombre */
}

.add-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px; /* Ancho del círculo */
  height: 25px; /* Altura del círculo */
  border-radius: 50%; /* Para crear la forma de círculo */
  background-color: white;  /* Color de fondo del círculo */
  color:black; /* Color del signo "+" en el círculo */
  font-size: 25px; /* Tamaño del signo "+" */

}