
    .compare .side-menu {
        flex: 0 0 16rem;
        padding-top: 1rem;
        /* min-width: 15rem; */
        overflow: auto;
    }

  

    #side-menu {
        /* overflow: visible; */
    }

        #side-menu .tab-content {
            /* overflow: auto; */
            /* flex: 1; */
            height: 100%;
            /* padding-top: .5rem; */
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }

            #side-menu .tab-content > .show {
                display: block;
                padding-bottom: 2rem;
            }

            .side-inner {
                height: 100%;
                width: 100%;
                display: flex;
                flex-direction: column;
            }

#side-menu h3 {
    font-size: 1.1rem;
    margin: 0;
    /* border-bottom: 1px solid gray; */
    padding-bottom: 1rem;
}

    #side-menu [name=SortBy] {
        font-size: 0.9rem;
        padding: 5px;
        border: none;
        background: #f8f8ff;
        line-height: 1;
        border-radius: 6px;
    }

    #side-menu .tab-head {
        display: flex;
        align-items: center;
        /* margin-bottom:1rem; */
        /* border-bottom: 1px solid #f5f5fd; */
        /* padding-bottom: 1.2rem; */
        /* margin-left:1rem; */
        margin: 0.3rem 0 1.5rem;
        padding: 0;
    }

    #side-menu .nav-tabs .nav-link {
        margin-bottom: -1px;
        margin-top: 0px;
        border-radius: 0;
        /* border-color: #e9ecef #e9ecef #dee2e6; */
        margin-right: 2px;
        border-bottom: none;
        padding: 0.7rem 1rem;
    }

        #side-menu .nav-tabs .nav-link.active {
            border-top-color: transparent;
            border-bottom: none;
        }

    #side-menu .form-group {
        /* margin-left: 1rem; */
        margin-bottom: 0;
        max-width: 10rem;
    }

        #side-menu .form-group label {
            display: none;
        }

        #side-menu .form-group input {
            padding: 5px 5px;
            line-height: 1;
            font-size: 14px;
            border-color: ghostwhite;
        }

    #side-menu .factor-side .factors-items li.selected {
        background: var(--color-accent-light);
    }


#side-menu .side-bottom {
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 0 1rem;
    background: #e0e0ff;
    /*start hidden in bottom, on show slide up with animation */
    bottom: 0;
    position: fixed;
    transition:0.4s;
    z-index: 10000;
    /* top: 0; */
    width: 100%;
    bottom: -10rem;
}

    #side-menu .side-bottom.show{
        bottom: 0;
    }

    #side-menu .side-bottom > div {
        margin: .75rem 0;
        width: 100%;
    }

    #side-menu .side-bottom .form-group {
        max-width: 100%;
        width: 100%;
    }

    #side-menu .side-bottom .btn{
        font-size:16px;
        width:100% !important;
        /*max-width:unset;*/
    }

    #closeSideMenu {
        /* position: absolute; */
        /* left: 0; */
        /* top: 0; */
        /* margin: 0.3rem; */
    }


.side-menu {
    flex: 0 0 21rem;
    /* display: block !important; */
    overflow: auto;
    top: 0;
    position: sticky;
    z-index: 20;
    width: 27rem;
    max-height: 100vh;
    transition: 0.3s;
    background: white;
    /* box-shadow: inset 0px -2px 6px 3px rgb(0 0 0 / 18%); */
    padding: 1.5rem;
}

    .side-menu.show {
        margin-right: 0;
    }


    .side-menu li > div:first-child span {
        flex: 1;
        display: inline-flex;
    }

.side-usages li > div:first-child span {
    font-size: 14px;
}



.side-menu .factor-legend .custom-control-input {
    visibility: unset;
    /*width:0;
   overflow:hidden;*/
}

.side-menu .factor-legend {
    /* font-size: .9rem; */
}

    .side-menu .factor-legend .custom-checkbox label {
        font-weight: normal;
        white-space: nowrap;
        margin-left: 0;
    }

.side-menu .legend-score.text {
    visibility: hidden;
}

.side-menu .factor-legend .form-select {
    background-color: #fcfcff;
    background: none;
    font-size: .9rem;
    margin: 0;
    padding: 0 0px 0 18px;
    margin-right: 5px;
}

    .side-menu .factor-legend .form-select:not(:hover) {
        color: #8081E5;
    }


.side-menu .factor-legend table tr td {
    padding: 0;
}

    .line-info .factor-legend table tr td:last-child,
    .side-menu .factor-legend table tr td:last-child {
        /*width:100px;*/
    }


