/* Hide by default */
.o_from_pos_visible {
    display: none !important; 
}

/* Make visible if the body has class 'from-pos-session' */
body.from-pos-session .o_from_pos_visible {
    display: block !important; 
}

/* Hide if body has class 'from-pos-session' */
.o_hide_if_from_pos_active {
    display: block !important; 
    color: red !important;
}

body.from-pos-session .o_hide_if_from_pos_active {
    display: none !important;
}