/* https://github.com/CodyHouse/products-comparison-table/blob/master/css/style.css */
.cd-products-table .top-info img {
    display: inline;
}
.cd-products-table .top-info .check {
    display:block;
}
.cd-products-comparison-table ul.cd-features-list {
    margin-left:0;
    background: #FFFFFF;
}
.cd-products-comparison-table ul {
    list-style:none;
}
.cd-products-comparison-table .top-info {
    text-align: center;
}
.cd-products-comparison-table .top-info img {
    width: auto;
    max-height: 125px;
}
.cd-products-table .top-info h3 {
    font-size: 1rem;
}
ul.cd-products-columns li.cd-product:last-child {
    border-right: 1px solid #eaebee;
}
.cd-products-table li.cd-product {
    /* border-left: solid 1px #eaebee; */
}
.cd-product .cd-features-list li:nth-child(even),
.features .cd-features-list li:nth-child(even) {
    background: #f6f5f6;
}
/* .cd-product .cd-features-list li:nth-child(1) {
    padding: 8px 0 10px;
} */
.cd-product .cd-features-list li:nth-child(1) .x-column.x-1-3 {
    width: 100% !important;
    padding: 5px 10px;
    display:block;
}
.cd-product .cd-features-list li:nth-child(1) .x-column.x-1-3 a.x-btn {
    width: 100%;
}
.features .cd-features-list li:nth-child(odd) {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.cd-product .cd-features-list .buy-online-buttons {
    margin: 0 !important;
}

span.product-has-feature img {
    height: 16px;
}

.cd-products-comparison-table {
    margin-bottom: 4em;
}
.cd-products-comparison-table::after {
    /* never visible - this is used in jQuery to check the current MQ */
    display: none;
    content: 'mobile';
}
.cd-products-comparison-table header {
    padding: 0 5% 25px;
}
.cd-products-comparison-table header::after {
    clear: both;
    content: "";
    display: table;
}
.cd-products-comparison-table h2 {
    float: left;
    font-weight: bold;
}
.cd-products-comparison-table .actions {
    float: right;
}
.cd-products-comparison-table .reset, .cd-products-comparison-table .filter {
    font-size: 1.4rem;
}
.cd-products-comparison-table .reset {
    color: #404042;
    text-decoration: underline;
}
.cd-products-comparison-table .filter {
    padding: .6em 1.5em;
    color: #ffffff;
    background-color: #cccccc;
    border-radius: 3px;
    margin-left: 1em;
    cursor: not-allowed;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}
.cd-products-comparison-table .filter.active {
    cursor: pointer;
    background-color: #9dc997;
}
.no-touch .cd-products-comparison-table .filter.active:hover {
    background-color: #a7cea1;
}
@media only screen and (min-width: 1170px) {
    .cd-products-comparison-table::after {
        /* never visible - this is used in jQuery to check the current MQ */
        content: 'desktop';
    }
    .cd-products-comparison-table header {
        padding: 0 5% 40px;
    }
    .cd-products-comparison-table h2 {
        font-size: 2.4rem;
    }
    .cd-products-comparison-table .reset, .cd-products-comparison-table .filter {
        font-size: 1.6rem;
    }
    .cd-products-comparison-table .filter {
        padding: .6em 2em;
        margin-left: 1.6em;
    }
}

.cd-products-table {
    position: relative;
    overflow: hidden;
}

.cd-products-table .features {
    /* fixed left column - product properties list */
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    width: 120px;
}
.cd-products-table .features::after {
    /* color gradient on the right of .features -  visible while scrolling inside the .cd-products-table */
    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;
}
@media only screen and (min-width: 1170px) {
    .cd-products-table .features {
        width: 210px;
        z-index: 99;
    }
}

.cd-products-table.scrolling .features::after {
    opacity: 1;
}

.cd-products-wrapper {
    overflow-x: auto;
    /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
    -webkit-overflow-scrolling: touch;
}

.cd-products-columns {
    /* products list wrapper */
    width: 1500px;
    margin: 0 0 0 120px;
}
.cd-products-columns::after {
    clear: both;
    content: "";
    display: table;
}
@media only screen and (min-width: 1170px) {
    .cd-products-columns {
        margin-left: 210px;
    }
}

.cd-products-columns .cd-product {
    position: relative;
    float: left;
    width: 146px;
    text-align: center;
    -webkit-transition: opacity 0.3s, visibility 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, visibility 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
.filtering .cd-products-columns .cd-product:not(.selected) {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}
.no-product-transition .cd-products-columns .cd-product.selected {
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    -moz-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
}
.filtered .cd-products-columns .cd-product:not(.selected) {
    position: absolute;
}

.cd-features-list {
  margin-bottom: 0;
}

.cd-features-list span.product-has-feature {
    color: #555;
}

.cd-features-list span {
    color: #CCCCCC;
}
.cd-features-list li {
    font-size: 1.4rem;
    font-weight: bold;
    height: 46px;
    padding-top: 15px;
}
.cd-features-list li.rate {
    /* rating stars */
    padding: 21px 0;
}
.cd-features-list li.rate span {
    display: inline-block;
    height: 22px;
    width: 110px;
    background: url(../images/cd-star.svg);
    color: transparent;
}
@media only screen and (min-width: 1170px) {
    .cd-features-list li {
        font-size: 1.2rem;
    }
    .cd-features-list li.rate {
        padding: 22px 0;
    }
}

.cd-products-table .store-locator {
    font-size: 12px;
    height: 42px;
    line-height: 38px;
    padding: 0;
}

.features .cd-features-list li,
.cd-products-table .features .top-info {
    /* fixed left column - items */
    font-size: 1.2rem;
    font-weight: bold;
    /* set line-height value equal to font-size of text inside product cells */
    line-height: 14px;
    padding: 8px 10px;
    text-align: left;
}

.cd-products-table li {
    display:block;
    width:100%;
}
.features .cd-features-list li {
    /* truncate text with dots */
    height: 46px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.1;
    font-weight: normal;
    border: none;
    /*text-transform: uppercase;*/
}

@media only screen and (min-width: 1170px) {
  .features .cd-features-list li {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px)
{
    .cd-products-table .mobile-mbl {
        padding: 5px 10px;
        margin-bottom: 12px !important;
    }
}
.cd-products-table .cd-product .top-info {
    font-size:11px;
    line-height:13px;
}
.cd-products-table .top-info {
    position: relative;
    height: 150px;
    text-align: center;
    padding: 1.25em;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
    cursor: pointer;
    background-color: #f6f5f6;
}
.cd-products-table .top-info::after {
    /* color gradient below .top-info -  visible when .top-info is fixed */
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 4px;
    width: 100%;
    background-color: transparent;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.06), transparent);
    background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0.06), transparent);
    opacity: 0;
}
.cd-products-table .top-info h3 {
    padding: 1.25em 0 0em;
    font-weight: bold;
}
.cd-products-table .top-info img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.cd-products-table .top-info h3, .cd-products-table .top-info img {
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}
.cd-products-table .top-info .check {
    position: relative;
    height: 16px;
    width: 16px;
    margin: 0 auto 1em;
}
.cd-products-table .top-info .check::after, .cd-products-table .top-info .check::before {
    /* used to create the check icon and green circle dot - visible when product is selected */
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    height: 100%;
    width: 100%;
}
.cd-products-table .top-info .check::before {
    /* green circle dot */
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    -webkit-transition: background-color 0.3s, -webkit-transform 0.3s, border-color 0.3s;
    -moz-transition: background-color 0.3s, -moz-transform 0.3s, border-color 0.3s;
    transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.cd-products-table .cp-purchase-link a:hover span[class*='icon-']:before {
    color: #FFFFFF !important;
}
.cd-products-table .cp-purchase-link .x-btn {
    border-color: rgb(19,97,170);
    background-color: rgb(19,97,170);
}
.cd-products-table .cp-purchase-link .x-btn:hover {
    background-color: #009fd4;
    border: 2px solid #009fd4;
    color: #FFFFFF !important;
}

.cd-products-table .top-info .check::after {
    /* check icon */
    background: url(../images/cd-check.svg) no-repeat center center;
    background-size: 24px 24px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.cd-products-table .top-info h3 {
    padding-top: 1.4em;
    color: #1360aa;
}

@media only screen and (min-width: 1170px) {
    .cd-products-table .top-info .check {
        margin-bottom: 1.5em;
    }
}

.cd-products-table .features .top-info {
    /* models */
    width: 120px;
    cursor: auto;
}
@media only screen and (min-width: 1170px) {
    .cd-products-table .features .top-info {
        width: 210px;
    }
}

.cd-products-table .selected .top-info .check::before {
    /* green circle dot */
    background: #9dc997;
    border-color: #9dc997;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-animation: cd-bounce 0.3s;
    -moz-animation: cd-bounce 0.3s;
    animation: cd-bounce 0.3s;
}

@-webkit-keyframes cd-bounce {
    0% {
        -webkit-transform: scale(1);
    }
    60% {
        -webkit-transform: scale(1.6);
    }
    100% {
        -webkit-transform: scale(1.5);
    }
}
@-moz-keyframes cd-bounce {
    0% {
        -moz-transform: scale(1);
    }
    60% {
        -moz-transform: scale(1.6);
    }
    100% {
        -moz-transform: scale(1.5);
    }
}
@keyframes cd-bounce {
    0% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
    60% {
        -webkit-transform: scale(1.6);
        -moz-transform: scale(1.6);
        -ms-transform: scale(1.6);
        -o-transform: scale(1.6);
        transform: scale(1.6);
    }
    100% {
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -ms-transform: scale(1.5);
        -o-transform: scale(1.5);
        transform: scale(1.5);
    }
}
.cd-products-table .selected .top-info .check::after {
    /* check icon */
    opacity: 1;
}

@media only screen and (min-width: 1170px) {
    features .cd-features-list li {
        font-size: .8rem;
    }
    .cd-products-table.top-fixed .cd-products-columns > li,
    .cd-products-table.top-scrolling .cd-products-columns > li,
    .cd-products-table.top-fixed .features,
    .cd-products-table.top-scrolling .features {
        padding-top: 160px;
    }

    .cd-products-table.top-fixed .top-info,
    .cd-products-table.top-scrolling .top-info {
        height: 160px;
        position: fixed;
        top: 0;
    }
    .no-cssgradients .cd-products-table.top-fixed .top-info, .no-cssgradients
    .cd-products-table.top-scrolling .top-info {
        border-bottom: 1px solid #e6e6e6;
    }
    .cd-products-table.top-fixed .top-info::after,
    .cd-products-table.top-scrolling .top-info::after {
        opacity: 1;
    }
    .cd-products-table.top-fixed .top-info h3,
    .cd-products-table.top-scrolling .top-info h3 {
        -webkit-transform: translateY(-116px);
        -moz-transform: translateY(-116px);
        -ms-transform: translateY(-116px);
        -o-transform: translateY(-116px);
        transform: translateY(-116px);
    }
    .cd-products-table.top-fixed .top-info img,
    .cd-products-table.top-scrolling .top-info img {
        -webkit-transform: translateY(-62px) scale(0.4);
        -moz-transform: translateY(-62px) scale(0.4);
        -ms-transform: translateY(-62px) scale(0.4);
        -o-transform: translateY(-62px) scale(0.4);
        transform: translateY(-62px) scale(0.4);
    }

    .cd-products-table.top-scrolling .top-info {
        position: absolute;
    }
}

.cd-table-navigation a {
    position: absolute;
    z-index: 2;
    top: 100px;
    right: -70px;
    -webkit-transform: translateY(55px);
    -moz-transform: translateY(55px);
    -ms-transform: translateY(55px);
    -o-transform: translateY(55px);
    transform: translateY(55px);
    text-indent: inherit;
    white-space: nowrap;
    color: #1361aa;
    font-size: 50px;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
}
.cd-table-navigation a.inactive {
    opacity: 0;
    visibility: hidden;
}
.cd-table-navigation a.prev {
    right: -70px;
    top: 170px;
}
.no-touch .cd-table-navigation a:hover {
    color: #009fd4;
}
@media only screen and (min-width: 1170px) {
    .top-fixed .cd-table-navigation a {
        position: fixed;
    }
}

.cd-product-name {
  background-color: #0067a4;
  height: 46px;
  position: relative;
}

.cd-product-name h3 {
    color: #fff;
    text-transform: uppercase;
    display: table;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 10px;
    font-weight: bold;
    padding: 0 7px;
}
