
/**
 * Responsive
 */
@media screen and (max-width: 1250px) {
	
	.inner {
		width: 95%;
	}	
}

/* Responsive buttons para facturas.
   El texto del botón se muestra SIEMPRE: en móvil un botón que es sólo un
   ícono no se entiende, y hay dos acciones muy distintas (descargar y pagar). */
.btn-group-responsive {
	display: block;
	width: 100%;
}

.btn-responsive {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 10px 15px;
	font-size: 14px;
	line-height: 1.4;
	margin-bottom: 8px;
	white-space: nowrap;
}

.btn-responsive:last-child {
	margin-bottom: 0;
}

.btn-text {
	display: inline;
}

/* El ícono va en SVG y hereda el color del texto del botón */
.btn-responsive .btn-icon {
	width: 16px;
	height: 16px;
	vertical-align: -3px;
	margin-right: 4px;
}

/* Media queries para diferentes tamaños de pantalla */
@media screen and (max-width: 768px) {
	.factura-item {
		margin-bottom: 15px !important;
	}
}

@media screen and (max-width: 480px) {
	.factura-item {
		margin-bottom: 10px !important;
	}
}

@media screen and (min-width: 769px) {
	.btn-group-responsive {
		display: inline-block;
		width: auto;
	}

	.btn-responsive {
		display: inline-block;
		width: auto;
		margin-right: 5px;
		margin-bottom: 0;
	}

	.btn-responsive:last-child {
		margin-right: 0;
	}
}

/* Responsive grid para facturas */
@media screen and (max-width: 768px) {
	.row-fluid [class*="span"] {
		width: 100% !important;
		float: none !important;
		margin-left: 0 !important;
		margin-bottom: 15px !important;
	}
	
	.factura-item .panel {
		min-height: auto !important;
	}
}

@media screen and (max-width: 480px) {
	.row-fluid [class*="span"] {
		margin-bottom: 10px !important;
	}
	
	.factura-item .panel {
		padding: 10px !important;
	}
	
	.factura-item h4 {
		font-size: 16px !important;
		margin-bottom: 10px !important;
	}
	
	.factura-item p {
		font-size: 13px !important;
		margin-bottom: 5px !important;
	}
}

