
    .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: 32;
    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 !important;
    }


    .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 supporting */
.factor-side .factors-items li .supporting{
    margin-bottom:0;
    /* border: 1px solid #f2f2ff; */
    display: none;
}

.factor-side .factors-items li.checked .supporting{
    display:block;
}

.supporting li > div{
    align-items: center;
}

    .supporting li > div > label {
        font-weight: 500;
        margin-bottom: 1rem;
        flex:1;
    }

    .supporting li > div > label + a{
        font-size: 0.875rem;
        padding: 0;
    }

    .supporting-ops {
        max-height: 8rem;
        overflow: auto;
        margin-top: 0.5rem;
        display: none !important;
    }

.supporting-ops.show{
    display: block !important;
}

  


    .supporting label[data-toggle="collapse"] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
        user-select: none;
        margin-bottom: 0;
        font-weight: 500 !important;
        justify-content: center;
    }

    .supporting [data-toggle="collapse"] i {
        transition: transform 0.2s ease;
    }

    .supporting [data-toggle="collapse"]:not(.collapsed) i {
        transform: rotate(180deg);
    }


    .supporting li{
         background: #f8f8ff;
         padding: 0.75rem 0.95rem !important;
    }
    .supporting li + li {
        /* border-top-color: #dfd4ba !important; */
       
    }

.supporting table{
    margin-bottom:0;
}

.factors-items .supporting .custom-checkbox label {
    white-space: normal;
    max-width: 15rem;

}
/*#endregion */
/*#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.95rem;
}
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;
}

/* Hide unselected items when collapsed (only on page load) */
.filter-specs.collapsed .filter-row.spec:not(.selected) {
    display: none;
}

.filter-specs.collapsed .show-more-btn {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--color-primary);
    font-weight: 500;
}

.filter-specs:not(.collapsed) .show-more-btn {
    display: none;
}

/* Hide unselected items when collapsed for supporting-ops (technical fields) */
.supporting-ops.collapsed tbody tr:not(.selected) {
    display: none;
}

.supporting-ops.collapsed .show-more-btn {
    display: block;
    margin-top: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--color-primary);
    font-weight: 500;
}

.supporting-ops:not(.collapsed) .show-more-btn {
    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 > *:not(ul) {
    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 !important;
    }



    .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); */
        margin-top: 0;
    }

        #side-menu .tab-content {
            /* overflow: auto; */
            /* height: calc(100vh - 5rem); */
            /* margin-bottom: 8rem !important; */
            padding: 0.5rem;
        }
}
main {
    display: inline-flex;
    gap: 1rem;
    width: 100%;
    text-align: right;
    max-width: 1280px;
    position: relative;
    /*border-bottom: 1px solid red;*/
    /* align-items: stretch; */
}

amain > .container-fluid {
    min-height: unset;
    padding: 0;
    text-align: center;
}

.container-fluid > nav {
    background: none !important;
    padding-bottom: 0 !important;
}


.side-prod {
    padding-left: 1rem;
    position: relative;
}

    .side-prod .prod {
        overflow: auto;
        height: 100%;
        padding-bottom: 0;
    }

    .summary::-webkit-scrollbar,
    .results::-webkit-scrollbar,
    .side-menu .tab-content::-webkit-scrollbar,
    .side-prod::-webkit-scrollbar {
        width: 0px;
        height: 0px;
    }

.summary::-webkit-scrollbar {
    width: 3px;
}

/*.side-menu > .abs-end {
    display: flex;
    top: 22px;
    z-index: 1021;
    align-items: center;
}

    .side-menu > .abs-end > * {
        position: relative !important;
    }
*/

#saveuser-sec{
    margin-bottom:1rem;
}
header {
    margin: 0;
}


.side-prod:not(:empty) {
    /* border-right: 1px solid var(--color-border); */
    /* padding-right: 1.5rem; */
    box-shadow: 3px -3px 10px rgb(0 0 0 / 15%);
}

.side-prod section {
    padding: 2rem 2rem;
}

.results,
.price-chart-vert {
    padding: 0 0.5rem 5rem;
}

.tab-head {
    display: flex;
    align-items: center;
    margin: 1px 0 0.5rem;
    /*background: #f4f4f4;*/
    padding: 10px 1rem;
}

    .tab-head input {
        font-size: 12px;
        /*border:none;*/
        max-width: 7rem;
    }

    .tab-head .custom-switch {
        /* padding: 0; */
    }

button#toggleSideMenu {
    border: 1px solid #ced4da;
    background: white;
    padding: 5px 8px;
    color: black;
    font-size: 14px;
}

    button#toggleSideMenu i {
        font-size: 14px;
    }

    button#toggleSideMenu:hover {
        background: var(--color-link);
    }

.results h5 {
    position: sticky;
    top: 6px;
    z-index: 18;
    font-size: 16px;
    padding: .5rem 0.5rem .5rem;
    display: inline-flex;
    margin-bottom: 1rem;
    margin: 0 -.75rem 1rem;
    border-top-left-radius: 6px;
    box-shadow: 0px 2px 0px 0px #b8b8e9;
    border-bottom-left-radius: 6px;
    background: #eeeefd;
}

.results div + h5 {
    margin-top: 3rem;
}


.results a + h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.results .alter + h4 {
    margin-top: 2rem;
}


.results .group + .group {
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.results h4 {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--color-accent);
}

.results .group-content h4 {
    margin-bottom: 1rem;
}

.results .group-content h1 {
    margin: 0;
    font-size: 30px;
}

.group-content .group-head {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1;
    align-items: baseline;
}

    .group-content .group-head > * {
        line-height: 1;
        white-space: nowrap;
    }



.res-p,
.results .group > p {
    line-height: 1.2;
    margin-top: 2px;
    font-size: 0.9em;
    color: gray;
}

.group > .box {
    /* margin-bottom: 1.5rem; */
}

section {
    /* margin-bottom: 0; */
}


.group-content {
    background: none !important;
    padding-top: .5rem;
}

.res-head {
    margin-top: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    display: none;
}

    .res-head .btn {
        display: flex;
        font-size: 14px;
        padding: 5px .5rem;
        background: white;
        border: 1px solid #ced4da;
        align-items: center;
    }

        .res-head .btn:hover {
            background: var(--color-link);
            color: white;
        }

        .res-head .btn i {
            font-size: 0.9em;
        }

    .res-head input,
    [name="SortBy"] {
        font-size: 14px;
        padding: 5px 5px;
        line-height: 1;
        height: 100%;
    }

.sort-by {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
}

    .sort-by label {
        font-size: 14px;
        color: gray;
    }

#filterRes {
    width: 7rem;
}

.vpm,
.trn {
    display: none;
}





#above-budget {
    /* opacity: 0.6; */
    /* color: red; */
    background: #fff6f6;
    /* border-bottom: 1px solid #e59698; */
    box-shadow: 0px 2px 0px 0px #efbaba;
}

.results .filtered-out:not(:hover) {
    opacity: 0.7;
    /* box-shadow: none !important; */
}

/*.above-budget .price {
    color: #ff0e00 !important;
}*/
/*#region side-placeholder */
.side-placeholder {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: gray;
    gap: 1rem;
    text-align: center;
}

    .side-placeholder p {
        margin: 0;
    }

    .side-placeholder .altr-name {
        justify-content: center;
    }

    .side-placeholder .alter-sku {
        font-size: 0.8em;
        margin-top: 3px;
    }
/*#endregion */
/*#region Leaing Item */
.alter .item-content .details > div:first-child {
    flex-direction: column;
    gap: 0;
}

.alter .price-wrap {
    /* text-align: left; */
    /* position:absolute; */
    /* bottom:0; */
    /* left:0; */
}

.item.leading .alter .card-img {
    font-size: 2.5rem;
    position: relative;
}

.item.leading .score-box.ball {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}
/*.results .leading .item-content > div > div:first-child {
    display:block;
}*/

.results .leading .price * {
    /* font-weight: normal; */
}
/*#endregion */

/*#region chart vert */
.price-chart-vert > div {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: .5rem;
    background: #d3d3f1;
    border-top-left-radius: 27px;
    border-bottom-left-radius: 26px;
}

    .price-chart-vert > div:hover {
        cursor: pointer;
    }

    .price-chart-vert > div .card-img {
        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 {
        flex: 1;
        font-size: 13px;
        line-height: 1.2;
        margin-left: 6px;
        padding-right: 2px;
        cursor: pointer;
    }

        .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; */
    }

