Microscopic study of the shell structure evolution in isotopes of light to middle mass range nuclides