.sidebar {
    height: 100%;
}

@media (max-width: 1024px) {
    .sidebar {
        margin-bottom: 30px;
    }
}

.sidebar__wrapper {
    height: 100%;
}

.sidebar__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style-type: none;
}

.sidebar__list--horizontal {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 25px;
}

.sidebar-list__item--horizontal + .sidebar-list__item--horizontal {
    margin-top: 0 !important;
    margin-left: 10px;
}

.sidebar-list__item,
.sidebar__open-button {
    background: #F7F7F7;
    border-radius: 7px;
    transition: background 0.25s ease, opacity 0.25s ease;
    border: none;
    outline: none;
    appearance: none;
}

.sidebar-list__item--white,
.sidebar__open-button--white {
    background: var(--white);
}

.sidebar__link:not(.sidebar__link--active):not(.sidebar__open-button--active):hover {
    background: rgba(255, 194, 77, 0.7);
}

/*.sidebar-list__item--active {*/
/*    background: #FFC24D;*/
/*}*/

.sidebar-list__item + .sidebar-list__item {
    margin-top: 10px;
}

.sidebar__link {
    display: block;
    text-align: start;
    border-radius: 7px;
    width: 100%;
    padding: 15px 23px;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: #000000;
    opacity: 0.75;
    text-decoration: none;
    cursor: pointer;
    background: inherit;
    outline: none;
    border: none;
}

.sidebar__link--active {
    background: #FFC24D;
}

.sidebar__link--active-second {
    color: #FFC24D;
}

.sidebar__link--width-full {
    border-radius: 0;
    width: calc(100% + 20px);
    transform: translateX(-10px);
}

.sidebar-stiky {
    height: 100%;
}
.ad-sidebar-wrapper {
    margin-top: 20px;
    position: sticky;
    top: 5px;
}

@media (max-width: 1024px) {
    .sidebar__wrapper .ad-sidebar-wrapper {
        display: none;
    }
}

.sidebar__image {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.sidebar__burger {
    margin-right: 12px;
}

.sidebar-settings__icon {
    max-width: 18px;
    margin-right: 12px;
    transform: rotate(90deg);
}

.sidebar__burger-wrapper {
    display: none;
    background: #F7F7F7;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
    padding: 16px 19px;
    color: rgba(0, 0, 0, 0.7);
    border: 0px solid #FFC24D;
    transition: color 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.sidebar__burger-wrapper--white {
    background: var(--white);
}

.sidebar__burger-wrapper--active {
    background: #FFC24D;
}

@media (max-width: 1024px) {
    .sidebar__burger-wrapper {
        display: flex;
        align-items: center;
    }
    .sidebar__burger-wrapper--active .sidebar-settings__icon {
        transform: rotate(0deg);
    }
    .sidebar {
        display: none;
    }
    .accordion__button--active + .sidebar {
        display: block;
        margin-top: 20px;
    }
}

@media (max-width: 460px) {
    .sidebar__burger-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .sidebar-inner + .submain {
        margin-top: 20px;
    }
}

.sidebar .accordion__button.accordion__button--active {
    background: #FFC24D;
    border: 1px solid #FFC24D;
}

.sidebar-drop__list {
    display: none;
    list-style-type: none;
    margin: 0;
    width: 100%;
}

.sidebar-drop-list__item {
    width: 100%;
    padding: 10px 0 5px 5px;
    color: var(--black);
    font-weight: 400;
}

.sidebar-drop-list__item--active{
    color: #ffA800;
}

.sidebar__open-button {
    text-align: left;
}

.sidebar__open-button--active {
    background: var(--orange);
    color: var(--white);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.sidebar__open-button--active + .sidebar-drop__list {
    display: block;
    border-radius: 7px;
    padding: 10px 10px 12px 10px;
}

.sidebar-drop__item + .sidebar-drop__item {
    margin-top: 1px;
}

.sidebar-drop__list {
    background: #fff;
}

.sidebar-drop__list > .sidebar-drop__item:hover > .sidebar__link {
    background: inherit !important;
    color: #FFC24D !important;
}

.sidebar-drop__list--pl-0 .sidebar-drop-list__item {
    padding-left: 0;
}

/*
//////////////////
//////////////////
//////////////////
//////////////////
*/

.sidebar-control__wrapper {
    position: relative;
}

.sidebar__input {
    width: 100%;
    padding: 0.65em 0.85em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: var(--white);
    font-size: 18px;
}

.sidebar__input:focus-visible {
    outline: var(--orange) auto 1px;
}

.sidebar-drop-checkbox__label {
    width: 100%;
    display: flex;
    padding-left: 25px;
    font-size: 16px;
    white-space: break-spaces;
    position: relative;
}

.sidebar-drop-checkbox__label:before {
    position: absolute;
    top: 3px;
    left: 0;
    content: "";
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, .35);
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
}

input:checked ~ .sidebar-drop-checkbox__label:before {
    background:
        linear-gradient(180deg, #fafafa 20%, transparent 20%, transparent 80%, #fafafa 80%, #fafafa 100%),
        linear-gradient(45deg, #fafafa 23%, transparent 20%, transparent 80%, #fafafa 80%, #fafafa 100%),
        linear-gradient(135deg, #fafafa 23%, transparent 20%, transparent 80%, #fafafa 80%, #fafafa 100%),
        linear-gradient(225deg, #fafafa 23%, transparent 20%, transparent 80%, #fafafa 80%, #fafafa 100%),
        linear-gradient(315deg, #fafafa 23%, transparent 20%, transparent 80%, #fafafa 80%, #fafafa 100%),
        linear-gradient(90deg, transparent 20%, #FFA800 20%, #FFA800 80%, transparent 80%, transparent 100%)
}

.sidebar__range {
    margin: 15px 0;
}

.sidebar-input__autocomlete-list {
    list-style-type: none;
    margin: 0;
    /*background: rgba(225, 225, 225, 0.25);*/
    background: #F7F7F7;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 8px;
}

.autocomlete__item--none {
    display: none;
}

.sidebar-input__autocomlete-item + .sidebar-input__autocomlete-item {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.autocomlete__list--border {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-input__autocomlete-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    outline: none;
    background: initial;
    border: none;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
}

.sidebar-input__autocomlete-btn:hover {
    background: var(--light-orange);
    color: var(--white);
}

.sidebar-drop-list__autocomplete {
    padding: 0;
}