.side-menu .factor-legend input[type=text] {
    padding: 0px 5px;
    font-size: .9rem;
    flex: unset;
    width: 4rem;
}



.side-menu .filter-row {
    display: flex;
    align-self: flex-end;
    flex-wrap: wrap;
    line-height: 1.8;
    gap: .5rem;
    font-size: 0.9em;
    align-items: center;
    margin: 3px 0px;
}


    .side-menu .filter-row > span {
        flex: 1;
    }

    .side-menu .filter-row .score-box.ball > div {
        line-height: 1;
    }

    .side-menu .filter-row .score-box.ball .outer {
        font-size: 1.3em !important;
        font-weight: normal;
    }

    .side-menu .filter-row .custom-checkbox {
        align-items: baseline;
        gap: 2px;
    }

    .side-menu .filter-row .help-block {
        margin-bottom: 0;
        color: gray;
        /* font-size: 0.8em !important; */
        margin-right: 0;
        flex: unset;
        margin-bottom: 0;
        margin-top: 0;
    }

        .side-menu .filter-row .help-block:empty {
            margin-bottom: 0;
        }



    li: not(.selected) > .factor-legend .filter-row > *:not(:first-child) {
        margin-right: 5px;
    }

.side-menu .factor-legend table {
    max-width: unset;
    width: 100%;
}

.side-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    background:white;
    z-index:10;
    padding: 12px .5rem 0.8rem;
    /* margin:0 .5rem; */
    border-bottom: 1px solid var(--color-border);
}

.side-menu h5 {
    color: var(--color-accent);
    font-size: 1rem;
}

.factor-side h5 {
    margin: 0;
    /* margin-right: .75rem; */
}

.side-menu .top-actions{
    display:flex;
    gap:.5rem
}
    .side-menu .top-actions .btn {
     
        padding: 2px 8px;
       
        font-size: 14px;
    }

    .side-menu .top-actions .btn:hover {
        background: var(--color-link);
    }

    .side-menu .top-actions button {
        border: 1px solid #ced4da;
        background: white;
        color: black;
    }
    .factors-cost li > * {
        display: block;
    }

    .usages-side h4 {
        margin: 1rem 0;
    }

.compare .side-menu .tab-content {
    overflow: auto;
    background: #fafaff;
    padding-left: 0;
    border-right: 1px solid #dee2e6;
    max-height: calc(100vh - 11rem);
}


