We are traveling from Miami to Barcelona with a layover and change of airlines in Madrid of two hours. I'm assuming we will be clearing customs in Madrid and I'm concerned that two hours might not be enough for customs and then finding our next flight. However, maybe customs does not occur until Barcelona. Does anyone know the logistics and if two hours is enough in Madrid if we clear customs there? Thank you.