@media only screen and (max-width: 768px) {
    .wpbm-bottom-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #111;
        display: flex;
        justify-content: space-around;
        padding: 8px 0 6px;
        z-index: 9999;
        color: #fff;
        font-size: 12px;
        text-align: center;
        border-top: 2px solid #222;
    }
    .wpbm-bottom-menu a {
        flex: 1;
        color: #ccc;
        text-decoration: none;
        font-family: sans-serif;
        transition: all 0.2s ease;
    }
    .wpbm-bottom-menu a.active,
    .wpbm-bottom-menu a:focus,
    .wpbm-bottom-menu a:active {
        color: red;
    }
    .wpbm-bottom-menu i {
        font-size: 16px;
        display: block;
        margin-bottom: 2px;
    }
}
@media only screen and (min-width: 769px) {
    .wpbm-bottom-menu {
        display: none !important;
    }
}
.wpbm-search-box {
    background: #111;
    padding: 10px;
    text-align: center;
}
.wpbm-search-box input[type="text"] {
    width: 90%;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    outline: none;
    background: white;
    color: #000;
}
.wp-bottom-menu-search-form-wrapper{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--wpbottommenu-bgcolor);
    padding: 10px;
    transition: all 200ms;
	transform: translateY(100%);
    box-sizing: border-box;
}

.wp-bottom-menu-search-form-wrapper form{
    position: relative;
}

.wp-bottom-menu-search-form input[type="search"]{
    border: 1px solid #eee;
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    height: 40px;
    padding-left: 50px;
    padding-right: 30px;
}

.wp-bottom-menu-search-form input[type="search"]::-webkit-search-decoration,
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-cancel-button,
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-results-button,
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.wp-bottom-menu-search-form i,
.wp-bottom-menu-search-form svg{
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(-50%,-50%);
}

/* Search Form Active */

.wp-bottom-menu-search-form-wrapper.sf-active{
    z-index: calc(var(--wpbottommenu-zindex) - 1);
    box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
	transform: translateY(0);
}

.wp-bottom-menu.sf-active{
    box-shadow: none;
}

/* Nav */

.wp-bottom-menu-nav-wrapper{
    display: none;
    width: 100%;
    height: 100%;
    z-index: calc(var(--wpbottommenu-zindex) + 2 );
    position: fixed;
    left: 0;
    top: 0;
    background: var(--wpbottommenu-bgcolor);
    color: var(--wpbottommenu-text-color);
}

.wp-bottom-menu-nav-wrapper.active{
    display: grid;
    place-items: center;
    text-align: center;
}

.wpbm-nav-items{
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}

.wpbm-nav-items li:not(:last-child){
    margin-bottom: 1em;
}

.wpbm-nav-items li a{
    color: inherit;
}

.wpbm-nav-items li.current-menu-item a,
.wpbm-nav-items li a:hover{
    color: var(--wpbottommenu-h-text-color);
}

.wpbm-nav-close{
    position: absolute;
    right: 10%;
    top: 10%;
    font-size: var(--wpbottommenu-icon-size);
    color: inherit;
    cursor: pointer;
}