Croatia is in Central and Southeast Europe, bordering Hungary to the northeast, Serbia to the east, Bosnia and Herzegovina to the south-east, Montenegro to the south-east, the Adriatic Sea to the south-west and Slovenia to the northwest. It lies mostly between latitudes 42° and 47° N and longitudes 13° and 20° E. Part of the territory in the extreme south surrounding Dubrovnik is a practical exclave connected to the rest of the mainland by territorial waters, but separated on land by a short coastline strip belonging to Bosnia and Herzegovina around Neum. Croatia is divided into 21 counties.