﻿
/* PRODUCT COMPARISON STYLE ELEMENTS */

.compare-table tr:nth-child(even of tr.shown) td {
    background-color: var(--light-purple-section-colour);
}

.compare-table tr:not(:first-child):not(:last-child) td {
    border: solid 1.5px #dfe0f8;
}

.show-full-compare {
    cursor: pointer;
    width: 100%;
}

.full-compare-col {
    padding-left: 10px;
    padding-right: 10px;
}

.display {
    display: flex;
}

.compare-table-content img {
    width: 40px;
    padding: 10px;
}

.compare-products img {
    width: 100px;
}

.row-custom-flex {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.compare-products p, .compare-products a {
    font-size: 16px;
}

.compare-table-content {
    overflow: hidden;
    transition: max-height 0.3s, background-color 0.3s;
}

.compare-table-content p {
    margin-bottom: 0;
}

.table-header-top {
    margin-top: 20px;
}

table {
    border-spacing: 5px;
    border-collapse: unset;
}

.compare-table {
    width: 100%;
}

.table-content-heading p {
    font-size: 17px;
    font-weight: 700;
    width: 100%;
}

p.table-content-sub-heading {
    font-size: 15px;
    font-weight: 400;
}

.table-header td, .compare-table-content td, .compare-products td {
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-header {
    height: 80px;
    background-color: #c8c8c8;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.table-header-top {
    margin-top: 20px;
}

.compare-products td {
    flex-direction: column;
    align-items: center;
}

.table-header td.hide-on-mobile, .compare-products td.hide-on-mobile {
    display: none;
}

.compare-products td {
    padding-bottom: 30px;
}

td.table-content-heading {
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 24px;
}

.FeatureTitles {
    font-weight: 700;
}

table td[class*="col-"], table th[class*="col-"] {
    display: flex;
    position: static;
    float: none;
}

.compare-footer {
    padding-top: 20px;
    padding-bottom: 20px;
}

.compare-footer a {
    width: 90%;
}

/*=======================================SCREEN SIZE AND PAGE DEPENDANT STYLES==================================================*/
@media only screen and (min-width: 768px) {
    .table-header td.hide-on-mobile, .compare-products td.hide-on-mobile {
        display: flex;
    }

    .compare-table-content img {
        width: 35px;
        padding: 0;
    }

    .compare-products p, .compare-products a {
        font-size: 18px;
    }

    .desktop-hide {
        display: none;
    }
}

@media only screen and (max-width: 767px) {

    td.table-content-heading {
        width: 100%;
    }

    .row::after {
        display: unset;
    }

    .row-custom-flex {
        flex-direction: column;
    }

    .mobile-show {
        display: block;
    }

    .mobile-hide {
        display: none;
    }

    .header-row {
        justify-content: center;
        align-content: center;
    }

    .col-md {
        flex-direction: row-reverse;
        justify-content: space-between !important;
    }

    .compare-footer .col-md {
        padding-top: 20px;
    }
}

@media only screen and (min-width: 992px) {
    .table-header {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 300px) {
    .col-md {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
}

@media only screen and (min-width: 768px) {

    td.table-content-heading {
        align-items: flex-start;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media only screen and (min-width: 768px) {

    .table-header td.hide-on-mobile, .compare-products td.hide-on-mobile {
        display: flex;
    }

    .compare-products td {
        padding-bottom: 0;
    }
}
