

.add-to-compare {
    padding: 10px 15px;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 27px;
    border-radius: 0;
    text-decoration: none !important;
    white-space: nowrap;
    background-color: orange;
    color: #fff;
    border-color: orange;
    transition: all .33s ease;
    user-select: none;
    cursor: pointer;
}


.add-to-compare i  {
    margin-right: 10px;
    font-size: 14px;
    position: relative;
    top: 2px;
}

.car-details__wrap-title  .add-to-compare {
    position: relative;
    top: 0;
    float: right;
}


a.add-to-compare:hover {
    color: #fff;
}

 .car-favorite {
    padding: 10px;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 0;
    text-decoration: none !important;
    white-space: nowrap;
    background-color: orange;
    display: inline-block;
    color: #fff !important;
    border-color: #dc2d13;
    transition: all .33s ease;
    user-select: none;
    cursor: pointer;
    position: relative;
    top: 1px;
    width: 35px;
    height: 35px;
    line-height: 19px;
    left: 5px;
    text-align: center;
}

.tmpl-list-footer .add-to-compare ,.tmpl-list-footer .car-favorite{
    opacity: 0;
}
 
.card:hover  .add-to-compare,  
.card:hover  .car-favorite, 
.car-details:hover .add-to-compare, 
.car-details:hover .car-favorite,
.grid .slider-grid__inner:hover .add-to-compare,
.grid .slider-grid__inner:hover .car-favorite    {
    opacity: 1;
}


.add-to-compare.active-add-compare , .active-add-favorite{
    background-color: #dc2d13 !important;
    opacity: 1 !important;
}

.rem-cmpr{
    display: none;
}


.active-add-compare .rem-cmpr{
  display: inline-block;  
}

.active-add-compare  .add-cmpr{
    display: none;
}



.car-favorite{
    line-height: 16px !important;
}

.rem-fvrt{
    display: none;
}


.active-add-favorite .rem-fvrt{
  display: inline-block;  
}

.active-add-favorite  .add-fvrt{
    display: none;
}




#slider-product .tmpl-list-footer {
    text-align: right;
    position: absolute;
    top: 7px;
    bottom: auto;
    width: 100%;
    opacity: 1;
    transition: all .3s;
    z-index: 8;
    right: 23px;
    opacity: 0;
}


#slider-product:hover  .tmpl-list-footer {
    opacity: 1;
}


.header-navibox-favorite i{
     font-size: 17px;
}


.header-navibox-favorite a{
    text-decoration: none !important;
}


.header-navibox-compare , .header-navibox-favorite {
    float: right !important;
    padding: 30px 0 !important;
    color: #fff;
    display: block;
    position: relative;
    margin-right: 10px;
}
.list-badge {
    position: absolute;
    top: 16px;
    right: -9px;
    min-width: 18px;
    font-weight: 700;
    font-size: 11px;
    color: #fff;
    background-color: #dc2d13;
    padding: 0 2px;
    line-height: 18px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .14);
}
/*style for popap  */

.single-add-to-compare {
  z-index: 999999;
    position: fixed;
    top: -30%;
    left: 0;
    right: 0;
    padding-top: 17px;
    min-height: 71px;
    background-color: #dc2d13;
    opacity: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}
.single-add-to-compare .single-add-to-compare-left {
    position: relative;
    padding-left: 55px;
    min-height: 35px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -6px;

}

.single-add-to-compare .single-add-to-compare-left .auto-title {
    display: block;
    padding-top: 10px;
    color: #fff !important;
    font-weight: 400;
}

.compare-fixed-link {
    display: block;
    padding: 8px 23px 6px;
    color: #fff !important;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none !important;
}
.single-add-to-compare-visible {
    top: 0;
    opacity: 1;
}


.header-navibox-compare  .icon-speedometer{
    font-size: 18px;
    position: relative;
    margin: 0px 2px 0 5px;
    top: -2px;
}

.header-navibox-compare:hover a{
    text-decoration: none !important;
}

.tmpl-list-footer {
    text-align: center;
    position: absolute;
    bottom: -12px;
    width: 100%;
    transition: all .3s;
}

.grid  .tmpl-list-footer {
    bottom: auto;
    top: 8%;
    text-align: right;
    padding-right: 15px;
}


.grid  .cmpr-btn-text{
    display: none;
}


.grid  .add-to-compare {
    padding: 9px 10px;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 15px;
    border-radius: 0;
    text-decoration: none !important;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    max-width: 35px;
    display: inline-block;
    height: 35px;
    top: 42px;
    position: absolute;
    right: 10px;
}

.cmpr-btn-text{
    font-style: normal;
}


.compare-col-auto-empty + .add-car-search-page{
    margin-left: -15px;
}


@media (min-width:991px) and (max-width:1240px) {

html .compare-car-img {
    min-height: 120px;
}
    
  html .add-car-search-page {
    top: 15px;
}
    
}



@media (max-width:991px) {


    .header-navibox-compare{
        display: none !important;
    }
}


@media (min-width:768px) and (max-width:991px) {
    

html .compare-car-img {
    min-height: 90px;
}
    
    html .add-car-search-page{
        top: 0;
    }
    
}






@media (max-width:480px) {
    


    .listing-car-item-meta, .add-car-search-page {
    padding-bottom: 20px;
}
    
}