.price-chart-vert .selected,
.price-chart-vert > div:hover {
    cursor: pointer;
    background: #a1a1db;
}

.price-chart-vert > div:not(:hover) label > span {
    color: var(--color-primary-dark);
    font-weight: 500;
}

/*#endregion */

/*#region CARD */



.results .alter {
    /* display: flex; */
    position: relative;
    margin-bottom: 1rem;
    border-radius: 6px;
    /* max-width: 33rem; */
    /* border: 1px solid #D3D5FF; */
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    color: initial;
    align-items: stretch;
    /* overflow: hidden; */
    /* max-width: 30rem; */
}

    .results .alter .item-content a:not(.btn):not(.recomand) {
        text-decoration: none !important;
        color: initial;
    }


.results .item:hover,
.results .item.active {
    background: #e1e1ff;
    background: linear-gradient(90deg, #e8e8ff 16%, white);
    /* color: white; */
}

.results .alter > a:first-child {
    flex: 1;
}

.results .alter > a:not(.recomand) {
    color: black;
    text-decoration: none;
    padding: 0;
    display: block;
}

.group-content a.recomand {
    display: inline-block;
    position: absolute;
    text-decoration: none;
    top: -1em;
    right: 1em;
}

    .group-content a.recomand:hover {
        color: white;
    }


    .alter > .compare-btn {
        background: #fac;
        display: inline-flex;
        opacity: 0.9;
        align-items: center;
        font-size: 0.9em;
        padding: 0 7px;
        transition: all 0.3s ease-in-out;
        z-index: 1;
        flex-direction: column;
        justify-content: center;
        max-width: 4rem;
        text-align: center;
        line-height: 1.2;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
    }

.alter .actions {
    display: flex !important;
    padding: 0 1rem .5rem;
    gap: 1rem;
    /*justify-content: flex-end;*/
    border-top: 1px solid var(--color-border);
    padding-top: .5rem;
    font-size: 0.9em;
}

    .alter .actions a {
        color: #4b4b4b;
    }


.results .active .price {
    /*color: white;*/
}

.results .item-content {
    /* display: flex; */
    align-items: stretch;
}

.results .item-content {
    width: 100%;
    gap: 5px;
}

    .results .item-content > span {
        display: none;
    }

.results .card-side {
    text-align: center;
}

.add-to-com {
    font-size: 12px;
    padding: 2px 5px;
}

.results .add-to-com.selected {
    background: var(--color-accent);
    border-color: var(--color-accent) !important;
    !i;
    !;
}

.results .group-content .alter .card-img {
    height: 2.1em;
    padding: 02px;
    width: 2.1em;
    display: inline-flex;
    text-align: center;
    background: white;
    margin: 1px;
    font-size: 2rem;
    /* margin-left: 11px; */
    align-items: center;
    justify-content: center;
}


.results .alter img {
    max-height: 100%;
    max-width: 100%;
}

.results .details > div > label,
.score-bar,
.results .details {
    flex: 1;
}

    .results .details h6 {
        font-weight: normal;
        font-size: 12px;
        margin: 0;
        color: gray;
        margin-top: 5px;
        margin-bottom: 0.2rem;
    }



.results .details {
    padding: 4px 0 0;
    /* height: 100%; */
    gap: 0;
    display: flex;
    flex-direction: column;
}

    .results .details a {
        color: black;
    }

.results .bottom > div:not(.card-vendors) {
    display: flex;
    gap: .5rem;
    font-size: 16px;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: center;

}

.results .bottom .bar-row {
    margin-top: 3px;
}

.results .item-content .details > div:first-child {
    /* align-items: center; */
    line-height: 1;
    flex: 1 1 100%;
    /* min-height: 2.2rem; */
    position: relative;
    /* align-items: baseline; */
}


.results .bottom {
    align-items: baseline;
    /* margin-top: 4px; */
    /* flex-direction: row-reverse; */
}



.results .score {
    font-size: 0.8em;
    /* width: 13.2em; */
    flex: 0 0 3.2em;
}

    .results .score b {
        background: #DFE0FE;
        padding: 1px 5px;
        display: block;
        font-size: 12px;
        text-align: center;
        font-weight: 500;
        /* text-decoration: none; */
        text-shadow: 0px 0px 4px rgb(0 0 0 / 75%);
        color: #ffffff;
        border-radius: 4px;
    }

.results .item-content label {
    flex: 1;
    font-size: 0.9em;
    line-height: 1.2;
    /* margin-left: 6px; */
    /* font-weight: 500; */
    /* padding-right: 2px; */
    cursor: pointer;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

.results .item-content-content label > span {
    display: block;
    font-size: 0.9em;
}

.results .item-content:not(:hover) label > span {
    color: #595978;
}

.results .item-content .valPerMoney {
    /* display: none; */
    left: -2rem;
}

.results .item-content .altr-name {
    /* flex-direction: column; */
    gap: 5px 0;
    flex-wrap: wrap;
    align-items: baseline;
}

    .results .item-content .altr-name > span:first-child {
        flex: 1 1 100%;
    }

.results .item-content .altr-variant {
    /* font-size: 16px; */
    /* font-weight: 500; */
}

.results .item-content .alter-sku {
    flex: unset;
    font-weight: normal;
    flex: 1 1 100%;
}

    .results .item-content .alter-sku:before {
        /* content: '|'; */
        padding: 2px 5px;
        color: lightgray;
    }


.results .score-box.ball {
    /* margin-left: 0.4rem; */
}

    .results .score-box.ball .outer {
        /* font-size: 1.5rem !important; */
        /* outline: 2px solid #d3d3f1; */
    }

.results .selected {
    /* cursor: pointer; */
    /* outline: 1px solid #ff9dcf; */
    /* box-shadow: 0px 0px 6px 2px rgb(128 129 229 / 60%); */
    /* background: var(--color-accent-light); */
}

    .results .selected:before {
        /* content: ''; */
        width: 5px;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background: var(--color-accent);
        border-radius: 10px;
    }




.results .item-content:not(:hover) label > span {
    color: black; /* var(--color-primary-dark);*/
    font-weight: 500;
}

.results .price {
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    font-weight: 500;
    /* color: var(--color-primary-dark); */
}

.price-wrap {
    /* display: flex; */
    line-height: 1;
    /* flex-direction: column; */
}

    .price-wrap span:first-child {
        font-size: 12px;
        font-weight: normal;
        color: gray;
    }

.ic {
    width: .75rem;
}

.card-menu {
    position: absolute;
    left: 0;
    text-align: center;
    /* background: red; */
    top: 0px;
    height: 2rem;
    width: 2rem;
    line-height: 2rem;
    z-index: 1;
    cursor: pointer;
}

    .card-menu .add-compare i,
    .card-menu .compare-lead i {
        position: relative;
    }

        .card-menu .add-compare i::after,
        .card-menu .compare-lead i::after {
            /*small add icon on bottom left */

            font-size: 0.75em;
            color: var(--color-link);
            position: absolute;
            bottom: -.35em;
            left: -.35em;
            /*text border*/
            text-shadow: 0 0 3px white;
        }

        .card-menu .compare-lead i::after {
            content: "\f091";
        }

        .card-menu .add-compare i::after {
            content: "\f055";
            background: white;
        }

.score-bar {
    border-radius: 3px;
    background: white;
    height: 7px;
    padding: 0 !important;
    /* max-width: 15rem; */
    flex: 1;
    position: relative;
}

    .score-bar > div {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        transition: width 1.5s ease; /* Animate the width over 1.5 seconds */
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }



    .score-bar + div {
        font-size: 0.9em;
    }

        .score-bar + div .unit {
            font-size: 0.9em;
        }

[data-width],
.score .outer {
    transition: width 1.5s ease, background-color 1.5s ease;
}

.results .no-results {
    color: gray;
    display: flex;
    padding: 1rem .5rem;
    margin: 1rem 0 2rem;
    background: white;
    align-items: center;
    justify-content: center;
}

    .results .no-results p {
        line-height: 1.2;
        margin-top: 2px;
        font-size: 0.9em;
        color: gray;
    }


/*#endregion */

/*#region filter-tags */


.filter-tags {
    /* display: block; */
    border-bottom: 1px solid #f0f0ff;
    padding: .5rem 0 1rem;
    gap: .75rem;
    margin-bottom: 0;
}

    .filter-tags > ul {
        display: flex;
        gap: 5px;
        /* flex-wrap: wrap; */
    }

    .filter-tags::-webkit-scrollbar {
        display: none;
    }

    .filter-tags li {
        padding: 5px 0.5rem 5px 4px;
        margin: 0;
    }

        .filter-tags li > div {
            white-space: nowrap;
        }

        .filter-tags li button.btn {
            font-size: 10px;
            height: 1.3em;
        }


    .filter-tags > label {
        /* font-weight: normal; */
        /* margin-bottom: .5rem; */
        /* display: none; */
        font-size: 14px;
        color: gray;
    }

    .filter-tags .price-filter {
        display: flex;
    }
/*#endregion */

/*#region place */
.place {
    display: inline-block;
}

.results .place {
    font-size: 12px;
    margin-bottom: 0;
    margin-top: 0;
    /* flex: 0 0 2rem; */
    /*background: red;*/
    /* width: 1.5em; */
    /* height: 1.5em; */
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inshort-icon,
.results .place {
    position: absolute;
    right: 5px;
    /* margin: 1px; */
    top: 6px;
    z-index: 1;
}

.inshort-icon {
    color: var(--color-accent);
    margin: 1px;
    font-size: 18px;
    text-shadow: 0 0 4px var(--color-accent);
}
/*#endregion */

/*#region best */
.best {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 35rem;
}

    .best > .alter {
        flex-direction: row;
        font-size: 1rem;
        padding: .5rem;
        border: none;
        border-radius: 6px;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
        color: black;
    }

    .best .alter img {
        width: 5rem;
    }

.alter h2 {
    font-size: 15px;
    gap: 5px;
    color:black;
    /* display: flex; */
    /* flex-direction: row-reverse; */
    margin: 0;
    justify-content: space-between;
    align-items: flex-start;
}

.alter h4 {
    font-size: 15px;
    margin: 0 !important;
    padding:0;
}

.alter .price {
    justify-content: flex-start;
}

.best .alter .rect {
    position: absolute;
    top: 0;
    right: 0;
    margin: .5rem;
}

.alter .card-img {
    padding: 0;
    padding-left: 0;
    width: unset;
}


.best .next .compare .alter {
    text-align: center;
}

.best .next .diffs .alter img {
    font-size: 3rem !important;
}

.best .next .diffs .alter .card-body h3 {
    font-size: 14px;
}

.best .next .alter .card-img {
    padding: 0rem;
}

.best .next .diffs.grid .line {
    grid-template-columns: repeat(3, 1fr);
}

.best .compare .diffs .consd-card .consd-title {
    flex-wrap: wrap;
    justify-content: flex-start !important;
}

.best .next .diffs > h3 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    text-align: right;
    /*padding-left: 5rem;*/
}

.best .next .diffs .price {
    text-align: center;
    font-size: 14px;
}


.dynColWrap .pre {
    white-space: pre-wrap;
    max-width: 35vw;
    display: inline-block;
}
/*#endregion */

/*#region compare */
.compare > p {
    display: none;
}

.compare h1 {
    margin-bottom: 2rem;
}

.diffs.grid .line.header {
    top: -1rem;
}

.consd-title + i {
    display: none;
}

.close-compare {
    position: fixed;
    top: 48px;
    z-index: 22;
    /* background: white; */
    right: -1.8rem;
    margin: 1rem .5rem;
    /* border-radius: 4px !important; */
    /* width: 1.5rem !important; */
}

.side-prod.show .close-compare {
    right: 4px;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #ced4da;
    background: white;
    padding: 2px 8px;
    color: black;
    font-size: 14px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

    .side-prod.show .close-compare i::before {
        /* content: "\f104"; */
    }


/*#endregion */

/*#region compare line info */
.compare .line-info {
    padding-top: 0;
    min-height: unset;
}

.compare .line:not(.selected) + .line-info {
    display: none;
}

.compare .line-info .side-consd .nav-tabs {
    margin-top: -1px;
}

/*#endregion */

/*#region summary */
.summary {
    margin: 0 auto;
    max-width: 50rem;
}

    .summary .msg > div {
        max-width: 100%;
    }

    .summary .alter img {
        width: 3.5rem;
    }

    .summary .in-words,
    .summary .msg-alter ~ * {
        max-width: 30rem;
    }

.point-item {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
    align-items: baseline;
}

    .point-item > :first-child {
        width: 1rem;
    }

.summary .msg-alter > .alter {
    /*padding:0 .5rem;*/
}

.summary.best .alter .card-img {
    padding: 0;
}

.summary.best .alter .place {
    font-size: 12px;
}

.summary.best .alter .altr-name {
    /*so wonr break name*/
    display: inline-block;
}

    .summary.best .alter .altr-name .altr-variant {
        display: block;
        font-size: 0.9em;
    }

.summary .msg-alter .alter {
    margin-bottom: .5rem;
}

.summary .msg > div > a {
    display: inline-block;
    /* margin: 0.3rem 0; */
    margin: 0;
}

.summary .no-results {
    margin: 0;
}

    .summary .no-results .filter-tags > label {
        display: none;
    }

    .summary .no-results .filter-tags > ul {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        align-items: center;
        margin-top: 5px;
    }

    .summary .no-results .filter-tags ul li {
        padding: 5px;
        margin: 0;
    }

        .summary .no-results .filter-tags ul li button {
            padding: 0;
            font-size: 13px;
        }
/*#endregion */

/*#region bot-wrap  */

#bot-wrap {
    position: fixed;
    direction: rtl;
    display: flex;
    flex-direction: column;
    text-align: right;
    bottom: 0px;
    z-index: 19;
    max-width: 95vw;
    border: none;
    left: 3vw;
    transition: 0.3s;
    height: calc(100% - 10vh);
    max-height: 670px !important;
    width: 350px;
    background: white;
    border-radius: 8px 8px 0px 0;
    box-shadow: 0 12px 28px 0 rgba(0,0,0,0.2), 0 2px 4px 0 rgba(0,0,0,0.1);
}

    #bot-wrap:not(.show) {
        transform: translate(0,calc(100% - 2.5rem));
    }

#bot-header {
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0px 0;
    background: VAR(--color-link);
    padding: .5rem .75rem;
    cursor: pointer;
}

    #bot-header > :first-child {
        flex: 1;
        /* font-size: 1.1em; */
        /* font-weight: bold; */
    }

    #bot-header,
    #bot-header i {
        color: white !important;
    }


        #bot-header .btn-icon {
            font-size: 14px;
        }

