.o_document_layout {
    display: flex;
    height: 100%;
    .o_content{
        height: inherit;
        .o_form_renderer {
            height: 100%;
            .o_group {
                display: flex;
                width: auto !important;
                .o_document_layout_company {
                    flex: 5;

                    img {
                        max-height: 100px;
                    }
                    .o_custom_colors {
                        .o-checkbox {
                            @include o-position-absolute(0, 0, 0, 0);
                            width: 100%;
                        }
                    }

                    select.o_input {
                        height: 25px;
                    }
                }
                .o_preview {
                    .preview_document_layout {
                        .o_preview_iframe {
                            padding: 0;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 620px) {
    .o_document_layout .o_group {
        flex-direction: column;
    }
}
