.current_orders_list {
    margin-bottom: 20vh;
}

.current_orders_list, .current_orders_title, .new_orders_title, .new_orders_list {
    margin-left: 0.5%;
    margin-right: 0.5%;
}

.current_orders_list, .new_orders_list {
    overflow-y: scroll;
}

.all_orders {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.current_orders_list {
    height: 83vh;
    min-height: 83vh;
    max-height: 83vh;
    padding-bottom: 15vh;
}

.completed_orders_list {
    margin-bottom: 0;
    padding-bottom: 10vh;
    height: 75vh;
}

.order_state {
    width: 60%;
    text-align: center;
}

.order_state_text {
    width: 50%;
}

.order_state_reprint {
    width: 15%;
    text-align: right;
}

.current_order {
    margin-bottom: 20px;
    font-size: 2vmax;
}

.orders_menu_cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    height: 100%;
    overflow-y: scroll;
}

.orders_menu_each_cat {
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 1%;
    width: 25%;
    min-height: 6vh;
    text-align: center;
    background-color: black;
    color: white;
}

.orders_actions_custom {
    padding-top: 3px;
}

.orders_actions_custom button {
    background: none;
}

.orders_actions_custom img {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
}

.orders_actions_cd {
    width: 35%;
}

.orders_actions_cd button {
    background: none;
}

.orders_actions_cd img {
    width: 7vw;
    height: 5vw;
}

.order_actions button {
    width: 90%;
}

.order_comments {
    font-size: 1.6vw;
    word-break: break-all;
}

.order_id, .small_order_id {
    margin-left: 5px;
    color: #6b6d78;
}

.order_id {
    font-size: 2vmax;
}

.small_order_id {
    font-size: 1.2vmax;
}

.menu_width {
    width: 75%;
    display: block;
}

.search_input_container {
    width: 100%;
    position: inherit;
    left: 0;
    border-bottom: 2px solid black;
    padding-bottom: 8px;
    align-items: center;
}

.orders_width {
    width: 25%;
    border-left: 2px solid black;
}

.order_full_container {
    flex-flow: row;
}

.current_order_details_container, .amount_paid_or_not {
    margin: auto 0;
}

.curr_order_state_sel, .curr_order_state_not_sel, .curr_order_state_ready {
    background: none;
    width: 85px;
    margin: 5px;
    border: 1px solid black;
    border-radius: 10px;
}

.curr_order_state_sel {
    background-color: aqua;
}

.curr_order_state_not_sel img, .curr_order_state_sel img, .curr_order_state_ready img {
    width: 50%;
    height: 50%;
}

.curr_order_state_ready {
    background-color: red;
    animation: curr_order_state_ready_blinker 1s linear infinite;
}

@keyframes curr_order_state_ready_blinker {
    50% {
        opacity: 0;
    }
}

.amount_paid_or_not_img {
    height: 40px;
    width: 30px;
}

.current_order_state_container {
    display: flex;
}

.fetch_order_results {
    position: absolute;
    background-color: #f1f1f1;
    color: black;
    font-size: 20px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: -webkit-fill-available;
}

.fetch_order_results_close_container {
    width: 100%;
    background-color: black;
    color: white;
}

.fetch_order_results_close {
    width: fit-content;
    font-size: 24px;
    padding: 5px;
}

.fetch_order_results_list {
    overflow: scroll;
    height: -webkit-fill-available;
    padding-bottom: 100vh;
}

.fetch_order_match {
    width: calc(100% - 40px);
    margin: 20px 10px;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
}

.fetch_order_match_name, .fetch_order_match_phone, 
.fetch_order_match_email, .fetch_order_match_address1, 
.fetch_order_match_address2, .fetch_order_match_postcode {
    text-align: center;
}

.fetch_order_match_name {
    width: 33%;
}

.fetch_order_match_phone {
    width: 33%;
}

.fetch_order_match_email {
    width: 34%;
}

.fetch_order_match_address1 {
    width: 33%;
}

.fetch_order_match_address2 {
    width: 33%;
}

.fetch_order_match_postcode {
    width: 34%;
}

.dot-flashing-group {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.dot-flashing-1, .dot-flashing-2, .dot-flashing-3 {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: blue;
    color: red;
    animation: dotFlashing 1s infinite linear alternate;
}

.dot-flashing-1 {
    animation-delay: 0s;
}

.dot-flashing-2 {
    animation-delay: 0.5s;
}

.dot-flashing-3 {
    animation-delay: 1s;
}
  
@keyframes dotFlashing {
    0% {
      background-color: blue;
    }
    50%,
    100% {
      background-color: red;
    }
}

@media only screen and (max-width: 800px) {
    .menu_width {
        width: 0%;
        display: none;
    }

    .search_input_text_container {
        display: none;
    }
    
    .orders_width {
        width: 100%;
        border-left: none;
    }

    .top_header_buttons, .orders_actions_custom, .basket {
        display: none;
    }

    .top_header_buttons {
        width: 0;
    }

    .order_full_container {
        flex-flow: column-reverse;
    }
}