#bot-wrap .msg > div {
    /* font-size: 16px; */
    line-height: 1.2;
}

#bot-wrap h2 {
    display: none;
}

#bot-wrap .summary {
    padding: 1rem;
    max-width: 100%;
    overflow: auto;
}

    #bot-wrap .summary .msg-alter .alter {
        width: 100%;
        gap: 11px;
    }

#bot-wrap:not(.show) .close-bot i:before {
    content: "\f106";
}

#bot-wrap .chat-box {
    padding: 0.75rem 1rem;
}
/*#endregion */

/*#region compare-bar */
.compare-bar {
    position: absolute;
    bottom: -1px;
    width: 100%;
    max-width: 30rem;
    background: #8081e5de;
    padding: 0.75rem 1rem;
    /*use transtion to slide from bottom to top*/
    transition: transform 0.3s;
    transform: translateY(100%);
    z-index: 1;
    /*display: flex;*/
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem 0.5rem 0 0;
    color: white;
}

    .compare-bar.show {
        transform: translateY(0);
    }
    /*   .compare-bar:not(.show){
        display:none;

    }*/

    .compare-bar > div {
        display: flex;
        width: 100%;
    }

    .compare-bar ul {
        display: flex;
        gap: .5rem;
        margin: 0;
        flex: 0 0 calc(100% - 5rem) !important;
    }

    .compare-bar li {
        display: flex;
        position: relative;
        border-radius: 3px;
        gap: 3px;
        padding: 0 3px;
        background: #FFF;
        /*box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);*/
        color: initial;
        flex: 1 1 50%;
        align-items: center;
        overflow: hidden;
    }

        .compare-bar li:empty {
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

            .compare-bar li:empty::after {
                content: '+';
                font-size: 1.5rem;
                color: var(--color-link);
                font-weight: bold;
            }

        .compare-bar li .card-img {
        }

        .compare-bar li img {
            max-height: 2rem;
            max-width: 2rem;
        }

        .compare-bar li label {
            font-size: 12px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2; /* Limit to 2 lines */
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
            /* max-width: 4.4rem; */
        }

    .compare-bar button:disabled {
        opacity: 1;
        background-color: #8b8b8b;
        color: #dfdfdf;
    }

    .compare-bar li i {
        position: absolute;
        font-size: 14px;
        left: 0;
        top: 0;
        margin: 3px;
        color: var(--color-link);
    }


.alter-drop {
    transition: transform 0.3s;
    /*transform: translateY(100%);*/
}

    .alter-drop:not(.show) {
        display: none;
    }

.compare-bar app-select *,
.select2-container {
    font-size: 14px !important;
}

.compare-bar app-select {
    margin-bottom: .5rem;
}

.select2-container--default .select2-results__option {
    padding: 5px;
}

.select2-container--default .select2-selection--single {
    padding: 5px;
    height: 2rem;
}


/*#endregion */

/*#region compare-to */

.compare-cards {
    overflow: auto;
    display: flex;
    gap: 0.75rem;
    /* margin-top:1rem; */
    padding: 1rem 3px 1rem;
    /* justify-content: space-evenly; */
}

    .compare-cards .card {
        flex: 0 0 16rem;
        min-width: 11rem;
        padding: 0 0 0;
        margin-bottom: .75rem;
        order: 2;
        background: #fdfdff;
        background: white;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
        border: 1px solid #f0f0ff;
        border-radius: 8px;
    }

        .compare-cards .card.leading {
            /* outline: 2px solid #f9ad0e; */
        }

        .compare-cards .card > a .item-content {
            height: 100%;
            text-decoration: none;
            gap: 0.75rem;
            color: black;
        }

        .compare-cards .card,
        .compare-cards .card > a .item-content {
            display: flex;
            flex-direction: column;
            /* justify-content: space-between; */
            /* gap: 0.75rem; */
            align-items: center;
            margin: 0;
        }


            .compare-cards .card .card-img {
                max-width: 100%;
                flex: unset;
                text-align: center;
            }

                .compare-cards .card .card-img img {
                    height: 13rem;
                    max-width: 100%;
                    object-fit: contain;
                }

            /*.compare-cards .card .price,*/
            .compare-cards .card h3 {
                font-size: 16px;
                text-align: center;
                color: black;
                /* margin: 0; */
                justify-content: center;
            }

            .compare-cards .card .price {
                /* font-size: 16px; */
            }




    .compare-cards .altr-name {
        justify-content: center;
        flex-direction: column;
    }

    .compare-cards .alter .score-box {
        /* font-size: 14px; */
        /* bottom: -6px; */
        /* top: unset; */
        /* font-weight: 500; */
        /* left: 20px; */
        /* right: unset; */
        /* margin: 0; */
    }

        .compare-cards .alter .score-box .outer {
            width: unset;
            height: unset;
            /* line-height: 2; */
        }

    .compare-cards .score-box.rect .val:after {
        /* content: ''; */
        font-size: 0.7em;
    }

    .compare-cards .score-box.rect .val {
        font-size: 16px;
        display: flex;
        gap: 2px;
        padding: 2px 5px;
        align-items: baseline;
        justify-content: center;
    }

.alter .card-body {
    padding: 0;
    flex: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
}

.compare-cards .altr-variant {
    font-size: 0.9em;
}

.compare-cards .main-techs,
.compare-cards .card-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compare-cards .main-techs {
    margin-bottom: .5rem;
}

.compare-cards .card-bottom .btn {
    padding: 3px 1rem;
    font-size: 14px;
}


.compare-cards .bottom .score-bar {
    flex: 1 1 100%;
}



.compare-cards .alter-sku {
    font-weight: normal;
}
/*#endregion */

/*#region shortlist */
#shortlist {
    background: #e8e8ff;
    padding: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}
