/*---
-- start gen style
----------------------*/
@media screen and (max-width:767px) {
    .list-container {
        border: 1px solid #d8d8d8
    }
    .list-container .list-right h3,
    .list-container span.link a {
        margin-top: 0;
        margin-bottom: 0;
        background: #F5F5F5
    }
    .list-container .list-right h3 {
        text-align: center
    }
    .list-container .list-right h3 a {
        color: #333;
        font-size: 14px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important
    }
    .list-container .list-right {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        background: #fff;
        padding-bottom: 19px
    }
    .list-container .content {
        display: none
    }
    .list-container .logo-container {
        position: absolute;
        bottom: 20px;
        top: auto;
        left: 50%;
        width: auto;
        margin-left: -140px
    }
    .list-container .logo-container a,
    .list-container .button,
    .list-container span.link a,
    .list-container .logo-container a img {
        position: static;
        display: block
    }
    .list-container .logo-container a {
        margin: 0 auto;
        display: inline-block;
        width: auto
    }
    .list-container .logo-container a img {
        margin: 0!important
    }
    .list-container .button {
        display: inline-block;
        margin-right: -160px;
        height: 65px!important;
        width: 125px!important;
        background: url(//cdn.katch.com/p/ly/mv/listing/generic_custom_02/images/btn-sprite.png) no-repeat left top!important;
        background-size: 100% auto!important;
        margin-top: 20px
    }
    .list-container span.link a {
        padding-bottom: 10px
    }
}

@media screen and (max-width:767px) {
    .max-ad-listings * {
        display: block!important;
        font-family: Lato, sans-serif!important
    }
    td.max-ad-images {
        width: 50%!important
    }
    .tap-button {
        position: absolute;
        top: 50%;
        right: 22px!important;
        width: 42%!important;
        margin-top: -40px!important
    }
    .list-container {
        padding: 0;
        min-height: 0;
        border: 1px solid #ccc;
        margin-bottom: 5px;
        position: relative;
        background: #fff;
        min-height: 122px
    }
    .list-container .logo-container {
        background: 0 0
    }
    .list-right .content,
    .list-right p {
        display: none
    }
    .list-right {
        width: 100%;
        text-align: center;
        padding-top: 0;
        padding-bottom: 20px;
        bacground: #f5f5f5
    }
    .list-left {
        position: static;
        width: 100%;
        background: 0 0;
        min-height: 0;
        max-height: 100%;
        height: auto
    }
    .list-right h3 a {
        font-size: 14px;
        color: #02A5D5;
        line-height: 1.2;
        text-align: center;
        font-weight: 400
    }
    .list-right h3 {
        background: #f5f5f5;
        margin-top: 0;
        margin-bottom: 0;
        padding: 3px 5px;
        line-height: .5
    }
    .list-container .logo-container {
        position: absolute;
        margin: 0 auto;
        top: auto;
        bottom: 15px;
        left: 50%;
        margin-left: -170px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none
    }
    .list-right .button {
        position: static;
        margin: 0 auto;
        display: block;
        float: none;
        display: inline-block;
        margin-right: -140px;
        width: 150px;
        height: 42px;
        background: url(/images/vm-mag/ftr-btn-2.jpg) no-repeat;
        background-size: 100% auto;
        margin-top: 25px
    }
    .list-right .link {
        display: block;
        padding-bottom: 10px;
        background: #f5f5f5
    }
    .list-container:hover .button {
        background-position: 0 0
    }
}

@media screen and (max-width:480px) {
    .list-container .logo-container {
        margin-left: -142px
    }
}

/*----------------------
-- end gen style
---*/


/*------------------------------
------ ir - template from ma-listings.php
--------------------------------*/
.ir-original .featured .adnum{
    display:none;
}
.ir-original .featured_quote{
    display:none;
}
.ir-original .featured .featured_quote{
    display:block;
}
@media screen and (min-width:768px) {
    body.listings .ir-original.all_listings_container .featured{background-color:#FFFFF5;}
    body.listings .ir-original.all_listings_container .featured .logo-container:before{height:30px;width:30px;content:' ';position:absolute;top:20px;left:-33px;background:url('//dhe4oz50378wj.cloudfront.net/img/yellow-star.png');background-position: center center; background-repeat: no-repeat;}
    body.listings .ir-original .featured .list-right .button{
        background-image:url('https://dhe4oz50378wj.cloudfront.net/img/red-get-quote.png') !important;
        background-position: top!important;
        content:' ';
        height:50px;
        width:110px;
        position:absolute;
        right:15px;
        top:20%;
        background-repeat:no-repeat;
    }
    body.listings .ir-original .featured .featured_quote{    background-color: #FFFAB3;color: #000;padding: 4px 0;text-align: center;margin: 3px 0 0 0;border-top: 1px solid #F7EF77;font-size: 11px;border-radius: 0 0 2px 2px;text-shadow: 1px 1px 0 #FFF;font-weight: bold;}
    body.listings .ir-original .list-container:nth-child(1) .list-right .button, .ir-original .list-container:nth-child(3) .list-right .button {
        background: url(/images/ka/orange-btn.png)!important;
        background-repeat: no-repeat!important;
        margin-top: 20px!important
    }
    body.listings .ir-original .list-container {
        padding-right: 170px;
        padding-left: 208px;
        min-height: 100px!important;
        background: #fff;
        padding-bottom:10px;
        padding-top:10px;
    }
    body.listings .ir-original .list-container.featured{padding-bottom:20px;min-height:125px !important;}
    body.listings .ir-original .list-right h3{margin-bottom:5px;margin-top:5px;}
    body.listings .ir-original .list-right span.link{display:none;}
    body.listings .ir-original .list-right .content a{font-size:12px; line-height: 1.228571429;}
    body.listings .ir-original .list-container .adnum{position:absolute;left:-25px;top:25px;font-size:18px;}
    body.listings .ir-original .list-container .adnum:after{content:'.';}
    body.listings .ir-original .list-container:nth-child(1) .list-right .button, .ir-original .list-container:nth-child(3) .list-right .button {
        background: url(/images/ka/orange-btn.png)!important;
        background-repeat: no-repeat!important;
        margin-top: 20px!important
    }
    body.listings .ir-original .list-right .button {
        background: url(/images/ka/go-orange-btn.png)!important;
        width: 110px;
        height: auto;
        background-repeat: no-repeat!important;
        padding-top: 56px;
        text-align: center;
        background-position: 50% 50%!important;
        display: block;
        position: absolute
    }
    body.listings .ir-original .list-right .button::after{
        content: "Click for free quote";
        display: block;
        font-size: 11px;
        color: #2165A2
    }
    body.listings .ir-original .list-right .featured_button::after  {
        content: "Click for free quote";
        display: block;
        font-size: 11px;
        color: #2165A2;
        margin-top:50px;
        margin-left:7px;
    }
    /* body.listings .ir-original .list-container:nth-child(1) .logo-container a::after, .ir-original .list-container:nth-child(3) .logo-container a::after {
        content: " Get Your Quote";
        display: block;
        background: #FFFAB3;
        line-height: 1;
        text-align: center;
        padding: 4px 0;
        -webkit-border-radius: 0 0 2px 2px;
        -moz-border-radius: 0 0 2px 2px;
        border-radius: 0 0 2px 2px;
        font-weight: 700
    } */
    body.listings .ir-original .list-container .logo-container img {
        display: block;
        margin: 0!important
    }
    body.listings .ir-original .list-right {
        background: 0 0
    }
    body.listings .ir-original .logo-container a {
        display: block;
        box-shadow: 0 3px 0 #CCC;
        border: 1px solid #B1B1B1;
        text-decoration: none;
        -webkit-border-radius: 5px;
        padding: 4px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-transition: .2s;
        -moz-transition: .2s;
        -o-transition: .2s
    }
    body.listings .ir-original .logo-container {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none
    }
    body.listings .ir-original .list-container {
        max-width: 100%;
    }
    body.listings .ir-original .list-left {
        background: 0 0;
        z-index: 9999999;
        left: 0!important;
        top: 0!important
    }
    body.listings #main-content .ir-original div.logo-container {
        border: none!important;
        margin: 0!important;
        top: 0;
        left: 0;
        border-radius: none;
        width: auto!important;
        min-width: 0!important;
        border-radius: 0!important;
        height: auto;
        padding: 15px;
        background: 0 0;
        left: 25px
    }
    body.listings .ir-original .list-left {
        left: 10px!important
    }
    /* body.listings .ir-original .list-container:nth-child(1) .list-left::after, .ir-original .list-container:nth-child(3) .list-left::after {
        content: " ";
        width: 22px;
        height: 22px;
        display: block;
        position: absolute;
        top: 45px;
        left: 0;
        background: url(/images/ka/yellow-star.png);
        background-repeat: no-repeat
    } */
    body.listings .ir-original .list-container:nth-child(1), .ir-original .list-container:nth-child(3) {
        background: #FFFFF5
    }
    body.listings .ir-original .list-container:hover .logo-container a {
        border-color: #FCE279;
        box-shadow: 0 0 5px #FCE279
    }
    body.listings .ir-original .list-container:hover .list-right h3 a {
        text-decoration: underline
    }
    body.listings .ir-original .list-right h3 a {
        font-size: 16px;
        color: #2165A2;
        line-height: 1.2!important;
        display: block!important;
        font-weight: 700
    }
    body.listings .ir-original .list-right ul li {
        font-size: 12px;
        background-position: 4px 1px;
        padding-bottom:2px;
        line-height:14px;
    }
    body.listings .ir-original .logo-container {
        width: auto!important;
        height: auto!important;
        background: 0 0
    }
    body.listings .ir-original .seperator {
        border: none;
        height: 1px;
        background: #D8D8D8
    }
    body.listings #main-content .ir-original div#content ul {
        margin: 0!important
    }
    body.listings .ir-original .list-container {
        padding-right: 170px;
        padding-left: 208px;
        min-height: 100px!important;
        padding-bottom: 10px;
        padding-top:10px;
    }
    body.listings .ir-original .list-right .button {
        right: 15px!important;
        left: auto!important;
         top: 0; 
        margin: 0!important
    }

    body.listings .ir-original .list-container {
        position: relative
    }
    body.listings .ir-original a{color:#2d2d2d;}
    body.listings .ir-original a:hover{text-decoration:none;}
    body.listings .ir-original .list-right ul, .ir-original .list-right ul li {
        color: #2d2d2d;
        font-size: 12px;
        list-style-position: inside;
        padding-left:0;
    }
    body.listings .ir-original .list-left {
        width: 210px;
        height: 20px;
        float: left;
        min-height: 176px;
        position: relative;
        background-size: 100% 210%;
        left: 0;
        position: absolute;
        height: 100%
    }
    body.listings .ir-original .list-container .logo-container {
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        background: #ffff;
        width: 150px;
        height: 150px;
        background: #fff;
        position: absolute;
        left: 50%;
        margin-left: -75px;
        top: 0;
        margin-top: 17px
    }
    body.listings .ir-original .list-left {
        width: 210px;
        height: 20px;
        float: left;
        min-height: 176px;
        position: relative;
        background-size: 100% 210%;
        left: 0;
        position: absolute;
        height: 100%
    }
    body.listings .ir-original .list-container .logo-container {
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        background: #ffff;
        width: 150px;
        height: 150px;
        background: #fff;
        position: absolute;
        left: 50%;
        margin-left: -75px;
        top: 0;
        margin-top: 17px
    }
}
@media screen and (max-width:767px){
    body.listings .ir-original .featured .featured_quote{display:none;}
    body.listings .ir-original .featured a.featured_button{background-image:url('https://dhe4oz50378wj.cloudfront.net/img/red-get-quote.png');content:' ';height:55px;width:121px;position:static;margin-right:-170px;background-repeat:no-repeat;bottom:0;background-size:contain;margin-top:20px;display:inline-block;margin-bottom:-5px;}
    body.listings .ir-original .list-container .adnum{display:none;}
    body.listings .ir-original .list-right .button {
        background: url(/images/ka/go-orange-btn.png)!important;
        background: url(/images/ka/go-orange-btn.png)!important;
        background-repeat:no-repeat !important;
        background-position:center !important;
        margin-left:25px;
    }

    body.listings .ir-magazine .featured .list-right .button{
        background-image:url('https://dhe4oz50378wj.cloudfront.net/img/red-get-quote.png') !important;
    }
   
}
    body.listings .ir-original .featured .list-right .button{
        background-image:url('https://dhe4oz50378wj.cloudfront.net/img/red-get-quote.png') !important;
    }
/* ============================== */
/* ------- MA - MAGAZINE ---------*/
/* ============================== */
.ir-magazine .list-container .featured_quote {
    display: none;
}
    @media screen and (min-width:768px){
        body.listings .ir-magazine .list-container *{
            -webkit-font-smoothing: antialiased;
            -webkit-text-shadow: rgba(0,0,0,.01) 0 0 1px;
            text-shadow: rgba(0,0,0,.01) 0 0 1px;
            font-family: 'Open Sans', sans-serif;
        }
        body.listings .ir-magazine.all_listings_container{
            position: relative; padding-left:380px; min-width: 500px;min-height:520px;
        }
        body.listings .ir-magazine .list-container{
            border:1px solid #000000;
            padding:20px 182px 20px 25px;
            position: relative;
            margin-bottom:10px;
            background:#f8f8f8;
            -webkit-box-shadow: 0px 4px 1px -2px rgba(173, 169, 169, 0.75);
            -moz-box-shadow: 0px 4px 1px -2px rgba(173, 169, 169, 0.75);
            box-shadow: 0px 4px 1px -2px rgba(173, 169, 169, 0.75);
            -webkit-transition: margin-top .3s;
            -moz-transition: margin-top .3s;
            -o-transition: margin-top .3s;
            transition: margin-top .3s;
            width:100%;
            margin-left:0%;
        }
        body.listings .ir-magazine .list-container .link{
            word-wrap:break-word;
        }
        body.listings .ir-magazine .list-left{
            background:#ffffff; position: absolute; right:0; top:0; height:100%; min-width: 167px; padding:15px;
        }
        body.listings .ir-magazine .list-container .logo-container img{
            position: absolute; right:25px; top:50%; margin-top:-60px;
        }
        body.listings .ir-magazine .list-container:first-of-type{
            position: absolute;
            left:0;
            top:0;
            max-width: 370px;
            padding-right:25px;
            padding-top: 154px;
            padding-bottom: 100px;
            border:4px solid #FFE59C;
            background:#FFFCEE;
            bottom:auto !important;
            top:0 !important;
            margin-left:0;
        }
        body.listings .ir-magazine .list-container:first-of-type.is_stuck {
            left:50%;
            margin-left:-44%;
            margin-top:20px;
            position:fixed !important;
        }
        body.listings .ir-magazine .list-container:first-of-type .list-left{
            top:0;
            left:0;
            max-width: 100%;
            width:100%;
            height:auto;
            background:#CBE1EC;
        }
        body.listings .ir-magazine .list-container:first-of-type .logo-container a img{
            position: static;
            margin:0 auto;
            height:80px;
            width:auto;
        }
        body.listings .ir-magazine .list-container:first-of-type .logo-container a{
            margin:0 auto;
            display: block;
            text-align: center;
            background: #ffffff;
            padding:10px 0;
        }
        body.listings .ir-magazine .list-container h3{
            line-height: 16px;
            margin-top:0;
        }
        body.listings .ir-magazine .list-container:first-of-type h3{
            text-align: center;
        }
        body.listings .ir-magazine .list-container:first-of-type h3 a{
            font-size:20px; line-height: 1.3; text-align: left; padding-top:10px; padding-bottom:10px; color:#02A5D5; font-weight: 600;
        }
        body.listings .ir-magazine .list-container h3 a{font-size:15px; font-family: 'Lato', sans-serif;}
        body.listings .ir-magazine .list-container a{display:block;}
        body.listings .ir-magazine .list-container .content li{
            list-style: none; padding-left:20px; font-size:14px; line-height: 1.3; background:url(/images/vm-mag/check-mark.png) no-repeat; background-position: left 5px; margin-bottom:5px; color:#000000; background-size:15px auto; background-position: 50% left;
        }
        body.listings .ir-magazine .list-container a.button{
            height:47px; background:url(/images/vm-mag/ftr-btn-2.jpg) no-repeat; margin-top:15px; display:block; background-size:100% auto; background-repeat: no-repeat; position: absolute; width:166px; right:0; bottom:0; z-index: 100;
        }
        body.listings .ir-magazine .list-container:first-of-type  a.button{
            position: static; width:100%; background:url(/images/vm-mag/ftr-btn-3.jpg); background-size:100% auto; height:78px; position: absolute;left:0;bottom:0;
        }
        body.listings .ir-magazine .list-container a{
            display:block;
        }
        body.listings .ir-magazine .logo-container .adnum{display:none;}
        body.listings .ir-magazine .list-container:nth-of-type(3) a.featured_button{height: 47px;background: url(/images/vm-mag/ftr-btn-2.jpg) no-repeat;margin-top: 15px;display: block;background-size: 100% auto;background-repeat: no-repeat;position: absolute;width: 166px;right: 0;bottom: 0;z-index: 100;}
        body.listings .ir-magazine .list-container:nth-of-type(3) .featured_quote{display:none;}
        body.listings .ir-magazine .list-container:nth-of-type(4) a.featured_button{height: 47px;background: url(/images/vm-mag/ftr-btn-2.jpg) no-repeat;margin-top: 15px;display: block;background-size: 100% auto;background-repeat: no-repeat;position: absolute;width: 166px;right: 0;bottom: 0;z-index: 100;}
        body.listings .ir-magazine .list-container:nth-of-type(4) .featured_quote{display:none;}
        body.listings .ir-magazine .list-container:first-of-type .featured_quote{display:none;}
        body.listings .ir-magazine .list-container ul{padding-left:0;margin-left:-20px;}
        body.listings .ir-magazine .list-container .list-right .content a{
            background:url(/images/vm-mag/check-mark.png) no-repeat;
            color:#000;
            background-position:left 5px;
            background-size:15px auto;
            padding-left:20px;
        }
    }
    @media screen and (min-width:1120px){
        body.listings .ir-magazine .list-container:first-of-type.is_stuck {margin-left:-485px;}
    }

    /* @media screen and (min-width:992px){
        body.listings .ir-magazine .list-container:first-of-type  a.featured_button{
        position: static;
        width:100%;
        background:url(/images/vm-mag/ftr-btn-3.jpg);
        background-size:100% auto;
        height:78px;
        position: absolute;
        left:0;
        bottom:0;
        }
    } */

    @media screen and (max-width:991px) and (min-width:768px) {
        body.listings .ir-magazine .list-container .content{display:none;}
        body.listings .ir-magazine .list-container{padding-left:10px; min-height: 112px;}
        body.listings .ir-magazine .list-container .logo-container img{right:8px;}
        body.listings .ir-magazine .list-container:first-of-type{padding-left:25px; max-width: 340px;margin-left:0;}
        body.listings .ir-magazine .list-left{min-width: 145px;}
        body.listings .ir-magazine .list-container .logo-container img{width:115px;}
        body.listings .ir-magazine .list-container{padding-right:159px;}
        body.listings .ir-magazine .list-container a.button{height:47px; width:146px;}
        body.listings .ir-magazine.all_listings_container{padding-left:350px;min-height:360px;}
        body.listings .ir-magazine .list-container:first-of-type a.button{height:74px;}
        body.listings .ir-magazine .list-container .logo-container img{margin-top:-50px;}
        body.listings .ir-magazine .list-container:nth-of-type(3) a.featured_button{height:47px; width:146px;}
    }

    @media screen and (max-width:767px){
        body.listings .ir-magazine .featured .featured_quote{display:none;}
        body.listings .ir-magazine .featured a.featured_button{background-image:url('https://dhe4oz50378wj.cloudfront.net/img/red-get-quote.png');content:' ';height:55px;width:121px;position:static;margin-right:-170px;background-repeat:no-repeat;bottom:0;background-size:contain;margin-top:20px;display:inline-block;margin-bottom:-5px;}
        body.listings .ir-magazine .list-container .adnum{display:none;}
        body.listings .ir-magazine .list-right .button {
            background: url(/images/ka/go-orange-btn.png)!important;
            background: url(/images/ka/go-orange-btn.png)!important;
            background-repeat:no-repeat !important;
            background-position:center !important;
            margin-left:25px;
        }
    }

    @media screen and (max-width:405px){
        .list-container {
            min-height: inherit;
            height: inherit;
            padding: 0;
            margin-bottom: 20px;
        }
    }