:root {
    --menu-selected: #889ae9;

    --logo-height-x-large: 70px;
    --logo-height-large: 70px;
    --logo-height-medium: 70px;
    --logo-height-small: 50px;
    --logo-height-x-small: 50px;

    --logo-width-x-large: 100px;
    --logo-width-large: 100px;
    --logo-width-medium: 100px;
    --logo-width-small: 70px;
    --logo-width-x-small: 70px;

    --hdr-bckgrnd-height-x-large: 56px;
    --hdr-bckgrnd-height-large: 56px;
    --hdr-bckgrnd-height-medium: 56px;
    --hdr-bckgrnd-height-small: 30px;
    --hdr-bckgrnd-height-x-small: 30px;

    --header-info-padding-x-large: 10px;
    --header-info-height-x-large: 35px;
    --header-info-padding-large: 10px;
    --header-info-height-large: 35px;
    --header-info-padding-medium: 10px;
    --header-info-height-medium: 25px;
    --header-info-padding-small: 10px;
    --header-info-height-small: 20px;
    --header-info-padding-x-small: 10px;
    --header-info-height-x-small: 20px;

    --header-height-x-large: calc(var(--hdr-bckgrnd-height-x-large) + var(--header-info-height-x-large) + var(--header-info-padding-x-large));
    --header-height-large: calc(var(--hdr-bckgrnd-height-large) + var(--header-info-height-large) + var(--header-info-padding-large));
    --header-height-medium: calc(var(--hdr-bckgrnd-height-medium) + var(--header-info-height-medium) + var(--header-info-padding-medium));
    --header-height-small: calc(var(--hdr-bckgrnd-height-small) + var(--header-info-height-small) + var(--header-info-padding-small));
    --header-height-x-small: calc(var(--hdr-bckgrnd-height-x-small) + var(--header-info-height-x-small) + var(--header-info-padding-x-small));

    --login-height-medium: 24px;
    --login-width-medium: 30px;
    --login-height-small: 18px;
    --login-width-small: 26px;
    
    --loggedin-height-large: 24px;
    --loggedin-width-large: 24px;
    --loggedin-height-medium: 18px;
    --loggedin-width-medium: 18px;
    --loggedin-height-small: 14px;
    --loggedin-width-small: 14px;

    --info-container-x-large: 68px;
    --info-container-large: 68px;
    --info-container-medium: 58px;
    --info-container-small: 48px;
    --info-container-x-small: 48px;

    --max-width: 900px;

    --allergen-container-height: 50px;

    --z-index-fullscreen: 3000;
    --z-index-sidenav: 2000;
    --z-index-header: 1000;
    --z-index-cookie: 1000;
    --z-index-allergens: 100;
    --z-index-errors: 100;
    --z-index-modals: 50;
    --z-index-sidenav-basket-totals: 11;
    --z-index-sidenav-basket: 10;
    --z-index-hdr-logo: 4;
    --z-index-hdr-text: 4;
    /* ModalBoxConfirmation() for cancelling order dialog: 3 */
    /* ModalBoxConfirmation() for delete order item dialog: 3 */
    --z-index-add-item-basket: 3;
    --z-index-edit-order-item: 2;
    /* ModalBoxConfirmation() default: 1 */
    --z-index-popup: 1;
    --z-index-login-snackbar: 1;
    --z-index-allergen-container: 1;
    --z-index-hdr: 0;
    --z-index-open-only-slider: -1;
    --z-index-hdr-background: -2;

    --location-search-margin-top: 10px;
    --location-search-input-height: 25px;
    --loc-search-padding: 10px;
    --location-search-landscape-margin: calc(-2 * var(--loc-search-padding) - var(--location-search-margin-top) - var(--location-search-input-height));

    --chat-font-large: 22px;

    --loclist-img-maxwidth: 400px;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: JETSansDigital, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: white;
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    z-index: var(--z-index-cookie);
    height: 100vh;
    overflow: scroll;
}

.cookie-banner-content {
    padding: 15px;
    margin-bottom: 20vh;
}

.cookie-banner-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.cookie-banner-body {
    text-align: left;
    font-size: medium;
    margin: 20px 0;
}