/*#endregion */


/*#region alter variants */
/*.variants > div,*/
.variants {
    /*display: flex;
    gap: 5px;
    align-items: baseline;*/
    /* font-size: 13px; */
}

    .variants table {
        width: 100%;
    }

        .variants table tr th:first-child {
            width: 40%;
        }

    .variants .varnt-head {
    }

.variants {
    padding: .5rem .5rem;
    width: 100%;
    /* background: #f9f9ff; */
}

    .variants th,
    .variants label {
        font-size: 12px;
        font-weight: normal;
        line-height: 1;
        color: gray;
        flex: 0 0 3rem;
    }

    .variants tr td .score {
        margin-right: auto;
    }

    .variants > div {
        flex: 1;
        flex-wrap: wrap;
    }

    .variants .varnt-head, .variants .alter > a {
        /* gap: 5px; */
        /* align-items: flex-end; */
        /* display: grid; */
        /* grid-template-columns: auto 7em 7.2em; */
    }

    .variants .alter > a {
        /*background: #ddddff;*/
        text-decoration: none;
        /*;text-decoration: n;; color: black; */
        border-radius: 6px;
        padding: 5px 0;
        /* display:inline-flex;*/
    }

    .variants a > div {
        text-decoration: underline;
    }

    .variants td > span {
        color: black;
        display: inline-flex;
        gap: 3px;
        align-items: center;
    }

    .variants a .unit {
        font-size: 0.9em;
        /* color: var(--color-accent); */
    }

    .variants td .v-price {
    }

    .variants td i.fa.round {
        font-size: 8px;
    }




.item-content .details a {
    text-decoration: none;
    font-size: 14px;
    margin-bottom: .5rem;
}

.item-content .details a {
    border-top: 1px solid #f0f0ff;
    padding-top: .5rem;
}

.vrnt-top {
    display: flex;
    justify-content: space-between;
}
/*#endregion */

/*#region .variants-tags */

