.menu {
    width: 250px;
}

.menu.fixed-desktop {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: scroll;
}

.menu .search {
    display: none;
    margin: 12px 12px 0;
}

.menu .search .input-container {
    position: relative;
    height: 28px;
    margin-bottom: 18px;
}

.menu .search .search-field {
    border-radius: 4px;
    display: block;
    height: 28px;
    border: 2px solid var(--main-theme-color);
    outline: none;
    width: 100%;
    padding: 0 32px 0 4px;
}

.menu .search .submit {
    position: absolute;
    top: 0;
    right: 4px;
    width: 28px;
    height: 28px;
    display: block;
    border: none;
    background-image: url('/img/icons/search_heart.svg');
    background-color: transparent;
    background-size: 20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.menu .search input {
    background-color: var(--main-bg-color);
}

.menu .random,
.menu .random:hover,
.menu .random:active,
.menu .random:visited {
    display: block;
    margin: 12px;
    padding: 0 12px;
    height: 32px;
    line-height: 32px;
    letter-spacing: 1px;
    background-color: var(--contrast-color);
    text-decoration: none;
    font-size: 16px;
    color: var(--text-color);
    border-radius: 18px;
    text-align: center;
}

.menu .select {
    display: block;
    position: relative;
    padding: 12px 0;
    border-bottom: 1px solid var(--silent-color);
}
.menu .select:first-child {
    padding-top: 0;
}

.menu .select .title {
    height: 24px;
    line-height: 24px;
    padding: 0 12px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 14px;
}

.menu .select.selected .title {
    color: var(--medium-main-theme-color)
}

.menu .select .title .chevron {
    display: block;
    position: absolute;
    top: 6px;
    right: 12px;
    height: 12px;
    width: 12px;
    -moz-transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    transition: all 0.1s linear;
    background-image: url('/img/icons/chevron.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 12px;
}

.menu .select .title .icon {
    display: block;
    float: left;
    height: 22px;
    margin-right: 8px;
}

.menu .select.active .chevron {
    -moz-transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    transition: all 0.1s linear;
    transform : rotate(-180deg);
}

.menu .select .select-list {
    list-style-type: none;
    height: 0;
    transition: height 0.25s ease-out;
    overflow: hidden;
}

.menu .select.active .select-list {
    display: block;
    transition: height 0.25s ease-in;
}

.menu .select .select-list li:first-child {
    margin-top: 8px;
}
.menu .select .select-list li {
    height: 32px;
    line-height: 32px;
    padding: 0 20px;
    font-size: 16px;
    text-transform: capitalize;
}

.menu .select .select-list li.active {
    background-color: var(--medium-main-theme-color);
}

.menu .select .select-list li a {
    display: block;
    text-decoration: none;
    color: var(--dark-text-color);
}

.menu .select .select-list li a:hover {
    color: var(--medium-main-theme-color);
}

.menu .select .select-list li.active a,
.menu .select .select-list li.active a:hover,
.menu .select .select-list li.active a:active,
.menu .select .select-list li.active a:visited {
    color: var(--text-color);
}

.left-panel .menu .select .select-list li a .counter {
    display: block;
    float: right;
    font-size: 14px;
}

.menu .delimeter {
    padding: 12px;
    color: var(--medium-silent-color);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border-bottom: 1px solid var(--silent-color);
}

@media (max-width: 820px) {
    .menu .search {
        display: block;
    }
}

@media (max-width: 660px) {
    .menu .random {
        display: none;
    }
}

@media (min-width: 661px) {
    .menu .gender {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .menu .random {
        display: block;
    }
}

.menu .select.active .select-list.h-32-8 {
    height: calc(32px * 8 + 8px);
}

.menu .select.active .select-list.h-32-7 {
    height: calc(32px * 7 + 8px);
}

.menu .select.active .select-list.h-32-6 {
    height: calc(32px * 6 + 8px);
}

.menu .select.active .select-list.h-32-5 {
    height: calc(32px * 5 + 8px);
}

.menu .select.active .select-list.h-32-4 {
    height: calc(32px * 4 + 8px);
}

.menu .select.active .select-list.h-32-3 {
    height: calc(32px * 3 + 8px);
}

.menu .select.active .select-list.h-32-2 {
    height: calc(32px * 2 + 8px);
}

@media (min-width: 661px) {
    .menu {
        display: block !important;
    }
}

@media (max-width: 660px) {
    .menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        min-height: 100px;
        background: var(--main-bg-color);
        max-height: calc(var(--app-height) - 60px);
        overflow: scroll;
        z-index: 10;
        padding-top: 12px;
        padding-bottom: 40px;
    }

    .menu .select .select-list li a .counter:before {
        content: "\00a0\00a0[";
    }

    .menu .select .select-list li a .counter:after {
        content: "]";
    }
}
