<link href="{$template_shop_path}/visual/modules/common/type-pic/css/style.css" rel="stylesheet">

<div class="type-pic type-pic-$_id">
{loop plugins::typeinfo($_typeid) $type}
<a href="{$type['url']}" title="{$type['title']}">
    <div class="type-pic-text">
    <h2 cmseasy-id="{$type['typeid']}" cmseasy-table="type" cmseasy-field="typename" class="cmseasyedit ">
            {$type['typename']}
        </h2>
        <p cmseasy-id="{$type['typeid']}" cmseasy-table="type" cmseasy-field="subtitle" class="cmseasyedit ">
            {$type['subtitle']}
        </p>

    </div>
        <img src="{$type['image']}" alt="{$type['typename']}" cmseasy-id="$_typeid" cmseasy-table="type" cmseasy-field="image" class="img-responsive cmseasyeditimg" />
</a>
{/loop}
</div>

<style type="text/css">
    .type-pic-$_id {
        height: $_height;
        background:$_background-color;
    }
    .type-pic-$_id:hover {
        background:$_background-hover-color;
    }
    .type-pic-$_id h2 {
        font-size:$_title-size;
        color:$_title-color;
    }

    .type-pic-$_id h2:hover {
        color:$_title-hover-color;
    }

    .type-pic-$_id h2 p {
        font-size:$_subtitle-size;
        color:$_subtitle-color;
    }
    }
    .type-pic-$_id h2 p:hover {
        color:$_subtitle-hover-color;
    }

</style>