.results .bottom > div.variants-tags {
    display: flex;
    justify-content: normal;
    font-size: 13px;
    gap: 3px 3px;
    margin-bottom: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.results .compare-cards .bottom > div.variants-tags {
    justify-content: center;
}

.variants-tags {
    display: flex;
    gap: 5px;
    /* font-size: 13px; */
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

    .variants-tags > * + * {
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

    .variants-tags > * {
        border: 1px solid #e8e9ff;
        padding: 0px 4px;
        font-size: 13px;
        border-radius: 3px;
        display: flex;
        justify-content: space-between;
        font-weight: normal;
        align-items: center;
    }


    .variants-tags .s {
        /* font-weight: 500; */
        background: #eeeeff;
        border-color: transparent;
    }

    .variants-tags > *:not(.s) {
        color: gray;
    }

    .variants-tags > *:hover {
        background: var(--color-link);
        color: white !important;
    }
/*#endregion */

/*#region group-model */
.group-model {
    background: #dbdbff;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 7px;
    margin: 1rem 0.75rem 0rem;
}

    .group-model h3 {
        font-size: 16px;
        margin: 0;
        font-weight: 500;
    }

    .group-model .variants {
        padding: 4px 5px;
        background: none;
        display: flex;
        overflow: auto;
        gap: 1rem;
        /* width: calc(100% + 4rem); */
        /* margin: 0 -1.8rem; */
        align-items: flex-end;
    }

        .group-model .variants .alter {
            flex: 0 0 25rem;
            max-width: 93vw;
        }

    .group-model .alter a * {
        text-decoration: none;
    }

    .group-model .main-techs {
        margin-top: 5px;
    }

    .group-model .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.3rem;
    }

        .group-model .head .btn,
        .group-model .head .slide-nav {
            font-size: 14px;
            font-weight: 500;
            background: #b5b6ff;
            /* color: white; */
            padding: 0 5px;
            border-radius: 4px;
        }



    .group-model .altr-name {
        flex-wrap: nowrap !important;
    }

        .group-model .altr-name > * {
            flex: unset !important;
        }

.results .group-model .alter-sku {
    /*font-size: 14px !important;*/
    color: black;
    font-weight: 500;
}

.results .item-content .alter-sku + .altr-variant {
    font-size: 14px;
    font-weight: normal;
}


.group-model .alter a .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.group-model.vert .variants {
    display: block;
}

.group-model.vert .slide-nav {
    display: none;
}


@media (max-width: 767px) {
    .group-model {
        padding: .75rem;
    }

        .group-model .variants::-webkit-scrollbar {
            display: none;
        }
}
/*#endregion */


/*#region score-price */

.group-model .alter .bottom {
    justify-content: flex-end;
    display: flex;
}

.results .bottom > div.score-price {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin-top: .5rem;
}

.kpi > div {
    display: flex;
    /* padding: 3px 5px 2px; */
    gap: 2px;
    /* color: white; */
    align-items: flex-end;
    justify-content: center;
}

.kpi > * {
    line-height: 1.2;
}

.kpi .label {
    font-size: 12px !important;
    color: inherit !important;
    font-weight: normal;
}

.kpi .unit {
    font-size: 12px !important;
    font-weight: normal;
}

.kpi .val {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1;
}


.score-price .price {
    border-right: 1px solid var(--color-primary);
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    background: var(--color-primary-light);
    color: black;
}

.score-price .prec {
    color: black;
    justify-content: flex-end;
    width: 75px;
    /* flex: 1; */
    padding-right: 0;
}


.score-zone {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    background: var(--color-border);
    padding-right: 5px;
}
/*
.score-price .price-wrap {
    background: var(--color-primary);
    padding: 2px 3px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    font-size: 13px;
    border-right: 1px solid white;
}

.score-price .price-wrap,
.score-price .price-wrap span:first-child {
    color: white !important;
}

    .score-price .score b {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        font-size: 13px;
    }

.results .bottom .score-price .bar-row {
    margin: 0;
}*/
/*#endregion */

/*#region price-row */
.price-row {
    line-height: 1;
    border-top: 1px solid #f1f2ff;
    padding: .75rem 0 0;
    /* margin-top: 0; */
}

    .price-row .stores {
        font-size: 14px;
        color: gray;
    }

    .price-row .price {
        display: flex;
        padding: 0;
        gap: 0 2px;
        /* color: white; */
        align-items: flex-end;
        font-weight: normal;
        flex-wrap: wrap;
    }

        .price-row .price .val {
            font-size: 15px;
            font-weight: 800;
        }

    .price-row .btn {
        white-space: nowrap;
    }
/*#endregion */

/*#region card-vendors */
.card-vendors-modern, .card-vendors {
    grid-area: vendors;
    padding: 0 .5rem;

}
    .card-vendors a {
        color: var(--color-link) !important;
        font-size: 14px;
        /*underline*/
        text-decoration: underline;
    }
    .card-vendors .box{
        align-items:center;
    }
    .card-vendors .vendor {
        display: grid;
        /* font-size: 14px; */
        margin-top: .5rem;
        gap: 0;
        grid-template-columns: auto 3.5rem 3rem;
        align-items: center;
    }

        .card-vendors  .vendor + .vendor .price{
            font-weight:normal;
        }

        .card-vendors .price {
            display: flex;
        }

    .card-vendors .vendor .link.afflt{
        font-size:16px;
    }

    .card-vendors .btns .btn {
        padding: 0px .5rem !important;
        font-size: 14px !important;
        text-decoration: none;
        white-space: nowrap;
    }

.lead{
    font-size:unset;
}

.box .open-vendors{
    text-align: left;
}
.card-vendors > .open-vendors {
    text-align: center;
     margin-top: .5rem; 
     
     display:block; 
    
}
.card-vendors h4{
    color:gray;
    font-weight:normal;
}
/*#endregion */
/*#region slide-nav */
.slide-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .slide-nav .dot {
        font-size: 8px;
        /* margin: 0 6px;*/
        cursor: pointer;
        background: #b5b6ff;
        width: 1.5em;
        padding: 1px;
        height: 1.5em;
        border-radius: 7px;
    }

        .slide-nav .dot.active {
            background: var(--color-link);
        }

    .slide-nav a {
        font-size: 14px;
        width: 1.75em !important;
        height: 1.75em !important;
    }
/*    .slide-nav .dot img{
            max-width:100%;
            max-height:100%;
        }*/

.slider-container {
    overflow: hidden;
    position: relative;
    width: calc(100% + 4rem);
    margin: 0 -1.8rem;
}

    .slider-container .variants {
        transition: transform 0.5s ease;
        /* justify-content: center; */
    }

.slide {
    flex: 1 0 100%;
    box-sizing: border-box;
}

/*#endregion */

/*#region alter-scores */
.scores-wrap {
    display: flex;
    /* gap: .5rem; */
    line-height: 1;
    /* padding: 0.6rem .5rem; */
    align-items: stretch;
    background: #f0f0ff;
    position: relative;
    border-radius: 0;
    flex-direction: row-reverse;
}

    .scores-wrap > div {
        flex: 1;
        padding: 0.5rem 0.6rem;
    }

    .scores-wrap > span {
        font-size: 14px;
        color: gray;
        margin-right: 5px;
    }

.alter-scores {
    display: flex;
    gap: 1px;
    flex: 1;
    /* padding: .5rem 0 0.35rem; */
    align-items: flex-end;
    /* padding-bottom: 4px; */
    height: 16px;
}

    .alter-scores [c] {
        flex: 1;
        position: relative;
        background: #fbfbff;
        /*max-width: 10px;*/
        order: 2;
        border-radius: 0px;
        height: 100%;
        display: inline-flex;
        /* position: relative; */
        /* outline: 1px solid white; */
        align-items: flex-end;
        cursor: pointer;
        justify-content: center;
    }

    .alter-scores .active,
    .alter-scores > div:hover {
        border-radius: 1px;
        z-index: 1;
    }

        .alter-scores > div:hover .bar,
        .scores-wrap .active .bar {
            transition: none;
        }

        .alter-scores .active::after {
            content: '';
            position: absolute;
            top: -7px;
            right: 50%;
            transform: translateX(50%);
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid var(--color-accent); /* Triangle color */
            z-index: 3;
            /*make it trianlge*/
        }

    .lines .line:not(.active),
    [c]:not(.active) .bar > span,
    .alter-scores > div:not(.active) .line {
        display: none;
    }

.lines .initial {
    color: gray;
    font-size: 14px;
    margin-bottom: 0.7rem;
    padding-right:.6rem;
    position:relative;
    margin-right:.5rem;
}
    .lines .initial i{
        font-size:12px;
        position:absolute;
        right:0;
        top: 5px;
        display:inline-block;
    }
    /*   .alter-scores > [w='3'] {
            height: 100%;
        }

        .alter-scores > [w='2'] {
            height: 80%;
        }

        .alter-scores > [w='1'] {
            height: 60%;
        }

        .alter-scores > div.st{
            height:0 !important;
        }*/
    /*    .alter-scores > [w='3'] + [w='2'] ,
        .alter-scores > [w='2'] + [w='1'] 
        
        {
            margin-right:7px;
        }
*/
    .alter-scores .bar {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        height: 15%;
        /* content: ''; */
        transition: 1.2s;
    }
/*score*/
.alter-scores [c] > span {
    font-size: 12px;
    font-weight: 500;
    /* position: absolute; */
    padding-bottom: 2px;
    z-index: 1;
    min-width: 1.7em;
    text-align: center;
}

.alter-scores [c]:not(.active) > span {
    display: none;
}

.scores-wrap .kpi {
    color: black;
    background: #ccccff;
    padding: 0 .5rem;
    /* height: 100%; */
    display: flex;
    /* width: 4.7em; */
    text-decoration: none;
    flex-direction: column;
    justify-content: center;
}


    .scores-wrap .kpi .val {
        min-width: 1.4em;
        text-align: center;
    }

.scores-wrap .active {
    max-width: unset;
}

.scores-wrap .line.active {
    font-size: 14px;
    /* left: auto; */
    white-space: nowrap;
    line-height: 1;
    display: flex;
    gap: 5px;
    margin-bottom: 0.7rem;
    transition: 0.3s;
    align-items: center;
    flex-wrap: wrap;
}

    .scores-wrap .line.active > span {
        /* color: #616060; */
        /* margin-left: 5px; */
        /* flex: 1; */
    }

    .scores-wrap .line.active .close-line {
        font-size: 10px;
        position: absolute;
        box-shadow: -2px -2px 2px 0px rgb(0 0 0 / 22%);
        left: -1em;
        top: -0.9em;
        height: 1.6em;
        /* border-radius: 3px !important; */
        width: 1.6em;
    }

        .scores-wrap .line.active .close-line:not(:hover) {
            color: white;
            background: #8081e5;
        }

.scores-wrap .line .ai {
    margin: 0;
}

.scores-wrap .line > label {
    /* color: gray; */
    font-weight: 500;
}

.scores-wrap .line .spec {
    display: inline-flex;
    line-height: 1;
    gap: 2px;
    align-items: baseline;
}

    .scores-wrap .line .spec:before {
        content: '|';
        color: #adb1ff;
        display: inline-flex;
        justify-content: center;
        margin-left: 5px;
        font-size: 9px;
    }

.scores-wrap .score-consd {
    background: #ceceff !important;
    font-size: 13px !important;
}
/*
        .alter-scores > div.sp{
            max-width: 5px;
        }*/
/*.alter-scores .score-box.ball .outer {
        font-size: 20px !important;
    }
    .alter-scores .score-box.ball .val {
        margin: 0;
        text-align: center;
        color: white;
        text-shadow: 0px 0px 5px rgb(0 0 0 / 90%);
    }*/
/*#endregion */


/*#region .item-inner */
/*.item-inner{
    display:flex;
}

.results .alter{
    max-width:unset;
}

.item-inner .item-content {
    flex: 0 1 30rem;
}

.item-inner .scores-wrap {
    flex: 1;
    background: white;
    border-right: 1px solid #f0f0ff;
    padding-right: 1rem;
}
    .item-inner .scores-wrap .active > .line {
    }*/
/*#endregion */

/*#region pager */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
}

    .pager span {
        font-size: 18px;
        color: var(--color-text);
    }

#nextPage {
    display: flex;
    align-items: center;
    gap:5px;
    flex-direction: row-reverse !important;
}
/*#endregion */
@media only screen and (min-width : 667px) {
    main > div {
        max-height: calc(100vh - 130px) !important;
    }

    .results {
        overflow: auto;
        height: 100%;
        padding-left: 1rem;
    }

        .results .group-content .alter .card-img {
            font-size: 2.5rem;
            /* border: 1px solid #f0f0ff; */
        }

    .side-prod:not(:empty) {
        /* min-width: 32rem; */
        flex: 1 1 100%;
        padding: 0;
        overflow: auto;
        height: calc(100vh - 56px) !important;
    }

    .line-info .techs .line-body {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
    }

    .side-menu {
        max-width: 21rem;
        display: block;
        overflow: auto !important;
        /* background: var(--color-back); */
        /* box-shadow: none; */
        margin: 0 0 1rem;
        border-radius: 8px;
        padding: 0;
    }

    .content {
        padding: 0;
        width: 100%;
        overflow: hidden;
        position: relative;
        /* min-width: 25rem; */
        /* padding-top: 0.5rem; */
        /* margin: 1rem 0; */
    }

    .close-compare {
        display: none !important;
    }

    .summary + .close-compare {
        display: none !important;
    }

    .compare-bar li {
        padding: 3px;
    }

    .item-content {
        padding: 1rem;
    }
}

