/* @media (min-width:769px) {
    #menu {
        display: flex;
        height: calc(100vh - 200px);
    }

    .categories {
        flex: 2;
    }

    .menu-meals {
        flex: 4;
        margin-left: 5px;
        margin-right: 5px;
        height: calc(100vh - 200px);
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .menu-meals::-webkit-scrollbar {
        display: none;
    }

    .category {
        margin-bottom: 10px;
    }

    .categories .category-item {
        display:
            flex;
        justify-content: space-between;
        align-items:
            center;
        flex-direction: row-reverse;
    }

    .categories .category-item p {
        margin: 0;
        font-size: .9em;
        text-align: start;
    }

    .category:last-child {
        margin-bottom: calc(100vh - 400px);
    }

    .category-header {
        padding: 8px;
        margin-bottom: 10px;
        background-color: #ddd;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        text-align: right;
    }

    .category-meal .meal {
        margin: 0;
    }

    .category-header p {
        margin-bottom: 0;
        font-size: .9em;
    }

    .tabs-title {
        padding: 10px;
        background: #ddd;
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width:768px) {
    #menu {
        flex-direction: column-reverse;
        display: flex;
    }

    .categories {
        order: 2;
        display: flex;
        flex-direction: row;
        width: 100%;
        background-color: #ddd;
        top: 0;
        left: 0;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        height: 40px;
        z-index: 1000;
    }

    .categories::-webkit-scrollbar {
        display: none;
    }

    .categories .category-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .categories .category-item p {
        margin-bottom: 0;
        margin-left: 5px;
        font-size: .8em;
        white-space: nowrap;
    }

    .categories .category-item span {
        background: #ff3d00;
        padding: 2px 2px;
        margin-left: 5px;
        border-radius: 18px;
        -webkit-border-radius: 18px;
        -moz-border-radius: 18px;
        -ms-border-radius: 18px;
        -o-border-radius: 18px;
        color: #fff;
        font-size: .8em;
    }

    .category {
        padding-top: 50px;
    }

    .category-header {}

    .category-header p {
        font-size: 1em;
        font-weight: 500;
        background-color: #ddd;
        border-radius: 8px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
        -o-border-radius: 8px;
        padding: 6px;
        text-align: start;
    }

    .tabs-title {
        display: none;
    }

    .category-meal .meal {
        margin: 0;
    }
    .page-head{
        padding: 0;
    }
} */

/* The overlay effect with black background */
.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9); /* Black with a little bit see-through */
  }

  /* The content */
  .overlay-content {
    position: relative;
    top: 35%;
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
  }

  /* Close button */
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: white;
  }

  .overlay .closebtn:hover {
    color: #ccc;
  }

  /* Style the search field */
  .overlay input[type=text] {
    padding: 15px;
    font-size: 17px;
    border: none;
    float: left;
    width: 100%;
    background: white;
  }

  .overlay input[type=text]:hover {
    background: #f1f1f1;
  }

  /* Style the submit button */
  .overlay button {
    float: left;
    width: 20%;
    padding: 15px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
  }

  .overlay button:hover {
    background: #bbb;
  }

/* @media(max-width: 768px) { */
    #navbar {
        position: relative;
    }
    .page-head {
        padding: 0;
        margin: 0;
    }
    .menu-nav{
        transition: ease-in-out .5s;
        display: flex;
        top: 0;
    }
    #mobile-menu{
        position: fixed;
        top: 0;
        z-index: 1000;
        padding: 0;
        background: #fff;
        transition: ease-in-out .5s;
        height: 0;
    }
    .menu-button {
        display: block;
        width: 100px!important;
        line-height: unset;
        margin: 0;
        position: relative;
        z-index: 999;
        right: 0;
        left: unset;
        bottom: unset;
        font-size: 15px;
        padding: 0;
        height: 40px;
        flex: 1;
    }
    .tabs {
        flex: 5;
        margin: 0;
        border-radius: 0;
    }
/* } */
/* @media(max-width: 600px) { */
    .menu-button {
        margin: 0px 0;
        right: 0;
        height: 40px;
    }
/* } */
#search{
    /* display: none; */
    /* border: 1px solid #ddd; */
    margin: 2px auto;
    height: 50px;
    font-weight: 700;
    line-height: 36px;
    border-radius: 1em;
    /* font-size: 12px; */
    letter-spacing: .5px;
    outline: 0;
    box-shadow: none;
    flex: 5;
    direction: rtl;
}
#xicon{
    display: none;
}

.typeahead.dropdown-menu{
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-50%);
    left: 50% !important;
    width: 100%;
    direction: rtl;
    text-align: right;
}
