﻿/* ti3__filters toggle__filters */
.ti3__filters {
    display: none;
    margin-bottom: 30px;
}

.ti3__filters.active {
    display: block;
}
/* End ti3__filters */

/* Start toggle__filters */
.toggle__filters {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 12px 40px;
    margin: 0;
    border: 0;
    background-color: #272E36;
    border-radius: 200px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.01em;
    color: #fff;
    outline: none;
    cursor: pointer;
}

.toggle__filters:after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-position: center center;
    background-image: url(../image/filters-icon.svg);
    -webkit-margin-start: 8px;
    margin-inline-start: 8px;
}
/* End toggle__filters */

/* Start filters__item */
.filters__item {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #e9e9ea;
}

.filters__item-title {
    font-size: 16px;
    margin: 0;
}
/* End filters__item */

/* Start custom__checkbox */
.custom__checkbox {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.custom__checkbox-text {
    width: calc(100% - 66px);
    font-size: 16px;
    text-align: left;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}

/* .custom__checkbox-input {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}

.custom__checkbox-input:checked~.custom__checkbox-checkmark {
    background-color: #68ad5c;
}

.custom__checkbox-input:checked~.custom__checkbox-checkmark:before {
    left: auto;
    right: 2px;
} */

.custom__checkbox-checkmark {
    position: relative;
    display: block;
    width: 56px;
    height: 32px;
    border-radius: 32px;
    background-color: #e9e9ea;
    -webkit-transition: background-color .3s ease;
    transition: background-color .3s ease;
}

.custom__checkbox-checkmark:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 28px;
}

.custom__checkbox.active .custom__checkbox-checkmark {
    background-color: #68ad5c;
}

.custom__checkbox.active .custom__checkbox-checkmark:before {
    left: auto;
    right: 2px;
}
/* End custom__checkbox */

/* Start accordion */
.accordion-title {
    position: relative;
    -webkit-padding-end: 20px;
    padding-inline-end: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.accordion-title::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 6px;
    display: block;
    width: 8px;
    height: 12px;
    background: url('../image/slider-arrow-right.svg') no-repeat center center / contain;
    -webkit-transition: .3s;
    transition: .3s;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.accordion.active .accordion-title::before {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.accordion-list {
    padding: 0;
    margin: 15px 0 0;
}

.accordion-list li {
    padding: 4px 0;
}

.accordion__checkbox {
    position: relative;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    line-height: 1.4;
    cursor: pointer;
}

.accordion__checkbox-text {
    width: calc(100% - 30px);
    font-size: 15px;
    text-align: left;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}

/* .accordion__checkbox-input {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
} */

.accordion__checkbox-checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    border: 1px solid #e9e9ea;
    -webkit-transition: background-color .3s ease;
    transition: background-color .3s ease;
}

.accordion__checkbox-checkmark:before {
    content: '';
    position: absolute;
    right: 2px;
    top: 1px;
    display: block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

/* .accordion__checkbox-input:checked~.accordion__checkbox-checkmark:before {
    background-image: url(../image/check-icon.svg);
} */

.accordion__checkbox.active .accordion__checkbox-checkmark:before {
    background-image: url(../image/check-icon.svg);
}
/* End accordion */

.ti3__symbols-table-body .ti3__symbols-table-row.off {
    display: none !important;
}

@media (max-width: 480px),
(max-height: 480px) and (orientation: landscape) {
    .ti3__filters.active {
        display: none;
    }
}

/* RTL STYLES START */
.rtl .accordion-title::before {
    right: auto;
    left: 6px;
}

.rtl .custom__checkbox-text,
.rtl .accordion__checkbox-text {
    text-align: right;
}

@media (hover: hover) and (pointer: fine) {
    .accordion__checkbox:hover .accordion__checkbox-text {
        color: #6f6f6f;
    }

    .accordion__checkbox:hover .accordion__checkbox-checkmark {
        background-color: #e9e9ea;
    }

    .custom__checkbox:hover .custom__checkbox-text {
        color: #6f6f6f;
    }

    .accordion-title:hover {
        color: #6f6f6f;
    }
}