/*#region name */

.item-inner {
    display: grid;
    width: 100%;
    /* gap: .5rem; */
    /* padding: .5rem; */
}


    .item-inner > .card-side {
        grid-area: image;
    }
    /*button to compare*/
    .item-inner > [data-id] {
        grid-area: compare;
    }

    /*titles*/
    .item-inner > .item-content {
        grid-area: title;
        padding: 0;
    }

    /*graph*/
    .item-inner > .scores-wrap {
        grid-area: factors;
    }

    /*price*/
    .item-inner > .bottom {
        grid-area: five;
    }


/*#endregion */



@media (min-width: 1024px) {
    .side-menu.collapse:not(.show) {
        display: inherit;
        margin-right: 0;
    }

    #filterRes {
        width: 10rem;
    }

  


    #toggleSideMenu,
    .side-menu #closeSideMenu {
        display: none;
    }

    .side-menu > .abs-end {
        top: 7px;
        left: 5px;
    }

    .group-content .recomand,
    .group-content .recomand.TopRecomand,
    .group-content .recomand.leading {
        font-size: 14px !important;
    }

    .card-vendors .vendor{
        gap:.5rem;
    }

    .results .alter {
        max-width: 100%;
    }

    .alter .card-body {
        flex-direction: row;
        justify-content: unset;
        align-items: flex-start;
        margin-right: .5rem;
    }

        .alter .card-body > :first-child {
            flex: 1;
        }

    .results .bottom > div.price-row {
        border: none;
        margin-top: 0;
        flex-direction: column;
        padding: 0 1rem;
        text-align: center;
        gap: 1rem;
    }

    .scores-wrap {
        background: none;
        border: 1px solid #eaebff;
        padding:  0;
        margin-top: .5rem;
    }

        .scores-wrap .kpi {
            /* background: none; */
            /* flex-direction: row; */
            /* padding-bottom: .5rem; */
        }
    /*  layout for destop*/
    .item-inner {
        grid-template-columns: 0.5fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "image title vendors"
            "image compare vendors"
            "image factors vendors";
        padding: .5rem;
        gap: .5rem;
        align-items: center;
    }

        .item-inner > [data-id] {
            /*text-align: center;*/
        }

    .scores-wrap .line.active {
        color: var(--color-accent);
    }

    .lines .initial {
        color: var(--color-accent);
    }

    .item-inner > .card-side a {
        font-size: 4rem !important;
    }

    /*button to compare*/
    /*.item-inner > [data-id] {
            order: 3;
            width: calc(100% - 19.5rem);
            flex: 1;
        }*/

    /*titles*/
    /*.item-inner > .item-content {
            order: 2;
            width: unset;
        }*/

    /*graph*/
    /*.item-inner > .scores-wrap {
            order: 4;
            background: none;
        }*/

    /*price*/
    .item-inner > .bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #eaebff;
        margin-right: .5rem;
        height: 100%;
    }

    .card-vendors {
        border-right: 1px solid #eaebff;
        margin-right: .5rem;
        height: 100%;
        padding-left:.5rem;
        padding-top:.5rem;
        padding-right: 1rem;
    }

    .item-inner > .item-content {
        padding-top: .5rem;
    }

    .card-vendors > .open-vendors {
       margin-top:1rem;
    }
}

@media (max-width: 1023px) {
    .item-inner {
        grid-template-columns: 0.5fr 3fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "image title"
            "image compare"
            "vendors vendors"
            "factors factors";
        padding-top: .5rem;
        gap: 0 0.5rem;
    }

        .item-inner > .card-side {
            /* margin-right: .5rem; */
            /* border: 1px solid #ebebeb; */
        }
        /*button to compare*/
        .item-inner > [data-id] {
            /* margin-right: .5rem; */
            /* text-align: center; */
        }

        /*titles*/
        .item-inner > .item-content > a {
            display: flex;
            padding-top: 0.2rem;
        }


        /*graph*/
        /*.item-inner > .scores-wrap {*/
        /* flex:1 1 100%; */
        /*width: 100%;*/
        /* width: calc(100% - 6rem); */
        /*}*/
        /*price*/
        .item-inner > .bottom {
            margin-left: .5rem;
        }

    .variants-tags {
        padding-bottom: .5rem;
    }

    .scores-wrap {
        /* padding: 0.5rem; */
        margin-top: .75rem;
    }
}

