@media (max-width: 479px) {
    :root {
        --section-height: 30vh !important;
    }
}

@media (max-width: 767px) {
    :root {
        --section-height: 30vh;
    }

    .logo {
        width: 60px;
        top: 12px;
        z-index: 99;
    }

    .section {
        width: 100% !important;
    }

    .panel {
        height: var(--section-height) !important;
        width: 100% !important;
        min-width: 100% !important;
    }

    .panel .content {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow: hidden !important;
        flex-direction: row;
    }

    .tree-view {
        height: calc(var(--section-height) - 100px) !important;
        min-height: calc(var(--section-height) - 100px) !important;
        width: 100%;
        margin-top: 0 !important;
    }


    #main\.button {
        left: 12px !important;
        top: 20px !important;
    }

    .main .search {
        margin-left: 25px;
        top: 10px !important;
        width: initial !important;
    }

    #main\.text {
        text-transform: uppercase;
    }

    .main .text {
        top: 20px !important;
        width: initial !important;
    }

    .panel h1 {
        font-size: 20px;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin: 0;
    }

    .panel ul {
        list-style: none;
        margin: 0;
        padding: 0;
        height: calc(var(--section-height) - 100px) !important;
        min-height: calc(var(--section-height) - 100px) !important;
        align-items: stretch;
        overflow-y: scroll !important;
    }

    .panel li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20%;
        font-size: 10px;
    }

    .buttons {
        top: initial !important;
        bottom: 9px !important;
        position: absolute;
        text-align: center;
        width: 100% !important;
        left: initial !important;
    }

    .buttons span {
        text-transform: uppercase;
    }

    .tree-view .label {
        margin-left: 5px !important;
    }

    .tree-view .group-c {
        padding: 2px 0;
    }


    .tree-view .selected {
        flex-grow: 1;
        margin-left: 5px;
    }


    .tree-view .selected .label,
    .tree-view .selected,
    .tree-view .selected:hover .label {
        border-radius: 3px;
    }

    .panel ul div {
        border: none !important;
        display: none !important;
    }


    div#main\.button svg {

        top: -3px;

    }

    div#main\.text {
        top: 20px !important;
    }

}