.cookie-banner-essential, .cookie-banner-notdone {
    font-size: 22px;
    border: 1px solid orange;
    border-radius: 20px;
    padding: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

.cookie-banner-notdone {
    font-weight: 100;
}

.cookie-banner-notdone-emphasise {
    font-weight: 800;
}

.cookie-banner-policy-title {
    font-size: 22px;
    text-align: center;
}

.cookie-banner-policies {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.cookie-banner-policies a {
    margin: 10px auto;
    display: block;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    max-width: 500px;
}

.cookie-banner-policy {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    z-index: var(--z-index-cookie);
}

.cookie-banner-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-banner-button {
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 12px;
    margin: 10px;
}

.cookie-accept-button {
    background-color: #4CAF50;
}

.cookie-decline-button {
    background-color: red;
}

.cookie-accept-essential-button {
    background-color: orange;
    margin-bottom: 30vh;
}

.policy-close-button {
    width: fit-content;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    background-color: black;
    color: white;
}

.location_body {
    background-color: rgba(0,0,0,0.1);
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.location-area {
    height: 100vh;
}

.terms_div {
    background-color: white;
    padding: 0px 5px;
}

.body_container {
    margin: 0 auto;
}

.scrollY {
    overflow-y: scroll;
}

.posrelative {
    position: relative;
}

.max_width {
    max-width: var(--max-width);
    margin: 0 auto;
}

.full_width {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.half_width {
    width: 50%;
}

.small_width {
    min-width: 1%;
    max-width: 1%;
    width: 1%;
}

.full_height {
    height: 100%;
}

.centre_align {
    text-align: center;
}

.right_align {
    text-align: right;
}

.left_align {
    text-align: left;
}

.vert_top {
    vertical-align: top;
}

.flexdiv {
    display: flex;
}

.flip {
    transform: rotate(180deg);
}

.space_evenly {
    justify-content: space-evenly;
}

.space_between {
    justify-content: space-between;
}

.space_around {
    justify-content: space-around;
}

.justify-centre {
    justify-content: center;
}

.font-bold {
    font-weight: bold;
}

.top-border {
    border-top: 1px solid black;
}

.the_header {
    min-height: var(--header-height-x-large);
    height: var(--header-height-x-large);
    max-height: var(--header-height-x-large);
    width: 100%;
    position: relative;
    z-index: var(--z-index-hdr);
    background-color: white;
}

.add_item_basket {
    z-index: var(--z-index-add-item-basket);
}

.basket_image img{
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    height: 50px;
    max-height: 50px;
    min-height: 50px;
}

.basket_count {
    background-color: rgba(255, 165, 0, 0.9);
    color: black;
    position: absolute;
    text-align: center;
    height: 25px;
    font-size: 20px;
    width: 35px;
    top: -5px;
    right: 15px;
    border-radius: 4px;
}

.info_container {
    margin: 0 auto;
    background-color: white;
    border-bottom: 1px solid black;
    height: var(--info-container-large);
    max-height: var(--info-container-large);
    min-height: var(--info-container-large);
}

.location_content {
    overflow: hidden;
    height: calc(100% - var(--header-height-x-large));
}

.show_menu_inner {
    height: calc(100% - var(--info-container-x-large));
}

.hdr_adorders_logo_image {
    max-width: var(--logo-width-x-large);
    min-width: var(--logo-width-x-large);
    width: var(--logo-width-x-large);
    max-height: var(--logo-height-x-large);
    min-height: var(--logo-height-x-large);
    height: var(--logo-height-x-large);
    position: absolute;
    left: calc(50% - var(--logo-width-x-large) / 2);
    z-index: var(--z-index-hdr-logo);
    top: -35px;
}

.hdr_adorders_logo_h2 h2, .location_name {
    color: black;
    font-size: x-large;
    font-weight: 1000;
    z-index: var(--z-index-hdr-text);
}

.header_info {
    padding-top: var(--header-info-padding-x-large);
}

.header_info, .location_name, .customer_login_container, .hdr_adorders_logo_h2 {
    height: var(--header-info-height-x-large);
}

.location_name {
    word-break: break-word;
    text-align: left;
    padding: 0 5px;
    max-width: 40%;
    background: none;
    border-radius: 5px;
    margin-left: 10px;
    color: transparent;
}

.hdr_adorders_logo_h2 {
    word-break: break-all;
}

.header_background_img {
    width: 100%;
}

.header_background, .header_background_img {
    height: var(--hdr-bckgrnd-height-x-large);
}

.loc_search {
    display: flex;
    padding: var(--loc-search-padding);
}

.loc_search_button {
    margin-left: 5px;
}

.loc_search_button img {
    width: 30px;
    height: 30px;
    display: block;
    margin: 0px auto;
}

.loc_search_container {
    display: flex;
    align-items: center;
}

.a-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 5px auto;
}

.locations_item {
    border: solid 1px black;
    border-radius: 10px;
    display: flex;
    width: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.locations_details {
    width: 70%;
}

.locations_logo {
    margin: 5px;
    width: 30%;
}

.locations_rating {
    height: 45%;
    overflow: hidden;
}

.locations_rating_image {
    width: 12px;
    height: 30px;
}

.locations_rating_image_slider {
    width: 6%;
    max-width: 9px;
    height: 100%;
    max-height: 40px;
    padding-bottom: 5px;
}

.cuisines_checkboxes_list {
    margin: 0 5px 0 0;
    list-style-type: none;
    padding-inline-start: 0;
 }

 .vertical_align {
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    -webkit-transform: perspective(1px) translateY(-50%);
    -ms-transform: perspective(1px) translateY(-50%);
 }

 .is-blurred {
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

.delivery_info {
    width: -webkit-fill-available;
    justify-content: flex-end;
}

 .delivery_bike {
     width: 50px;
     height: 40px;
 }

.order_name_input, .order_phone_input, .order_email_input {
    text-align: center;
    margin: 20px auto;
    font-size: x-large;
}

.order_name_input input, .order_phone_input input, .order_email_input input {
    font-size: xx-large;
    width: 90%;
}

.order_info_ok {
    text-align: center;
    margin-top: 30px;
}

.waiting_confirmation {
    font-size: x-large;
}

.waiting_confirmation_name {
    font-size: x-large;
    margin-bottom: 1%;
}

.waiting_confirmation_amount {
    font-size: x-large;
    font-weight: 900;
    color: red;
}

.waiting_confirmation_refresh {
    font-size: x-large;
    color: red;
}

.waiting_confirmation_wait {
    font-size: x-large;
}

.order_transport_type {
    width: 100%;
    margin-top: 1%;
    padding-bottom: 1%;
    font-size: x-large;
}

.order_transport_type_container_checked {
    background-color: black;
    color: white;
}

.order_transport_type_container_not_checked {
    border-bottom: 1px solid black;
}

.order_info_personal {
    flex-wrap: wrap;
}

.order_transport_delivery_details {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid red;
    display: block;
}

.sticky_container {
    position: sticky;
    top: 0;
    border-bottom: 1px solid black;
    z-index: var(--z-index-header);
}

.the_header_background {
    z-index: var(--z-index-hdr-background);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

.the_header_background img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.order_address1_input, .order_address2_input, .order_postcode_input {
    margin: 0 auto 10px auto;
    display: flex;
    width: 90%;
}

.order_address1_input input, .order_address2_input input, .order_postcode_input input {
    font-size: large;
}

.order_address1_input input, .order_address2_input input {
    width: 100%;
}

.order_postcode_input input {
    width: calc(100% - 135px);
}

.order_info_container {
    flex-wrap: wrap;
    justify-content: center;
}

.order_button_container {
    text-align: center;
    margin: 20px 20px 5px 20px;
}

.order_button_container button {
    font-size: xx-large;
}

.order_payment_buttons {
    justify-content: end;
}

.transport_chosen {
    font-size: xx-large;
    text-align: center;
    animation: discount_blinker 1s linear infinite;
}

/* globally make all scrollbars hidden */
/* width */
::-webkit-scrollbar {
    width: 0px;
}

/* Track */
::-webkit-scrollbar-track {
    background: white; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: black; 
}

.item_allergen {
    border-radius: 50%;
    margin: 0 0 0 3px;
    font-size: large;
    height: 25px;
    width: 25px;
}

.item_allergen_char {
    text-align: center;
}

.item_allergens_allergy_col {
    text-align: center;
}

.item_allergens_desc_col {
    width: 50%;
    text-align: left;
}

.item_allergens_allergy_col p {
    border-radius: 50%;
    width: 100px;
    margin: 0;
}

.item_allergens_desc_col p {
    margin: 0 0 0 20px;
}

.allergen_row {
    margin-bottom: 15px;
}

.order_allergens {
    margin-bottom: 50vh;
}

.failed_responses_button {
    width: 100%;
    text-align: center;
}

.are_you_sure {
    font-size: 20px;
    text-align: center;
}

.orders_rejected {
    font-size: 24px;
    text-align: center;
    padding: 0 10px;
}

.orders_rejected_button {
    text-align: center;
}

.orders_rejected_congrats {
    font-size: x-large;
    text-align: center;
    color: #A7A7A7;
}

.orders_rejected_id {
    font-size: xx-large;
    text-align: center;
    font-weight: 800;
}

.orders_rejected_cost {
    font-size: xx-large;
    text-align: center;
    padding-bottom: 20px;
}

.orders_rejected_screenshot {
    font-size: xx-large;
    text-align: center;
    padding-bottom: 20px;
}

.orders_rejected_future {
    font-size: x-large;
    text-align: center;
    padding-top: 20px;
    color: #A7A7A7;
}

.are_you_sure_button_no, .are_you_sure_button_yes {
    width: 50%;
    margin-bottom: 10px;
}

.are_you_sure_button_ok {
    width: 100%;
    text-align: center;
}

.are_you_sure_button_no {
    text-align: right;
    padding-right: 20px;
}

.are_you_sure_button_yes {
    text-align: left;
    padding-left: 20px;
}

.orders_rejected_button button {
    font-size: xx-large;
}

.are_you_sure_button button {
    font-size: xx-large;
    margin-top: 20px;
    margin-bottom: 10px;
}

.go_to_top{
  position: fixed;
  right: 12px;

  bottom: max(16px, calc(16px + env(safe-area-inset-bottom)));
  bottom: max(16px, calc(16px + constant(safe-area-inset-bottom))); /* older iOS */

  background: none;
  border: none;
  padding: 0;
  z-index: 9999;
}


.go_to_top img {
    width: 50px;
    height: 50px;
}

#custome_add_option {
    margin: 2px 10px;
}

.order_totals_title {
    padding-right: 20px;
}

.order_totals_val {
    padding-right: 3px;
}

.order_discount_title {
    border-bottom: 1px solid blue;
    padding-bottom: 20px;
}

.closed_message {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    text-align: center;
    padding-top: 10px;
    overflow: scroll;
    background-color: white;
}

.closed_hours {
    border: 1px solid black;
    border-radius: 20px;
    text-align: center;
    width: fit-content;
    margin: 30px auto 80vh auto;
    padding: 20px;
}

.closed_row {
    margin-bottom: 20px;
}

.closed_day {
    width: 60px;
    font-size: 25px;
    box-sizing: border-box;
    margin: 0 20px 0 0;
}

.closed_from, .closed_to, .closed_closed, .closed_separator {
    font-size: 25px;
    text-align: center;
}

.closed_separator {
    margin: 0 2px;
}

.catch_errors {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(245, 103, 103);
    color: white;
    z-index: var(--z-index-errors);
    overflow-wrap: break-word;
    font-size: 10px;
}

.order_problem_sorry {
    margin-bottom: 3%;
    font-size: x-large;
}

.order_problem_charged {
    margin-bottom: 5%;
    font-size: xx-large;
    color: red;
}

.order_problem_msg {
    margin-bottom: 3%;
    font-size: xx-large;
    font-weight: 600;
}

.order_problem_code {
    margin-bottom: 5%;
    font-size: large;
}

.order_delivery_cost {
    font-size: x-large;
    text-align: center;
}

.order_payment_inf_cost {
    font-size: 24px;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}
 
.order_payment_inf_cost_left {
    width: 64%;
    text-align: right;
    margin-right: 3%;
}

.order_payment_inf_cost_right {
    width: 30%;
    text-align: right;
    margin-left: 3%;
}

.order_payment_inf_cost_right_border {
    border-top: 1px solid gray;
    width: 40%;
}

.transport_specify_container {
    font-size: x-large;
    border: 1px solid white;
    margin: 20px 0;
    width: 100%;
    display: flex;
}

.transport_specify_selection_time {
    color: gray;
}

.transport_specify_selection_asap input, .transport_specify_selection_time input{
    width: 20px;
    height: 20px;
}

.transport_specify_asap_time {
    font-size: x-large;
}

.transport_specify_asap_container {
    margin-right: 20px;
}

.transport_specify_time_container {
    margin-left: 10px;
}

.transport_specify_time_container input {
    font-size: x-large;
}

.itemextras_order_table {
    background-color: #f6f6f6;
    border-bottom: 1px solid #ffc5b0;
    border-top: 1px solid #ffc5b0;
}

.itemextras_answers {
    color: black;
}

.itemextras_hr {
    margin: 0 0 5px 0;
}

.itemextras_answers_container {
    max-height: 50vh;
    overflow: scroll;
}

#update_done_snackbar {
    visibility: hidden;
    width: 100%;
    background-color: orange;
    color: black;
    text-align: center;
    padding: 1%;
    position: fixed;
    z-index: var(--z-index-login-snackbar);
    bottom: 50%;
    font-size: x-large;
}
  
#update_done_snackbar.show {
    visibility: visible;
    -webkit-animation: update_done_snackbar_fadein 0.2s, update_done_snackbar_fadeout 0.2s 4.5s;
    animation: update_done_snackbar_fadein 0.2s, update_done_snackbar_fadeout 0.2s 4.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes update_done_snackbar_fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 50%; opacity: 1;}
}

@keyframes update_done_snackbar_fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 50%; opacity: 1;}
}