@media (max-width: 767px) {

    .results .group-content h1 {
        font-size: 22px;
    }

    .group-content a.recomand + .item-inner{
        margin-top:1rem;
    }

    .group-content .group-head span {
        font-size: 14px;
    }

    .results .item-content {
        /* padding: 0 .5rem; */
        /*most images are wider*/
        padding-right: 3px;
        margin-bottom: 0;
    }

    .container-fluid {
        padding: 0;
    }

    .results {
        padding: 0 0 5rem;
    }

    .alter {
        /* font-size: 0.9em; */
    }

    .results .alter {
        padding: 0;
    }

    main > .content {
        padding: 0;
        width: 100vw;
        /* margin-top: 0.5rem; */
        /* margin: 1rem 0; */
    }

    .side-prod:empty {
        padding: 0;
        margin: 0;
    }

    .side-prod:not(:empty) {
        /* overflow: auto; */
        position: fixed;
        left: 0;
        bottom: 0;
        max-height: 100vh !important;
        top: 57px;
        background: #f8f8ff;
        transition: 0.3s;
        width: 99vw;
        margin: 0;
        padding: 0;
        z-index: 22;
    }


    .side-prod:not(.show) {
        display: none;
    }

    .side-prod .prod {
        overflow: auto;
    }


    .side-prod section {
        padding: 1.5rem .75rem;
    }

    .group > div {
        padding: 1rem .5rem;
    }

        .group > div.group-head {
            padding: 0 .5rem;
        }

    .side-prod section.compare {
        overflow: auto;
        height: 100%;
    }

    .side-prod:not(.show) {
        transform: translateX(-100%);
        /* display: none; */
    }


    .summary, #bot-wrap .summary {
        padding: 1rem .5rem;
    }

        .summary + .close-compare {
            left: 0;
            right: unset;
        }

        .summary .msg > div {
            max-width: 100%;
            padding: 0.7rem .5rem;
        }

        .summary .mag-filter,
        .summary .msg-alter > .alter {
            width: 100%;
        }


    .tab-head {
        padding: .5rem;
    }

    .side-prod section:last-child {
        padding-bottom: 2rem;
    }




    #bot-wrap {
        left: 50%;
        transform: translateX(-50%);
    }

    .compare .alter .price {
        justify-content: center;
        font-size: 14px;
    }

    .side-menu > .abs-end {
        top: 6px;
        left: 9px;
        background: white;
    }

    #bot-wrap:not(.show) {
        transform: translate(-50%,calc(100% - 2.5rem));
    }

    .results .alter > a + .actions {
        margin-top: .5rem;
    }




    .group-content .recomand,
    .group-content .recomand.TopRecomand,
    .group-content .recomand.leading {
        font-size: 15px;
    }

    #shortlist {
        border-radius: 0;
        /* margin: 0 -.5rem; */
        padding: 1rem.5rem;
        /* margin: 0; */
        margin-top: 0;
    }

    .compare-cards {
        flex-direction: column;
    }

        .compare-cards .card {
            flex: unset;
        }

            .compare-cards .card .card-img {
                max-width: 4rem;
                max-height: 4rem;
            }

                .compare-cards .card .card-img img {
                    height: unset;
                    width: 100%;
                    max-height: 100%;
                }

            .alter .price, .alter h2, .compare-cards .card h3 {
                text-align: right !important;
                margin: 0;
                justify-content: flex-start !important;
            }

            .compare-cards .card, .compare-cards .card > a .item-content {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 0;
                align-items: normal;
            }

    .compare-bar {
        position: fixed;
        padding: 0.5rem 0.6rem;
    }

    .compare-cards .card .card-body {
        flex: 1;
        display: flex;
        width: 100%;
        gap: 4px;
        font-size: 16px;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .results h5 {
        top: 70px;
        font-size: 15px;
        right: 0;
        /* border-bottom: 2px solid var(--color-border); */
        margin: 0 -.75rem 1rem;
    }

    .group > div.res-head {
        margin: 0;
        padding: .75rem .75rem !important;
        padding: 0 .75rem 1rem;
        position: sticky;
        top: 0;
        display: flex;
        z-index: 19;
        background: var(--color-back);
        box-shadow: 0px 3px 3px 0px rgb(0 0 0 / 10%);
    }

    .results .alter .card-img {
        height: 100%;
    }

    .results .alter img {
        height: unset;
        max-height: 100%;
        /* width: 100%; */
        object-fit: cover;
        font-size: 12px;
    }


    .compare-cards .card > a {
        /* padding: .5rem .5rem; */
        /* gap: .5rem; */
        width: 100%;
    }

    .card-menu {
        /* line-height: 1.8rem; */
    }

    .results .compare-cards .bottom > div.variants-tags {
        justify-content: flex-start;
    }

    .compare-bar li label {
        max-width: 4.3rem;
    }

    .alter-scores {
        height: 16px;
    }

    .price-row .btn {
        font-size: 14px;
        padding: 5px .5rem;
    }

    .card-vendors {
        border-top: 1px solid #f0f0ff;
        margin-top: .5rem;
        padding-top: .5rem;
        display: flex;
        flex-wrap:wrap;
        align-items: center;
        /*flex-direction: column;*/
        justify-content: space-between;
    }

        .card-vendors > .vendor {
            order:2;
            flex: 1 1 100%;
        }


        .card-vendors > .open-vendors {
            text-align: left;
            margin-left: .35rem;
            margin:0;
        }

        .card-vendors .btns .btn {
            padding: 4px .5rem !important;
        }
}

/*#region page */
header {
    margin: 0;
}

section {
    padding: 1.5rem 0;
    position: relative;
}

.section-p {
    line-height: 1.2;
}

/*
    section + section:before {
        content: "\f103";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        font-size: 26px;
        top: -2.4rem;
        left: 3rem;
        color: #e7e7ff;
    }*/




.container-fluid {
    padding: 0;
}

    section.white,
    .container-fluid > nav, .prod > section:nth-of-type(odd) {
        background: white;
    }

    .container-fluid > nav {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

section:last-child {
    padding-bottom: 0rem;
}


.section-head {
    display: flex;
    /* margin-bottom: .5rem; */
    justify-content: space-between;
    align-items: center;
}

    .section-head + .in-words {
        /* margin: .5rem auto 1rem; */
    }



h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

h3 {
    font-size: 1.1rem;
}

.section-head h2 {
    margin: 0;
}



/*#endregion */


/*#region factors-sec */

#factors-sec .middle {
    /* margin: 1rem  auto; */
    /* max-width: 40rem; */
    display: flex;
}

.scores-wrap .score-consd,
.line:not(.consd-card) .score-consd {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    font-size: 0.9em;
    align-items: center;
    padding: 0px 10px 0px 0;
    gap: 5px;
    background: #EDEDFF;
    border-radius: 22px;
}

.score-consd .ai{
    background:white;
    color: black !important;
}

.scores-wrap .outer,
.consd-card .score-box.ball .outer {
    font-size: 22px !important;
}

    /*#endregion */
    /*#region Techs */
    .techs {
        /* padding: 1rem 0 1rem; */
        /* font-size:0.8em; */
        margin-top: 0.7rem;
        border-top: 1px solid #f6edfb;
        padding-top: 0.2rem;
    }

.techs {
    display: none;
}

.line.show > .techs:not(:empty) {
    display: block;
}

.techs .line {
    margin-bottom: 2px;
    margin-top: 0.5rem;
}

.techs .line-body {
    /* border-radius: 14px; */
    display: grid;
    grid-template-columns: 25% repeat(1, 1fr);
    font-size: 14px;
    gap: 5px;
    padding: 0 5px;
    /* box-shadow: inset 0 0 7px 1px rgb(239 239 254 / 50%); */
    /* flex-wrap: wrap; */
    justify-items: start;
}

.techs .line:not(.alter-line) .line-body {
    /* background: #fcfcff !important; */
}

.techs .line-body > div:first-child {
    /* padding-right: 1.5rem; */
    /* font-size: .9rem; */
}

.techs .line-body > div:first-child {
    font-weight: 500;
    padding-top: 3px;
    line-height: 1;
    text-align: right;
    flex: 1;
    /* white-space: nowrap; */
    border: none !important;
}


.techs .read-more {
    font-size: 14px;
    margin-top: .5rem;
    text-align: left;
}

    .techs .read-more > div {
        display: flex;
        align-items: center;
    }

        .techs .read-more > div span {
            /* color: gray; */
            /*font-size: 0.9em;*/
        }

        .techs .read-more > div b {
            color: var(--color-accent);
            font-weight: normal;
        }

    .techs .read-more .btn {
        font-size: 14px;
        display: flex;
        align-items: center;
        border-color: #ededff;
        padding: 2px 5px;
    }

        .techs .read-more .btn i {
            font-size: 12px;
            color: #aeb4bb;
        }

.techs .line + .read-more {
    margin-top: .75rem;
    padding-top: .5rem;
    gap: .5rem;
    border-top: 1px solid #f6edfb;
}

.techs .read-more {
    margin-right: .5rem;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}
/*#endregion */

/*#region recomand */