.score-box.ball.edit {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

    .score-box.ball.edit > div.slider-wrapper {
        display: block;
        /*position: absolute;*/
        /* top: 0%;
    transform:translateY(-50%);*/
        /*right:5px;*/
        position: relative;
        right: 0;
        top: 0;
        margin-left: 5px;
    }

    .score-box.ball.edit [type=range] {
        /*-webkit-appearance: slider-vertical;*/
        /*height: 84px;*/
        /*direction:ltr;*/
    }




/*#region factor-side */
.factor-side ul ul li > * {
    font-weight: normal;
    align-items: center;
    gap: 0 5px;
}

.factor-legend .has-filters tr[data-checked='false'] .score-box {
    display: none;
}

.factor-side .score-box {
    cursor: pointer;
}

.factors-items li:not(.selected):not(:hover) .score-box {
    visibility: hidden;
}

.factor-side .range-weight {
    display: none;
}


.factor-side ul ul {
    margin-bottom: 1.5rem;
}

.factor-side li div a {
    font-weight: normal;
    /* font-size: 0.9em; */
}


.factor-side li a:not(:hover) {
    color: #8081E5;
}

.factor-side .factors-items li {
    margin-bottom: 0;
    padding: 1rem 0.75rem;
}
h5 + .factors-items{
    margin-top: .5rem;
}
h5 + .factors-items li {
    padding: 0.6rem .75rem !important;
}

    h5 + .factors-items li label{
        margin:0 !important;
    }


    .factor-side .factors-items li .consd-icon {
        /* flex:1 1 100%; */
        /* display:inline-flex; */
        /* align-items:center; */
        /* width: 100%; */
        justify-content: center;
        padding-left: 5px;
    }

        .factor-side .factors-items li .consd-icon img {
            height: 1em;
            /* margin:0 auto; */
        }



/*#endregion */

/*#region filter-specs */
.filter-specs {
    margin-right: 1rem;
    padding: 0.25rem 0.5rem;
    background: #f6f7fd;
    margin-bottom:.75rem;
    margin-top:.5rem;
    display:block;
}


.filter-specs:not(.show) {
    display:none;
}
    /*#endregion */
    /*#region Price Chart */
    .price-chart {
        height: 17rem;
        /* border-bottom: 2px solid #aeaedf; */
        display: inline-flex;
        /* max-width: 90vw; */
        /* margin: 0rem auto 4rem; */
        /* overflow: auto; */
        padding-bottom: 3.7rem;
        flex: 1;
        padding-top: 2rem;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .price-chart > div {
        min-width: 30px;
        flex: 0 1 3rem;
        background: #d3d3f1;
        position: relative;
        margin: 0 3px;
        text-align: center;
        font-size: 12px;
        display: inline-flex;
        flex-direction: column;
    }

        .price-chart > div span {
            flex: 1;
        }

        .price-chart > div label {
            margin-top: 0.7rem;
            margin-bottom: -1.8rem;
            transform: rotate(-30deg);
        }

.p-chart .selected,
.p-chart > div:hover {
    cursor: pointer;
    background: #a9a9d4;
}

.p-chart > div:hover {
    background: #9494d1;
    color: white;
}

.p-chart > div label:hover {
    cursor: pointer;
}

.price-chart > div img {
    width: 100%;
    /*border: 1px solid #d3d3f1;*/
}

.price-chart > div .imgwrp {
    padding: 5%;
    background: white;
    margin: 1px;
    overflow: hidden;
    height: 2.2rem;
}

.price-chart > div .imgwrp,
.price-chart > div {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.price-chart .img-wrap {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 3em;
    border: 1px solid #d3d3f1;
    position: relative;
    /*border-radius:100%;*/
    margin: -4px auto 6px;
}

.price-chart .score-box {
    /* position:absolute; */
    /* top:-1.5rem; */
    margin-top: 5px;
    right: 50%;
    transform: translateX(50%);
}
    /* .price-chart .score-box,
    .price-chart .score-box.ball > div {
        height: 98%;
    }

        .price-chart .score-box.ball > div .outer {
            border-radius: 0;
            height: 100%;
        }*/

    .price-chart .score-box.ball .outer {
        font-size: 1.7em !important;
    }
/*#endregion */

/*#region side price chart */
.side-menu .price-chart-vert {
    padding-left: 3rem;
}

#p-results > strong {
    margin-bottom: 1rem;
    display: block;
}

#p-results {
    height: 100%;
}

    #p-results > div {
        display: flex;
        flex-direction: column;
        max-height: 100%;
        padding: 0 1.5rem;
    }

        #p-results > div .p-chart {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

        #p-results > div .filter-tags {
            margin: 1rem 0rem 0rem;
            padding: 1.6rem 1rem;
            line-height: 3;
            font-size: 0.9rem;
            background: #f9f9ff;
        }

            #p-results > div .filter-tags ul {
                margin: 4px 0.5rem;
                padding: 0
            }

.price-chart-vert h5 {
    font-size: 1rem;
}

.price-chart-vert > div + h5 {
    margin-top: 1rem;
}

.price-chart-vert > div {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    margin-bottom: .5rem;
    background: #d3d3f1;
    border-top-left-radius: 27px;
    border-bottom-left-radius: 26px;
}

    .price-chart-vert > div .imgwrp {
        height: 2.1rem;
        padding: 5px;
        width: 2.1rem;
        text-align: center;
        background: white;
        margin: 1px;
        /* margin-left: 11px; */
    }

    .price-chart-vert > div img {
        height: 100%;
    }

    .price-chart-vert > div > span {
        left: -5rem;
        display: none;
        position: absolute;
    }

    .price-chart-vert > div label {
        overflow: hidden;
        flex: 1;
        font-size: 13px;
        line-height: 1.2;
        /* margin-left: 6px; */
        padding-right: 2px;
        white-space: nowrap;
    }

        .price-chart-vert > div label > span {
            display: block;
            font-size: 0.9em;
        }

    .price-chart-vert > div:not(:hover) label > span {
        color: #595978;
    }

    .price-chart-vert > div .valPerMoney {
        /* display: none; */
        left: -2rem;
    }

.price-chart-vert .score-box.ball {
    margin-left: 0.4rem;
}

    .price-chart-vert .score-box.ball .outer {
        font-size: 1.5rem !important;
        /* outline: 2px solid #d3d3f1; */
    }

.tt {
    width: 62rem;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: flex-start;
    overflow: auto;
}
/*#endregion */


/*#region Side Usages */

