
/*Compare Page*/

.cd-products-table {
    position: relative;
    overflow: auto;
    /*overflow: hidden;*/
    display: flex;
}
.cd-features__prod {
    display: flex;
    border-bottom: 1px solid #e6e6e6;
}
.cd-products-table .cd-features {
    background: #fff;
    width: 200px;
    height: 100%;
}
.cd-products-table .doubleScroll-scroll-wrapper {
    position: absolute;
    right: 0;
    width: calc(100% - 280px);
    top: 0;
    z-index: 1;
}
.cd-features .cd-features-list:after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 4px;
    height: 100%;
    background-color: transparent;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.06), transparent);
    background-image: linear-gradient(to right,rgba(0, 0, 0, 0.06), transparent);
    opacity: 0;
}
.cd-features-list {
    position: relative;
    padding: 0;
    padding-top: 20px;
    margin: 0;
    list-style: none;
}
.cd-products-columns__name {
    height: 40px;
}
.cd-features-list li strong {
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    line-height: 20px;
}
.cd-features__prod {
    display: flex;
    border-bottom: 1px solid #e6e6e6;
}
.top-info__container .cd-link__remove {
    border-bottom: 1px dotted #EA1653;
    color: #EA1653;
    text-decoration: none;
    font-size: 14px;
}
.cd-products-table .top-info {
    position: relative;
    height: 300px;
    padding: 25px 20px;
    width: 200px;
    flex-shrink: 0;
    text-align: center;
}
.top-info__container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.top-info__container:hover .btn, .top-info__container:hover .cd-link__remove {
    visibility: visible;
}
.cd-attr__value {
    padding: 4px 12px;
}
.cd-info__image img.img-responsive{
    margin: 0 auto;
}
.cd-value__link {
    display: block;
    text-decoration: revert;
    font-size: 14px;
    color: #008aff;
    margin-bottom: 6px;
    max-height: 37px;
    overflow: hidden;
}
.cd-products-table .top-info {
    position: relative;
    height: 372px;
    padding: 25px 20px;
    flex-shrink: 0;
    text-align: center;
    width: 200px;
}
.cd-products-table .top-info + .top-info {
    border-left: 1px solid #e6e6e6;
}

.cd-button__add {
    margin-top: auto;
}
@media (min-width: 992px) {
    .cd-products-table .top-info {
        height: 300px;
    }
}

.cd-price {
    font-weight: 600;
    margin-bottom: 15px;
}
.cd-compare__btn {
    width: 130px;
    height: 31px;
    border-radius: 6px;
    color: #fff;
    padding: 0;
}
.cd-products-wrapper {
    flex-grow: 1;
    /*overflow-x: auto;*/
    display: flex;
}
.cd-features-list__item > li {
    padding: 4px 5px 4px 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    font-size: 13px;
    height: 30px;
}
.cd-features .cd-features-list__item {
    margin: 5px 0px 15px 0px;
    list-style: none;
    padding-left: 0;
}
.cd-products-columns__name {
    height: 40px;
}
.cd-products-columns__prod {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}
.cd-products-columns__prod li {
    width: 181px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
.cd-products-columns .cd-features-list__item {
    margin: 5px 0px 15px 0px;
}
.cd-features-list__item > li.active {
    background: rgba(3,3,3,0.1);
}
.cd-products-columns__prod li {
    height: 30px;
    line-height: 30px;
}
.cd-products-columns__prod li + li {
    border-left: 1px solid #e6e6e6;
    margin-right: 20px;
    padding-left: 20px;
}
@media (min-width: 992px) {
    .cd-products-columns__prod li {
        width: 260px;
    }
    .top-info__container .cd-link__remove, .cd-compare__btn {
        visibility: hidden;
    }
    .top-info__container:hover {
        position: absolute;
        z-index: 1;
        width: 280px;
        background: #fff;
        box-shadow: 0px 4px 12px rgba(0,0,0,0.12);
        padding: 20px;
        top: 5px;
        left: 0px;
    }
    .cd-products-table .top-info {
        width: 280px;
    }
    .top-info__container .cd-link__remove, .cd-compare__btn {
        visibility: hidden;
    }

    .cd-products-table .cd-features {
        background: #fafafa;
        width: 280px;
    }
    .cd-features-list li strong {
        padding-left: 20px;
    }

}
