<style type="text/css">

    .company_letter_head img {
        height: {!! $company_letter_head->height ?? '' !!}px !important;
        width: {!! $company_letter_head->width ?? '' !!}px !important;
        {!! isset($company_letter_head->top_margin) && $company_letter_head->top_margin != '' ? 'margin-top:' . $company_letter_head->top_margin . 'px !important;' : '' !!}
        {!! isset($company_letter_head->bottom_margin) && $company_letter_head->bottom_margin != '' ? 'margin-bottom:' . $company_letter_head->bottom_margin . 'px !important;' : '' !!}
        {!! isset($company_letter_head->left_margin) && $company_letter_head->left_margin != '' ? 'margin-left:' . $company_letter_head->left_margin . 'px !important;' : '' !!}
        {!! isset($company_letter_head->right_margin) && $company_letter_head->right_margin != '' ? 'margin-right:' . $company_letter_head->right_margin . 'px !important;' : '' !!}
        {!! isset($company_letter_head->top_padding) && $company_letter_head->top_padding != '' ? 'padding-top:' . $company_letter_head->top_padding . 'px !important;' : '' !!}
        {!! isset($company_letter_head->bottom_padding) && $company_letter_head->bottom_padding != '' ? 'padding-bottom:' . $company_letter_head->bottom_padding . 'px !important;' : '' !!}
        {!! isset($company_letter_head->left_padding) && $company_letter_head->left_padding != '' ? 'padding-left:' . $company_letter_head->left_padding . 'px !important;' : '' !!}
        {!! isset($company_letter_head->right_padding) && $company_letter_head->right_padding != '' ? 'padding-right:' . $company_letter_head->right_padding . 'px !important;' : '' !!}
    }
    .company_letter_head {
        height: {!! $company_letter_head->height ?? '' !!}px !important;
    }
</style>
<div class="row mx-0" id="header" style="">
    <div class="col-12 gx-1 letter-head-logo my-auto company_letter_head">
        @if (isset($company_letter_head->image_url) && $company_letter_head->image_url != '')
            <img class="img-thumbnail border-0 letter_head_img report-body" src="{!! getTempUrl($company_letter_head->image_url) !!}" alt="Logo">
        @else
            <style type="text/css">
            </style>
        @endif
    </div>
</div>