.side-usages .factors-items > li {
    flex: 1 1 100%;
    max-width: 36rem;
    border: 1px solid var(--color-border);
    padding: 0.8rem 1rem;
    margin: 0.3rem 0;
    /* min-height: 6rem; */
    background: var(--color-accent-light);
    border-radius: 3px;
    cursor: pointer;
}

.side-usages li .info {
    flex: 1;
    line-height: 1.2;
}

.side-usages .factors-items > li .btns {
    display: flex;
    justify-content: center;
}

.side-usages .factors-items > li.active .btns {
    margin: 1rem 0 0.3rem;
    border-top: 1px solid #d3d5ff47;
    padding-top: 1rem;
}

.factors-items li .btns button.selected:not(:hover) {
    background: var(--color-primary);
    color: white !important;
    border-color: var(--color-primary);
}

.factors-items > li:not(.active) .btns button.selected {
    background: none;
    color: var(--color-primary) !important;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.side-usages li:not(.active) .answers .answer input,
.side-usages li:not(.active) .answers .answer input:not(:checked) + label,
.side-usages li:not(.active) .btns button:not(.selected),
.side-usages li:not(.active) p {
    display: none;
}

li .btns button.never {
    border-color: #b5b5b5;
    color: #979797;
    margin: 0;
}

.question-wrap .factors-items .answers li {
    border: none;
    margin: 0;
}

.side-usages li.active {
    background: white !important;
}



    .side-usages li.active > div {
        display: block;
    }

    .side-usages li.active .btns .btn-group {
        margin-right: 1rem;
    }

.side-usages li .btns .form-group {
    margin: 0;
    padding: 0;
    line-height: 1;
    /* margin-left: 1rem; */
}

.question-wrap .factors-items .answers .answer {
    border: none;
    margin: 0;
    padding: 0;
}
.question-wrap .factors-items .active .answers .answer {
    margin: 5px 0 0;
}

    .question-wrap .factors-items .answers .answer label{
        margin-top:2px;
        margin-bottom: 0;
    }
    .question-wrap .factors-items .answers .answer .help-block {
        color: gray;
    }


.question-wrap .question {
    /* display: block; */
    display: flex;
    align-items: center;
    line-height: 1.7;
}

.side-usages li:not(.active) .answers .answer label {
    color: var(--color-link);
    margin-top: 0px;
}

.question-wrap .factors-items .answers .answer > div:first-child label {
    font-weight: normal;
}

#p-usage h4 {
    font-size: 1rem;
    margin: .5rem;
}

    #p-usage h4 + p {
        display: none;
    }

#p-usage {
    padding: 0 1rem 1rem;
    position: relative;
}

    #p-usage li p {
        margin: 0;
        font-size: 0.9em;
    }

    #p-usage .resetFactors {
        /* position: absolute; */
        /* left: 0rem; */
        /* top: 0px; */
        /* margin: -0.5rem 1.5rem; */
    }


.no-results {
    margin-top: 2rem;
}


    .no-results .filter-tags {
        display: inline-block;
    }

        .no-results .filter-tags > label {
            /* display: none ; */
            font-weight: bold;
        }

        .no-results .filter-tags ul,
        .no-results .filter-tags {
            overflow: visible;
        }

            .no-results .filter-tags > ul {
                display: inline-grid;
                margin: 0 auto;
                grid-template-columns: repeat(3, 1fr);
                padding-right: 0;
            }

            .no-results .filter-tags ul li {
                /*flex: 0 1 13rem;*/
                padding: .5rem;
                margin: .4rem;
                background: white;
            }

                .no-results .filter-tags ul li:hover {
                    cursor: pointer;
                    background: var(--color-accent-light);
                }

                .no-results .filter-tags ul li b {
                    max-width: 10rem;
                    font-weight: 500;
                    color: black;
                }

                .no-results .filter-tags ul li a {
                    margin-left: 0;
                    margin-right: .5rem;
                }

                .no-results .filter-tags ul li [data-toconsd] {
                    flex: 1;
                    text-align: right;
                }

.factors-items li > div:first-child label {
    font-weight: bold;
    /* margin: 5px 0; */
    position: relative;
    line-height: 1;
}

    .factors-items li .ai{
        margin: 0 5px;
    }

    .factors-items li > div:first-child label,
    .side-menu .factor-legend .custom-checkbox label {
        font-size: 0.9rem;
    }

