Hiding fields a form in via CSS [closed]

nth-child depends on the element itself, not the children of an element. So the following CSS means: “Hide an element with the class input-group if it is the second child of an element with the class fc-calc-result-wraps”.

.fc-calc-result-wraps > .input-group:nth-child(2) {
    display: none;
}

error code: 523