
                // Simplified color-contrast function to replicate bootstrap in report preview.
                @function preview-color-contrast($background) {
                    @if (lightness($background) > 50) {
                        @return black;
                    } @else {
                        @return white;
                    }
                }

                .o_company_2_layout {
                    font-family: Raleway;

                    h2 {
                        color: #af0000;
                    }

                    #informations strong {
                        color: #af907f;
                    }

                    .o_total strong {
                        color: #af0000;
                    }

                    .o_company_tagline {
                        color: #af0000
                    }
            }
                // Simplified color-contrast function to replicate bootstrap in report preview.
                @function preview-color-contrast($background) {
                    @if (lightness($background) > 50) {
                        @return black;
                    } @else {
                        @return white;
                    }
                }

                .o_company_3_layout {
                    font-family: Open_Sans;

                    h2 {
                        color: #af191f;
                    }

                    #informations strong {
                        color: #020101;
                    }

                    .o_total strong {
                        color: #af191f;
                    }

                    .o_company_tagline {
                        color: #af191f
                    }
                &.o_report_layout_boxed {
                    #total .o_total td {
                        background-color: #af191f;

                        strong {
                            color: preview-color-contrast(#af191f);
                        }
                    }
                }
            }
                // Simplified color-contrast function to replicate bootstrap in report preview.
                @function preview-color-contrast($background) {
                    @if (lightness($background) > 50) {
                        @return black;
                    } @else {
                        @return white;
                    }
                }

                .o_company_1_layout {
                    font-family: Lato;

                    h2 {
                        color: #af191f;
                    }

                    #informations strong {
                        color: #020101;
                    }

                    .o_total strong {
                        color: #af191f;
                    }

                    .o_company_tagline {
                        color: #af191f
                    }
                &.o_report_layout_boxed {
                    #total .o_total td {
                        background-color: #af191f;

                        strong {
                            color: preview-color-contrast(#af191f);
                        }
                    }
                }
            }