.brackets {
    font-weight: normal;
    font-size: 12px;
    line-height:1.2;
    padding: 0px 4px;
    color: #6768d1;
    background: #eaeaff;
    border: 1px solid #eaeaff;
    margin-right: 5px;
    border-radius: 3px;
}

    .brackets.zero{
        color: #b1b1b1;
        background: none;
    }

    .side-menu .factor-legend .spec,
    .side-menu .factor-legend .spec .custom-checkbox label {
        font-size: 0.8rem;
    }

.side-menu .factor-legend .spec {
    margin: 7px 0;
}
        /*#endregion */
        /*#region factor-items */
        .factors-items li .custom-switch {
            padding-right: 0;
            padding-left: 0;
        }

    .factors-items li .custom-switch label {
        margin-right: 0;
        display: block;
        width: 100%;
    }

        .factors-items li .custom-switch label::after,
        .factors-items li .custom-switch label::before {
            right: unset;
            left: 0;
        }

        .factors-items li .custom-switch label::after {
            transform: translateY(-50%) translateX(0.85rem);
        }

.factors-items .custom-switch input:checked ~ label::after {
    transform: translateY(-50%) translateX(0.1rem);
}


.factors-items li.showAll {
    text-align: center;
    border: none;
    color: var(--color-link);
    padding-top: .5rem;
}

    .factors-items li.showAll i {
        line-height: 1;
        display: inline-block;
    }


.factors-items li > * {
    line-height: 2;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
}

.factors-items li + li {
    border-top: 1px solid var(--color-border);
}
.side-usages li > p, .factors-items li > p, .side-features li > p {
    font-weight: normal !important;
    line-height: 1;
    font-size: 0.9rem;
    margin-top: 0;
    /*margin-bottom: 0;*/
    margin-bottom: .5rem;
    color: #545454 !important;
    display: block;
}

.side-usages li > p {
    margin-right: 18px;
    margin-bottom: 0;
}

.factors-items .custom-checkbox label {
    margin: 0;
}

.factors-items li:not(.checked) [name="Weight"],
.factors-items li:not(.checked) > .factor-legend {
    display: none;
}


/*#endregion */

/*#region filter-tags */
.filter-tags {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
}

    .filter-tags ul {
        display: flex;
        align-items: center;
        margin: 0;
        /* padding-right: 1rem; */
    }

        .filter-tags ul li {
            /* background: #fbedf7; */
            /* margin: .25rem; */
            padding: .25rem .75rem;
            outline: 1px solid var(--color-border);
            border-radius: 0.25rem;
            font-size: 0.85em;
            line-height: 1;
            display: inline-flex;
            /* align-items: center; */
        }

            .filter-tags ul li span {
                color: gray;
                font-size: 0.8em;
                display: block;
                white-space: nowrap;
            }

            .filter-tags ul li a {
                margin-right: 0;
                color: var(--color-link);
                margin-left: -0.7rem;
                height: 1.3em !important;
                width: 1.3em !important;
                font-size: 1em;
                border-radius: 0 !important;
                align-items: start !important;
            }

            .filter-tags ul li b {
                max-width: 7rem;
                display: inline-block;
                vertical-align: middle;
            }

            .filter-tags ul li [data-toconsd] {
                background: none !important;
            }
/*#endregion */
@media (max-width: 576px) {
    #side-menu .nav-tabs .nav-link {
        font-size: 14px;
        padding: .7rem;
    }
}


@media only screen and (min-width: 667px) {
    .btn-group > button {
        min-width: 5rem;
    }
  
}



@media only screen and (min-width : 668px) {
    .compare .side-menu {
        /* position: fixed; */
        top: 5rem;
        width: 16rem;
        height: 100vh;
    }


    #side-menu .side-bottom {
        display: none;
    }

}

@media only screen and (max-width: 667px) {
    .compare .side-menu .tab-content {
        max-height: calc(100vh - 8rem);
    }

    .compare .side-menu {
        padding: 1rem;
        overflow: visible;
    }

        .compare .side-menu > * {
            position: relative;
        }

        .compare .side-menu.show .overlay {
            top: 0;
            right: 0;
            bottom: 0;
            /* left: 0; */
            width: 100%;
            position: fixed !important;
        }

    .side-menu {
        max-width: 25rem;
        margin-right: -25rem;
    }



    .side-head {
        margin: -1.5rem -1rem 0;
    }


    #side-menu {
        /* overflow: hidden; */
        transition: 0.3s;
        width: 100%;
        /* margin-top: 3.1rem; */
        padding: 0;
        /* height: calc(100% - 3rem); */
    }

        #side-menu .tab-content {
            /* overflow: auto; */
            /* height: calc(100vh - 5rem); */
            /* margin-bottom: 8rem !important; */
        }
}