.recomand {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    line-height: 1.4;
    width: auto;
    font-size: 0.75rem;
    background: var(--color-accent);
    color: white;
    font-weight: var(--font-medium);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

    .recomand:not(.leading) {
    }

    .recomand.TopRecomand, .recomand.leading {
        background: linear-gradient(to bottom right, #f9ad0e 50%, #e89f06 50%);
        color: white;
        text-shadow: 0 0 4px #9d6c04;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
    }
    
    .recomand.VPM {
        /* background: var(--color-secondary); */
        color: white;
    }
    
    .recomand.Best {
        background: linear-gradient(to bottom right, var(--color-primary-light) 0%, var(--color-primary) 100%);
        color: white;
    }


/*#endregion */

/*#region main-techs */
.main-techs {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 5px;
    margin-top: 0.5rem;
    margin-bottom: 5px;
/*    border-top: 1px solid #f1f2ff;
    padding-top: 0.5rem;*/
}

    .main-techs > div {
        display: inline-flex;
        line-height: 1;
        gap: 2px;
        align-items: baseline;
    }

        .main-techs > div:not(:last-child):after {
            content: '|';
            color: var(--color-border);
            display: inline-flex;
            justify-content: center;
            margin-right: 5px;
            font-size: 9px;
        }

        .main-techs > div > label {
            color: gray;
            font-size: 0.9em;
        }

        .main-techs > div > span {
            /*font-weight: bold;*/
            display: inline-flex;
            align-items: baseline;
            gap: 2px;
            font-size: 15px;
        }

    .main-techs .unit {
        font-size: 0.8em;
        color: gray;
    }
/*#endregion */

/*#region saveuser-sec */
#saveuser-sec {
    background: #e5e5ff;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;


}
    #saveuser-sec > div {
        max-width: 24rem;
        margin: 0 auto;
    }
    #saveuser-sec .middle {
        margin: 1rem auto 0;
        display: flex !important;
    }

    #saveuser-sec .btn {
        text-decoration: none;
    }


/*#endregion */

@media (min-width: 768px) {
    .prod .alter {
        display: flex;
        gap: 0.7rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 1.5rem .75rem;
    }

    .section-p {
        font-size: 16px;
    }

    .recomand {
        line-height: 1.4;
        font-size: 0.7rem;
    }
}

@media only screen and (min-width: 1280px) {

    .techs .read-more .btn {
        /* border:none; */
        /* padding:2px 5px; */
        /* color:var(--color-link); */
    }
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

    .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        user-select: none;
        -webkit-user-select: none;
    }

        .select2-container .select2-selection--single .select2-selection__rendered {
            display: block;
            /*      padding-left: 8px;
      padding-right: 20px;*/
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: normal;
        }

        .select2-container .select2-selection--single .select2-selection__clear {
            background-color: transparent;
            border: none;
            font-size: 1em;
        }
    /*  .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px; }*/
    .select2-container .select2-selection--multiple {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        min-height: 32px;
        user-select: none;
        -webkit-user-select: none;
    }

        .select2-container .select2-selection--multiple .select2-selection__rendered {
            display: inline;
            list-style: none;
            padding: 0;
        }

        .select2-container .select2-selection--multiple .select2-selection__clear {
            background-color: transparent;
            border: none;
            font-size: 1em;
        }

    .select2-container .select2-search--inline .select2-search__field {
        box-sizing: border-box;
        border: none;
        font-size: 100%;
        margin-top: 5px;
        margin-left: 5px;
        padding: 0;
    }

        .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

.select2-dropdown {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}

.select2-results {
    display: block;
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.select2-results__option {
    padding: 6px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-results__option--selectable {
    cursor: pointer;
}

.select2-container--open .select2-dropdown {
    left: 0;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-search--dropdown {
    display: block;
    padding: 4px;
}

    .select2-search--dropdown .select2-search__field {
        padding: 4px;
        width: 100%;
        box-sizing: border-box;
    }

        .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

    .select2-search--dropdown.select2-search--hide {
        display: none;
    }

.select2-close-mask {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity=0);
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.select2-box.selectbox,
.select2-container--default .select2-selection--single {
    /* background-color: #fff; */
    color: black;
    /*  border: 1px solid #aaa;
  border-radius: 4px; */
    /* min-height: 2.9rem; */
    /* line-height: 6em; */
}
    /*  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; 

  }*/
    .select2-container--default .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 26px;
        margin-right: 20px;
        padding-right: 0px;
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #999;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
    }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border: solid #707070;
            border-width: 0 1px 1px 0;
            padding: 2px;
            height: 0;
            position: absolute;
            top: 50%;
            width: 0;
            left: 50%;
            transform: rotate(45deg) translate(50%, 50%);
            -webkit-transform: rotate(45deg) translate(-50%, -50%);
        }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 1px;
    right: auto;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #eee;
    cursor: default;
}

    .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
        display: none;
    }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
}

    .select2-container--default .select2-selection--multiple .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 20px;
        margin-right: 10px;
        margin-top: 5px;
        padding: 1px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        color: white;
        background-color: #00b0e6;
        border: 1px solid #aaa;
        border-radius: 4px;
        display: inline-block;
        margin-left: 5px;
        margin-top: 5px;
        padding: 0;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
        cursor: default;
        padding-left: 2px;
        padding-right: 5px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        background-color: transparent;
        border: none;
        border-right: 1px solid #aaa;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        color: white;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        padding: 0 4px;
    }

        .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
            background-color: #f1f1f1;
            color: #333;
            outline: none;
        }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 5px;
    padding-right: 2px;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    border-left: 1px solid #fff;
    border-right: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear {
    float: left;
    margin-left: 10px;
    margin-right: auto;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid black 1px;
    outline: 0;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #eee;
    cursor: default;
}

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
    display: none;
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 1em;
}

    .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
        padding-left: 0;
    }

    .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -1em;
        padding-left: 2em;
    }

        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -2em;
            padding-left: 3em;
        }

            .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                margin-left: -3em;
                padding-left: 4em;
            }

                .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                    margin-left: -4em;
                    padding-left: 5em;
                }

                    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                        margin-left: -5em;
                        padding-left: 6em;
                    }

.select2-container--default .select2-results__option--group {
    padding: 0;
}

.select2-container--default .select2-results__option--disabled {
    color: #999;
}

.select2-container--default .select2-results__option--selected {
    background-color: #ddd;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #5897fb;
    color: white;
}

.select2-container--default .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic .select2-selection--single {
    background-color: #f7f7f7;
    border: 1px solid #aaa;
    border-radius: 4px;
    outline: 0;
    background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

    .select2-container--classic .select2-selection--single:focus {
        border: 1px solid #5897fb;
    }

    .select2-container--classic .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 28px;
    }

    .select2-container--classic .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 26px;
        margin-right: 20px;
    }

    .select2-container--classic .select2-selection--single .select2-selection__placeholder {
        color: #999;
    }

    .select2-container--classic .select2-selection--single .select2-selection__arrow {
        background-color: #ddd;
        border: none;
        border-left: 1px solid #aaa;
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px;
        background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
        background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
        background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
    }

        .select2-container--classic .select2-selection--single .select2-selection__arrow b {
            border-color: #888 transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: -2px;
            position: absolute;
            top: 50%;
            width: 0;
        }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left;
}

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    border: none;
    border-right: 1px solid #aaa;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    left: 1px;
    right: auto;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid #5897fb;
}

    .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
        background: transparent;
        border: none;
    }

        .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
            border-color: transparent transparent #888 transparent;
            border-width: 0 4px 5px 4px;
        }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}

.select2-container--classic .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    outline: 0;
    padding-bottom: 5px;
    padding-right: 5px;
}

    .select2-container--classic .select2-selection--multiple:focus {
        border: 1px solid #5897fb;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__clear {
        display: none;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__choice {
        background-color: #e4e4e4;
        border: 1px solid #aaa;
        border-radius: 4px;
        display: inline-block;
        margin-left: 5px;
        margin-top: 5px;
        padding: 0;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__choice__display {
        cursor: default;
        padding-left: 2px;
        padding-right: 5px;
    }

    .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
        background-color: transparent;
        border: none;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        color: #888;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        padding: 0 4px;
    }

        .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
            color: #555;
            outline: none;
        }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 5px;
    padding-right: 2px;
}

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.select2-container--classic.select2-container--open .select2-selection--multiple {
    border: 1px solid #5897fb;
}

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    outline: 0;
}

.select2-container--classic .select2-search--inline .select2-search__field {
    outline: 0;
    box-shadow: none;
}

.select2-container--classic .select2-dropdown {
    background-color: white;
    border: 1px solid transparent;
}

.select2-container--classic .select2-dropdown--above {
    border-bottom: none;
}

.select2-container--classic .select2-dropdown--below {
    border-top: none;
}

.select2-container--classic .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--classic .select2-results__option--group {
    padding: 0;
}

.select2-container--classic .select2-results__option--disabled {
    color: grey;
}

.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #3875d7;
    color: white;
}

.select2-container--classic .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic.select2-container--open .select2-dropdown {
    border-color: #5897fb;
}

span.select2-container:not(.select2).select2-container--default.select2-container--open {
    position: absolute;
    z-index: 10000;
}

