apply main styles