.boton_enviar_flores_difunto{
	position: inherit;
	color: rgba(255, 255, 255, 1);
	background-color:var(--primary-color);
	border: 1px solid transparent;
  	display: inline-block;
  	font-size: .87em;
  	padding: 7px 15px;
  	text-decoration: none;
	border-radius: 8px;
	margin: .5em;
}

#tabla-scrap-view tr:nth-child(even){
	background-color: #f2f2f2
}
/*
#zona_scrapeo {
	/*max-height: 325px; /* Establece la altura máxima deseada para el tbody */
	/*position: relative; /* Establece la posición relativa */
	/*overflow-y: scroll; /* Agrega la funcionalidad de scroll */
	/*
}*/

#tabla-scrap-view thead {
	position: sticky;
	top: 0;
	background-color: #f0f0f0; /* Cambia el color de fondo según tus preferencias */
}

#tabla-scrap-view  {
	width: 100% !important;
    /* EL CODIGO DE DEBAJO PERTENECE A LOS CAMBIOS DE TABLAS A CARTAS */
    display: grid; 
}
/*poner borde en la ultima fila
#tabla-scrap-view tbody {
	border-bottom: 1000px solid #000;
}
*/
/*OCULTAR LA BARRA DE SCROLLBAR DE LA TABLA DE DIFUNTOS*/
/* OCULTAR PARA Chrome, Safari Y Opera */
#zona_scrapeo::-webkit-scrollbar {
    display: none;
}
/* OCULTAR PARA IE, Edge Y Firefox */
#zona_scrapeo {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}
.boton_enviar_flores_difunto_deshabilitado {
	position: inherit;
	color: rgba(255, 255, 255, 1);
	background-color: #808080;
    pointer-events: none;
	border: 1px solid transparent;
  	display: inline-block;
  	font-size: .87em;
  	padding: 7px 15px;
  	text-decoration: none;
	border-radius: 8px;
}

.pagination-button{
	color: rgba(255, 255, 255, 1);
	background-color:#48C9B0;
	text-decoration: none;
	border-radius: 8px;
	/* EL CODIGO DE DEBAJO PERTENECE A LOS CAMBIOS DE TABLAS A CARTAS */
	margin-bottom: 10px;
	margin-top: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 30px;
	padding-left: 30px;
	font-size: 20px;

}
.paginacion-activo{
	color: rgba(255, 255, 255, 1);
	background-color:#43A047 !important;
	border-radius: 8px;
	text-decoration: none;
	pointer-events: none;
}

/* LE DAMOS UN DISPLAY GRID AL CONTENEDOR PARA COLOCAR 5 DIVS MAXIMOS POR FILA */
.carta-body{
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    grid-gap: 20px;
    justify-content: space-between;
}


/* LE DAMOS ESTILOS A CADA CARTA */
.carta-difunto-ciudad{
    border: 2px #DEE2E6 solid;
    border-radius: 0.5em;
    margin-bottom: 5px;
    height: auto;
    display: flex;
}

/* LE DAMOS UN PADDING A LOS DATOS PARA QUE TENGA SEPARACION CON EL BORDE */
.carta-difunto-datos{
	display: flex;
	flex-direction: column;
    padding: 10px;
    width: 100%;
}

.carta-difunto-datos > div{
    margin-bottom: 12px;
}

/* COLOCAMOS EL BOTON DE ENVIAR FLORES A LA DERECHA DEL DIV */
.carta-footer{
    display: flex;
    justify-content: center;
	margin-top: auto;
}

.carta-footer button{
    margin-right: 0;
    margin-bottom: 0 !important;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 0;
    padding-bottom: 0;
	background-color: #43A047;
}

.carta-footer button:hover{
    background-color: #66a766;
}

.carta-header h3{
    text-transform: uppercase;
	font-family: 'EB Garamond';
}

/* Contenedor centrado y responsive */
#pagination-scrap {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
	padding: 10px;
}

/* Botones cuadrados */
#pagination-scrap button {
	/*width: 45px;*/
	/*height: 45px;*/
	font-size: 16px;
	border: none;
	border-radius: 8px;
	background-color: #48c9b0;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s;
}

/* Botón activo */
#pagination-scrap button.paginacion-activo {
	background-color: #27ae60;
}

.pagination-button:hover{
	background-color: #287767;
}

/* ESTILOS PARA LA RECARGA DE LA PAGINACIÓN */
/* OVERLAY PARA CUBRIR TODA LA PANTALLA */
#pagination-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ESTILOS DEL SPINNER DE CARGA */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ANIMACION PARA EL SPINNER */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.html_datos_difuntos_div{
	
	padding: 10px;
	border: 1px solid black;
	
}

.html_datos_difuntos_p{
	
	text-align: justify;
	
}

#aviso_con_texto{
	display: block;
	background-color: #fffad3;
    border-radius: 5px !important;
    color: #363636;
	margin-top: 0.7em;
}

#aviso_con_texto p{
	font-size: .85em !important;
    font-weight: 700;
    line-height: 1.2;
    padding: 1.2% 2% 1%;
    text-align: justify;
}

/* MEDIAS QUERYS PARA EL TAMAÑO DE LAS CARDS */
@media (min-width: 1220px){
	.carta-difunto-ciudad:nth-last-child(1):nth-child(3n+1){
		grid-column: 2;
	}
}

@media (max-width: 1220px){
	.carta-body{
		grid-template-columns: repeat(2, 2fr) !important;
	}
}

@media only screen and (max-width: 756px) {
	#zona_scrapeo div .carta-body .carta-difunto-ciudad .carta-difunto-datos>div {
		font-size: 0.9em;
	}
}

@media only screen and (max-width: 690px) {
	#zona_scrapeo div .carta-body .carta-difunto-ciudad .carta-difunto-datos>div {
		font-size: 0.8em;
	}
}

@media (max-width: 676px){
	.carta-body{
		grid-template-columns: repeat(1, 2fr) !important;
	}
}

@media (max-width: 600px) {
	#pagination-scrap {
		gap: 6px;
	}

	#pagination-scrap button {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}
}

@media only screen and (max-width: 382px) {
	#zona_scrapeo .carta-body .carta-difunto-ciudad .carta-difunto-datos>div {
		font-size: 0.9em !important;
	}
}

@media only screen and (max-width: 349px) {
	#zona_scrapeo .carta-body .carta-difunto-ciudad .carta-difunto-datos>div {
		font-size: 0.8em !important;
	}
}
