css select only first level code example
Example 1: select first div css
#content div:first-child {
/*css*/
}
Example 2: select first div css
#content_id div.class_name:first-child {
/*your style*/
}
#content div:first-child {
/*css*/
}
#content_id div.class_name:first-child {
/*your style*/
}