body {
	padding-top: 40px;
}

select {
	color: rgba(0,0,0,0.7) !important;
	border-radius: 25px !important;
	border: 1px solid rgba(0,0,0,0.3) !important;
	padding: 4px 10px !important;
	height: 40px !important;
	background: #fff url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 94% 50%
 !important;
}

input, textarea {
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,0.3);
}

input {
	color: rgba(0,0,0,0.7);
	padding-left: 15px !important;
	padding-right: 15px !important;
}

input[type="file"] {
	border: none;
	border-radius: 0;
}

input[type="date"] {
	padding: 4px 10px !important;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,0.3);
}

input[type="submit"], button[type="submit"] {
	padding: 8px 20px !important;
	border-radius: 20px;
	border: 1px solid rgba(0,0,0,0.7);
}

.wrap {
	height: 100% !important;
}

#thelogo img {
	height: 120px !important;
	width: auto;
}

#containerfooter {
	position: fixed;
	bottom: 0px;
	margin-top: 120px;
	width: 100% !important;
	background-color: #333 !important;
	color: white !important;
	padding-top: 0 !important;
	height: 40px !important;
}

#topbar {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.footercredits {
	padding-top: 8px !important;
}

.topbarmenu .sf-menu ul {
	z-index: 100000 !important;
}

.tabla_productos {
	border-collapse: collapse; 
    border: 1px solid rgba(0,0,0,0.3); 
    border-radius: 20px; 
    overflow: hidden; 
    outline: 1px solid rgba(0,0,0,0.3); 
}

.tabla_productos a {
	text-decoration: underline;
	font-weight: bold;
}

.tabla_descuentos td{
	padding: 2px !important;
	line-height: 12px !important;
	vertical-align: middle !important;
	font-size: 13px;
}

.tabla_precios {
	border-collapse: collapse; /* Elimina el espacio entre celdas */
}

.tabla_precios td{
	padding: 5px 5px !important;
	line-height: 12px !important;
	vertical-align: middle !important;
	font-size: 13px;
}

.tabla_precio_descuento {
	background-color: rgba(144,238,144,0.5);
	font-weight: bold;
	overflow: hidden;
}

.tabla_precio_descuento td:first-child, .tabla_precio_descuento_2 td:first-child {
	border-top-left-radius: 15px; /* Borde redondeado izquierdo superior */
	border-bottom-left-radius: 15px; /* Borde redondeado izquierdo inferior */

}

.tabla_precio_descuento td:last-child, .tabla_precio_descuento_2 td:last-child {
	border-top-right-radius: 15px; /* Borde redondeado derecho superior */
	border-bottom-right-radius: 15px; /* Borde redondeado derecho inferior */

}

.tabla_ofertas_color {
	font-weight: bold;
}

.descripcion_credito_tabla {
	background-color: yellow;
	padding: 2px;
}

.cantidad_pedido, .cantidad_carrito, .cantidad_pedido_detalle, .cantidad_pedido_proveedores, .descuento_pedido_proveedores, .descuento_carrito_proveedores, .cantidad_carrito_proveedores, .cantidad_pedido_vendedores, .descuento_pedido_vendedores, .cantidad_carrito_vendedores, .descuento_carrito_vendedores {
	text-align: center;
	width:5em;
}

.fwl_button_1 {
	padding: 10px 20px;
	color: white;
	background-color: #2d5c88;
	border: 1px solid #2d5c88;
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
	border-radius: 20px;
}

.fwl_button_1:hover {
	color: #2d5c88;
	background-color: #fff;
}

.fwl_button_2 {
	padding: 10px 20px;
	color: #2d5c88;
	background-color: #fff;
	border: 1px solid #2d5c88;
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
	font-weight: bold;
	margin-right: 20px;
	border-radius: 20px;
}

.fwl_button_2:hover {
	color: #fff;
	background-color: #2d5c88;
}

.fwl_button_3 {
	padding: 4px 20px;
	color: #333;
	background-color: lightgreen;
	border: 1px solid #666;
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	border-radius: 20px;
}

.fwl_button_3:hover {
	background-color: #fff;
	color: #333;
}

.fwl_button_4 {
	padding: 10px 20px;
	color: rgba(45, 92, 136, 1);
	background-color: #fff;
	border: 1px solid rgba(45, 92, 136, 1);
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
	border-radius: 20px;
	margin: 10px;
	font-weight: bold;
	line-height: 18px;
	vertical-align: middle;
}