@-webkit-keyframes update_done_snackbar_fadeout {
    from {bottom: 50%; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes update_done_snackbar_fadeout {
    from {bottom: 50%; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.adorders_container_locations {
    width: 100%;
}

.adorders_column {
    width: 30%;
    height: 100%;
}

.adorders_column_2 {
    width: 70%;
    height: 100%;
}

.headers_img_login {
    min-height: var(--login-height-medium);
    height: var(--login-height-medium);
    max-height: var(--login-height-medium);
    margin-top: 5px;
    margin-left: 5px;
}

.headers_img_login img {
    min-height: var(--login-height-medium);
    height: var(--login-height-medium);
    max-height: var(--login-height-medium);
    min-width: var(--login-width-medium);
    width: var(--login-width-medium);
    max-width: var(--login-width-medium);
}

.headers_img_loggedin_border {
    border-radius: 50%;
    border: 1px solid black;
}

.headers_img_loggedin {
    min-height: calc(var(--loggedin-height-large) + 2);
    height: calc(var(--loggedin-height-large) + 2);
    max-height: calc(var(--loggedin-height-large) + 2);
    margin-left: 5px;
    padding-top: 5px;
}

.headers_img_loggedin img {
    min-height: var(--loggedin-height-large);
    height: var(--loggedin-height-large);
    max-height: var(--loggedin-height-large);
    min-width: var(--loggedin-width-large);
    width: var(--loggedin-width-large);
    max-width: var(--loggedin-width-large);
}

.right_header_container {
    width: 20%;
}

.page_column {
    width: 100%;
    text-align: center;
}

.menu_buttons {
    justify-content: center;
}

.menu_text {
    padding: 0 5%;
}

.login_img {
    width: 22px;
    height: 22px;
}

.login_image {
    width: 100%;
    text-align: right;
}

.slogan {
    margin: 10px 10%;
    border-radius: 5px;
    text-align: center;
}

h1 {
    margin-block-start: 10px;
    margin-block-end: 10px;
    font-family: sans-serif;
}

h2 {
    margin-block-start: 0px;
    margin-block-end: 0px;
    display: inline;
}

.about_area_container {
    overflow-y: scroll;
}

.cats, .items {
    background-color: white;
}

.items {
    border-radius: 15px;
}

.main_container {
    position: relative;
    height: 100%;
    margin-top: 10px;
}

.main_container_iframe {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

.customer_login_container {
    /*background-color: white;*/
    border-radius: 5px;
    padding: 5px;
    max-width: 55%;
    margin-right: 50px;
    align-items: center;
    line-height: 1.2;
}

.h1_container {
    background: none;
    text-align: center;
    width: 95%;
    margin: 0 auto;
}

.location_search {
    margin-top: var(--location-search-margin-top);
}

.location_search_title {
    font-size: xx-large;
}

.location_search input {
    font-size: medium;
    text-align: center;
    width: 100px;
    height: var(--location-search-input-height);
    text-transform: uppercase;
}

/* The switch - the box around the slider */
.open_only_switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 25px;
    border-radius: 25px;
    border: 1px solid black;
}
  
/* Hide default HTML checkbox */
.open_only_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
/* The slider */
.open_only_slider {
    -webkit-transition: .4s;
    transition: .4s;
    z-index: var(--z-index-open-only-slider);
}
  
.open_only_slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: red;
    -webkit-transition: .4s;
    transition: .4s;
}
  
.open_only_checkbox:checked + .open_only_slider:before {
    background-color: green;
}

.open_only_checkbox:checked + .open_only_slider:before {
    -webkit-transform: translateX(17px);
    -ms-transform: translateX(17px);
    transform: translateX(17px);
}

.open_only_slider.open_only_round:before {
    border-radius: 50%;
}

.open_only_label {
    margin: auto 5px;
    height: 25px;
    font-size: large;
}

.location_pad {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
}

.location_header_button {
    cursor: pointer;
    width: 80%;
    margin: 10px 10%;
}

.location_header_name {
    font-size: x-large;
    font-weight: 600;
    text-align: center;
}

.location_left {
    margin-top: 0;
    width: 15%;
    text-align: center;
}

.min_order_image {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.location_right {
    width: 83%;
    margin-left: 2%;
}

/* For the locations slider */
.logo_image {
    width: 100%;
    height: 100%;
}

.flexdiv_between {
    justify-content: space-between;
}

.location_summary {
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
    overflow: hidden;
    width: 98%;
    font-size: 18px;
}

.locations_address {
    font-size: 14px;
}

.location_open, .location_open_soon, .location_closed {
        display: inline-block;    /* Keep the content inline, shrinking the container */
        white-space: nowrap;      /* Prevent wrapping, so the container doesn't expand */
        margin-right: 1%;
        text-align: right;
        padding: 1px 4px;
        border-radius: 5px;
        font-size: 20px;
    }

.location_open {
    background-color: lightgreen;
}

.location_open_soon {
    background-color: orange;
}

.location_open_soon_container {
    display: flex;
    box-sizing: border-box;
    position: absolute;
    top: 10px;
    right: 10px;
    flex-direction: column;
}

.location_open_soon_preorder {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    color: white;
    background-color: red;
    border: 1px solid red;
    border-radius: 8px;
    box-sizing: border-box;
    margin: 5px 0;
    padding: 3px;
}

.pre-ordering, .basket-pre-order {
    background-color: white;
    text-align: center;
    font-size: 26px;
    padding: 15px 0px;
}

.pre-order-resp-title {
    font-size: 30px;
    color: cadetblue;
    margin-bottom: 20px;
}

.pre-order-resp-msg {
    font-size: 22px;
    font-weight: 100;
}

.location_closed {
    background-color: red;
}

.location_distance {
    font-family: Arial;
}

.basket_title {
    font-size: 6vh;
    font-weight: 800;
    margin-left: 20px;
    height: 8vh;
    min-height: 8vh;
    max-height: 8vh;
}

.rounded_button {
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 40px;
    background-color: #33334b;
    color: white;
}    
    
.basket_block {
    padding: 2px;
    background-color: white;
}

.basket_allergen_button {
    font-size: xx-large;
}

.cat_area {
    width: 40%;
    padding: 5px;
}

.items_area {
    width: 60%;
    padding: 5px;
}

.menu_info {
    margin: 0px 20px 0px 0px;
}

.cats_container {
    padding: 5px;
}

.menu_block {
    padding: 0 5px;
}

.search_input, .clear_search, .show_chat_button {
    font-size: large;
}

.search_input, .clear_search {
    padding: 5px 1px;
    border-width: 0px;
    text-align: center;
    border-radius: 5px;
    background-color: #33334b;
    color: white;
    width: 100%;
}

.search_input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search_container {
    width: 96%;
    margin: auto;
}

.basket_total {
    margin: auto;
    font-weight: 600;
    color: black;
    font-size: large;
    text-align: center;
    padding-right: 3px;
    font-family: sans-serif;
}

.clear_search {
    width: 15%;
}

.order_button {
    background: none;
    border: none;
}

.itemextras_qnts {
    width: 6%;
}

.answer_names {
    width: 60%;
}

.itemextras_amount {
    width: 21%;
    padding-right: 1%;
}

.order_button_img {
    border-radius: 5px;
    width: 30px;
    height: 30px;
}

.items_for_cat {
    margin-bottom: 30px;
}

.item_cat_header, .item_cat_header_desc {
    font-size: x-large;
}

.item_cat_header_desc {
    padding: 5px 10px 30px 10px;
}

.add_items {
    width: 25%;
}

.item_info {
    margin: 5px 0 10px 0;
    cursor: pointer;
}

.item_name {
    font-size: x-large;
    font-weight: bold;
}

.item_description {
    font-size: large;
}

.item_cost {
    font-size: x-large;
    text-align: right;
    padding-right: 10px;
}

.order_items {
    overflow-x: hidden;
    padding-bottom: 50vh;
}

.totals_container {
    background-color: white;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 5px;
    position: sticky;
    top: 0;
    z-index: var(--z-index-sidenav-basket-totals);
}

.order_header_items div {
    border-radius: 5px;
    text-align: center;
}

.no_items_container {
    font-size: xxx-large;
    padding-top: 50px;
    text-align: center;
    width: 100%;
}

.order_header_cost {
    margin: 10px 0;
}

.order_header_no {
    width: 10%;
}

.order_header_items, .extras_item_container {
    width: 70%;
}

.order_header_cost, .order_cost, .extras_order_cost {
    width: 15%;
}

.qnt_change_container, .extras_order_col1 {
    width: 7%;
    margin: 0 1.5%;
}

/* To get the select dropdown to work on iPhone we are removing all styling 
   from the select element and then building a custom select on the container div instead. */
.qnt_change_container select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline: none;
    grid-area: select;
}

.qnt_change_container {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-size: x-large;
    line-height: 1.1;
    display: grid;
    align-items: center;
    max-height: 35px;
}

.qnt_change_container::after {
    content: "";
    width: 50%;
    height: 40%;
    background-color: black;
    clip-path: polygon(90% 0%, 0% 0%, 45% 100%);
    grid-area: select;
    justify-self: end;
  }

.order_item_delete {
    width: 4%;
    margin-right: 1%;
}

.order_item_delete img {
    width: 25px;
    height: 30px;
}

.allergen_container {
    background-color: white;
    margin-bottom: 5px;
}

.order_buttons_container {
    flex-wrap: wrap;
}

.order_name {
    text-align: left;
    font-size: x-large;
    display: flex;
    margin: auto 0;
    width: 70%;
}

.order_cost {
    text-align: right;
    font-size: x-large;
    width: 15%;
    margin: auto 0;
}

.order_total_amount {
    font-weight: 800;
    margin: 1px 0;
    font-size: x-large;
    display: flex;
    justify-content: center;
}

.order_comment {
    border: 1px solid black;
    width: 100%;
    height: 10vh;
}

.order_comment textarea {
    resize: none;
    background: none;
    width: calc(100% - 2px); /* minus the borders */
    height: calc(100% - 2px); /* minus the borders */
    border: none;
    outline: none;
    font-size: x-large;
}

.extras_container {
    width: 100%;
}

.extras_order_qnt {
    padding: 0 10px;
}

.extras_order_name {
    text-align: left;
    width: 75%;
}

.extras_order_cost {
    text-align: right;
    font-size: large;
}

.order_payment_type input {
    display: none;
}

.order_payment_type img {
    width: 50px;
    height: 50px;
}

.order_payment_type_card, .order_payment_type_cash {
    width: 130px;
}

.order_payment_type_cash, .order_payment_type_card {
    border: 1px solid black;
    border-radius: 12px;
    padding: 5px;
}

.order_payment_type {
    margin: 10px 0;
    gap: 20px;
    justify-content: center;
}

.order_payment_type_name {
    font-size: 24px;
    margin: auto 0;
}

.order-payment-type-selected {
    text-align: center;
}

.order_payment_type_selected {
    background-color: black;
    color: white;
}

.payment-type-chosen {
    text-align: right;
    font-size: 18px;
}

.order_payment_type_not_selected {
    color: gray
}

.order_payment_type_discount {
    text-align: center;
    font-size: 18px;
}

.order_payment_type_card_only, .order_payment_type_cash_only {
    background-color: white;
    color: black;
    justify-content: center;
    border: none;
}

.action_order_button_cancel, .action_order_button_submit {
    font-size: x-large;
    border-radius: 15px;
    padding: 3px 10px;
    border: none;
}

.action_order_button_submit:disabled {
    color: gray;
    background-color: rgb(73, 73, 239);
}

.itemextras_order_cost, .itemextras_order_desc, 
.itemextras_order_question,
.itemextras_order_item_title, .itemextras_order_question_req {
    font-size: x-large;
}

.itemextras_order_item_title {
    text-align: left;
}

.itemextras_order_cost {
    text-align: right;
    margin-left: 20px;
}

.itemextras_order_button {
    font-size: x-large;
    background: none;
    border: none;
    width: 92%;
}

.itemextras_order_question {
    width: 100%;
    background-color: wheat;
    text-align: center;
}

.itemextras_order_question_req {
    width: 30%;
}

.itemextras_order_add_order, .itemextras_order_total {
    font-size: xx-large;
}

.itemextras_order_add_order {
    padding-right: 10px;
}

.itemextras_order_item {
    width: 100%;
}

.itemextras_order_submit {
    margin: 4% 4% 20% 60%;
    width: 36%;
}

.itemextras_order_navigate, .itemextras_order_addtoorder {
    margin: 10px;
}

.itemextras_order_navigate {
    background: none;
    border: none;
}

.itemextras_order_navigate img {
    width: 40px;
    height: 40px;
}

.itemextras_order_addtoorder {
    display: inline-flex;
    background-color: black;
    color: white;
    border: none;
    border-radius: 3px;
}

.itemextras_order_filter {
    width: 100%;
    text-align: center;
    padding: 0;
    border: none;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    font-size: x-large;
    margin: 5px 0;
}

.itemextras_dels {
    width: 5%;
}

.extras_order_qnt, .extras_order_name, .itemextras_order_cost {
    font-size: large;
}

.basket_new_item {
    animation-name: basketNewItemsFrames;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
    animation-duration: 1s;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: var(--z-index-modals); /* Sit on top */
    left: 0;
    /*top: 0;*/
    width: 100%; /* Full width */
    /*height: 100%; Full height */
    overflow: auto; /* Enable scroll if needed */
    font-size: x-large;
    border-top: 4px solid orange;
    border-bottom: 4px solid orange;
    max-height: 95vh;
}

.new-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
}

.modal-header td {
    padding: 0 10px 0 10px;
}

/* Modal Content */
.modal-content {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: auto;
    height: 50%;
}

.new-modal-content {
    background-color: rgba(128, 128, 128, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.new-modal-content-sub {
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    padding: 10px;
    font-size: 20px;
    line-height: 1;
    margin: 0 5px;
}

.new-modal-header .flexdiv {
    display: flex;
    justify-content: space-between;
}

.modal-header {
    width: 99%;
    max-width: var(--max-width);
    margin: 0 auto;
    justify-content: space-between;
}

.modal-body {
    padding: 10px 10px 0 10px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.new-modal-body {
    padding: 25px 10px 10px 10px;
}

.payment-processing-div {
    margin: 20px 0;
}

.payment-processing-div b {
    font-size: 24px;
}

.payment-processing-confirm {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.payment-processing-confirm input {
    width: 25px;
    height: 25px;
}

.new-modal-body button {
    font-size: 24px;
}

.new-modal-body .flexdiv {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-outer {
    width: 100%;
    height: 25%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}
  
.modal-inner {
    height: 30%;
}

/* must be after .modal to override the z-index */
.allergen_dialog {
    z-index: var(--z-index-allergens);
    height: 75vh;
}

.edit_order_item {
    z-index: var(--z-index-edit-order-item);
}

.company_image {
    border-radius: 5px;
    max-width: 100%;
    max-height: 7vh;
}

.showmenu_container {
    background-color: #474B4F;
}

.showmenu_container {
    border-radius: 30px 80px;
}

.search_input_container {
    width: 35%;
}

.cats, .items {
    overflow-y: scroll;
}

.cat_table, .item_table {
    position: relative;
    margin-bottom: 40vh;
}

.items_container {
    width: 61.5%;
    margin-left: 3%;
    margin-right: 0.5%;
    overflow-x: hidden;
}

.cats {
    width: 34.5%;
    margin-left: 0.5%;
    overflow-x: hidden;
    background-color: transparent;
}

.items_for_cat {
    color: black;
}

.items_for_cat {
    margin-bottom: 30px;
}

.category_list, .category_list_selected {
    padding: 0;
}

.cat_button_text {
    color: black;
    background-color: white;
}

.category_buttons, .cat_button_text, .cat_button_text_selected {
    margin: 0;
}

.cat_button_text, .cat_button_text_selected {
    width: 100%;
    border: none;
    margin: 5px 0;
}

.cat_button_text:focus, .cat_button_text_selected:focus {
    outline: none;
}

.cat_button_text, .cat_button_text_selected, .category_buttons {
    font-size: large;
}

.cat_button_text, .cat_button_text_selected {
    padding: 15px 0;
    border-radius: 15px;
}

.cat_button_text_selected {
    color: white;
    font-weight: 800;
    background-image: radial-gradient(black, gray);
}

@keyframes discount_blinker {
    50% {
        opacity: 0;
    }
}

.scrolling_cats_iframe_show {
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

.scrolling_cats_iframe_hidden {
    width: 0%;
    margin-left: 0%;
    margin-right: 0%;
}

.scrolling_items_iframe_show {
    width: 99%;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

.scrolling_items_iframe_hidden {
    width: 0%;
    margin-left: 0%;
    margin-right: 0%;
    padding-right: 0;
}

.cat_table_iframe {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.category_list_iframe {
    background-color: #2c7c6f;
    border-radius: 25%;
}

.sidenav, .basket_area {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: var(--z-index-sidenav-basket);
    top: 0;
    overflow-x: hidden;
    transition: 0.1s;
    right: 0;
}

.sidenav {
    z-index: var(--z-index-sidenav);
}

.basket_area_show {
  width: 100%;
  background-color: #c9c6c6;
}

.sidenav_show {
  width: 100%;
}

.sidenav {
  background-color: white;
}

.basket_area_small {
    width: 0;
    display: none;
}

.sidenav .closebtn {
  text-align: right;
  margin-right: 20px;
}

.sidenav .closebtn, .close, .modal_header {
  font-size: x-large;
}

.close {
    all: unset;
    font-size: 30px;
}

.sidenav_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.sidenav_flex_div {
    width: 140px;
    height: 200px;
    margin: 10px;
}

.sidenav_image {
    width: 120px;
    height: 120px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
}

.sidenav_text {
    text-align: center;
}

.modal_header_x {
    text-align: right;
}

.modal_header_allergen_x {
    width: 20%;
    text-align: right;
    font-size: large;
}

.modal_header {
  color: black;
  width: 80%;
}

.processing_order {
    width: 100%;
    text-align: center;
}

.close {
  width: 20%;
  text-align: right;
  padding-right: 20px;
  background: none;
  border: none;
  font-weight: 800;
}

.basket_area .closebtn {
  position: absolute;
  top: -5px;
  right: 10px;
  font-size: 30px;
  margin-left: 0;
  padding: 0;
}

.menu_selected {
    background-color: var(--menu-selected);
}

.slogan {
    background-color: #b4b4b4;
}

.modal-content, .popup .popuptext {
    background-color: white;
}

.popup .popuptext, .modal-content {
    color: black;
}

.items_for_cat, .category_buttons {
    color: black;
}

.item_cat_header {
    background-image: radial-gradient(white, gray);
    color: black;
}

.item_cat_header_desc {
    background-color: #edecec;
    color: black;
}

.item_info {
    border-bottom: 1px solid black;
    padding-left: 10px;
    width: calc(100% - 10px);
}

.item_cost {
    color: #0060A0;
}

.item_data {
    display: flex;
    justify-content: space-between;
}

.order_item {
    border-bottom: solid 1px orange;
    padding: 10px 0;
}

.cats_container {
    border: 1px solid black;
}

.about_content {
    background-color: rgb(209, 209, 209);
    box-shadow: 5px 10px 18px #888888;
}

.location_header_button {
    border-bottom: 2px solid rgb(224, 223, 223);
}

.login_error, .not_logged_server {
    background-color: rgba(0, 0, 0, 0.7);
    color: red;
    font-weight: 700;
}

.order_total, .order_header_items_div {
    border: 1px solid black;
    height: fit-content;
}

.order_payment_type label > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
    border:2px solid #f00;
}

.order_payment_type > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
    border:2px solid #f00;
}

.action_order_button_cancel {
    background-color: black;
    color: white;
    margin-right: 30px;
}

.action_order_button_submit {
    background-color: #33334b;
    color: white;
}

.about_body {
    overflow: auto;
}

.about_images {
    margin: 20px 40%;
}

.about_images img {
    width: 100%;
    height: 100%;
}

.about_out {
	animation-name: aboutOutFrames;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
	animation-duration: 1s;
}

@keyframes aboutOutFrames {
	0% {
        opacity: 1;
	}
	100% {
        opacity: 0;
	}
}

.about_in {
	animation-name: aboutInFrames;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 1s;
}

@keyframes aboutInFrames {
	0% {
        opacity: 0;
	}
	100% {
        opacity: 1;
	}
}

.about_content {
    margin: 20px 10%;
    padding: 10px;
    border-radius: 10px;
    font-size: large;
}

.about_footer {
    display: flex;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

.contact_body {
    overflow: auto;
}

.contact_content {
    background-color: rgb(209, 209, 209);
    box-shadow: 5px 10px 18px #888888;
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    font-size: large;
    max-width: var(--max-width);
}

.the-header-container {
    position: sticky;
    top: 0;
}

.login_body {
    min-height: 100dvh;
}

@supports not (height: 100dvh) {
  login_body { min-height: 100vh; }
}

.login_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login_container header {
    width: 100%;
}

.login-body-container {
    min-height: inherit;
    display: flex;
    flex-direction: column;
}

.login-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.login-main .login_block {
  margin: 20px auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}

.login_block form {
    width: 100%;
    text-align: center;
}

.login-block-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 500;
}

.login_remme_container {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.login_remme_checkbox {
    width: 20px;
    height: 20px;
}

.login_remme_label {
    display: inline-block;
}

.divider-or {
  display: flex;
  align-items: center;   /* vertical align line to middle of text */
  gap: 12px;
  width: min(100%, 450px);
  margin: 10px auto;
  font-size: 18px;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid #ccc;
}

.outer_widths {
    min-width: 30%;
    max-width: 30%;
    width: 30%;
}
    
.change_login_inner_page {
    height: 30vh;
    max-height: 30vh;
    min-height: 30vh;
    margin-top: 30vh;
}
  
.login-input-container {
    margin: 16px auto;
    box-sizing: border-box;
    width: min(450px, 80%);
}

.login-input-container p {
    text-align: left;
    font-size: 20px;
    margin: 0;
    padding-bottom: 5px;
}

.login-input-pwd p {
    padding-bottom: 0;
}

.login-input-container input {
    font-size: 22px;
    border: 1px solid black;
    border-radius: 12px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

.login-input-pwd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
}

.login-input-pwd a {
    color: blue;
    font-style: normal;
    text-decoration: none;
}

.login_signup {
    color: blue;
    font-style: normal;
    text-decoration: none;
    font-size: 20px;
}
  
.log_button {
    font-size: 22px;
    text-align: center;
    margin-top: 20px;
    background-color: orange;
    color: black;
    font-weight: 600;
    width: min(250px, 75%);
    padding: 5px;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
}

.login_forgot_title {
    text-align: center;
    margin: 40px 0 10px 0;
}

.login_forgot_title h1 {
    font-size: 24px;
}

.login_forgot_text {
    padding: 10px;
    font-size: 21px;
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.login_forgot_response {
    text-align: center;
    color: red;
    background-color: black;
    margin-top: 20px;
}
  
.login_error {
    text-align: center;
    font-size: 24px;
    padding: 8px;
    border-radius: 6px;
}

.login-footer {
  flex: 0 0 auto;
}

.forgot-login-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forgot-login-info input {
    font-size: 22px;
    padding: 10px;
    border-radius: 8px;
    margin: 10px auto;
    width: 70%;
    max-width: 400px;
    box-sizing: border-box;
}

.forgot-login-info button {
    font-size: 22px;
    padding: 8px;
    border-radius: 8px;
    background-color: orange;
    margin: 10px auto;
    box-sizing: border-box;
}

.input_pulldown {
    margin-left: 5px;
}

.sub_hdr_container {
    display: flex;
    justify-content: space-between;
}

.transport_selected_container {
    display: flex;
    height: 45px;
    margin-top: var(--location-search-margin-top);
}

.transport_selection {
    font-size: xx-large;
    border: 1px solid black;
    background-color: white;
    margin: 3px 2%;
    border-radius: 10px;
    display: flex;
}

.transport_selection img {
    width: 20px;
    display: none;
    margin-left: 5px;
}

.transport_selected {
    background-color: black;
    color: white;
}

.transport_selected img {
    display: flex;
}

.transport_not_selected {
    background-color: white;
    color: black;
}

.orderby_container {
    width: 20%;
    margin: 0 auto;
}

/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* The actual popup */
  .popup .popuptext {
    visibility: hidden;
    width: 200%;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: var(--z-index-popup);
    bottom: 125%;
    left: 50%;
    margin-left: -100%;
  }
  
/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
}
  
/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
  
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}
  
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}  

@keyframes basketNewItemsFrames {
    0% {
        color:black;
    }
    /*10% {
        color:white;
    }
    20% {
        color:black;
    }
    30% {
        color:white;
    }
    40% {
        color:black;
    }*/
    50% {
        color:white;
        background-color: rgba(85, 55, 0, 0.8);
    }
    /*60% {
        color:black;
    }
    70% {
        color:white;
    }
    80% {
        color:black;
    }
    90% {
        color:white;
    }*/
    100% {
        color:black;
        background-color: rgba(255, 165, 0, 0.8);
    }
}

.prevorder_h1_container {
    border-bottom: 1px solid black;
    width: 100%;
    max-width: var(--max-width);
    margin-top: 30px;
    font-size: large;
}

.prevorder_order {
    padding: 10px 0 0 0;
}

.preorder_order {
    margin-bottom: 2vh;
}

.prevorder_logo {
    width: 120px;
    text-align: center;
}

.prevorder_details {
    width: calc(80% - 120px);
}

.prevorder_cost {
    width: 19%;
    text-align: right;
    margin-right: 1%;
}

.prevorder_details, .prevorder_cost {
    border-bottom: 1px solid gray; 
}

.prevorder_details div, .prevorder_cost{
    font-size: x-large;
}

.prevorder_details_name {
    font-weight: 600;
}

.prevorder_logo img {
    max-width: 80px;
    max-height: 80px;
}

.full_order_container {
    background-color: #EEEEEE;
    color: black;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 18px;
}

.current_order_container {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.full_order_header, .full_order_ref, .full_order_items, .full_order_total, 
.full_order_date, .current_order_container {
    border-bottom: 1px solid blue;
}

.current_order_container .full_order_header, .current_order_container .full_order_ref {
    border-bottom: none;
}

.full_order_header {
    padding-top: 5px;
}

.full_order_logo { /*must be after .prevorder_logo */
    width: 78%;
    text-align: left;
    margin-left: 2%;
}

.current_order_logo { /*must be after .prevorder_logo */
    width: 100%;
    text-align: center;
}

.current_order_state_container {
    margin: 10px 0;
}

.current_order_state {
    text-align: center;
    border: 1px solid black;
    width: 80%;
    margin: 0 auto;
    background-color: lightgray;
    color: darkgray;
}

.current_order_state_selected {
    background-color: lightgreen;
    color: black;
}

.current_order_state_selected_cancelled {
    background-color: red;
    color: black;
}

.no_current_order {
    text-align: center;
    margin-top: 20px;
}

.full_order_ref {
    text-align: center;
    font-size: xx-large;
    font-weight: 600;
    padding: 5px 0;
}

.full_order_items {
    padding: 5px;
}

.full_order_item_qnt {
    width: 3%;
}

.full_order_item_name {
    width: 77%;
}

.full_order_item_cost {
    text-align: right;
    width: 20%;
}

.full_order_itemextra_qnt {
    width: 5%;
    margin-left: 2%;
}

.full_order_itemextra_name {
    width: 73%;
}

.full_order_itemextra_cost {
    text-align: right;
    width: 20%;
}

.full_order_leftcol {
    width: 69%;
    margin-left: 1%;
    text-align: left;
}

.full_order_rightcol {
    width: 29%;
    margin-right: 1%;
    text-align: right;
}

.full_order_comments {
    padding: 10px 0;
    margin-left: 1%;
}

.full_order_total_label, .full_order_total_amount {
    font-weight: 800;
}

.full_order_again {
    text-align: center;
    padding: 5px;
}

.full_order_again button {
    font-size: xx-large;
}

.order_item_full_line {
    background-color: green;
}

.order_checkout_dialogs {
    background-color: white;
    color: black;
}

.modal_content_itemextras {
    overflow: hidden;
}

.prevorder_container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.customer_register_title {
    margin-top: 20px;
    font-size: xx-large;
    border-bottom: 1px solid black;
}

.customer_register_form_container {
    max-height: 83vh;
    overflow-y: scroll;
}

.customer_register_label, .customer_register_name_first, 
.customer_register_name_last, .customer_register_email,
.customer_register_phone, .customer_register_addr1,
.customer_register_addr2, .customer_register_postcode,
.customer_register_pwd, .customer_register_confirm_pwd {
    font-size: xx-large;
}

.customer_register_label {
    color: chocolate;
}

.customer_register_label {
    margin-left: 1%;
    margin-top: 20px;
}

.customer_register_name_first {
    width: calc(47.5% - 8px);
    margin: 0 2.5% 0 5%;
}

.customer_register_name_last {
    width: calc(47.5% - 8px);
    margin: 0 5% 0 2.5%;
}

.customer_register_email, .customer_register_phone,
.customer_register_addr1, .customer_register_addr2 {
    width: calc(90% - 8px);
    margin: 0 5%;
}

.customer_register_pwd,
.customer_register_confirm_pwd {
    width: calc(80% - 8px);
    margin: 0 2% 0 5%;
}

.customer_register_postcode {
    width: calc(90% - 140px);
    margin: 0 10px 0 5%;
}

.customer_register_addr1, .customer_register_addr2,
.customer_register_postcode, .customer_register_pwd,
.customer_register_confirm_pwd {
    margin-bottom: 10px;
}

.customer_register_button {
    margin: 20px 0;
    text-align: center;
    border-top: 1px solid black;
}

.customer_register_button button {
    border: none;
    background-color: blue;
    color: white;
    font-size: xxx-large;
    margin-top: 20px;
    margin-bottom: 20vh;
    border-radius: 10px;
}

.customer_register_error_hdr {
    padding-top: 0;
}

.customer_register_error_sub_hdr {
    font-size: xxx-large;
    color: red;
}

.customer_register_error_msg {
    text-align: center;
    font-size: xx-large;
}

.customer_register_error_button {
    margin-top: 20px;
    text-align: center;
}

.customer_register_error_button button {
    font-size: xx-large;
}

.customer_register_eye {
    width: 60px;
    height: 30px;
    margin-top: 5px;
}

.login_message {
    text-align: center;
    font-size: xx-large;
    margin: 10px 0;
}

.order_issues_fontsize {
    font-size: xx-large;
}

.order_issues_border {
    border-top: 1px solid orange;
    margin-top: 10px;
    padding-top: 5px;
}

.basket_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order_processing_img {
    width: 50px;
    height: 50px;
}

.doc-title {
    font-size: x-large;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}

.doc-body {
    font-size: small;
    text-align: left;
    margin: 5px;
}

.doc-header1 {
    font-size: medium;
    margin: 20px;
}

.doc-line {
    height: 1px;
    background-color: black;
    margin: 20px 0;
}

/*---------------------------------------------------------------------
  Radio Buttons for Order Delivery Tip
  */
.col {
  float:left;
  margin: 0 1% 0 0;
  width: 42%;
  font-size: 24px;
}

.delivery_tip input {
	display: none;
}

.delivery_tip label {
	background-color: #fbd7d7;
	text-align: center;
	border: 3px solid transparent;
}

.delivery_tip input:checked + label {
	border: 3px solid #333;
	background-color: #8be7b2;
}

.delivery_tip_right {
    margin-top: auto;
}

.delivery_tip_title {
    text-align: left;
}

.full_order_total {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.order_total_borders {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
/*---------------------------------------------------------------------
*/

/* Make sure this is after h1_container prevorder_h1_container as it overrides the margin */
.chat-title {
    margin-top: 15px;
}

.chat-hr {
    height: 0px;
    border: 1px solid rgba(237,227,156,0.5);
}

.chat-button {
    font-size: large;
    padding: 5px;
    border: 1px solid black;
    border-radius: 10px;
    margin: 5px 20px 0 20px;
}

.chat-none {
    text-align: center;
    font-size: xx-large;
    margin: 30px 0;
}

.open-chat-msgs {
    height: 50vh;
    background-color: black;
    padding: 5px;
    overflow-y: scroll;
    color: white;
}

.open-chat-enter {
    width: calc(100% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.open-chat-enter input {
    width: 100%;
    font-size: var(--chat-font-large);
    box-sizing: border-box;
}

.end-chat {
    font-size: var(--chat-font-large);
    margin: 10px auto 20px 10px;
    background-color: white;
    color: black;
    border-style: solid;
}

.open-chat-send, .open-chat-send-disabled {
    width: 30px;
    margin: 10px 10px 20px auto;
    background-size: 30px 30px;
    background-position: center;
    background-color: white;
    border: none;
    background-repeat: no-repeat;
}

.open-chat-send {
    background-image: url("../IMAGES/send-chat-trans.png");
}

.open-chat-send-disabled {
    background-image: url("../IMAGES/send-chat-disabled-trans.png");
}

.chat-msg-customer, .chat-msg-location {
    margin: 5px;
    border-radius: 5px;
    width: fit-content;
    max-width: 60%;
    padding: 0 10px;
    word-break: break-word;
    color: white;
}

.chat-msg-customer {
    background-color: #598c6e;
    margin: 5px 0 5px auto;
}

.chat-msg-location {
    background-color: #4d4d4d;
    margin: 5px auto 5px 0;
}

.chat-header-you {
    margin-left: 10px;
}

.chat-header-location {
    margin-right: 10px;
}

.view-chat-list {
    font-size: 18px;
    text-align: center;
    margin: 20px;
}

.view-chat-list-item {
    margin: 20px;
    border: 1px solid black;
    border-radius: 10px;
}

.fetch_address_results {
    position: fixed;
    background-color: #f1f1f1;
    color: black;
    font-size: 30px;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    height: 100vh;
}

.fetch_address_results_close_container {
    width: 100%;
    background-color: black;
    color: white;
    margin-bottom: 10px;
}

.fetch_address_results_close {
    width: fit-content;
    font-size: 30px;
    padding: 5px;
}

.fetch_address_results_list {
    height: 90vh;
    overflow-y: scroll;
    display: block;
}

.fetch_address_results_common {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.fetch_address_match_container {
    box-sizing: border-box;
    width: 90%;
    max-width: 500px;
    margin: 10px auto;
}

.fetch_address_match {
    text-align: center;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    color: black;
    padding: 8px;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.address_search_button {
    background-color: blue;
    color: white;
    border-radius: 10px;
    text-align: center;
    padding: 9px 3px;
    font-size: 18px;
    margin: 0 5px 10px 5px; 
    width: 140px;
}

.show_chat_button {
    margin: auto 10px auto 0;
    border: 1px solid black;
    border-radius: 5px;
    padding: 2px;
    background-color: antiquewhite;
}

.big-bottom-margin {
    margin-bottom: 50vh;
}

.order_payment_items {
    /*background-color: #f9f9f9;*/
    margin-bottom: 10px;
}

.order_payment_discount_container {
    margin-bottom: 10px;
}

.order_payment_order_total_container {
    /*background-color: #e5e5e5;*/
    margin-bottom: 10px;
}

.order_payment_discount {
    text-align: right;
}

.order_payment_order_total {
    text-align: left;
}

.order_payment_charges {
    background-color: #f1f1f1;
    margin-bottom: 10px;
}

.order_payment_discounts {
    background-color: #f8f8f8;
}

.order_payment_final_total_container {
    font-size: 26px;
}

.coupon_title {
    text-align: center;
    font-size: 16px;
}

.coupon_input {
    width: 78%;
    margin: 0 10%;
    text-align: center;
    font-size: 18px;
}

.confirm_personal_info_msg, .confirm_personal_info_buttons {
    margin-bottom: 20px;
}

.confirm_personal_info_data {
    text-align: center;
    font-size: 20px;
}

.customer_cancel_orders_container {
    background-color: #fffae5;
    margin: 0 30px;
    border-radius: 25px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.customer_cancel_orders_msg {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px auto 10px auto;
}

.customer_cancel_orders_button {
    text-align: center;
}

.customer_cancel_orders_button button {
    font-size: 22px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.order_comments_full {
    font-size: 16px;
    word-break: break-all;
}

.order_comments_text_full {
    font-size: 14px;
    padding-left: 10px; 
}

.payment-processing-warning {
    font-size: 24px;
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

p.payment-processing-warning {
    display: inline;
}

.versionDisplay1, .versionDisplay2 {
    font-size: 14px;
    text-align: left;
    padding: 5px 0 5px 20px;
}
    
/*=====================================================================
  START OF MEDIA CHANGES
  */
  /* max-width: largest to smallest */
@media only screen and (max-width: 900px) {
    .the_header {
        min-height: var(--header-height-large);
        height: var(--header-height-large);
        max-height: var(--header-height-large);
    }

    .location_content {
        height: calc(100% - var(--header-height-large));
    }

    .show_menu_inner {
        height: calc(100% - var(--info-container-large));
    }
    
    .hdr_adorders_logo_image {
        max-width: var(--logo-width-large);
        min-width: var(--logo-width-large);
        width: var(--logo-width-large);
        max-height: var(--logo-height-large);
        min-height: var(--logo-height-large);
        height: var(--logo-height-large);
        left: calc(50% - var(--logo-width-large)/2);
    }

    .header_background, .header_background_img {
        height: var(--hdr-bckgrnd-height-large);
    }

    .order_button_container button {
        font-size: x-large;
    }

    .customer_login_container {
        margin-right: 10px;
    }
}

@media only screen and (max-width: 800px) {
    /*.hdr_adorders_logo_h2, .location_name {
        font-size: large;
    }*/

    /* This is setting the same height again but doing it each time the font-size changes as it seems to be required */
    .location_name, .customer_login_container, .hdr_adorders_logo_h2 {
        height: var(--header-info-height-large);
    }

    /*.hdr_adorders_logo_h2 h2 {
        font-size: large;
    }*/

    .item_cat_header, .item_name, .item_cost, .item_cat_header_desc {
        font-size: large;
    }

    .item_description {
        font-size: medium;
    }

    .order_name_input {
        font-size: large;
    }

    .transport_selection {
        font-size: x-large;
    }

    .full_order_item_qnt {
        width: 4%;
    }

    .full_order_item_name {
        width: 76%;
    }

    .full_order_itemextra_qnt {
        width: 7%;
        margin-left: 2%;
    }

    .full_order_itemextra_name {
        width: 71%;
    }
}

@media only screen and (max-width: 700px) {
    .search_input_container {
        width: 40%;
    }

    .the_header {
        min-height: var(--header-height-medium);
        height: var(--header-height-medium);
        max-height: var(--header-height-medium);
    }

    .location_content {
        height: calc(100% - var(--header-height-medium));
    }

    .show_menu_inner {
        height: calc(100% - var(--info-container-medium));
    }

    .hdr_adorders_logo_image {
        max-width: var(--logo-width-medium);
        min-width: var(--logo-width-medium);
        width: var(--logo-width-medium);
        max-height: var(--logo-height-medium);
        min-height: var(--logo-height-medium);
        height: var(--logo-height-medium);
        left: calc(50% - var(--logo-width-medium)/2);
        top: -43px;
    }

    .header_background, .header_background_img {
        height: var(--hdr-bckgrnd-height-medium);
    }

    .hdr_adorders_logo_h2, .location_name {
        font-size: large;
    }

    .hdr_adorders_logo_h2 h2 {
        font-size: large;
    }

    .location_name, .customer_login_container, .hdr_adorders_logo_h2 {
        height: var(--header-info-height-medium);
    }

    .qnt_change_container, .extras_order_col1 {
        width: 11%;
        margin: 0 2%;
    }

    .qnt_change_container, .order_name, .order_cost {
        font-size: large;
    }

    .transport_specify_container, .transport_specify_asap_time {
        font-size: large;
    }

    .col {
        font-size: 16px;
    }

    .headers_img_login {
        margin-top: 3px;
    }

    .headers_img_loggedin {
        min-height: calc(var(--loggedin-height-medium) + 2);
        height: calc(var(--loggedin-height-medium) + 2);
        max-height: calc(var(--loggedin-height-medium) + 2);
    }
    
    .headers_img_loggedin img {
        min-height: var(--loggedin-height-medium);
        height: var(--loggedin-height-medium);
        max-height: var(--loggedin-height-medium);
        min-width: var(--loggedin-width-medium);
        width: var(--loggedin-width-medium);
        max-width: var(--loggedin-width-medium);
    }

    
    .loc_search_container {
        justify-content: center;
    }

    .sub_hdr_container {
        display: block;
    }

    .transport_selected_container {
        width: 100%;
        justify-content: center;
    }

    .transport_selection {
        width: 40%;
        justify-content: center;
    }
}

@media only screen and (max-width: 600px) {
    .the_header {
        min-height: var(--header-height-small);
        height: var(--header-height-small);
        max-height: var(--header-height-small);
    }

    .location_content {
        height: calc(100% - var(--header-height-small));
    }

    .show_menu_inner {
        height: calc(100% - var(--info-container-small));
    }

    .hdr_adorders_logo_image {
        max-width: var(--logo-width-small);
        min-width: var(--logo-width-small);
        width: var(--logo-width-small);
        max-height: var(--logo-height-small);
        min-height: var(--logo-height-small);
        height: var(--logo-height-small);
        left: calc(50% - var(--logo-width-small)/2);
    }

    .header_background, .header_background_img {
        height: var(--hdr-bckgrnd-height-small);
    }

    .prevorder_h1_container {
        font-size: medium;
    }

    .transport_selection {
        font-size: x-large;
    }

    .home {
        width: 30px;
        height: 30px;
    }
    
    .location_search_title {
        font-size: x-large;
    }

    .loc_search_button img {
        width: 25px;
        height: 25px;
    }

    .basket_image img{
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        height: 40px;
        max-height: 40px;
        min-height: 40px;
    }

    .basket_count {
        height: 20px;
        font-size: 15px;
        width: 35px;
        right: 7px;
    }

    .basket_total {
        font-size: 18px;
        padding: 0 10px;
        box-sizing: border-box;
        color: red;
    }

    .items_container {
        width: 55.5%;
    }
    
    .cats {
        width: 40.5%;
    }

    .item_cat_header, .item_name, .item_cost, .item_cat_header_desc {
        font-size: medium;
    }

    .item_description {
        font-size: small;
    }

    .item_data {
        display: block;
    }

    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: medium;
    }

    .info_container {
        height: var(--info-container-medium);
        max-height: var(--info-container-medium);
        min-height: var(--info-container-medium);
    }

    .customer_register_label, .customer_register_name_first, 
    .customer_register_name_last, .customer_register_email,
    .customer_register_phone, .customer_register_addr1,
    .customer_register_addr2, .customer_register_postcode,
    .customer_register_pwd, .customer_register_confirm_pwd {
        font-size: large;
    }

    .customer_register_title {
        font-size: large;
    }

    .customer_register_eye {
        width: 40px;
        height: 20px;
    }

    .customer_register_button button {
        font-size: xx-large;
    }

    .prevorder_details div, .prevorder_cost {
        font-size: large;
    }

    .prevorder_logo img {
        max-width: 60px;
        max-height: 60px;
    }

    .qnt_change_container {
        font-size: large;
        max-height: 35px;
    }

    .order_cost {
        width: 20%;
    }

    .order_name {
        width: 65%;    
    }

    .order_name_input, .order_phone_input, .order_email_input {
        font-size: large;
    }

    .order_name_input input, .order_phone_input input, .order_email_input input {
        font-size: large;
    }

    .order_transport_type {
        font-size: large;
    }

    .order_name_input {
        font-size: medium;
    }

    .order_problem_msg {
        font-size: x-large;
    }

    .order_problem_sorry, .order_problem_charged {
        font-size: large;
    }

    .full_order_ref, .full_order_items, .full_order_leftcol, 
    .full_order_rightcol, .full_order_comments {
        font-size: large;
    }

    .orders_rejected_congrats {
        font-size: large;
    }
    
    .orders_rejected_id, .orders_rejected_cost, .orders_rejected_screenshot {
        font-size: x-large;
    }

    .itemextras_order_button {
        font-size: x-large;
    }

    .order_button_img {
        width: 20px;
        height: 20px;
    }

    .itemextras_order_button {
        font-size: x-large;
        width: 90%;
    }

    .itemextras_dels {
        width: 9%;
    }

    .no_items_container {
        font-size: xx-large;
    }

    .about_content {
        font-size: medium;
    }

    .order_issues_fontsize {
        font-size: large;
    }

    .transport_chosen {
        font-size: large;
    }

    .customer_login_container {
        max-width: 30%;
    }

    .location_search input {
        font-size: medium;
    }

    .open_only_switch {
        height: 20px;
    }

    .open_only_slider:before {
        height: 14px;
        width: 14px;
    }

    .open_only_label {
        margin: -3px 5px;
        height: 20px;
        font-size: medium;
    }

     .hdr_adorders_logo_h2, .location_name {
        font-size: medium;
    }

    .address_search_button {
        padding: 3px;
    }

    .full_order_item_qnt {
        width: 5%;
    }

    .full_order_item_name {
        width: 75%;
    }

    .full_order_itemextra_qnt {
        width:9%;
        margin-left: 2%;
    }

    .full_order_itemextra_name {
        width: 69%;
    }
}

@media only screen and (max-width: 500px) {
    .delivery_info {
       justify-content: flex-start;
    }

    .locations_rating {
       height: 35%;
       overflow: hidden;
       margin-top: 5%;
   }

    .logo_image {
        width: 100%;
        max-width: 32px;
        height: 100%;
        max-height: 32px;
    }
    
    .itemextras_order_cost, .itemextras_order_desc, 
    .itemextras_order_question,
    .itemextras_order_item_title, .itemextras_order_question_req {
        font-size: large;
    }

    .itemextras_order_submit {
        margin: 4% 4% 20% 43%;
        width: 50%;
    }

    .location_summary, footer {
        font-size: 14px;
    }

    .locations_address {
        font-size: 10px;
    }

    .location_name, .hdr_adorders_logo_h2, .hdr_adorders_logo_h2 h2, .customer_login_container {
        font-size: small;
    }

    .location_name, .customer_login_container, .hdr_adorders_logo_h2 {
        height: var(--header-info-height-small);
    }

    .order_button_container button {
        font-size: large;
    }

    .order_item_delete {
        width: 10%;
    }

    .order_name {
        width: 60%;    
    }

    .transport_specify_container, .transport_specify_asap_time {
        font-size: medium;
    }

    .transport_specify_container {
        display: block;
    }

    .order_payment_inf_cost {
        font-size: x-large;
    }

    .itemextras_order_button {
        font-size: large;
    }

    .itemextras_order_add_order, .itemextras_order_total {
        font-size: x-large;
    }
    
    .no_items_container {
        font-size: x-large;
    }

    .contact_content {
        font-size: medium;
    }

    .about_images {
        margin: 20px 30%;
    }

    .headers_img_login {
        min-height: var(--login-height-small);
        height: var(--login-height-small);
        max-height: var(--login-height-small);
    }
    
    .headers_img_login img {
        min-height: var(--login-height-small);
        height: var(--login-height-small);
        max-height: var(--login-height-small);
        min-width: var(--login-width-small);
        width: var(--login-width-small);
        max-width: var(--login-width-small);
    }
    
    .headers_img_loggedin {
        min-height: calc(var(--loggedin-height-small) + 2);
        height: calc(var(--loggedin-height-small) + 2);
        max-height: calc(var(--loggedin-height-small) + 2);
        padding-top: 0;
    }
    
    .headers_img_loggedin img {
        min-height: var(--loggedin-height-small);
        height: var(--loggedin-height-small);
        max-height: var(--loggedin-height-small);
        min-width: var(--loggedin-width-small);
        width: var(--loggedin-width-small);
        max-width: var(--loggedin-width-small);
    }

    .headers_img_login {
        margin-top: 1px;
    }

    .full_order_item_qnt {
        width: 6%;
    }

    .full_order_item_name {
        width: 74%;
    }
}

@media screen and (max-width: 450px) {
    .basket_image img{
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        height: 40px;
        max-height: 40px;
        min-height: 40px;
    }

    .basket_count {
        height: 20px;
        font-size: 15px;
        width: 30px;
        right: 10px;
    }

    .itemextras_order_button {
        width: 88%;
    }

    .itemextras_amount {
        width: 23%;
    }

    .answer_names {
        width: 58%;
    }

    .full_order_itemextra_qnt {
        width: 11%;
        margin-left: 2%;
    }

    .full_order_itemextra_name {
        width: 67%;
    }
}

@media screen and (max-width: 420px) {
    .transport_selection {
        font-size: x-large;
    }

    .location_search_title {
        font-size: large;
    }

    .outer_widths {
        min-width: 15%;
        max-width: 15%;
        width: 15%;
    }

    .cat_button_text, .cat_button_text_selected, .category_buttons {
        font-size: small;
    }

    .items_container {
        width: 50.5%;
    }
    
    .cats {
        width: 45.5%;
    }

    .customer_register_error_sub_hdr {
        font-size: x-large;
    }

    .customer_register_error_msg {
        font-size: large;
    }

    .customer_register_error_button button {
        font-size: large;
    }

    .customer_login_container {
        max-width: 35%;
    }

    .location_name {
        max-width: 30%;
        height: fit-content;
        line-height: 110%;
    }

    .maintenance_logo img {
        width: 90px;
        height: 90px;
    }
    
    .maintenance_logo h1 {
        margin-left: 20px;
    }

    .location_left {
        width: 10%;
    }
    
    .location_right {
        width: 89%;
        margin-left: 1%;
    }

    .full_order_item_qnt {
        width: 8%;
    }

    .full_order_item_name {
        width: 72%;
    }

    .full_order_itemextra_qnt {
        width: 12%;
        margin-left: 2%;
    }

    .full_order_itemextra_name {
        width: 66%;
    }
}

@media screen and (max-width: 350px) {
    .search_input, .show_chat_button {
        font-size: medium;
    }

    .basket_image img{
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        height: 30px;
        max-height: 30px;
        min-height: 30px;
    }

    .basket_count {
        height: 17px;
        font-size: 12px;
        width: 27px;
        right: 7px;
    }

     .order_payment_inf_cost {
        font-size: 17px;
    }

    .order_payment_final_total_container {
        font-size: 20px;
    }

    .full_order_itemextra_qnt {
        width: 13%;
        margin-left: 2%;
    }

    .full_order_itemextra_name {
        width: 65%;
    }
}

@media screen and (max-width: 320px) {
    .the_header {
        min-height: var(--header-height-x-small);
        height: var(--header-height-x-small);
        max-height: var(--header-height-x-small);
    }

    .location_content {
        height: calc(100% - var(--header-height-x-small));
    }

    .show_menu_inner {
        height: calc(100% - var(--info-container-x-small));
    }

    .hdr_adorders_logo_image {
        max-width: var(--logo-width-x-small);
        min-width: var(--logo-width-x-small);
        width: var(--logo-width-x-small);
        max-height: var(--logo-height-x-small);
        min-height: var(--logo-height-x-small);
        height: var(--logo-height-x-small);
        left: calc(50% - var(--logo-width-x-small)/2);
    }

    .header_background, .header_background_img {
        height: var(--hdr-bckgrnd-height-x-small);
    }

    .transport_selection {
        font-size: large;
    }

    .location_search_title {
        font-size: medium;
    }

    footer {
        font-size: x-small;
    }

    .search_input, .show_chat_button {
        font-size: small;
    }

    .basket_image img{
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        height: 30px;
        max-height: 30px;
        min-height: 30px;
    }

    .basket_count {
        height: 18px;
        font-size: 13px;
        width: 28px;
        right: 6px
    }

    .info_container {
        height: var(--info-container-small);
        max-height: var(--info-container-small);
        min-height: var(--info-container-small);
    }
}

@media screen and (min-width: 1000px) {
    .cats {
        width: 20.5%;
    }   

    .items_container {
        width: 42.5%;
        margin-left: 1.5%;
        margin-right: 0;
    }
    
    .basket, .basket_total {
        display: none;
    }

    .basket_area_small {
        margin: 0 0.5% 0 1.5%;
        width: 33%;
        display: block;
        border-radius: 10px;
        overflow-x: hidden;
    }

    .basket_allergen_button, .order_comment textarea {
        font-size: large;
    }

    .order_name, .order_cost, .qnt_change_container, .extras_order_qnt, .extras_order_name, .extras_order_cost {
        font-size: medium;
    }

    .qnt_change_container, .extras_order_col1 {
        width: 13%;
    }

    .order_item_delete {
        width: 9%;
    }

    /* .order_cost is staying at 15% */
    .order_name, .extras_item_container {
        width: 63%;
    }

    .order_item_delete img {
        width: 15px;
        height: 25px;
    }

    .no_items_container, .order_header_items {
        font-size: large;
        padding-top: 20px;
        width: 100%;
        text-align: center;
    }

    .item_name, .item_cost {
        font-size: large;
    }

    .item_description {
        font-size: medium;
    }
}

@media (orientation: landscape) {
    @media screen and (min-width: 700px) {
        @media screen and (max-height: 360px) {
            .main_area_container {
                margin-top: var(--location-search-landscape-margin);
            }

            .sub_hdr_container {
                position: sticky;
                top: 47px;
            }

            .open_only_slider {
                z-index: 0;
            }
        }
    }
}

.avail-offers-container-location {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%;
}

.aob-offer-list {
    width:100%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.aob-offer,
.aob-offer-loclist {
  display:flex; 
  align-items:center; 
  gap: 5px;
  background:#fff;
  border-radius:12px;
  padding: 4px 6px;
  box-sizing: border-box;
  max-width: 420px;
  justify-content: center;
}

.aob-offer__badge,
.aob-offer__badge-loclist {
  flex:0 0 auto;
  width:56px; 
  height: 35px;
  border-radius: 8px;
  background:#b60f16;
  color:#fff;
  display:grid; 
  place-items:center;
  font-weight:800; 
  font-size:12px;
  position:relative;
}

.aob-offer__badge-percent,
.aob-offer__badge-percent-loclist {
    font-size:16px;
}

.aob-offer__text { line-height:1.2; }
.aob-offer__headline,
.aob-offer__headline-loclist {
  margin:0;
  font-weight:800; font-size:14px; color:#a10d12;
  text-transform:uppercase;
}
.aob-offer__sub {
  margin-top:4px;
  font-size:11px; color:#555;
}

@media screen and (max-width: 450px) {
    .aob-offer {
        width: 70%;
    }

    .aob-offer__badge-loclist {
        width: 40px; 
        height: 25px;
        font-size: 9px;
    }

    .aob-offer__badge-percent-loclist {
        font-size: 13px;
    }

    .aob-offer__headline-loclist {
        font-size: 11px;
    }
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.location_button {
    cursor: pointer;
    width: 95%;
    border: 1px solid black;
    background-color: white;
    max-width: var(--loclist-img-maxwidth);
    border-radius: 10px;
    margin: 10px auto;
    position: relative;
}

.locations_name {
    overflow: hidden;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
    padding: 3px 8px;
}

.loclist-img-container {
    position: relative;
}

.loclist-img {
    width: 100%;
    height: 170px;
    border-radius: 10px 10px 0 0;
}

.location_logo_image {
    width: 75px;
    height: 75px;
    border-radius: 10px;
}

.loclist-logo {
    position: absolute;
    top: 10px;
    left: 10px;
}

.loclist-opening {
    text-align: center;
}

.avail-offers-container {
    position: absolute;
    bottom: 5px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}

.loclist-star-rating {
    display: flex;
    padding-right: 5px;
    font-size: 16px;
    align-items: center;
    justify-content: right;
}

.loclist-star-rating svg {
    color: orange;
}

.loclist-namefeedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delivery_container, .collection_container, 
.order_min_container, .location_distance {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    font-size: 18px;
    font-family: serif;
    margin-top: 10px;
}

.location_distance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 10px;
    gap: 0;
}

.delivery_container img, .collection_container img, 
.order_min_container img, .location_distance img {
    width: 18px;
    height: 18px;
}

:root{
  --bg:#f5f5f7;
  --fg:#111;
  --muted:#6b7280;
  --radius: 14px;
  --gap: 6px;
  --h: 45px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

/* hide the radios */
input[name="loclist-transport-type"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; 
  height: 0;
}

/* wrapper like FoodHub spacing */
.loclist-transport { 
    margin: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: -webkit-fill-available;
}

/* the track */
.loclist-transport-toggle{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  width:min(420px,100%);
  background:var(--bg);
  border-radius:var(--radius);
  padding:var(--gap);
  height:calc(var(--h) + var(--gap)*2);
  isolation:isolate; /* keep slider behind labels */
  overflow: hidden;
  border: 1px solid orange;
}

/* sliding pill */
.loclist-transport-toggle::before{
  content:"";
  position:absolute;
  top:var(--gap);
  bottom:var(--gap);
  left:var(--gap);
  width:calc((100% - var(--gap)*2)/2);
  height:calc(100% - var(--gap)*2);
  border-radius:calc(var(--radius) - var(--gap));
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.08);
  transform:translateX(0%);
  transition:transform .26s var(--ease);
  z-index:0;
}

/* labels behave like buttons inside the track */
.loclist-transport-toggle > label{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:var(--h);
  border-radius:calc(var(--radius) - var(--gap));
  font:600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
  transition:color .2s var(--ease);
  flex-direction: column;
}

/* size your PNG icons */
.loclist-transport-toggle > label img{
  width: 40px; 
  height: 20px;
  object-fit:contain;
  flex:0 0 auto;
  display:inline-block;
}

/* highlight the selected tab */
#delivery:checked ~ .loclist-transport-toggle > label[for="delivery"],
#pickup:checked   ~ .loclist-transport-toggle > label[for="pickup"]{
  color:var(--fg);
}

/* move the slider when pickup is checked */
#pickup:checked ~ .loclist-transport-toggle::before{
  transform:translateX(100%);
}

/* keyboard focus */
.loclist-transport-toggle > label:focus-visible{
  outline:2px solid #111;
  outline-offset:2px;
}

.loclist-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.please-wait-dialog-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    overflow: auto;
    background-color: rgba(128, 128, 128, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.please-wait-dialog {
	height: fit-content;
	padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
}

.payment-return-modal {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    font-size: 22px;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    width: 100%;
    z-index: 99999;
    box-sizing: border-box;
}

.payment-return-modal .header_info,
.payment-return-modal .location_name {
    height: 0;
    padding: 0;
    margin: 0;
}

.payment-return-modal .payment-return-logo,
.payment-return-modal .the_header,
.payment-return-modal .header_background,
.payment-return-modal .hdr_adorders_logo_image {
    min-width: 120px;
    max-width: 120px;
    width: 120px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    left: 0;
    top: 0;
    margin-bottom: 20px;
}

.payment-return-refresh {
    color: red;
    font-weight: 700;
}

.payment-return-spinner {
    width: 40px;
    height: 40px;
}

/* Container */
.payment-phase-status{
  width: 80%;
  max-width: 520px;
  margin: 14px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each phase row: icon + text */
.payment-phase-line{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  box-sizing: border-box;
  max-width: 350px;
}

/* Icon box */
.payment-phase-icon{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

/* Spinner (CSS) */
.payment-phase-spinner{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,0.20);
  border-top-color: rgba(0,0,0,0.75);
  animation: payment_phase_spin 0.75s linear infinite;
  display: none; /* default hidden */
}

@keyframes payment_phase_spin { to { transform: rotate(360deg); } }

/* Tick */
.payment-phase-tick{
  display: none;  /* default hidden */
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.payment-phase-line.is-active  .payment-phase-spinner{
  display: inline-block;
}

/* Show tick when done */
.payment-phase-line.is-done .payment-phase-tick{
  display: inline-block;
}

/* Text wrapper */
.payment-phase-text{
  flex: 1 1 auto;
}

/* Title + subtitle */
.payment-phase-text > div:first-child{
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.payment-phase-text > div:last-child{
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

/* Phase colours */
.payment-phase-line.is-active{
  color: #000;
}

.payment-phase-line.is-pending{
  color: rgba(0,0,0,0.30);
}

.payment-phase-line.is-done{
  color: #0a8a1f;
}

/* Make the done tick green as well */
.payment-phase-line.is-done .payment-phase-tick{
  color: #0a8a1f;
}

/* Optional: make pending spinner lighter */
.payment-phase-line.is-pending .payment-phase-spinner{
  border-color: rgba(0,0,0,0.12);
  border-top-color: rgba(0,0,0,0.35);
}

/* Optional: make active spinner stronger */
.payment-phase-line.is-active .payment-phase-spinner{
  border-color: rgba(0,0,0,0.20);
  border-top-color: rgba(0,0,0,0.75);
}

.site-footer { 
    padding: 24px 16px; 
    background: #111;
    color: #f5f5f5;
    border-top: 1px solid rgba(0,0,0,0.15);
}

.footer-inner { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 28px 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.footer-title { 
    font-weight: 600; 
    margin-bottom: 10px; 
    color: orange;
}

.footer-link { 
    cursor: pointer; 
    padding: 6px 0; 
    opacity: 0.9;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-text { 
    padding: 4px 0; opacity: 0.9; 
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Mobile */
@media (max-width: 850px) {
  .footer-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }
}
@media (max-width: 520px) {
  .footer-grid { 
    grid-template-columns: 1fr; 
  }

  .footer-bottom { 
    flex-direction: column; gap: 8px; 
  }
}
