/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
  width: 70%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 30%;
  padding-left: 1rem;
}



/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
 
}

.catego{
  font-size: smaller;
}

.fila-blog{
  display: flex; 
  flex-direction: row; 
  align-items: center;
      margin: 0;
    padding: 0;
    width: 100%;
  

}

.fila-cate{
  
  padding-top: .6rem;
  margin-top: 1rem;
  border-top: 0.05rem solid rgba(0,0,0,0.3); 

}

/* Add a card effect for articles */
.card {
  background-color: whitesmoke;
  /*border: rgb(0, 59, 116) solid 0.1rem;*/
  padding: 20px;
  margin-top: 10px;
  color: black;
  border-radius: 5px;
  
}



article{
  -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.5);
  box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.5);
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.description{
  font-size: small;
  
}

.texto-oculto {
  display: none; /* Esto ocultará el texto inicialmente */
}

.cardazul{
  border: 0rem;
  background-color:  rgb(0, 59, 116);
  color: white;
  text-align: ;
  padding: 20px;
    margin-top: 20px;
    display: flex; 
    flex-direction: column; 
    align-items: center;"
}

/* Estilos para el contenedor de opciones de compartir */
.opciones-compartir {
  display: none; /* Ocultar por defecto */
  position: absolute; /* Posicionar encima del artículo */
  background-color: #fff; /* Fondo blanco */
  border: 1px solid #ddd; /* Borde gris claro */
  border-radius: 5px; /* Bordes redondeados */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra para profundidad */
  padding: 10px; /* Espaciado interno */
  z-index: 1000; /* Asegurarse de que esté encima de otros elementos */
  top: 50px; /* Ajusta según sea necesario */
  left: 0; /* Ajusta según sea necesario */
}

/* Mostrar el contenedor cuando se activa */
.opciones-compartir.mostrar {
  display: block;
}

/* Estilos para los botones dentro del contenedor de opciones de compartir */
.opciones-compartir button {
  display: block;
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: none;
  border-radius: 3px;
  background-color: #f0f0f0; /* Color de fondo */
  cursor: pointer;
  text-align: left; /* Alinear texto a la izquierda */
}

.opciones-compartir button:hover {
  background-color: #e0e0e0; /* Color de fondo en hover */
}

/* Asegúrate de que el botón de compartir esté posicionado correctamente */
.boton-social.compartir {
  position: relative; /* Necesario para que el contenedor de opciones se posicione relativo al botón */
}

.ver-mas {
	text-decoration: none;
	/*color: rgb(0, 59, 116);*/
	font-weight: bold;
	border: none;
	background-color: transparent;
  font-size: small;
  }

  .tituloblog
{
	font-family: 'Open Sans';
  color: rgb(0, 59, 116);
}

/*imagenes modal*/

/* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 25%;
  max-width: 700px;
}



/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.boton-social {
  background-color: rgba(36, 55, 72, 1); /* Puedes cambiar el color aquí */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: small;
  
}

.contador {
  font-size: 14px;
  color: white;
  margin-left: 5px;
}

#myBtnContainer :first-child{
  margin-top: 0;
}

#myBtnContainer :last-child{
  margin-bottom: 0;
}

.btncate {
  width: 100%;
  font-family: 'Open Sans';
	font-size: .8rem;
	font-weight: 400;
	padding: 0.5rem 0.6rem;
	background: rgba(36, 55, 72, 1);
	color: rgb(230, 230, 230);
	border-radius: 0.33rem;
	cursor: pointer;
	-webkit-transition: all 0.1s 0.1s ease;
	-o-transition: all 0.1s 0.1s ease;
	transition: all 0.1s 0.1s ease;
	text-align: center;
	text-decoration: none;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.show {
  display: block; /* O el estilo que necesites para mostrar */
}
.filterDiv {
  display: block; /* Oculta por defecto */
}
/*.boton-social:hover .contador {
  color: #333; }*/

#botonera {
  
  align-content: center;
  margin-left: auto;
  text-align: right; /* Alinea el contenido del contenedor a la derecha */
 
}



@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {
    width: 100%;
    padding: 0;
  }
  

  .fila-blog{
    
    flex-direction: column; 
    
  }

}