\begin{table}%t3
%\centering
\par
  % Cambia el alto de la fila, en porcentaje
\caption{\label{TabPTPvsQ}Median values of rotational period for objects with ($\Delta(I-K)~+)$ and without ($\Delta(I-K)~-)$ IR excess.}
%\addtolength{\tabcolsep}{0.2pt}
%\addtolength{\tabcolsep}{0.1pt}
\addtolength{\tabcolsep}{0.0pt}
\begin{tabular}{c|ccc|ccc|ccc|ccc|ccc|ccc} 
\hline 
\hline
& \multicolumn{6}{c|}{$R<R_{\rm cluster}$} & \multicolumn{6}{c}{$R>R_{\rm cluster}$}& \multicolumn{6}{|c}{Whole WFI field}\\
\hline
& \multicolumn{3}{c|}{$\Delta(I-K)+$} & \multicolumn{3}{c|}{$\Delta(I-K)-$}& \multicolumn{3}{c|}{$\Delta(I-K)+$} & \multicolumn{3}{c|}{$\Delta(I-K)-$}& \multicolumn{3}{c|}{$\Delta(I-K)+$} & \multicolumn{3}{|c}{$\Delta(I-K)-$}\\
\hline
Mass bins\tablefootmark{a}  & A & B& C & A & B& C & A & B& C & A & B& C& A & B& C & A & B& C \\  
\hline
$N$ &13 & 56 &8 & 49 & 120 & 8 & 14& 65 & 25 & 36 & 204 & 40 & 27 & 121 & 33 & 85 & 324 & 48 \\
%\hline
$\langle P \rangle$ [days] &6.3 & 4.7& 1.5 & 4.4 & 2.9 & 1.7 & 6.4 &3.8 &1.7& 3.8 & 2.0&1.6 &5.8 &4.5 &1.7&4.2&2.5&1.7\\
\hline
\end{tabular}
\tablefoot{\tablefoottext{a}{Mass bins as defined in Sect.~3: A corresponds to the bright bin containing stars with $M\geq 0.4~M_\odot$, B to the intermediate bin with $0.4<M <0.075~M_\odot$, and C to the faint bin in which all objects have $\textit{M}<0.075~M_\odot$.}}
\end{table}