﻿html {
    background: #F7F8FC;
}

.content {
    max-width: 1144px;
    margin: 0 auto;
    display: block;
}

.rounded-item {
    border-radius: 10px;
}

.title-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

.title-item {
    padding-right: 30px;
    padding-right: 30px;
    flex-basis: auto;
    box-sizing: border-box;
}

.card {
    width: 100%;
    box-shadow: 0px 0px 12px rgba(0,0,0,.1);
    border-radius: 10px;
    border: none;
}

.body-container > .card:last-child {
    margin-bottom: 100px;
}

.item {
    text-align: center;
    border-left: double 1px rgba(227,230,239,.8);
}

.title-item {
    text-align: center;
}

.item-group > .item:first-child {
    border-left: none;
}

.item-label {
    display: none;
}

.item:last-child {
    text-align: right;
}

.flex-basis-10 {
    flex-basis: 10%;
}

.flex-basis-20 {
    flex-basis: 20%;
}

.flex-basis-15 {
    flex-basis: 15%;
}

.comparison-row:last-child {
    margin-bottom: 110px;
}

.choose_btn {
    /*background: #158463;*/
    font-weight: bold;
    /*border: 1.5px solid #158463;*/
    border-radius: 4px;
    font-size: 16px;
    line-height: 26px;
}

.header {
    background: rgba(227,230,239,.8);
    box-shadow: none;
}

.btn-moreless-group {
    text-align: right;
    margin-right: 12px;
}

.more-details {
    background-color: #E0ECED;
    border-radius: 4px;
    margin-top: -10px;
    padding: 30px 20px 20px 20px;
}

.more-details-group-item > p {
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #212529;
}

.more-details-group-title {
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    color: #212529;
    margin-bottom: 8px;
}

.more-details-show-button {
    display: flex;
    flex-direction: row-reverse;
    padding: 0;
    margin-top: -10px;
}

.criteria {
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

.btn-more-details-desktop,
.btn-less-details-desktop {
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    /*    text-align: right;*/
    color: #158463;
    padding: 12px 0 1px 6px;
    background-color: #E0ECED;
    justify-content: center;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

.btn-less-details-desktop {
    display: none;
}


.ddinfo-target {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.dropdown-item:active {
    background: #158463;
}

.dropdown-item.active {
    background: #158463;
}

.btn.dropdown-toggle.btn-light {
    border-color: #158463;
}

.btn-primary {
    color: #fff;
    background-color: #158463 !important;
    border-color: #158463 !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:focus, .open > .dropdown-toggle.btn-primary {
        color: #fff;
        background-color: #212529 !important;
        border-color: #212529 !important; /*set the color you want here*/
        border: 0 !important;
        box-shadow: none;
    }

.container-btn-moreless-desktop {
    /* show more/less btn topmost container on desktop view */
    display: flex;
    flex-direction: row-reverse;
    padding: 0 20px;
}

.container-btn-moreless-desktop__item {
    /* set width of flex item container */
    display: inline-block;
    border-radius: 8px;
    flex-basis: 14.35%;
}

.ddinfo-checkbox:checked + .body-container > .more-details-show-button >
.container-btn-moreless-desktop__item > .btn-moreless-group {
    /*When expanded, set button to align right*/
    padding-left: 36px;
    padding-right: 0;
}

    .ddinfo-checkbox:checked + .body-container > .more-details-show-button >
    .container-btn-moreless-desktop__item > .btn-moreless-group > .btn-more-details-desktop {
        /* When expanded, hide more details btn */
        display: none;
    }

    .ddinfo-checkbox:checked + .body-container > .more-details-show-button >
    .container-btn-moreless-desktop__item > .btn-moreless-group > .btn-less-details-desktop {
        /* When expanded, show less details btn*/
        display: flex;
        padding-top: 25px;
        margin-top: -10px;
        margin-right: -12px;
    }

.container-btn-more-mobile,
.container-btn-less-details-mobile {
    /* hide more/less btn desktop view */
    display: none;
}

.btn-more-group {
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    cursor: pointer;
}

.btn-less-details-mobile {
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    color: #158463;
    padding: 7px 12px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    width: auto;
}

.sort-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 5px;
    margin-right: 5px;
}

.select-holder {
    flex-grow: 1;
    margin-left: 20px;
}

.sort {
    margin-top: 3rem;
}

.warning-banner {
    margin-top: 20px;
}

.warning-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
}

.warning-subtitle {
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.warning-italic {
    font-size: small;
}

.warning-p {
    font-size: 14px;
}

@media(max-width: 500px) {
    .btn-less-details-mobile {
        justify-content: center;
    }

    .ddinfo-checkbox:checked + .body-container > .card > .item-group >
    .container-btn-more-mobile > .btn-more-group {
        display: none;
    }

    .container-btn-more-mobile,
    .container-btn-less-details-mobile {
        /* show more/less btn mobile view */
        display: flex;
        justify-content: center;
        flex-grow: 1;
    }

    .ddinfo-checkbox:checked + .body-container > .card >
    .container-btn-more-mobile {
        display: none;
    }

    .ddinfo-checkbox:checked + .body-container > .more-details-show-button >
    .container-btn-moreless-desktop__item > .btn-moreless-group > .btn-less-details-desktop {
        /* When expanded, hide less details btn*/
        display: none;
    }

    .btn-less-details-desktop {
        display: none;
    }

    .item-label {
        display: block;
    }

    .item-label {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.02em;
        color: #212529;
        opacity: 0.6;
        margin-bottom: 6px;
    }

    .item {
        border: none;
    }

    .item-group > .item:nth-child(6) {
        flex-basis: 100%;
    }

    .comparison-header {
        display: none;
    }

    .content {
        padding-top: 30px;
    }

    .card {
        margin: 0 10px 0 10px;
        width: auto;
    }

    .more-details {
        margin: -5px 10px 0 10px;
        width: auto;
    }

    .btn-more-details-desktop {
        display: none;
    }

    .btn-less-details-desktop {
        display: none;
    }

    .more-details-show-button {
        margin-bottom: 1.5rem !important;
    }

    .item {
        flex-basis: 50%;
    }

    .item-value {
        font-size: 14px;
    }

    .choose_btn-container {
        flex-basis: 100%
    }

    .item-group {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .item:first-child {
        flex-basis: 100%;
        text-align: center;
    }

    .item:nth-child(7) {
        flex-basis: 100%;
        text-align: center;
    }

    .choose_btn {
        width: 100%;
    }

    .sort-group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    .warning-banner {
        margin-top: 0;
        background: #F7F8FC;
    }

    .warning-title {
        font-size: 18px;
    }

    .warning-subtitle {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        text-align: -webkit-center;
    }
}