.fwl_button_4 i {
	font-size: 18px;
}

.fwl_button_4:hover {
	color: rgba(45, 92, 136, 0.7);
	border: 1px solid rgba(45, 92, 136, 0.7);
	background-color: #fff;
}

.floating-button-1 {
	position: fixed;
	top: 90px;
	right: 20px;
	z-index: 100000;
	padding: 20px 30px;
	color: white;
	background-color: rgba(45, 92, 136, 0.9);
	border: 1px solid #2d5c88;
	display: inline-block;
	text-transform: uppercase;
	font-size: 16px;
	box-shadow: #999 2px 2px 10px;
	border-radius: 30px;
}

.floating-button-1:hover {
	color: #2d5c88;
	background-color: #fff;
}

h2 {
	font-size: 20px !important;
	margin-bottom: 0 !important;
}

h3 {
	font-size: 16px !important;
	margin-bottom: 0 !important;
}

.limite_credito {
	margin-bottom: 10px;
	display: block;
}

#total_carrito_1 {
	font-size: 20px;
	padding: 10px 25px;
	display: inline-block;
	z-index: 1000;
	box-shadow:	5px 5px 5px rgba(0,0,0,0.2);
	font-weight: bold;
	margin-top: 0;
    position: fixed;
    bottom: 0;
	right: 20px;
	border-radius: 30px;
}

.limite_credito_excedido {
	color: rgba(255, 29, 22, 1);
	text-align: left !important;
	padding-top: 20px;
}

.limite_credito_excedido_2 {
	background-color: rgba(255, 29, 22, 1);
	color: white;
}

#user_login.input {
	font-size: 14px !important;
}

.product_name {
	font-weight: bold;
	font-size: 13px;
}

.borrar_del_carrito {
	font-size: 18px;
}

.cuadricula_imagen {
	height: 200px;
	padding: 0 10px 10px;

}

.cuadricula-img-container {
	width: 100%; 
	height: 180px; 
	margin-top: 10px; 
	display: flex; 
	justify-content: center; 
	align-items: center;
}

.cuadricula_imagen img {
	max-height: 178px;
}

.cuadricula_nombre {
	padding: 0 10px;
	font-weight: bold;
}

.cuadricula_fabricante {
	padding: 0 10px 10px;
}

.cuadricula_precios {
	padding: 0 10px 0 10px;
}

.cuadricula_detalles {
	padding: 10px;
}

.cuadricula_product {
	border: 2px solid rgba(0,0,0,0.3);
	min-height: 490px;
	padding-bottom: 20px;
	position: relative;
	border-radius: 20px;
}

.cuadricula_product_movil {
	border: 2px solid rgba(0,0,0,0.3);
	padding-bottom: 20px;
	position: relative;
	border-radius: 20px;
}

.cuadricula_product a, .cuadricula_product_movil a {
	text-decoration: underline;
	font-weight: bold;
}

.cuadricula_nombre, .cuadricula_fabricante, .cuadricula_principio {
	margin-bottom: 5px;
}

.cuadricula_principio {
	font-size: 12px;
}

.cuadricula_precios, .cuadricula_cantidad, .cuadricula_detalles {
	margin-bottom: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

.cuadricula_cantidad {
	position: absolute;
	width: 100%;
	bottom: 20px;
}

.productos-destacados {
	font-size: 12px;
}

.productos-destacados .cuadricula_product {
	border: 2px solid rgba(0,0,0,0.3);
	min-height: 390px;
	padding-bottom: 20px;
	position: relative;
	border-radius: 20px;
}

.productos-destacados .cuadricula_imagen  {
	height: 150px;
	padding: 0 10px 10px;

}

.productos-destacados .cuadricula-img-container {
	width: 100%; 
	height: 160px; 
	margin-top: 0; 
	display: flex; 
	justify-content: center; 
	align-items: center;
}

.productos-destacados .cuadricula_imagen img {
	max-height: 120px;
	max-width: 160px;
}

.productos-destacados .cuadricula_principio {
	font-size: 10px;
}

.productos-destacados .tabla_precios td{
	padding: 5px 5px !important;
	line-height: 10px !important;
	vertical-align: middle !important;
	font-size: 12px;
}

.productos-destacados .cuadricula_cantidad {
	position: absolute;
	width: 100%;
	bottom: 0px;
}

a.inicio-button {
	width: 100%;
	max-width: 250px; 
	border: 4px solid #6c8dab; 
	display: inline-block; 
	padding: 10px; 
	border-radius: 10px;
	color: #6c8dab;
}

a.inicio-button:hover {
	border: 4px solid #2d5c88;
	color: #2d5c88;
}


/* MODAL */

#modal_producto {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	border: 2px solid #000;
}

