<template>
    <ul class="sc-partner-cz-logo brand-list list-inline">
        <li class="brand-parent" v-if="reportProvider === '3'" >
            <a class="brand-link" href="https://www.smartcredit.com">
                <img :src="`${img_url}`" alt="SmartCredit" class="brand-logo">
            </a>
        </li>
        <li class="hidden-xs" v-if="reportProvider === '3'" ><div class="separator"></div></li>
        <li class="partner-text hidden-xs" v-if="reportProvider === '3'" ><p>Partnered<br>with</p></li>
        <li class="brand-parent cobrand-parent hidden-xs">
            <a class="brand-link" data-trigger="focus" tabindex="0" data-original-title="" title="">
                <img src="https://cdn.consumerdirect.com/live/cobrand/11885/logo-uwq6q8hx.png" alt="" class="brand-logo" data-pagespeed-url-hash="4237170943" data-pagespeed-onload="pagespeed.CriticalImages.checkImageForCriticality(this);" onload="var elem=this;if (this==window) elem=document.body;elem.setAttribute('data-pagespeed-loaded', 1)" data-pagespeed-loaded="1">
            </a>
        </li>
        <li class="partner-text hidden-xs" v-if="reportProvider === '1'" ><p> Powerful Software System </p></li>
    </ul>
</template>

<script>
export default {
    name: "sc_partner_cz_logo",
    data(){
        return {
            reportProvider: REPORT_PROVIDER,
            image_base_url: APP_URL,
            img_url : APP_URL+'/images/'+APP_NAME+'_logo.png',
            company_Name:COMPANY_NAME
        }
    }
}
</script>

<style scoped>
    @media (min-width: 768px) {
        .sc-partner-cz-logo .brand-list {
            margin-left: -10px;
        }

        .sc-partner-cz-logo .separator {
            border-right: 1px solid #ccc;
            display: inline-block;
            height: 36px;
            margin: 10px 0;
        }
    }

    .sc-partner-cz-logo{
        display: inherit;
        list-style: none;
        margin:0 auto;
    }

    .sc-partner-cz-logo .brand-list {
        margin: 0;
    }

    .sc-partner-cz-logo .list-inline {
        padding-left: 0;
        list-style: none;
        margin-left: -5px;
    }

    .sc-partner-cz-logo .brand-parent {
        height: 56px;
        position: relative;
        width: 187px;
        transform-style: preserve-3d;
    }

    .sc-partner-cz-logo .brand-link {
        cursor: pointer;
        display: block;
        position: absolute;
        top: 50%;
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        -o-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }

    .sc-partner-cz-logo .brand-logo {
        display: inline;
        height: auto;
        width: 167px;
    }

    .sc-partner-cz-logo.brand-list li {
        padding: 0 10px;
    }

    .sc-partner-cz-logo.brand-list .partner-text {
        padding-right: 0;
        vertical-align: top;
    }

    .sc-partner-cz-logo.brand-list .cobrand-parent {
        padding-left: 0;
    }
    .sc-partner-cz-logo.brand-list li {
        padding: 0 10px;
    }
    .sc-partner-cz-logo .brand-parent {
        height: 56px;
        position: relative;
        width: 187px;
        transform-style: preserve-3d;
    }
    .sc-partner-cz-logo.list-inline > li {
        padding-right: 5px;
        padding-left: 5px;
    }

    .sc-partner-cz-logo.brand-list .partner-text {
        padding-right: 0;
        vertical-align: top;
    }

    .sc-partner-cz-logo .partner-text p {
        font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
        font-size: 65% !important;
        font-style: italic !important;
        line-height: 10px !important;
        margin-bottom: 0 !important;
        padding: 17px 0 !important;
        padding-right: 10px !important;
        text-align: left !important;
    }

    .sc-partner-cz-logo.list-inline > li {
        display: inline-block;
        padding-right: 5px;
        padding-left: 5px;
    }

    .sc-partner-cz-logo .separator {
        border-bottom: 1px solid #E9E9E9;
    }
</style>
