CSS help... Expected RBRACE

I’m getting an expected RBRACE error on this code, it’s not working, but I can’t work out what is missing!

.PanelImageCTAbutton:hover {
background-color: #3C5D7D; /* default blue */
color: #ffffff; /* default white */
}

Can anyone help?

Sorry, ignore, it was the class above that was missing it.