#modal-product-box {
	background-color: white;	
	box-shadow:	5px 5px 5px rgba(0,0,0,0.6);
	position: absolute;
      top: 50%;
      left: 50%;
      margin-right: -50%;
      transform: translate(-50%, -50%);
	padding: 30px;
	width: 900px;
}

#modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 26px;
	cursor: pointer;
}

.modal_nombre {
	font-size: 18px;
	font-weight: bold;
	text-align: left;
}

.modal_fabricante {
	font-weight: bold;
	font-size: 16px;
	margin-top: 10px;
}

#total_carrito_2 {
	position: absolute;
	bottom: 50px;
	font-size: 20px;
	padding: 10px 25px;
	display: block;
	z-index: 1000;
	box-shadow:	5px 5px 5px rgba(0,0,0,0.2);
	font-weight: bold;
}

#login #nav {
    display: block !important;
}

.form-filters {
	border: 1px solid rgba(0,0,0,0.1); 
	line-height: 1.2; 
	height: 40px; 
	padding: 0 18px 0 8px;
}

.product-cell {
	display: flex;
	align-items: flex-start; /* Centra verticalmente el contenedor de datos y el botón */
	gap: 15px; /* Espacio entre el contenedor de datos y el botón */
}

/* Contenedor de todos los datos (bloque vertical, respeta <br> y saltos de línea) */
.product-info {
	flex: 1; /* Ocupa todo el espacio disponible */
	line-height: 1.4; /* Mejora legibilidad */
}

/* Botón: no se expande, se mantiene fijo y alineado a la derecha */
.fwl_button_1.mas_detalles_button {
	flex-shrink: 0;
	white-space: nowrap; /* Evita que el texto del botón se rompa */
}

/* BANNERS */

.login-banner .slick-dots li button {
	height: 60px !important;
}

.login-banner .slick-dots li button::before {
	font-size: 30px !important; 
}


#modal_banner {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	border: 2px solid #000;
}

#modal-banner-box {
	box-shadow:	5px 5px 5px rgba(0,0,0,0.6);
	position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	max-width: 40%;
}

#banner-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 12px;
	cursor: pointer;
	color: white;
	text-shadow: 2px 2px #333;
	z-index: 1001;
}

nav.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

nav.pagination ul {
	list-style: none;
	padding: 0;
}

nav.pagination li {
	display: inline-block;
	margin-right: 10px;
}

.pagination a {
	display: inline-block;
	padding: 5px 10px;
	text-decoration: none;
	margin: 0 5px;
}

.pagination a.current, nav.pagination .active a {
	background-color: #ccc;
}

/* REPORTES */

.report_totals td {
	padding: 0 10px 0 0; 
	margin: 0;
}

.lista-resultados {
	font-size: 12px;
}

.fwl-form-container {
	border: 1px solid rgba(0,0,0,0.3); 
	padding: 15px; 
	border-radius: 20px;
}

#user_login.input, .login form .input, .login form {
	border-radius: 20px;
}

#user_login.input, .login form .input, .login form {
	padding-left: 20px !important;
}

/* SLIDESHOW DE PRODUCTOS */

.slideshow-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
}

.slideshow-track {
	display: flex;
	width: fit-content;
}

.slide {
	flex: 0 0 auto;
	width: 300px;
	box-sizing: border-box;
	padding: 0 10px;
}

/* Estilos para las flechas de navegación */
.slideshow-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	cursor: pointer;
	z-index: 10;
	transition: background-color 0.3s ease;
}

.slideshow-arrow:hover {
	background-color: rgba(0, 0, 0, 0.6);
}

.slideshow-arrow-left {
	left: 10px;
}

.slideshow-arrow-right {
	right: 10px;
}

.slideshow-arrow i {
	font-size: 18px;
}

.condiciones_table td {
	font-weight: bold;
	padding: 2px 4px;
	line-height: 12px;
	vertical-align: top;
}

